Additional feature/fixes needed for demo

@hausdorff @jessicayuen
(This is going to be continuously updated as I go through the demo---it's almost there but there are still parts missing or questionable).

[ ] Vendor path
ks apply and ks default don't work for components generated from the incubator prototypes--this is because vendor/ is not included in the default jsonnet lib paths. I'm not sure if root.go needs to be modified to include it or somewhere else; either way, I don't think it'll be a difficult fix.

[ ] Prototype parameter defaults (less pri)
Alex, if I didn't mishear you yesterday, it sounded like prototype parameter defaults are supported with a syntax along the lines of local namespace = import 'param://namespace/default';?
However, looking through prototype/specification.go, it seems like the default field of any given ParamSchema is hardcoded to nil.
I'd prefer to be able to have defaults for the demo, but can also work around it (hackily) if need be. Just let me know what you have bandwidth to do by this afternoon.

@jessicayuen @abiogenesis-now I'd like to move this to two different issues. Since you're in an urgent meeting I hope you don't mind if I just do it.

yah that's fine, feel free to close this or modify however you please

Alright, @jessicayuen @abiogenesis-now let's add vendor/ to the ksonnet path. This will involve two steps:

Adding vendor/ to the -J paths in ksonnet/ksonnet
Changing all prototypes to import "incubator/whatever/whatever.libsonnet" to use import "whatever/whatever.libsonnet" instead.

I'll update the issue. If something sounds wrong we can re-work the issue again.

@hausdorff wait I think it works fine if prototypes use import "incubator/whatever/whatever.libsonnet" in their definitions? e.g. because of the directory structure they need that registry prefix

One more thing. Right now vendor/ has the registry name baked into the file structure. So imports are of the form vendor/incubator/nginx. This is a mistake. It complicates everything (e.g., renaming registries) and is not materially useful for the dependencies themselves.
So, we need to flatten it out, THEN we can do the second step.
I'll update the issue.

Bumping down to p1. Flattening the vendor/ directory is not our highest priority right now.

ksonnet adds vendor to the jsonnet path.


Lacking string -> enumerable

 Issue by davhdavh
Friday Aug 28, 2015 at 10:13 GMT
Originally opened as https://github.com/gsscoder/commandline/issues/232

There seems to be no support for NOT depending on the OS parsing of the arguments string.
In my case, I am parsing a command line from a chat program.

 Comment by gsscoder
Friday Aug 28, 2015 at 20:04 GMT

@davhdavh,
this is true. Simply splitting by whitespace is not the same than the actual work performed by a terminal.
I think that terminal call some platform specific API.
This will be a cool enhancement and will be scheduled when it reaches stable status.
I've already reasoned of it in past, but nobody asked for it. I think too it could be useful! :)
Thanks for posting it! (Please be patient until -> stable). :+1:

 Comment by gsscoder
Tuesday Sep 01, 2015 at 03:05 GMT

Command Line actually include some source file with Paket.
These files are not included in the git repo, but you can get it from a terminal:
$ cd CommandLine
$ .\packages\Paket.1.19.7\tools install

As said in first post, I can't accept PR of type enhancement until beta becomes stable (and fit in this state without serious issues for a some time, to be fair).
I've not done a detailed code review, but in general keep in mind that 2.0.x was born for rewrite the kernel in functional style.
Your pre-tokenizer could be in static class with a static member: PreTokenizer.Tokenize(string) : IEnumerable<string>.
Could be public or we can add a ParseArguments overload that accepts a string instead of a string[].
But please wait for stable... Anyway thanks for your ideas and work. :)

 Comment by gsscoder
Saturday Sep 05, 2015 at 15:20 GMT

@davhdavh, thanks for great discussion and contribution :)
will re-start it after stable is released.
:+1:

 Comment by davhdavh
Tuesday Sep 01, 2015 at 04:27 GMT

That's fine, you have the code for the actual parsing when you need it.
Plus tests for them.
You can find a linux-type parser at
http://sourcecodebrowser.com/glib2.0/2.25.7/gshell_8c_source.html for
inspiration (it is vastly more complex than the two I made)
On Tue, Sep 1, 2015 at 10:05 AM, Giacomo Stelluti Scala <
<EMAIL_ADDRESS>wrote:

Command Line actually include some source file with Paket.
These files are not included in the git repo, but you can get it from a
terminal:
$ cd CommandLine
$ .\packages\Paket.1.19.7\tools install
As said in first post, I can't accept PR of type enhancement until beta
becomes stable (and fit in this state without serious issues for a some
time, to be fair).
I've not done a detailed code review, but in general keep in mind that
2.0.x was born for rewrite the kernel in functional style.
Your pre-tokenizer could be in static class with a static member: PreTokenizer.Tokenize(string)
: IEnumerable.
Could be public or we can add a ParseArguments overload that accepts a
string instead of a string[].
But please wait for stable... Anyway thanks for your ideas and work. :)
—
Reply to this email directly or view it on GitHub
https://github.com/gsscoder/commandline/issues/232#issuecomment-136560905
.

Dennis

 Comment by nemec
Saturday Jan 30, 2016 at 03:08 GMT

Sounds like this is intended to be worked on after stable is reached.
We had a discussion on the string->string[] parsing in #270. Using CommandLineToArgvW directly would limit the library to Windows though. Our best best to maintain backwards compatibility would be to write a parsing algorithm (in C#) that matches the behavior of CommandLineToArgvW as closely as possible and add an additional overload to the Parse method that takes a single string.

 Comment by Mizipzor
Thursday Jan 28, 2016 at 13:03 GMT

Does the 2.0.x-stable label mean that this issue has to be solved for the 2.0 branch to become stable, or that the issue wont be worked on until 2.0 is stable?


Craft and Published step by step for update content with VSCode

As a Carbon for IBM.com contributor,

I need a way to learn how to Editing Update content with VSCode,

so that I can contribute back to the Carbon for IBM.com without trouble.

Note

We need to create step by step guidelines to support adopters, so they know how to install tools and fork the repo.

The "update content with VSCode//Editing Update content with VSCode" from Carbon can be viewed here.

The "Making regular content update" section does currently not exist on our website yet. Once the step by step content is ready, we will add it to the Documentation page.

Steps

[ ] How to update content with VSCode content crafting is done.
[ ] Asset image creation is done
[ ] Publishing with markdowns is done (website repo wiki).
[ ] QA'd by Jenny
[ ] "Making regular content update" content is added to the live website
[ ] Web page preview is approved by Linda, Jeff, and Wonil
[ ] Web page is published

Acceptance criteria

[ ] "How to update content with VSCode" page and content is added to the website repo wiki.
[ ] The "Making regular content update" section content is added to the Documentation page and live on the website.

@jeffchew This task is created based on our Slack channel. This documentation is the "good to have" for adopter support. It will be great if a developer can create the step by step document (or collaborate on this with a designer - if needed) on our team.

@jeffchew This task is created based on our Slack channel. This documentation is the "good to have" for adopter support. It will be great if a developer can create the step by step document (or collaborate on this with a designer - if needed) on our team.

@janchild to assess

Closing in favor of https://app.zenhub.com/workspaces/carbon-for-ibmcom-5d449f3642eb1962336cbe52/issues/carbon-design-system/carbon-for-ibm-dotcom-website/1047


Removing refresh token generation when using grant type 'refresh_token'.

Fix for #2731 commited in rev. cf38394 introduced a new bug. After the fix refresh token is generated for all grant types, including refresh_token grant type, which is wrong.
This fix removes refresh token generation for "refresh_token" grant type.

Thank you very much for the contribution. Outstanding work. Keep 'em coming!


cluster admission policy: default to default policyServer explicitly

When no policyServer is provided in a cluster admission policy,
default it to the default one that will have been created when
installing Kubewarden.
This, along with
https://github.com/kubewarden/kubewarden-controller/pull/94, makes it
explicit to see to what policy server every policy is bound just by
listing them.

I think with https://github.com/kubewarden/kubewarden-controller/blob/9d0d1a02817eb12f82fffd5ea4a792b15cd35baf/apis/policies/v1alpha2/clusteradmissionpolicy_types.go#L27 is enough. That we don't need a webhook for this (we are reusing an existing one, so it wouldn't be that bad anyhow).
I'm confirming because certainly when retrieving the resource I see the policyServer: default correctly set, but I don't know if this is persisted with the default, or if it's defaulted on every read (I would prefer that the defaulted resource is persisted).
Closing in the meanwhile, I think we don't need this.

More information on : https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#defaulting
I have confirmed that after creating a clusteradmissionpolicy without a policyServer, the https://github.com/kubewarden/kubewarden-controller/blob/9d0d1a02817eb12f82fffd5ea4a792b15cd35baf/config/crd/bases/policies.kubewarden.io_clusteradmissionpolicies.yaml#L198 CRD defaulting feature is storing the defaulted version.
I checked by looking at the sqlite3 database of a k3s with k3d cluster.


Add Logging to VersionedCcaCommander

Added logging messages for undo and redo methods in VersionedCcaCommander to adhere to defensive programming principles.

LGTM


Unable to detect compiler type error on package installation on Windows 11 with VSCode

Expected Behaviour
Running yarn succeeds without errors
Actual Behaviour
Running yarn fails with the following
PS C:\Projects\project-folder> yarn
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[-/3] ⡀ waiting...
[2/3] ⡀ cpu-features
warning Error running install script for optional dependency: "C:\\Projects\\project-folder\\node_modules\\cpu-features: Command failed.
Exit code: 1
Command: node buildcheck.js > buildcheck.gypi && node-gyp rebuild
Arguments:
Directory: C:\\Projects\\project-folder\\node_modules\\cpu-features
Output:
C:\\Projects\\project-folder\\node_modules\\buildcheck\\lib\\index.js:133
        throw new Error('Unable to detect compiler type');
        ^

Error: Unable to detect compiler type
    at new BuildEnvironment (C:\\Projects\\project-folder\\node_modules\\buildcheck\\lib\\index.js:133:15)
    at Object.<anonymous> (C:\\Projects\\project-folder\\node_modules\\cpu-features\\buildcheck.js:5:12)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

Done in 44.88s.

Testcontainer Logs
Probably not relevant
Steps to Reproduce

Have a windows machine without regular Visual Studio installed (VSCode is the only IDE)
Try to run yarn on a project with testcontainers

Environment Information

Operating System: Windows 11 Pro 22H2
Docker Version: Docker version 20.10.22, build 3a2c30b
Node version: v18.15.0
Testcontainers version: 10.2.1

Extra Details
After digging into the error source code, it looks like buildcheck is not able to find any VisualStudio installations. I guess it looks for some sort of compiler that goes together with some of the versions. But if I don't have any regular Visual Studios installed and only using VSCode - is there any other pre-requisite that I can install?

Hi @AxTrusov, cpu-features is an optional dependency of ssh2, for this reason you can skip it:
npm install --omit=optional

u not install docker,u can try install docker


[FLINK-25880][Docs] Implement Matomo in Flink documentation

What is the purpose of the change

This PR removes the current Google Analytics web analytics tracking from the Flink documentation and replaces it with the ASF hosted Matomo installation, as discussed on the Dev mailing list https://lists.apache.org/thread/kv0mf1y9cq4cdsf4jkq3gb6jo7b81cq3

Brief change log

ef12918d1aa00b4c529f34a5a7ed6a1edd79c920 Removes Google Analytics implementation
0b1ad7917d4839b0226cb874702ed4089a91e706 Adds Matomo setup. This was previously done for flink-web via https://github.com/apache/flink-web/pull/502 and https://github.com/apache/flink-web/pull/503

Verifying this change

You can inspect the network traffic in your browser using the Developer Tools. Right now, you'll see calls being made to the google-analytics.com domain. When checking ef12918d1aa00b4c529f34a5a7ed6a1edd79c920 you'll see that these calls are no longer made.

0b1ad7917d4839b0226cb874702ed4089a91e706 introduces calls being made to https://matomo.privacy.apache.org/ - This is where the self-hosted Matomo instance is hosted (on a VM provided by ASF Infra)

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable / the goal and what data is stored in Matomo is explained in the Privacy Policy on the Flink project website.

LGTM. This needs to be backported, right? Will you create PRs for those, too?

Yes, this needs to be backported and I'll create those.


Duplicate Scan Message

ITS-Pro time category: “Submission failed due to barcode already scanned. Scan another barcode.”
This is complete when:

[ ] The following message displays when a user scans a barcode that has been scanned by another user, "Submission failed due to barcode already scanned. Please scan another barcode.”
[ ] This screen displays for 5 seconds before returning to the scanning view
[ ] This screen has a yellow alert icon

Duplicate error screen and behavior done. Handed off to Mihir for integration with update scanData api.


[WIP] yubihsm setup (closes #174)

Adds a tmkms yubihsm setup command which will erase / factory reset a YubiHSM2 and then set it up with the roles described in #174, using the provisioning process added to the yubihsm crate in https://github.com/tendermint/yubihsm-rs/pull/174
Relevant background for YubiHSM2 concepts can be found on Yubico's web site:

Capabilities - HSM permissions (not actually OCap, sorry OCap fans). The access control model and best practices for these are described in the Effective Capabilities documentation.
Domains - logical partitions with the HSM device. All accounts will have access to all domains except the validator account will initially be restricted to domain 1.
Objects - keys (and other opaque objects) stored in the HSM. Authentication keys are a type of object and the capabilities (and delegated capabilities) they possess control what an authenticated user/service is allowed to do.

Roles

admin (all domains)

access to all HSM capabilities, including the ability to generate/import new keywrap / KEKs, or rotate authentication keys

operator (all domains)

generate new keys: asymmetric, HMAC (but not authentication keys or wrap keys, must be generated by admin)
import existing keys: asymmetric, HMAC, wrap
export/import existing asymmetric and HMAC keys under wrap
get opaque objects
get device information (e.g. storage used)
view the audit log (but not consume it)
attest asymmetric

auditor (all domains)

view the audit log
mark the audit log as consumed
change auditing settings
get device information
get opaque objects

validator (domain 1 only)

sign asymmetric (Ed25519/"EdDSA", ECDSA)
attest asymmetric
get device information

I would suggest avoiding too much customization of these roles to ensure future role-specific features added to the KMS can assume a standard profile.
Key / Password Derivation
This PR derives entropy for a BIP39 mnemonic (24-words, 256-bits, ala Ledger Nano) using randomness from the host OS as well as the YubiHSM2. Both inputs are concatenated and used as HKDF input key material to derive a 256-bit master secret which is encoded as 24 BIP39 words.
This master secret is used directly (i.e. after Yubico's PBKDF2) as the administrator password for the device, conferring all authority.
It is also used as input to a simplified BIP32-like algorithm for deriving symmetric secrets, including the passwords for all non-admin roles. Presently these passwords are encoded using Bech32 with unique HRPs (both so they're shorter and easily distinguishable).
Additionally, it derives an initial wrap key. This is the key to be used for making encrypted backups of objects generated within the HSM. The wrap key's derivation path is personalized with the key's object ID, with the idea that several wrap keys can be derived from the same master secret in the event one of them is exposed.
All of this ensures the "24 words" are all that's needed to initialize several YubiHSM2s as identical copies of each other (sans importing backups of generated keys).
Here is an example of the output from the presently implemented (WIP) setup process:
This process will *ERASE* the configured YubiHSM2 and reinitialize it.
The following authentication keys will be created:

admin     (key 1): shoot mistake near fever true talent barrel mention seven pond ripple embrace hospital receive gift vacant hollow delay enlist property fortune bracket quantum piece
operator  (key 2): kms-operator-password-10rj7hmm9h00j8pd50kjnmekm2zvr8c2hneulkkspp8jfdgwn54ls2dprl5
auditor   (key 3): kms-auditor-password-103z7xkqphp557euahzt9w3t7tqqjs8clfqkyrtnj9n9wu2fje5xqs65634
validator (key 4): kms-validator-password-12q2rs2s8x6f3skcd2lmv38pphanpanwjt4h0yxk47757vy9pfz5qc894q7

Are you SURE you want erase your HSM and reinitialize it? (y/N)

I've confirmed this works (although I have a few local changes to the yubihsm crate as well as this PR to push up).
Here is the profile it configures now:
yubihsm> list objects 1
Found 6 object(s)
id: 0x0001, type: authentication-key, sequence: 1
id: 0x0001, type: wrap-key, sequence: 0
id: 0x0002, type: authentication-key, sequence: 0
id: 0x0003, type: authentication-key, sequence: 0
id: 0x0004, type: authentication-key, sequence: 0
id: 0xfffe, type: opaque, sequence: 0

To break it down:
id: 0x0001, type: authentication-key, sequence: 1
This is the replacement admin key. It has a sequence ID of 1 because it replaces the original default admin key.
It has access to all domains and all capabilities.
yubihsm> get objectinfo 1 0x0001 authentication-key
id: 0x0001, type: authentication-key, algorithm: aes128-yubico-authentication, label: "admin:2019-02-23", length: 40, domains: 1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16, sequence: 1, origin: imported, capabilities: change-authentication-key:create-otp-aead:decrypt-oaep:decrypt-otp:decrypt-pkcs:delete-asymmetric-key:delete-authentication-key:delete-hmac-key:delete-opaque:delete-otp-aead-key:delete-template:delete-wrap-key:derive-ecdh:export-wrapped:exportable-under-wrap:generate-asymmetric-key:generate-hmac-key:generate-otp-aead-key:generate-wrap-key:get-log-entries:get-opaque:get-option:get-pseudo-random:get-template:import-wrapped:put-asymmetric-key:put-authentication-key:put-mac-key:put-opaque:put-otp-aead-key:put-template:put-wrap-key:randomize-otp-aead:reset-device:rewrap-from-otp-aead-key:rewrap-to-otp-aead-key:set-option:sign-attestation-certificate:sign-ecdsa:sign-eddsa:sign-hmac:sign-pkcs:sign-pss:sign-ssh-certificate:unwrap-data:verify-hmac:wrap-data, delegated_capabilities: change-authentication-key:create-otp-aead:decrypt-oaep:decrypt-otp:decrypt-pkcs:delete-asymmetric-key:delete-authentication-key:delete-hmac-key:delete-opaque:delete-otp-aead-key:delete-template:delete-wrap-key:derive-ecdh:export-wrapped:exportable-under-wrap:generate-asymmetric-key:generate-hmac-key:generate-otp-aead-key:generate-wrap-key:get-log-entries:get-opaque:get-option:get-pseudo-random:get-template:import-wrapped:put-asymmetric-key:put-authentication-key:put-mac-key:put-opaque:put-otp-aead-key:put-template:put-wrap-key:randomize-otp-aead:reset-device:rewrap-from-otp-aead-key:rewrap-to-otp-aead-key:set-option:sign-attestation-certificate:sign-ecdsa:sign-eddsa:sign-hmac:sign-pkcs:sign-pss:sign-ssh-certificate:unwrap-data:verify-hmac:wrap-data

id: 0x0001, type: wrap-key, sequence: 0
This is the initial wrap key generated by the setup process. It has full delegated capabilities, i.e. any object exported under it can be imported with any capabilities.
We might want to restrict that in the future (e.g. by scoping this key and any intentionally exportable keys to specific domains).
yubihsm> get objectinfo 1 0x0001 wrap-key
id: 0x0001, type: wrap-key, algorithm: aes256-ccm-wrap, label: "primary:2019-02-23", length: 40, domains: 1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16, sequence: 0, origin: imported, capabilities: export-wrapped:import-wrapped:unwrap-data:wrap-data, delegated_capabilities: change-authentication-key:create-otp-aead:decrypt-oaep:decrypt-otp:decrypt-pkcs:delete-asymmetric-key:delete-authentication-key:delete-hmac-key:delete-opaque:delete-otp-aead-key:delete-template:delete-wrap-key:derive-ecdh:export-wrapped:exportable-under-wrap:generate-asymmetric-key:generate-hmac-key:generate-otp-aead-key:generate-wrap-key:get-log-entries:get-opaque:get-option:get-pseudo-random:get-template:import-wrapped:put-asymmetric-key:put-authentication-key:put-mac-key:put-opaque:put-otp-aead-key:put-template:put-wrap-key:randomize-otp-aead:reset-device:rewrap-from-otp-aead-key:rewrap-to-otp-aead-key:set-option:sign-attestation-certificate:sign-ecdsa:sign-eddsa:sign-hmac:sign-pkcs:sign-pss:sign-ssh-certificate:unwrap-data:verify-hmac:wrap-data

id: 0x0002, type: authentication-key, sequence: 0
This is the initial operator key. Its authority/capabilities have not been configured yet.
yubihsm> get objectinfo 1 0x0002 authentication-key
id: 0x0002, type: authentication-key, algorithm: aes128-yubico-authentication, label: "operator:2019-02-23", length: 40, domains: 1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16, sequence: 0, origin: imported, capabilities: , delegated_capabilities:

id: 0x0003, type: authentication-key, sequence: 0
This is the initial auditor key. Its authority/capabilities have not been configured yet.
yubihsm> get objectinfo 1 0x0003 authentication-key
id: 0x0003, type: authentication-key, algorithm: aes128-yubico-authentication, label: "auditor:2019-02-23", length: 40, domains: 1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16, sequence: 0, origin: imported, capabilities: , delegated_capabilities:

id: 0x0004, type: authentication-key, sequence: 0
This is the initial validator key. Its authority/capabilities have not been configured yet.
yubihsm> get objectinfo 1 0x0004 authentication-key
id: 0x0004, type: authentication-key, algorithm: aes128-yubico-authentication, label: "validator:2019-02-23", length: 40, domains: 1, sequence: 0, origin: imported, capabilities: , delegated_capabilities:

id: 0xfffe, type: opaque, sequence: 0
This is a report of the provisioning process. It's serialized as a JSON document:
yubihsm> get opaque 1 0xfffe
{"version":0,"uuid":"a6b08187-29fc-4bcf-8655-dacc7c849685","hostname":null,"username":"bascule","date":"2019-02-23T22:46:01.394617Z","software":"yubihsm 0.21.0-alpha1"}

If there's anything else anyone thinks should be included in this report, let me know.

I'm removing WIP because it's functionally complete, except there are a few little details like the prompt to erase your device does not yet actually prompt you, and the report it prints when it's complete is raw debug output.
Otherwise, this implements the provisioning plan described above, and testing out the various roles so far they appear to be suitable for these particular functions.

I'll merge this for now. It seems like we are aware that the user prompt is not happening (will submit a follow-ip PR) and I trust Tony with regard to the key-derivation method.


How can I remove putio-sync completely on a Mac

Subject says it all.
I would like to install it fresh.

rm `which putio-sync`
rm -rf ~/.putio-sync

Thanks


Example testing

This should close #53, would be helpful if someone in could review my sloppy bash :smiling_imp:

Oh, man... I just realized I turned sudo back on in this PR, undoing b9322fd - @kytrinyx let me know if this is a major issue, I can switch to using EVM to install emacs instead of APT, it'll just require a little more tweaking.

I don't think the trailing ; are necessary and am not familiar with {...} (also likely unnecessary), but it looks like it gets the job done.

Turning sudo back on is not a major issue. It's the difference between using a container or not on Travis. Supposedly using containers is a little bit faster.


Also show rendered markup with code snippets

It might actually be more interesting in some situations to see the rendered markup than the code which generated it. Aiur should also be possible to show that. The proposed tabbed interface would help here, too.
Given:
' ' ' thymeleaf
<div th:replace="~{components/molecules/Complex.html :: Complex}"></div>
' ' '

One does not get a hint about the actual Markup here.

I don't think that a different syntax (' instead of ) is the right solution here. aiur allows you to register new engines. So you could register a jsxand ajsx-preview` Syntax. The first one just pretty-prints JSX and that's it. The second one creates a preview component as you can see right now.
What do you think?

ah, please don't mind the ' ' ' syntax, that was just meant to prevent the code block from being rendered wrongly 😅
I rather think having everything at a glance would be nicer - if you need to use a different rendering engine to see different results you might need to duplicate your component code? (one for render, one for code preview!?)


kicad: fix

Description of changes
wxWidgets requires Python 3.11, which kicad relies on. The safest bet here is to pin it to 3.11 until a new release of wxWidgets happens, in which case we can probably move back to 3.12.
This commit also contains some misc cleanup to make it easier to change the python version used.
Fixes #325952
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I have made very similar changes in my PR #325726 - I don't care which one is merged, you could take the feedback from mine by @jfly and interoperate it as well.

Duplicate of #325726, preferred that pull request, closing.


Tests: Remove duplicate skipped test

Maybe it's worth doing some CI checks on the test config, to avoid this, and make sure the tests actually exist in tree. :thinkies:

make sure the tests actually exist in tree

We will already fail if the test doesn't exist, by way of calling realpath on the test:
https://github.com/LadybirdBrowser/ladybird/blob/71ccaeda164dc493c1e7a201e0a5818f00f7bf67/UI/Headless/Test.cpp#L51


Use smartify filter

Requires Jekyll 3.1
Processes most strings with SmartyPants to replace characters with their fancy typographic equivalent.

What's the value of using Smartypants here? Aren't we actually XML escaping, since we're generating XML?

If there is a title like Pat's Blog, the smartify filter will substitute a real apostrophe and escape, so the output is Pat‘s Blog

Nice. 👍. Also double checked, per https://validator.w3.org/feed/docs/atom.html, that HTML entities are allowed for plain text fields.

I was wrong, smartify does not escape it's output. So with input Pat's Blog, it will output Pat’s Blog.
With this in mind, we probably want to keep xml_escape in there?

@jekyllbot: merge


Problem

Hey! Dont know if this is related but i have installed this and its giving me this error sorry for the troubles if its not related

and also i can not use basic commands like systemctl AND i get this error

sorry for the troubles

Hey! Dont know if this is related but i have installed this and its giving me this error sorry for the troubles if its not related  and also i can not use basic commands like systemctl AND i get this error  sorry for the troubles

To use Systemctl do this:

first download python3 and curl ( sudo apt install python3 , sudo apt install curl )

then download the systemctl file for that execute this command in the terminal curl -o systemctl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py

then chmod the systemctl file (chmod +x systemctl)

then execute it (./systemctl status ssh)

hey that first error is for VPS egg not ptero vm, pls use correct repo next time


Fixers don't work for Mako and Jinja2 in edge case

Thank you for creating a great plugin.
Describe the bug
JinjaAutoInspectFixer and MakoFilter  don't work correctly in this case.
To Reproduce
I fixed Environment and Template in  this code with fixers
Before:
from mako.template import Template
from jinja2 import Environment, PackageLoader

Environment(loader=PackageLoader(package_path='yourapplication',package_name='templates'))
Template(str(value='abc'))

After:
from mako.template import Template
from jinja2 import Environment, PackageLoader

Environment(loader=PackageLoader(package_path='yourapplication', package_name='templates', autoescape=True))
Template(str(value='abc', default_filters=['h']))

If an argument has keyword arguments then, Fixers insert an argument to nested argument.
the arguments have to be a top-level arguments
Screenshots

Additional context

Plugin Version 1.18.0
PyCharm Pro 2020.1.1
Python Version 3.8.0

Fix works really well, thanks for the detailed report


[BUG] - Failing Cypress tests in main

Describe the bug
The cypress tests are failing in main:
https://github.com/nebari-dev/nebari/actions/runs/9067624675/job/24914178045#step:17:159
Expected behavior
Testing passing
OS and architecture in which you are running Nebari
Linux
How to Reproduce the problem?
Run integration tests in the CI
Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
No response

   Check Nebari login and start JupyterLab:
 AssertionError: Timed out retrying after 4000ms: Expected to find element: `input.btn.btn-jupyter`, but never found it.

It is getting stuck on server selection screen:

Sounds like this could be related to Bootstrap 5 changes in JupyterHub 5. Maybe changing it to button.btn.btn-jupyter would be sufficient.

Sounds like this could be related to Bootstrap 5 changes in JupyterHub 5

Yeah, my hunch was that too.


Integration with TensorBoard

This could be a simple example of how to do it, since PyTorch users have already extracted it from TensorFlow as a whole (https://github.com/lanpa/tensorboardX, but that's just one example)

I'm wondering if we still want to do this in Jax itself.
Trax already has a TensorBoard integration (jaxboard):
https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/trax/jaxboard.py

I think we do not want to do this in JAX itself. We're starting to point more and more to trax as an example, and this is one more reason to do it. We could point to the TensorBoard integration specifically, but since trax mentions it prominently in its readme, I don't think that's necessary.


Errors in the TypeScript Mocha unit test template file

In both VS 2015 and VS 2013, adding a TypeScript Mocha unit test file will introduce errors to the project.
Screenshot:

As a workaround, installing typings for mocha, for example by using tsd:
tsd install mocha --save

Ensure the type definitions are referenced in the main file:
/// <reference path="typings/tsd.d.ts" />

The behaviour out of the box should not cause errors though.

Updated workaround using typings:

Install typings
In project directory, from the command prompt run $ typings install dt~mocha --global to get the mocha typings that tell Typescript about describe and it
In the unit test file, add /// <reference path="typings/globals/mocha/index.d.ts" /> to the top of the file

Not sure we can do this through the wizard, but you should just install the typings.


Adding a filter to hash a string to SHA256

I used more than once a filter to hash a string to SHA256. I could add it to the core extension, if other users could benefit from it.

Sounds good to me, just make a PR and I'll review it


Product with multiple options linking to weird URLs

Description

A product with multiple options such as "BIKINI" in the official demo.
Is linking to /detail/cfd673f71c294a9781f1fb7feab817c5 aka not a SEO processed URL.
Same issue with "Blue sapphire salt "Sel Bleu De Perse""
Possible Solution

Should SEO rewrite the URL even for variants.

There are already SEO urls for variants: https://www.shopwaredemo.store/ADELAIDE-3/SW10154.1
Perhaps the index wasn't created properly in your demo instance. You can trigger this via console:
php bin/console dal:refresh:index
But it should be done in the admin too after creating the variants. With 6.2 there will be an admin module for re-indexing the products via admin.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Fix minor typo in CONTRIBUTING.md

Found while I was taking some inspiration from the Issue and Pull Request Labels section :eyeglasses:
@izuzak Nice #8469 anyway :+1:

Nice catch!


MemoryError

Those errors occur in a large dataset, typically a tree with >300 leaves.
Traceback (most recent call last):
  File "/opt/conda/envs/python3/bin/csubst", line 283, in <module>
    args.handler(args)
  File "/opt/conda/envs/python3/bin/csubst", line 47, in command_analyze
    main_analyze(g)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/main_analyze.py", line 273, in main_analyze
    g = cb_search(g, b, S_tensor, N_tensor, id_combinations, mode='foreground', write_cb=True)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/main_analyze.py", line 108, in cb_search
    cb, g = omega.calc_omega(cb, S_tensor, N_tensor, g)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/omega.py", line 294, in calc_omega
    cb = get_E(cb, g, N_tensor, S_tensor)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/omega.py", line 193, in get_E
    EN_tensor = substitution.get_substitution_tensor(state_pepE, g['state_pep'], mode='asis', g=g, mmap_attr='EN')
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/substitution.py", line 60, in get_substitution_tensor
    sub_tensor = numpy.nan_to_num(sub_tensor, nan=0)
  File "<__array_function__ internals>", line 5, in nan_to_num
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/numpy/lib/type_check.py", line 480, in nan_to_num
    idx_neginf = isneginf(d)
  File "<__array_function__ internals>", line 5, in isneginf
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/numpy/lib/ufunclike.py", line 53, in func
    return f(x, out=out, **kwargs)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/numpy/lib/ufunclike.py", line 266, in isneginf
    return nx.logical_and(is_inf, signbit, out)
numpy.core._exceptions.MemoryError: Unable to allocate 149. MiB for an array with shape (981, 399, 1, 20, 20) and data type bool

Traceback (most recent call last):
  File "/opt/conda/envs/python3/bin/csubst", line 283, in <module>
    args.handler(args)
  File "/opt/conda/envs/python3/bin/csubst", line 47, in command_analyze
    main_analyze(g)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/main_analyze.py", line 273, in main_analyze
    g = cb_search(g, b, S_tensor, N_tensor, id_combinations, mode='foreground', write_cb=True)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/main_analyze.py", line 108, in cb_search
    cb, g = omega.calc_omega(cb, S_tensor, N_tensor, g)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/omega.py", line 294, in calc_omega
    cb = get_E(cb, g, N_tensor, S_tensor)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/omega.py", line 193, in get_E
    EN_tensor = substitution.get_substitution_tensor(state_pepE, g['state_pep'], mode='asis', g=g, mmap_attr='EN')
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/substitution.py", line 60, in get_substitution_tensor
    sub_tensor = numpy.nan_to_num(sub_tensor, nan=0)
  File "<__array_function__ internals>", line 5, in nan_to_num
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/numpy/lib/type_check.py", line 461, in nan_to_num
    x = _nx.array(x, subok=True, copy=copy)
numpy.core._exceptions.MemoryError: Unable to allocate 1.46 GiB for an array with shape (1317, 373, 1, 20, 20) and data type float64

Traceback (most recent call last):
  File "/opt/conda/envs/python3/bin/csubst", line 283, in <module>
    args.handler(args)
  File "/opt/conda/envs/python3/bin/csubst", line 47, in command_analyze
    main_analyze(g)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/main_analyze.py", line 273, in main_analyze
    g = cb_search(g, b, S_tensor, N_tensor, id_combinations, mode='foreground', write_cb=True)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/main_analyze.py", line 108, in cb_search
    cb, g = omega.calc_omega(cb, S_tensor, N_tensor, g)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/omega.py", line 294, in calc_omega
    cb = get_E(cb, g, N_tensor, S_tensor)
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/omega.py", line 193, in get_E
    EN_tensor = substitution.get_substitution_tensor(state_pepE, g['state_pep'], mode='asis', g=g, mmap_attr='EN')
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/csubst/substitution.py", line 60, in get_substitution_tensor
    sub_tensor = numpy.nan_to_num(sub_tensor, nan=0)
  File "<__array_function__ internals>", line 5, in nan_to_num
  File "/opt/conda/envs/python3/lib/python3.9/site-packages/numpy/lib/type_check.py", line 478, in nan_to_num
    idx_nan = isnan(d)
numpy.core._exceptions.MemoryError: Unable to allocate 183. MiB for an array with shape (271, 1774, 1, 20, 20) and data type bool

In my case with SGE, increasing allocated virtual memory like -l s_vmem 64G solved the problem.


Unresolved relative import error

I'm aware that there are other unresolved import error issues, but from what I've seen, none of them seem to cover the issue I'm running into.
Environment data

VS Code version: 1.35.1 (stable)
Extension version (available under the Extensions sidebar): 2019.6.22090
OS and version: Ubuntu 18.04
Python version (& distribution if applicable, e.g. Anaconda): 3.6.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A (though I have seen this occur even with a venv setup)
Relevant/affected Python packages and their versions: N/A
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Language Server ("python.jediEnabled" is set to false)

Expected behaviour
Relative imports in subdirectory of workspace /project folder should not result in a warning / error.
Actual behaviour
The relative import gives the warning "Unresolved import"
Steps to reproduce:

Create a new directory, let's call it test_import.
Setup the directory as follows:

test_import/
    |---abc.py
    |---tests/
            |---conftest.py
            |---test_sample.py

Contents of abc.py:
import tests.test_sample

class Dummy:
    pass

Contents of conftest.py:
class OtherClass:
    pass

Contents of test_sample.py:
import conftest
from conftest import OtherClass

class Tester(OtherClass):
    pass

Notice that the conftest import gives the "Unresolved import" warning message when you open the test_import folder in VSCode and open the test_sample.py file in the editor.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Microsoft Python language server.
[Info  - 3:35:29 p.m.] Analysis cache path: /home/var/.cache/Microsoft/Python Language Server
[Info  - 3:35:29 p.m.] GetCurrentSearchPaths /usr/bin/python3
[Info  - 3:35:30 p.m.] Interpreter search paths:
[Info  - 3:35:30 p.m.]     /usr/lib/python3.6
[Info  - 3:35:30 p.m.]     /usr/lib/python3.6/lib-dynload
[Info  - 3:35:30 p.m.]     /home/var/.local/lib/python3.6/site-packages
[Info  - 3:35:30 p.m.]     /usr/local/lib/python3.6/dist-packages
[Info  - 3:35:30 p.m.]     /usr/lib/python3/dist-packages
[Info  - 3:35:30 p.m.] User search paths:
[Info  - 3:35:30 p.m.] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 3:35:30 p.m.] Initializing for /usr/bin/python3

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
-> If the information provided above is not sufficient for investigating the issue, let me know and I will add the output from the Console panel as a separate post.

If test_import is a root directory, then import conftest is invalid for Python 3, cause none of the imports in test_sample.py are relative. Correct import code should be:
import tests.conftest
from .conftest import OtherClass

Ah right, thanks for pointing that out. The reason I thought this was wrong was because I had my PYTHONPATH setup in such a way that the imports gave no problems when the code was actually run.


LT shouldn't allow actions from keys that aren't mapped to a command.

It seems that some actions are sent directly to the editor and doesn't call any command.
For example, in vanilla LT, pressing the right arrow key will move the cursor right, without calling any LT commands.
The problem is described here:
(https://github.com/Frozenlock/describe-key/issues/1)
While this isn't such a big issue for this plugin, I fear this will cause many headaches to anyone trying to do anything with the keys/commands.
Furthermore, it seems that these command-less actions differ depending on your OS, making it that much difficult to develop for many OS.

Looking through old issues. Closing as this is a fair amount of work for questionable gain. Can reopen if interested in discussing this more


Test for 201, shell script for executing on docker, skip few tests for agent of org

test to cover 201 scenario of private EORI kickout screen
temporary changed to tags to skip execution of known issues
added shell script to run on dockerized chrome

I have purposely changed tags for few tests as we need clarity on Agent for Org journey and want to skip execution till decision is made and flow is fixed for the journey. Ket me know if there are concerns


Click on native notification ignores "On click, Mark as read" setting

It's excellent that clicking on native notifications now open directly in github, thanks for that ( #213).
It would be great if they are also marked as read.

👍  for this feature


Organize files by programming languaje and update README.md

I think having the files in folders can help when looking for a solution, as everybody generally has the language defined already and looks for a specific solved problem.

@spassarop 👍  like your contributions


how to start in a given index (ex: resume tutorial)

Hi,
I'm new to js, I would like to open the caroussel in a selected slideIndex. Looking to the code, it seams quite complex (probably to be compatible with older syntax???) for ex:
var AutoRotatingCarousel = function (_Component) {
  _inherits(AutoRotatingCarousel, _Component);
...}(_react.Component);

instead of
class AutoRotatingCarousel extends React.Component {} ???
Anyway, my problem is elsewhere : I'd like to pass slideIndex as a property and it seams I have to fork the project to be able to do it. Am I right? or is there a way I wasn't able to read from the code?
Thanks for the great library, I really appreciate it
Best regards

We appreciate you using it :)
I think you've looked into the compiled code. Not in the srouce code. See here https://github.com/TeamWertarbyte/material-auto-rotating-carousel/blob/master/src/AutoRotatingCarousel.js
It's a normal react component back when hooks didn't exist.
The component is an uncontrolled one. (more like a black box) The intend was to use it as it is as the material specs suggested. If you are new to react I would also recommend reading controlled vs uncontrolled.
https://reactjs.org/docs/uncontrolled-components.html
You can achieve making a component handle both but that that's generally harder then decide on one.
What is your use case to controll the index? If you just want to have a controlled slideshow I would suggest using the underlying swipeable views package and build your own.
https://react-swipeable-views.com/

Ok you're right, I was looking at the compiled code
thanks for redirecting me to those useful links.
Best regards


Use server-side rendering, redo frontend with hack.css

Mitigates really bizarre npm errors.
Closes #3
Closes #4

[ ] /contact page

here's how it looks on an iPhone 7


Fix a failed unit test on Windows

What is the purpose of the change
fix a failed unit test on windows
Brief changelog
IOUtilsTest.java 中 使用 System.lineSeparator() 替换 \n
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #1907 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1907      +/-   ##
============================================
- Coverage      49.4%   49.38%   -0.02%
  Complexity     4491     4491
============================================
  Files           558      558
  Lines         24346    24346
  Branches       4315     4315
============================================
- Hits          12027    12023       -4
- Misses        10474    10477       +3
- Partials       1845     1846       +1

Impacted Files
Coverage Δ
Complexity Δ

...om/alibaba/dubbo/rpc/filter/ActiveLimitFilter.java
77.77% <0%> (-11.12%)
5% <0%> (-2%)

...onfig/spring/extension/SpringExtensionFactory.java
65.38% <0%> (-7.7%)
8% <0%> (ø)

...ba/dubbo/remoting/transport/netty/NettyServer.java
71.42% <0%> (+3.57%)
9% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Poper placed incorrectly when created conditionally

I'm using react-popper to show my calendar item above input element if there is no space bellow. My code is pretty straight foward
<Manager>
            <Reference>
                {({ ref }) => (

                        <InputContainer width={this.props.width}>
                            <button tabIndex={-1} className='f4b-select-dropdown-button' onClick={() => this.onOpenDropDownClick()}>
                            </button>
                        </InputContainer>

                )}
            </Reference>
            <Popper placement='bottom-start'>
                {({ ref, style, placement }) => (

                        <DropdownHoc handleClickOutside={this.closeDropDown}>
                            {this.state.isOpened ?
{this.renderCalendar()}
 : null}
                        </DropdownHoc>

                )}
            </Popper>
</Manager>

When my component is at the bottom of the screen and I press the button, calendar is diplayed bellow the input and vertical scrollbar appears. When I start scrolling my calendar repositions itself above the input element. After closing and opening it again everything works. I have played around and found that if I render some hidden div with height that about the height of my calendar then everything works, something like this (div instead of null)
 {this.state.isOpened ?
{this.renderCalendar()}
 :

}
Is there an issue with popper react?

Thank you for your issue.
Unfortunately I can't answer to all the reported issues without a little help from you.
Please, make sure to follow the issues template when you submit a new issue, in this way I will already have all the informations needed to understand the problem and help you with it.
I'm closing this issue for now, but feel free to open a new one making sure to follow all the instructions!
Thank you for your understanding.

I'm scratching my head on how to actually use scheduleUpdate conditionally inside JSX with some state changes..

#190 has some good insights

I've read that other thread before posting my comment, and could not understand what is this mysterious
<DownShift onStateChange

I mean, where that THIS comes from? i googled onStateChange got nothing.
posted my question on stackoverflow

I replied to your StackOverflow question.


User home directory mounted on containers, AppData and GoDeps

This PR covers the following changes:

NDS-354: Added GoDeps support to apiserver and apictl to resolve build errors
NDS-350: Mount home directory on /home/ for every running container.
NDS-334: Moved stack data to an "AppData" subdirectory of user's home directory

Closing without merging.


[Byte Code] Implement a disassembler.

Implement a disassembler for the byte code. It should not be to difficult anyway.

Done. Closing.


Protobuf warnings in

The build of the mc-java-protoc contains the below warnings:
> Task :mc-java-protoc:test

`InterfaceGen` should > skip generation for types included in compilation but not requested to be generated STANDARD_ERROR
    Oct 05, 2022 7:32:48 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
    WARNING: The descriptor for message type ".spine.tools.protoc.msg.UserName" cannot be found and a placeholder is created for it

`InterfaceGen` should > not generate `UuidValue` insertion points for ineligible messages STANDARD_ERROR
    Oct 05, 2022 7:32:48 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
    WARNING: The descriptor for message type ".google.protobuf.Timestamp" cannot be found and a placeholder is created for it

Even though the root project applies ProtoData to all subprojects, descriptors does not seem to be generated under the build directory.
Applying buildSrc/.../ProtobufTaskExtensions.kt does not remove the warnings. Probably because desc.ref files are not added in the corresponding directories under the subproject.
The goal of this issue is to investigate the nature of warnings and address the cause.

@armiol, FYI.


Outdated OpenSSL

Hello,
The OpenSSL version used is 1_1_0f. Would it be possible to upgrade it to 1.1.1d?
Thanks

Hello @chmod750 ,
The install-script will automatically install openssl1.1.1d for you.

Hello @chmod750 ,
The install-script will automatically install openssl1.1.1d for you.

THanks for your reply. I noticed there is outdated usage in installation script. For example in kinesis-video-native-build/windows-install.bat:
if not exist "openssl-OpenSSL_1_1_0f" (     echo "Openssl doesn't exist, installing into %CURRENTDIR%"     if not exist "openssl-1.1.0f.zip" (         powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest https://github.com/openssl/openssl/archive/OpenSSL_1_1_0f.zip -OutFile openssl-1.1.0f.zip"     )

Ah! Understood. Good catch. Must have missed updating this while updating install-script with openssl1.1.1d. Will have a patch up soon for this. Thank you for pointing it out!


dependencies

can I have a list of dependencies? I've trouble with launch your py file,
for example No module named event_pb2

references to _pb2 relate to the use of protobuffs for replay buffer record/replay
you need to either 1) run protoc event.proto --python_out=. first (see README) or remove refs to the event_pb2 (i thought i had try: except: wrapped all the imports already sorry)


Failied when import with Swift Package Manager

Hi I'm getting this message:
because every version of PromisedFuture contains incompatible tools version and root depends on PromisedFuture 1.0.2..<2.0.0, version solving failed.

can you please add SPM support?


Removing edit button fix

It should remove redundancy in code.
Close #2254

I'm highly skeptical of this honestly

Waiting for a new release of ansys-sphinx-theme. @Revathyvenugopal162

I'm going to merge "blindly" because I cannot check without it getting online I guess????.....

@Revathyvenugopal162

It seems to work ok.
I am checking the changes. For example this link:
node — PyMAPDL (pyansys.com)

The edit on Github button takes you to the right file, but at the very top. Not to the right function. But it opens the editor.

The [Source] button takes you to the right function/class definition. So I would say it is more precise. But it just on "view mode" not editor.

I see a bit of redundancy, but I would probably keep both. However I would expect that the editor mode will take you to the right lines. But maybe it is not possible.

The source is fully on our control, so we could go to precise file, but edit this button is just a modification on pydata-sphinx-theme.


Training with object detection , Loss : Nan

Hello,
I'm working on object detection with Coco data ( two datasets 1855 images or 58661 images)
After some time I receive a Loss: NaN
What's the problem please knowing that I tested different datasets ?
Any suggestion please? , Thanks
System :window
Training on CPU
Batch size : 5 ~ 10

@michaelgsharp my best guess is there's overflow when calculating focal loss?
https://github.com/dotnet/machinelearning/blob/902102e23d9bd825c44f203390801d7cc5d0275f/src/Microsoft.ML.TorchSharp/Loss/FocalLoss.cs#L37

Is there a solution or suggestion?  please

@Cilouche which coco dataset are you using, could you share a link?

data : https://drive.google.com/drive/folders/1-dQPRdQ-MRp6mrPhnpng5pcgJsTZMg23 ,
I used this site https://drive.google.com/drive/folders/1-dQPRdQ-MRp6mrPhnpng5pcgJsTZMg23 to convert them to coco format

@Cilouche which site? The site link seems to be the same with the data you share

Yes sorry the site :
https://roboflow.com/convert/pascal-voc-xml-to-coco-json?ref=blog.roboflow.com
I've also noticed that once the database is large, there's a loss Nan
example:
data = 100,  epoch=8;  all is well except for the precesion is low ~ 0.69
but from data ~= 1200 images, epoch=  5, 8 , 11 ; losses converge rapidly towards Nan

Hey @Cilouche some updates here: I can't reproduce the NaN loss error using your dataset in the latest main branch. Maybe it's already been fixed in latest mlnet.
We haven't released model builder yet, but you can verify the latest bit in mlnet cli > 16.18.2 by installing mlnet-win-x64 and try object detection there
steps to verify

install the latest mlnet-win-x64 （https://www.nuget.org/packages/mlnet-win-x64)
start object detection there

mlnet object-detection --dataset /path/to/coco.json --device cuda --epoch 1

Any suggestion or solution to bypass this problem, please ?
Thanks

Try a smaller batch size, Maybe 1?

It's works with GPU thanks.


MDF_function_specifications updates

Looks good on live rtd site: https://mdf.readthedocs.io/en/development/api/MDF_function_specifications.html.
Ok to merge @davidt0x? Can be updated more of course...

Hey @pgleeson, think I fixed the issues on the branch with act-r functions if you want to merge those as well. Otherwise, we can do it in a separate PR. LGTM


Shell: "paste" does not work when browsing history

From pierre.raybaut on 2009-08-30T06:23:50Z
Interactive console:
when pasting text in the middle of the current line, text is pasted at the
end of the line and the old line contents are set as line's prompt...
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=15

From pierre.raybaut on 2009-08-30T04:32:21Z
Summary: Shell: paste/multiline paste does not work when browsing history

From pierre.raybaut on 2009-08-30T04:32:45Z
Summary: Shell: "paste" does not work when browsing history

From pierre.raybaut on 2009-08-30T06:13:51Z
fixed in v1.0.0beta4
Status: Fixed


Bump version for testing PR builds

Coverage remained the same at 70.833% when pulling 37f3f4034b15f44e1bc86846ba453f6573f84c04 on pr-build-testing into 939e8f9f3422c52edeaaa93f8d842e716f176a33 on main.


THi

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1aa6ae62-4dd8-3bdf-2f2c-f3f4a76e43b9
Version Independent ID: 1aa6ae62-4dd8-3bdf-2f2c-f3f4a76e43b9
Content: Formatting syntax reference
Content Source: docs/declarative-customization/formatting-syntax-reference.md
Service: sharepoint-online
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

Closing as lack of details on the actual issue.


Add Scene Props and Etc

Add Scene props and format defaults.

I see duplicate onLeft there, could you look?


AKS pipeline for RSM review app

Context
As part of rsm migration to AKS we need to be able to build and deploy rsm to AKS as a review app automatically via a github actions pipeline.
Changes proposed in this pull request
add in .github the actions and update workflow required.
output is made an array even though only one url to fit in with the generic scripts for smoke testing.
based on similar approach done in https://github.com/DFE-Digital/access-your-teaching-qualifications
Guidance to review
When a change to rsm can be pushed to the rsm repo and the workflow to build and deploy the app to AKS as review app works. This should co-exist with the existing rms app (non-AKS) current workflow.
Can be tested by after deploying app is accessible https://refer-serious-misconduct-pr-1234.test.teacherservices.cloud/
also use kubectl to see that refer-serious-misconduct deployment and pods are successfully running
Link to Trello card
RSM: add review apps to pipeline
Checklist

[ ] Attach to Trello card
[ ] Rebased main
[ ] Cleaned commit history
[ ] Tested by running locally

 RSM: add review apps to pipeline

close to delete workflow


fix(data): update Form types in createRouteAction.tsx

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

When you use the createRouteAction controller using the Form it returns without an argument, the types are set to never which results in an TS/IDE error.
This is because the typing incorrectly forces the return value based on if someone passes FormData as an argument which may not always be the case.
What is the new behavior?

Updates the types to use the correct return for the component while utilizing the type as a Union/alternate so the IDE or TS doesn't error, allowing users to still use the Form magic component without needing arguments.
Also fixes current actual type errors in the file from not using the unknown as pattern.

Other information

Example use case, when using Supabase Auth, the API's have to run on the client and signOut doesn't need arguments and to keep the UI a11y to all users, you should use a form for the button submission.
const [, { Form: SignOutForm }] = createRouteAction(async () => {
    return signOut()
  })

Yeah I guess we were trying to be too strict.


Add appropriate links to PR template.

Overview
Add links to appropriate sections of the contribution guide to the PR template.
Definition of Done

[x] There are no TODOs left in the code
[x] The continuous integration build passes

@vitvakatu ,
That's a log from a clean build (no caches):
$ rustup component add rustfmt-preview
info: downloading component 'rustfmt-preview'
info: installing component 'rustfmt-preview'
$ rustfmt -V
0.9.0-nightly ( )

Would you take a look please at why cargo fmt insists on the old formatting, failing the build? The master seems OK.

Travis passed ¯_(ツ)_/¯
I cleared caches on Travis and restarted build

Strange, I seemed to do the same to no effect (in this branch). Thanks!


Derive serialize for EmbeddingResponse

Describe the feature or improvement you're requesting
Hi. Thank you for adding derive serialize for ChatCompletionResponse.
I would also like to ask for this to be done for EmbeddingResponse as well :)
#[derive(Debug, Deserialize)]
pub struct EmbeddingResponse {
    pub object: String,
    pub data: Vec<EmbeddingData>,
    pub model: String,
    pub usage: Usage,
}

I would like that in addition to Debug and Deserialize, this one would also derive Serialize as well.
Additional context
Same motivation as in issue #69 (nice), but for EmbeddingResponse

https://github.com/dongri/openai-api-rs/pull/72/files
Added serialize
@o-agassizii please use v4.0.4

Thank you @dongri 😊


[eas-cli] improvements to eas env:exec command

Why
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests.
How
How did you build this feature or fix this bug and why?
Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

#2762  👈 (View in Graphite)
main

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


refactor!: Remove parent repo libraries

Removes any gems and references that belong to the opentelemetry/opentelemetry-ruby repository.
Fixes https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues/1

@robertlaurin Pushed up some fixes to deal with CI errors and updated the paths

Lots of minor comments around paths, do you want to handle that here or as a separate PR @arielvalentin

@robertlaurin I would rather fix them here.


UI: easier nav destination entry

RIP comma points? 😭

I have noticed that If you replace driver stats with the Navigation Pane and you then completely remove navigation from settings we lose the ability to quickly launch favorite navigation locations while on-road. The car has to be an off-road to see the new Navigation Pane. This leaves us only to input navigation addresses by phone (not as quick/not as easy). It would be nice to still somehow be able to access favorites/recents while on-road.


fix(oidc): Add missing groups attribute

When adding groups as scope to oidc settings file, the OidcUserInfo is missing this attribute

Thank you @alex198710


Add fees to claim trie transactions

Fees should be added to claim trie transactions, the same way it is done in this lbrycrd PR: https://github.com/lbryio/lbrycrd/pull/95

@kaykurokawa we can close this right?

@kaykurokawa  Can we close this?

Issue moved to lbryio/lbry #1442 via ZenHub


Memory Error

I keep getting this error
 File "C:\Users\test\Desktop\MemN2N-babi-python\demo\qa.py", line 55, in train
    train_story, train_questions, train_qstory = parse_babi_task(train_data_path, dictionary, False)
  File "util.py", line 37, in parse_babi_task
    story     = np.zeros((20, 500, len(data_files) * 3500), np.int16)
MemoryError

Hi reach2ashish,
Looks like it's related to "not enough memory" reported in the issue #3.

I have about 5 gigs of free RAM
Ill still test it on a higher RAM machine and get back to you
Thanks for the quick response.

Looks like it got resolved. Closing now.


SCSS Atom/Brackets parity

These are centered mostly on SCSS, as that's what we use at work. It's been incredibly slow today, so I've been more nitpicky with my port - at some point I'll try to go through the other languages and get them synced up as well, but that depends on my free time.. As an example, jQuery is quite a bit different than the Brackets version. Not bad, mind you. Just.. different.
Anyway, the only scss element not matched is one type of variable which Atom doesn't have a selector for. If the value of a variable is an integer or a hex value it will match, but not when the value is a string. For now I've left string values the same pink color as the hex value, rather than the white which Brackets uses -- and I doubt anyone would notice the difference unless they have them both open side by side like I'm doing.
Also:
-Fixed another super nitpicky issue with the indent guide / leading whitespace where selections would cause the indent guide to no longer match. I just copied the code you used for the whitespace selector and made the two identical.
-There was a broken link when I copied over the readme from the Brackets repo, because apparently I was on autopilot and added an 'atom-syntax' to the end of the link. (Sorry.)
Relatedly, I noticed the preview images are broken on the Atom theme page.  Which also must have been my doing. Everything was copied direct from the Brackets repo so that (in theory) the newer image previews would show.. but I don't know what the hell I did, because it clearly didn't work, lol. So all the image URLs have been restored to how you had them on Nov 28th.
So that said, the next pull req proably won't be for a bit, and I'll try not to write half a novel for ten lines of minor code changes the next time I do one.

Thanks! Didn't even check the GitHub screenshots. I do remember having an issue with them not loading the first time around when I ported the README to Atom.
A drastic change is coming to Brackets - red variables. It actually makes the SCSS quite pleasant to look at. PHP looks a bit different, not quite as cool, but much easier to instantly differentiate between HTML blocks and PHP blocks, since tags and variables won't be the same color anymore. Anyway, once I make that update, I'll work on a more extensive nitpicky sync. Then maybe I'll start using Atom...

Sounds good!
And this is sort of leaning towards general chatting, however:
I find myself using Atom at around an 80/20 split these days. When I got hired by [my employer which is very similar in size and scope to godaddy], the department was just phasing out Dreamweaver CS3 in favor of Brackets. Unfortunately, where they're a large corporation, we all get near identical (underpowered) windows 7 PCs, without the admin privs to install much. I found myself liking Atom more, so to use it I have to run it (and node.js to compile scss) from a zipped portable version extracted to a network drive.
I find Atom has greater momentum right now, both in terms of people switching over and in terms of development speed. It does seem that Brackets is faster/more responsive, however a lot of that may be due to not being able to set up Atom in the most optimal way at work. (To compile scss I have to use node.js to monitor a specific directory, and if I switch to another site I have to manually reconfigure which directory to watch and which to output css to.)
Anyway, I can go into more work-specific detail privately, as public pull req comments aren't really the place, but long story short I wouldn't be surprised to see Atom continuing to gain a lot more traction.

You're right, Atom is significantly more popular, and has more packages going in and more of a community around it. For me the speed really is the issue - I don't think it's your setup, because it's significantly slower than Brackets or Sublime on any computer I use. I'll have to give it another chance.

It should be significantly better and more similar, for jQuery and SCSS as well. It was a quick fix, but when I have more time I'll try to make it even better.

Awesome - I got the update when I got into work this morning (along with Atom's 1.9 beta) and used it for my current project/WIP (which is this awful thing). It felt like most of the day was dealing with a ridiculous amount of if/else statements, but the new variables definitely made them stand out / not get lost in the shuffle.
I didn't have time to compare the two theme versions side by side, but either way it looks perfectly fine even if it turns out that it's not identical to Brackets. ...which probably sounds like an odd thing for me to say given that my pull reqs were the nitpickiest shit ever, lol.


CHTC Changes

A smattering of improvements I found when adapting the module for CHTC.  Significant patches:

Make QR optional.
Make the printf-style debugging of credentials optional.
Avoid printing out the code twice.
Make HTTP basic authentication optional (as our provider does not support this).

Hi Brian. Thanks for the PR.
We're doing some more extensive refactoring and security fixes at the moment (check out the 'jens' branch for work-in-progress) so if you are willing/able to contribute we should maybe coordinate our efforts...
Regards
Will and Jens

Hi @jjensenral -
Yeah, there's going to be a few more fixes from me over the next few days.  If nothing else, the above PR flipped a conditional inadvertently when I was tidying up the code before PR.  I've also found that CILogon uses an & in their device codes, which, as there's no proper URL encoding of the requests, causes the whole thing to fail.
Regardless, onward and upward!


Only do an autoupdate after an ongoing transaction.

This needs at least django 1.9
Fixes: #2248

Nice. One suggestion to @ostcar.
@ThomasJunk Can you please test if this fix works for you?

Does the trick :+1:

I tested successfully this pull request:
After creating new motion there are no openslides.motions.models.DoesNotExist any more as reported in #2248.
@ostcar Thanks. Please look at Norman's suggestion. Then we can merge it.

Please rebase.


Enhancement: Convert keywords to UPPERCASE

Could sql-formatter convert all SQL keywords to UPPERCASE? This makes it easier to quickly read through large SQL scripts.

As a purely display kludge...
.hljs.pgsql .hljs-keyword {
    text-transform: uppercase;
}

Are the authors (@nene I think?) open for PR? I can contribute this one :D it should be simple as there is already a format function for keyword I think?

Related PR: #22

Related PR: #22

Uppercasing is now supported in 3.1.0 release.

Uppercasing is now supported in 3.1.0 release.


[BUG]Gallery can't change page smoothly

Flutter Version:
Flutter 1.9.1+hotfix.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 68587a0916 (10 weeks ago) • 2019-09-13 19:46:58 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0
Test Devices:

phone model is MI6/Android  9

Google Pixel2/ Android 9

code:
master branch
Thank you!

I also tested in some other devices (same Flutter version as described in the issue):

Mi A2, Android 9: Works perfectly.
LG G7 ThinQ, Android 8: Hard to change the pages.
Pocophone F1, Android 8: Really hard to change the pages.

@criswonder states here that this happens when the page is zoomed in, but for me it doesn't make any difference.

Issue is also present on iOS, I tested it with iPhone 11 Pro Max

photo_view: 0.4.2 is available on android

same as for me.
device is galaxy a50
photoview version 0.9.0

Ok, looks like a widespread bug among users, but I was not successful to reproduce it in any of my devices (Redmi Note 7 and iPhone 7). Once I get some time I will look into it.


[Bug] Crash with a segmentation fault on Apple M1 Metal device

I'm using a TVM model into a Swift app. The way I do it is that I code all the TVM related stuff in C++ using the libtvm_runtime.dylib and then call it from Swift. The model I have is targeted for Metal. Everything is working fine when I run the app from the CLI, but crashs when I run the tests. Please note that the CPU version of the model works as expected including during the tests.
Expected behavior
Tests are working with the Metal version of the model.
Actual behavior
The Metal version of the model crashs when running the tests.
Environment
OS version: MacOS Monterey 12.4
Architecture: arm64 M1
TVM version: Commit 8d4f4dd73ff2d762ade38aa0f9e8e9fba5f933da
Steps to reproduce
Difficult to reproduce but I can give many details. The call that crashs in my code is:
tvm::runtime::Module gmod = this->model.GetFunction("default")(dev);

Where dev is defined by:
DLDevice dev = {kDLMetal, 0};

I have also made so screen shots of the stack trace. First call:

Second call:

Third call:

Fourth call:

also on OpenCL CPU


Update README.md to reflect valid PHP version

Update contents of the file to reflect valid PHP versions, Fixes #145

Summary
No-ops change, just an update on the docs.
Use Cases

Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.

@oscarnevarezleal You have to sign and submitted the Contributor License Agreement. There's a CLA bot but it doesn't seem to work on a few repos including this one. Can you take a look at https://github.com/paketo-buildpacks/.github/blob/main/CONTRIBUTING.md#how-do-i-become-a-contributor?

/easycla

Yay CLA ;-)
@oscarnevarezleal You should be able to follow the above link

Thank you @arjun024.
I've signed the CLA.

Thanks


Do not use 'latest' as a tag anywhere

It isn't immutable, and so will cause issues due to confusion about what is actually running in places - already has bitten us a few times.
Also add a 'build-and-populate.bash' script that'll build an image and pre-pull it on all kubernetes nodes in current context. It'll also refuse to build on a dirty git repo, so we know exactly what we're building.

Yeah, we can find the magic incanations for Azure + Azure container registry or Amazon + Amazon Container Registry when we play with them.


NPC command

A simple commands that shows where an NPC is located on the map, job, items sold and bought and travel destinations.
Option on what to show as image and location

Map location as embed's image, NPC image as embed's thumbnail
Map location with NPC image on NPC's spawn point


Notification Feature

#828
All changes and additions related to the notifications.
I've already written a documentation which I would paste to the wiki, see  gist

Codecov Report

Merging #917 into develop will decrease coverage by 0.71%.
The diff coverage is 33.69%.

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

This pull request was merged with 34d06c0cff3bdb643c76b125af286fc1f8a3194c and previous. Thank you very much!


Update request: jdt-language-server 1.26.0 → 1.28.0

Package name: jdt-language-server
Latest released version: 1.28.0

Current version on the unstable channel: 1.26.0
Current version on the stable/release channel: 1.26.0

[ ] Checked the nixpkgs pull requests

Notify maintainers

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

already covered by #279285

done in https://github.com/NixOS/nixpkgs/pull/279285


Preprocessing the spider dataset leads to different file sizes.

HI All,
I am currently trying to preprocess the provided basic spider data. After executing the data_preprocess.py and sql2SemQL.py files, the file size is 20,819KB which is less than the actual processed file (39,030KB) provided by the authors. I also get the same error message ("column * table error" ) on the column, for 72 queries.
Do you have any pointers on why do we get this error for 72 queries?
Thanks,
Anshu

HI All,
I am currently trying to preprocess the provided basic spider data. After executing the data_preprocess.py and sql2SemQL.py files, the file size is 20,819KB which is less than the actual processed file (39,030KB) provided by the authors. I also get the same error message ("column * table error" ) on the column, for 72 queries.
Do you have any pointers on why do we get this error for 72 queries?
Thanks,
Anshu

Hi Anshu,
Could you find a solution to the problem? Even I am facing this similar issue. The preprocessed train.json file provided by the authors has some more data (labels/ keys) when compared to the train.json file which I am manually preprocessing.
I also faced the same error message as yours for the 72 queries.
Let me know if anyone can help me.
Thanks,
Kanishk


Write software listing page template

Write a page that lists all steen software;

Uses the same style as the homepage mockup;
Route is: steen.web/software;
Has a functioning search bar;
Must show software title, a short/cut description, release date;
Contains at least 5 example games;

TL;DR: Same as #14 but it's software

All software and games will be displayed in steen.web/apps instead


worker process exited on signal 9 occasionally in kong proxy pod resulting API calling failed

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
3.0 and 2.5
Current Behavior
In OCP 4.10 cluster, We deploy kong as API gateway. In kong pod, there are 2 containers,  one is kong 3.0 from https://github.com/Kong/docker-kong, and the other is ingress 2.5 from https://github.com/Kong/kubernetes-ingress-controller. When POST/GET metric-api via kong, most completed successfully but occasionally failed with HTTP RC 502. When checking kong  log for the failed HTTP POST, it will be found that a worker process (here is 31 ) signal 17 (SIGCHLD) received from 31 and then worker process 31 exited on signal 9:
<IP_ADDRESS> - - [25/Oct/2022:12:39:39 +0000] "POST /myapp/metric-api/v1/metrics HTTP/1.1" 200 1 "-" "curl/7.29.0"
<IP_ADDRESS> - - [25/Oct/2022:12:39:40 +0000] "POST /myapp/metric-api/v1/metrics HTTP/1.1" 200 1 "-" "curl/7.29.0"
2022/10/25 12:39:41 [notice] 1#0: signal 17 (SIGCHLD) received from 31
2022/10/25 12:39:41 [alert] 1#0: worker process 31 exited on signal 9
2022/10/25 12:39:41 [notice] 1#0: start worker process 33
2022/10/25 12:39:41 [notice] 1#0: signal 29 (SIGIO) received
2022/10/25 12:39:41 [notice] 33#0: *740012 [kong] init.lua:290 only worker #0 can manage, context: init_worker_by_lua*
2022/10/25 12:39:41 [notice] 33#0: *740013 [kong] init.lua:290 only worker #0 can manage, context: init_worker_by_lua*
<IP_ADDRESS> - - [25/Oct/2022:12:39:42 +0000] "POST /myapp/metric-api/v1/metrics HTTP/1.1" 200 1 "-" "curl/7.29.0"
<IP_ADDRESS> - - [25/Oct/2022:12:39:43 +0000] "POST /myapp/metric-api/v1/metrics HTTP/1.1" 200 1 "-" "curl/7.29.0"

More info:
Kong works in db-less mode.
The worker process number in kong is 2.
No OOM/OOMKill or memory growing or recreating found in kong pod.
Kong pod memory requests/limits is 512M.
Expected Behavior
Expecting all API calling is successful and no worker process exit resulting API service is not available.
Steps To Reproduce
No response
Anything else?
No response

Pod-level OOM statuses apparently only appear if the system killed PID 1 in the container, which the worker isn't.
You'd need to search through the journal or other host system logs regardless to pin down the issue. AFAIK there aren't any cases where the gateway code (really, NGINX, as it's the code that manages the workers) will send SIGKILL to workers, so it's presumably coming from outside.
512M is, however, quite low for a production Kong container. I don't have the current recommendations on hand, but I've seen Kong instances consume upwards of 2G quite often. Do you have historical metrics showing the Pod memory usage?

Thanks @rainest for your comments!

really, NGINX, as it's the code that manages the workers

Yeah, actually we are suspecting this is coming from the NGINX main process where it will send SIGKILL to one worker for some reason, then start a new one after that. We haven't checked journal or system logs, which is a very good idea. We are going to setup an env to reproduce the issue and check the logs. This will help us understand what happens w/ the worker.
On the other hand, I am a bit confused, given that worker die and renew is common thing in real world, why Kong (or really NGINX) can not shift requests to other workers, to avoid service unavailable like returning 502. Is it an issue of Kong, or NGINX, or something could be solved at k8s level, e.g.: increase replicas for HA?

512M is, however, quite low for a production Kong container.

This is not the production env, but our testing env internally. If 512M is not a good start, maybe we can increase it.

can not shift requests to other workers, to avoid service unavailable like returning 502. Is it an issue of Kong, or NGINX, or something could be solved at k8s level, e.g.: increase replicas for HA?

Beyond my knowledge of how the gateway internals work; someone from that team may be able to answer better. I can at least confidently say that additional Kubernetes replicas wouldn't help though. You should have multiple to handle Pod restarts and the like, but the availability of other pods will have no bearing on the internal state of its neighbors.
Workers generally shouldn't die outside of expected scenarios (e.g. if you run kong reload). Determining why the kernel is terminating and addressing that should be the best approach here.

Checking with the host system's kernel log (dmesg -T) is a good idea, whether it's a OOM kill or a sefgault
it will leave some trace there. And it will be good for further investigation. Usually nginx won't send signal
9, you can safely assume it's from outside.

Yeah, ultimately we found that's caused by OOM kill which indicates that we need to increase the memory for kong proxy.

Thanks @rainest and @fffonion for your quick and professional help. Since root cause is found, I would like to close this now.


[GraphScope/Docs] Add overview of GIE

As titled.

https://alibaba-graphscope-build-pr-2403.surge.sh/


Failing over a VM with a  NIC with multiple IP addresses is not supported.

The support matrix has no mention of the following scenario.
Failing over a VM with a NIC with multiple IP addresses is not supported.  Only the primary IP will be kept upon failover.
When failing over, the configuration takes the primary IP address on the NIC when replication is configured.  When failover occurs, the new VM in the target region will have the Primary IP address of the NIC in the source region.  Post-failover configuration tasks will need to be performed to add additional IPs to the NIC for the target VM.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 34d0f2df-de85-c6ab-eb01-f8e028b7f108
Version Independent ID: 5acb187c-f280-5c7d-14fc-7f07160cd50b
Content: Support matrix for disaster recovery of Azure VMs between Azure regions with Azure Site Recovery
Content Source: articles/site-recovery/azure-to-azure-support-matrix.md
Service: site-recovery
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@corporateg Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@rayne-wiselman can you review this for possible enhancements to the refrerenced doc?


naming for multiple inverter

Hi,
I have two of the HMS-800W-2T and want's to request both inverters.
I tried it with configuring the normal and the nightly version. Is there another possibility?
The other thing is, it overwrites the other in HA, because of the serial is not complete in the naming:

Where I can edit it, that I have only the last 6 for example of the serial?
Thanks

Hi @Hobo2k,
I found a way doing that. You have to build docker image or simple run the publisher with rust after you adjusted the hard coded MQTT topics in the simple_mqtt.rs.
On my end I now have two docker containers running with different MQTT topics which do not overwrite each other anymore.
I would also appreciate a build in solution which can handle multiple inverters in parallel.
Cheers

I also have two docker and mqtt instances with different ports running.

you can use my PR for that - I had the same issue and fixed the naming by using suffixes. Unfortunately still not merged due to concerns regarding breaking changes....
[https://github.com/DennisOSRM/hms-mqtt-publisher/pull/94]


Only run After hooks if the Before hooks ran.

@campersau Running only if we know the setups were run.

Looks like this addresses point 3 but what about point 2 from https://github.com/thomhurst/TUnit/commit/3286de308d91246e6d999dc016b883d213547116#commitcomment-149172613 ?
If you have two tests one with SkipAttribute and another one manually throws a SkipTestException then the TearDown also isn't called because the SkipAttribute one does not get decreased in the instance tracker.

Because ExecuteStaticAfterHooks is only called in ExecuteTest
https://github.com/thomhurst/TUnit/blob/4fb354f2b1da47537982e6c93ce82202ade94087/TUnit.Engine/Services/SingleTestExecutor.cs#L225
Which means TearDown isn't called.

@campersau Hopefully all better in 0.3.20


Update kubespray.md

Rename hosts.ini to inventory.ini

@lushndm can you please sign the CLA ?

/assign

@lushndm Thank you for your contribution. Please sign the CLA so we can accept your PR for review.

I signed it

@Atoms can you review this change for technical accuracy?  Simply add a /lgtm if it is correct and I can take it from there.  Thanks!
/cc @Atoms

/lgtm

Hi @bradtopol ,
I checked https://github.com/kubernetes-sigs/kubespray/pull/4447/files.
As per https://github.com/kubernetes-sigs/kubespray/pull/4447/files the updated made by @lushndm seems technically correct.
Please state your approval.
/lgtm

/approve


Update shallowRenderer.js

Fixes element.type is not a function error in RN 0.56. https://github.com/fram-x/FluidTransitions/issues/54

@chrfalch Can we merge this PR so we have RN 0.56 compatibility?

Sorry, @todorone - been away on vacation, will hopefully have some time this week to fix!

@chrfalch No problem, thanks for Your work on such amazing animations-oriented navigator...

Thanks, @KingTayTay, @todorone and @pedrobullo :-)


Show more info for all workflows

Fixes #224.

It was failing due to a bug in npm. I updated the workflow to get around the issue by removing node_modules and package-lock.json, then running npm install, then continuing as usual.

Fixes #32 as well.


Fix update subscription address

@aamyot
admin users are now able to update a subscriptions ship/bill address and a success/error message is flashed.
because addresses in solidus are read only (also the reason why update wasn't working in v2), i tried a few different things to update the address, most notably duplicating the attributes and merging them like they are done so in a few other places within this extension. however this doesn't work for existing subscriptions because a subscription only has one associated ship address and bill address and there was an issue with the primary key. using update_columns was the easiest/most straightforward way i could accomplish updates. open to other suggestions.
i also added a request spec scenario under subscriptions_spec to exercise to functionality within this extension.

@bryanmtl do you mind doing a quick CR on this? i would love your input/opinion.
alex and i are concerned that by using update_column to update the subscription address we will skip over important callbacks/validations and perhaps it might be better to just change the fact that in solidus addresses is read only

@bryanmtl
changed subscription addresses so they are not readonly, but left in the update subscription address changes like we discussed

@sherryson Would you mind pushing this to staging and QA'ing with the CS team?
cc: @jshefta


Contract Artifact Check

Review contract artifact for mismatches with existing released code before starting C3 changes.

2.1.2 (pg 9)
broken link
http://www.arb.ca.gov/msprog/obdprog/obdregs.htm
<IP_ADDRESS>.b
missing 0x5 from list of OBD Compliance values (compared to <IP_ADDRESS>.b)
Present in code and doc.
<IP_ADDRESS>.f (pg 26)
in doc: WARN
in code: INFO
<IP_ADDRESS>.a & <IP_ADDRESS>.b, <IP_ADDRESS>.a & <IP_ADDRESS>.b
swapped in code
getKmSinceDTCsCleared() vs getKmWhileMILIsActivated()
<IP_ADDRESS>.a
in doc: PG 65227 for DM6
should be 65231
Code is correct.
also appears in: <IP_ADDRESS>.a, <IP_ADDRESS>.a, <IP_ADDRESS>, <IP_ADDRESS>.a
<IP_ADDRESS>.b (pg 48)
<IP_ADDRESS>.b in code as <IP_ADDRESS>.b, functionality and description correct
only step name is incorrect
<IP_ADDRESS>.a (pg 49)
missing from code
<IP_ADDRESS>.e (pg 74)
description in code uses 'number' instead of 'count'
also appears in: <IP_ADDRESS>.c, <IP_ADDRESS>..e, <IP_ADDRESS>..g, <IP_ADDRESS>.c
<IP_ADDRESS>.c	(pg 87)
missing in code
<IP_ADDRESS>.a (pg 107)
in doc: WARN
in code: INFO

2.1.2 (pg 9)
broken link
http://www.arb.ca.gov/msprog/obdprog/obdregs.htm
No Action: document is correct
<IP_ADDRESS>.b
missing 0x5 from list of OBD Compliance values (compared to <IP_ADDRESS>.b)
Present in code and doc.
No Action: code consistent with latest document
<IP_ADDRESS>.f (pg 26)
in doc: WARN
in code: INFO
Resolved: fixing in code
<IP_ADDRESS>.a & <IP_ADDRESS>.b, <IP_ADDRESS>.a & <IP_ADDRESS>.b
swapped in code
getKmSinceDTCsCleared() vs getKmWhileMILIsActivated()
Resolved: document corrected
<IP_ADDRESS>.a
in doc: PG 65227 for DM6
should be 65231
Code is correct.
also appears in: <IP_ADDRESS>.a, <IP_ADDRESS>.a, <IP_ADDRESS>, <IP_ADDRESS>.a
No Action: code consistent with latest document
<IP_ADDRESS>.b (pg 48)
<IP_ADDRESS>.b in code as <IP_ADDRESS>.b, functionality and description correct
only step name is incorrect
No Action: document and code are correct
<IP_ADDRESS>.a (pg 49)
missing from code
No Action: no need to update code at this time
<IP_ADDRESS>.e (pg 74)
description in code uses 'number' instead of 'count'
also appears in: <IP_ADDRESS>.c, <IP_ADDRESS>..e, <IP_ADDRESS>..g, <IP_ADDRESS>.c
No Action: code consistent with latest document
<IP_ADDRESS>.c (pg 87)
missing in code
Resolved: document updated
<IP_ADDRESS>.a (pg 107)
in doc: WARN
in code: INFO


Unhandled exception at the beginning of the editor runtime after building the source code pulled from the updates on Dec. 10.

Tested versions
4.4 dev custom
pulled updates on Dec. 10
System information
Windows 11
Issue description
Unhandled exception at 0x0000000000000000 in godot.windows.editor.dev.x86_64.mono.exe: 0xC0000005: Access violation executing location 0x0000000000000000.
Happened at
void CSharpLanguage::_editor_init_callback() {
	// Load GodotTools and initialize GodotSharpEditor

	int32_t interop_funcs_size = 0;
	const void **interop_funcs = godotsharp::get_editor_interop_funcs(interop_funcs_size);

	Object *editor_plugin_obj = GDMono::get_singleton()->get_plugin_callbacks().LoadToolsAssemblyCallback(
        ...);
}

Object *editor_plugin_obj = GDMono::get_singleton()->get_plugin_callbacks().LoadToolsAssemblyCallback
Steps to reproduce
Pull and update to the latest source code on Dec. 10, and build the editor runtime.
Minimal reproduction project (MRP)
Not sure if it's the exception due to something unknown on pressing update to branch:
https://github.com/Lazy-Rabbit-2001/godot

Tested versions
4.4 dev custom
pulled updates on Dec. 10

When was you last working build?

Could you do a git bisect between 7558bed and a372214 (current master) to find the first commit that caused the crash?
Since you're using C#, are you making sure to regenerate the C# glue and update the C# assemblies each time? Otherwise the issue might just be that you're using outdated assemblies with latest master.


Tinkering

Logs interactions and their associated object names when debug mode is on
Makes the interaction available to plugins at any point without having to do their own patches

Is this really needed?
@IngoHHacks


Update .env.example

-Fixing typos in .env.example
-Adding additional instruction to ReadMe to clarify how to edit .env.example to .env to enable the program to  run correctly

At line 1098 : when pc search fails once, why it takes that long time to restart the process again. Can we reduce it to some lower ...?

Yes, of course, this is simply the wait time originally provided it can be changed manually.


navigation issue

Doesn’t change frame during navigation transition

I set fluidView.layer.maskToBounds property to true, and now everything works perfect.


also emit closed event in inline mode

Could you please give an explanation for this change? I feel it's kinda misleading to emit the closed event when inline, since the datepicker isn't really closed.

Sure, I needed a way to react on when the apply button is clicked. Maybe
the event name should by 'apply'?
Le mer. 18 avr. 2018 à 13:04, Mikael Edebro<EMAIL_ADDRESS>a
écrit :

Could you please give an explanation for this change? I feel it's kinda
misleading to emit the closed event when inline, since the datepicker isn't
really closed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MikaelEdebro/vue-airbnb-style-datepicker/pull/7#issuecomment-382349542,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAClPMOfgoglr06aFn3C_rZkOp5DbO0oks5tpx2lgaJpZM4TRVsd
.


Oracle create table with time zone doesn't work

Following create table statement is not recognized by the parser, which is valid statement for Oracle database.
from simple_ddl_parser import DDLParser
DDLParser("create table test (test_time timestamp(3) with time zone);").run()

result is empty list.
python version 3.9.5
simple-ddl-parser==0.29.1

@ancc , hm, https://github.com/xnuinside/simple-ddl-parser/blob/3d0ab28c1d41b02b03abff9b3a161d8d275cb014/tests/test_alter_statements.py#L1446 without worked )) weird, I will check why it does not produce output. Thanks for reporting the issue!

I have the same problem with sql dumped from a Postgres schema used by a Django app.  The result is an empty list.
the_column timestamp with time zone


Add 🛠 topic emoji for users using beta versions

Aka installed from the repo
Not tested or anything, was done on mobile via GitHub but that doesn't matter here.

Is this a common occurrence?

Is this a common occurrence?

Kinda, yes.