[bug]: Module not found: Error: Can't resolve 'react-native'

Description
Project is failing when I try to build it:
Module not found: Error: Can't resolve 'react-native' in '.../node_modules/@walletconnect/modal-react-native/lib/module/config'
Link to the code I was working with, its just following the demo tutorial:
https://github.com/na-bio/web3-modal-demo
There was a similar bug reported for the mono-repo prior: https://github.com/WalletConnect/walletconnect-monorepo/issues/2361
WalletConnect Modal SDK version
1.0.0-rc.7
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.4.1
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 619.83 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.17.0
path: ~/.nvm/versions/node/v18.17.0/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.6.7
path: ~/.nvm/versions/node/v18.17.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK: Not Found
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: /undefined
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.15
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: ^18.2.0
react-native:
installed: 0.72.3
wanted: ^0.72.3
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Expo Version (if applies)
No response
Steps to reproduce
Download and build the code link. Or start from demo link.
Snack, code example, screenshot, or link to a repository
https://github.com/na-bio/web3-modal-demo

hey @na-bio for web projects you have to use our Web SDK. You can read the docs here: https://docs.walletconnect.com/2.0/web/web3modal/react/wagmi/installation


GSAGH-474-Preserve-data-tree-structure-in-case-of-null-results-or-errors

Closed after prolonged discussion with Adi


How to stub the same method twice with different arguments

Hi,
I need to stub the same method of my mockObject twice, but I can't use the variadic thenReturn because it's a generic method returning different types Single<T.Data> according to the T provided as an argument. (In the code above a Query is a protocol, and the method getSingle<T>(query: T) -> Single<T.Data> where T : Query accepts any class that implements query and returns a Single of type T.Data)
let _ = self.mockDataSource.when().call(withReturnValue: self.mockDataSource.getSingle(query: QueryA())) .thenReturn(Single.just(payloadA))
let _ = self.mockDataSource .when().call(withReturnValue: self.mockDataSource.getSingle(query: QueryB())) .thenReturn(Single.just(payloadB))
However, the second stub is never called, always the first one, and my tests fail. I'd like to have the ability to create a stub returning a specific type according to the type provided as an argument, either by matching the provided type (I failed to do it with ArgumentMatcher) either by specifying the order...
Thank you for your help,

Hi,
As of now this feature is not yet included in the current Mockit implementation. Please feel free to contribute if you want and send me a PR.
Thanks.

Hi, I ran into the same issue. If you are trying to

Hi,
I ran into the same issue. We were trying to stub the same method multiple times but only once in every different test methods. The issue here is that your mocked object keep the same context for every tests. Because Mockit does not provide any feature to stop the mocked object, the solution is to create different mock objects for every test scenarios.
Hope it helps.


⚠ AVS (kty) has degraded performance

In e68dff6, AVS (kty) (https://avus.com.br) experienced degraded performance:

HTTP code: 200
Response time: 9239 ms

Resolved: AVS (kty) performance has improved in 062c850.


GitHub Repo Q&A Bot Sample Public git download errors

Hi,
After successfully configuring Azure OpenAI with ChatGPT3.5 Turbo and Ada for embedding, I am encountering an error while downloading a public repository.
Expected behavior
To download and embed a public repository
Screenshots

Platform

OS: MAC
IDE: VSCode

Hello @arikbidny,
Thanks for reporting the issue!
We had taken a note on the issue and worked on a PR: https://github.com/microsoft/semantic-kernel/pull/2117.
The PR should solve the problem you reported. Please try again after the PR is merged. Let us know if you see more issues :)
Thanks!

@arikbidny please pull the latest version of the code. It contains the fix to your problem.
If you still encounter problems, feel free to either re-open this issue or create a new one.


Export typings correctly in package.json

Problem:
I noticed when using the new bundler option under moduleResolution in TypeScript 5, that this package's type declarations are not compatible:
Could not find a declaration file for module '@sentry/vite-plugin'. <EMAIL_ADDRESS>implicitly has an 'any' type.
There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@sentry/vite-plugin' library may need to update its package.json or typings.

Solution:
Correctly set the types field in package.json, to make this package compatible with the new moduleResolution option.

Hi @dd-jonas thanks for reporting!
Do you know if we have to provide the exports field in the package.json now or if there's another way (like the top level types attribute) to correctly resolve the types? The reason I'm asking is because we recently experimented with the exports field in the SDK packages and encountered some major problems while doing so.
If you already have experience with this and would like to take a stab at fixing it, PRs are always welcome and we're happy to review.
In the meantime, I'll backlog this as we're busy with other tasks.

Hi @Lms24
I don't have much experience with this unfortunately. As I can't tell the impact this will have like you mentioned, I'd rather not touch this myself.

You just need to add
"types": "./dist/types/index.d.ts"

to the default export.
"exports": {
    ".": {
      "import": "./dist/esm/index.mjs",
      "require": "./dist/cjs/index.js",
      "types": "./dist/types/index.d.ts"
    }
  }


feat: circuit status now contains a rolling window

This is an ongoing PR, do not merge yet
The rolling stats window is configurable in both total time sampled, and
how many snapshots, or buckets, within that time frame.
The new options that can be applied to a circuit breaker are
rollingCountTimeout and rollingCountBuckets, which default to 10000
and 10, respectively. So by default, the window is a statistical view
over the last 10 seconds, consisting of 10 one second snapshots.
The current circuit breaker status api has not been modified directly,
however the expected results are different. For example, you can still
do this:
console.log(`Failure count: ${circuit.status.failures}`);

But that count will consist only of the number of failures within the
current snapshot.
To obtain stats for the entire window, use the window property.
const stats = circuit.status.window;

This will give you an array containing the statistical sampling for the
entire window. So, given the defaults noted above, by default this will
be a ten element array, with each element containing an object with
sample data that looks something like this:
{
  failures: 11,
  fallbacks: 9,
  successes: 3491,
  rejects: 2,
  fires: 3493,
  timeouts: 0,
  start:<PHONE_NUMBER>013
}

Coverage decreased (-0.8%) to 96.04% when pulling 40fd56d8543caabefcd84e324028183972dd59ce on rolling-stats into 8fb956147b72878c5613b22feaf36505a388951f on master.

Coverage decreased (-0.6%) to 96.154% when pulling 00c4b84995a506fd7f5bf1176c34b70425fed973 on rolling-stats into 8fb956147b72878c5613b22feaf36505a388951f on master.

Coverage decreased (-0.6%) to 96.537% when pulling 1bc33658c9bcda8971fd5315529d3a232ecacf3b on rolling-stats into 770950df181aa062800df34c9fe9180cac143f0e on master.

Coverage decreased (-0.6%) to 96.537% when pulling 1bc33658c9bcda8971fd5315529d3a232ecacf3b on rolling-stats into 770950df181aa062800df34c9fe9180cac143f0e on master.

Coverage increased (+1.3%) to 98.429% when pulling ea970be1b0ae9c62e78dba3b3758e46b213e0468 on rolling-stats into 770950df181aa062800df34c9fe9180cac143f0e on master.

Coverage increased (+1.3%) to 98.421% when pulling 972b830f416a67ac5b645f94cf6dcc8dc13862b8 on rolling-stats into 770950df181aa062800df34c9fe9180cac143f0e on master.

Coverage decreased (-0.9%) to 98.421% when pulling 1434c0fbcb71d3d0c000dfb0b9917ce98b92d7cd on rolling-stats into<PHONE_NUMBER>055f33e993342e359c62af4580dc39 on master.

Merging this as is for the time being and adding #37 #38 and #39 as new issues.


Ignore locales; fix kebab-cased translation keys

Fixes

Fixes #2432 by @obulat
Description

This PR adds the locale json files to eslintignore as they are gitignored anyways. This CI fix was applied in #2398, but it's better to merge it ASAP because the CI fails without it.
Another fix is converting the keys (that are between ### characters in pot files in GlotPress, and between {} brackets in Vue i18n json files) from kebab-case to camelCase.
Testing Instructions

Run just frontend/run i18n to load the translation files. Then, go to nl locale with a migration notice: http://localhost:8443/nl?referrer=creativecommons.org. You should see the "read more" link and "CC Search" in the notice.
The CI eslint step shouldn't show the messages from the linked issue.
Checklist

[ ] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.
[ ] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

What an interesting way to prevent the loss of those translations in the meantime. Do we have a set date for when the TODO would happen? Can we make it a blocked issue so MSR can check back in on it by a specific date?

I'll add a warning to the replacer function if it finds a dash in the key so that there's a way to track this. Then, MSR could check if the warning is still there.
I tried updating the keys manually in GlotPress, but because we have so many locales, it's pretty tedious, so it might take a long time.


test: fix flaky tests

LGTM. I wonder if would worth increasing all timeout values to a reasonable amount to avoid flakiness. Those timeout values seems to be used only to fail the test after a reasonable amount of time. However would not increase the tests time in successful scenario

I remember adjusting some in the past, and I would say that this is the only one "flakying" , but agree, if we have any other let's just adjust them 👍

LGTM. I wonder if would worth increasing all timeout values to a reasonable amount to avoid flakiness. Those timeout values seems to be used only to fail the test after a reasonable amount of time. However would not increase the tests time in successful scenario

I remember adjusting some in the past, and I would say that this is the only one "flakying" , but agree, if we have any other let's just adjust them 👍

👍 agree


lua52Packages.lpeg: 0.12 -> 1.0.1

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 1.0.1 with grep in /nix/store/fsk2jl678p62lafynavdwx0mwp6bsv2a-lua5.2-lpeg-1.0.1
directory tree listing: https://gist.github.com/1fff696fb315e4419018e006583e5859

cc @vyp for review

Success on x86_64-darwin (full log)
Attempted: lua52Packages.lpeg
Partial log (click to expand)
clang -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes  -O2 -std=c99 -I../lua/ -fPIC   -c -o lpcode.o lpcode.c
clang -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes  -O2 -std=c99 -I../lua/ -fPIC   -c -o lpprint.o lpprint.c
env clang -bundle -undefined dynamic_lookup lpvm.o lpcap.o lptree.o lpcode.o lpprint.o -o lpeg.so
make[1]: Leaving directory '/private/tmp/nix-build-lua5.2-lpeg-1.0.1.drv-0/lpeg-1.0.1'
installing
post-installation fixup
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/8f82fz142l23ygbp1vj7jzl0v390pab8-lua5.2-lpeg-1.0.1/lib
patching script interpreter paths in /nix/store/8f82fz142l23ygbp1vj7jzl0v390pab8-lua5.2-lpeg-1.0.1
/nix/store/8f82fz142l23ygbp1vj7jzl0v390pab8-lua5.2-lpeg-1.0.1

Success on aarch64-linux (full log)
Attempted: lua52Packages.lpeg
Partial log (click to expand)
make[1]: Leaving directory '/build/lpeg-1.0.1'
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ppdrgs2spnyvj4dcvf2p90crcgbg4chb-lua5.2-lpeg-1.0.1
shrinking /nix/store/ppdrgs2spnyvj4dcvf2p90crcgbg4chb-lua5.2-lpeg-1.0.1/lib/lua/5.2/lpeg.so
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/ppdrgs2spnyvj4dcvf2p90crcgbg4chb-lua5.2-lpeg-1.0.1/lib
patching script interpreter paths in /nix/store/ppdrgs2spnyvj4dcvf2p90crcgbg4chb-lua5.2-lpeg-1.0.1
checking for references to /build in /nix/store/ppdrgs2spnyvj4dcvf2p90crcgbg4chb-lua5.2-lpeg-1.0.1...
/nix/store/ppdrgs2spnyvj4dcvf2p90crcgbg4chb-lua5.2-lpeg-1.0.1

Success on x86_64-linux (full log)
Attempted: lua52Packages.lpeg
Partial log (click to expand)
make[1]: Leaving directory '/build/lpeg-1.0.1'
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/fsk2jl678p62lafynavdwx0mwp6bsv2a-lua5.2-lpeg-1.0.1
shrinking /nix/store/fsk2jl678p62lafynavdwx0mwp6bsv2a-lua5.2-lpeg-1.0.1/lib/lua/5.2/lpeg.so
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/fsk2jl678p62lafynavdwx0mwp6bsv2a-lua5.2-lpeg-1.0.1/lib
patching script interpreter paths in /nix/store/fsk2jl678p62lafynavdwx0mwp6bsv2a-lua5.2-lpeg-1.0.1
checking for references to /build in /nix/store/fsk2jl678p62lafynavdwx0mwp6bsv2a-lua5.2-lpeg-1.0.1...
/nix/store/fsk2jl678p62lafynavdwx0mwp6bsv2a-lua5.2-lpeg-1.0.1

Would it be possible to freeze the (small) lua updates ?
I hope to get my lua PR https://github.com/NixOS/nixpkgs/pull/33903 ready for review/merging this week-end or next week (with a nox-review successful) but these PRs create merge conflicts and then I have to rebuild to check everything still works (and it's slow on my machine). My PR also updates these packages as it generates them from the luarocks Database (similar to the haskell generated packages).

@teto Sure, I'll blacklist any attribute starting with lua.

@ryantm sorry for the inconvenience and thanks for the positive answer. I've just pushed the first reviewable iteration so it might take some time. If someone actually needs an updated package, you can merge PRs but if it's for the sake of updating, it would just trouble me I guess :)


Sparse Texture Support

A.k.a. Mega Texture
Unity currently has this feature. (https://docs.unity3d.com/Manual/SparseTextures.html)
It may have to wait for the move to Vulkan.

Yes, needs either higher GLES version or Vulkan.

I may be completely wrong, but isn't LargeTexture that?

AFAIK not exactly, no. If you've ever played RAGE from id Software you likely have seen MegaTexturing. If not, perhaps you have played Assassins Creed: Unity it features Sparse Textures. They dynamically stream MIPs from disk.
Sparse Texture is GLES 3.1:
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_sparse_texture.txt

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Linux installer not working

The Linux install script is based on full flutter installation but doesn't install the downloaded files

Also icon needs to be copied to install folder

Done with bd0d72bbd2ee3236928bd432b0bfaef24f501fa5


User interface acceptance criteria: Submit order (with prerequisites)

This creates a new folder that lists Acceptance criteria for Vega user interfaces.
Intended to house Acceptance criteria to be referenced in front-end tests, and reported on by approbation.
See the Read me/introduction for more info about what this section is about.
This PR only includes the Acceptance criteria for Submitting an order (and it's pre-requisites), You can see this other PR that contains drafts for a lots of other Acceptance criteria, but this was too big for review in one go.
Note:

Rather than incrementing a the first part of an ID  (the number of the file) each new file, they are grouped. e.g all the trading stuff is in the 6000's
They are phrased more like a user task to add context to aid developer and designers.

closes: https://github.com/vegaprotocol/frontend-monorepo/issues/811
output of approbation could look something like this to show what apps are covering what Sections

Wallet app
Token site
Console
Console lite
Block Explorer
Vega.xyz

Wallets and signing transactions

Get and use a Vega wallet
1

1

Connect Vega wallet to a Dapp & select keys

1
1
1

Submit Vega transaction

1
1
1

Connect Ethereum wallet to a Dapp

1
1
1

Submit Ethereum transaction

1
1
1

Staking and Governance

- Associate governance token with a Vega key

1

- View and redeem vested tokens

1

- Staking validators

1

- Review staking income

1

- Vote on changes

1

- Propose changes

1

- Propose new Market

1

- Propose change(s) to market

1

- Propose new asset

1

- Propose change(s) to asset

1

- Propose change to network parameter(s)

1

- Propose something "Freeform"

1

Treasury

- Understand treasury rewards

1

- View the rewards I've recived

Bridges and Transfers

- Deposit

1
1

- Withdraw

1
1
1

- Transfer

Liquidity provision

- Understand return of liquidity provision

- Provide liquidity

Markets and analysis

- Find markets

1
1

- View market specification

1

- Analyze Order book

1

- Analyze price history

1

- Analyze trade history

1

Collateral, Orders, Positions and Fills

- View my collateral / accounts

1
1

- Submit an order

1
1

- Manage my orders

1

- View my positions

1

- View my trades/fills

1

And we could have a detailed output like this:

@campbellssource I see you opened this: https://github.com/vegaprotocol/vega/issues/6142
I thought it was decided recently not to save any history locally of the past transaction, only the one from the current session? Am I not right @barnabee @mattrussell36 ?

For now yes.
This is a feature request to be considered as part of future planning


Introduced default plugin suites to the RootDatabaseBuilder

Stack:

#6843
#6852 ⬅
#6840

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is


Release/0.3.2

Basics

[x] I added a line to /doc/CHANGELOG.md
[x] The PR is rebased with current master.

[ ] References to issues, e.g. close #X, are in the commit messages.
[ ] The buildserver is happy.

Checklist

[ ] I have installed and I am using pre-commit hooks
[ ] I fully described what my PR does in the documentation
(not in the PR description)
[ ] I fixed all affected documentation
[ ] I fixed the introduction tour
[ ] I wrote migrations in a way that they are compatible with already present data
[ ] I fixed all affected decisions
[ ] I added unit tests for my code
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[ ] Code is conforming to our Architecture
[ ] Code is conforming to our Guidelines
(exceptions are documented)
[ ] Code is consistent to our Design Decisions

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] Examples are well chosen and understandable

@Bushuo or @absurd-turtle can you verify if the npm audit fix was applied correctly?

@Bushuo or @absurd-turtle can you verify if the npm audit fix was applied correctly?

What was the output of npm audit?
I can't check for myself right now.

npm audit fix was not able to fix it by itself, so I also changed node_modules/simple-update-notifier to version ^2.0.0 manually.
@Bushuo which parts are influenced by simple-update-notifier? Should we retest some parts?

What was the output of npm audit?

The output of npm audit now is found 0 vulnerabilities.
Before it was
tough-cookie  <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
fix available via `npm audit fix`
node_modules/tough-cookie

word-wrap  <1.2.4
Severity: moderate
word-wrap vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-j8xg-fqg3-53r7
fix available via `npm audit fix`
node_modules/word-wrap

4 moderate severity vulnerabilities

To address all issues, run:
  npm audit fix

I need to check myself how those packages are used.
Sometimes those vulnerabilities are not really vulnerabilities in the context of an application that is compiled and shipped.
https://overreacted.io/npm-audit-broken-by-design/

Regarding those vulerabilities.
The packages depending on semver use it to parse the package.json and are all dev dependencies.
So I would not update semver.
though-cookie is only used by jsdom which we use for unit testing. So this is not a vulnerability of production code.
word-wrap is also only used by storybook build tools or eslint. Both not production code.
# npm audit report

semver  <=5.7.1 || 6.0.0 - 6.3.0 || 7.0.0 - 7.5.1
Severity: moderate
semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
fix available via `npm audit fix`
node_modules/@babel/register/node_modules/semver
node_modules/@storybook/cli/node_modules/semver
node_modules/@storybook/core-server/node_modules/semver
node_modules/@storybook/manager-api/node_modules/semver
node_modules/@typescript-eslint/eslint-plugin/node_modules/semver
node_modules/@typescript-eslint/typescript-estree/node_modules/semver
node_modules/@typescript-eslint/utils/node_modules/semver
node_modules/jest-snapshot/node_modules/semver
node_modules/normalize-package-data/node_modules/semver
node_modules/semver
node_modules/simple-update-notifier/node_modules/semver
node_modules/ts-jest/node_modules/semver
  simple-update-notifier  1.0.7 - 1.1.0
  Depends on vulnerable versions of semver
  node_modules/simple-update-notifier

tough-cookie  <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
fix available via `npm audit fix`
node_modules/tough-cookie

word-wrap  <1.2.4
Severity: moderate
word-wrap vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-j8xg-fqg3-53r7
fix available via `npm audit fix`
node_modules/word-wrap

4 moderate severity vulnerabilities

root@8691b89cb80c:/workspaces/PermaplanT/frontend# npm why simple-update-notifier
<EMAIL_ADDRESS>dev
node_modules/simple-update-notifier
<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  node_modules/@storybook/cli
<EMAIL_ADDRESS>from<EMAIL_ADDRESS>    node_modules/storybook
      dev<EMAIL_ADDRESS>from the root project

Thx for looking into it! :heart:
I reverted all the changes except a little one which seems harmless: 8d879d48a50b94f166d3182bf725be14c17ad802


映射文档No.79

完成 https://github.com/PaddlePaddle/docs/issues/5691 中No.79的文档映射工作，其中新增10个api映射文档，有问题请联系

 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.

@Tomoko-hjf 已修改，麻烦在检查一下

@Tomoko-hjf 已修改，麻烦再检查一下还有什么问题。

@Tomoko-hjf 已修改，麻烦再次检查

@Tomoko-hjf 已修改，麻烦再检查一下

@zhangtailai 同学你好，有时间的话可以按照意见再修改一下，这样就能尽快合并了~


patroni

I see theres a image file, could this be a use case for https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams ?

Great doc! Just one question, where is the patroni image being referenced?

I removed it, I realized it wasn't actually very helpful - I'll probably go back and remake it and add it back in later, but I didn't have time before I needed to get this doc live!


Pending state

Summary

Relevant Technical Choices

To-do
Add an option to support the pending status for conbrituors.
User-facing changes

Testing Instructions

Fixes #2239
Related #1390

Closing for now. Can be picked up again when needed.


Database-provider-specific keys in all dictionaries

As of v1.1.0, providers are allowed to add custom entry properties, provided they prefix them with provider-specific prefixes. I suggest extending this to allow custom keys in all dictionaries. Thus if a provider wants to add something to each of every species, for example, isotope, they will be able to do so, viz.:
"species": [
  { "name": "13C", "chemical_symbols": [ "C" ], "_exmpl_isotope": 13 }
]

This would allow passing additional nonstandard information via the same OPTIMADE interface without dragging possibly huge parallel lists or tables. Viz. how isotope information would be carried conforming to v1.1.0:
"_exmpl_isotopes": { "13C": 13 } // here the key is the name of species

@merkys Do you agree that #401 closes this? (In #401 you seemed to say it only implements a subset of this issue?)
From the discussion in #401 I note that there presently does not seem to be a way to add output format-agnostic database-provider specific keys to a relationship. Do we want to have that feature? It is technically as easy to update the text that explains what a relationship is to add that any number of prodvider-specific keys and values associated with the relationship MAY also be included. And then, for the json output format explain where they should go (inside the meta field?).


VTK reader erroneously declaring mesh has topological dimension 0

Greg Burton has .pvtu formatted data, which is 3D topologically, but the reader is declaring
it has topological dimension 0.
This is new behaviour since the release of 2.13.3.
Greg's .pvtu points to many individual .vtu files , one for each block. Some of the blocks are actually empty, including the very first dataset.
The topological dimension is set in PopulateDatabaseMetaData, which checks only the first dataset in a multiblock.  If it is unstructured grid and no cells were declared, it assumes point mesh and sets topological dimension to 0.  This logic was added in response to #3089, where the user's data was a point mesh (no cells declared for ANY of the .vtu files).  VisIt needed to know the topological dimension in order to NOT send the data through the domain boundary filters.
If the best fix for this ticket is to revert the change made for #3089, then #3089 needs to be reopened and a better solution found for it.

VisIt Version: 3.0

Perhaps the big clue with Greg's scenario, is that the first block/dataset is completely empty,
eg there are no Points either.
Should the PopulateDatabaseMetaData method check for 0 points in the dataset, then attempt to read other 'blocks' until a non-empty one is found?

I think so, it may slow down the open, but if they are going to do that, I don’t know of another solution.
From: Kathleen Biagas<EMAIL_ADDRESS>Sent: Tuesday, September 10, 2019 11:18 AM
To: visit-dav/visit<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [visit-dav/visit] VTK reader erroneously declaring mesh has topological dimension 0 (#3877)
Perhaps the big clue with Greg's scenario, is that the first block/dataset is completely empty,
eg there are no Points either.
Should the PopulateDatabaseMetaData method check for 0 points in the dataset, then attempt to read other 'blocks' until a non-empty one is found?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/visit-dav/visit/issues/3877?email_source=notifications&email_token=AAING7WQISPB2YALQRVTOSLQI7QF5A5CNFSM4IVJXLTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6MA5LQ#issuecomment-530058926, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAING7UK3GIFKQLLZCJ7DF3QI7QF5ANCNFSM4IVJXLTA.


Honda: Car Port for Accord 9th Generation

Files for both the generator and generated DBC.

4-Cylinder
6-Cylinder
Hybrid

Prerequisite of https://github.com/sunnyhaibin/sunnypilot/pull/124


⚠ Bofrost.at has degraded performance

In 16c280f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3438 ms

Resolved: Bofrost.at performance has improved in 2b6d985 after 9 minutes.


Could not find method google() for arguments [] on repository container.

./gradlew build
FAILURE: Build failed with an exception.

Where:
Build file '/home/sami/android-samples2/android-samples/ApiDemos/build.gradle' line: 5

What went wrong:
A problem occurred evaluating root project 'ApiDemos'.

Could not find method google() for arguments [] on repository container.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 9.684 secs

upgrade gradle.wrapper.properties
Its working for me.

@aeroxy Yes. But seems like sometimes gradle-wrapper.properties won't update, so do it manually, I just took it from my other project. It still didn't work though, but at least useful errors started to appear


Update plexus-archiver to 4.7.0

About this PR
📦 Updates org.codehaus.plexus:plexus-archiver from 4.6.3 to 4.7.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.codehaus.plexus", artifactId = "plexus-archiver" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.codehaus.plexus", artifactId = "plexus-archiver" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #2760.


Mount/use MFS, HFS, HFS+ disk images

It would be nice if one could mount/use MFS, HFS, HFS+ disk images from within Executor.
Otherwise it is hard to make use of, e.g., https://archive.org/details/softwarelibrary_mac.

E.g.,
file '/home/user/Desktop/hd2.img'
/home/user/Desktop/hd2.img: Apple Driver Map, blocksize 512, blockcount 41820, devtype 1, devid 1, driver count 1, contains[@0x200]: Apple Partition Map, map block count 4, start block 96, block count 41692, name MacOS, type Apple_HFS, valid, allocated, in use, readable, writable, chain compatible driver, contains[@0x400]: Apple Partition Map, map block count 4, start block 1, block count 63, name Apple, type Apple_partition_map, valid, allocated, in use, readable, writable, contains[@0x600]: Apple Partition Map, map block count 4, start block 64, block count 32, name Macintosh, type Apple_Driver43, processor 68000, valid, allocated, in use, has boot info, readable, writable, pic boot code, contains[@0x800]: Apple Partition Map, map block count 4, start block 41788, block count 32, name Extra, type Apple_Free, valid, allocated, in use, readable, writable

# file '/home/user/Desktop/some.dsk'
/home/user/Desktop/some.dsk: Macintosh MFS data (bootable) created: Thu May 17 18:16:45 1984, last backup: Thu Jun  7 18:52:15 1984, block size: 1024, number of blocks: 391, volume name: some

For MFS, maybe this is helpful:
https://github.com/d235j/fusemfs

There is some HFS support there from the old days, it's lacking a proper user interface and documentation though.
Copy or link your image files into the directory ~/.executor/images, or set the MacVolumes environment variable to point to a different directory or to a single image file.

set the MacVolumes environment variable to point to a different directory or to a single image file

It works! :+1: This should be documented prominently on the frontpage.


Feature/api endpoints

These are the project requirements completed in this branch;

[ ] Create a new Rails API app called 'hello-rails-back-end'.
[ ] Initialize your project with Git.
[ ] Make sure that your project has a Postgres database set up.
[ ] Create a table for storing your messages and create 5 different greetings.
[ ] Create an API endpoint that selects a random greeting from your table (you will need a controller with an action and rails route).

@Kingno3l, Hi, I am your code reviewer for this project. Please kindly set up your linters for this projects.

Hi @Kingno3l,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that does not have running linters. Please ensure that your linters are running before you submit for review.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @topeogunleye in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


DeepTDA cannot be loaded from checkpoint

Loading a DeepTDA CV from a checkpoint does not work:
Minimal (non)working example:
from lightning.pytorch.callbacks.model_checkpoint import ModelCheckpoint
checkpoint = ModelCheckpoint(save_top_k=1,  monitor="valid_loss")

trainer = pl.Trainer(callbacks=[checkpoint],enable_checkpointing=True)
trainer.fit( model, datamodule )

best_model = DeepTDA.load_from_checkpoint(checkpoint.best_model_path)

given an error in initialization:
File [~/software/mambaforge/envs/mlcolvar/lib/python3.10/site-packages/mlcolvar/cvs/supervised/deeptda.py:67](https://file+.vscode-resource.vscode-cdn.net/home/lbonati%40iit.local/work/simulations/sampl5/OAMe/G2/~/software/mambaforge/envs/mlcolvar/lib/python3.10/site-packages/mlcolvar/cvs/supervised/deeptda.py:67), in DeepTDA.__init__(self, n_states, n_cvs, target_centers, target_sigmas, layers, options, **kwargs)
     35 def __init__(
     36     self,
     37     n_states: int,
   (...)
     43     **kwargs,
     44 ):
     45     """
     46     Define Deep Targeted Discriminant Analysis (Deep-TDA) CV composed by a neural network module.
     47     By default a module standardizing the inputs is also used.
   (...)
     64         Set 'block_name' = None or False to turn off that block
     65     """
---> 67     super().__init__(in_features=layers[0], out_features=layers[-1], **kwargs)
     69     # =======   LOSS  =======
     70     self.loss_fn = TDALoss(
     71         n_states=n_states,
     72         target_centers=target_centers,
     73         target_sigmas=target_sigmas,
     74     )

TypeError: mlcolvar.cvs.cv.BaseCV.__init__() got multiple values for keyword argument 'in_features'

we should also check the other CVs and add regtests for this feature (as of now only regressionCV was tested in this notebook: https://mlcolvar.readthedocs.io/en/stable/notebooks/tutorials/intro_3_loss_optim.html#Model-checkpointing)

@andrrizzi  we looked into it, the problem is that when loading a checkpoint:
super().__init__(in_features=layers[0], out_features=layers[-1], **kwargs)
kwargs contains also in_features and out_features.
If we delete those keys before calling the init of the mother class it works:
        kwargs.pop("in_features", None)
        kwargs.pop("out_features", None)
        super().__init__(in_features=layers[0], out_features=layers[-1], **kwargs)

but what I don't like is that we need to do this in every class that inherits from BaseCV..
do you have any suggestion?

If all the inherited CVs explicitly pass in/out_features to BaseCV.__init__ based on some other init argument, an alternative might be to modify BaseCV.__init__ to call self.save_parameters(ignore=['in_features', 'out_features']). I'm not sure, but I seem to remember that only saved parameters are then restored from the checkpoint.
If only a handful are doing it, then we might add that save_parameters(ignore=...) bit individually in the their __init__.


[material-ui][Autocomplete] Resizing on hover/focus when displayed in a table with table-layout: auto set

Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/icy-voice-mh8ff2?file=%2Fsrc%2FDemo.tsx
Steps:

Open link
Hover over the Movie autocomplete field

Current behavior
When hovering over the autocomplete field (or when focusing in on it) the autocomplete shrinks. If you position the mouse in the "right" position, the autocomplete will rapidly switch between the full size version and the shrunken version.

Expected behavior
The autocomplete field should not resize when hovering over it.
Context
My website allows users to enter data into "editable" tables, where the cells contain MUI fields that the user can enter data into:

Your environment

npx @mui/envinfo
  System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 20.11.0 - ~\AppData\Local\Volta\tools\image\node\20.11.0\node.EXE
    npm: 10.3.0 - ~\AppData\Local\Volta\tools\image\npm\10.3.0\bin\npm.CMD
    pnpm: Not Found
  Browsers:
    Chrome: Not Found
    Edge: Chromium (125.0.2535.51)
  npmPackages:
    @emotion/react: ^11.11.3 => 11.11.4
    @emotion/styled: ^11.11.0 => 11.11.5
    @mui/base:  5.0.0-beta.40
    @mui/core-downloads-tracker:  5.15.16
    @mui/lab: ^5.0.0-alpha.159 => 5.0.0-alpha.170
    @mui/material: ^5.15.3 => 5.15.16
    @mui/private-theming:  5.15.14
    @mui/styled-engine:  5.15.14
    @mui/system:  5.15.15
    @mui/types:  7.2.14
    @mui/utils:  5.15.14
    @mui/x-date-pickers: ^7.0.0-alpha.9 => 7.3.2
    @types/react: 18.3.1 => 18.3.1
    react: ^18.2.0 => 18.3.1
    react-dom: ^18.2.0 => 18.3.1
    typescript: ^5.3.3 => 5.4.5

I'm using Chrome Version 125.0.6422.60 (Official Build) (64-bit), but this also happens in Firefox 126.0 (64-bit),
My site is using @mui/material 5.15.3, but as demonstrated in the CodeSandbox recreation it is also happening in the latest version of MUI.
I think this is a result of this commit https://github.com/mui/material-ui/pull/41781/files. If I disable the following style on the  element it stops resizing:

Search keywords: autocomplete

Have you tried to put a fixed width in the Autocomplete?
<Autocomplete                   sx={{ width: "30rem" }}                   disablePortal                   id="combo-box-demo"                   options={top100Films}                   renderInput={(params) => (                     <TextField {...params} label="Movie" />                   )}                 />

Until there is a fix you can workaround with this:
sx={{ "& :hover .MuiAutocomplete-input": { minWidth: "30px" } }}

sx={{ "& :hover .MuiAutocomplete-input": { minWidth: "30px" } }}

True, that works for hovering over the input box in this specific scenario, however if you hover over the dropdown element or if you select an item then the Autocomplete will start resizing again.

Yeah that's annoying I think workaround is going to be awkward because of specificity. I'm also looking for a fix or workaround to this issue.

Yeah that's annoying I think workaround is going to be awkward because of specificity. I'm also looking for a fix or workaround to this issue. This bug means you can't use autocomplete in flexbox without setting a width.

Actually looking at the code my workaround is just missing the focused selector.
sx={{ "& :hover .MuiAutocomplete-input, & .Mui-focused .MuiAutocomplete-input": { minWidth: "30px" } }}

It's a regression from #41781. Created PR to fix it: #42452

@ZeeshanTamboli Is this going to be patched back to v5?

I'm still having the same issue
https://github.com/user-attachments/assets/3253efef-547b-48af-b9ef-43af596237fa
Thanks for the workaround

@mimccio Which version are you on?


Test suite doesn't exit with non-0 exit code if test suite failed

This means it's harder to use testing outside of a special Quark runner.

Fixed by #237.


Raspberry pi Install failure with Python 3

Versions

Python: 3.5.3
OS: Raspian
Kivy: 1.11.1
Kivy installation method: https://kivy.org/doc/stable/installation/installation-rpi.html (pip)

Description
I am following the Raspberry Pi installation instructions here https://kivy.org/doc/stable/installation/installation-rpi.html using python3 (3.5) and a pretty wide range of cython versions at this point (0.29.10 as the site says, 0.28.5 as the 1.11.0 Kivy doc. here https://buildmedia.readthedocs.org/media/pdf/kivy/latest/kivy.pdf said, 0.26.0 from this https://github.com/kivy/kivy/issues/5530, and 0.29.12 (latest)) I think you get the idea... but every time I get to
to get the last release from pypi
python3 -m pip install --user kivy
to install master
python3 -m pip install --user https://github.com/kivy/kivy/archive/master.zip
it get the latest release but fails on the install master step. giving me the error below:
I did check related issues and seems to be some similar ones from a while back but I cannot find any solutions from them or the discord. I got desperate and tried installing with python 2 but it didn't work either (different error). I also tried, to no avail, the second option...
or clone locally then pip install
git clone https://github.com/kivy/kivy
cd kivy
python3 -m pip install --user .
Nothing seems to be working to install Kivy... am I missing  something or what is going on..?
Code and Logs
Error compiling Cython file:
   ------------------------------------------------------------
   ...
           <bcm.DISPMANX_RESOURCE_HANDLE_T>0, ##/src/,
           &(src._vc_rect),
           <bcm.DISPMANX_PROTECTION_T>0,
           <bcm.VC_DISPMANX_ALPHA_T >0, ##/alpha*/
           <bcm.DISPMANX_CLAMP_T >0, ##/clamp/
           <bcm.DISPMANX_TRANSFORM_T>0) ##/transform*/
           ^
   ------------------------------------------------------------

   kivy/lib/vidcore_lite/egl.pyx:682:9: 'DISPMANX_TRANSFORM_T' is not a type identifier
  building 'kivy.lib.vidcore_lite.egl' extension
  creating build/temp.linux-armv7l-3.5/tmp/pip-req-build-saqienp2/kivy/lib
  creating build/temp.linux-armv7l-3.5/tmp/pip-req-build-saqienp2/kivy/lib/vidcore_lite
  arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-6waWnr/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-req-build-saqienp2/kivy/include -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/usr/include/python3.5m -c /tmp/pip-req-build-saqienp2/kivy/lib/vidcore_lite/egl.c -o build/temp.linux-armv7l-3.5/tmp/pip-req-build-saqienp2/kivy/lib/vidcore_lite/egl.o
  /tmp/pip-req-build-saqienp2/kivy/lib/vidcore_lite/egl.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
   #error Do not use this file, it is the result of a failed Cython compilation.
    ^~~~~
   error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for Kivy

Update: I have finally been able to install, using the directions on https://github.com/kivy/kivy/issues/6413 however when I attempt to run the demos (/kivy/examples/3Drendering/main.py) I am still getting errors. Initially I was getting a 'cannot import name "bcm"' error, as well as a "No available video device" error. However after adding
os.environ['KIVY_GRAPHICS'] = 'gles' os.environ['KIVY_WINDOW'] = 'sdl2'
to the beginning of the demo file as #6413 used in their solution, which seems to successfully get rid of the bcm import error, however I still have the no available video device / unable to find any valuable window provider error shown below. I have also tried adding os.environ['KIVY_BCM_DISPMANX_ID'] = '2' to force to HDMI output as the install doc said but this has not solved anything.
`python3 main.py -d
[INFO   ] [Logger      ] Record log in /home/pi/.kivy/logs/kivy_19-07-16_10.txt
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "/usr/local/lib/python3.5/dist-packages/kivy/init.py"
[INFO   ] [Python      ] v3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516]
[INFO   ] [Python      ] Interpreter at "/usr/bin/python3"
[INFO   ] [Factory     ] 184 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_pil, img_gif (img_sdl2, img_ffpyplayer ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [Window      ] Provider <egl_rpi> ignored by config
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[DEBUG  ] [Window      ] Provider  ignored by config
[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - RuntimeError: b'No available video device'
File "/usr/local/lib/python3.5/dist-packages/kivy/core/init.py", line 71, in core_select_lib
cls = cls()
File "/usr/local/lib/python3.5/dist-packages/kivy/core/window/window_sdl2.py", line 152, in init
super(WindowSDL, self).init()
File "/usr/local/lib/python3.5/dist-packages/kivy/core/window/init.py", line 981, in init
self.create_window()
File "/usr/local/lib/python3.5/dist-packages/kivy/core/window/window_sdl2.py", line 290, in create_window
self.get_gl_backend_name())
File "kivy/core/window/_window_sdl2.pyx", line 110, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window (/tmp/pip-wheel-rxdsqi5z/Kivy/kivy/core/window/_window_sdl2.c:3877)
File "kivy/core/window/_window_sdl2.pyx", line 74, in kivy.core.window._window_sdl2._WindowSDL2Storage.die (/tmp/pip-wheel-rxdsqi5z/Kivy/kivy/core/window/_window_sdl2.c:3434)
[DEBUG  ] [App         ] Loading kv <./renderer.kv>
[DEBUG  ] [App         ] kv <./renderer.kv> not found
Segmentation fault
`


DOCKER:

Use the jdk15 base image.  Remove symlink hack for sudo for previous image.

Looks good.


chore: adjusted incorrect env variable

chore: adjusted incorrect env variable

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


[benchmark] Remove Python 2 logic

Found a few pieces of Python 2 code. Remove them since we are on Python 3 entirely.

@swift-ci smoke test

@swift-ci smoke test


Proposal: Officially support full list of virtual key codes

At the moment, the KeyEventArgs and KeyRoutedEventArgs provide a property VirtualKey to enable you to tell what key was pressed. This is an enum of type VirtualKey with possible values listed here. However, this list is missing many useful keys, that do actually have virtual key codes in the underlying Win32 API - see the full list here. I understand some may have been omitted because they don't have very good international support or something, but it's still important to be able to offer keyboard shortcuts using these keys where these keys exist, or if only targeting specific locales etc. Forturnately there is a workaround currently, which is just to cast the VirtualKey property to an int, then use that value to determine the key based on the Win32 list, since in fact the VirtualKey property doesn't seem to be limited to the actual set of enum values it officially supports.
I have a couple of suggestions to solve this, of which I don't really have a preference.

Add entries to the VirtualKey enum corresponding to all the extra values in the Win32 list.
Add an additional int property to KeyEventArgs and KeyRoutedEventArgs called VirtualKeyCode, which is simply what you get at the moment by casting VirtualKey to an int.

(One should also consider how this relates to the functions CoreWindow.GetKeyState and CoreWindow.GetAsyncKeyState.)
Whatever you do, please don't remove the workaround as I am relying on it!
Here are some examples of important keys which are missing: plus, minus (needed for Ctrl +/- zoom behavior), comma, period, and also media keys that exist on some keyboards.

@Austin-Lamb @codendone do you know where to route this one ?

Logged as an OS request (internal link).


Extension causes high cpu load

ritwickdey.LiveServer-unresponsive.cpuprofile.txt

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Linux x64 4.15.0-45-generic
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: /home/fran/ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello. few questions!!,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]

Thank You.


refactor:use method instead of friend in txn

Instead of using friend, use encapsulated methods to access members in a class.

pls,help to cr.
@AlexStocks


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter followthesun for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.followthesun
   -

ERRORS:

[x] :heavy_exclamation_mark: [E519] "@alcalzone/release-script" requires plugin "@alcalzone/release-script-plugin-license". Please add.

WARNINGS:

[x] :eyes: [W044] dependency should not require a specific version. Use "~1.2.3" or "^1.2.3" syntax. Please update "iobroker-jsonexplorer:0.1.16"
[x] :eyes: [W115] "common.tier" is required in io-package.json. Please check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/objectsschema.md#adapter.
[x] :eyes: [W162] js-controller 5.0.0 listed as dependency but 5.0.19 is recommended. Please consider updating dependency at io-package.json.
[x] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[x] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
[x] :eyes: [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[x] :eyes: [W515] Why did you decide to disable i18n support?
[x] :eyes: [W519] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
[x] :eyes: [W853] .npmignore found - consider using package.json object "files" instead.

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

HI @mcm1957, would be cool if https://adapter-check.iobroker.in/ provides the same result. There I only see three warnings
[W114] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[W115] common.tier is required in io-package.json
[W515] Why you decided to disable i18n support?

RE-CHECK!

I agree.
Problem is that the web based checker does not use the npm pacakge directly but requires a website rebuild which can be done by BlueFox only.
You can use the commandline version (npx) which uses the identical chacker as the repo bot and repository chacks.
https://github.com/ioBroker/ioBroker.repochecker#how-to-test-via-cli
Sorry for teh inconvienience. I will consider to trigger a website rebuild as soon as most of the opne issues of the chcker are fixed.

In addtion I will try to find a solution to trigger a rerun by users. At the meoment I do not known any passibility to watch changes to a issue without scanning all repository issues ... But maybe some exists - nut I will concentrate on the content of the checks first. So at the moment I can only suggest to use the npm.

using npx is fine - was not aware of this option

W044 and W515 are on purpose
W519 not needed
Value adding fixes done

Thanks for processing and closing this issue.
I will recheck for new issues later. So it's no problem if this issue has been closed premature.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.  Let's work together for the best user experience.
your
ioBroker Check and Service Bot

@iobroker-bot recheck

Thanks for contacting me.
I received your request to recheck this repository. I will start doing my work soon.
I will close an existing issue and create a new one if still any issues are to be evaluated and potentially to be fixed.
Thanks for spending your time and working at an ioBroker adapter.
your
ioBroker Check and Service Bot


Error "No servers configured" when using mastad0n's resolvers

Hi,
I've found that you still cannot use mastad0n's resolvers due to "No servers configured" error. This issue is present in both stable (2.0.6-1) and git (2.0.6.r0.g4e671cf-1) versions.
I've tried to toggle all the secure settings, add prefixes to the sources, change the load balancing strategy, play with different resolvers and names for both the sources and the cache files, and so far the issue remains.
Here there are the .toml and the service log: dnscrypt-report.zip
Maybe the way the resolvers.md file is processed is failing?
Thank you very much.

Let me know if there's anything I can do to help.
I've had this same issue and fixed it doing wget on the toml file straight from the repository:
https://github.com/jedisct1/dnscrypt-proxy/blob/master/dnscrypt-proxy/example-dnscrypt-proxy.toml
Are you using Arch Linux by any chance?
I'm asking because I think there's something going wrong from the package at AUR.

@jedisct1 could this be due to dnscrypt-proxy not running as root anymore?
@Caribpa could you show us the output of:

ls -ld /var/cache/private

In your logs it says dnscrypt-proxy is running as test-pc, maybe that folder is owned by a different user, like root?

Bingo:
caribpa@test-pc /tmp % ls -ld /var/cache/private
drwx------ 3 root root 28 mar  1 20:26 /var/cache/private

@Zirkelite could you help us?
I think something changed during updates because I've had the same issue before.
DynamicUser= is present in the latest systemd, and CacheDirectory= & LogsDirectory= are defined.
Yet I think some permission was left behind that makes it fail.

@mastod0n Sorry for the late reply.
I have only experienced this issue once, and it was between two beta updates. I don't know what causes it, but when it happened to me I was able to solve it by deleting the public resolvers cache file.

After trying many things, including @Zirkelite's suggestion, playing with /var/cache/private folder's permissions and the resolvers, nothing worked.
Some days after, I started to experiment with other settings in the .toml file and I found out the issue: @mastad0n's resolvers won't work with require_nofilter = true
That statement is a generalization because I haven't tried all the resolvers, only the USA, United Kingdom, Germany, Spain and Netherlands with everything in the .toml set to false and doh_servers = true & require_nofilter = true as follow:
# Use servers reachable over IPv4
ipv4_servers = true

# Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity
ipv6_servers = false

# Use servers implementing the DNSCrypt protocol
dnscrypt_servers = false

# Use servers implementing the DNS-over-HTTPS protocol
doh_servers = true

## Require servers defined by remote sources to satisfy specific properties

# Server must support DNS security extensions (DNSSEC)
require_dnssec = false

# Server must not log user queries (declarative)
require_nolog = false

# Server must not enforce its own blacklist (for parental control, ads blocking...)
require_nofilter = true

After this setup, the dnscrypt log said "No servers configured", as you can see here:
● dnscrypt-proxy.service - DNSCrypt client proxy
   Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/dnscrypt-proxy.service.d
           └─override.conf
   Active: failed (Result: exit-code) since Wed 2018-03-21 16:25:41 WET; 2min 2s ago
     Docs: https://github.com/jedisct1/dnscrypt-proxy/wiki
  Process: 15972 ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml (code=exited, status=255)
 Main PID: 15972 (code=exited, status=255)

mar 21 16:25:41 test-pc dnscrypt-proxy[15972]: Source [https://mastad0n.github.io/resolvers/v2/usa.md] loaded
mar 21 16:25:41 test-pc dnscrypt-proxy[15972]: Source [https://mastad0n.github.io/resolvers/v2/germany.md] loaded
mar 21 16:25:41 test-pc dnscrypt-proxy[15972]: Source [https://mastad0n.github.io/resolvers/v2/netherlands.md] loaded
mar 21 16:25:41 test-pc dnscrypt-proxy[15972]: Source [https://mastad0n.github.io/resolvers/v2/portugal.md] loaded
mar 21 16:25:41 test-pc dnscrypt-proxy[15972]: No servers configured
mar 21 16:25:41 test-pc systemd[1]: dnscrypt-proxy.service: Main process exited, code=exited, status=255/n/a
mar 21 16:25:41 test-pc systemd[1]: dnscrypt-proxy.service: Failed with result 'exit-code'.
mar 21 16:25:41 test-pc systemd[1]: dnscrypt-proxy.service: Start request repeated too quickly.
mar 21 16:25:41 test-pc systemd[1]: dnscrypt-proxy.service: Failed with result 'exit-code'.
mar 21 16:25:41 test-pc systemd[1]: Failed to start DNSCrypt client proxy.

The only exception I found is the anycast.md resolvers, so maybe there are some others but all @mastad0n's resolvers should be properly recognized.
If I use a secure and unfiltered configuration, as follow:
# Use servers reachable over IPv4
ipv4_servers = true

# Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity
ipv6_servers = true

# Use servers implementing the DNSCrypt protocol
dnscrypt_servers = true

# Use servers implementing the DNS-over-HTTPS protocol
doh_servers = false

## Require servers defined by remote sources to satisfy specific properties

# Server must support DNS security extensions (DNSSEC)
require_dnssec = true

# Server must not log user queries (declarative)
require_nolog = true

# Server must not enforce its own blacklist (for parental control, ads blocking...)
require_nofilter = true

This is the output of dnscrypt  when using public-resolvers.md:
mar 21 16:05:14 test-pc dnscrypt-proxy[15311]: [qag.me] OK (crypto v2) - rtt: 189ms
mar 21 16:05:14 test-pc dnscrypt-proxy[15311]: [scaleway-fr] OK (crypto v2) - rtt: 100ms
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: [2.dnscrypt-cert.securedns.eu.] the key validity period for this server is excessively long (365 days), significantly reducing reliability and forward security.
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: [securedns] OK (crypto v1) - rtt: 71ms
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: [2.dnscrypt-cert.securedns.eu.] the key validity period for this server is excessively long (365 days), significantly reducing reliability and forward security.
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: [securedns-ipv6] OK (crypto v1) - rtt: 71ms
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: [soltysiak] OK (crypto v1) - rtt: 88ms
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: [ventricle.us] OK (crypto v1) - rtt: 149ms
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: Server with the lowest initial latency: flatty.co (rtt: 63ms)
mar 21 16:05:15 test-pc dnscrypt-proxy[15311]: dnscrypt-proxy is ready - live servers: 30

And this is the output of dnscrypt when using @mastad0n's netherlands.md with require_nofilter = false:
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [dnscrypt.eu-nl] OK (crypto v1) - rtt: 69ms
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [dnscrypt.nl-ns0] OK (crypto v1) - rtt: 71ms
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [2.dnscrypt-cert.securedns.eu.] the key validity period for this server is excessively long (365 days), significantly reducing reliability and forward security.
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [securedns] OK (crypto v1) - rtt: 104ms
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [2.dnscrypt-cert.securedns.eu.] the key validity period for this server is excessively long (365 days), significantly reducing reliability and forward security.
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [securedns-ipv6] OK (crypto v1) - rtt: 71ms
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [dnscrypt.nl-ns0-ipv6] OK (crypto v1) - rtt: 101ms
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: [d0wn-nl-ns4] OK (crypto v1) - rtt: 69ms
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: Server with the lowest initial latency: dnscrypt.eu-nl (rtt: 69ms)
mar 21 16:03:32 test-pc dnscrypt-proxy[15245]: dnscrypt-proxy is ready - live servers: 6

As you can see they have in common these servers:
[2.dnscrypt-cert.securedns.eu.]
[securedns]
[2.dnscrypt-cert.securedns.eu.]
[securedns-ipv6]

And securedns.eu's servers are uncensored, which proves the issue.
The same applies to other servers like dnscrypt.nl also marked as uncensored.

I don't know why this issue is closed as it is still present in 2.0.8

@mastad0n 's lists really need an update. Servers are missing, but I also think that the stamps are not up to date.


Unexplained error when using on JRuby and log4r-gelf

Stack trace:
https://gist.github.com/3486823
From my examination, it shouldn't have anything to do with log4r-gelf. Something here relates to the initialization of JRuby UDPSocket, but I cannot put my finger on it exactly -- I would be very sad if this is a JRuby bug since I spent quite a long time trying to isolate it.
It looks like a concurrency problem, but it isn't, from my tests (tried ruby threads and Java Executors). It may be a concurrency problem with initialize vs send on the socket but I'm not sure.
Either case lazily initializing magically solved it.
I'll be happy if you also have some further input on why this might happen in the first place?
Thanks.

Thank you for the analysis! Since a similar change has been implemented in the past, I'll close the PR.


Error: it seems the symlink source is not there

~ ❯❯❯ brew cask install snip
==> Downloading http://snip.qq.com/resources/Snip_V2.0_5771.dmg
######################################################################## 100.0%
Error: it seems the symlink source is not there: /opt/homebrew-cask/Caskroom/snip/2.0b5771/Snip.app
~ ❯❯❯ brew cask install snip --force
==> Downloading http://snip.qq.com/resources/Snip_V2.0_5771.dmg
Already downloaded: /Library/Caches/Homebrew/snip-2.0b5771.dmg
Error: it seems the symlink source is not there: /opt/homebrew-cask/Caskroom/snip/2.0b5771/Snip.app

the same for cargo
» brew cask install cargo
==> Downloading https://static.rust-lang.org/cargo-dist/cargo-nightly-x86_64-apple-darwin.tar.gz
Already downloaded: /Library/Caches/Homebrew/cargo-latest.gz
Error: It seems the symlink source is not there: '/opt/homebrew-cask/Caskroom/cargo/latest/cargo-nightly-x86_64-apple-darwin/share/doc/cargo/LICENSE-APACHE'


Cannot apply instruction with classical bits

Environment

Qiskit Machine Learning version: 0.5.0
Python version: 3.11 (conda)
Operating system: macOS Ventura 13.0 (ARM/Apple Silicon)

What is happening?
Circuit is not returning the correct sampled value for EstimatorQNN with SparsePauliOp observable with 12 qubits. However I ran This Kaggle Example and it ran perfectly
How can we reproduce the issue?
# CIRCUIT
qubits = 12
circuit = qiskit.QuantumCircuit(qubits);
all_qubits = [i for i in range(qubits)]
circuit.h(all_qubits)
# Parametrisation
inputs = [qiskit.circuit.Parameter(f'x_{i}') for i in all_qubits]
weights = [qiskit.circuit.Parameter(f'w_{i}') for i in all_qubits]

for i in all_qubits:
    circuit.rx(inputs[i], i)
for i in all_qubits:
    circuit.cx(i, ((i+1)%12))
circuit.barrier()
circuit.h(all_qubits)
for i in all_qubits:
    circuit.rx(weights[i], i)
circuit.h(all_qubits)
circuit.measure_all()
circuit.draw('mpl')

Basically it did H → Rx → Entable → H → Rx → H on all qubits
With SparsePauliOp then observables = [SparsePauliOp.from_list([("Z" * qubits, 1+0j)])];
# ESTIMATOR
estimator_qnn = EstimatorQNN(
    circuit=circuit, observables=observables, input_params=inputs, weight_params=weights
)
init_inputs = algorithm_globals.random.random(estimator_qnn.num_inputs)
init_weights = algorithm_globals.random.random(estimator_qnn.num_weights)

# print(f"Number of input features for EstimatorQNN: {estimator_qnn.num_inputs} \nInput: {init_inputs}")
# print(f"Number of trainable weights for EstimatorQNN: {estimator_qnn.num_weights} \nWeights: {init_weights}")

estimator_forward = estimator_qnn.forward(init_inputs, init_weights)

print(f"Forward pass result for EstimatorQNN: {estimator_forward}. \nShape: {estimator_forward.shape}")

This returns a QiskitError: 'Cannot apply instruction with classical bits: measure' with the default Statevector sim method
What should happen?
An estimate value should come out as a list
Any suggestions?
I'm not sure where the error it it may just be me doing some very stupid mistake since the Kaggle ex ran and me changing the circuit didn't, so I apologise for that case in advance. Thanks for the library I'm really enjoying exploring it :)

So i might really be using this wrong, can you (/Anyone else) help me out with some Papers or applications of this? I can't seem to find much in the docs

Hey sorry i figured out how to use this it seems i was using it in the wrong context alltogether it's not meant to be a layer in an NN


Questions about the challange

Json file preparation.

There are 4 Json files used in the code, but only 2 are given in ./data_jsons. We produced instances_train2014_no_annotations.json by removing all the annotations in instances_train2014.json, and renamed instances_coco_minival.json from instances_val2017.json. Are these Json files properly prepared?

Baseline reproducing.

Using the same code and pipeline, we achieve a<EMAIL_ADDRESS>of 5.99% on the COCO 2014 train set and discovers 19 objects with a CorLoc of 94.13. The last two numbers roughly match which are given in the github page with 19 and 92.98, but the<EMAIL_ADDRESS>score differs. Though repeated the pipeline for several times, we cannot reproduce 7.40% results.
Except for this<EMAIL_ADDRESS>for K-means method in the paper is 3.34% and #disc. objs is 42, which matches neither of results our reproduced and given in the github page. Is there any difference between these three experiments?

Leaderboard & evaluation server

There are three metrics (i.e. #disc. objs, AuC, mAP) for the challange. Could you offer the detail of how the leaderboard will be set according these metrics? And when will the evaluation server open?
Thanks in advance.

@Con6924

Yes, your method is correct. We have uploaded these to the repo as well.
The discovery numbers depend a lot on the detector. Are you able to reproduce the numbers if you use our detector checkpoints? In the setup released in this repo, we use DINO features, and the K value in kmeans is set to 80. That's the reason the numbers differ from the paper. If you follow the exact settings in the paper, you should be able to reproduce the numbers. Let us know if that's not the case, and we will look into this further.
We will rank the discovery performance based on unknown auc and the detector performance based on mAP.

@learn2phoenix
Thanks for your answering!
And there's another question, you mentioned that

The next step is to train detectors for each of the discovered cluster and test the performance of this detector on COCO minival set.

but I failed to find corresponding code to train detector using clustering results.

@Con6924
Apologies for the late response.
While you can use any model, the sample code uses a KMeans model which is trained at
https://github.com/learn2phoenix/cvpr22_vplow_ow/blob/833c345a723a1e4472cd0b68cc7e24c441de40ec/cluster_feats.py#L73 or https://github.com/learn2phoenix/cvpr22_vplow_ow/blob/833c345a723a1e4472cd0b68cc7e24c441de40ec/cluster_feats.py#L83 and is used at https://github.com/learn2phoenix/cvpr22_vplow_ow/blob/833c345a723a1e4472cd0b68cc7e24c441de40ec/predict_cluster_ids.py#L71
I hope this answers your question


dockerTools.buildImage: fix two bugs introduced in c88337c9aca9d91804da7d1d05960c88e17455c9

Motivation for this change
The new docker.buildImage introduced a little over a week ago was not working in the case you provide a fromImage (plus perhaps some other conditions?).
This could use a test-case directly in the examples, which this PR doesn't provide.
cc @grahamc
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Lgtm sorry. Hopefully puffnfresh can merge it. I can’t right now.
Sent from my iPhone

On Dec 26, 2018, at 15:23, Darius Jahandarie<EMAIL_ADDRESS>wrote:
Thanks @puffnfresh.
@grahamc Any further thoughts here or is this good to go? docker.buildImage is pretty broken without this...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


"[Vue warn]: Maximum recursive updates exceeded" when using counter and custom rules

Reproduction
https://formkit.link/0d6e43747ccd6d7a5630c75f006814d6
Describe the bug
bug:
when add counter AND custom rule, the counter is updated too many times and  there is the following vue error message that appears in console log :
"[Vue warn]: Maximum recursive updates exceeded..."
expected:
the validation-rules should not have effect on the counter
Environment
• OS: Ubuntu
• Browser firefox
• Formkit beta 12

ok sorry for duplicate. should i close the issue ?


Ability to clear TextInput

Ideally a prop that controls whether the input isClearable along with firing the onClear handler when the icon is clicked.

 Add ability to clear TextInput


[SPARK-17738] [TEST] Fix flaky test in ColumnTypeSuite

What changes were proposed in this pull request?
The default buffer size is not big enough for randomly generated MapType.
How was this patch tested?
Ran the tests in 100 times, it never fail (it fail 8 times before the patch).

Test build #66531 has started for PR 15395 at commit 52b2b7d.

@zsxwing

Test build #66531 has finished for PR 15395 at commit 52b2b7d.

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

Merged build finished. Test FAILed.

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

JVM crash?

Test build #3317 has started for PR 15395 at commit 52b2b7d.

@davies I appreciate your efforts. I should have noticed this.

Test build #3317 has finished for PR 15395 at commit 52b2b7d.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

@zsxwing Should I merge this one to make the jenkins happy?

retest this please.
This one has not yet passed.

Test build #3320 has started for PR 15395 at commit 52b2b7d.

@zsxwing All tests passed in previous try: https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/3317/consoleFull, I kicked another.

Test build #3320 has finished for PR 15395 at commit 52b2b7d.

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

LGTM. Merging to master and 2.0.


Update to Jquery 3.0 ?

It's a great custom builder you build, but could you please upgrade to jQ 3.0 ? :)

can upgrade to support the new version of jquery


BPMSPL-121 - Tests for UpdateTimerCommand

Created tests for UpdateTimerCommand with processes.

Due to the extensive use of timers, the test is going to be extremely unstable. I suggest you find a different way to do this, perhaps using some callback from the process itself.

Yes, we really can not use Thread.sleep in the tests. I believe there is a way to use a specific listeners which do get notified when the timer node gets executed. @mswiderski knows more.

totally agree, we should avoid Thread.sleep completely and try to utilize listeners that are backed by CountDownLatch to be more reliable. An example here: https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/StartEventTest.java#L129

@jakubschwan do you mind updating the tests to apply mentioned enhancements?

Yes, of course. I'm working on it. And thanks for advice

Changed tests. There are skipped tests for StartTimer and BoundaryTimer. In this cases UpdateTimerCommand didn't work (didn't change timer), so tests for StartTimer failed and test for BoundaryTimer expired.

fixed the boundary event and removed start event tests - see comment in https://github.com/droolsjbpm/jbpm/pull/370
closing this as https://github.com/droolsjbpm/jbpm/pull/370 includes both commits for tests and fix for boundary timer event.


Add ruby 3.2 to test matrix

I hope you don't mind, I did a more comprehensive update here, including deprecating EOL ruby and rails versions, and adding support for Rails 7.1:
https://github.com/bkroeker/temporal_tables/pull/29


fix(limits): remove short cpu flag

It conflicts with the global short config flag

Current coverage is 19.67% (diff: 0.00%)

Merging #216 into master will not change coverage

@@             master       #216   diff @@
==========================================
  Files            53         53
  Lines          3736       3736
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            735        735
  Misses         2900       2900
  Partials        101        101

Powered by Codecov. Last update d49acf0...fc96f23

Make sure to update any docs as well

also I think we should ditch the memory short flag if CPU is getting it removed

also I think we should ditch the memory short flag if CPU is getting it removed

I like short flags, but I can see how it would get confusing.

@helgi Actually, I think I'm okay with leaving -m because --memory is pretty long and annoying to type. What do you think?

We can, I just feel like that's inconsistency is all


API for acquiring types

We should provide a way for others to ask for types that Salsa will fetch.
We use bower.json and package.json as sources for fetching types, but Cordova projects have an additional source config.xml which lists plugins that also need types. We don't want to check config.xml for all projects, nor be dependant on the structure of config.xml going forward. But we should allow Cordova to parse it themselves and send us a list of libs that they want types for.

This looks like an extensibility point for discoverTypings. Related to https://github.com/Microsoft/TypeScript/issues/6508

//cc:@weswigham


bump crdoc to 0.6.2

Signed-off-by: Alexey Roytman<EMAIL_ADDRESS>

Can you explain why it is required? I don't see any impact on the generated documentation.

Can you explain why it is required? I don't see any impact on the generated documentation.

There were a lot of updates of third party dependencies of crdoc. Some of the updates fixed security vulnerabilities.
You cannot see or are not assumed to see any impact on the generated documents because the crdoc code was not changed.


Suffered below error messages!!!

-----@cloudshell:~/GoogleResourceInventory (delta-coast-******)$ ./collect.py -r gcs -r gke
Traceback (most recent call last):
File "/home/miktsai/GoogleResourceInventory/./collect.py", line 19, in
from google.cloud import compute_v1
ImportError: cannot import name 'compute_v1' from 'google.cloud' (unknown location)

Seems that you do not have the necessary package. Did you ran the pip3 install -r requirements command?


Failed to start Flat File Import Service: Error: Unsupported platform: darwin

Trying to install sql .mdf in azure data studio on Mac m1 but facing this error.
Failed to start Flat File Import Service: Error: Unsupported platform: darwin

@Darshkuma123 please share the version of both Azure Data Studio and import extension, also the build flavor (intel, apple silicon or universal) .

@Darshkuma123 please share the version of both Azure Data Studio and import extension, also the build flavor (intel, apple silicon or universal) .

Hi @alanrenmsft
I face the same problem, and I am going to provide the needed data
Version of Azure Data Studio

Version of import extension

And my build flavor is Apple M1 Pro

I'm on the M1 MacBook Air and I'm getting the same problem. I also happen to be using SQL Server Import v1.5.3
Here's a screenshot of my error message which seems to be identical to what Darsh is getting:

Hello @stateout  I also was getting the same error as you and build is same as @Shatha-Naami . I found a work around  by installing mcr.microsoft.com/azure-sql-edge but facing a new error. Not able to establish db connection through ODBC

@alanrenmsft my build is same as @Shatha-Naami

@aasimkhan30 is this a dupe, if so please link them and close this one.

Hi, getting the same issue when connecting to Azure SQL.
Failed to start Flat File Import Service: Error: Unsupported platform: darwin
My version:
MacBook Air M2, 2022 13.0.1, Azure Data Studio Version: 1.40.1
Works on my intel based MacBook Air 2015 when connecting to the same database.

Hi, getting the same issue when connecting to Azure SQL. Failed to start Flat File Import Service: Error: Unsupported platform: darwin
My version: MacBook Air M2, 2022 13.0.1, Azure Data Studio Version: 1.40.1
Works on my intel based MacBook Air 2015 when connecting to the same database.

Hey Rakesh, I had a feeling that this Import Wizard was just not working for ARM64 systems. Knowing that this works on your Intel Mac confirms this hypothesis. Thanks for sharing!

@alanrenmsft , can you please verify it on your m1 mac? If it is working then please close this issue. Thank you!

@Darshkuma123 the issue has been fixed now.


Add a license

[Reposting issue #44.]  Can you add a license file to the project -- e.g. to remove any issues around including a copy of the spec tests in source distributions of Mustache implementations?  Thanks!

Project has a license nowadays (MIT).


Error if anonymous comments disabled

I've configured commento to just allow Google login. When I submit a comment, I get this error:
commento.js:formatted:424 Uncaught TypeError: Cannot read property 'value' of null
    at HTMLDivElement.E.commentNew (commento.js:formatted:424)
    at yn (commento.js:formatted:724)
    at kn (commento.js:formatted:728)
    at HTMLButtonElement.<anonymous> (commento.js:formatted:38)

The problem is at line 827 of commento.js:
      "anonName": $(ID_GUEST_DETAILS_INPUT + id).value,

$ID_GUEST_DETAILS_INPUT evaluates to null. I assume because the Guest name box is not there.

It doesn't work even when anonymous comments are enabled. The name textbox never shows, and trying to comment gives the error "One or more field(s) empty."

Eek yep this was an oversight on my part, fixed in 2e5026f7316a650d415e64c97e59f51cb0707af6 :)
@AlvaroDeMenard this sounds like a separate bug, please could you share an example of a page with this bug on with me and I will try and fix it?


How to insert entities with relations that have a unique column

How can one easily insert entities that have a relations that have unique columns?
So for instance the entities look like as shown below. How would you insert a thread entity? because the a User entity might already have been inserted in the database with another thread or message? In the ThreadRepository class I can make check to see if there is already a thread with a certain remoteId and either insert or update the entity, that would also insert or update the User entity which will throw an android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed exception. Upsert also doesn't work because the Id is generated.
@Entity
public class Thread {
	@Key @Generated
	long id;
	@Column(index = true, unique = true)
	String remoteId;
	@NonNull
	String subject;
	@OneToMany
	@NonNull
	List<User> participants;
	@OneToMany
	@NonNull
	List<Messages> message;
}

@Entity
public class Message {
	@Key @Generated
	long id;
	@Column(index = true, unique = true)
	String remoteId;
	@NonNull
	String message;
	@NonNull
	@OneToOne
	User sender;
}

@Entity
public class User {
	@Key @Generated
	long id;
	@Column(index = true, unique = true)
	String remoteId;
	@NonNull
	String name;
}

If remoteId is always unique why not use it as the primary key for the table? Otherwise yes you will have to check if the remoteId exists for all entities you are attempting to insert before inserting them.

Is there a way to do something with @PrePersist lifecycle callback? like retrieving the Id or something?

@PrePersist will not know the generated id.

Closing for now, I think if you combine making the remoteid the primary and key with the upsert you can avoid having many redundant checks for existing unique columns in your case


Calendar not rendering

Describe the bug
After trying to open the calendar, I'm met with an empty view.
Screenshots

Console Errors

Device info (please complete the following information):

OS: Windows
Plugin Version 0.9.5
Obsidian Version 1.1.9

Hi @Educorreia932, what other plugins do you have installed?

Hi @Educorreia932, what other plugins do you have installed?

The ones in the pictures were the ones I had installed, but after a reload of the plugins it started working again.


Correction for raw affiliation 3Department of Statistics, University of Montpellier Lapeyronie Hospital, UMR 729 MISTEA, 371 Av. du Doyen Gaston Giraud, 34090 Montpellier, France

Correction needed for raw affiliation 3Department of Statistics, University of Montpellier Lapeyronie Hospital, UMR 729 MISTEA, 371 Av. du Doyen Gaston Giraud, 34090 Montpellier, France
raw_affiliation_name: 3Department of Statistics, University of Montpellier Lapeyronie Hospital, UMR 729 MISTEA, 371 Av. du Doyen Gaston Giraud, 34090 Montpellier, France
new_rors: 03xzagw65;051escj72;01pd2sz18
previous_rors: 03xzagw65;051escj72
works_examples: W4403596984
contact: 728b16246acfe5c4f4274a4cbdb6be39:9c4899d05953908d6684bf2453d7b6717eb4 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


[NavigatorIOS] Adding the ability to change the title bar font.

Allows custom fonts for NavigatorIOS title.

Cool! Definitely a good feature. For API I think it might be better to have a single titleStyle prop that acts like the normal style prop:
<NavigatorIOS
  style={{ fontFamily: 'Helvetica', fontSize: 10 }}
/>

That is generally the approach used for the API of other react native components.

I hope this gets merged. :)

Updated the component to use titleStyle instead of separate props.

Note that this will be a breaking change as I also combined titleTextColor into the titleStyle.

ping @ide

+1

Could you demo these props in the UIExplorer to show them off and also test them?

@lloydho Thanks for the revisions. Looks great!
@nicklockwood @a2 do one of you want to give this a quick look-over before merging it?

We could definitely separate font styles for the title and the rightButton and leftButton titles.
Should be specified in initialRoute.

@lloydho The process for merging PRs has been recently changed and improved so it should be quicker to merge them. Could you rebase your commit?

This looks great, however we're using titleTextColor in quite a few of our apps, and I imagine other people are as well.
Rather than removing the titleTextColor prop, can you keep it, but mark it as deprecated in favor of titleStyle, and add a console.warning if it's used?

+1
We could really use this little tweak.

ping @nicklockwood

bump

@lloydho - can you rebase this and ping myself and @ide? we can review and merge

Since UINavigationController supports arbitrary views to be used as the title, I think a better approach here might be to add a titleView property that can be an arbitrary component.
That way, if you wanted styled text for the title, you could just provide a <Text/> component with its own styles.
It's a bit more complicated to implement it this way, but it's not really any harder to use for the developer, and it's a lot more flexible.There's an example of this approach in the MapView component, where I added the ability to provide custom views for the annotation pins and callouts.

+1 @nicklockwood totally agree esp that hybrid apps that use UINavigationController with titleView can then look and work the same in RN and  pure native

Sorry, it's probably unfair of me to derail this at such a late stage with a wildly different solution.
I've no objections to landing this as-is and then working on a view-based solution later. The two approaches won't conflict, and we can just deprecate titleStyle at some point if it becomes a burden to maintain both solutions.

Any chance this will land in the 0.18 release? I'm working on an app that will be going out in a week or two and I'd love to use this!

@aflanagan We'll cut 0.19-rc around that time which you could try.

@brentvatne and @ide

@facebook-github-bot shipit

This is a great addon, when will it get merged?

I'm not sure why it failed to land after @ide shipped it. I'll look into it

@nicklockwood ping

:+1:

@mrspeaker would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

@mrspeaker please ignore this silly bot

(The bot cc's someone who might be familiar with the code, based on blame info. We should probably change this to cc the person who commented the most on the PR other than author.)

Merging based on @ide accepting the PR and Nick saying:

I'm not sure why it failed to land after @ide shipped it. I'll look into it

@facebook-github-bot shipit

Failed with a merge conflict. Can you rebase please?

@lloydho would you please rebase this per @mkonicek's request? Pretty sure you were the "you" he was talking to :8ball: ...

Failed with a merge conflict. Can you rebase please?

This pull request hasn't seen activity in a while. If you still want to merge this, please open a new pull request.

This never shipped because of a rebase...? 😰

Feel free to take it over as a new PR! We're still happy to ship it if anyone is willing to own it


(maybe) examples: Use the kube-addon-manager on static clusters

Use kube-addon-manager to create Kubernetes addons on static Kubernetes clusters, rather than a systemd unit and curl script

Background:
The on-host kubelet, configured with --pod-manifest-path=/etc/kubernetes/manifests, creates and syncs pod manifests onto the host node. The kube-addon-manager pod ensures /etc/kubernetes/addons manifests are created on the cluster (such as kube-dns and heapster). The kube-addon-manager can be added to the controller pod-manifest-path. One will run on each controller (though one per cluster would suffice).
Pros:
The kube-addon-manager is a bit better than the curl scripts it replaces. It periodically syncs and retries and uses kubectl to create different resources. It elevates manifest creation failures from a journal log on the host to something visible in kubectl logs.
Cons:
However, it does add yet another gcr.io image to fetch (EDIT: that image is huge, 255MB are you kidding me!), and its not much more than a shell script itself.
Note: This is only even plausible on static Kubernetes clusters. In self-hosted clusters, the idea is to break away from pod manifests on the host and kube-addon-manager is not a good fit.
@pbx0 thoughts? I'm thinking maybe we fork the addon-manager and make it tiny or leave the curl scripts we had.

For now, I'm going to close this. I'm not entirely happy with kube-addon.


PPTP-426: implementation for display registration details

I've created registrationDetails object to contain only strings. This way we'll display the data with same format as data coming from EIS. If we'll require to map data to our registrations model (to have same types as registrations journey), then there are few questions to answer, such as: format of dates?  address mapping? etc.

all renamed to subscriptions


Can't set region other than profile region

Hi everyone!
I can't identify whether problem is on my side or it's an issue in the module.
I'm using the module as a part of my own module
and I'm creating a couple of buckets and all of them get us-west-2 region despite what I'm passing as region var.
Code in my module ./modules/repo/main.tf:
module "s3-bucket" {
  source  = "terraform-aws-modules/s3-bucket/aws"
  version = "1.9.0"
  region = var.bucket-region

  bucket               = "${local.pfx}-${var.bucket-name}-${var.env}"
  acl                  = "private"
  attach_public_policy = false

  versioning = {
    enabled = true
  }

  tags = local.tags
}

Main code ./main.tf :
module "repo-dev" {
  source = "./modules/repo"
  bucket-region = "us-west-2"   // <---------- that's created as expected
  env    = "dev"
}

module "repo-production" {
  source = "./modules/repo"
  bucket-region = "us-east-1"   // <---------- that's dropped to 'us-west-2'
  env    = "production"
}

terraform plan reportings are fine, but after terraform apply both buckets have region us-west-2.
It must be said that I'm using us-west-2 as an AWS provider setting:
provider "aws" {
  version = "~> 2.35"
  profile = var.profile
  region  = "us-west-2"
}

But the docs says that bucket region will override profile region:

region   (Optional) If specified, the AWS region this bucket should reside in. Otherwise, the region used by the callee.

Could you please point me out what I'm doing wrong?
Thanks!

I just ran into this issue, and it appears that this was changed upstream to a read-only attribute: https://github.com/terraform-providers/terraform-provider-aws/pull/14127
I believe it can now only use the profile region as you indicated.

Oh, thanks!
So using different providers for each region can be a solution
like posted by @endofcake in https://github.com/terraform-providers/terraform-provider-aws/issues/1656#issuecomment-331324669


[ISSUE #2041] Method call passes for non-null parameter

Fixes #2041 .
Motivation
Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.
Modifications
Describe the modifications you've done.
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@joyhuangComing you need new issue at the issue page, don't associate with the pr #2041

ps: you don't need to close this pr.


[APK Management Server to Agent Client Communication] Finalize Data Related to User Flows and Data Structures

Description:
This is to finalize the data related to the user flows defined in https://docs.google.com/document/d/1F15zHzHi8ercomq5J3yR8P6TjkVWhhUQ1lnOF4_JCcU/edit?usp=sharing

Document - https://docs.google.com/document/d/1opdltBxJIkz3Tn_CsxXbHI7RrhmsXaSgZAq27oayr_s/edit?usp=sharing

Tasks -

[ ] Runtime API to k8s server - API deployment
[ ] DevPortal DS to Mgt server - API creation, Apps, Subs, Policies


coverage

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0167966). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #21   +/-   ##
=========================================
  Coverage          ?   62.15%
=========================================
  Files             ?       10
  Lines             ?     1612
  Branches          ?        0
=========================================
  Hits              ?     1002
  Misses            ?      610
  Partials          ?        0

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


2.0 create a React.js and Redux app

@danroth27  who can write an outline for this article? @fiyazbinhasan  has volunteered to to write it. cc @scottaddie

@SteveSandersonMS Can you help out with this and the docs for the other SPA templates?

Yes, though we are going to change some things for 2.1 so it might be best to wait until that plan settles.

This is being addressed in #4919.