make another output option such as curl to output kubectl command in cURL format to stdout

What would you like to be added:
In the CLI of Vault, we have an option like-output-curl-string for printing the command in a form of a cURL command.
$ vault kv get -output-curl-string secret/blabla
curl -H "X-Vault-Request: true" -H "X-Vault-Token: $(vault print token)" http://<IP_ADDRESS>:8200/v1/secret/data/blabla

We thought that the same UX might be helpful for the kubectl command too.
$ kubectl get pods --dry-run=client -o curl
curl -H "Authorization: $BEARER_TOKEN" -H "Accept: application/json" https://<IP_ADDRESS>:8443/api/v1/namespaces/default/pods?limit=500

Why is this needed:
We know we have an option for verbose mode, maybe we can use this feature as an alternative to that.
cc: @dentrax @erkanzileli

You can grab a curl representation if you pass a -v 9 that should have enough to use.
kubectl get pods -v 9
I1110 10:30:51.809878   31227 loader.go:372] Config loaded from file:  /home/eddiezane/.kube/config
I1110 10:30:51.819211   31227 round_trippers.go:435] curl -v -XGET  -H "Accept: application/json;as=Table;v=v1;g=meta.k8s.io,application/json;as=Table;v=v1beta1;g=meta.k8s.io,applica
tion/json" -H "User-Agent: kubectl/v1.22.3 (linux/amd64) kubernetes/c920368" 'https://<IP_ADDRESS>:6443/api/v1/namespaces/default/pods?limit=500'

We don't have plans to expand on this.
/close


Add Sola token

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Please activate your accounts and website

Thank you for your feedback. I have updated the website.


Add labels on significant cost centers

Currently the only way to find out the function name of a disk segment is to click on it and then the context of the other functions is lost. I'd pretty much like labels at the disk segments.

Thanks for your interest. Unfortunately I don't have plans to develop tkyprof further at the moment and I've been using https://github.com/maoe/viewprof instead lately.
That said I'm happy to accept PRs if you'd like to implement this feature.


Bug: Being invalited due to system failure(?)

Hi
I am not sure it is the right channel to report the error, but no one could help so far in element.
My validator has been invalidated, because of Unclaimed Eras, which is not true, all payouts have been done in time.
Source:
https://polkachu.com/kusama/thousand_validators/FJgeBDUj4gF2rYxLmxc7QcccEMZQ26xudp4sro3HFMGZMRL
It says

But it was successfully claimed in time!:
https://kusama.subscan.io/reward?address=FJgeBDUj4gF2rYxLmxc7QcccEMZQ26xudp4sro3HFMGZMRL&role=validator

I would be very appreciative if someone could help to solve it.
Thanks in advance
Cheers
Zoltan

It currently says no unclaimed eras... I assume this can be closed?

Yes, seems to be fine. Thanks


Long form text component

Simplified implementation of #139
Add the ACS Commons Long Form Text component

Enter long form text into RTE

LFT Component will split the RTE contents on the top HTML elements (p tags) and inject parsys between them

Add Components in between the paragraphs, but manage the text content in its "long form"

@justinedelson could you take a look at https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/408/files#diff-d43214f8e2d9de42dc919426c2e2bd6aR41 .. and sanity check the HTML > XHTML parsing?


Grader: Update Lab 1 Quantum Circuits to integrate grading component

Related

https://github.com/Qiskit/platypus/issues/253
https://github.com/Qiskit/platypus/issues/359

Integrating the grading cell into the quantum lab notebook.

@lerongil, should we remove this since we have a few proof-of-concepts?


Autodetect package manager. --yarn flag removed

PR to address Issue #107
which-pm added and configured for npm, pnpm  and yarn.

Hey! I just merged a PR that enables tests and drops support for node v4
Can you back merge master into this PR?

Hey! I just merged a PR that enables tests and drops support for node v4
Can you back merge master into this PR?

I have done that. Merged master into my PR

It's strange that it didn't trigger tests 🤔 I'm going to merge this into a temporary branch and create a pull request from that


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1158

Questions ?
Please refer to the Backport tool documentation


[SPARK-47577][SPARK-47579] Correct misleading usage of log key TASK_ID

What changes were proposed in this pull request?

Correct misleading usage of log key TASK_ID from https://github.com/apache/spark/pull/45834 and https://github.com/apache/spark/pull/46739
Why are the changes needed?

Provide more accurate log keys in the structure logging
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing GA tests
Was this patch authored or co-authored using generative AI tooling?

No

@pan3793 @panbingkun @cloud-fan Thanks for the review.
Merging to master


[Bug]: CMake sometimes hangs after Cargo finishes a crate when using sccache

Current Behavior
CMake sometimes hangs indefinitely after Cargo finishes building a crate.
Expected Behavior
CMake proceeds after Cargo finishes building a crate.
Steps To Reproduce

cmake -S . -B build -G Ninja
cmake --build build

This is not reproducible every time; it only happens occasionally. Terminating CMake with Ctrl + C then rerunning CMake works around the problem. This has been happening for a while across multiple versions of Rust, CMake, and Corrosion.
Environment
- OS: Fedora
- CMake: 3.26.4
- CMake Generator: Ninja

CMake configure log with Debug log-level
No response
CMake Build step log
[9/58] cd /home/be/sw/cxx-qt/examples/qml_features/rust && /usr/bin/cmake -E env CXXQT_EXPORT_DIR=/home/be/sw/cxx-qt...s/qml_features/rust/Cargo.toml --target-dir /home/be/sw/cxx-qt/build/./cargo/build -- -Cdefault-linker-libraries=yes
   Compiling serde_derive v1.0.152
   Compiling serde v1.0.152
   Compiling serde_json v1.0.92
   Compiling ryu v1.0.12
   Compiling itoa v1.0.5
   Compiling qml-features v0.1.0 (/home/be/sw/cxx-qt/examples/qml_features/rust)
    Finished dev [unoptimized + debuginfo] target(s) in 2.31s

CMake sometimes hangs indefinitely after Cargo finishes building a crate.

Are your sure it is actually CMake that hangs? I've recently been experimenting on integrating a workaround for #413 into corrosion until it is fixed upstream, and have noticed hangs for the following dead simple program (only tested on mac):
use std::ffi::OsString;
use std::process::Command;

fn main() {
    let args = std::env::args_os()
        .chain([OsString::from("--target=abcdefg")]);
    let mut handle = Command::new("echo").args(args)
        .spawn()
        .expect("Failed to spawn");
    handle.wait().expect("Command wasn't running");
}

I get the following output:
❯ time $HOME/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo run --release
    Finished release [optimized] target(s) in 0.00s
     Running `target/release/wrapper`
target/release/wrapper --target=abcdefg
$HOME/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo run --release  0.01s user 0.01s system 0% cpu 3.081 total

The hang happens between "Running" which is printed immediately and the output of "echo" which can take seconds to appear, even though compilation has already finished!.
When cargo is removed from the picture I have not seen any hangs yet.

Note that I used to have hangs as well when using vscode + CMake, but since disabling sccache i haven't observed them again. So I think it is somehow related to having sccache enabled.

I think you are right that this only shows up with sccache. When the build hangs, neither rustc nor cargo processes are running. I don't know if Corrosion, CMake, or sccache are the problem; my guess is the bug is in sccache.

Potentially related:
https://github.com/mozilla/sccache/issues/1011
https://github.com/mozilla/sccache/issues/756
I have never encountered this using sccache with Cargo alone (not using CMake + Corrosion).

I'm a bit skeptical that this is related to corrosion. Corrosion / CMake does all its work at configure time. At build time the Generator (in your case ninja) invokes the build rules (e.g. cargo rustc ..... There are multiple build rules, and Ninja will also spend some time evaluating Generator expressions and checking if a file was actually generated by the command. However, ninja is widely used and I doubt there is something there that could take a noticable amount of time. You could of course check if the issue also occurs when using Unix Makefiles as the Generator.
sccache is invoked by cargo  (assuming you are using RUSTC_WRAPPER=sccache or something similar), so if the hang is related to sccache, then the issue is either on sccache or cargos side, since CMake / Ninja knows nothing about sccache.


Add support for multiple CIDR in vcn and fix dns label bug

What this PR does / why we need it:
Add support for multiple CIDR in vcn and fix dns label bug
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #368

e2e
[SynchronizedAfterSuite] PASSED [1.298 seconds]
[SynchronizedAfterSuite]
/home/ubuntu/go/src/github.com/oracle/cluster-api-provider-oci/test/e2e/e2e_suite_test.go:261

  Timeline >>
  STEP: Tearing down the management cluster @ 07/23/24 12:00:50.788
  << Timeline
------------------------------

Ran 7 of 28 Specs in 2678.214 seconds
SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 21 Skipped

unit test
GOBIN=/home/ubuntu/go/src/github.com/oracle/cluster-api-provider-oci/hack/tools/bin ./scripts/go_install.sh sigs.k8s.io/controller-runtime/tools/setup-envtest setup-envtest v0.0.0-20230131074648-f5014c077fc3
kube-builder assets: /home/ubuntu/.local/share/kubebuilder-envtest/k8s/1.24.2-linux-amd64
KUBEBUILDER_ASSETS="/home/ubuntu/.local/share/kubebuilder-envtest/k8s/1.24.2-linux-amd64" go test -coverprofile=coverage.out ./...
?   	github.com/oracle/cluster-api-provider-oci	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/config	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/metrics	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/api/v1beta1	53.446s	coverage: 23.0% of statements
ok  	github.com/oracle/cluster-api-provider-oci/api/v1beta2	0.038s	coverage: 14.9% of statements
ok  	github.com/oracle/cluster-api-provider-oci/cloud/ociutil	0.005s	coverage: 19.6% of statements
?   	github.com/oracle/cluster-api-provider-oci/cloud/scope/mocks	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/base	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/base/mock_base	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute/mock_compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement/mock_computemanagement	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/containerengine	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/containerengine/mock_containerengine	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity/mock_identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/loadbalancer	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/loadbalancer/mock_lb	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer/mock_nlb	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn/mock_vcn	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/feature	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/version	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/cloud/scope	230.172s	coverage: 76.1% of statements
ok  	github.com/oracle/cluster-api-provider-oci/cloud/util	0.078s	coverage: 61.1% of statements
ok  	github.com/oracle/cluster-api-provider-oci/controllers	26.750s	coverage: 58.7% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/api/v1beta1	13.350s	coverage: 15.3% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/api/v1beta2	0.015s	coverage: 4.8% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/controllers	0.629s	coverage: 56.3% of statements
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html
$


Upgrade embedded-graphics to 0.5, st7735-lcd to 0.6

Move pygamer up to a newer version of embedded-graphics.
This also requires upgrading the st7735-lcd driver.

Ive personally been waiting for .6 which is around the corner and has a ton more breaking changes. However its been around the corner for quite some time so Im fine with this. Can you upgrade all the bsps though?

Ok - I'll work on updating the other BSPs.  Looks like it is just edgebadge and itsybitsy_m0 that use embedded-graphics and are currently on 0.4.  feather_m0 also uses it, but is already on 0.6.0-alpha.

eg 0.6 beta1 is out with more breaking changes, but Ive heard it said there shouldnt be much more breaking after this so a good time to go straight to that
Im still keeping my work up to date with beta at
https://github.com/jacobrosenthal/atsamd/tree/embedded-graphics-0.6
https://github.com/jacobrosenthal/st7735-lcd-rs/tree/0.6
Theyre working on migration guide
https://github.com/jamwaffles/embedded-graphics/pull/255

Ive heard it said there shouldnt be much more breaking after this so a good time to go straight to that

Yep, bar any horrific crap we've missed this should remain true until 0.6.0 proper.

Theyre working on migration guide

I am indeed, please comment on that PR if there's anything you want to see in it, even though it's still WIP.

@johnbatty are you still able to refresh pr?

Ive got the pygamer and edgebadge done here, i can pr into here or make fresh
https://github.com/jacobrosenthal/atsamd/tree/embedded-graphics-0.6


[Bug] "Show local timestamp next to message" doesn't work in PTB

Addon
Timezones
What happened?
The time with the user's timezone when he sent the message doesn't appear when "Show local timestamp next to message" is enabled, on PTB only.
What Discord version do you have this issue on?
PTB
(I haven't personally tested it on Canary, but I assume that the problem is also present(?))
Logs
Error appearing in the console, on PTB, when loading messages with a user who has a timezone set - appears several times:
VM405 47470.91c2d89ebc10ef7a8bdd.js:1 [BetterDiscord] [Patcher] Could not fire after callback of default for Timezones RangeError: Invalid time value
    at Timezones.getTime (Timezones.plugin.js:302:44)
    at Object.eval [as callback] (Timezones.plugin.js:176:50)
    at renderer.js:5:28288
    at ob (25979.ba7e12ad3432f0dc414b.js:1:808076)
    at ih (25979.ba7e12ad3432f0dc414b.js:1:819970)
    at u (25979.ba7e12ad3432f0dc414b.js:1:864183)
    at sN (25979.ba7e12ad3432f0dc414b.js:1:846302)
    at 25979.ba7e12ad3432f0dc414b.js:1:846168
    at sI (25979.ba7e12ad3432f0dc414b.js:1:846176)
    at sx (25979.ba7e12ad3432f0dc414b.js:1:843261)
    at r6 (25979.ba7e12ad3432f0dc414b.js:1:791951)
    at 25979.ba7e12ad3432f0dc414b.js:1:840799
(anonymous) @ VM405 47470.91c2d89ebc10ef7a8bdd.js:1
_log @ renderer.js:5
err @ renderer.js:5
(anonymous) @ renderer.js:5
ob @ 25979.ba7e12ad3432f0dc414b.js:1
ih @ 25979.ba7e12ad3432f0dc414b.js:1
u @ 25979.ba7e12ad3432f0dc414b.js:1
sN @ 25979.ba7e12ad3432f0dc414b.js:1
(anonymous) @ 25979.ba7e12ad3432f0dc414b.js:1
sI @ 25979.ba7e12ad3432f0dc414b.js:1
sx @ 25979.ba7e12ad3432f0dc414b.js:1
r6 @ 25979.ba7e12ad3432f0dc414b.js:1
(anonymous) @ 25979.ba7e12ad3432f0dc414b.js:1

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

Can you please test with the latest commit

Can you please test with the latest commit

It work now, thank you!


Razor Class Library with Asp.Net 3.0

Describe the bug
I found that if I would like to build a Razor Class Library I cannot do that as I can't target netstandard2.1 because of the missing SDK. The preview versions of Microsoft.AspNetCore.Mvc only supports netcoreapp3.0.
My page is not showing if using netcoreapp3.0 as shown here: https://github.com/aspnet/AspNetCore/issues/4332
To Reproduce
Steps to reproduce the behavior:
Create a RCL in VS2019
Expected behavior
I would like to make a library that works with .NET Standard so I could use it anywhere. Should it be done with targeting netcoreapp3.0? Then docs are missing for RCL in 3.0.
Additional context
I am using the preview2 of .NET Core 3.0
Maybe https://github.com/dotnet/standard/issues/1090 is related.

Depending on the feature set you're looking for you'll want to target one of the various forms of .net standard. For instance, for our pre-3.0 work a lot of Asp.Net Core was targeting netstandard2.0.
If you find yourself in a position where it says missing SDK xyz chances are you haven't yet downloaded/installed the SDK corresponding to what you're trying to build (see below). In your case, you also ran into one of our big in progress issues with 3.0 (razor class libraries don't work), therefore hopefully you don't require 3.0 preview features. Ideally you shouldn't since that whole pipeline is still in preview.
For places to download sdks: https://dot.net
A great article explaining .net standard: https://docs.microsoft.com/en-us/dotnet/standard/net-standard
Hope this helps!

@NTaylorMullen is there an open issue for the problem(s) with razor class libraries in 3.0? (you mentioned above that razor class libraries don't work). I can't seem to find an open issue to follow though.

I've just started looking to play around moving from core 2.2 to 3.0, and it seems that RCLs work when you first build you're app after adding a reference to them. But then if you make any kind of modification that requires the referencing app to be rebuilt, the RCLs stop working (their content is no longer reachable). This work-once-but-not-on-subsequent-builds behaviour reminds me of a bug fix I issued a while ago regarding static files in RCLs (only being copied to output directory on first build, but not subsequent ones).

@aodl this was fixed in our preview7 release by @pranavkm (pranav feel free to edit this comment to reflect the proper time frame if i'm wrong).


[gdal 2.2.2] Fails to build in x86-windows

The machine setup: Windows 10 Enterprise (10.0.16299 Build 16299) + vcpkg (0.0.101-2018-01-11-6bdc3bf9eb5cc93e579cddcbb01c41e991082c8c)
Package and version I'm building: gdal 2.2.2
The steps to reproduce: vcpkg install gdal
The outcome I expected: building gdal w/o any errors
The actual outcome: https://gist.github.com/jslee02/4674f53df7435693ffbeed46f76713f8

frmts\o\ngsgeoiddataset.obj : fatal error LNK1136: invalid or corrupt file

I'm not sure what could cause this -- maybe a MAX_PATH issue?
Also note that it libmysql has dropped support for 32-bit Windows in the newest version, which also prevents gdal from compiling. Because of this, I'm going to close this issue for now.


Application sample not working

The sample for applications is not working properly as there is a need for three arguments now and the sample only provides one.
Link

Thanks for the catch :)

Thanks for the catch :)


CS

You seem to be using no real coding standard.
It seems you try to use the 2.x way, which now I call psr2r and also has a very powerful sniffer.
You might want to either use that one (to avoid the current code mess you got in your project) - or you could switch to the official cakephp cs (also backed up by a sniffer tool)
Either way you should also enforce it then as part of the travis process.
See my plugins for example for psr2r.

Ok think you, I'll watch it


Not working on Artifice

I don't think this is intentional, but remnant scrap does not spawn on Artifice at all (config is default config).

The bug seems to be that I did not update the risk levels along the new patch of Lethal Company.
Because Artifice risk level is s++ and I only measure to s+, by default if it can't find the risk level and it will automatically puts the remnant spawn modifier to 0 causing no items to spawn.
This bug will be patched in the next update of this mod.
Thank you for reporting the bug.


[uss_qualifier/test_data/che/conflicting_flights/flight1m_planned] Fix area override

I believe that this led to flight1m_planned to be wrong, i.e. the altitude_lower would not be overridden. Somehow it does not look like it had an impact on the CI though.

I think #400 may make this one unnecessary; if you could take a look to confirm, that would be great :)

I think #400 may make this one unnecessary; if you could take a look to confirm, that would be great :)

Indeed :)


Keptn CLI: Check if a new CLI version is available once a day (with opt out)

The Keptn CLI should check if a new CLI version is available once per day, e.g., by fetching the latest CLI version from get.keptn.sh/version, and notify the user about the new version.
Something similar to minikube could work:
$> minikube start
🎉  minikube 1.5.2 is available! Download it: https://github.com/kubernetes/minikube/releases/tag/v1.5.2
💡  To disable this notice, run: 'minikube config set WantUpdateNotification false'

Definition of Done
Whenever the keptn cli is executed, we need to check if we already performed a version-check today (or within the last 24h), e.g.:
$> keptn send event ...
Note: A new version of the CLI (0.6.1) is available. Please visit https://keptn.sh for more information. You can disable automatic version checks with keptn config set AutomaticVersionCheck false

This functionality should be automatically active, but it should be be possible to turn it off, e.g., by executing keptn config set AutomaticVersionCheck false (if you have a better name recommendation for this flag in the CLI, feel free).
In addition, when calling keptn version it should show the current version, and, if an update is available, it should display that information, e.g.:
$> keptn version
CLI version: 0.5.1 (Update available: 0.5.2)

Please note: It might be possible that the user does not have a working Internet connection (e.g., firewall restrictions, being offline on purpose, etc...). If there is no connection, the user should only see a warning, e.g.:
$> keptn send event ...
Note: Could not fetch latest version information. You can disable automatic version checks with keptn --automatic-version-check=disable

Please note: Semantic versioning is used, therefore:

0.5.2 is newer than 0.5.1
0.6.x is newer than 0.5.x
0.6.0.beta is newer than 0.5.x
0.6.0 is newer than 0.6.0.beta
0.6.0.beta2 is newer than 0.6.0.beta

Actions
For this to work, we need the following changes:

[x] Add a file at get.keptn.sh with the current stable CLI version (e.g., 0.5.2, but feel free to use JSON, e.g. {"cli": {"stable": "0.5.2", "latest": "0.6.0.beta"}}) - see curl -sL https://get.keptn.sh/version.json
[ ] CLI needs to know its current version (probably already does, see keptn version)
[ ] Adapt the CLI to fetch the version file from get.keptn.sh and to compare the version fetched with the local version (note: do not send the local version to get.keptn.sh)
[ ] Store a flag in the CLI configuration that enables/disables this automatic check
[ ] Store the last execution timestamp of the check in CLI configuration (do not check more than once within 24 hours)

Data Protection and GDPR considerations
To avoid issues and letting the user click "okay" on a privacy agreement (we all love those on websites), we require this functionality

to use a secure connection (https),
to not send any user- or host-specific data (e.g., username, hostname, API url, kubernetes host, etc...),
to not send any secret tokens (e.g., keptn api token, kubernetes access tokens),
to allow to be disabled (opt-out).

We cannot use semantic versioning considering the CLI only:
Currently, the CLI version always has to match the Keptn cluster version.
For example, a CLI in version 0.6.0 cannot be used with a Keptn cluster in version 0.5.0 and vice versa.
In fact, a CLI version A.B.x is only compatible to a Keptn cluster version A.B.y.
Therefore, the CLI must not suggest the user to update the CLI if this update would result in incompatibilities.

Going forward, the CLI versions have to follow semantic version v2.0.
For example, 0.6.0.beta2 or 0.6.0.beta are invalid versions.
Instead 0.6.0-beta2 or 0.6.0-beta should be used.
Note: In the CLI, we therefore have to adapt the IsOfficialKeptnVersion check.

I would propose to extend the https://get.keptn.sh/version.json with lists of available stable and prerelease versions. For example:
{     "cli": {         "stable": ["0.5.2", "0.6.2"],         "prerelease": ["0.7.0.beta"]     }     }
With this information, we can always inform the user if there is a new, compatible version of the CLI.
For example, if the user currently has the CLI in version 0.5.1, we can inform the user that there is a CLI in version 0.5.2 available.
Of course, we can also inform the user that there is 0.6.2 available as you mentioned.
Furthermore, we should also think of adding the available Keptn server versions. For example:
"server": {
"stable": ["0.5.2","0.6.0"],
"prerelease": ["0.6.1.beta"]
}

Agree on both of that. Feel free to make a PR to https://github.com/keptn/get.keptn.sh/

In the description above, the command keptn config set AutomaticVersionCheck false is used changing the configuration. The CLI, however, uses in most cases the syntax keptn action/verb object/noun.
Hence, I would propose to implement keptn set config AutomaticVersionCheck false.

Good idea, make it so :+1:


Errors on API fetch error

There's currently no way to display the errors that arise from the API when fetching data.
For example, I got ratelimited by the API earlier but nothing came up to make that known to me, so this is something that should be fixed

what method in what file calls the api that rate limited you?

The fetchRepoData method in data.ts as it is the one involved with retrieving data from the GitHub API.
I'll be adding personal tokens in a later update but even that doesn't give unlimited API usage so I would like a small error message to be displayed in the box where we usually draw the chart when an error occurs :smile:

Closed with #15


Do not hardcode connection URI

The connection URI "qemu:///system" is hardcoded in pkg/virt/vm.go. We do not want to restrict usage to KVM users. Hence, we want a global command line flag to specify a custom connection URI for libvirt. The default value should be "qemu:///system".

Would be happy to take this issue.

Makes sense. We can have it defined as a global flag with default value, then passed to virt.ListMatchingVMs I guess?

Yes, I implemented it that way.


model performance

Hello, Thanks for your code! Here is one question. Is the final sampling result(some smiles) in your Example.ipynb sampled from the model after complete training? I notice that many of them are invalid.

Hi,
Yeah they are sampled from the model, And yeah there are invalid SMILES which you need to filter out.
Now if you ask why are there so many invaid SMILES, there are two reasons:

I have not trained the model for more than 10 epochs.
I believe VAE's decoder doesn't have the spatial knowledge to produce only valid SMILES and can produce invalid ones.


[zh] Unsupervised Learning

1->17; It would be great if someone could make sure I translated all the math vocabs correctly.

Thanks a lot for your work @cxue4ur19! One syntax suggestion: could you please un-bold the answers to each question?

Another PR just finished this translation.
@cxue4ur19: could you please go there and review the translation?


Problem_Statement_48

Write a program to find line of best fit for any 5 points entered by the user.
(take input of x and y coordinates of each point from user).

Hello I am Komal From SY CCEW ,I want work on this .

Go ahead! Submit the code in "Solutions" Folder. Deadline is 3 Oct'21, 11: 59 pm

#63 Created PR


Build Automation using Node.js scripts - “test:dev”, “test:api"

• Run the “test”, “test:dev”, “test:api” scripts
• Make sure the tests run successfully

This issue mentions two specific Node.js scripts, "test:dev" and "test:api," which require execution. It seems these scripts are integral components of a broader build or testing process within the Node.js project.

Test Execution:
The core objective of running the "test:dev" and "test:api" scripts is to conduct unit tests and API tests, respectively. Unit tests typically assess individual components or functions in isolation to verify their correctness, while API tests evaluate the behavior of APIs, often involving interactions between multiple components.

Success Criteria:
The issue underscores the importance of ensuring successful test runs. This suggests that there may have been previous concerns about the reliability of these scripts. A successful test run is considered as being the absence of test failures.

Dependencies and Environment:
To ensure the successful execution of these scripts, it is imperative to consider the prerequisites. In our case the Database is running on Docker and, as such needs to be run before running the Tests. A Docker Compose is available and should be run using docker-compose up, additionally the database might need to be recreated and as such npm run db:create:dev and
npm run migrate:dev should be run it has all the schema updated.
The Backend also needs to be run. This is done using npm run start:dev

Testing Strategy:
The test framework in place is Jest v24.1.0.
There is also jest-html-reporter v3.0.0 which seems to have some error at the time of me writing.
jest-html-reporter >> TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of XMLElement

Documentation and Code Quality:
An assessment of the code quality of these scripts is imperative. Are they well-documented and maintainable? Do they include comments or README files explaining their usage? Enhancing documentation can significantly facilitate collaboration among team members.

Automation and CI/CD Integration:
These tests should be run automatically by the pipeline on every push using Jenkins. If the tests do not pass Jenkins, should fail and not build any Documentation nor Redeploy the application with these errors.

The problem with jest-html-reporter v3.0.0 was that it needs NodeJS version 12.22.12. It is now solved.


Matplotlib API issues

Caught instances of plotting bugs related to changes in the matplotlib API during testing of the gdt-fermi notebooks.

cb.draw_all() --> cb._draw_all()
https://github.com/USRA-STI/gdt-core/blob/6f9b15ae75b9a8fab9652ec883f9735135c62ebf/src/gdt/core/plot/plot.py#L836
self._drm._artists[-1].patch --> 'Colorbar' object has no attribute 'patch'
https://github.com/USRA-STI/gdt-core/blob/6f9b15ae75b9a8fab9652ec883f9735135c62ebf/src/gdt/core/plot/drm.py#L113

The fix for 1 is easy. I still need to look into how to handle 2. I can include both fixes in a pull request after I finish running through the rest of the notebooks.

It looks like self._drm._artists[-1].patch.set_facecolor(self._background) should be self._drm._artists[-1].ax.set_facecolor(self._background) since the patch member was removed in matplotlib 3.7. The setup.py requires matplotlib > 3.9.1

Resolved in PR #71


complete How-to-build.md

Please answer these questions before submitting pull request

Why submit this pull request?

[x] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues
#2357

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.

Coverage remained the same at 14.116% when pulling 483f1eef7de5ee2af6c7af83ab68baf041eb97e6 on guyukou:master into c7644c1270af4a1e31ddc31851417c115d09f901 on apache:master.


Animation block tests

Add tests for animation hooks block #101
This one was hard to test, specially useRaf and useSpring but I learnt a lot testing them!
This include tests for:

useRaf
useSpring
useTimeout
useUpdate
useTimeoutFn (already done by someone else! I just adapt it to have same structure as others)

The PR also includes some bug fixes!

:tada: This PR is included in version 11.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@Belco90 I've sent you a collab invite.

Awesome! Thanks for the collab invitation.


The app exits when pressed back button on announcemets page

the back button exits the app when in the announcements page. The issue lies somewhere in the homeUI.dart widget.

Issue Resolved by assigning the homeUI() in the body in home.dart


GTNH Startup Command missing arguement

gtnh 2.6.0 is missing the arguement -jar lwjgl3ify-forgePatches.jar in its startup command which causes the server to fail to start.

fix works, argument also seems to be missing from the other gtnh versions but I haven't ran them to test if they'll start without it

fix works, argument also seems to be missing from the other gtnh versions but I haven't ran them to test if they'll start without it

I have indeed tested the others and know they work without issue without the arguments but ill add them for better compatibility. It does work though, i am currently running a server using 2.5.1 without the given arguments with no noticed isues


Give credit to generator authors

As a creator of one of the name generators
I would like to have the creators of each of the name generators displayed somewhere near the generators
So that others can know what an awesome name generator I made

Update the nameGenModal to allow for a "credit" property to be passed in and displayed.

Do you want it on page one, page two, or both?

Good question. We decided on both.


Add C++YouTube playlist by Naresh i Technologies

What does this PR do?
Add resource(s)
For resources
Description
This pull request adds a link to the "C++ Programming Language | C++ Tutorial" YouTube playlist  by Naresh i Technologies in the resources section.
Why is this valuable (or not)?
This is valuable because it provides users with access to a YouTube playlist that can help them learn C++ programming.
How do we know it's really free?
The resource is a YouTube playlist, which is publicly accessible for free.
For book lists, is it a book? For course lists, is it a course? etc.
This is a course list, specifically a YouTube playlist.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

did you mean to delete two courses?

did you mean to delete two courses?

No, I meant to add it to the free courses in the repo. It's just one course playlist.

you need to update your branch from main


added event logs path

Referenced : https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-exploit-guard/event-views-exploit-guard

@nenonix  Minor style check is needed for this PR. Thanks.

@levinec Would you be able to review and merge this PR based on issue #3472 ? Thank you.


Normalize entity id before index or remove

Fixes this issue : https://github.com/meilisearch/meilisearch-symfony/issues/109

Hello @tomdoo
Thanks for this PR

Can you add tests please? :)
Can you fix the code style CI? It seems your PR introduces an error for this check

bors try


'RNFIRMessaging.h' file not found

I'm getting a 'RNFIRMessaging.h' file not found.
I've tried to install a few different way, well in different order and all that but still I get this message.
If anyone (for which it's working) could do a screen capture video of installing it the right way, that would be a tremendous help.
I even tried linking by adding $(SRCROOT)/../node_modules/react-native-fcm/ios to header search paths but the I got 14 new errors
Or if someone have some general pointer what to look out for, how to fix this linking problem or whatever's wrong here.
RN: 0.40.0
react-native-fcm: 5.0.0
Simulator: iOS9 & 10 / iPhone 6
Build fails so app not running at all

Same issue! what's goin on?

I never had this problem until this evening...

Reinstalling with npm install react-native-fcm@<DESIDERED-VERSION> --save and react-native link fixed it for me

@almadsen is it recursive? also can you see it in your xcode solution?

RN: 0.40.0
react-native-fcm: 6.0.1
Simulator: iOS 10 / iPhone 6s Plus

@Kottidev @ethan37 @evollu
Add this line to the header search paths in Build Settings, xcode $(SRCROOT)/../node_modules/react-native-fcm/ios

i think with RN 0.40 we don't need to add path

@Kottidev So may it be, but it solved this same issue for me earlier today when I installed this package.

react-native link should add the search path for you.
@albinhubsch can this issue be closed?

@evollu I do think so. This issue does not seem to be a problem directly related to react-native-fcm.
For futher troubleshooting. Try my fix mentioned above and also make sure to check out issues like this one link. Also make sure to rebuild the project and check you schemes.

cool


About code in modeling.py

Hello!
After reading your paper and codes, I have a question about the following codes in modeling.py, can you please explain it?
    if posi_emb is not None:
        eps=1e-10
        batch_size = key_layer.size(0)
        patch = key_layer
        ad_out, loss_ad = lossZoo.adv_local(patch[:,:,1:], ad_net, is_source)
        entropy = - ad_out * torch.log2(ad_out + eps) - (1.0 - ad_out) * torch.log2(1.0 - ad_out + eps) # 标准熵H
        entropy = torch.cat((torch.ones(batch_size, self.num_attention_heads, 1).to(hidden_states.device).float(), entropy), 2) # [1, T(Kpatch)]
        trans_ability = entropy if self.vis else None   # [B*12*197]
        entropy = entropy.view(batch_size, self.num_attention_heads, 1, -1)
        attention_probs = torch.cat((attention_probs[:,:,0,:].unsqueeze(2) * entropy, attention_probs[:,:,1:,:]), 2)

In the last line why do you multiply entropy only in the 0 demension, not in all demension?

Hi, thanks for your interest in our work.
The reason is that we only apply it to the CLS token. Please let me know if you have any further questions.

Thanks to your reply. I have another question： According to the training strategy in your code, it seems that you only trained the discriminator to identify whether the input is from the source domain or target domain, but did not train the generator to fool the discriminator. Can you tell me if I get it wrong and point out where this part of codes is

It is implemented by gradient reversal: https://github.com/uta-smile/TVT/blob/main/models/modeling.py#L419
Please refer to this paper: https://arxiv.org/pdf/1409.7495.pdf

Is it right that domain discriminator outputs 0.5 for both source data and target data via the discriminator loss?

if it is true, then it means that the discriminator cannot distinguish source data from the target data. Is that what you mean?

Yeap it's right!


Null access error throw with command in keydown handler

looks like command can be null here in some rare cases so CM Vim will throw an error when we try to access it's types as part of the keydown handler. Seems to be a more recent regression. Not sure if this is something we should be checking for.
Hard to get an exact repro but here's a screenshot of the stack trace we've seen in the wild:

@nightwing can you take a look please?

I have tried to track this down but without much success unfortunately. I'll try to add types to vim.js maybe it will help to track down the issue.
Alternatively i can try to add more info to the error log, it might help, if the error happens often on replit.

Gotcha yeah this is happening pretty infrequently. We just saw it in our logs. Perhaps we can bail if command is undefined? Although not sure myself how that would happen.
Also, it would be great to type vim.js but we can tackle that separately.


Supporting versioned transactions in WalletConnect

depends on a full release of @jnwng/walletconnect-solana
by spec, WalletConnect v2 does not technically fully support versioned transactions.
however, since we can cast legacy transactions as deprecated Transactions, we can fulfill the spec and relay legacy transactions.
v0 transactions are not officially supported in that specification, but the addition of a serialized transaction parameter in jnwng/walletconnect-solana#9 means we can support v0 (and theoretically any future version) by serializing the transaction as a parameter, and allowing wallets to handle whether they support that particular version. this is much more flexible than the current format that requires hydration of all information prior to transmission to the network

bumping this package because of the addition of the supportedTransactionVersions + the version bump in @jnwng/walletconnect-solana

This might be neither here nor there, but it feels like the WC2 spec for solana_signTransaction is unnecessarily brittle here. Why does it represent transactions with JSON fields instead of just encoded bytes? Serialization of the transaction shouldn't be a concern for the transmission layer, as it's just wiring it to a wallet, and this particular serialization format has no meaning outside of convention in web3.js.

Let's go! :)


datacarpentry/socialsci-workshop

tracking for https://github.com/datacarpentry/socialsci-workshop

[ ] fix instructor page links
[ ] fix setup instructions
[ ] fix main table
[ ] fix include statement
[ ] fix a lot of things that's going to be painful

index.md:40 [missing file]: [Setup](setup.html)
index.md:63 [missing file]: [More information on this dataset](data)
setup-python-workshop.md:15 [uninformative link text]: [Link](https://www.libreoffice.org/download/download/)
setup-python-workshop.md:15 [uninformative link text]: [Link](https://documentation.libreoffice.org/en/english-documentation/)
setup-python-workshop.md:16 [needs HTTPS]: [Link](http://openrefine.org/download.html) [uninformative link text]: [Link](http://openrefine.org/download.html)
setup-python-workshop.md:16 [needs HTTPS]: [Link](http://openrefine.org/documentation.html) [uninformative link text]: [Link](http://openrefine.org/documentation.html)
setup-python-workshop.md:18 [needs HTTPS]: [Link](http://sqlitebrowser.org/dl/) [uninformative link text]: [Link](http://sqlitebrowser.org/dl/)
setup-r-workshop.md:15 [uninformative link text]: [Link](https://www.libreoffice.org/download/download/)
setup-r-workshop.md:15 [uninformative link text]: [Link](https://documentation.libreoffice.org/en/english-documentation/)
setup-r-workshop.md:16 [needs HTTPS]: [Link](http://openrefine.org/download.html) [uninformative link text]: [Link](http://openrefine.org/download.html)
setup-r-workshop.md:16 [needs HTTPS]: [Link](http://openrefine.org/documentation.html) [uninformative link text]: [Link](http://openrefine.org/documentation.html)
setup-r-workshop.md:18 [uninformative link text]: [Link](https://www.rstudio.com/products/rstudio/download/#download)
setup-r-workshop.md:19 [needs HTTPS]: [Link](http://sqlitebrowser.org/dl/) [uninformative link text]: [Link](http://sqlitebrowser.org/dl/)

Opened https://github.com/datacarpentry/socialsci-workshop/pull/60 to update the .zenodo.json for a release before the transition takes place.


Statement controller doesn't take into account max execution time

Max execution time is ignored in StatementController. This affects https://openrdf.atlassian.net/browse/SES-2174 and the linked issue for remote update queries (going through HTTPRepositoryConnection). This is already done in repository controller so the implementation can be taken from there.
This affects 2.9.0, not sure if it is implemented for 4.0.0

Hm. It isn't documented that we support a timeout param on this operation, which is probably why it was overlooked. You're correct though that it should. I'll add the param and update the REST API documentation as well.


SEOmatic cp-nav item disappears after switching site/language

Description
view screen-capture
Steps to reproduce

Install SEOmatic + CP Nav
Create multiple sites
Go to SEOmatic > switch site > watch the SEOmatic cp nav item disappear (also out of the cpnav_navigation table)

Additional info

Plugin version: 3.0.6
Craft version: 3.4.8

Fixed in 3.0.7


tabletserver & v3: fix case sensitivity bugs

Since column names are not case sensitive, we have to normalize them when we read them in.

LGTM


 Each is small, and not really that impactful. Can't wait until we get the ORM module, and can delete all of iterator.go and store.go.
Nothing is striking out to me as a simple way to remove lots of this code, but I do feel like most of the code really does need to be further simplified. This can be reviewed commit by commit.

Delete several ActionById methods on locks
Delete legacy.go and upgrade_test.go
remove code duplication in events, remove a return param from unlock all

Codecov Report

Merging #842 (c9d9d33) into main (ea2aeda) will increase coverage by 0.06%.
The diff coverage is 15.38%.

@@            Coverage Diff             @@
##             main     #842      +/-   ##
==========================================
+ Coverage   19.79%   19.86%   +0.06%
==========================================
  Files         191      190       -1
  Lines       24891    24763     -128
==========================================
- Hits         4926     4918       -8
+ Misses      19100    18982     -118
+ Partials      865      863       -2

Impacted Files
Coverage Δ

x/lockup/keeper/msg_server.go
26.08% <0.00%> (+0.73%)
:arrow_up:

x/lockup/keeper/lock.go
53.08% <37.50%> (-0.32%)
:arrow_down:

x/lockup/keeper/iterator.go
82.50% <50.00%> (-0.43%)
:arrow_down:

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 ea2aeda...c9d9d33. Read the comment docs.


WIP: Feature gate multi-threaded sorting

WHAT
Feature gate multi-threaded sorting.
WHY
Multi-threaded sorting requires importing rayon. If you are only using this library in a single-threaded configuration, this introduces a lot of unnecessary overhead and bloat.

Test results
Before
$ cargo bloat --release --crates
    Finished release [optimized] target(s) in 0.00s
    Analyzing target/release/rdst-bloat-test

 File  .text     Size Crate
37.4%  73.1% 275.2KiB std
 6.9%  13.5%  50.9KiB rayon_core
 2.9%   5.6%  21.3KiB rdst
 1.8%   3.5%  13.3KiB rayon
 1.3%   2.5%   9.3KiB crossbeam_epoch
 0.7%   1.4%   5.3KiB [Unknown]
 0.6%   1.3%   4.7KiB crossbeam_channel
 0.5%   0.9%   3.4KiB crossbeam_deque
 0.0%   0.1%     244B rdst_bloat_test
 0.0%   0.0%      32B num_cpus
51.2% 100.0% 376.6KiB .text section size, the file size is 735.8KiB

Note: numbers above are a result of guesswork. They are not 100% correct and never will be.

After
$ cargo bloat --release --crates
   Compiling rdst v0.19.2 (/Users/n/dev/github.com/Nessex/rdst)
   Compiling rdst-bloat-test v0.1.0 (/Users/n/dev/github.com/Nessex/rdst-bloat-test)
    Finished release [optimized] target(s) in 0.42s
    Analyzing target/release/rdst-bloat-test

 File  .text     Size Crate
46.5%  94.9% 199.5KiB std
 2.8%   5.7%  11.9KiB rdst
 0.5%   1.1%   2.4KiB [Unknown]
 0.1%   0.1%     240B rdst_bloat_test
49.0% 100.0% 210.2KiB .text section size, the file size is 429.4KiB

Note: numbers above are a result of guesswork. They are not 100% correct and never will be.


[Bug]: error OpenAI\Exceptions\UnserializableResponse

Description
When accessing the Openal API, my service returns an error
exeption: "OpenAI\Exceptions\UnserializableResponse"
file /vendor/openai-php/client/src/Transporters/HttpTransporter.php
line 62
I use a paid account
model gpt-3.5-turbo-instruct
The error appeared three weeks ago, locally in the development environment it "flickering" appears from time to time
The error always appears on the server
I will be grateful for your help. What needs to be done?
Steps To Reproduce
$response = $client->completions()->create([
'model' => 'gpt-3.5-turbo-instruct',
'prompt' => $request_ai,
'max_tokens' => 500,
'temperature' => 0
]);
OpenAI PHP Client Version
0.4.1
PHP Version
8.1.2
Notes
No response

updated the Openal Client version 0.8.0
But the error remained

Hi @TitorovD
Can you please send an updated stacktrace from the current version?
And if possible, the prompt you are using or the raw http response content?

{
"message": "Syntax error",
"exception": "OpenAI\Exceptions\UnserializableResponse",
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/openai-php/client/src/Transporters/HttpTransporter.php",
"line": 63,
"trace": [
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/openai-php/client/src/Resources/Completions.php",
"line": 33,
"function": "requestObject",
"class": "OpenAI\Transporters\HttpTransporter",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/app/Http/Controllers/staff/StaffAjaxController.php",
"line": 342,
"function": "create",
"class": "OpenAI\Resources\Completions",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/app/Http/Controllers/staff/StaffAjaxController.php",
"line": 59,
"function": "report_ai",
"class": "App\Http\Controllers\staff\StaffAjaxController",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
"line": 54,
"function": "router",
"class": "App\Http\Controllers\staff\StaffAjaxController",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
"line": 43,
"function": "callAction",
"class": "Illuminate\Routing\Controller",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 260,
"function": "dispatch",
"class": "Illuminate\Routing\ControllerDispatcher",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
"line": 205,
"function": "runController",
"class": "Illuminate\Routing\Route",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 798,
"function": "run",
"class": "Illuminate\Routing\Route",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 141,
"function": "Illuminate\Routing\{closure}",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/app/Http/Middleware/NucleusUser.php",
"line": 38,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "App\Http\Middleware\NucleusUser",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
"line": 50,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Routing\Middleware\SubstituteBindings",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php",
"line": 78,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\VerifyCsrfToken",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php",
"line": 49,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\View\Middleware\ShareErrorsFromSession",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
"line": 121,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
"line": 64,
"function": "handleStatefulRequest",
"class": "Illuminate\Session\Middleware\StartSession",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Session\Middleware\StartSession",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php",
"line": 37,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php",
"line": 67,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Cookie\Middleware\EncryptCookies",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 116,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 799,
"function": "then",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 776,
"function": "runRouteWithinStack",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 740,
"function": "runRoute",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 729,
"function": "dispatchToRoute",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 190,
"function": "dispatch",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 141,
"function": "Illuminate\Foundation\Http\{closure}",
"class": "Illuminate\Foundation\Http\Kernel",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php",
"line": 66,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Barryvdh\Debugbar\Middleware\InjectDebugbar",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
"line": 31,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\TransformsRequest",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
"line": 40,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\TransformsRequest",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\TrimStrings",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
"line": 27,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\ValidatePostSize",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
"line": 86,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
"line": 49,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Illuminate\Http\Middleware\HandleCors",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/fideloper/proxy/src/TrustProxies.php",
"line": 57,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 180,
"function": "handle",
"class": "Fideloper\Proxy\TrustProxies",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 116,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 165,
"function": "then",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 134,
"function": "sendRequestThroughRouter",
"class": "Illuminate\Foundation\Http\Kernel",
"type": "->"
},
{
"file": "/var/www/www-root/data/www/demo.mojo.education/public/index.php",
"line": 52,
"function": "handle",
"class": "Illuminate\Foundation\Http\Kernel",
"type": "->"
}
]
}

standard test promt
$response = $client->completions()->create([
'model' => 'gpt-3.5-turbo-instruct',
'prompt' => 'Say this is a test',
'max_tokens' => 6,
'temperature' => 0
]);

The administrator wrote to me that api.openai.com cloudflare is also protected and for some reason blocks requests from your client. How can this be fixed?

Hi @TitorovD
Thanks for clarification.
I don't think, this is related to our client. Looking into the OpenAI forum I found this thread: https://community.openai.com/t/api-access-failed-showing-cloudflare-block-page/506015/37
Didn't read it, but you may find a solution for your problem there.
If there is anything we can improve in our client to mitigate this issue, please let me know. But as I said before, I don't think that there is anything we can do from our side.


[CRITICAL] Implement  for Member Selection

Details
Link to the doc.
Approval member page is going to be a page with a header and  (multi select variant) with a save button.

Clicking on the next button will set the members with setApprovalWorkflowMembers action (more info in the Onyx setup section). Users will be navigated to the Approver selection page (‘settings/workspaces/:policyID/workflows/approvals/approver’) when creating a new approval workflow or navigated to the  ‘Edit approval’ page (‘settings/workspaces/:policyID/workflows/approvals/:firstApproverEmail/edit’) based on isBeingEdited property in Onyx.
Fixed Issues
$ https://github.com/Expensify/App/issues/45955
PROPOSAL: N/A
Tests

[x] Open Workflows page (it has to be turned on in More features settings page)
[x] Verify that delayed submission section is displayed
[x] Locally edit canUseWorkflowsAdvancedApproval function to return true (or use canUseWorkflowsAdvancedApproval beta)
[x] Click on the 'Add approval workflow' button, it should navigate to 'Expenses from' page
[x] Verify that Expenses From page functions as other selection list (good example is Workspace invite screen)

Find a member input filters users
You can select and deselect people in the list

[x] Next button should navigate to the approver page

Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
android.webm

Android: mWeb Chrome
android-web.webm

iOS: Native
https://github.com/user-attachments/assets/66d360e6-f756-4911-8b3b-cb5f2bbc6e73

iOS: mWeb Safari
https://github.com/user-attachments/assets/f5cae936-47ce-4bb2-ac90-9f5eea926fa9

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/50f72d95-a121-41c4-aa22-34f54b536f91

MacOS: Desktop
https://github.com/user-attachments/assets/7495ebd2-cbff-412c-95f7-069e4b91fcf9

LGTM 🙌

@thesahindia I would appreciate a quick review on this one, as Approval Workflow project has a tight deadline (Aug 15)

After selecting the admin and clicking "Next", when we come back the "Admin" badge goes away.

On it!

Shouldn't we dismiss the modal after the user selects an approver instead of navigating back to "Expenses from" page?

It will be covered in the next PR here, so I wouldn't block this PR because of it. (Add approval button is behind a beta so shouldn't be a problem).

We need to fix this error.

I don't see it, can you add reproduction steps? (make sure you have the newest changes)

After selecting the admin and clicking "Next", when we come back the "Admin" badge goes away.

@thesahindia Fixed!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/tgolen in version: 9.0.15-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@tgolen @thesahindia How should we run this step?

Locally edit canUseWorkflowsAdvancedApproval function to return true (or use canUseWorkflowsAdvancedApproval beta)

I don't think this one is QA-able yet. Since it's under beta, the testing will come later. Sorry for the confusion! You can just mark this one off the deploy checklist.

🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.15-9 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[Container Cert] Send Container Certification Results to Pyxis

preflight check container command should include an option (maybe a flag) to --submit results.  When this options is selected the results should be submitted to the Pyxis API.

@jomkz we just added https://issues.redhat.com/browse/ISV-1664 to our backlog with the expectation that preflight could "phone home" the Started -> In Progress certification state transition. It could happen at any time the partner first starts working with preflight but it could also occur during submission so this seems to be the most relevant issue. Please take a look and let me know if you have any questions or concerns. Thanks!

/assign

@amisstea Should we do a call to GET call to projects/certification/id/1234 to verify the status is in a status of Started before we call PATCH with the new In Progress status?

@acornett21 yes, that is probably a good idea. We may allow it to be PATCH'd to In Progress if currently in that state but going from Published to In Progress is expected to return an error.


#333 - use PublisherAs and KeyLastPart from asto

Updated asto and used PublisherAs and KeyLastPart from the new version to close #333.

Job gh:artipie/rpm-adapter#334 is not assigned, can't get performer


my training of model is correct?

im using coco128.yml & followed same steps to do trainig & im getting this inbetween training,may i know im doing something wrong? or its normal
what  kind of  information its showing?

but im getting error for doing inference https://github.com/neuralmagic/deepsparse/issues/415
i used best.pth converted it to best.onnx . now i want to use deepspare for inference.but getting issue. please let me know whats wrong here. & Thanks for quick reply @KSGulin

I propose we keep this issue closed (I have created a fix in #847, very good remark @akashAD98) and move it to #415.

@akashAD98 please, let's stick to the relevant issue, and move this conversation to https://github.com/neuralmagic/deepsparse/issues/415  . It will be easier for us to follow and help you solve the problem.


[wiki] Kernel Documentation/Transformations and Linking > You do not have permission to update this wiki.

Clicking on 'Transformations and Linking' here
leads to the root wiki page that says "You do not have permission to update this wiki."
Is this just a bug or Is this part of the wiki hidden from the public, if so, why?

This wiki page does not exist - so when you click on it you are offered to create the content- but you don’t have permissions to create or edit - so you get an error.


Can't move actions into or out of scopes

Describe the Bug with repro steps

Go to designer
Create a stateful workflow
Take any trigger.
Create a compose action
Create a scope action
Create a condition action
Try to move the compose action into the scope, wont work!
Try to move the compose action into the condition, wont work!

What type of Logic App Is this happening in?
Standard (Portal)
Are you using Preview Designer or GA Designer
Generally Available
Workflow JSON
{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Compose": {
                "inputs": {
                    "hello": "test"
                },
                "runAfter": {},
                "type": "Compose"
            },
            "Condition": {
                "actions": {},
                "else": {
                    "actions": {}
                },
                "expression": {
                    "and": [
                        {
                            "equals": [
                                1,
                                1
                            ]
                        }
                    ]
                },
                "runAfter": {
                    "Scope": [
                        "SUCCEEDED"
                    ]
                },
                "type": "If"
            },
            "Scope": {
                "actions": {},
                "runAfter": {
                    "Compose": [
                        "SUCCEEDED"
                    ]
                },
                "type": "Scope"
            }
        },
        "contentVersion": "<IP_ADDRESS>",
        "outputs": {},
        "triggers": {
            "Recurrence": {
                "recurrence": {
                    "frequency": "Minute",
                    "interval": 3
                },
                "type": "Recurrence"
            }
        }
    },
    "kind": "Stateful"
}

Screenshots or Videos

Browser
Edge
Additional context
No response

Hi this is a known issue https://github.com/Azure/LogicAppsUX/issues/2455, which we're currently working on. Closing as duplicate


Error: Uncompression program ‘gzip’ not found

I am getting this error on Windows while installing this package. Is there a way to avoid this? Maybe use default zip instead of gzip? 😕 (This is most likely to be an enhancement request)
tree-sitter-langs.el:51:1:Error: Uncompression program ‘gzip’ not found

Thanks for this awesome package!

This seems to be a common issue with Emacs on Windows: https://stackoverflow.com/questions/29233629/emacs-uncompression-program-gzip-not-found-when-trying-to-open-info-files. Does any of the answer in that link help?

I was hoping  to use something else. Maybe like zip instead of gzip if this error occurs?

Windows doesn't have a zip command/binary by default either, so trying to call zip wouldn't be any different from trying to call gzip. I actually stumbled across this issue while looking for something else, but from what I can tell installing a current version of this package shouldn't download the compressed version of the pre-built libraries. Could you say how you are installing it and which version you are using?
Modern versions of Windows do come with a (slightly buggy) build of bsdtar and that could probably work, but when I tried installing this package from MELPA I didn't get the same error you are seeing.

Windows doesn't have a zip command/binary by default either, so trying to call zip wouldn't be any different from trying to call gzip.

Yes, in batch you do this.   Anyway, I think Windows 10 has the built-in tar executable.  Maybe that could be the alternative?

I actually stumbled across this issue while looking for something else, but from what I can tell installing a current version of this package shouldn't download the compressed version of the pre-built libraries. Could you say how you are installing it and which version you are using?

Well, I opened this issue 7 days ago. So it happens in that timeline. I am using melpa and not melpa-stable, so I assumed I am using the latest version of this package. My operating system is Windows 10 and I don't think the OS has the pre-built gzip executable in it.  Here is the result when I type where gzip.
INFO: Could not find files for the given pattern(s).

However, on another machine also with Windows 10. I have gzip installed using cygwin and the issue doesn't appear.

Modern versions of Windows do come with a (slightly buggy) build of bsdtar and that could probably work,

Yeah, the tar should work.

but when I tried installing this package from MELPA I didn't get the same error you are seeing.

Did you visit the buffer *Compile-Log*? It doesn't appear automatically. I just tried it and it still gives me the same error log.

I actually stumbled across this issue while looking for something else, but from what I can tell installing a current version of this package shouldn't download the compressed version of the pre-built libraries.

The dynamic modules that tsc downloads are no longer compressed, but the grammar bundles for tree-sitter-langs still are, so this is a valid issue.

Yes, in batch you do this.

AFAICT, that's for .zip files, which are not the same as .tar.gz files. The former are archives of compressed files, while the latter are compressed archives of files.

Anyway, I think Windows 10 has the built-in tar executable. Maybe that could be the alternative?

I'll check the built-in tar when I have access to a Windows machine, probably in around 3 weeks. Do note that, even if that program works, the fix could still take a while, as tree-sitter-langs relies on Emacs's built-in support for compressed files instead of dealing with them directly. tree-sitter-langs can provide a temporary workaround, but a proper fix would have to be within Emacs itself.

but a proper fix would have to be within Emacs itself

I had a quick look. The decompression is from tar-mode so the programs used are defined in jka-compr-compression-info-list. I tried to modify the compression for gz files to stream through the native tar version, but it seems it doesn't properly support the type of stream passthrough that you can do with non-Windows versions of bsdtar. In theory I think this should work as a replacement decompressor configuration:
tar -cf - @-

...but on the build that comes with Windows this doesn't write anything to stdout. So I don't think it is easy to make a change to fix this within the Emacs configuration or within Emacs, because Windows doesn't seem to have any direct replacement program that can just deal with gzip streams. In fact, even if the above did work it isn't ideal because it effectively builds a new tar file from the contents of the original instead of just extracting the original.
The binary distribution of Emacs for Windows does come with a bzip2 binary though, and decompressing with that works fine. So in theory I think if everything was distributed as tar.bz2 files then all platforms should work, or perhaps you can just download the bzip2 versions when installing on Windows.
Side note: the reason I didn't see the gzip error is because the dll failed to load and the installation aborted early - I'll open a separate issue for that.

This was fixed by #89.

This was fixed by #89.


exp/txnbuild: MVP - request for comments

Here is a first sketch of the replacement Go SDK library for building transactions. It implements rich structs following the idea sketched out by @bartekn in #844. The idea is to replace the build library, which is very general and suffers from the problems described in #845, with a simpler, more discoverable API that can do more compile-time checking.
This PR closes #892, by implementing three operations, Inflation, CreateAccount and Payment, to demonstrate the viability of the approach. Please:

take a look at transaction.go to see the main idea
take a look at transaction_test.go to see examples of usage
see inflation.go, create_account.go and payment.go to see how the polymorphism works
IGNORE cmd/build_examples and cmd/txnbuild_examples (they are rough tests only)

I'm especially interested in comments about the overall approach, potential issues, and if you see a need for significant change. If this direction looks reasonable, the plan is to continue and implement the remaining operations, and deprecate the old build library. Note that the code still needs more tests, and some planned feature improvements are indicated by TODOs inline.

I made all the suggested changes. Please take another quick look @bartekn!


Update sbt-version-policy to 3.2.0

About this PR
📦 Updates ch.epfl.scala:sbt-version-policy from 3.1.0 to 3.2.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (3.1.0).
You might want to review and update them manually.
notes/0.55.3.md
notes/0.61.0.md
package-lock.json
project/src/main/scala/Dependencies.scala
src/test/scala/core/issues/Issue1854.scala

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-version-policy" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "ch.epfl.scala", artifactId = "sbt-version-policy" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #1977.


1.0-beta-31 - ClassNotFoundException: org.eclipse.jetty.util.thread.ThreadPool

Jenkins and plugins versions report
The Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.ThreadPool is not specifically related to the docker image as mentioned here #657, it also happens when using jenkins.war with 1.0-beta-31.
Tried a few combinations, including:
]$ java --version
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (Red_Hat-<IP_ADDRESS>.10-1.fc37) (build 11.0.18+10)
OpenJDK 64-Bit Server VM (Red_Hat-<IP_ADDRESS>.10-1.fc37) (build 11.0.18+10, mixed mode, sharing)
]$ java --version
openjdk 17.0.6 2023-01-17
OpenJDK Runtime Environment (Red_Hat-<IP_ADDRESS>.10-1.fc37) (build 17.0.6+10)
OpenJDK 64-Bit Server VM (Red_Hat-<IP_ADDRESS>.10-1.fc37) (build 17.0.6+10, mixed mode, sharing)
JENKINS_VERSION = "2.375.3"
PLUGIN_MANAGER_VERSION = "2.12.11"
JENKINSFILE_RUNNER_VERSION = "1.0-beta-31"
Tried with no plugins and set of plugins working with 1.0-beta-30 and java 1.8.
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux  Fedora
Reproduction steps
Get jenkinsfile-runner 1.0-beta-31and jenkins.war 2.375.3
execute runner
Expected Results
jenkins start and executes specified pipeline as it did with previous version and old jenkins.war on java 8
Actual Results
ClassNotFoundException: org.eclipse.jetty.util.thread.ThreadPool
Anything else?
No response

It is a valid defect, I think I will need to update Jetty and the Jenkins core even further

Yes is broken since 2.361 LTS
Latest version that I was able to use is 2.346.3
jfr-setup-action GitHub action still reference 3.346.1 as default version : https://github.com/jenkinsci/jfr-setup-action/blob/master/action.yml#L6

This one should be fixed now, kudos to @romanisb
P.S: Co-maintainers are welcome in this project, I am still unable to dedicate enough time


Not a wrapper

This repository cannot be called as an API wrapper for thecatapi for the following reasons

This does not wrap the entire API

You can only get specific data from the API using this (url, description as of now)
Only images/search endpoint is supported
Very poor code quality
Cannot be used in a production environment

This could rather be used as a module for getting random cat images but not an API wrapper.
So renaming the module and removing "An API wrapper for TheCatApi" from description and README would be better

ok boomer

Geno bald

Very poor code quality

This seemed good to me 👀

ok boomer

im 14 so im gen-z


Issue with k8s.io/docs/setup/independent/create-cluster-kubeadm/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
File used for command below seems to have been moved
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel-rbac.yml
Proposed Solution:
Modify path
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
Page to Update:
https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

This issue has been fixed in https://github.com/kubernetes/kubernetes.github.io/pull/5588. The flannel yaml is now pinned to a specific version.


Mutation of parameter in object function

Would be great if object function do not mutate obj parameter:
You can use Object.assign for this purpose in:
DotObject.prototype.object = function (obj, mods) {
  var self = this

  obj = Object.assign({}, obj); // prevent mutation

  Object.keys(obj).forEach(function (k) {
    var mod = mods === undefined ? null : mods[k]
    // normalize array notation.
    var ok = parsePath(k, self.seperator).join(self.seperator)

    if (ok.indexOf(self.seperator) !== -1) {
      self._fill(ok.split(self.seperator), obj, obj[k], mod)
      delete obj[k]
    } else if (self.override) {
      obj[k] = _process(obj[k], mod)
    }
  })

  return obj
}

This would break the current behavior. You'll have to call Object.assign before you pass it into .object()
I could add another method doing this for you or make it an option, not sure what that method would have to be named though. object itself is a rather cryptic name, so a new one wouldn't hurt.

This would break the current behavior.

You can increase major version. If you already return obj in your function, what is the reason to mutate parameter object? What profit? Pure functions has a lot advantages.

You'll have to call Object.assign before you pass it into .object()

That is what I'm doing now, actually. The thing is this unpredictable behavior leads to bugs that are difficult to detect.


Converting vision transformers

I noticed that the ViT models you converted are from here https://console.cloud.google.com/storage/vit_models/
and specifically, you converted only the models which are fine-tuned on imagenet1K (https://console.cloud.google.com/storage/browser/vit_models/imagenet21k%2Bimagenet2012)
We are interested in using the not-fine-tuned versions (https://console.cloud.google.com/storage/browser/vit_models/imagenet21k) so we can do the fine-tuning ourselves.
Can you share how did you do the weight conversion from Jax to PyTorch (or upload the not-fine-tuned models?)
Thanks a lot

https://github.com/rwightman/pytorch-image-models/releases/tag/v0.1-vitjx  ... B/16 and L/32 384x384 postfixed with _in21k ... should be able to load them into a model created with num_classes=21843
I don't see much point in converting B/32 and there are no L/16 or 224 specific models.
My conversion script is a hig hacky mess as usually the case for conversion scripts.

Hi @rwightman,
I couldn't restore the accuracy reported for ViT L/32 384x384 after fine-tuning on Imagenet.
I get final accuracy of around ~80.5 (max I see is 80.98 at earlier phase), while the advertized accuracy is 81.7-82). I double-checked that I use the exact same hyper-parameters, so now I ask myself whether it's a problem with the model or weights.
Do you have some suggested way of checking it?
did you check to assure that the pytorch/jax models are identical?
Is it possible they changed the weights and what you uploaded here is an older version?

@saareliad don't know why you'd assume the weights have an issue, if they were wrong you're more likely to see nothing working. You most likely didn't replicate the hparams / setup they used for fine-tuning. It's possible this model doesn't exactly match the default model doesn't exactly match in terms of some dropouts. The fact that it replicates exactly the 1k validation results from their weights means it matches all non-train specific aspects.

I changed the model dropout to 0.1 to match ViT repo if that's what you mean by "some dropouts".
By default the dropout here is set to 0, and 0.1 in ViT repo.
In ViT repo they have 2 runs for this model,
With training loss ~0.4 and ~0.8 so maybe their regime/hyperparams is not what advertised.
I actually reach lower training loss ( ~0.16 at end of training). And indeed best accuracy is at around ~0.4,
I.e overfitting.
In addition, I suspect that the weights for not-finetuned models have a "small issue" rather than a major one since they updated them on cloud after you published yours,
And results for the ViT-L-32 model in the paper is different than on GitHub.
BTW they added more models ViT-H, ViT-L/16 which makes sense to convert to Pytorch as well.

@rwightman I created my own script for loading & interpulating/reshaping the up-to-date weights from google clode and compared it to your loaded weights.
I confirm weights are identical for both models.
I didn't check the output vs the jax model yet, for now I trust your test of restoring validation/test accuracy.

@rwightman
I would like to borrow the weight of ViT B/32 pretrained on in21k, since it is the cheapest model to compute.
If you have some time to spare, could you please convert this model too?

I have meet problem in load backbone pretrained weight in 'jx_vit_base_resnet50_224_in21k-6f7c7740.pth'. Cause Resnet50 module has  different name definition.
For example, 'patch_embed.backbone.conv1.0.weight'  in resnet50 model, but ''patch_embed.backbone.stages.0.blocks.0.conv2.weight' in checkpoints.
You have mentioned you convert jax pretrained model into pytorch. But there are some layer incompatible, could you please help to translate it again?
Does there anybody meet the same question?

I have meet problem in load backbone pretrained weight in 'jx_vit_base_resnet50_224_in21k-6f7c7740.pth'. Cause Resnet50 module has  different name definition.
For example, 'patch_embed.backbone.conv1.0.weight'  in resnet50 model, but ''patch_embed.backbone.stages.0.blocks.0.conv2.weight' in checkpoints.
You have mentioned you convert jax pretrained model into pytorch. But there are some layer incompatible, could you please help to translate it again?
Does there anybody meet the same question?

@Zhu-haow that checkpoint works fine with the latest model on the branch where I have that model working properly. It will not work on master or any pypi release so your code may be out of sync

@Zhu-haow that checkpoint works fine with the latest model on the branch where I have that model working properly. It will not work on master or any pypi release so your code may be out of sync

@Zhu-haow that checkpoint works fine with the latest model on the branch where I have that model working properly. It will not work on master or any pypi release so your code may be out of sync

which model can be used for  loading this backbone pretrained weight ?
I opened a discussion here.

@Zhu-haow that checkpoint works fine with the latest model on the branch where I have that model working properly. It will not work on master or any pypi release so your code may be out of sync

which model can be used for  loading this backbone pretrained weight ?
I opened a discussion here.


RFC

Motivation
Right now we use a couple of shapeless based libraries in data pipelines.

https://github.com/nevillelyh/shapeless-datatype for:

conversion between case classes <-> Avro GenericRecord, BigQuery TableRow, Datastore Entity, TensorFlow Example
RecordMapper, RecordMatcher, LenseMatcher for some generic data type mapping/matching 1

https://github.com/alexarchambault/scalacheck-shapeless for deriving ScalaCheck Gen[T] random generators for tuples and case classes
CaseClassDiffy in ratatool to derive Diffy[T] for comparing "diff" between 2 primitive types, case class, or Avro/Protobuf/BigQuery records
Algebird macros, not shapeless based but also for deriving Semigroup[T], Monoid[T] for tuples & case classes  2

The biggest problem of shapeless is slow compilation. Most of the type class derivation cases can be replaced with magnolia. We already have tfexample-derive for TF Example derivation. For 2, magnolia should be more flexible and maintainable than handcrafted macros.
Not sure if 1 can be covered with magnolia but they're also not widely used.
Scopes

Minimal dependencies, Magnolia and a few necessary ones to reduce migration impact
Support Scala 2.11-2.13, with our forked Magnolia for 2.11 support
Everything serializable, so they can be used in pipelines
Shared interface for similar components, e.g. Converter[T] for type conversion 3

3 may require a core sub-project. Another benefit of converters sharing a root trait is reusable tests, etc. but that's debatable.
Tasks
A breakdown of tasks ranked by priority and size.

scalacheck Gen[T] derivation
avro/bigquery/datastore/tensorflow/protobuf Converter[T] derivation, among them tensorflow already exists, protobuf might be doable but tricky
cats Semigroup[T] etc. derivation, since Algebird is not available for Scala 2.13 yet
diffy Diffy[T] derivation, with the goal of replacing that in ratatool

Checklist for first release:

[ ] Rethink Converter[T, R] design
[ ] Support nested records in TF ExampleType
[ ] Schema for TableRowType
[ ] AvroType
[ ] Schema for AvroType

Nice to have for the future:

[ ] Diffy
[ ] ProtobufType


Define and Implement a user authentication model

-- The 2nd part of Issue #56 --
User authentication model should allow to enable access management on webservice level.

Since Issue #106 is not implemented yet, the question rises, how to configure auth in a test setup?

Found the answer here: https://github.com/redlink-gmbh/smarti/commit/b0b2d89f5d2f109a3ad2f986a5556f181216f4e8

Is there any how to authorize against Smarti  with a chat client?

@ruKurz: with the current (0.6.0) implementation (SimpleAuthConfiguration), just provide a Basic Auth-Header, e.g.
curl --user admin:${PASSWORD} http://localhost:8080/

Please note that there's only one user (admin), password can be configured via application-property security.password
For the 0.6.1-Version, we'll have

full user management (username+password, to be provided via basic auth)
token-based authentication, to be provided via X-Auth-Token-header.

Both, users and auth-tokens are assigned to a client and further restrict the data (conversations, configuration, etc...) that is visible when using the credentials. See details in #123.

Improvements:

a user should only manage his own password
a user should only be allowed to set initial passwords for other users
a user should be able to manage his own profile

We need to discuss if these suggestions are making sense.
Should we create separate issues?


i have got error！！！1.5.4

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
我的环境是python3.12.3 ，用的ddddocr 1.5.4

example.py
import ddddocr
ocr = ddddocr.DdddOcr()
文件里面才就写了这两句

除了降级numpy包没有别的办法吗

目前看可能只能等降级，等待相关依赖更新~

降级到 numpy =  1.26.4 对您的包不会有什么影响吗,就针对于ddddocr1.5.4来说

应该需要等 onnxruntime 支持 NumPy 2.0
https://github.com/microsoft/onnxruntime/pull/21085

目前测试应该没啥问题了


Enchanting table won't detect more than 15 bookshelves

I had about 50 mods. Enchanting table couldn't get above level 60 (with 15 enchanted hellshelves). Took out all the other mods, same thing happened. Tried reinstalling apotheosis + placebo. Still nothing. What else can I try?

Nothing, thats working as intended

I thought max enchantment level with this mod was supposed to be level 150?