GitHub auth is broken in latest release

Dear Cesanta Docker-Auth team,
I think the Github authentication in the latest version (1.2) is broken. I never programmed in GO, but I think the problem is that function doGitHubAuthPage doesn't parse GithubWebUri to fill in the URL in the template. Version 1.1, which has the uri hardcoded in the template, is working.
Thanks for this great tool!
Cheers,
Kasper

Agreed. There is button rendered on the page at /github_auth that indicates a template error. Here is the source:
<button type="button" onclick="location.href='Template error: template: github_auth:3:50: executing " github_auth"="" at="" <.githubweburi="">: GithubWebUri is not a field of struct type struct { ClientId string }
</button>

I've even tried hardcoding the github_web_uri config value to what is clearly the defaults. No joy.


Multiple topics

How do I subscribe to two or more topics? I'm using autobahn.js in client-side
Is there client-side for php?

https://github.com/ratchetphp/Pawl is a PHP client and yes you can subscribe to multiple topics just like you subscribed to the first topic. That's one of the powers of websockets

Ok man! Thanks you!  ;)

Also no need to open multiple websocket connections, it all goes over a single connection <3

@WyriHaximus 🤔 How do I implement CORS using Ratchet(pusher)?🤔


Adding Katana ML COVID Dashboard

Adding Katana ML COVID Dashboard reference to the readme file.

Read the Contributing Guidelines carefully please.

Closing as this is stale


Argument mismatch for ReportSummary

I got this error when running fixer
 Too few arguments to function PhpCsFixer\Console\Report\FixReport\ReportSummary::__construct(), 6 passed in /var/www/vendor/stechstudio/laravel-php-cs-fixer/src/Services/Fixer/Concerns/HasFixEvent.php on line 25 and exactly 7 expected

As I checked, Look like PHP-cs-fixer change something on their side
https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/src/Console/Report/FixReport/ReportSummary.php
Could you please update your package to support a new argument?

Same problem here
Please fix it

We'd be happy to review a PR if either of you want to provide one! Otherwise it might be a bit before we have time to get to this.

@jszobody Do you have rules for contributors?

@Shawn4easy we don't have set rules, no. generally: submit clean/organized code, and we typically merge it in!
On a side note: I'm curious if you all have looked at Laravel Pint (https://laravel.com/docs/9.x/pint) and if there is a reason to still keep this package around? Our own team hasn't been using this package a whole lot lately. Now that there is an official Laravel wrapper for CS Fixer, we're not sure if it's worth maintaining this one any longer. Would it be possible for the folks in this thread to switch to Pint, or would that be problematic?


Add Find to Terminal dropdown menu

Description of the new feature
Terminal is a GUI app. Instead of forcing users to remember that finding text is SHIFT+CTRL+F, why not just add Find to the dropdown menu that's already present?
Proposed technical implementation details
I know the Terminal code is massive, so if someone had a pointer to where this change needs to go, I'd be glad to give it a shot!

You're more than welcome to modify your own new tab menu. You can add the following:
{
    "type":"action",
    "id": "Terminal.FindText"
}

to the newTabMenu (as of 1.22 IIRC), and that'll add find to the menu:

But I'd probably reject the request to add more to that top level menu. The bar is very high, to avoid the menu getting too cluttered.
The Command Palette (on ctrl+shift+p) shows all the commands we have in the Terminal, and there's quite a lot nowadays. That's a generally better menu UI for such a keyboard-driven application as the Terminal


bump to 5.13.0

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei


data: project addition by Lokesh Sangrame

Add a new project to the list
Introducing Algo Viewer, a captivating project by Me. Visit https://lokeshsangrame.github.io/Algo_Viewer/ to explore interactive visualizations of various algorithms. Gain a deeper understanding of their inner workings and embark on an algorithmic journey today!
Code of Conduct

[X] I agree to follow this project's Code of Conduct

assigned to you @LokeshSangrame

Based on the guidelines of GSSoC'23, it appears that this particular issue has not been resolved within the past few days. As it involves a simple pull request, we would like to kindly inform you that we will be closing this issue.
Thank you for your understanding.


Fix typo in exponent representation example

0.000000998 is printed as 0.98e-7

I believe, that there is a typo and 0 should read as 9 as 0.000000998 would be typically represented as 9.98e-7.
/cc @bkonyi

I signed it! :)

Thanks.
I committed your fix, but wasn't able to keep the "Author". Will work with our infrastructure experts to get this fixed next week.

@floitschG – want to post the sha and close this then?

Fixed in bca7b35cd695efa4fa35c6a8e518c94d4acae990.


Array support

Looks good to me, but I don't have access to merge it.
I would like to point out that http://guides.rubygems.org/name-your-gem/ suggests using dashes only in gem names for extensions. To separate multiple words in the name of a library gem, we should use underscores.

@johann-koebbe: good to know about the naming convention. I went with "-" as so many other gems use that! I'll update in a separate PR.


Error when launching the app for the first time

I am seeing the following error when launching the app for the first time on my Android device:
I/flutter (21589): error DatabaseException(Cannot bind argument at index 3 because the index is out of range.  The statement has 2 parameters.) sql 'SELECT _id FROM product_list WHERE list_type in (?, ?)' args [history, scan, scan_session]} during open, closing...
I/flutter (21589): Cannot init database: DatabaseException(Cannot bind argument at index 3 because the index is out of range.  The statement has 2 parameters.) sql 'SELECT _id FROM product_list WHERE list_type in (?, ?)' args [history, scan, scan_session]}

It's similar to
https://github.com/openfoodfacts/smooth-app/issues/431 I believe


Cannot convert Figma to UI Package

Thank you for writing Codelab.
An error occurred when importing a Figma design into an Android Studio project.
Please teach me the solution if you know.
Environment

OS: macOS Venture 13.6.1
Chip: Apple M2 Pro
Android Studio: Giraffe 2022.3.1 Patch 4
Java Runtime: 17.0.6+0-17.0.6b829.9-10027231 aarch64

Error
com.google.relay.androidstudio.plugin.importer.FigmaServiceException: Command:
/Users/goggle555/Library/Application Support/Google/AndroidStudio2022.3/plugins/relay_android_studio/bin/macos_x86_64/figma_to_adin

Stack Trace:
Severe: Failed to transform https://www.figma.com/file/*****/ReflectDesign?type=design&t=CR8gWzNh66NgiP9t-6:

type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
#0      _$VectorNodeFromJson (package:figma_to_adin/src/figmarest.g.dart:611)
#1      new VectorNode.fromJson (package:figma_to_adin/src/figmarest.dart:861)
#2      ContainerNode._childFromJson (package:figma_to_adin/src/figmarest.dart:449)
#3      ContainerNode.childrenFromJson (package:figma_to_adin/src/figmarest.dart:463)
#4      _$FrameNodeFromJson (package:figma_to_adin/src/figmarest.g.dart:455)
#5      new FrameNode.fromJson (package:figma_to_adin/src/figmarest.dart:759)
#6      ContainerNode._childFromJson (package:figma_to_adin/src/figmarest.dart:442)
#7      ContainerNode.childrenFromJson (package:figma_to_adin/src/figmarest.dart:463)
#8      _$FrameNodeFromJson (package:figma_to_adin/src/figmarest.g.dart:455)
#9      new FrameNode.fromJson (package:figma_to_adin/src/figmarest.dart:759)
#10     FigmaRestDataResolver._resolveFrom (package:figma_to_adin/src/figma_data.dart:339)
#11     FigmaRestDataResolver.resolveAll (package:figma_to_adin/src/figma_data.dart:309)
<asynchronous suspension>
#12     resolveUIPackagesSet (package:figma_to_adin/src/figma_resolver.dart:45)
<asynchronous suspension>
#13     main (file:///Volumes/BuildData/tmpfs/src/git/relay/figma_to_adin/bin/figma_to_adin.dart:120)
<asynchronous suspension>

	at com.google.relay.androidstudio.plugin.importer.FigmaService.importFile(FigmaService.kt:288)
	at com.google.relay.androidstudio.plugin.importer.FigmaService.importPackagesToTemp(FigmaService.kt:143)
	at com.google.relay.androidstudio.plugin.importer.FigmaImportWorker.doInBackground(FigmaImportWorker.java:89)
	at com.google.relay.androidstudio.plugin.importer.FigmaImportWorker.doInBackground(FigmaImportWorker.java:44)
	at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Thank you for submitting this error report! We have just released a hotfix to our Android Studio plugin (version 0.3.10-hotfix) that should fix this error.

@krisgiesing
I was able to confirm that the import error has disappeared.
Thank you for fixing it :)


Team Contract

Group24 Team Contract for collaboration throughout DSCI-522.
Group24-Team-Contract-DSCI-522.pdf

LGTM.

Team Contract was reviewed and adopted by the group.


Add  --location-trusted -k to curl in out/

This matches the curl call used during in/
Needed when ATC presents untrusted certs

@mariusgrigoriu Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@mariusgrigoriu Thank you for signing the Contributor License Agreement!

Hi there! Sorry we didn't see this earlier.
We've just made a change to the archive resource around -k and ca_cert.
Hopefully your use case should be fixed in v2.7.1!
Thanks again for contributing, I'm going to close this PR.


Python baseimage bumped to version 3.8

This PR provides:

Dockerfile updated to Python 3.8 baseimage.
Installing "psycopg2-binary" instead of "psycopg2" so image can get build up in Python 3.8
Update Python version test in CI script.
Disabling layer caching so test runs in free-tier plan.
Minor update in README.

@rilma This repo is grossly unmaintained. Please join me in maintaining the new public fork instead: https://github.com/datarods/docker-airflow
I look forward to your PR there.

For the moment, python 3.8 isn't listed as supported version https://pypi.org/project/apache-airflow/.


chore: pin deps to patch version, use @opentelemetry/api release candidate

Redoing the PR due to commit signing.
Use release candidate version of @opentelemetry/api.
All instrumentations need to use the same major version of OpenTelemetry API or context management will break (https://github.com/open-telemetry/opentelemetry-js-api/blob/4cda9bd10a8caff59f637e7d982387772c626866/src/internal/global-utils.ts#L71), causing instrumentations to use different API / context managers.
What's great is that some newer instrumentations (for example loggers) were published with a dependency on 1.0.0-rc, while others remained on API 0.18.0, causing context toe be lost between instrumentations.
This PR pins the versions to patch versions, so each of the instrumentation has a dependency on 1.0.0-rc and nothing else, see these PRs for releases and versions:
https://github.com/open-telemetry/opentelemetry-js/commit/0c15999dccd377294a03cf7d36085216d6e8c5c1
https://github.com/open-telemetry/opentelemetry-js-contrib/commit/d9365c5d9aa543542a9b48cfe8bc59949101cb02
https://github.com/aspecto-io/opentelemetry-ext-js/commit/708790e6b00aeddc5f013f576a4a266936c379e9

Codecov Report

Merging #120 (5703d97) into main (72bff17) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   85.77%   85.77%
=======================================
  Files          11       11
  Lines         225      225
  Branches       46       46
=======================================
  Hits          193      193
  Misses         32       32

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72bff17...5703d97. Read the comment docs.


Use cartodb_id as FID in ogr2ogr and handle exceptions

ogr2ogr2 uses by default a primary key called ogc_fid (integer, non-null, with a sequence as default value). This is exactly what we do with cartodb_id, which we are later generating/converting/checking in the cartodbfication.
By using cartodb_id as the name of the ogr2ogr primary key we directly obtain the column. Also, it recognizes cartodb_id columns from the imported file, and has exactly the same constraints we have on it: it detects null, repeated and non integer values. In case the cartodb_id is incorrect, the import process would fail straight away instead of going through the whole process and failing when CartoDBfying, as it does now.

Can one of the admins verify this patch?

I'm gonna close this for the moment until we decide to keep the work on this.


Add WireViz to the list of supported diagram types

WireViz is a Kroki diagram type. It should be in the list of supported types.

WireViz is a Kroki diagram type. It should be in the list of supported types.

^^^ this ^^^
I opened a PR which adds it.


Extension CRDs are not deployed into seed-cluster automatically during gardenlet deployment

How to categorize this issue?
/kind bug
What happened:
When deploying gardenlet into the garden-cluster, thus defining it as the initial seed, the extension CRDs are not deployed into the cluster.
But gardenlet is complaining about those missing CRDs (BackupBucket, BackupEntry, Bastion) and fails, because the appropriate controllers do not start correctly.
Here is the complete gardenlet log for consideration:
gardenlet_log.txt
When I deploy the extension CRDs myself, then everything is working fine.
What you expected to happen:
The extension CRDs should be deployed automatically into the seed cluster.
How to reproduce it (as minimally and precisely as possible):

create a garden cluster using gardener operator
deploy gardenlet into the same base cluster, defining it as the initial seed

Anything else we need to know?:

garden-cluster has been built using gardener-operator
garden-cluster and seed run on the same base-cluster
base-cluster is a VMware tanzu cluster

Environment:

Gardener version:
v1.84.0
Kubernetes version (use kubectl version):
v1.24.9+vmware.1
Cloud provider or hardware configuration:
vSphere provider

@nitrocb I tried the same setup and CRDs are getting deployed automatically. The log which you have shared, it's not complete(Enough), I don't see any log from the seed controller.
Can you provide more logs?

@acumino the seed controller runs in the gardener controller manager right?
I would need some time to do another test and gather these logs. I will provide them asap!

Here is the logfile of the gardener-controller-manager when deploying the gardenlet into the garden-cluster:
gardener-controller-manager.txt
Unfortunately I do not see any obvious hints here. The gardenlet just stops reporting the seed status.

@acumino the seed controller runs in the gardener controller manager right? I would need some time to do another test and gather these logs. I will provide them asap!

Seed controller in gardenlet, can you post gardenlet logs?

Ok, I just realized, that there should be a seed controller running in the gardenlet.
So here is also a log from the gardenlet , where I manually added the CRDs:
gardenlet_after_manual_CRD_deployment.txt
You can see there, that the seed controller is started and acting normal.
But in the logfile from the gardenlet, where the CRDs are not deployed yet, the seed controller is not started as it seems, but I am not sure why.

Ok, I just realized, that there should be a seed controller running in the gardenlet. So here is also a log from the gardenlet , where I manually added the CRDs:
gardenlet_after_manual_CRD_deployment.txt
You can see there, that the seed controller is started and acting normal. But in the logfile from the gardenlet, where the CRDs are not deployed yet, the seed controller is not started as it seems, but I am not sure why.

Can you post logs without manually deploying CRDs? As I mentioned when i tested CRDs were deployed automatically

What is the seed status?

Here is the seed status:
Status:
  Conditions:
    Last Transition Time:  2023-12-14T09:22:25Z
    Last Update Time:      2023-12-14T09:22:27Z
    Message:               Some extensions are not valid: map[provider-dns-infoblox-str24:The condition has been initialized but its semantic check has not been performed yet. provider-vsphere-qkx29:The condition has been initialized but its semantic check has not been performed yet.]
    Reason:                NotAllExtensionsValid
    Status:                False
    Type:                  ExtensionsReady
    Last Transition Time:  2023-12-14T09:22:35Z
    Last Update Time:      2023-12-14T09:22:35Z
    Message:               Gardenlet stopped posting seed status.
    Reason:                SeedStatusUnknown
    Status:                Unknown
    Type:                  GardenletReady
Events:                    <none>

As you can see from the seed status your extensions are not ready, therefore reconciliation is not proceeding.

Yes, thats correct and that was also my first investigation. But the managedresources for the extensions do not even get deployed, which should be done by the gardenlet. So it makes sense to me that the extensions are not ready.
As soon as I deploy the extension CRDs manually and restart the gardenlet, the extensions and everything else gets deployed without a problem. So I would not suspect a problem with the extensions here.
I am not familiar with the insights of this process, but it seems to me, that the seed controller would be startet after the controllers for the CRDs, but the CRD controller failures are preventing the progress to the seed controller start. Not sure if that makes sense.

The thing also is, that if I create a managedseed, the gardenlet there is also able to deploy the extension CRDs without a problem and the seed creation is flawlessly. It is only not working in my setup when deploying the gardenlet directly into the garden-cluster.

Error seems to be related to cluster-identity. can you post seed status by doing kubectl get seed <seed-name> -oyaml

Here is the complete seed yaml:
apiVersion: core.gardener.cloud/v1beta1
kind: Seed
metadata:
  creationTimestamp: "2023-12-14T09:22:25Z"
  finalizers:
  - core.gardener.cloud/controllerregistration
  generation: 1
  labels:
    dnsrecord.extensions.gardener.cloud/infoblox-dns: "true"
    gardener.cloud/role: seed
    provider.extensions.gardener.cloud/vsphere: "true"
  name: soil-local
  resourceVersion: "5872"
  uid: addb42e7-81e3-45eb-a658-889e026d98d4
spec:
  dns:
    provider:
      secretRef:
        name: internal-domain-soil
        namespace: garden
      type: infoblox-dns
  ingress:
    controller:
      kind: nginx
    domain: <REDACTED>
  networks:
    ipFamilies:
    - IPv4
    nodes: <REDACTED>
    pods: <REDACTED>
    services: <REDACTED>
    shootDefaults:
      pods: <REDACTED>
      services: <REDACTED>
  provider:
    providerConfig:
      svStorageClass: <REDACTED>
    region: <REDACTED>
    type: vsphere
  settings:
    dependencyWatchdog:
      prober:
        enabled: true
      weeder:
        enabled: true
    excessCapacityReservation:
      configs:
      - resources:
          cpu: "2"
          memory: 6Gi
    scheduling:
      visible: true
    topologyAwareRouting:
      enabled: false
    verticalPodAutoscaler:
      enabled: false
status:
  conditions:
  - lastTransitionTime: "2023-12-14T09:22:25Z"
    lastUpdateTime: "2023-12-14T09:22:27Z"
    message: 'Some extensions are not valid: map[provider-dns-infoblox-str24:The condition
      has been initialized but its semantic check has not been performed yet. provider-vsphere-qkx29:The
      condition has been initialized but its semantic check has not been performed
      yet.]'
    reason: NotAllExtensionsValid
    status: "False"
    type: ExtensionsReady
  - lastTransitionTime: "2023-12-14T09:22:35Z"
    lastUpdateTime: "2023-12-14T09:22:35Z"
    message: Gardenlet stopped posting seed status.
    reason: SeedStatusUnknown
    status: Unknown
    type: GardenletReady

Can we continue the discussion on slack?

alright, sent you a PN on slack ;-)

I am back with new insights:
I found that the problem with the CRDs not being created is somehow connected with the k8s version of the seed cluster.
When I use k8s version below 1.27, then this problem occurs. This is even occuring with ManagedSeeds, where the target shoot cluster is on 1.26 for example.
As soon as I use a k8s cluster with version 1.27, it is working fine.
Could it be, that the gardenlet somehow requires k8s 1.27 at a minimum?

/assign

After checking the gardenlet logs I reached the following conclusion -

The issue is not related to Kubernetes version.
You are trying to deploy seed without VPA enabled.

Fix should be, either deploy Seed with VPA enabled or manually deploy the VPA CRD in the cluster as VPA CRD is a must requirement, ref.


[WIP] Added a first PoC for a REST api for the CommentBundle

I've been discussing adding a REST api + more advanced javascript functionality @merk. This PR is to make it easier discuss the work so far.

Looking good.
I'd like to see more feedback about errors in the responses, otherwise great to continue with other parts of the api.

The javascript implementation now only depends on easyXDM if you want to allow cross-site embedding of the comment. The implementation can be used to asynchronously load the comments, but also if the comments are rendered using a render tag.

Replaced by #106


[Doc] Update doc about how to extend running PVC size

Describe the bug

After fix of #2282, it is observed that the upgrade patch is not able to extend grafana PVC size easily, user needs to do it manually.
fix2282 adjust grafana POD PVC size to 2GiB
https://github.com/harvester/harvester/issues/2282
Upgrade patch:
https://github.com/harvester/harvester/pull/2711
To Reproduce
Steps to reproduce the behavior:

Go to '...'

Expected behavior

Update Harvester doc, add a guide about how to extend running PVC size, and also add limitation and workaround of #2282 into v1.1.0 release notes.
Support bundle

Environment

Harvester ISO version:  master-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

The doc PR: https://github.com/harvester/docs/pull/212 is merged


How to add AnimatedList in ListView?

new ListView(
children: [
new Text("Sometext"),
new AnimatedList(
key: _listKey,
initialItemCount: _list.length,
itemBuilder: _buildItem,
),
],
);

Sorry for the late response.
Is this still an issue?
You want nested lists?
Can you please elaborate what exactly you try to accomplish and what the problem is?


1.3.6 Add section Interlis to be compliant with recent developments

Should fix missing doc for INTERLIS export functionnality

@ponceta Finally looked into that ! Can you review ? Is it detailed enough ?

Merci beaucoup! C'est parfait!


Update service-fabric-application-upgrade-tutorial-powershell.md

Changed Register-ServiceFabricApplicationPackage -> Register-ServiceFabricApplicationType

Review request: @mani-ramaswamy @oanapl
Thank you :)

@Christina-Kang : Thanks for your contribution to the Azure documentation! The author, @mani-ramaswamy, has been notified to review your proposed change.

#sign-off

@mani-ramaswamy or @oanapl - Please review the proposed changes.  If approved, please add the hash sign off comment.  Thanks

#sign-off


Implementing Burrows Wheeler Transform in C

💥 Proposal
Implementing Burrows-Wheeler Transform in C.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


[ttLib] meta table should allow multiple records for some tags

The OpenType 1.8.4 Meta table mentions:

If only one record or value is permitted for a tag, then any instances after the first may be ignored.

So some tags may permit only one record and others may permit multiple records.
FontTools currently stores the data as a dictionary, which only permits one record per tag.

I was about to report this, too. And for round-tripping it would be good to be able to store the order of the elements.

Are there any tags that allow multiple records? Looking at the spec, the two defined tags do not.

The spec explicitly mentions what to do when there are more than one. So even if there are no defined tags that allow it, it seems that it is allowed. And fontTools should preserve them even if it is not useful right now.


sth about List comprehensions with func

numba==0.39.0
I use py3.6.5
from math import *

import numba as nb

I = 500000
a_py = range(I)

def f(x):
    return abs(cos(x)) ** 0.5 + sin(2 + 3 * x)

@nb.jit()
def f1(a):
    res = []
    for x in a:
        res.append(f(x))
    return res

@nb.jit()
def f2(a):
    return [f(x) for x in a]

print(f1(a_py))
print(f2(a_py))

I can get the result with f1 but get Error in f2
Traceback (most recent call last):
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/errors.py", line 577, in new_error_context
    yield
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/lowering.py", line 254, in lower_block
    self.lower_inst(inst)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/objmode.py", line 65, in lower_inst
    value = self.lower_assign(inst)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/objmode.py", line 159, in lower_assign
    return self.lower_expr(value)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/objmode.py", line 373, in lower_expr
    raise NotImplementedError(expr)
NotImplementedError: make_function(name=$const0.2, code=<code object <listcomp> at 0x10694ab70, file "/Users/wyx/project/learn-sktf/c.py", line 29>, closure=None, defaults=None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/wyx/project/learn-sktf/c.py", line 33, in <module>
    print(f2(a_py))
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/dispatcher.py", line 368, in _compile_for_args
    raise e
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/dispatcher.py", line 325, in _compile_for_args
    return self.compile(tuple(argtypes))
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/dispatcher.py", line 653, in compile
    cres = self._compiler.compile(args, return_type)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/dispatcher.py", line 83, in compile
    pipeline_class=self.pipeline_class)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 873, in compile_extra
    return pipeline.compile_extra(func)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 367, in compile_extra
    return self._compile_bytecode()
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 804, in _compile_bytecode
    return self._compile_core()
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 791, in _compile_core
    res = pm.run(self.status)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 253, in run
    raise patched_exception
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 245, in run
    stage()
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 652, in stage_objectmode_backend
    self._backend(lowerfn, objectmode=True)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 628, in _backend
    lowered = lowerfn()
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 601, in backend_object_mode
    self.flags)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/compiler.py", line 1018, in py_lowering_stage
    lower.lower()
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/lowering.py", line 173, in lower
    self.lower_normal_function(self.fndesc)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/lowering.py", line 214, in lower_normal_function
    entry_block_tail = self.lower_function_body()
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/lowering.py", line 239, in lower_function_body
    self.lower_block(block)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/lowering.py", line 254, in lower_block
    self.lower_inst(inst)
  File "/usr/local/var/pyenv/versions/3.6.5/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/errors.py", line 585, in new_error_context
    six.reraise(type(newerr), newerr, tb)
  File "/Users/wyx/project/learn-sktf/.env/lib/python3.6/site-packages/numba/six.py", line 659, in reraise
    raise value
numba.errors.LoweringError: Failed at object (object mode backend)
make_function(name=$const0.2, code=<code object <listcomp> at 0x10694ab70, file "/Users/wyx/project/learn-sktf/c.py", line 29>, closure=None, defaults=None)

File "c.py", line 29:
def f2(a):
    return [f(x) for x in a]
    ^
[1] During: lowering "$0.3 = make_function(name=$const0.2, code=<code object <listcomp> at 0x10694ab70, file "/Users/wyx/project/learn-sktf/c.py", line 29>, closure=None, defaults=None)" at /Users/wyx/project/learn-sktf/c.py (29)
-------------------------------------------------------------------------------
This should not have happened, a problem has occurred in Numba's internals.

Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new

If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba

Thanks in advance for your help in improving Numba!

Thanks for the report. Think this is a duplicate of the bug(s) in #3095, an explanation for what you are seeing is approximately the same as this: https://github.com/numba/numba/issues/3095#issuecomment-408347195. Essentially, in your code the function f is not compiled as you have not decorated it with a Numba @jit decorator and range is not understood as an argument by nopython mode, as a result, when you run f1 or f2 they are running in object mode. Unfortunately there was a bug in version 0.39 that meant that list comprehensions in object mode would not compile, this has since been fixed and builds of Numba 0.40dev0 from the Numba channel should compile your code correctly. To try these builds do:
conda install -c numba numba

To get better performance you should really @jit the def f(x): function and swap range for e.g. numpy.arange so that everything runs in nopython mode (perhaps take a look at the performance tips for some hints)?


Tagging fails if the .git directory is in a different location to setup.py and setup.cfg

I have a project in which the root directory contains src and src contains setup.py and setup.cfg.
When I run a semantic-release operation I get the following crash:

venv) C:\workspace\checklive\src>semantic-release --patch publish
Traceback (most recent call last):
  File "c:\python35\lib\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python35\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\workspace\checklive\venv\Scripts\semantic-release.exe\__main__.py", line 5, in <module>
  File "c:\workspace\checklive\venv\lib\site-packages\semantic_release\cli.py", line 9, in <module>
    from .history import (evaluate_version_bump, get_current_version, get_new_version,
  File "c:\workspace\checklive\venv\lib\site-packages\semantic_release\history\__init__.py", line 6, in <module>
    from ..vcs_helpers import get_commit_log, get_last_version
  File "c:\workspace\checklive\venv\lib\site-packages\semantic_release\vcs_helpers.py", line 8, in <module>
    repo = Repo('.git', search_parent_directories=True)
  File "c:\workspace\checklive\venv\lib\site-packages\git\repo\base.py", line 135, in __init__
    raise NoSuchPathError(epath)
git.exc.NoSuchPathError: C:\workspace\checklive\src\.git

(venv) C:\workspace\checklive\src>

Thanks for reporting

I need some more time to confirm the following, but I'd say this could be fixed by changing this lines with these:
try:
    repo = Repo('.', search_parent_directories=True)
except NoSuchPathError:
    raise RuntimeError("Not in a valid git repository")

See https://github.com/relekang/python-semantic-release/pull/89


Relax API support (new features + bug fix)

Reference issues

Relax API makes use of React JS, a UI framework, to load data asynchronously on a single page application. Although this approach may work for debugging purposes, it does not favor integration with third-party applications/systems (the returned page does not include the data);
In spite of the URL arguments (:source, :id, :filename and :index), on load Relax API always makes use of the first local group (local/uibk/local/0);

Use cases:

https://dbis-uibk.github.io/relax/api/local/uibk/local/0?query=UiBqb2luIFMgam9pbiBU ( ✔ )
https://dbis-uibk.github.io/relax/api/local/uibk/local/3?query=cGkgbWFrZXIgKFByb2R1Y3Qp ( ❌ )
https://dbis-uibk.github.io/relax/api/gist/7d25fabe70126cb829f78a5098e28068?query=cGkgY29kaWdvIChhdXRvbW92ZWlzKQ== ( ❌ )

What does this implement/fix?

Adds support to load groups synchronously. This way a third-party application will be able to process the returned page accordingly (it will include the data!);
Adds logic to set the proper :source, :id, :filename and :index when loading Relax API single page application;

How to test this PR?
Test it live at https://rlaiola.github.io/relax/.

Use cases:

https://rlaiola.github.io/relax/api/local/uibk/local/0?query=UiBqb2luIFMgam9pbiBU ( ✔ )
https://rlaiola.github.io/relax/api/local/uibk/local/3?query=cGkgbWFrZXIgKFByb2R1Y3Qp ( ✔ )
https://rlaiola.github.io/relax/api/gist/7d25fabe70126cb829f78a5098e28068?query=cGkgY29kaWdvIChhdXRvbW92ZWlzKQ== ( ✔ )

Other Comments
Feel free to suggest other approaches to address the reported issues/features, I'm not really a React JS expert. Moreover, I think that Relax API should be modified to return data only (instead of a web page). Not sure about the best way to do that, but I'm developing a workaround to address that.

In this project you can find my solution for transforming Relax Query API into an actual REST API: https://github.com/rlaiola/relax-api

I didn't quite understand how to use it, for example, I need to use relax's Group editor function, and this is how I use it in my web page. Write the SQL to the Group editor module, double-click on use group in editor, write the Relational Algebra expression to the Relational Algebra module, double-click on theexecute query button.But I can't reproduce in your github page what I was doing in relax.


Add UART DMA TX example

@doragasu this looks good - but you need a README.md that describes what it is you are doing, and what pins to connect, etc.

Will add one then when I get some time

Also, you will need to rebase with the new CI rules (just FYI).


There is no go back button in the 'Create new dataset page'

There were actually already back buttons (clicking on 'SlimStampen' or the yellow button on the top right) but we realise that these were not very intuitive. In the branch 'improveuserexperience', it now looks like this:

Better.
Sent from my phone

On 01 Jun 2016, at 12:39, sibrenvanvliet<EMAIL_ADDRESS>wrote:
There were actually already back buttons (clicking on 'SlimStampen' or the yellow button on the top right) but we realise that these were not very intuitive. In the branch 'improveuserexperience', it now looks like this:
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Does not show any available arguments

I use version 1.1.0 of spec-cleaner on Tumbleweed and when I try to get any argument info to console i get the following stack trace. If I run with known arguments it seems to work fine.
Traceback (most recent call last):
  File "/usr/bin/spec-cleaner", line 11, in <module>
    load_entry_point('spec-cleaner==1.1.0', 'console_scripts', 'spec-cleaner')()
  File "/usr/lib/python3.6/site-packages/spec_cleaner/__init__.py", line 97, in main
    options = process_args(sys.argv[1:])
  File "/usr/lib/python3.6/site-packages/spec_cleaner/__init__.py", line 69, in process_args
    parser.print_help()
  File "/usr/lib64/python3.6/argparse.py", line 2362, in print_help
    self._print_message(self.format_help(), file)
  File "/usr/lib64/python3.6/argparse.py", line 2346, in format_help
    return formatter.format_help()
  File "/usr/lib64/python3.6/argparse.py", line 282, in format_help
    help = self._root_section.format_help()
  File "/usr/lib64/python3.6/argparse.py", line 213, in format_help
    item_help = join([func(*args) for func, args in self.items])
  File "/usr/lib64/python3.6/argparse.py", line 213, in <listcomp>
    item_help = join([func(*args) for func, args in self.items])
  File "/usr/lib64/python3.6/argparse.py", line 213, in format_help
    item_help = join([func(*args) for func, args in self.items])
  File "/usr/lib64/python3.6/argparse.py", line 213, in <listcomp>
    item_help = join([func(*args) for func, args in self.items])
  File "/usr/lib64/python3.6/argparse.py", line 519, in _format_action
    help_text = self._expand_help(action)
  File "/usr/lib64/python3.6/argparse.py", line 606, in _expand_help
    return self._get_help_string(action) % params
ValueError: unsupported format character '{' (0x7b) at index 28

Thanks for the report, there was missing % :)


Avoid accidentally paying extremely high fees when making inscriptions

Would this mean creating an inscription is an interactive process, where the user is told the total fee before sending it to the mempool?

I think ideally not. I really don't like making things interactive. Interactive prompts are easy to accidentally skip if you're not expecting them, and they're annoying in scripts. One way of doing this could be to have a maximum fee that we're willing to spend, and refuse to inscribe if the fee would be over that.

Yea, I like that approach more


BBPSPLIT fails cryptically with user errors

Description of the bug
I had a senior moment and re-submitted an rna-seq run in Seqera Platform, modifying the reference files and not using additional_fasta but forgetting to take out bbsplit_fasta_list and reset skip_bbsplit to true. This caused a failure like
Exception in thread "Thread-7" java.lang.RuntimeException: java.io.EOFException
    at fileIO.ReadWrite.readObject(ReadWrite.java:823)
    at fileIO.ReadWrite.read(ReadWrite.java:1285)
    at fileIO.LoadThread.run(LoadThread.java:30)
Caused by: java.io.EOFException
    at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2926)
    at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3421)
    at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:959)
    at java.base/java.io.ObjectInputStream.(ObjectInputStream.java:397)
    at fileIO.ReadWrite.readObject(ReadWrite.java:818)
    ... 2 more
Exception in thread "Thread-5" java.lang.AssertionError: null, [I@497de40d
    at align2.Block.read(Block.java:148)
    at align2.IndexMaker4$BlockMaker.makeArrays(IndexMaker4.java:140)
    at align2.IndexMaker4$BlockMaker.run(IndexMaker4.java:128)

... and the job just hung.
So despite the ultimate cause being operator error there are two issues:

The BBMAP fails cryptically rather than checking inputs
When a failure occurs the process seems to hang rather than finishing with a non-zero error (at least within the couple of hour timeframe I was prepared to wait).

Command used and terminal output
$ nextflow run 'https://github.com/nf-core/rnaseq'
		 -name nostalgic_pare
		 -params-file 'https://api.tower.nf/ephemeral/TEPfBKFjWQ0C9XohEadhTA.json'
		 -with-tower
		 -r dev
		 -latest

Relevant files
No response
System information
No response

Did we find a fix for this @pinin4fjords ? Saw you removed it from the milestone. Shall we push it to the next one?

I don't quite know what to do about it, and we're probably not going to go digging into BBMAP to fix it. I'd like to leave it open as an aid for anyone else getting the same error, but I can't see us doing anything about it any time soon, so it shouldn't be on a milestone.

Which process was it that failed? The index construction or the actual BB Split mapping?

Pretty sure it was the actual BBSplit, but now you're asking I'm doubting myself.


Improve "authenticating to k8s api from a pod" docs

Helps with https://github.com/kubernetes/kubernetes/issues/22121.
Also removing the link to kubectl-container example which is staged for removal.

This change is

@clhodapp I have a discussion about it at https://groups.google.com/d/msg/kubernetes-sig-cli/yUkt_ZkAAY0/WQ3NVRLyCwAJ feel free to participate if you support the idea we should have a kubectl-only image.

@ahmetb FYI, the Travis CI error has been fixed. Please rebase or update the branch. Thx!

Rebased.

@ahmetb Are you ready for me to merge this?


[Exposure history] - Legend below calender not fully visible

Version 0.9.5

Type of phone: Android
OS Version: 9.0, 10.0
Model: Samsung A50, Samsung Galaxy S10

Steps to reproduce

From home tap the right top setting button
Tap on Exposure history

Affected languages:

Polish
Italian
Indonesian
Dutch
Slovak

Expected Behavior
The legend below the calendar should be fully readable.

I'll look into this issue

Fixed in #628


Support goreleaser

Add necessary parts to support Goreleaser

schema
template
gen config

implemented by v0.3.3


Change Mbox btn size

Hi ,
I was wondering how I can change the mbox btn size? using control character I am able to adjust btn width related to the other btns but I need to set my desired width.

@kisvegabor Thank you but I need to change the button width and also it comes from text width. Assume that I want to display "Message sent successfully" and add one one confirmation "OK" button , the width of confirmation button would be quite big and I like to make it smaller. Also same in Button Matrix , I don't know how change the Button width individually ( not related to the other buttons in the row)

You can do it with a trick by adding hidden buttons. (\21x control byte)

@kisvegabor Thank you good idea!

@kisvegabor The problem using left and right key , hidden key also is selected and seems that cursor goes beyond the keys.

Yes, really it also "selects" the hidden buttons which seems to be a bug or at least not intended.
Button matrix supports only relative width adjusting.
Can you send a simple sketch about the desired result? Likely it can be reached with the Button matrix.

I want to have a message box with a confirmation btn. If I use mbox and add a btn to mbox , btn width would be as big as mbox width whereas I am looking for something similar to the following picture which I have used button  object so I was able to change width and height independently.

I see. To reach this you can modify the LV_MBOX_STYLE_BTN_BG
	static lv_style_t mbox_btns_bg;
	lv_style_copy(&mbox_btns_bg, &lv_style_plain_color);
	mbox_btns_bg.body.padding.hor = 50;

	const char * btns_str[] = {"Ok", ""};
	lv_obj_t * mb = lv_mbox_create(lv_scr_act(), NULL);
	lv_mbox_add_btns(mb, btns_str, NULL);
	lv_mbox_set_style(mb, LV_MBOX_STYLE_BTN_BG, &mbox_btns_bg);

I intentionally used a non-transparent style to see what happens.

Oh great, thanks!

I have some problem to use control character. For example if I want to have 3 buttons as "Send", "Attach", "Cancel" in the mbox, what would be the best control character for each?

I checked the documentation and it was mistyped, sorry. I corrected it. https://littlevgl.com/object-types/button-matrix-lv_btnm
So if the control character is in octal format (\xxx in C) then it must start with \2xx.
By default all buttons have the width of "1 unit". But with the last number in the control byte you can modify it. E.g.  3  unit: \2x3. It will make the button 3 time wider the the others. It always proportional so doesn't matter how much button you have in row the relative width will remain.
Here is an example:
    static const char * btns[] = {"\203Triple","\202Double","Simple",""};
    lv_obj_t * mb = lv_mbox_create(lv_scr_act(), NULL);
    lv_mbox_add_btns(mb, btns, NULL);
    lv_obj_set_width(mb, 300);
    lv_obj_align(mb, NULL, LV_ALIGN_CENTER, 0, 0);

Hi, thank you very much. This issue can be closed too.


Generalize GPU code to more than one backend

Working on fixing the AMDGPU issue that is showing on CI

I don't see the AMDGPU version tested?

See this , that’s why I reverted the change. Although I have tested locally, the tests do pass for Regression + Discrete callbacks

There’s some functionality missing from AMDGPU for SDE kernels as well


[Bug]: kubectl cnpg psql doesn't pass --context to kubectl

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
No response
Version
1.22.2
What version of Kubernetes are you using?
1.29
What is your Kubernetes environment?
Cloud: Google GKE
How did you install the operator?
Helm
What happened?
kubectl cnpg psql --context X  doesn't pass --context X to underneath kubectl invocation , as a result psql doesn't work unless context X is selected as default in $KUBECONFIG
Cluster resource
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @redbaron
The flag --context is a global flag, can you test passing this flag before the psql command ?
Regards,

Hi @redbaron
The flag --context is a global flag, can you test passing this flag before the psql command ?
Regards,

Tried multiple variants, same result.
$ kubectl  cnpg --context "X" -n s-foobar psql s-foobar-3cbd
Error from server (NotFound): namespaces "s-foobar" not found
$ kubectl ctx X
Switched to context "X".
$ kubectl  cnpg --context "X" -n s-foobar psql s-foobar-3cbd
psql (15.6 (Debian 15.6-1.pgdg110+2))
Type "help" for help.

postgres=#

@redbaron
Thanks for reporting this, I can confirm it's a bug! I'll add some more labels asking for help on a PR
Best Regards!

Unable to reproduce on the latest version

Still reproducible for me on
$ kubectl cnpg version
Build: {Version:1.23.2 Commit:4bef8412 Date:2024-06-12}

This is a duplicate of #6227 - closing it.


Create paeda.txt

@Vnnncnnnt Please provide us with an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

@Vnnncnnnt I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the abovementioned issue. Thank you for the understanding!


Governance Page components

Summary of changes
Provide a detailed description of proposed changes.

Implement 2 components for Governance Page: GovernanceContractListingCard and GovernanceContractDetailCard

Proposed area of change
Put an x in the boxes that apply.

[ ] apps/bridge-dapp
[ ] apps/hubble-stats
[ ] apps/stats-dapp
[ ] apps/tangle-dapp
[ ] apps/testnet-leaderboard
[ ] apps/faucet
[x] libs/webb-ui-components

Reference issue to close (if applicable)
Specify any issues that can be closed from these changes (e.g. Closes #233).

Closes #1851

Screen Recording
If possible provide a screen recording of proposed change.
https://github.com/webb-tools/webb-dapp/assets/69841784/a8d72831-86c1-4e65-8b61-d43d78d2f80c

Code Checklist
Please be sure to add .stories documentation if any additions are made to libs/webb-ui-components.

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

This looks good to ship once we address the semantic error between search chains/contracts. If the flow seems correct that's good enough for now @vutuanlinh2k2.

Looks good besides small nit. The flow is a bit clearer in my head. I think we will

Search contracts (they should exist on all chains a bridge exists on)
Click contract of interest (paired with the address of the given contract instance)
See governance functions
Execute governance function -> if chain wasn't selected from the diagram throw a toast error.
Otherwise switch chains if needed and execute on the selected chain at that contract address.

I will move the chain ring to the detail card!


[REF-2427] rx.upload should be styled by default

We should have an opinionated look for rx.upload (currently it's fully unstyled) for better out of the box experience. We should always allow full bottoms-up customization as well.
From SyncLinear.com | REF-2427

@picklelo Can I give this a shot? If yes, then could you provide a demo code on how to reproduce it? As far as I can think, we need to style a file upload by default if someone uses it without adding any styles.

@AmanSal1 yes that would be great! I'm thinking it should just have some style similar to what we have in the upload docs. Maybe just a border and the currently selected files could be included by default (the line with rx.hstack(rx.foreach(rx.selected_files("upload1"), rx.text))).
The only open question is what API we expose the fully styled upload as. Ideally the default rx.upload would be fully styled, while we have something like rx.upload.root for the unstyled upload, but I don't want to break any existing code.
We can maybe start by making this a separate function and then figure out how to make it work with the current upload.

@picklelo
In my opinion, renaming the existing rx.upload function is not ideal. This would be a breaking change, requiring updates to existing code and documentation. Additionally, it might disrupt users accustomed to the current behavior.
Alternative Approaches:

New Function: Create a new function that utilizes rx.upload internally but adds styling elements like borders and selected file display. This approach maintains backward compatibility.

Decorator: Implement a decorator function that can be applied to rx.upload. The decorator would add styling when a flag is set to True. This allows flexibility while keeping the original function name.

@AmanSal1
I like your suggestions regarding the alternative approaches, and I would love to try implementing the first approach.


Sever restart questions

Eg gibase sever -d /path1
When i kill the server and restart it. Would the git repo be parsed again and loaded into the DB. Or would it load only the diff if the /path1 has been updated ?
gitbase server -d / path2
When i kill server and give another path2 I see now the DB would  only the new path2 data . So would be old info be pruged or would it be backed up in a dump or some other way ?

Hello @srinivasanraghavan
Gitbase is not loading the git data into a database, we are directly reading the information on repositories and showing it to the user in a tabular representation.
If you execute gitbase on path1, you will see all the data from repositories on path1. The same if you do the process with path2, you will only see info from repositories on this path.
Hope it helps.

So typical use case for gitbase  is to use this to generate a small DB on the fly use classic sql to manipulate data  and store it else where. Am i correct.

You can query and get insights directly using gitbase, or you can export the obtained data elsewhere if you want too.
Depending on the size and amount of repositories, the obtained data from tables without filtering might be humongous and hardly possible to handle by a standard SQL database.

Closing, as the question has already been solved.


Feature Request: Add NavEnableKeyboard flag to the API

There is a configuration flag to enable keyboard controls, available in the imgui demo window. When activating via the test window, it works fine, however there doesn't seem to be a way to set this flag beforehand. Can this be added to the API? There are already some other config flags in there but it seems quite a few are missing.

Hello,
You have to set it through IO, it should look like
io = imgui.get_io()
io.config_flags = io.config_flags | imgui.CONFIG_NAV_ENABLE_KEYBOARD

Possible config flags are:
imgui.CONFIG_NONE
imgui.CONFIG_NAV_ENABLE_KEYBOARD
imgui.CONFIG_NAV_ENABLE_GAMEPAD
imgui.CONFIG_NAV_ENABLE_SET_MOUSE_POS
imgui.CONFIG_NAV_NO_CAPTURE_KEYBOARD
imgui.CONFIG_NO_MOUSE
imgui.CONFIG_NO_MOUSE_CURSOR_CHANGE
imgui.CONFIG_IS_RGB
imgui.CONFIG_IS_TOUCH_SCREEN

which is the exhaustive set of config flags as far as I know.
Do you have any precise example in mind that I may have missed? (Note that we are mapping DearImGui v1.52, but I didn't see any more config flags in the latest release)

Yeah, you are right, it seems that they are not in the documentation.
This documentation definitely needs to be refactored. It is quite a mess ^^. In the mean time, if you don't find something, I can suggest you look for functions and flags directly in the imgui/core.pyx. The documentation is generated using the content of this file.
Thanks for letting me know!

Just a follow-up, how would you remove a config flag after you set it? I'm not familiar with how the | bitwise or operator works.

Ah, nevermind, the ^ operator seems to do the trick
io = imgui.get_io()
io.config_flags |= imgui.CONFIG_NAV_ENABLE_KEYBOARD

# Remove flag
io.config_flags ^= imgui.CONFIG_NAV_ENABLE_KEYBOARD

Ah, nevermind, the ^ operator seems to do the trick
io = imgui.get_io()
io.config_flags |= imgui.CONFIG_NAV_ENABLE_KEYBOARD

# Remove flag
io.config_flags ^= imgui.CONFIG_NAV_ENABLE_KEYBOARD

That toggles the flag, so it adds it if it was not there, or it removes it if it was there.
You are probably looking for:
io.config_flags &= ~imgui.CONFIG_NAV_ENABLE_KEYBOARD


Ansh Kanungo logout function

Added LogOut Functionality, with Swal Pop-up Alert.

I made the changes as you instructed. plz verify.

I made the changes as per your instructions. plz verify.

Please use window.alert instead of sweetalert .

https://user-images.githubusercontent.com/56950431/219698562-d8b99309-c8c3-4c95-9e89-ebb3764a4d7c.mp4

@Anshkanungo , I appreciate the way you utilize sweetalert package but the reason we are not accepting it because we are already using libraries like mantine that is quite heavy to load, and as per the project goal, the application will be utilized by student at various parts of the country having varied network speeds.
In this case, if we use more libraries then it'll greatly affect the speed of our website so our major goal is functionality not the UI but yeah in future if the need persists then we'll surely integrate it.
I hope it clears your query😊.

@Anshkanungo , I appreciate the way you utilize sweetalert package but the reason we are not accepting it because we are already using libraries like mantine that is quite heavy to load, and as per the project goal, the application will be utilized by student at various parts of the country having varied network speeds. In this case, if we use more libraries then it'll greatly affect the speed of our website so our major goal is functionality not the UI but yeah in future if the need persists then we'll surely integrate it. I hope it clears your query😊.

I understand. I made the necessary changes. Pls see to it and let me know what more is needed.


[Gitlab] Add 17.0

scheduled for tomorrow

Released:
https://about.gitlab.com/releases/2024/05/16/gitlab-17-0-released/
https://gitlab.com/gitlab-org/gitlab/-/releases/v17.0.0-ee


.env probably shouldn't be in your project.

Your DB and email passwords are both publicly visible.

thank you @mseymour. its my local settings. I used .env for locally. In server all settings goes to config/app.php


OSError: Binding to 'localhost' is prohibited. Please use '::1' or '<IP_ADDRESS>' directly.

C:\Users\Admin>mitmweb
Traceback (most recent call last):
  File "c:\program files\python36\lib\site-packages\mitmproxy\proxy\server.py", line 46, in __init__
    (config.options.listen_host, config.options.listen_port)
  File "c:\program files\python36\lib\site-packages\mitmproxy\net\tcp.py", line 559, in __init__
    raise socket.error("Binding to 'localhost' is prohibited. Please use '::1' or '<IP_ADDRESS>' directly.")
OSError: Binding to 'localhost' is prohibited. Please use '::1' or '<IP_ADDRESS>' directly.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\program files\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python36\Scripts\mitmweb.exe\__main__.py", line 9, in <module>
  File "c:\program files\python36\lib\site-packages\mitmproxy\tools\main.py", line 164, in mitmweb
    run(web.master.WebMaster, cmdline.mitmweb, args)
  File "c:\program files\python36\lib\site-packages\mitmproxy\tools\main.py", line 97, in run
    server = proxy.server.ProxyServer(pconf)
  File "c:\program files\python36\lib\site-packages\mitmproxy\proxy\server.py", line 51, in __init__
    if self.socket:
AttributeError: 'ProxyServer' object has no attribute 'socket'

As the error suggests, localhost should be replaced with <IP_ADDRESS> .
This is in the latest version 3.0.3

Edit: Found out the 'localhost' was coming from the config.yaml file in .mitmproxy.
Maybe reminiscent from an older version?

Please provide the important information we asked for in the issue template.
Which OS are you using? Which OS Version?
How did you install mitmproxy?


What is the subspace in the final output of mhglm()

Hi,
I'm trying to use this package in my course project, but I can't find corresponding value of "subspace" in the final output to its counterpart in the paper.
What is the subspace in the final output of mhglm() ? I thought it was the right singular matrix (full column rank part) of the data matrix, that is V_i, but it isn't.
Could someone gives me brief explanation ?
Thanks

The subspace and precision give you the eigendecomposition of the group-specific precision matrix (corresponding to V_i and D_i^{-2} in the paper). These are computed using the precision matrix returned from firthglm.fit.
The description of V_i and D_i in section 3.4 or the paper are slightly different than in the R package. Up to numerical error, you will get the same weights with either choice, but in the paper's version, D_i is not diagonal.


Just saying thanks! ❤

This is a really awesome project, and I appreciate it more each time I come back to read various bits of it. It's the only place I've found anybody publishing javascript code to parse stepfiles and that deserves major props!
I've been meaning to take your parser and extract it out to a separate package for a long time, and I finally did just that! It's over here:
https://www.npmjs.com/package/simfile-parser
https://github.com/noahm/simfile-parser
I already added some early SSC support on top of your code, and I'm using it to import ITG packs into my card draw app now: https://github.com/noahm/DDRCardDraw/pull/86
I'm sure I wouldn't have bothered to take it this far and publish my very first npm package without your high quality starting point. So, thanks for sharing and open sourcing it!

Hey Noah, thanks glad you found the code useful. I remember the parses being pretty messy, :grimacing:, but they at least get the job done.
I remember you showing me DDR Draw ... a couple years ago on the SMX discord. Man time flies. It's looking awesome!
SSC support would be killer. I don't really know much about ITG, do ITG songs tend to use SSC?

Yes, ssc is just the format you get from the stepmania editor now (as of
5.1 I think?), so any songs charted in the past few years are all in that
format. It's close enough to sm that I didn't have to modify much at all
from your existing sm parser to get ssc working.
I want to eventually get the filesystem access abstracted out such that the
code can also run in the browser against the file access API there. The
dream would just be to get a card draw pack built on the fly by dragging
and dropping a stepmania pack directly into the browser.
On Mon, Mar 7, 2022 at 06:32 Matt Greer @.***> wrote:

Hey Noah, thanks glad you found the code useful. I remember the parses
being pretty messy, 😬, but they at least get the job done.
I remember you showing me DDR Draw ... a couple years ago on the SMX
discord. Man time flies. It's looking awesome!
SSC support would be killer. I don't really know much about ITG, do ITG
songs tend to use SSC?
—
Reply to this email directly, view it on GitHub
https://github.com/city41/stepcharts/issues/8#issuecomment-1060750880,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACN77PWCHLN37PQK6NN3JTU6YHRFANCNFSM5QB3T2SQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Noah Manneschmidt

That would be really cool. I wanted to do something similar with stepcharts where people drag a step file or a zip and see the chart.
Yeah ssc is similar to sm, but there was something it added for new A20 songs. I don't remember what it was, I haven't worked on stepcharts in a long time now. Stepcharts skips Ace for Aces and Chaos Terror Tech-Mix in A20 due to them using ssc, and I believe only those two are sscs (the rest of A20 is sm) due to a new feature.

I don't know what Terror Tech does differently but I know Ace for Aces uses different BPMs and stops for each difficulty.(Basic is constant 100bpm, Standard is 100-200bpm, Expert is 100-200-400bpm) I haven't tested my ssc support against those new features but I think they will be easy to support without much more work. (Will also have to adjust the return types used to correctly model per-chart BPMs)
Would be happy to get contributions from you if you're interested, but I'll keep chipping away at it either way. I'm starting to plot out what else is worth doing in the short term here https://github.com/noahm/simfile-parser/projects/1

Ah that's right, the bpm per difficulty differences.
I'm definitely interested in helping. I probably won't be able to for the foreseeable future though, I'm currently quite swamped.

@city41 Just swinging by with an update: I did get around to adding decent support for parsing SSC files, and the latest version of the package also finally has preliminary support for in-browser parsing of charts, and I'm using that to allow drag-n-drop of a stepmania folder into the ddr.tools card draw app to get card draw for any pack you might have locally.
I think it would be super neat to see your site eventually support something similar and get an instant, on-demand visualization of any chart just by dragging it into the page! :)

@noahm nice! that's really cool. In the back of my mind I always wanted to allow people to just parse any chart they want. I'll see if I can squeeze this into the site at some point.


CentOS 7 virtual machine can run normally but  CentOS-Stream:9 faild

What happened:
I successfully ran a CentOS 7 virtual machine using Kubevirt 1.3.1. However, an error was reported when I tried to run the quay.io/containerdisks/centos-stream:9 image.
What you expected to happen:
A clear and concise description of what you expected to happen.
How to reproduce it (as minimally and precisely as possible):
Theoretically, the fact that a CentOS 7 virtual machine can be run indicates that the node supports virtualization. This can also be confirmed by directly running virtualization queries. Except for two warnings, everything else is okay.
Additional context:
CentOS 7 virtual machine can be run : In virt-launcher pod can find  /run/kubevirt-private/libvirt/qemu/log/default_testvm01.log
2024-11-19T06:46:19.349092Z qemu-kvm: warning: host doesn't support requested feature: CPUID.40000001H:EAX.kvm-asyncpf-int [bit 14]
2024-11-19T06:46:19.350092Z qemu-kvm: warning: host doesn't support requested feature: CPUID.40000001H:EAX.kvm-asyncpf-int [bit 14]
2024-11-19 06:46:39.558+0000: Domain id=1 is tainted: custom-ga-command
Centos-stream:9 virtual machine faild: In virt-launcher pod can find
2024-11-19T06:56:21.925882Z qemu-kvm: warning: host doesn't support requested feature: CPUID.40000001H:EAX.kvm-asyncpf-int [bit 14]
KVM: entry failed, hardware error 0x80000021
If you're running a guest on an Intel machine without unrestricted mode
support, the failure can be most likely due to the guest entering an invalid
state for Intel VT. For example, the guest maybe running in big real mode
which is not supported on less recent Intel processors.

Environment:

KubeVirt version (use virtctl version):1.3.1
Kubernetes version (use kubectl version):v1.28.2
VM or VMI specifications:  CentOS-Stream:9
OS (e.g. from /etc/os-release): CentOS Linux 7 (Core)
Kernel (e.g. uname -a): Linux 5.4.219-1.el7.elrepo.x86_64

node check :
virt-host-validate qemu
QEMU: Checking for hardware virtualization                                 : PASS
QEMU: Checking if device /dev/kvm exists                                   : PASS
QEMU: Checking if device /dev/kvm is accessible                            : PASS
QEMU: Checking if device /dev/vhost-net exists                             : PASS
QEMU: Checking if device /dev/net/tun exists                               : PASS
QEMU: Checking for cgroup 'cpu' controller support                         : PASS
QEMU: Checking for cgroup 'cpuacct' controller support                     : PASS
QEMU: Checking for cgroup 'cpuset' controller support                      : PASS
QEMU: Checking for cgroup 'memory' controller support                      : PASS
QEMU: Checking for cgroup 'devices' controller support                     : PASS
QEMU: Checking for cgroup 'blkio' controller support                       : PASS
QEMU: Checking for device assignment IOMMU support                         : WARN (No ACPI DMAR table found, IOMMU either disabled in BIOS or not supported by this hardware platform)
QEMU: Checking for secure guest support                                    : WARN (Unknown if this platform has Secure Guest support)

I can run the virtual machine created by virt-install on a CentOS 7.9 server with the same configuration when installing KVM. However, it doesn't work when using Kubevirt. How can this be explained?

/cc @vladikr


Help: docker seems stuck on start up

Thank you for the docker image so I can try your project on windows. However it seems the application stuck on startup without further details.
So when I run docker run -v {{ConfigPath}}/influxdb-relay.conf:/etc/influxdb-relay/influxdb-relay.conf -p 9096:9096 --rm vptech/influxdb-relay:latest, I got following output:
2019/05/17 15:56:26 starting relays...
2019/05/17 15:56:26 starting UDP relay "example-udp" on <IP_ADDRESS>:9096

That is no extra logs available and the container seems still running. However, when I run curl -X GET "http://<IP_ADDRESS>:9096/health" to test the container, I got "curl: (52) Empty reply from server" message. The container don't seems to have any logs too.
I am running two influxdb using containers too on mac, which I can access using windows. So I think there might have networking issues in between the relay container on windows and the db container on Linux. But I can ping through using docker exec 9c6484081b17 ping atl-2156-osx.kabbage.com, results seems fine:
PING atl-2156-osx.kabbage.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=37 time=70.311 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=37 time=5.607 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=37 time=10.209 ms
64 bytes from <IP_ADDRESS>: seq=3 ttl=37 time=4.672 ms

Anywhere I may have it setup wrong? There are no extra logs from relay container available.

@toni-moreno, I don't see this behavior when using your tonimoreno/influxdb-srelay using the same influxdb server with your config file, are you aware of anything might causing this?

OK, I think I found the issue. In the [[http]].binding-addr I changed <IP_ADDRESS>:9096 to <IP_ADDRESS>:9096, then  vptech/influxdb-relay:latest start working. Can this be considered as a bug?

Yes, we will take a look really soon.

Did you change [[http]].binding-addr in your config file {{ConfigPath}}/influxdb-relay.conf @zhangxin511 ?
I think we can change the README and set the binding-add to <IP_ADDRESS>:9096

@damoun yes I used <IP_ADDRESS>:9096 for docker it worked.


Add user search

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1718  👈
#1716
#1715
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @yair-starkware and the rest of your teammates on  Graphite


Add "Apps Script Libraries and TypeScript" to docs/typescript.md

Documentation update with possible workaround for #392
Add section on library type workaround with @ts-ignore. No code changes, markdown file changes only.
Sorry for all the headaches with the other messed up PR's! :)

Thanks @msembinelli!


[HIPIFY] Implement compact doc-format

The compact format of the generated documents should not include paragraphs without any supported API. So, such paragraphs should be entirely excluded.

Implemented by #406.


Add support for e-signature on member agreements.

Legally recognized electronic-signatures have requirements for document retention, user identification, and other requirements depending on the country.  Specifically in the USA there is the need to sign liability waivers.
We'd like to see support for legally binding contracts via an e-signature. I believe e-signature requirements are similar in many countries.  Overview of legal requirements for many countries can be seen here:
https://www.docusign.com/products/electronic-signature/legality/australia
Many e-signature services provide APIs for having documents signed at reasonable prices.  For our maker space we have less than 10 sign ups per month. So these services would be affordable and remove the burden of on-going document management. Using a independent 3rd party service would help to ensure the legal requirements are met:
https://www.signwell.com/ has a free tier upto 25 signatures/month.
esignatures.io has a per-signature pricing model (USD $1) and discounts for non-profits.
Anvil has a free tier with pay-per-signature after that but I'm unclear if it does document retention on the free tier:
https://www.useanvil.com/
https://github.com/anvilco/python-anvil

Following on from a recent event that occurred where the terms of joining weren't clear, I'd also like to see this to remove any ambiguity over membership

Sorry I never commented on this one, love this idea! It's related to #208 and would require that one to be implemented first. Once we're generating membership agreements, we could then integrate a document signing system to "sign" them.

I've started experimenting with https://github.com/docusealco/docuseal at our space this week, so far it seems to be working well.  Opensource Docuseal has just enough API to look up a signing party by email so might work that way.  Annoyingly docuseal is dual license and puts some features like the embedding API behind a $20/month/user license.


Semihosting: How about halting debugger on SYS_EXIT?

OpenOCD behaves that way, that debugging is halted if the target issues SYS_EXIT (0x18).
Should be a oneliner if one knows the corresponding call.
And another idea which goes into the same direction: how about command line options to start the target in gdbserver mode and exit pyocd if SYS_EXIT is executed?  This would allow very easy in target coverage testing.

Hi @rgrr ,
We are using gdb command: continue & to start execution. & can make continue run in background and not blocking the gdb.
If you want to exit debuging, you can send interrupt.
We are using this way to get coverage data from target with pyocd.

My idea is to omit gdb and do pyocd the job.  After finding out, that pyocd is controllable via API there seem to be multiple ways to get to the goal.  I guess I will expand the API examples section a bit.
Nevertheless, openocd behavior to halt debugging (as if there was a breakpoint) is TMO very helpful if in a debug session.  Pyocd currently shows you a "running" target in gdb although effectively it has stopped at the BKPT.


NonIdealState: Svg does not cover whole illustration container

Describe the bug (actual behavior)
Component's NonIdealState illustration's currently accurately works with @itwin/itwinui-illustrations-react, which are of fixed bigger size. However, using any other svg uses its native height and width and doesn't fill the illustration container.
Expected behavior
Component's NonIdealState illustration's svg has the height and width inherited from the illustration container.
Reproduction
Link to a minimal repro: https://codesandbox.io/s/little-https-jlzhnt?file=/src/App.tsx
Additional information
This might get the job done, although a size prop might be needed, as the container is of 3x2 ratio, while the icons are 1x1 and could possibly be expected to be smaller, as it might seem bloated
.iui-non-ideal-state-illustration > svg {
  height: inherit;
  width: inherit;
}

Hmm, I think the intent was for the wrapping div around the illustration to serve as a sort of "upper bound". It should work fine for any svg that is big enough.
What's the use case for using NonIdealState with an icon that's normally 16x16? Scaling that icon up to be giant-size would not look very good.

It should work fine for any svg that is big enough.

You're correct here emphasizing that any svg that is big enough works fine. But the issue was created to suggest addressing that big enough part.

What's the use case for using NonIdealState with an icon that's normally 16x16?

In some situations I personally find the icons more user friendly to be displayed compared to an illustration error svg (especially when the state is non-critical).
E.g.:

an illustration 403 (Forbidden):

an illustration 404 (Not found):

Scaling that icon up to be giant-size would not look very good.

Agreed - in the above given examples, I have made the illustration container smaller to tailor better for the requirements of the components. While inheriting would either way help, as in that case the user would only need to adjust the illustration container height and width, this is partially why in the issue I've mentioned some size prop as a suggestion.

@6ar8nas Have you tried using the <Icon> component? It lets you control the size.

After further testing it out, I found that while <Icon> didn't quite cut it, the expected outcome can be achieved by simply applying a className to the svg, hence I am closing this issue. Thanks.


Error installing Google-API-Client

` Error installing Google-API-Client
[!] /usr/bin/svn export --non-interactive --trust-server-cert --force http://google-api-objectivec-client.googlecode.com/svn/trunk/ -r 393 /var/folders/5r/hwgpm3nx77z5lb7gdvwggwl80000gn/T/d20160623-18560-1jwl7e7
svn: E160013: Unable to connect to a repository at URL 'http://google-api-objectivec-client.googlecode.com/svn/trunk'
svn: E160013: 'http://google-api-objectivec-client.googlecode.com/svn/trunk' path not found`

Google-API-Client isn't the official pod we control.  The pod provided by this project is: GoogleAPIClient
Use the official pod, or contact the authors of the other pod to correct their pod.

This solved my problem. Thank you Thomas Van Lenten.
On Thu, Jun 23, 2016 at 5:26 PM, Thomas Van Lenten<EMAIL_ADDRESS>
wrote:

Google-API-Client isn't the official pod we control. The pod provided
by this project is: GoogleAPIClient
https://github.com/google/google-api-objectivec-client/blob/master/GoogleAPIClient.podspec
Use the official pod, or contact the authors of the other pod to correct
their pod.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/google-api-objectivec-client/issues/199#issuecomment-228034312,
or mute the thread
https://github.com/notifications/unsubscribe/AMZS_xKHTwtSvz0E1AWAdh9I7cg5D-qOks5qOnuKgaJpZM4I8tOn
.


Improve plasticity example

Codecov Report

Merging #17 (e75a800) into main (dfa301d) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   92.85%   92.85%
=======================================
  Files           8        8
  Lines         168      168
=======================================
  Hits          156      156
  Misses         12       12

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


"Choose a repository" dialog if only one repository is selected in SCM view

VS Code Version: 1.55.0
OS Version: Ubuntu 20.04 LTS

Steps to Reproduce:

Open SCM  view
Select only one Repo from the list
stage a change
add a message and try to commit

Result: "Choose a repository dialog" dialog is displayed.
Expected: Staged change is committed.
Same behavoir when commited change is pushed.

Does this issue occur when all extensions are disabled?: Yes

Can you show a screen capture of what you are seeing?


Previous days are shuffled into preDays at 02:00, not 00:00

This is due to timey wimey zone stuff. The if-statement that guards the preDays.push evaluates as false for two hours between midnight and 02:00 when we want it to evaluate to true. The cause seems to be that the two Dates that are compared aren't in the same timezone (?).

This shouldn't be too hard to fix, will probably handle it along with #16. Might also pull inn Moment.js for the sake of trying it out and simplifying things a tidbit.

When ititiating the Date-object with a date it sets it to UTF, which is 2 hours behind us. When setting just new Date() it sets it to local time.

I think you mean UTC. :stuck_out_tongue:
Other than that though, you're absolutely right. Simply shifting the date two hours would be simple, but that doesn't account for daylight savings (not that the splash is ever used during the winter).
As mentioned earlier, we're probably better off using Moment.js and saving ourselves a fair amount of headache. Doing #16 simultaneously could help clean up the logic in the calendar component in general. Feel free to take a shot at it, we have about a year until it needs to be fixed.

you can set a variable to account for the offset timezoneOffset = (new Date).getTimezoneOffset() and add that to the time. It returns minutes, so you might have to do some calculations, but it should account for daylight savings as well i think.


feat: smart_stat support follow_symlinks param

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (9c7599c) compared to base (a2cb71e).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #165   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           33        33
  Lines         4077      4077
=========================================
  Hits          4077      4077

Impacted Files
Coverage Δ

megfile/smart.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


MonadicFor annotation can generate NPE

(I think if the Monadic class is itself generic)
Example:
https://github.com/Alex-At-Home/halva-scalaz-examples/blob/master/src/main/java/person/alexp/halva/examples/ReaderOptionalForFactory.java
Try to build and it should fail during annotation with an NPE
A previous commit (https://github.com/Alex-At-Home/halva-scalaz-examples/commit/ca2f84828b6e4c39a796d77f90af283da95a13c4) avoids the generic type in the ReaderOptionalForFactory class (which might also cause errors downstream?), leaving a wildcard in the nested generic - this gives the same error as the non-wildcard version (and also separately involves causes type hell in Java, hence the late hour!)

This is what I have now. Is this the correct generated version?
// Auto generated from io.soabase.halva.comprehension.ReaderOptionalForFactory by Soabase io.soabase.halva.comprehension.MonadicFor annotation processor
package io.soabase.halva.comprehension;

import io.soabase.halva.any.AnyVal;
import java.lang.SuppressWarnings;
import java.util.function.Supplier;
import javax.annotation.Generated;

@Generated("io.soabase.halva.comprehension.MonadicFor")
public class ReaderOptionalFor<A> {
    private final MonadicForImpl<Reader> delegate;

    private ReaderOptionalFor(MonadicForImpl<Reader> delegate) {
        this.delegate = delegate;
    }

    public static <A> ReaderOptionalFor<A> start() {
        return new ReaderOptionalFor<A>(new MonadicForImpl<Reader>(new ReaderOptionalForFactory()));
    }

    public <MF_A, MF_B> ReaderOptionalFor<A> forComp(AnyVal<MF_B> any, Supplier<? extends Reader<MF_A, MF_B>> supplier) {
        delegate.forComp(any, supplier);
        return this;
    }

    @SuppressWarnings("unchecked")
    public <MF_A, MF_B> Reader<MF_A, MF_B> yield(Supplier<MF_B> supplier) {
        return delegate.yield(supplier);
    }

    public <R> ReaderOptionalFor<A> letComp(AnyVal<R> any, Supplier<R> supplier) {
        delegate.letComp(any, supplier);
        return this;
    }
}

Yep that looks right, awesome thanks!

Ah no sorry that was wrong, if needs to look like this: https://github.com/Alex-At-Home/halva-scalaz-examples/blob/master/src/test/java/person/alexp/halva/examples/ReaderOptionalFor2.java
ie if you specify a (single) inner type (and any number of template types) instead of leaving it untyped (eg Optional and A here) then you're declaring that you're composing Monads

Hmm interesting, it appears that now if you have >1 generic type in your monad then you can't use the untyped version, eg

public class OptionalForFactory implements MonadicForWrapper<Optional> { is fine because Optional only takes one type
public class ReaderOptionalForFactory<A>  implements MonadicForWrapper<Reader<A, Optional>> { is fine because both types are specified
public class ReaderForFactory implements MonadicForWrapper<Reader> { now errors

The reason we specified no types was that the "monadic type" can change via the flatMap/for comprehension, eg Reader<String, Int> -> flatMap(a -> a.toString()) -> Reader<String, String>.
So you'd have to do something like:

public class ReaderForFactory<A> implements MonadicForWrapper<Reader<A, ?>> { - which is a bit nasty because it becomes quite tricky to persuade the flatMap to compile - the old untyped expression was attractive even though it wasn't super type safe because it was nice and easy to override the flatMap/map, vs having to wrestle with Java type inference.

(you don't get any additional type safety after writing the for wrapper)

So I think it should be possible just to revert to the old logic for untyped multi-generic-type monads?

If there is a way if making the `MonadicForWrapper fullt type safe then I am all for it :)
eg you could try to do

public class OptionalForFactory<T> implements MonadicForWrapper<Optional<T>> {
public class ReaderForFactory<A, T> implements MonadicForWrapper<Reader<A, T>> {
public class ReaderOptionalForFactory<A, T> implements MonadicForWrapper<Reader<A, Optional<T>>> {

and then the forComp would become (eg):

ReaderForFactory<A, T2> forComp(Any<T2>, Supplier<T2>) (etc)

I think that will work fine, and it was just more trouble than it was worth in my example code that inspired your annotations, because I wasn't auto generating code or whatever
Or it works fine as is, with the 2 lines commented out from the last commit (I stuck a message in the linked commit) :)

The behavior is now optional. Use @MonadicFor(applyParentTypeParameter = true) to get the enhanced behavior. This will allow you to choose how the generation is done. Let me know if this solves the issue.

I'm going to close this as the original issue is dealt with. If you want more functionality open another issue.


Custom event with priority doesn't work

Describe the bug
Custom event with priority does not work.
without priority, it works.
ex)
on castskill with priority monitor:
broadcast "!"                           <--- errors
on castskill:
broadcast "!"   <--- work
on the skript 2.6.4 with skript-reflect 2.3, both codes above was working
Screenshots

Server information

skript-reflect: 2.3   (using addonpathcer)
Skript: 2.7.0 - beta2
Bukkit: Purpur
Minecraft: 1.19.4
Java: 17
OS: Windows 11

Additional context

Skript adds the syntax for event priorities during registration (Skript.registerEvent), but skript-reflect's custom events are registered differently (an event without patterns is registered when the addon is loaded, and patterns are added when a custom event is being parsed).
Can probably be fixed by manually adding the priority suffix to patterns from custom events

Fixed in https://github.com/TPGamesNL/skript-reflect/commit/0abbe26b580017d23a04398cd2a33c5b69908897


[SPARK-34577][SQL] Fix drop/add columns to a dataset of DESCRIBE NAMESPACE

What changes were proposed in this pull request?
In the PR, I propose to generate "stable" output attributes per the logical node of the DESCRIBE NAMESPACE command.
Why are the changes needed?
This fixes the issue demonstrated by the example:
sql(s"CREATE NAMESPACE ns")
val description = sql(s"DESCRIBE NAMESPACE ns")
description.drop("name")

[info]   org.apache.spark.sql.AnalysisException: Resolved attribute(s) name#74 missing from name#25,value#26 in operator !Project [name#74]. Attribute(s) with the same name appear in the operation: name. Please check if the right attribute(s) are used.;
[info] !Project [name#74]
[info] +- LocalRelation [name#25, value#26]

Does this PR introduce any user-facing change?
After this change user drop()/add() works well.
How was this patch tested?
Added UT

FYI @cloud-fan

Test build #135639 has started for PR 31705 at commit 358d1ec.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40219/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40219/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40219/

Test build #135651 has started for PR 31705 at commit 41584f5.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40231/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40231/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40231/

Test build #135651 has finished for PR 31705 at commit 41584f5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #135639 has finished for PR 31705 at commit 358d1ec.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135639/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135651/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135659/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40240/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40240/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40240/

retest this please

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135684/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40266/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40266/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40266/

it's a real failure in DataSourceV2SQLSuite.DescribeNamespace using v2 catalog

it's a real failure in DataSourceV2SQLSuite.DescribeNamespace using v2 catalog

Updated, current should be ok.

Test build #135699 has started for PR 31705 at commit 131c46e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40281/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40281/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40281/

Test build #135699 has finished for PR 31705 at commit 131c46e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135699/

Test build #135709 has started for PR 31705 at commit 72345b2.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40291/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40291/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40291/

Test build #135709 has finished for PR 31705 at commit 72345b2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135709/

thanks, merging to master/3.1!


Gh pages

Pips-edits

awesome work, r+!
I'm going to make the background image url a settable option so we don't need special css classes, but otherwise this is perfect as is. Thanks very much!


Add test script for GIS examples and run that in CI

This PR adds a script to test all the GIS examples from the mesa-examples gis folder with pytest. It also adds a GitHub Actions CI workflow that runs that script continuously in CI.

tests/test_GIS_examples.py, lend from Mesa itself.
.github/workflows/examples.yml, also lend from Mesa
pyproject.toml: Adds optional dependencies to test the examples.

Ref:

To see what examples still need to be fixed, checkout: https://github.com/projectmesa/mesa-examples/issues/172
A similar workflow was added to Mesa-examples in: https://github.com/projectmesa/mesa-examples/pull/171

Yes! Now also green!

I'm merging. Any feedback is still appreciated!


there is a gap between Keyboard and Accessory

i saw the issues (#71 and #80) about that problem but the solutions are not worked for me because they are telling that we need to change something in lib/KeyboardTrackingViewManager.m  but i dont have this file in the library.
i have lib/ios/reactnativeuilib/keyboardtrackingview/KeyboardTrackingViewTempManager.m this file. but this file does not have the functions that i need to change.
does anybody encountered with this?
how do we solve this gap problem?
Reproduce the problem

hi, did u solved this?