Publish builder images to same locations as buildpacks and stacks

Describe the Enhancement
Currently we publish buildpacks and stacks to dockerhub and gcr, but we only publish builders to dockerhub. We should be consistent across all types of images, so we should publish builders to gcr.io as well as dockerhub.
Motivation
There have been a couple of requests over the past few days for publishing builders to gcr.io. (this issue and this slack thread).

This is really important due to Docker rate-limiting final countdown on Azure.

Hey Rob. I agree our stuff should be consistent across the board. A long time ago, we had a plan to ideally stop publishing to GCR in the long run for cost purposes - https://github.com/paketo-buildpacks/rfcs/blob/main/text/0015-dockerhub-distribution.md?plain=1#L16-L17. I honestly don't know where this proposal ended up, its been ages but thought it seems relevant to think about this before we start pushing to GCR anywhere else

Also, this recent thread from @dmikusa has some GCR related concerns to consider - https://paketobuildpacks.slack.com/archives/C011S6EL49L/p1718741275733309

I know that we also had an RFC proposed to publish to other registries (like ECR), and it didn't get approved. The thought process against approving it was that it was beyond the scope of what the project should do. That if you, as a user, want them in a particular registry cause that's convenient for you, then you should mirror them to that registry. Mirror images is easy. That's a benefit of distributing things via images.
GCR is there for historical reasons. I don't remember an RFC that proposed removing it though. RFC0015 says that it could be deprecated but doesn't indicate a specific plan around how that will go or when that would happen. There's also the image retention policy RFC, which again mentions GCR being deprecated but doesn't call out anything specific about how/when it'll stop being used.
My guess is that historically these were never added to GCR because GCR was deprecated at the time these projects were created and we just assumed we'd stop using GCR in the near future. That never really happened though.
My $0.02...

if you want to add the images to GCR to be consistent, that seems reasonable in the short term.
I think we should have a specific RFC to go from deprecated to no longer used, that spells out the plan in detail. That's going to need to include announcements of the time frame for removal, etc...


Core: closes #1661

manually merged, thx.

Great, thanks @staabm. Any idea when this might make it to production?

@kjprice I guess when time allows we can aim for a christmas gift

Haha. Sounds good. Thanks again @staabm.


Add footer link icons

I added some example icons in the footer for links.

I added some example icons in the footer for links.

I really appreciate it! Could you possibly include an icon for LinkedIn as well?

Ok added a LinkedIn icon as well


integrated terminal not working cannot type anything in it

VSCode Version: Code 1.14.2 (cb82febafda0c8c199b9201ad274e25d9a76874e, 2017-07-19T23:34:09.706Z)
OS Version: Windows_NT ia32 6.2.9200
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.2.11

python
don
0.6.9

vscode-npm-script
eg2
0.2.0

php-debug
fel
1.11.1

php-intellisense
fel
1.5.0

php-pack
fel
1.0.1

beautify
Hoo
1.1.1

phpcs
ika
0.7.0

phpcsfixer
mak
0.0.1

laravel-blade
one
1.8.1

Steps to Reproduce:

Reproduces without extensions: Yes/No

Can you share some more information? Screenshot and your settings file would be a good start, thanks 😃

I've run into this issue several times. If memory serves, it usually happened with long-running processes such as an open ssh connection or a repl.
I ran into it most often when running guard, which itself was managing a redis process, sidekiq process, puma webserver, and a test runner process. I usually discovered the issue when I'd hit Enter and nothing happened.
If I run into the issue again, I'll post further information here.

I have the same issue
version 1.15.1

Im also facing the same issue. Able to open terminal using ctrl+`. But unable to type anything. Its stuck. Other than that im able to use everything.
Version: 1.17.2 zip version for windows.

Let's track this in https://github.com/Microsoft/vscode/issues/37044


justMyCode not working when used in VSCode settings

Environment data

VS Code version: 1.55.2
OS and version: Mac Os 11.2.3
Python version (& distribution if applicable, e.g. Anaconda): 3.8.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Docker
Value of the python.languageServer setting: ms-python.python

Expected behaviour
When specifying the following configuration object directly in the VSCode settings' .launch.configurations, justMyCode should just work (just like when it is added in the context of the classic launch.json file):
            {
                "args": [
                    "runserver",
                    "localhost:8001"
                ],
                "console": "internalConsole",
                "django": true,
                "justMyCode": false,
                "name": "Django",
                "program": "${workspaceFolder}/manage.py",
                "request": "launch",
                "type": "python"
            }

Actual behaviour
justMyCode is completely ignored.
Steps to reproduce:

Add the above snippet to the settings' .launch.configurations
Open a dockerized Python project and add a breakpoint inside a third-party package.
Try to step into the package code.
Ascertain that the effort is unsuccessful.

Hi @niccolomineo, thank you for reaching out!
Could you share a sample python project with which you can reproduce the issue, or thedevcontainer.json file for the project?

Of course:
{
  "dockerComposeFile": [
    "docker-compose.local.yaml"
  ],
  "name": "mysite",
  "service": "backend",
  "settings": {
    "autoDocstring.docstringFormat": "sphinx",
    "breadcrumbs.enabled": true,
    "djangoCommands.historyMaxLength": 20,
    "editor.rulers": [
      88
    ],
    "explorer.confirmDelete": false,
    "files.insertFinalNewline": true,
    "files.trimTrailingWhitespace": true,
    "files.watcherExclude": {
      "**/media/**": true
    },
    "python.formatting.provider": "black",
    "python.jediEnabled": false,
    "python.linting.enabled": true,
    "python.linting.flake8Enabled": true,
    "python.linting.pylintEnabled": false,
    "python.pythonPath": "/usr/local/bin/python",
    "python.testing.nosetestsEnabled": false,
    "python.testing.pytestArgs": [
      ".",
      "--dc=Testing"
    ],
    "python.testing.pytestEnabled": true,
    "python.testing.unittestEnabled": false,
    "terminal.integrated.shell.linux": "/bin/zsh"
  },
  "workspaceFolder": "/app"
}
``

Just chiming in again to say I don't seem to have this problem with Pylance.

Thank you for the update! Which language server were you using when the problem was occurring?

As per the OP: ms-python.

This is not a valid language server value:

It's Microsoft.

Closing since this is happening with MPLS and not with Pylance, and that our team's development efforts have shifted to support the the latter.


#17043: fix the same suggestion content being displayed on task

Describe your changes:
Fixes #17043

I worked on fixing the same suggestion content being displayed on a different task

Issue :
https://github.com/user-attachments/assets/0ef50bf0-808b-49cf-8ba4-681de8935722
Resolved :
https://github.com/user-attachments/assets/7d746633-6d45-4e2b-b255-28f2b605f070

Type of change:

[x] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@ShaileshParmar11  test added!


Feature - Implement pose estimation Posenet

Looks like some of the points may be incorrectly connected, and scaling might be off?

In case it helps, there was another PR not too long ago that the author closed due to it taking a moment to get to PR reviews that might be useful https://github.com/tensorflow/flutter-tflite/tree/pose_detection_olololoe

Looks like some of the points may be incorrectly connected, and scaling might be off?

I apologize for the mistake. I used the wrong aspect ratio when refactoring the code. I have updated the code and it now works correctly on Android, but it is still slightly incorrect on iOS. I am working on fixing it, but it may take some time. Thank you for your patience.

Cool sounds good. Thanks!

Hi Mr @PaulTR , I fixed the scale issue on Android and iOS. Can you please take a look? Thanks!

Alright looks good on iPhone, iPad, and an Android phone. Thanks Duy!


python312Packages.langsmith: 0.1.6 -> 0.1.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.langsmith is: Client library to connect to the LangSmith LLM Tracing and Evaluation Platform
meta.homepage for python312Packages.langsmith is: https://github.com/langchain-ai/langsmith-sdk
meta.changelog for python312Packages.langsmith is: https://github.com/langchain-ai/langsmith-sdk/releases/tag/v0.1.7
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.1.7 with grep in /nix/store/3bkq2xa96ldbjrqby84fc78ak1470d7x-python3.12-langsmith-0.1.7
found 0.1.7 in filename of file in /nix/store/3bkq2xa96ldbjrqby84fc78ak1470d7x-python3.12-langsmith-0.1.7

Rebuild report (if merged into master) (click to expand)

9 total rebuild path(s)

9 package rebuild(s)

First fifty rebuilds by attrpath
khoj
pentestgpt
python311Packages.langchain
python311Packages.langchain-community
python311Packages.langchain-core
python311Packages.langsmith
python312Packages.langchain-community
python312Packages.langchain-core
python312Packages.langsmith

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3bkq2xa96ldbjrqby84fc78ak1470d7x-python3.12-langsmith-0.1.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.langsmith https://github.com/r-ryantm/nixpkgs/archive/89dfacba6ba4331cb223e7854b38d9adb32a08cd.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/89dfacba6ba4331cb223e7854b38d9adb32a08cd#python312Packages.langsmith

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3bkq2xa96ldbjrqby84fc78ak1470d7x-python3.12-langsmith-0.1.7
ls -la /nix/store/3bkq2xa96ldbjrqby84fc78ak1470d7x-python3.12-langsmith-0.1.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages marked as broken and skipped:

python312Packages.langchain-community
python312Packages.langchain-core

1 package failed to build:

khoj

6 packages built:

pentestgpt
python311Packages.langchain
python311Packages.langchain-community
python311Packages.langchain-core
python311Packages.langsmith
python312Packages.langsmith

Maintainer pings
cc @natsukium for testing.

closing in favor of https://github.com/NixOS/nixpkgs/pull/290376


i can't see cartridge tilt on local

Fixed by https://github.com/qixils/mari0pository/commit/8369fde174525a1f6fca729626a569ad68e36ea1

thanks!


Feature/export all or filtered

Robot test ready

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


docs(hub/proxy-cache) clarify content-type matching

Summary
Clarify proxy-cache plugin content-type matching.

Good point, @p0pr0ck5. Looking at the preview, it indeed looks a little bit long. Thoughts @Kong/team-docs?

Good point, @p0pr0ck5. Looking at the preview, it indeed looks a little bit long. Thoughts @Kong/team-docs?

@gszr I think this is the appropriate spot for this information - it is more of a styling issue. I will address this in a separate PR

Thank you @levfishbluefish. So we are good to merge.


fix cflags when build with CASS_INSTALL_HEADER_IN_SUBDIR on

With this patch
$ pkg-config cassandra -cflags
-I/usr/include/cassandra

Sadly... CASS_INSTALL_HEADER_IN_SUBDIR is broken in 2.15.1


bl_actions.sh: add retry loops to critical operations

This is a draft pull request to serve as a possible solution to the bootloader update errors happening on the verdin modules on scarthgap. The actual issue is at the BSP level, so as a first option we want to solve it there. But, if for some reason we need a short term solution, we could use the approach introduced here which basically performs some retries on critical operations (particularly the operation of switching the boot partition).
For details, see the commit message.

I'm dropping this because the issue seems to be solved at its root on BSP 7.1.0.


extensions: add the checkTypeImports option

Currently, the patterns
import type { Foo } from './foo';

export type { Foo } from './foo';

are ignored by the import/extensions rule.
This adds the checkTypeImports option to that rule, so these types of imports can be checked on an opt-in basis.

Is this something that's more than purely style? At runtime, the types are erased, so does it matter what extensions are in the specifier?

If you author a library, it is vital. If your types are missing the file extension (or have a .ts instead of a .js extension), consumers with the tsconfig setting  moduleResolution: "node16" will not be able to use your library.

That seems like a flaw in TS's moduleResolution then - it's not reasonable to expect your entire dep graph to update its specifier style just to make types work.

Honestly: can we please not have this discussion about something we cannot change? In the end, import type is something the TS team invented, and this is how they decided it should work.
This is behaviour of TypeScript at least from version 4.7 to 5.2, and even if TypeScript would suddenly change their mind, as library authors we need to write code that works with these TypeScript versions, too.
As you can see here, a library omitting the extension in their types will end up with an "Internal resolution error (2)" if consumed in ESM mode. here you can see that we fixed it. This is the PR that we did for that, and we would like to use this ESLint plugin to make sure that we keep our code compliant - isn't that pretty much the purpose of this plugin?

That seems reasonable, but it's still worth pursuing a fix in TS so that the lint rule isn't needed in the long run - have you filed an issue there?

There is ongoing discussion in many issues - I think their general argument is that it's required for all other imports to stay ESM-compatible, so it should for those, too.
There is movement to allow it together with allowImportingTsExtensions  over in https://github.com/microsoft/TypeScript/pull/54746, but I think it's more about .ts instead of .js, not about no extension at all. There is a lot of context in this gist by Andrew Branch, and I'm very sure they thought about that twice.
Keep in mind, this is not about CJS packages being consumed by ESM, but about how the types of ESM packages consumed by ESM should look like, so they are striving for some kind of new standard here either way and "old ecusystem" won't be too affected by it, since that never shipped ESM in the first place.

🤷♂ Please don't shoot the messenger. 😕

Looking at those "opposite" tests, this will need to have #2813 merged in first so I can use ruleTesterWithTypeScriptImports in the tests - right now it does not resolve extensions correctly for .ts, so the { ts: 'always', tsx: 'always', js: 'always', jsx: 'always', checkTypeImports: true } line pretty much boils down to { checkTypeImports: true } for imports without extension.
I'll wait for that other PR and then rework the test for this one to include the correct parser.

The ruleTesterWithTypeScriptImports part is pretty simple; I think you can pull that into this PR. If you leave it in a separate commit I can preserve authorship.

I've added the comment to the doc you requested and some additional tests with ruleTesterWithTypeScriptImports.
As for code ownership - honestly, I don't care much about that, I have too many open PRs. Feel free to just edit away in this :)

Seems like the CI errors are unrelated to this PR.

Hi, any update about this?

The checkTypeImports option is a great idea. It ensures that type imports get the same extension checks as regular imports, which is super useful for keeping code consistent and clean, especially in TypeScript projects with strict settings.


Can't use a custom Pothos plugin - "Failed to extract schema: No plugin named myPlugin was registered"

Here's a minimal repro: https://github.com/dallonf/sst-pothos-plugin-repro
It includes a straightforward custom Pothos plugin that doesn't actually do anything visible.
When running with npm run dev, I get this error:

✖  Pothos: Failed to extract schema:
No plugin named myPlugin was registered

And looking at the generated out.mjs file, it indeed is missing the plugin registration, only including the constant name itself:
var pluginName = "myPlugin";
// packages/functions/src/graphql/builder.ts
import SchemaBuilder2 from "@pothos/core";

// packages/functions/src/graphql/MyPlugin/index.ts

var MyPlugin_default = pluginName;
// packages/functions/src/graphql/builder.ts
var builder = new SchemaBuilder2({
  plugins: [MyPlugin_default]
});

I would expect to be able to write custom Pothos plugins in an SST project!

Not sure when we'll get to this because of Ion but happy to review PRs for it.

Out of curiosity, does this issue not exist in Ion?

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Socket

There's any possible that I connect via socket?

Bump.

I think the feature is worked in 2.1.2 version. Could you check if everything works?
@macOneOone @DanielRuf


Missing info icon

From commit f89613214474c380658cd786f4e0c39f0cd7527d the info icon (at the right of the indicator title) doesn’t show up in /indicators/[id] (although it's in the DOM); it's working in /indicators/[id]/[year].

Probably unrelated but something that can be fixed in the same PR, there is now a vertical offset pushing the layout down:


Migrations: Possibility for supporting Index renames with SQL CE

As per the discussion here (for EF6): https://entityframework.codeplex.com/workitem/2442  - would it be possible to support Drop/Create - my question here is: How do I get the Create operation created with the proper columns @bricelam ?

You would lookup the index in the model that gets passed to the generate method. It's primarily there for rebuilds like this.

There are already a few helper methods for looking up entities/properties based on table/column names. The logic would be similar.

Thanks, Brice. Where would I find those helper methods?

RelationalMigrationsSqlGenerator, GetEntity and GetProperty ...or something like that. :smile:

Thanks :smile:


Mount failed: /dev/drbd1000 already mounted on

Hey,
for backup purposes i want to mount a PVC in a second pod as read only.
This mount failes with the following error:
Events:
  Type     Reason       Age                 From                     Message
  ----     ------       ----                ----                     -------
  Normal   Scheduled    <unknown>           default-scheduler        Successfully assigned default/wordpress-mysql-backup-76b44f7777-jdnkq to bastel-cluster
  Warning  FailedMount  3m4s (x4 over 12m)  kubelet, bastel-cluster  Unable to attach or mount volumes: unmounted volumes=[mysql-persistent-storage], unattached volumes=[mysql-persistent-storage default-token-ddnbk]: timed out waiting for the condition
  Warning  FailedMount  54s (x8 over 14m)   kubelet, bastel-cluster  MountVolume.SetUp failed for volume "pvc-1e2c764e-5af5-48b7-9a91-9d028244f537" : kubernetes.io/csi: mounter.SetupAt failed: rpc error: code = Internal desc = NodePublishVolume failed for pvc-1e2c764e-5af5-48b7-9a91-9d028244f537: mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t ext4 -o ro,,defaults /dev/drbd1000 /var/lib/kubelet/pods/05416e83-0c6d-418e-a5c1-79034eaaf06c/volumes/kubernetes.io~csi/pvc-1e2c764e-5af5-48b7-9a91-9d028244f537/mount
Output: mount: /var/lib/kubelet/pods/05416e83-0c6d-418e-a5c1-79034eaaf06c/volumes/kubernetes.io~csi/pvc-1e2c764e-5af5-48b7-9a91-9d028244f537/mount: /dev/drbd1000 already mounted on /var/lib/kubelet/pods/3bbdbd7c-08e7-4b36-90fe-9cd470f01e2b/volumes/kubernetes.io~csi/pvc-1e2c764e-5af5-48b7-9a91-9d028244f537/mount.
  Warning  FailedMount  47s (x2 over 5m18s)  kubelet, bastel-cluster  Unable to attach or mount volumes: unmounted volumes=[mysql-persistent-storage], unattached volumes=[default-token-ddnbk mysql-persistent-storage]: timed out waiting for the condition

The deployments for reference:
apiVersion: v1
kind: Service
metadata:
  name: wordpress-mysql
  labels:
    app: wordpress
spec:
  ports:
    - port: 3306
  selector:
    app: wordpress
    tier: mysql
  clusterIP: None
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: mysql-pv-claim
  labels:
    app: wordpress
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 20Gi
---
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: wordpress-mysql
  labels:
    app: wordpress
spec:
  selector:
    matchLabels:
      app: wordpress
      tier: mysql
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: wordpress
        tier: mysql
    spec:
      containers:
      - image: mysql:5.6
        name: mysql
        env:
        - name: MYSQL_ROOT_PASSWORD
          value: MYSQLROOTPW12345678
        ports:
        - containerPort: 3306
          name: mysql
        volumeMounts:
        - name: mysql-persistent-storage
          mountPath: /var/lib/mysql
      volumes:
      - name: mysql-persistent-storage
        persistentVolumeClaim:
          claimName: mysql-pv-claim
---
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: wordpress-mysql-backup
  labels:
    app: wordpress-backup
spec:
  selector:
    matchLabels:
      app: wordpress-backup
      tier: mysql
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: wordpress-backup
        tier: mysql
    spec:
      containers:
      - image: busybox
        command:
        - sleep
        - "3600"
        name: busybox
        volumeMounts:
        - name: mysql-persistent-storage
          mountPath: /data
      volumes:
      - name: mysql-persistent-storage
        persistentVolumeClaim:
          claimName: mysql-pv-claim
          readOnly: true

I am running a linstor-csi image that i build directly from master.

You can not do that with DRBD. With DRBD9 you can have:

arbitrary number of nodes that open the device RO. The resource is Secondary on all nodes.
one node that has it open as Primary RW. No readers allowed! Which perfectly makes sense when you think about how DRBD works.

As the device is mounted (RW), you have a Primary, and can not have a RO Secondary.


SSH Host File - Grouping several servers

Hello,
I have several ssh hosts in the related config file. I would like to be able to groups them.
I have 3 ssh host per application (I have severals) I manage (D, UAT, P) for the time being they are listed one after the other in the same order as they are defined in the config file. Likewise, I put in the Host the server name, the acronym of the app, and it related environment (e.g. srv1-appn-d, srv2-appn-a and svr3-appn-p).
And so on for each of my apps.
I know it is purely visual, but it would be great to have a way to group them.
Group APPN
Host srv1-d
HostName yyyy
User xxxx
IdentityFile zzzz
Host srv2-a
HostName yyyy
User xxxx
IdentityFile zzzz
Host srv3-p
HostName yyyy
User xxxx
IdentityFile zzzz
Group APPN2
Host srv1-d
HostName yyyy
User xxxx
IdentityFile zzzz
Host srv2-a
HostName yyyy
User xxxx
IdentityFile zzzz
Host srv3-p
HostName yyyy
User xxxx
IdentityFile zzzz
So in the remote explorer we will have, under the SSH, collapsible group making it more readable.
Thank you

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


'Too many connections' error is not properly handled

I try to open a fixed number of connections to MySQL and got a weird exception:
Call to a member function emit() on null

I start to debug code and find out that if we got 'Too many connections' error from MySQL we got NULL here here https://github.com/friends-of-reactphp/mysql/blob/master/src/Io/Parser.php#L281

@freedemster Thank you for spotting and reporting!
I can confirm that creating an excessive number this connections does indeed raise this error.
Does anybody feel like picking this up and filing a PR? :+1:

I've just filed #83 to fix this bug :+1:
For the reference, here's the script I've used to reproduce the "Too many connections" error:
$loop = React\EventLoop\Factory::create();
$factory = new Factory($loop);

$uri = 'test:test@localhost/test';
$n = isset($argv[1]) ? (int)$argv[1] : 200;

for ($i = 0; $i < $n; ++$i) {
    //create a mysql connection for executing query
    $factory->createConnection($uri)->then(function (ConnectionInterface $connection) use ($i) {
        echo 'Connection ' . $i . ' okay' . PHP_EOL;
        // keep idle connection
    }, function (Exception $error) use ($i) {
        echo 'Connection ' . $i . ' error ' . $error->getCode() . ': ' . $error->getMessage() . PHP_EOL;
    });
}

$loop->run();

Thanks!


Survey

Please remove all IDE/editor-related files.
Repo restructured should be put in master branch in existed directory. e.g. kubernetes/prometheus/....


Unit / Integration test with Dero

This framework looks like there is a lot of batteries already included, but I didn't saw any way for testing this framework,
How can I unit or integrate test with this framework?

Thanks for creating issue. I think superdeno is a great library for testing the Rest API. below example with Dero.
import { BaseController, Controller, Dero, Get } from<EMAIL_ADDRESS>import { superdeno } from<EMAIL_ADDRESS>
@Controller("/user")
class UserController extends BaseController {
  @Get()
  getUser() {
    return "Hello";
  }
}

class Application extends Dero {
  constructor() {
    super();
    this.use({ class: [UserController] });
  }
}

const app = new Application();
const handle = (request: Request) => app.handleEvent({ request });

Deno.test("Test App", async () => {
  await superdeno(handle)
    .get("/user")
    .expect("Hello");
});

Run :
deno test -A app_test.ts


sum formula error CHEBI:83893

http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:83893
missing leading 'C' from sum formula

Thanks for bringing our attention, its fixed now.


Unable to control new Tapo P100 Plug with new Firmware

Hi, I've been dumb and upgraded my brand new plugs with the latest Firmware right after I had Pair/Setup it with the Tapo App.
I've been successfully added the plug manually on HomeBridge but can't control it.
(I could tap on the accessory in HomeKit and HomeBridge, but the plug will not turn on)
I've compared the opened ports on the new plug and old plug
New Plug (Version: 1.3.6 Build 20210827 Rel.37578):
67/udp
68/udp
54383/udp
80/tcp
Old Plug (Version: 1.3.4 Build 20200925 Rel.33922):
67/udp
68/udp
9999/udp
9999/tcp
My HomeBridge Info:
Homebridge  v1.4.0
homebridge-tapo  v1.4.17
Node.js  v12.22.10
Npm 版本  v6.14.16
Please let me know is there anything I can help.

Same here for v1.1.0 Build 220720 rel. 163239 :(

Please try the beta 1.5.0-beta3, it should fix the issues with the new Firmware for all supported devices.

Hello, where do I find betas ? I can’t find even when Googling 😢

Please try the latest Version 1.5.1

Please try the latest Version 1.5.1

I can confirm it worked. I actually had it on an older firmware which was compatible with the tool.
But then I switched router and had to reset the plug and I forgot to disable auto updates.


Add support for dynamic table size changes to HPACK Encoder.

This is a first pass, and based on:

https://tools.ietf.org/html/rfc7541#section-4.2
https://lists.w3.org/Archives/Public/ietf-http-wg/2015OctDec/0088.html
https://chromium.googlesource.com/chromium/src/+/master/net/spdy/hpack/hpack_encoder.cc

As it turns out, I had some trouble testing this in practice. nginx for example doesn't expose an option to change the default value.

LGTM
Looks legit. I had some ideas on some simplifications to clearDynamicTable() but nothing worth blocking the merge. If you wanna do another PR, please do!

Alright, I was going to see if I can remove some of the duplication between the encoder and decoder and I'll attempt to address your comments above.


Vite says "could not fast refresh" when a stories file has a Decorator.

Describe the bug
Hello, thanks for developing Ladle! It's been great integrating it into my project.
When I add a decorator to a Stories file by following the documentation, vite prints out an error:
[vite] hmr invalidate<EMAIL_ADDRESS>Could not Fast Refresh. Learn more at https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#consistent-components-exports

After reading the linked Vite documentation, it seems like this is because adding a decorator involves adding a non-React component as an export. Is there another API for adding a decorator for a specific story file that doesn't require exporting a non-React component from the file? I would like to take advantage of both decorators and HMR.
Reproduction

Go to this StackBlitz link.
Try editing the Hello story on line 10 of basic.stores.tsx, and saving the file.
See the [vite] hmr invalidate error in the terminal window.

Environment

"@ladle/react": "^2.9.0",

This is a limitation of fast refresh - it might be possible to fork that library and make some exceptions for these story exports but not simple.
Workaround 1:
Hello.decorators = [
  (Component) => (
    <div style={{ margin: '3em', border: '1px solid black' }}>
      <Component />
    </div>
  ),
];

This way you don't need non-React exports.
Workaround 2:
As long as you don't edit the story file itself (the component logic is in a different module/file), fast refresh still works.


Adding electrodes tsv regexp for EEG

This PR adds the electrode.tsv regexp for EEG which was missing at several points. It was simply forgotten.
Furthermore, I remove a headshape.pos regexp from iEEG, because such a file is not part of the iEEG specification and this was most likely a copy/paste error. Please review @choldgraf
EDIT: I just noticed that we do have a headshape.<manufacturer_specific_extension> as an optional session specific file in the EEG BEP. --> One question about that: why is it .pos in the BIDS-validator also for MEG? Is that the most common <manufacturer_specific_extension>?

Lets hold off merging this until https://github.com/INCF/bids-validator/pull/546 is done. Then we will be able to put the regexps into https://github.com/INCF/bids-validator-common

Please hold off. We are refactoring how the regular expressions are stored so this change will have to be made in a slightly different location.

regarding the question I posed with the EDIT, see #564

@chrisfilo #546 seems to be done - where should the work for this PR continue?

You could push new commits to this PR or open a new one - what ever is more convenient.

You could push new commits to this PR or open a new one - what ever is more convenient.

Alright, this should be fine now :-)

Thanks!


doc: remove escape SQL references from javadoc

commons-lang 2.x contained some stuff to escape SQL which were removed with 3.0. However some small chunk of documentation was forgotten.

Coverage remained the same at 95.163% when pulling 93812bb59a3b82a853f4fc8291ed5aea84ff74f4 on mvitz:remove-sql-escape-doc into c1ffdbab58712cca8463b3edc88f9d5a09b0ca9c on apache:master.


libglew-dev for Ubuntu 16.04 Xenial Xerus

In order to install GLEW library on Ubuntu 16.04 Xenial Xerus with rosdep, the libglew-dev section in https://github.com/ros/rosdistro/blob/master/rosdep/base.yaml should be updated to:
libglew-dev:
  arch: [glew]
  debian: [libglew-dev]
  fedora: [glew-devel]
  gentoo:
    portage:
      packages: [media-libs/glew]
  ubuntu:
    oneiric: [libglew1.5-dev]
    precise: [libglew1.6-dev]
    quantal: [libglew-dev]
    raring: [libglew-dev]
    saucy: [libglew-dev]
    trusty: [libglew-dev]
    utopic: [libglew-dev]
    vivid: [libglew-dev]
    xenial: [libglew-dev]

reference: https://launchpad.net/ubuntu/xenial/+package/libglew-dev

Sounds reasonable. Please open a pull request if you can.

@wjwwood Ok. I'll do it later today.

@Yelen719 I'm going to close this. If you have time for the PR that would be great.


hipErrorNoBinaryForGpu

I have an RX 6700 XT and I am on Manjaro OS
I am attempting to get this fork working for Stable Diffusion Dreambooth extension for 8bit adam
Some users said they used this fork to get it working
But I do not think it works for me atm.
I am looking for help.
make CUDA_VERSION=gfx1030 hip results in the following

which: no nvcc in (/home/theiceleopard/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) /opt/rocm/bin/hipcc -std=c++14 -c -fPIC --amdgpu-target=gfx1030 -I /home/theiceleopard/temp/bitsandbytes-rocm/csrc -I /home/theiceleopard/temp/bitsandbytes-rocm/include  -o /home/theiceleopard/temp/bitsandbytes-rocm/build/ops.o -D NO_CUBLASLT /home/theiceleopard/temp/bitsandbytes-rocm/csrc/ops.cu Warning: The --amdgpu-target option has been deprecated and will be removed in the future.  Use --offload-arch instead. /opt/rocm/bin/hipcc -std=c++14 -c -fPIC --amdgpu-target=gfx1030 -I /home/theiceleopard/temp/bitsandbytes-rocm/csrc -I /home/theiceleopard/temp/bitsandbytes-rocm/include  -o /home/theiceleopard/temp/bitsandbytes-rocm/build/kernels.o -D NO_CUBLASLT /home/theiceleopard/temp/bitsandbytes-rocm/csrc/kernels.cu Warning: The --amdgpu-target option has been deprecated and will be removed in the future.  Use --offload-arch instead. /home/theiceleopard/temp/bitsandbytes-rocm/csrc/kernels.cu:2461:17: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning] __global__ void kspmm_coo_very_sparse_naive(int *max_count, int *max_idx, int *offset_rowidx, int *rowidx, int *colidx, half *values, T *B, half *out, float * __restrict__ const dequant_stats, int nnz, int rowsA, int rowsB, int colsB)                 ^ /home/theiceleopard/temp/bitsandbytes-rocm/csrc/kernels.cu:2461:17: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning] /home/theiceleopard/temp/bitsandbytes-rocm/csrc/kernels.cu:2461:17: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning] /home/theiceleopard/temp/bitsandbytes-rocm/csrc/kernels.cu:2461:17: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning] /home/theiceleopard/temp/bitsandbytes-rocm/csrc/kernels.cu:2461:17: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning] /home/theiceleopard/temp/bitsandbytes-rocm/csrc/kernels.cu:2461:17: warning: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Wpass-failed=transform-warning] 6 warnings generated when compiling for gfx1030.  /usr/bin/hipcc -fPIC -static /home/theiceleopard/temp/bitsandbytes-rocm/build/ops.o /home/theiceleopard/temp/bitsandbytes-rocm/build/kernels.o -o /home/theiceleopard/temp/bitsandbytes-rocm/build/link.so  /usr/bin/g++ -std=c++14 -D__HIP_PLATFORM_AMD__ -DBUILD_CUDA -shared -fPIC -I /opt/rocm/include -I /home/theiceleopard/temp/bitsandbytes-rocm/csrc -I /home/theiceleopard/temp/bitsandbytes-rocm/include  /home/theiceleopard/temp/bitsandbytes-rocm/build/ops.o /home/theiceleopard/temp/bitsandbytes-rocm/build/kernels.o /home/theiceleopard/temp/bitsandbytes-rocm/csrc/common.cpp /home/theiceleopard/temp/bitsandbytes-rocm/csrc/cpu_ops.cpp /home/theiceleopard/temp/bitsandbytes-rocm/csrc/pythonInterface.c -L/opt/rocm-5.3.0/lib -L/opt/rocm-5.3.0/llvm/bin/../lib/clang/15.0.0/lib/linux -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/lib -L/usr/lib -lgcc_s -lgcc -lpthread -lm -lrt -lamdhip64 -lhipblas -lhipsparse -lclang_rt.builtins-x86_64 -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc -o ./bitsandbytes/libbitsandbytes_hip_nocublaslt.so

sudo CUDA_VERSION=gfx1030 python setup.py install results in the following

`libs: ['libbitsandbytes_hip_nocublaslt.so']
running install
/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
writing bitsandbytes.egg-info/PKG-INFO
writing dependency_links to bitsandbytes.egg-info/dependency_links.txt
writing entry points to bitsandbytes.egg-info/entry_points.txt
writing top-level names to bitsandbytes.egg-info/top_level.txt
reading manifest file 'bitsandbytes.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'NOTICE.md'
writing manifest file 'bitsandbytes.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying bitsandbytes/libbitsandbytes_hip_nocublaslt.so -> build/lib/bitsandbytes
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/bitsandbytes
copying build/lib/bitsandbytes/init.py -> build/bdist.linux-x86_64/egg/bitsandbytes
copying build/lib/bitsandbytes/libbitsandbytes_hip_nocublaslt.so -> build/bdist.linux-x86_64/egg/bitsandbytes
copying build/lib/bitsandbytes/utils.py -> build/bdist.linux-x86_64/egg/bitsandbytes
copying build/lib/bitsandbytes/functional.py -> build/bdist.linux-x86_64/egg/bitsandbytes
creating build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/sgd.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/init.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/optimizer.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/adagrad.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/adamw.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/rmsprop.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/lars.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/lamb.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/optim/adam.py -> build/bdist.linux-x86_64/egg/bitsandbytes/optim
copying build/lib/bitsandbytes/cextension.py -> build/bdist.linux-x86_64/egg/bitsandbytes
creating build/bdist.linux-x86_64/egg/bitsandbytes/autograd
copying build/lib/bitsandbytes/autograd/init.py -> build/bdist.linux-x86_64/egg/bitsandbytes/autograd
copying build/lib/bitsandbytes/autograd/_functions.py -> build/bdist.linux-x86_64/egg/bitsandbytes/autograd
copying build/lib/bitsandbytes/debug_cli.py -> build/bdist.linux-x86_64/egg/bitsandbytes
creating build/bdist.linux-x86_64/egg/bitsandbytes/nn
copying build/lib/bitsandbytes/nn/init.py -> build/bdist.linux-x86_64/egg/bitsandbytes/nn
copying build/lib/bitsandbytes/nn/modules.py -> build/bdist.linux-x86_64/egg/bitsandbytes/nn
copying build/lib/bitsandbytes/main.py -> build/bdist.linux-x86_64/egg/bitsandbytes
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/utils.py to utils.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/functional.py to functional.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/sgd.py to sgd.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/optimizer.py to optimizer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/adagrad.py to adagrad.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/adamw.py to adamw.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/rmsprop.py to rmsprop.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/lars.py to lars.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/lamb.py to lamb.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/optim/adam.py to adam.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/cextension.py to cextension.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/autograd/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/autograd/_functions.py to _functions.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/debug_cli.py to debug_cli.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/nn/init.py to init.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/nn/modules.py to modules.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/bitsandbytes/main.py to main.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bitsandbytes.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
bitsandbytes.pycache.cextension.cpython-310: module references file
creating 'dist/bitsandbytes-0.35.4-py3.10.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing bitsandbytes-0.35.4-py3.10.egg
removing '/usr/lib/python3.10/site-packages/bitsandbytes-0.35.4-py3.10.egg' (and everything under it)
creating /usr/lib/python3.10/site-packages/bitsandbytes-0.35.4-py3.10.egg
Extracting bitsandbytes-0.35.4-py3.10.egg to /usr/lib/python3.10/site-packages
bitsandbytes 0.35.4 is already the active version in easy-install.pth
Installing debug_cuda script to /usr/bin
Installed /usr/lib/python3.10/site-packages/bitsandbytes-0.35.4-py3.10.egg
Processing dependencies for bitsandbytes==0.35.4
Finished processing dependencies for bitsandbytes==0.35.4`

python -m bitsandbytes results in the following in a different terminal right after "python install"

/home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('//debuginfod.archlinux.org'), PosixPath('https')}   warn( /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/etc/gtk-2.0/gtkrc')}   warn( /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/home/theiceleopard/.gtkrc'), PosixPath('/etc/gtk/gtkrc')}   warn( /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/Sessions/1')}   warn( /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/Windows/1')}   warn( /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('@/tmp/.ICE-unix/1114,unix/StormyGamingRig'), PosixPath('local/StormyGamingRig')}   warn( /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/org/freedesktop/DisplayManager/Seat0')}   warn( /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/org/freedesktop/DisplayManager/Session1')}   warn( CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64... /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/paths.py:27: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/usr/local/cuda/lib64')}   warn( WARNING: No libcudart.so found! Install CUDA or the cudatoolkit package (anaconda)! CUDA SETUP: Loading binary /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so... /home/theiceleopard/.local/lib/python3.10/site-packages/bitsandbytes/cextension.py:48: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers and GPU quantization are unavailable.   warn( "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!" zsh: IOT instruction (core dumped)  python -m bitsandbytes

But in the same terminal after python install

"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!" zsh: IOT instruction (core dumped)  python -m bitsandbytes

Hello, not sure if it'll resolve your issue, but I had a similar problem and my workaround was to use
export HSA_OVERRIDE_GFX_VERSION=10.3.0
after which I appear to be able to train using dreambooth in a1111. The last command of python -m bitsandbytes still throws an error, but different from what you're seeing - it gives me this instead
RuntimeError:          CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs aboveto fix your environment!         If you cannot find any issues and suspect a bug, please open an issue with detals about your environment:         https://github.com/TimDettmers/bitsandbytes/issues


automatically mark a healthsite as a potential synonym

as an administrator I expect the system to find healthsites that are potential synonyms and mark them as such
potential rules:
matching mandatory attributes
similar mandatory attributes
matching mandatory attributes

uuid
date-modified
name
geom
source

https://github.com/healthsites/healthsites/wiki/Healthsite-attributes
Example location
https://healthsites.io/map#!/locality/a270e62408e94cb2aaed0d5ffa32518a
As an administrator I need to see a list of potential synonyms so that I can manually establish a master.

Also match spatial properties

Note that spatial overlap is not necessarily an indicator of duplication

currently we are using docker osm
which is will be reviewed by community for duplication
but we already has duplication system, so masterization is not needed


add VietNamese translation

add VietNamese translation

@chihung93 Unfortunately I am not allowed to merge your PR until you signed the CLA 😢
I would appreciate, if you take 3 minutes, to fill out the form.

@heinrichreimer: Done. Thanks for reminding me.


re-opening #2 as the loqui-translations repository is archived

as stated in #2 te method to get translations was the automatically collected repository. but as that repository is archived how do you query a list of mods with translations

You cant at the minute, it is planned though.


Fail to load video features

Thanks for sharing the code!
Following your instructions, the code fails to load video features correctly.
I created those .txt files with videoid and captionings, and used python preprocess.py -train_src data/src-train.txt -train_tgt data/tgt-train.txt -valid_src data/src-val.txt -valid_tgt data/tgt-val.txt -save_data data/msrvtt/video to prepare training data. Then, I runned python train.py -model_type video -data data/msrvtt/video -save_model data/save/model -gpuid 3 -batch_size 180 -max_grad_norm 20 -dim_vid 2048 -rnn_size 1024 -optim adam -learning_rate 0.001 -epochs 250  -dropout 0.5 -global_attention mlp -encoder_type brnn. But, it fails to access to stored video features, and only return a 1x180x1 video feature.
Do I need to any modifications based your code? or I did not prepare data correctly.
Thanks

I have solved the above problem. But the generated train.pt is pretty large. Previously, for each caption, I added a line in the src-train.txt. It means that there will be 20 lines for each video, which enlarges the train.pt file. Could I put all captionings of each video together using one line?

I meet the same problem with @YapengTian ,Could you tell us how to solve it?
Have you @YapengTian  solved the problem?


Replace shared-script-properties with user-data

There is a new warning message on the terminal, which I find distracting.
The warn message:
The shared-script-properties property is deprecated and will be removed in the future. Use the user-data property instead.

There is a new warning message on the terminal, which I find distracting.
The warn message:
The shared-script-properties property is deprecated and will be removed in the future. Use the user-data property instead.

MPV team removed the shared-script-properties but this repo hasn't been updated which I actually find strange because @dyphire is a contributor in this repository.

MPV team removed the shared-script-properties but this repo hasn't been updated which I actually find strange because @dyphire is a contributor in this repository, I hope they update it soon.

It should be pointed out that mpv has not yet deleted this attribute and only issued a warning of deprecation. mpv is expected to officially remove this attribute after the release of 0.37, and there will be no further warnings of deprecation at that time.
ref https://github.com/mpv-player/mpv/pull/12456. We are actually ready to delete it: #96

Adding to what @dyphire said, even when the property is actually removed, we still won't be removing support for it because file-browser officially supports versions of mpv going back to v0.31, and user-data does not exist for those versions.
This new deprecation message is annoying though. Perhaps we can add a config option to force disable shared-script-properties support.

Perhaps we can add a config option to force disable shared-script-properties support.

That would be a good solution, I think.

Thanks! The warning is gone, and my code works, but there still might be an issue.
mp.observe_property("user-data/file_browser/open", "string", function (name, value)
    if value == '"yes"' then

    end
end)

Value isn't yes as 3 character string as expected but "yes", it has 5 characters, there are double quotes before and after yes.
For me, this appears to be a mpv bug. I tried searching the mpv issue tracker for user-data AND observe_property but that gives no results.

Thanks! The warning is gone, and my code works, but there still might be an issue.
mp.observe_property("user-data/file_browser/open", "string", function (name, value)
    if value == '"yes"' then

    end
end)

value isn't yes as 3 character string as expected but "yes", it has 5 characters, there are double quotes before and after yes.
For me, this appears to be a mpv bug. I tried searching the mpv issue tracker for user-data AND observe_property but that gives no results.

I believe you need to set the type to native instead of string, the documentation says this:

Converting this property or its sub-properties to strings will give a JSON representation. If converting a leaf-level object (i.e. not a map or array) and not using raw mode, the underlying content will be given (e.g. strings will be printed directly, rather than quoted and JSON-escaped).

On another note, we should test if user-data can contain booleans, if would be better than using 'yes' 'no' strings.

I tried it, booleans work.

Ok, since the deprecation message problem is solved I am going to close this issue.
I will also be changing the user-data/file_browser/open field to use booleans instead of strings. This may break some people's profiles, but it makes the property nicer to use in auto profiles (user_data.file_browser.open vs user_data.file_browser.open == 'yes') and it better reflects the actual binary nature of the property. I figure this is also the best time to do it since this deprecation message will likely push people over to using user-data.


--nocompress still minifies JavaScript

It is inconsistent that --nocompress still compresses JavaScript.
Perhaps it should?

Hmm, fair comment.

Any progress on this?

This was fixed when #67 was merged

<3


refactor: [M3-6414, M3-6415] - MUIv5 Migration - Components > TagsInput, TagsPanel

Description 📝

Migrate/modernize TagsPanel component from JSS to tss-react (Emotion)
Modernize TagsInput since it had no styles to migrate
Use named exports instead of default
Fix BetaChip story not rendering

How to test 🧪

Check places in the app where TagsInput and TagsPanel are used
Check that the TagsInput, TagsPanel, and BetaChip story renders in Storybook

@hana-linode Let's add a Tech Stories section and changelog entry before this is merged in!


Selected Document or Folder Not Persisting During Chat Sessions

Once I select a document and start chatting with it, everything works initially. However, as I continue, the functionality does not work as expected, and I need to reselect the document repeatedly. It would be appreciated if this issue could be resolved so that once a user selects a folder or document, the chat should continue with the selected one without requiring re-selection.

Hi, thanks for trying out this plugin. Yes, this is one of the issue I'm aware. I need to use another library or build one myself to fix this. The current library not working smoothly in this scenario.
Recently was quite busy, it will take some time for me to get back on this.


Add curated-transformers.PyTorchCheckpointLoader.v1

This loader deserializes a model (with HF parameter naming) from a local PyTorch checkpoint file.

Fixed the merge conflict.


Convert classrooms and users to csv

Creates csv file of users and classrooms views and download it on client side .
@tarunsinghal92 please let know what other data values need to included in the csv file for both users and classroom.
current data columns for user - name , language  , role
current data columns for classroom - name , student count

Not sure we need that.
We're planning to do new features to import/export classroom/users from CSV files.

@llaske yes I am planning to add this feature , but first I have added the export feature but wanted some remarks what changes can be done so that I could work further on it .

It'll not fetch all the classrooms due to pagination
Yes you are right . We need to incorporate this feature using backend , frontend method like this will not work here because of pagination


Mobile Support

I've recently been experimenting with this on mobile platforms. Namely, MAUI and Avalonia on iOS. I've successfully been able to send a wallet connection request to a wallet, but very often, the connection will fail or the target wallet won't redirect back to my application. Trust Wallet also gives me an error like WalletConnect Session was disconnected. Go back to your browser and try WalletConnect again
For reference, I've written something like this in an AvaloniaUI app, and did something similar for MAUI:
    private async Task<SessionStruct?> OpenWallet(ConnectedData connection, bool useRainbow)
    {
        string schema = "https://";

        if (useRainbow)
        {
            schema += "rnbwapp.com";
        }
        else
        {
            schema += "link.trustwallet.com";
        }

        var urlString = schema + "/wc?uri=" + connection.Uri;
        var nsUrl     = new NSUrl(urlString);
        await UIApplication.SharedApplication.OpenUrlAsync(nsUrl, new UIApplicationOpenUrlOptions());
        return await connection.Approval;
    }

Interestingly, using the web3modal javascript package within a Blazor Web View does work as expected (most of the time).
I'm trying to work toward a solution that doesn't rely on a webview, though.
Has anyone else done work on this or have any ideas?

this is related to deep linking to a wallet which this library doesn't currently support, but we plan on adding support (unity already has this)


GLFW_TRANSPARENT_FRAMEBUFFER makes everything transparent

I was looking for this feature to use in a very specific situation: overlapping a glfw window on top of another window and blend the contents of the gl window with the background. Noticed that GLFW_TRANSPARENT_FRAMEBUFFER was merged into master a few months ago and checked out on 23/3/2018 by 6pm GMT - don't know the exact commit.
Ran the gears exaxmple as i saw in issue #197 where @thomthom shows it working. I'm using Windows 10, NVidia GTX 1050 Ti and VS 2017.

I tested the master branch on a MacOS High Sierra with a AMD Radeon HD 6750M and is working fine (after setting decorations off).

In another Windows machine, with a Quadro M2000M it works almost fine, but the front face of the green gear doesn't show up, but the rest of the gears are fine.

I have some experience working with window transparency in windows so i thought i'd look into this a bit as a small sideproject. :) (I kinda want this for a project i am thinking of) As it currently stands is the window totally transparent for me personally. (Only tested on Windows 10 (version 1709, build 16299.309) I know that microsoft changed some stuff with the WS_EX_LAYERED style in the creators update, which might be the culprit here, but i'm not certain personally.
So from some simple experimentation does it seem like the "fix" for the trailing issue seems to not be working anymore. Changing the SetLayeredWindowAttributes to use LWA_ALPHA instead of LWA_COLORKEY seems to at least make stuff render for me, but it seems to have the trailing issue that was described in the comments. I tried setting the alpha to 254 (so that it is a tiny tad transparent) which seems to fix the trailing issue, but this is ofc not perfect. (At least it fixed it for me :) ) That being said though, i could not see any transparency, but still a sub-par solution. (I assume that this is because it tells dwm to apply the transparency and therefore repaints the window, much like the old hack worked)
That being said, i don't really know how one would properly fix this. Transparency in windows is not simple in any way, especially if you want it to be hardware accelerated. (Normal way is to draw everything to an hdc and then update it manually, but this is also sub-par sadly. I thought i should mention it in case someone comes across this that doesn't know a lot about winapi :) )
I have attached a path for the "fix" that i found, which i could barely call a fix, but it is something. This was more a fun adventure exploring a code base that is totally unfamiliar for me while wanting to know more about glfw, so if this isn't that helpful at all then don't mind me. 3.3 is looking great, so keep up the good work! :)
(Seems that github does not support .patch files, so i put it in a zip file...)
Transparency fix.zip

@TheAzack9  your method works for me, thank you

Hey; is there a reason this patch wasn't applied yet to glfw? @TheAzack9

Update: I can confirm, that @TheAzack9 patch is fixing it. :)

@TheAzack9 Can you create a PR for your patch?

Sure thing. I honestly forgot about this issue due to it being so long since i fixed it 😅
Gimmie a sec and i'll make a PR identical to @christianparpart's to sign that CLA i guess 🤔

Ok, thanks, didn't expect such a quick reaction :D.
Do you mean with "no longer relevant" that this issue is fixed or that the patch is no longer applicable?

I sadly don't know if it is fixed properly. From what i saw it seemed to be included now, but i haven't been using GLFW for a long time now and i don't really have the time to go verify it 😅

penis


Retrieve Service Bus Queue length

When I run the following code on a Service Bus queue, an empty queue gives "c = 15". If I add 3 messages using the same SDK, I get "c=18".
a = ServiceBusService(blah) b=a.get_queue(qName) c=b.message_count

Closing this issue. Please reopen this issue if you still have problems.


(FACT-3134) Add facter 3.x support for EuroLinux

Hi,
This PR should allows a proper identification for EuroLinux distribution:
Diff of the facter os on EuroLinux 8.6
--- /home/Alex/old_facter_output	2022-07-01 09:42:16.567169464 +0200
+++ /home/Alex/new_facter_output	2022-07-01 09:43:32.542491832 +0200
@@ -13,7 +13,7 @@
   },
   family => "RedHat",
   hardware => "x86_64",
-  name => "RedHat",
+  name => "EuroLinux",
   release => {
     full => "8.6",
     major => "8",

Best,
Alex

Can one of the admins verify this patch?

Hi @AlexBaranowski  thank you for your contribution! But Facter 3 (which is part of the Puppet 6 platform) will be EOL on February 28, 2023 and we don't have plans for releases between then and now. Could you redo this fix for Facter 4 (main branch)?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @AlexBaranowski thanks for you contribution, but as mentioned earlier 3.x is EOL. I'm going to close your PR, but feel free to submit a new one against the main branch of facter.


Add new ignores beacuse of 0.7.0 version

Hi,
I have added a couple of ignores because of upgrading revapi to 0.7.0 version.
Thanks,
Marian

@psiroky feel free to merge now.

jenkins retest this


Adds docs for delete commit.

Note the diff is much bigger than the changes are because I wrapped long lines while editing.
All the new stuff is at the bottom, save for a few minor type fixes.

Thanks @jdoliner. I'm reviewing this now, and I'm going to probably push some changes directly to this branch.

@jdoliner ok, revised these such that the deleting data and adding data docs are separate. I also went ahead and added in a section about adding data via the dashboard.

Looks like some linting errors here @jdoliner:
$ make lint
./src/server/pkg/backoff/example_test.go:32:6: should omit values from range; this loop is equivalent to `for range ...`
golint errors!


feat: remove organization support [EP-2371]

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


UR Dashboard Control Paused Robot Running State

Affected ROS2 Driver version(s)
2.4.8
Used ROS distribution.
Humble
Which combination of platform is the ROS driver running on.
Ubuntu Linux with standard kernel
How is the UR ROS2 Driver installed.
Build both the ROS driver and UR Client Library from source
Which robot platform is the driver connected to.
UR E-series robot, URSim in docker
Robot SW / URSim version(s)
latest
How is the ROS driver used.
Through the robot teach pendant using External Control URCap
Issue details
Summary
/io_and_status_controller/robot_program_running showing true when program is Paused
Issue details
Ran URsim using ROS URcap file when UR program is paused, topic /io_and_status_controller/robot_program_running is still showing true; If the program is somehow paused, should the robot programming running show a status of false? If not I would recommend using a tri-state message to capture this.
Steps to Reproduce
This can be reproduced using UR real robot and URsim docker
Expected Behavior
I would expect this message to be false when the robot is paused; Otherwise this should be a tristate message to better reflect its state for ROS remote control user.
Actual Behavior
/io_and_status_controller/robot_program_running is still showing true when program is in paused mode.
Workaround Suggestion
If a workaround has been found, you are welcome to share it.
Relevant log output
No response
Accept Public visibility

[X] I agree to make this context public

Hi @zkeyg,
the /io_and_status_controller/robot_program_running topic tells you if our external control script is running, so it is slightly different from what the name would suggest and it makes sense that it stays true even when the program is paused. We will probably update the name to a more fitting one in the future.
But if you want to check if a program is running on the robot, then you can use the services /dashboard_client/program_running and /dashboard_client/program_state, which will return false when the program is paused.

Since a solution has been proposed and some time has passed,  I will close this issue.
Feel free to reopen if still relevant.


NIFI-11234: Fix RecordWriter NPE in QuerySalesforceObject

Summary
NIFI-11234
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

LGTM
Thank you for the fix @Lehel44 !
Merged into main.


ARROW-12370: [R] Bindings for power kernel

Looks good. Should we also add a test of calling it through dplyr, just to be sure/explicit? (The answer may be no.)
Should we test with other data types as well? Not that we need R tests for this, but just to confirm that the C++ implementation is doing what it should with types other than float64?

sure ! adding now

this

the only part I don't understand is a dplyr test here


improvementSkip auto analyze empty table. (#43865)

backport: https://github.com/apache/doris/pull/43865

run buildall

run p0


Remove unreasonable assertion for OpTypeImage Sampled parameter.

OpTypeImage Sampled parameter must be one of the following values:
0 indicates this is only known at run time, not at compile time
1 indicates will be used with sampler
2 indicates will be used without a sampler (a storage image)

For parsing this is fair enough, but I don't think it's possible to do codegen this way though.


Feature Request: Support for drag and drop events

Hello, I am attempting to create components that are drag- and drop-able. However, this proves to be difficult without the actual on_drag_start and on_drag_end events. Will those events be implemented in the future?
So far, I have been able to accomplish a workaround solution:
Task / Problem:
Rearrange the pictures from

to

Solution:
import justpy as jp
import time
from typing import List

t = 0
elem = None

def on_mouse_enter(self, msg):
    global elem, t
    if (
        time.time() - t < 0.001
        # Dont swap if source and target element are the same
        and elem != self
    ):
        # Execute drag drop by rearranging elements in the components list: move the source element to the position of the target element
        components: List[jp.Img] = elem.a.components
        # Check if elements have the same parent, only then allow the swap
        if self in components:
            index1: int = components.index(elem)
            e: jp.Img = components.pop(index1)
            index2: int = components.index(self)
            components.insert(index2, e)
            # Without the following, the background colors do not change, so the drag and drop event would not be visible if you are using the same image - is there a better way to do this?
            for i in components:
                i.style = "background: ;"
    elem = self

def on_mouse_out(self, msg):
    global t
    # mouse_out event is fired shortly before mouse_enter of the new element, mark time
    t = time.time()

def drag_drop_test():
    wp = jp.WebPage()
    parent = jp.Div(a=wp, classes="container flex flex-wrap")
    background_colors = ["red", "green", "blue", "orange", "yellow"]
    papillons = [
        "https://i.imgur.com/0FBbeev.jpg",
        "https://i.imgur.com/I9Sgzuy.jpg",
        "https://i.imgur.com/PXtHaBk.jpg",
        "https://i.imgur.com/bKq0HtS.jpg",
        "https://i.imgur.com/tdppr9Z.jpg",
    ]
    for i in range(5):
        jp.Img(
            a=parent,
            classes=f"m-1 p-1 h-48 w-48 bg-{background_colors[i]}-600",
            draggable="true",
            src=f"{papillons[i]}",
            mouseenter=on_mouse_enter,
            mouseout=on_mouse_out,
        )
    return wp

jp.justpy(drag_drop_test)

Sideeffects: if you simply move your mouse too quickly over the images (without any actual clicks), they will get rearranged in an unpredictable order.

Yes, drag and drop will be implemented in the future. Thank you for the example.

There is initial support for drag and drop in version 0.0.9: https://justpy.io/tutorial/drag_and_drop/
Please try it and let me know how it works for you.

I tried the tutorial and encountered a problem with dropping the image on the divs of the tutorial page:
I'm using Firefox 87 and the default reaction to an image drop reaction is to open the image itself in the current tab. Going back to the tutorial page of course resets it to the initial state.
To prevent this, the default drop event reaction should be suppressed.


Implement add to queue

Currently when i click to play some searched item the pla queue gets overwritten, having an add to queue option would be nice.

We deliberately left out the idea of a queue. For simplicity.


F-Droid 0.118 apk is smaller than before

0.66 apk is 19M but 0.118 apk is 3.7M only. Is this expected? I can't install the bootstrap packages but I don't know if it's my fault.

Bootstrap error: my fault (published prerelease, but not release), please retry now. Thanks a lot for reporting.
APK shrinking: Why not, I have nothing against it.

APK shrinking: Why not, I have nothing against it.

So this is expected?

please retry now

There is no tag. Should I just disable 0.118 and wait for the next version?

So this is expected?

This isn't surprising, it's jumped from 0.66 to 0.118, might've gone smaller. The one I'm running for months now is 8MB and it works.

There is no tag.

What does this mean?

Should I just disable 0.118 and wait for the next version?

No, the APK in F-Droid is fine, the problem is somewhere else.

More specifically:

when you install 0.118.0_v0.3.1_nix from F-Droid, and run it, does it offer to bootstrap from https://nix-on-droid.unboiled.info/bootstrap-release-22.11?
when you agree, does it download and proceed to terminal or abort and produce a notification with an error?
in any case, what is the error?

Glad to hear it's resolved.


Add 5 mins extra data for non-tick trade

Coverage increased (+0.2%) to 85.342% when pulling 33ec81c54fc848bbc8533001bdb4ab0bb433afc7 on qingweibinary:qingwei/add_buffers_for_contract_data into e750ddcc58db462a9fbd283d914c62566c827eea on binary-com:master.


Bump libwally-core to 0.8.1

Replaces #33. Builds on top of #44.
The PSBT code for libwally-core was overhauled, which this PR takes into account.
Libwally-core now includes secp256k1 as a submodule, which improves audibility. This may however cause some annoyance when updating (you may need to delete CLibWally/libwally-core/src/secp256k1 and sync the submodule)

I clarified keyPath code and made it explicitly handle the input bytes as little endian.
I also bumped libwally-core to 0.8.1 which includes libsecp256 as a submodule.

I clarified keyPath code and made it explicitly handle the input bytes as little endian.
I also bumped libwally-core to 0.8.1 which includes libsecp256 as a submodule.

I also bumped the deployment target to 12.

I also bumped the deployment target to 12.


Fix issues with hashtags being linkified when at the end of a URL (li…

…ke https://github.com/TkTech/notifico/blob/master/README.md?plain=1#L12) and other places they shouldn't be.

This is not mergable as-is, because it cannot support hashtags split over multiple HTML tags which apparently Mastodon does.

OK, I will see if I can think of a different way later today.

Mastodon appears to be using several different regexes in multiple stages, but I hesitate to look to closely as it's GPL.

I don't believe Mastodon supports preserving  hrefs directly, though, which helps a lot in this regard. I'm going to revert us to the same situation (only linkifying direct URLs, mentions, and hashtags) and we can figure out how to safely preserve actual links from other servers later on.


Add support for advanced indexing.

Required for madelbrot benchmark: https://github.com/IntelPython/dpbench/blob/feature/dist/distributed/mandelbrot/mandelbrot_nums.py
See #106

The error that comes out when I try to do advanced indexing to convert an array to binary classification array is this:
y_train[y_train > 0] = 1.0

---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
/tmp/ipykernel_33143/1447231709.py in <module>
----> 1 y_train[y_train > 0] = 1.0

~/external/anaconda3/envs/aws-asdi/lib/python3.7/site-packages/nums/core/array/blockarray.py in __setitem__(self, key, value)
    360     def __setitem__(self, key, value):
    361         av: ArrayView = ArrayView.from_block_array(self)
--> 362         av[key] = value
    363
    364     @staticmethod

~/external/anaconda3/envs/aws-asdi/lib/python3.7/site-packages/nums/core/array/view.py in __setitem__(self, key, value)
    213             return self.assign((key,), value)
    214         else:
--> 215             raise Exception("setitem failed", key)
    216
    217     def assign(self, subscript: Tuple, value):

Exception: ('setitem failed', BlockArray([Block(ObjectRef(d48d33c49312269fffffffffffffffffffffffff0100000001000000))]))

A temporary fix is to convert it back to a NumPy array, do advanced indexing, and then back to NumS. The issue with that, is sometimes the block shape is modified before operations (in my case a train test split on a block partitioned array). Then a block reshape is also required
y_train_block_shape = y_train.block_shape
y_train = y_train.get()
y_train[y_train > 0] = 1
y_train = nps.array(y_train)
y_train = y_train.reshape(block_shape=y_train_block_shape)


UAT | Join a case | User name not visible

Describe the bug
My name in place of "digit-user"
To Reproduce
Steps to reproduce the behavior:

Go to 'login'
Click on '....'
Scroll down to '....'
See error

Expected behavior
The user name should be visible on the screen, after I have registered and signed in, and not 'digit-user'.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Once the user will successfully register in application then only he will able to view details/name.
While registration process user will not able to view user name.


Change Azure.Search.Documents version to 11.0.0

For preview 5, change the package / assembly version to 11.0.0. We will GA with that version instead of 1.0.0.

Done


revise a little

Fix mobile toolbox bug
Remove duoshuo completely
Fix backtop bug
As stated above, update bundle.js & styles.css using gulp

@forsigner Hello, Do you have time? I fixed some bugs. Please review this PR. Let me know if there is any question. Thank you!


How to set the enviroment variable to use the library

Hello,
I'd like to ask for clarification on how to set up the following instructions specifically.

Once you have built the library, you override your existing nuget package install by setting the AxodoxMachineLearning-Location environment variable to point to your local build.
For example C:\dev\axodox-machinelearning\Axodox.MachineLearning.Universal for an UWP app and C:\dev\axodox-machinelearning\Axodox.MachineLearning.Desktop for a desktop app.
Then add the project pointed by the path to the solution of your own project. This allows to add all projects into the same solution and make changes on the library and your app seamlessly without copying files repeatedly.

I'm not very familiar with these, so I apologize for any inconvenience. Thank you for your assistance.

Yes, so basically you have a Axodox.MachineLearning nuget package which you can add to your own projects to use the existing functionality of the library.
But sometimes you need to add functionalities so it suits your specific needs. In this case the simplest solution would be that you add the new features, build the project generate a new nuget package, and then finally add the new nuget to your project, but this is not very convenient.
Instead of this you create an environment variable and point it to your local copy of the library repo, in which case the nuget package will reference your local version of the package instead of its own files. Allowing you to develop seamlessly.
For even better dev experience you can even add the projects which make up the library to your own solution, so they automatically will get built if you change them. This allows you to develop as if all code were in a single app.


Kotlin Generated Code Not Building Properly

Summary
Generated Kotlin Queries no longer building successfully.
Description
The Generated Query calls "import com.apollographql.apollo.api.ScalarTypeAdapters.DEFAULT" but the system flags ".DEFAULT" as an unresolved reference. Works fine on 1.4.5 but on all the 2.x.x versions this error seems to be happening to me.
Version
2.0.3

Can you check your versions of apollo-gradle-plugin and apollo-runtime They should both match for the generated code to reference the corresponding runtime.

That was the issue, still had the Version 1.4.1 for the apollo-gradle-plugin. Updated and working now.
Thanks,


fix: use logger for iam changes log message

What type of PR is this?
bug
What this PR does / Why we need it?
The fmt.Println log message per default interferes with the -o env. This PR changes the Resolving... output to use the logger which won't affect the below:
export $(ocm backplane cloud credentials $CLUSTER_ID -o env)
bash: export: `resolve...': not a valid identifier

Which Jira/Github issue(s) does this PR fix?
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

[ ] Ran unit tests locally
[ ] Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report

Merging #268 (54c9e41) into main (d436794) will not change coverage.
The diff coverage is 0.00%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #268   +/-   ##
=======================================
  Coverage   48.53%   48.53%
=======================================
  Files          52       52
  Lines        3441     3441
=======================================
  Hits         1670     1670
  Misses       1510     1510
  Partials      261      261

Files
Coverage Δ

pkg/awsutil/sts.go
56.25% <0.00%> (ø)


add cython with alternative indexing approach

Pull request #4 ended with the decision to go with an alternative indexing method that was faster. This pull request contains the indexing method. See pull request #4 for a speed comparison of the 2 methods.

Really excellent work. Just eager to know when this will be merged into the release version?
Thanks.

I have merged and uploaded it to PyPI!
@esquires Thank you for writing the code. fastdtw got significant performance boost thanks to you!
@kernc Thank you for advising a lot. Your comments were all very helpful!

You can now sqush the commits before merging on GitHub. One reason for this, in particular, is that contributions show (in repo history and in visualizations on the Graphs tab). It's common courtesy to leave commit's Author field intact, obviously. :smiley:

I run git merge --squash esquires-indexing-approach on command line.
I was wondering why merged icon was not shown on this page.
I guess that I should just run git merge esquires-indexing-approach

Maybe there are better way to squash commits on command line? Just pressing GitHub's merge button is the good way?

I have reset commits, rebased commits of this PR and force pushed. Now @esquires is displayed in Graphs tab. :-)

@esquires fastdtw._fastdtw.dtw() fails when dist is int. For instance, dtw_c([[1,2]], [[1,1], [2,2]], dist=1) throw an error.
TypeError: unsupported operand type(s) for -: 'list' and 'list'

Do you come up with any idea to fix it?

The latest has dtw calling the same prep code as fastdtw. It also converts lists to numpy arrays when using a p-norm.

@esquires Thank you for writing the code! Could you open a new PR which derives from latest slaypni/master for the change?

No need to open a new PR. @esquires, just rebase the changes on the latest (force pulled) master. Since recently, it's also possible to switch the base branch of a PR.

I cherry-picked/squashed 3043419 and ae41de1 onto master and fixed the merge conflicts. All the tests ran fine. Apparently one can only change the base branch, not the branch containing the new code so I am just leaving it in master for now without updating the pull request branch. If you want me to open a new pull request let me know. The commit with the fix is in 6375aef.

Something like that didn't work?
# Add upstream remote repo as upstream
git remote add upstream git@github.com:slaypni/fastdtw.git
# Force-fetch its master branch
git fetch -f upstrem master

# Switch to the branch of the PR
git checkout indexing-approach
# Backup into a new branch, just in case
git checkout -b indexing-approach-bak
# Switch back to PR branch
git checkout -

# Rebase the changes the branch introduces
git rebase -i -X theirs upstream/master
# Force-push the new branch
git push -f

Hm. I must have misunderstood your request. I thought you wanted me to change the pull request to point to esquires/master. I'll just have indexing-approach point to 6375aef.

indexing-approach now points to 6375aef

Thunk you guys. I have merged it!

@esquires BTW, I found another bug. _fastdtw.fastdtw returns a wrong result when x and y are 2-dimensional array and dist is None. For instance,
> fastdtw_c([[1,2]], [[2,2],[1,1]])
(0.0, [(0, 0), (0, 1)])

Pure python's fastdtw.fastdtw causes an error properly.
> fastdtw_p([[1,2]], [[2,2],[1,1]])
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Do you find a way to fix it?
(If you could write codes for fixing it, please create a new PR since this PR is already merged) 😃


[Rest Server] Update priority class owner references

Update priority class owner references to avoid foreground deletion errors.

Workaround to resolve GC controller hang in "Namespace parameter required" due to not support cross namespaced refer:
E1107 08:26:09.488367       1 garbagecollector.go:310] error syncing item &garbagecollector.node{
identity:garbagecollector.objectReference{
	OwnerReference:v1.OwnerReference{
		APIVersion:"frameworkcontroller.microsoft.com/v1",
		Kind:"Framework",
		Name:"edqqexbyedqqexazc8wkacv2ccrp8",
		UID:"d19d8fd9-f93f-11e9-a441-000d3ab408a6",
		Controller:(*bool)(0xc000ad0a78),
		BlockOwnerDeletion:(*bool)(0xc000ad0a79)
	},
	Namespace:""
},
dependentsLock:sync.RWMutex{w:sync.Mutex{state:0, sema:0x0}, writerSem:0x0, readerSem:0x0, readerCount:1, readerWait:0},
dependents:map[*garbagecollector.node]struct {}{(*garbagecollector.node)(0xc00118e690):struct {}{}},
deletingDependents:false, deletingDependentsLock:sync.RWMutex{w:sync.Mutex{state:0, sema:0x0}, writerSem:0x0, readerSem:0x0, readerCount:0, readerWait:0},
beingDeleted:false, beingDeletedLock:sync.RWMutex{w:sync.Mutex{state:0, sema:0x0}, writerSem:0x0, readerSem:0x0, readerCount:0, readerWait:0},
virtual:false,
virtualLock:sync.RWMutex{w:sync.Mutex{state:0, sema:0x0}, writerSem:0x0, readerSem:0x0, readerCount:0, readerWait:0},
owners:[]v1.OwnerReference(nil)}: Namespace parameter required.

Note: Cross-namespace owner references are disallowed by design. This means: 1) Namespace-scoped dependents can only specify owners in the same namespace, and owners that are cluster-scoped. 2) Cluster-scoped dependents can only specify cluster-scoped owners, but not namespace-scoped owners.


Update add-a-list-all-the-notes-api.md

dynamoDbLib.call("query", params) gives me a 500 error, and i think it's doing so for others as well, see https://discourse.serverless-stack.com/t/list-all-the-notes-in-the-table-for-all-users/252

Hey @rukayaj thanks for the PR. But there is a key difference between this and the thread that you linked to. They are looking for all the notes from ALL the users. In the tutorial, we are using the query because we have an index specifically to get the notes created by A user.
Are you having issues getting the notes for a user or for all users?

Oh right. Sorry, I was wanting to get notes for all users.

Oh right, sorry no I was wanting to get notes for all users.


Broken on latest nightly

Diesel 0.12 appears to be broken on the latest nightly. I'm seeing the following:
error[E0531]: cannot find unit struct/variant or constant `SQLITE_CONSTRAINT_UNIQUE` in module `ffi`
   --> /Users/sbenitez/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel-0.12.0/src/sqlite/connection/stmt.rs:148:14
    |
148 |         ffi::SQLITE_CONSTRAINT_UNIQUE | ffi::SQLITE_CONSTRAINT_PRIMARYKEY =>
    |              ^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `SQLITE_CONSTRAINT`?

error[E0531]: cannot find unit struct/variant or constant `SQLITE_CONSTRAINT_PRIMARYKEY` in module `ffi`
   --> /Users/sbenitez/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel-0.12.0/src/sqlite/connection/stmt.rs:148:46
    |
148 |         ffi::SQLITE_CONSTRAINT_UNIQUE | ffi::SQLITE_CONSTRAINT_PRIMARYKEY =>
    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`

error[E0531]: cannot find unit struct/variant or constant `SQLITE_CONSTRAINT_FOREIGNKEY` in module `ffi`
   --> /Users/sbenitez/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel-0.12.0/src/sqlite/connection/stmt.rs:150:14
    |
150 |         ffi::SQLITE_CONSTRAINT_FOREIGNKEY => DatabaseErrorKind::ForeignKeyViolation,
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`

It doesn't seem like this is something that would be affected by a nightly. Perhaps there are some incorrect version bounds to an FFI library?

The problem lies in the libsqlite3-sys crate I believe
The recent commit doesn't export the constants as public.

FYI this works
libsqlite3-sys = { version = "=0.7.1", optional = true }

Short story long -
At some point bindgen started outputting macro-like constants, and libsqlite3-sys was "double exporting" a bunch of constants that we had previously included manually (see jgallagher/rusqlite#252). 0.7.2 removed the manual constants, instead relying on the bindgen-generated ones.
However, I made a mistake here - there were manual constants (like the three in the diesel error above) that are newer than SQLite 3.6.8 (the default bindgen bindings chosen if you don't select an explicitly newer version of libsqlite3-sys). The removal of the manual constants means any users of constants that were added after SQLite 3.6.8 just got an unexpected breaking change - sorry about that!
I'm taking @killercup's suggestion and doing two things:

Yanked libsqlite3-sys 0.7.2 (already done a few hours ago)
Publishing libsqlite3-sys 0.8.0 that includes a feature requiring a SQLite at least as new as 3.7.16, which is when these constraint constants were added.

The fix to use 0.7.1 works as long as you're linking against SQLite 3.7.16 or newer, but the "right" fix will be to use 0.8.0 with the min_sqlite_version_3_7_16 feature enabled. I can PR this to diesel once I get 0.8.0 published.

Thanks, @jgallagher! This should fix this issue for now. Can you confirm this, @SergioBenitez?
Updating our dependency on libsqlite3-sys to a version >0.7 is a breaking change to diesel, especially as this is a system lib that can only be linked once. So, this will happen with the 0.13 release at the earliest.
I'm not sure if what minimum version of sqlite we require, but 3.7.16 was release on 2013-03-18, so I'm pretty sure it's not a problem to require that. (We also have #829 open to add a bundled sqlite.)

@killercup Indeed, this issue is resolved. Unfortunately another sprung, but I'll deal with that in a different issue tracker. :)
Thanks for being quick about this, @killercup, @jgallagher!


Persistence Exporter in Javascript library

[x] This only affects the JavaScript OpenTelemetry library
[ ] This may affect other libraries, but I would like to get opinions here first

Does Opentelemetry JS have similar feature to Persistence Exporter ?

Not currently, but this shouldn't be too hard to implement by extending the batch exporter there: https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts

I think we need to define it in the spec first for us to release it as a built-in one.

What is the usecase for this in JS. In swift and android it is obviously useful for mobile apps which may have limited network access and be terminated before exports are complete. In most restricted JS environments such as browser, lambda, webworkers, and edge compute, persisting to disk is not guaranteed to be easy or possible.

What is the usecase for this in JS

This would be very useful for us as an Electron app. E.g. user is on a laptop without connectivity. Or the app crashes before the batch sends.

In most restricted JS environments such as browser, lambda, webworkers, and edge compute, persisting to disk is not guaranteed to be easy or possible

Allowing users to control storage (possibly via a callback?) could allow them to choose between filesystem/localstorage/etc.

Could this help with https://github.com/open-telemetry/opentelemetry-js/issues/2205 too for the browser?

removing up-for-grabs as this is waiting for a specification before this can be picked up.
If anyone stumbles upon this:
This issue needs

someone to head on over to the specification, reading through it and checking if there's already a spec for it

if there is, add a link here and let us know
if there is not, look for any issues, OTEPs etc and see if there's work ongoing

if there are, add a link here
otherwise open an issue on the specification repo and link it here.


[Feature]: exclude file patterns

To Dos

[X] I have checked the issues and think that this is not a duplicate.

[X] I added a very descriptive title to this issue.

Description
I would like the option to exclude patterns in the command line.
I run the tool, like so rstcheck -r . ... but there can be problems with this approach when a dependency contains rst files in their source code.
I think it would be a nice addition to be able to add (multiple) exclude patterns to the command so specific directories could be skipped entirely.
Operating System
Linux
Operating System Details
Ubuntu 22.04
Python Version
3.11
rstcheck Version
6.2.0

This repo is only a thin wrapper around rstcheck-core. The file resolution is happening there. Therefore this feature needs to be implemented in restcheck-core first and after that the then new configuration option could be implemented in the rstcheck cli.
An implementation in rstcheck-core would need:

a new config option in rstcheck-core/config.py
a new private method on rstcheck-core/runner.py::RstcheckMainRunner which filters the undesired paths out from the list of paths in RstcheckMainRunner._files_to_check
the new method needs to be called conditionally at the end of rstcheck-core/runner.py::RstcheckMainRunner.update_file_list()

PR welcome.
If someone takes this up: No need for another issue in rstcheck-core. This issue can be linked in the PR.


URLs that are valid claims but have wrong short channel ids should provide better feedback to the user

Works:

https://spee.ch/@lbry:3fda836a92faaceedfe39822/thinkaboutit
https://spee.ch/@lbry:3f/thinkaboutit
https://spee.ch/@lbry/thinkaboutit

Doesn't Work:

https://spee.ch/@lbry:3/thinkaboutit

closing, reopen if demand increases


Clean cookie code

For a short term solution, the cookie consent code was taken directly from other nhs.uk solutions, with a simpler design applied to it.
As the design is simpler and a user controls cookies with the browser (rather than in site settings), a lot of the code isn't required and can be simplified.
The code is also currently compiled by webpack and isn't very readable in this repo. It needs to be changed to the pre-compiled code and assets.

@bradmorton1 are you aware of these errors relating to the cookie banner javascript?
Chrome console
Uncaught SyntaxError: Unexpected token e in JSON at position 1
    at JSON.parse (<anonymous>)
    at getCookie (cookieconsent.js:40)
    at checkCookie (cookieconsent.js:143)

Build warnings
[16:36:53] Finished 'minifyJS' after 1.56 s
app/scripts/cookieConsent.js (269:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
app/scripts/cookieConsent.js (283:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
app/scripts/cookieConsent.js (299:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
app/scripts/cookieConsent.js (315:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
app/scripts/cookieConsent.js (331:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
app/scripts/cookieConsent.js (345:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
app/scripts/cookieConsent.js (361:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
app/scripts/cookieConsent.js (375:6) Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification

Yeah, the first error is present because it's dropping the cookie but doesn't need to contain most of the info in the cookie. The 2nd lot is because it's using compiled webpack code, and we probably don't want that. Can make improvements some time this week

This was fixed in release 1.0.3


Clean up Driving Corridor Generation

In LocalMap::Generate (https://github.com/bark-simulator/bark/blob/master/modules/world/map/local_map.cpp#57) and in
LocalMap::RecalculateDrivingCorridor(https://github.com/bark-simulator/bark/blob/master/modules/world/map/local_map.cpp#74)
we write
std::vector<LanePtr> lanes;
map_interface_->FindNearestLanes(point, 1, lanes);
LanePtr current_lane = lanes.at(0);
However, we could use MapInterface::FindLane() instead

DrivingCorridors should be calculated only once when generating the map. This would ommit the need to recalulate it.