build image fail  in linux/arm64

Description
when i try to do the test of TestBuild ,it alway failed，and exitcode is 1.This is the log print(i add the log).There is lot of test failed when they start build images.
=== RUN   TestBuild
testutil.go:419: buildkitHost="unix:///run/buildkit/buildkitd.sock"
{[/usr/local/bin/nerdctl --namespace=nerdctl-test builder prune] 0s    [] []}
the first parameter
[]
the second parameter
&{{[/usr/local/bin/nerdctl --namespace=nerdctl-test builder prune] 0s    [] []} 0x4000412580}
whther it will make sense
nerdctl-testbuild
{[/usr/local/bin/nerdctl --namespace=nerdctl-test rmi nerdctl-testbuild] 0s    [] []}
the first parameter
[]
the second parameter
&{{[/usr/local/bin/nerdctl --namespace=nerdctl-test rmi nerdctl-testbuild] 0s    [] []} 0x4000412580}
the tmp file is :
/tmp/nerdctl-build-test4145666946
{[/usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946] 0s    [] []}
the first parameter
[]
the second parameter
&{{[/usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946] 0s    [] []} 0x4000412580}
the res code is ?
Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946
ExitCode: 1
Error:    exit status 1
Stdout:
Stderr:
2022/08/11 10:54:05
Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946
ExitCode: 1
Error:    exit status 1
Stdout:
Stderr:
build_test.go:47: assertion failed: res.ExitCode is not exitCode

--- FAIL: TestBuild (3.23s)
Steps to reproduce the issue
go test -v
test target: "nerdctl"
=== RUN   TestBuild
testutil.go:419: buildkitHost="unix:///run/buildkit/buildkitd.sock"
{[/usr/local/bin/nerdctl --namespace=nerdctl-test builder prune] 0s    [] []}
the first parameter
[]
the second parameter
&{{[/usr/local/bin/nerdctl --namespace=nerdctl-test builder prune] 0s    [] []} 0x4000412580}
whther it will make sense
nerdctl-testbuild
{[/usr/local/bin/nerdctl --namespace=nerdctl-test rmi nerdctl-testbuild] 0s    [] []}
the first parameter
[]
the second parameter
&{{[/usr/local/bin/nerdctl --namespace=nerdctl-test rmi nerdctl-testbuild] 0s    [] []} 0x4000412580}
the tmp file is :
/tmp/nerdctl-build-test4145666946
{[/usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946] 0s    [] []}
the first parameter
[]
the second parameter
&{{[/usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946] 0s    [] []} 0x4000412580}
the res code is ?
Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946
ExitCode: 1
Error:    exit status 1
Stdout:
Stderr:
2022/08/11 10:54:05
Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test build -t nerdctl-testbuild /tmp/nerdctl-build-test4145666946
ExitCode: 1
Error:    exit status 1
Stdout:
Stderr:
build_test.go:47: assertion failed: res.ExitCode is not exitCode

--- FAIL: TestBuild (3.23s)
=== RUN   TestBuildBaseImage
build_test.go:56: cant build an image on the previously built image
--- SKIP: TestBuildBaseImage (0.00s)
=== RUN   TestBuildFromContainerd
build_test.go:95: cant build an image on the previously built image
--- SKIP: TestBuildFromContainerd (0.00s)
=== RUN   TestBuildFromStdin
=== PAUSE TestBuildFromStdin
=== RUN   TestBuildLocal
=== PAUSE TestBuildLocal
=== RUN   TestBuildWithIIDFile
=== PAUSE TestBuildWithIIDFile
=== RUN   TestBuildWithLabels
=== PAUSE TestBuildWithLabels
=== RUN   TestBuilderDebug
the tmp file is :
/tmp/nerdctl-build-test3687393462
{[/usr/local/bin/nerdctl --namespace=nerdctl-test builder debug /tmp/nerdctl-build-test3687393462] 0s    [] []}
the first parameter
[]
the second parameter
&{{[/usr/local/bin/nerdctl --namespace=nerdctl-test builder debug /tmp/nerdctl-build-test3687393462] 0s    [] []} 0x400020e000}
the res code is ?
Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test builder debug /tmp/nerdctl-build-test3687393462
ExitCode: 0
Stdout:   Filename: "Dockerfile"
=>   1| FROM myregistry.domain.com:5001/stargz-containers/alpine:3.13-org
2| CMD ["echo", "nerdctl-builder-debug-test-string"]
3|
(buildg)
Stderr:   time="2022-08-11T10:54:06Z" level=warning msg="using host network as the default"
time="2022-08-11T10:54:06Z" level=warning msg="git source cannot be enabled: failed to find git binary: exec: "git": executable file not found in $PATH"
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.1s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 154B done
#2 DONE 0.1s
#3 [internal] load metadata for myregistry.domain.com:5001/stargz-containers/alpine:3.13-org
time="2022-08-11T10:54:07Z" level=info msg="debug session started. type "help" for command reference."
#3 DONE 0.1s
#4 [1/1] FROM myregistry.domain.com:5001/stargz-containers/alpine:3.13-org@sha256:fed3b2b26ac9e0dd5a3c80e69a763d2df12c405e2ebb261fe75816b1cbab157a
#4 resolve myregistry.domain.com:5001/stargz-containers/alpine:3.13-org@sha256:fed3b2b26ac9e0dd5a3c80e69a763d2df12c405e2ebb261fe75816b1cbab157a 0.0s done
#4 CANCELED
2022/08/11 10:54:07
Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test builder debug /tmp/nerdctl-build-test3687393462
ExitCode: 0
Stdout:   Filename: "Dockerfile"
=>   1| FROM myregistry.domain.com:5001/stargz-containers/alpine:3.13-org
2| CMD ["echo", "nerdctl-builder-debug-test-string"]
3|
(buildg)
Stderr:   time="2022-08-11T10:54:06Z" level=warning msg="using host network as the default"
time="2022-08-11T10:54:06Z" level=warning msg="git source cannot be enabled: failed to find git binary: exec: "git": executable file not found in $PATH"
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.1s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 154B done
#2 DONE 0.1s
#3 [internal] load metadata for myregistry.domain.com:5001/stargz-containers/alpine:3.13-org
time="2022-08-11T10:54:07Z" level=info msg="debug session started. type "help" for command reference."
#3 DONE 0.1s
#4 [1/1] FROM myregistry.domain.com:5001/stargz-containers/alpine:3.13-org@sha256:fed3b2b26ac9e0dd5a3c80e69a763d2df12c405e2ebb261fe75816b1cbab157a
#4 resolve myregistry.domain.com:5001/stargz-containers/alpine:3.13-org@sha256:fed3b2b26ac9e0dd5a3c80e69a763d2df12c405e2ebb261fe75816b1cbab157a 0.0s done
#4 CANCELED
--- PASS: TestBuilderDebug (1.00s)
Describe the results you received and expected
i wanna it build success
What version of nerdctl are you using?
nerdctl version
Client:
Version:	59b14cc8.m
OS/Arch:	linux/arm64
Git commit:	59b14cc82f71b071c0c111fc87193c697bda5d29.m
Server:
containerd:
Version:	v1.4.0-beta.1-3526-g98f12768b
GitCommit:	98f12768b6c71d6b0e837140ef19b98187f0dce2
centos8  el8_2.aarch64
cni 1.1.0
buildkitd -v
buildkitd github.com/moby/buildkit v0.10.3 c8d25d9a103b70dc300a4fd55e7e576472284e31
buildg version
buildg v0.3.0 d0b75aa61a0729230d243b3e28092939cf5dc212
ipfs version
ipfs version 0.11.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
No response
Host information
4.18.0-193.14.2.el8_2.aarch64 #1 SMP Wed Aug 12 02:46:47 EDT 2020 aarch64 aarch64 aarch64 GNU/Linux

@junnplus

@kzys @dqminh @mattfarina @vbatts

You should make your question readable first.

uhmm  i  just run the it-test, all the test  failed when they start use the commd of "nerdctl build".i feel so confused...
i provide the message is actually mess, but it jsut the log i add,when i run test.
ok i will provide clearly logs later.

You should make your question readable first.

update the message ,please have a look.

You should make your question readable first.

update the message ,please have a look.

u


Decorate auth_views.login only once

During testing, the middleware is created (i.e. __init__ is called) for every new request through the django test client. This PR adds a check, as suggested in #107, to not re-decorate auth_views.login over and over it if it's already been decorated.

Thank you


Implementing feedback from BTP starter scenario testing team

Implementing feedback from BTP starter scenario testing team

@MichaelCzcz I have made a minor change to the .md file now.

@Karunaharan Can you please push them?

Yes, I have pushed them


Re-balance corona values based on historical data

This is a rework of the corona camera experiment based on research I did, outlined in issue #1344 in rp1.
Total sample mass reduced from 500kg to 100kg, or 20kg per launch. 100kg seems like way too much film. Considering the first return only brought back about 10kg, 20kg seems more accurate. It's hard to get exact numbers on the mass of the film they carried, and the missions varied. In fact, most satellites completed their missions in only a day or two, even though the later ones could stay up for about 20 days. It's hard to imagine a camera that can go through 100kg of film specifically designed to be extra thin and light, in only 24 hours.
Total science return reduced from 200 to 100. This for balance reasons due to the reduced experiment duration.
Total duration reduced from 2 years to 100 days, or 20 days per camera. This is to match the camera's historical mission parameters.
The corona camera is an odd experiment as it currently is, and a lot of it's parameters don't seem to make much sense. Yes, the real thing used about 100 watts. The reason it's such a struggle to power with solar panels is because the real satellite had about 250 kg of batteries. With these changes and those on rp1, the satellites and LVs players create will be much closer to historical data, and the mission profiles will be quite similar as well.

I think it may be worth reducing the number of missions the player has to fly to only 2, rather than 5. 5 is an utter chore. Going from 100kg->20kg sample mass makes sense though! (I would therefore change the total rewards to 2/5 what they were instead of 1/2, also.)

I think it depends on what the intent of the experiment is. Right now I see it as an optional satellite to make if you're out of science and/or you have spare VAB time and you want to launch something to avoid being idle, so having 5 launches makes sense. If it's considered "optimal" or "required" science points in a standard career, then 5 does seem excessive.

(answered on the RP-1 PR so we don't have discussion split.)

for reference: https://github.com/KSP-RO/RP-0/pull/1517

Science stuff is now in RP-1 itself.


Add glossary to introductory or popular articles

JoAnn would like for us to consider adding a glossary to introductory and popular articles for new readers to reference, for instance "Op Mode" isn't always defined in introductory articles.
[Danny] Consider possibly adding hoverxref plugin to create hover-items for glossary terms.
https://sphinx-hoverxref.readthedocs.io/en/latest/usage.html

PR from @uvidyadharan called "Add Glossary":
https://github.com/FIRST-Tech-Challenge/ftcdocs/pull/237


fix: ignore errors from other sources

This e.g. happens with iframes.
Seems to fix #466
For ref see:

https://sentry.io/answers/script-error/
https://scoutapm.com/blog/script-errors

Makes sense, thanks!


Protobuf 5.28.0

With new protobuf 5.28.0 released 28th of August there are 2 issues:

We observe warnings like:

Lib\site-packages\google\protobuf\runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.0 at volue/mesh/proto/auth/v1alpha/auth.proto. Please avoid checked-in Protobuf gencode that can be obsolete.

We are using grpcio tools to compile our proto files. It seems regardless of the installed protobuf version, grpcio tools generate them using version 5.27.2.

This discrepancy may be the potential cause of one test failing: test_get_utc_time_attribute[True].

It seems that grpc tools indeed have their own protobuf version:
https://github.com/grpc/grpc/blob/v1.66.1/third_party/protobuf.patch
In protobuf 5.28.0 there was the gencode vs runtime protobuf version warning introduced:

Lib\site-packages\google\protobuf\runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.0 at volue/mesh/proto/auth/v1alpha/auth.proto. Please avoid checked-in Protobuf gencode that can be obsolete.

The reason why test started failing: With protobuf 5.28.0 the approach with listing fields to distinguish whether a singular field was set or not seems to no longer work: all fields are listed, for previous version 5.27.4 only the ones where actual, non-empty value was provided. It may be because of the codegen vs runtime difference.


  I couldn't (yet) find a documented way to enumerate all events for a provider.

I noticed a similar number of manifest dump issues (using RegisteredTraceEventParser.GetManifestForRegisteredProvider) on my machine.
Our use-case is not related to TraceParserGen. We want to enable our users to browse and explore registered manifests, so they can build queries without/before enabling providers.

hi i'd like to be able to do the same thing as the original poster.
I'm just starting out with C#..
Is there a bit of an idiot's guide to what I should be requesting when I P/Invoke TdhEnumerateManifestProviderEvents?
is it as simple as replacing this line and the rebuilding?
https://github.com/microsoft/perfview/blob/ef1b2562ed07b85a0e5386a711d91988ef395208/src/TraceEvent/RegisteredTraceEventParser.cs#L140

@caljnj, I am not aware of one.  I did a bit of searching and only found this MSDN documentation: https://docs.microsoft.com/en-us/windows/win32/etw/what-s-new-in-event-tracing and https://docs.microsoft.com/en-us/windows/win32/api/tdh/nf-tdh-tdhenumeratemanifestproviderevents.

many thanks @brianrob!
i'll dig around a bit in these articles and see what i come up with

Recently a different repository added a fix for a similar issue: https://github.com/zodiacon/EtwExplorer/pull/3
They write -

If an instrumentation manifest is not available, then search for a matching WMI EventTrace class and enumerate the metadata there. The mapping of fields isn't perfect - but it was quicker than an alternate UI.
"Windows Kernel Trace" and "Active Directory Domain Services: SAM" are two good examples.
Some providers seem to have neither a manifest or a mof definition. e.g. Microsoft-Antimalware-ShieldProvider

☝ That was me. 😃
That workaround was for dumping (MOF) metadata for legacy (non-manifest) providers.
For these providers, returning "not found" when querying for a manifest is likely valid.
Though I also logged some of the missing/invalid XML errors that I encountered while trying to dump some manifest providers with GetManifestForRegisteredProvider() in #1067, #1068 and #1069.


Upcoming service schedule list view

Critical Changes
Changes
A new list view called Upcoming service schedules that will show a list of all service schedules where the first session start date is greater than or equal to today.
Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below
- [ ] Place holder data is incorporated (Refer to Case Management Sample Data document)
- [ ] Base axe-core JEST test included for any new LWC (No critical violations)
- [ ] CRUD/FLS is enforced in Apex
- [ ] Update & Test permission sets to account for new features and CRUD/FLS
- [ ] All modified classes are unit tested (Apex) at 100% coverage
- [ ] UX approval or UX not necessary

[x] PR contains draft release notes
[x] Attach work item to the pull request with Lurch **Lurch:attach W-000000 or **Lurch:add
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer
[ ] QA

[ ] QE story level testing completed

W-8005462


Hi,guru, git pulled the latest things, but still no-reponse for API Key from both infura and Alchemy.

Hi,guru,
My env:
Embarcadero® Delphi 10.4 Version 27.0.38860.1461 (10.4 Update 1)
Windows 7 Service Pack 1(Version 6.1, Build 7601 64-bit Edition)
SSL DLL is 1.0.2u
I did use my API keys from infura and Alchemy. But both no reponse.

and my exe

my exe: PubSub.zip

Please don't post any attachments, especially no executables. You should never be downloading and executing files over the Internet.

SSL DLL is 1.0.2u I did use my API keys from infura and Alchemy. But both no reponse.

 Are there no errors whatsoever?

Yes，32-bit and  no errors.

The compilier output:
Checking project dependencies...
Building PubSub.dproj (Debug, Win32)
brcc32 command line for "PubSub.vrc"
c:\delphi10.4update2\bin\cgrc.exe -c65001 PubSub.vrc -foPubSub.res
dcc32 command line for "PubSub.dpr"
...
[dcc32 Hint] SbpBase16.pas(123): H2443 Inline function 'TUtilities.StringToCharArray' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] SbpBase58.pas(182): H2443 Inline function 'TUtilities.StringToCharArray' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] SbpBase64.pas(230): H2443 Inline function 'TUtilities.StringToCharArray' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] ClpAsn1Objects.pas(4389): H2077 Value assigned to 'TConstructedOctetStream.Read' never used
[dcc32 Hint] ClpAsn1Objects.pas(4438): H2077 Value assigned to 'TConstructedOctetStream.ReadByte' never used
[dcc32 Hint] ClpAesEngine.pas(520): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(522): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(524): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(526): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(545): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(547): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(549): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(551): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(553): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(555): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(623): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(625): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(627): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(629): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(631): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(633): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(635): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(637): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(758): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(759): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(760): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpAesEngine.pas(761): H2443 Inline function 'TConverters.ReadBytesAsUInt32LE' has not been expanded because unit 'ClpBitConverter' is not specified in USES list
[dcc32 Hint] ClpSecureRandom.pas(211): H2077 Value assigned to 'TSecureRandom.Next' never used
[dcc32 Hint] ClpSecureRandom.pas(324): H2443 Inline function 'TTimes.NanoTime' has not been expanded because unit 'System.DateUtils' is not specified in USES list
[dcc32 Hint] ClpNistNamedCurves.pas(103): H2443 Inline function 'TSecNamedCurves.GetByOid' has not been expanded because unit 'ClpIX9ECParametersHolder' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(90): H2443 Inline function 'TSecNamedCurves.GetByName' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(94): H2443 Inline function 'TNistNamedCurves.GetByName' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(99): H2443 Inline function 'TTeleTrusTNamedCurves.GetByName' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(110): H2443 Inline function 'TSecNamedCurves.GetByOid' has not been expanded because unit 'ClpIX9ECParametersHolder' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(115): H2443 Inline function 'TTeleTrusTNamedCurves.GetByOid' has not been expanded because unit 'ClpIX9ECParametersHolder' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(127): H2443 Inline function 'TSecNamedCurves.GetOid' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(131): H2443 Inline function 'TNistNamedCurves.GetOid' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] ClpECNamedCurveTable.pas(136): H2443 Inline function 'TTeleTrusTNamedCurves.GetOid' has not been expanded because unit 'System.SysUtils' is not specified in USES list
[dcc32 Hint] ClpECKeyPairGenerator.pas(121): H2443 Inline function 'TCustomNamedCurves.GetByOid' has not been expanded because unit 'ClpIX9ECParametersHolder' is not specified in USES list
[dcc32 Warning] web3.rlp.pas(290): W1022 Comparison always evaluates to True
[dcc32 Warning] web3.eth.types.pas(350): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString'
[dcc32 Warning] web3.eth.types.pas(359): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString'
[dcc32 Hint] common.pas(47): H2443 Inline function 'TFile.Create' has not been expanded because unit 'System.Classes' is not specified in USES list
[dcc32 Hint] main.pas(244): H2443 Inline function 'Beep' has not been expanded because unit 'Winapi.Windows' is not specified in USES list
Success
Elapsed time: 00:00:07.7

As Steven takes all reports seriously, he asked me to test the project using Delphi 10.
I have Delphi 10.3 with an older version of the libeay32.dll file.
I was able to compile and run the program successfully.
I also saw the block numbers being updated.
We are not sure what your problem is, but it seems to be more related to your local environment than to the code itself.
Therefore, please check your setup, firewall, API keys, etc.

Thank you PieterValentijn,
I studied Steven's code just in spare time, sorry for late reponse.
My infura API key should be ok because I have used this API key do other things successfully.
Today I closed firewall, still no response.
As my environment , the most suspecious thing is : I used VPN and this VPN acted as global proxy.
Is VPN the possible reason to cause this no-response?
If it was, how to solve this problem?

“You say no response but does that also mean no error when you run this in the debugger?”
No error in the debugger. And  seconds later, the APP give no response. Then I have to kill it after several miniutes.
"I guess that does something INDY could not."
At least, I have made other APP call FTP components in Indy10.1.5 ( in my delphi10.4.1 ). and this APP worked.
"Is this the only example for Delphereum that does not work for you?"
Yes, I followed the examples one by one, till now 1st till 10th all workd for me , and this 11th one failed.

And just now  I  tried 64-bit target, again no-reponse .

oh, need register these two dlls?

Did you buy the comercial components.
if not then that is probably why it does not work.

And the  libeay32.dll must ifcource be the same as your project 32 or 64 bit.
I guess thats what is wrong now.

But it is very strange that I have copied the dlls to all the possible used places.

It is possible for your system to load other DLLs available elsewhere on your system. Please search your system for copies of them, then rename or delete those. You will want your executable to load version 1.0.2u only.

"Did you buy the comercial components."
I found my sgcWebocket is not registered. :(

I found my sgcWebocket is not registered.

You should be fine. The example should just work with the trail version.

I noticed "class DELPHICLASS EIdOSSLCouldNotLoadSSLLibrary;"  in c:\Delphi10.4Update2\sgcWebSockets_D10_4\LibD10_4\win32\sgcIdSSLOpenSSL.hpp
So, I guess perhaps I should copy to other places to satisfy sgc things.
But alas, failed again.
I am confused, where is the right path to place this dll?

where is the right path to place this dll?

The same directory as where your 32-bit PubSub.exe is

But at the very first moment, I copied them to the directory where my PubSub.exe is.
Please refer to the left-lower corner of th pic in the following link.
https://github.com/svanas/PubSub/issues/2#issuecomment-1556892285

Hi, gurus,
I found that I had copied the 64-bit dll files to the directory to run 32-bit exe.
So sorry for having wasted you both lots of time.
Now the exception is:

Now the exception is (With VPN)

socket error 10060 == WSAETIMEDOUT

and (Without VPN)

socket error 10061 == WSAECONNREFUSED

The latest situation:
Alchemy is OK now.
And Infura is still no-response.

All I can say is: my Infura API key is no problem according to the former example.
Please refer to the following pic that I got balance via my Infura API key.

Then I turned to 64bit version. The same situation: Alchemy passed;Infura failed.
The new project was named as PubSub64.

And the following pic proved that I did apply 64-bit dlls mentioned before in the project of PubSub64.

So, let's forget about Infura, just apply Alchemy to continue the 11th example in the git thread of delphereum.
The target is 64bit and I used API Key from Alchemy, and still failed, and the exception is :

Also I'll commet this on delphereum thread.

The latest situation: Alchemy is OK now.

Awesome! I am happy to hear you got the WebSocket connection to Alchemy working.

ok sry that was AI generated as i dont type like that :-)

That's all right.:)
It's my pleasure and honour to contribute about this .

The error

If press continue:

Change TLS_12 to TLS_13

Still the same error.
And I found another compile "error" though  this error did not effect the build of exe.

The bug was partly cleared.
Notice I used VPN.
So while infura, proxy should be configured.

But while alchemy, proxy should not be configured, or , exceptions will occur.


[Feature Request] Add support for default limit to CLI Influx client

Feature Request
Proposal: Would be nice for the CLI to have a default limit when one is not provided in the interactive mode. It could potentially be changed (I think there's also settings that would remember the limit value)
Current behavior: If i leave limit out of the query potentially this can pull down a lot of data.
Desired behavior: Ideally default limit, something like 25 would provide a way to pull down a screen full (or multiple screens full) of data instead of pulling down lots of rows.
Use case: When writing queries using the CLI it would be nice to know that if I make a mistake worst thing that will happen is that the default limit will limit the amount of data I am looking at.

What if someone wants to fetch all the records using CLI? Adding default limit might be misleading. Should there be some information when default limit triggers and option to bypass default limiting?

In the case where someone wants to pull down all the data, should there be a flag?

can the default be to return all data and introduce a new flag to limit the data?

is this feature still needed? I would like to take this and start contributing to this project.


Too many records are returned in 4.11.0 when using nested include and @unique field is null

Bug description
We have noticed a bug in Prisma since upgrading from 4.10.1 to 4.11.0. In our database we have a top-down relation between three tables (A->B->C) where the middle table (B) includes an optional @unique string. When this field is null, it seems to cause issues when Prisma joins the tables on findUnique since we get duplicate data from the bottom table (C).
The bug disappears if I move the @unique constraint from the line where the optional string is declared, and instead place it under my other @@unique constraints.
How to reproduce
Call findUnique and include two other tables where the second table includes an optional @unique constraint. The problem happens when this optional field is null.
Expected behavior
No response
Prisma information
The schema looks something like:
model A {
  a1    String
  a2    String
  bs    B[]

  @@unique([a1, a2])
}

model B {
  b1    String
  b2    String
  b3    String?   @unique
  a     A         @relation(fields: [a1, a2], references: [a1, a2])
  a1    String
  a2    String
  cs    C[]

  @@unique([b1, b2])
}

model C {
  c   String    @unique
  b    B         @relation(fields: [b1, b2], references: [b1, b2])
  b1   String
  b2   String
}

I query the data as
await prisma.a.findUnique({
      where: { a1_a2: { a1: 'a1', a2: 'a2', } },
      include: { b: { include: { c: true } } },
    });

This gives me data looking like:
{
    a1: 'a1',
    a2: 'a2',
    bs: [
      {
        b1: 'b11',
        b2: 'b21',
        b3: null,
        a1: 'a1',
        a2: 'a2',
        cs: [
          {
            c: 'c1',
            b1: 'b11',
            b2: 'b21',
          },
          {
            c: 'c2',
            b1: 'b12',
            b2: 'b22',
          },
        ],
      },
      {
        b1: 'b12',
        b2: 'b22',
        b3: null,
        a1: 'a1',
        a2: 'a2',
        cs: [
          {
            c: 'c1',
            b1: 'b11',
            b2: 'b21',
          },
          {
            c: 'c2',
            b1: 'b12',
            b2: 'b22',
          },
        ],
      },
    ],
  }

I only expect one element in each of the cs arrays.
Again, the problem is solved if I change model B to
model B {
  b1    String
  b2    String
  b3    String?
  a     A         @relation(fields: [a1, a2], references: [a1, a2])
  a1    String
  a2    String
  cs    C[]

  @@unique([b1, b2])
  @@unique([b3])
}

which makes me think that the ordering of the unique constraints matter internally in Prisma. Because it does not work if I do
  @@unique([b3])
  @@unique([b1, b2])

Environment & setup

OS: macOS
Database: PostgresQL
Node.js version: 18.12.1

Prisma Version
4.11.0

Thanks for the report @johanforslund, I can reproduce and confirm this.
FWIW, I couldn't even recreate your db structure correctly with the latest Prisma since c2 was being connected to the wrong B, so I had to use Prisma 4.10.1 to seed the data — not sure if it has the same root cause or if it's a separate bug.
I'll bisect the commit where this starts happening and tag the appropriate people.

git bisect points at https://github.com/prisma/prisma-engines/pull/3748, cc @tomhoule

@Weakky could it be the https://github.com/prisma/prisma-engines/pull/3762 problem?

@tom It does look very similar indeed!

@Weakky @tomhoule https://github.com/prisma/prisma-engines/pull/3762 indeed fixes both issues, I just tested it.


fix(challenge): Improve tests for Circular Queue challenge.

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #13303

Description

Fix some typos that prevented valid solutions from passing.
Add new test cases to better test for what the instructions ask for.
Improve test-messages.
Add passing solution, to increase coverage of npm test.

@Greenheart can you PM me your successful code for this on Gitter? I've written what I think is decent code but it doesn't pass the tests.
Thanks.

@dhcodes I'll post it here if anyone else is interested.
I use JSON.stringify() to prepare code to be posted in solutions
and then console.log() to print it with proper formatting again. It makes it pretty convenient to test things :blush:
class CircularQueue {
  constructor () {
    this._cq = ['', '', '', '', ''];
    this._reader = 0;
    this._writer = 0;
  }

  printCollection () {
    return this._cq;
  }

  _updatePointer (id) {
    if (++this[id] === this._cq.length) {
      this[id] = 0;
    }
  }

  enqueue (item) {
    if (Array.isArray(item)) {
      for (const x of item) {
        this.enqueue(x);
      }

      return;
    }

    this._cq[this._writer] = item;

    this._updatePointer('_writer');
  }

  dequeue () {
    const item = this._cq[this._reader];
    this._cq[this._reader] = '';

    this._updatePointer('_reader');
    return item;
  }

  front () {
    return this._cq[this._reader];
  }
}

I'm sort of mixed up in the directions so I'll let someone else QA.

@raisedadead Good points! I don't know if we've got a separate issue for this (I'll see what I can find), but I think it's better to fix this in a separate PR.

@raisedadead I didn't find any issues for this. Could you open one with your suggested changes and tag me there so we could discuss and fix it? :blush:

Sounds, good to me. Will do the needful.


Improve the footer section

Details
Improve the footer section and the social media icons
Screenshots
No response
Type of Contribution

[ ] Update to an existing Animated Button
[ ] Adding a new Button
[ ] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[X] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

No more UI fixes as of now because I had updated the UI and it will be live on Monday!


Fedn example

Description
This PR contains an example of how the MONAI centralized 2D classification example can run using the FEDn framework. We have created a subdirectory in the federated_learning directory and provided a README file.

Hi @sztoor, thanks for the PR, could you please fix the DCO issue with the recommended suggestions?
https://github.com/Project-MONAI/tutorials/pull/1732/checks?check_run_id=26545667988

Done! Do you want me to create a new PR?
/Salman.
On Tue, Jun 25, 2024 at 9:34 PM YunLiu @.***> wrote:

Hi @sztoor https://github.com/sztoor, thanks for the PR, could you
please fix the DCO issue with the recommended suggestions?
https://github.com/Project-MONAI/tutorials/pull/1732/checks?check_run_id=26545667988
—
Reply to this email directly, view it on GitHub
https://github.com/Project-MONAI/tutorials/pull/1732#issuecomment-2189824100,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEN4XSJ47XW6M4DC4P5NYVDZJHA4VAVCNFSM6AAAAABJXE5FK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBZHAZDIMJQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Salman Toor, PhD
Uppsala University, Sweden.

Sorry, the problem still exists. Let me do it from scratch and make a new
PR.
/Salman.
On Wed, Jun 26, 2024 at 5:32 PM Salman Toor @.***> wrote:

Done! Do you want me to create a new PR?
/Salman.
On Tue, Jun 25, 2024 at 9:34 PM YunLiu @.***> wrote:

Hi @sztoor https://github.com/sztoor, thanks for the PR, could you
please fix the DCO issue with the recommended suggestions?
https://github.com/Project-MONAI/tutorials/pull/1732/checks?check_run_id=26545667988
—
Reply to this email directly, view it on GitHub
https://github.com/Project-MONAI/tutorials/pull/1732#issuecomment-2189824100,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEN4XSJ47XW6M4DC4P5NYVDZJHA4VAVCNFSM6AAAAABJXE5FK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBZHAZDIMJQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Salman Toor, PhD
Uppsala University, Sweden.

--
Salman Toor, PhD
Uppsala University, Sweden.

Hi @sztoor, I don't think you need to recreate the PR, just follow the DCO guide with commit info like this:
DCO Remediation Commit for root<EMAIL_ADDRESS>
I, root<EMAIL_ADDRESS>hereby add my Signed-off-by to this commit: 0ea2638ea3098ad1542f95b1446aa9e073fc53d3
I, root<EMAIL_ADDRESS>hereby add my Signed-off-by to this commit: 1ae7020566e5fdb0545a24b4491353f729e880b2

Signed-off-by: root<EMAIL_ADDRESS>

hi,
I tried but it seems the DCO check was not clear. So I cleaned everything
and created a new PR. There I see that the DCO check was
successfully cleared.
/Salman.
On Thu, Jun 27, 2024 at 6:41 AM YunLiu @.***> wrote:

Hi @sztoor https://github.com/sztoor, I don't think you need to
recreate the PR, just follow the DCO guide with commit info like this:
DCO Remediation Commit for root @.***>
I, root @.>, hereby add my Signed-off-by to this commit: 0ea2638ea3098ad1542f95b1446aa9e073fc53d3
I, root @.>, hereby add my Signed-off-by to this commit: 1ae7020566e5fdb0545a24b4491353f729e880b2
Signed-off-by: root @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/Project-MONAI/tutorials/pull/1732#issuecomment-2193684102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEN4XSIM6DDJXJAFRDR53HLZJOJZHAVCNFSM6AAAAABJXE5FK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJTGY4DIMJQGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Salman Toor, PhD
Uppsala University, Sweden.


Add feedback when no storm search term identified

Is your feature request related to a problem? Please describe.
Add short print statement when a storm search term or pattern is not found
Describe the solution you'd like
example response:
> pstorm collect -s katherine
Download Status Report (February 19, 2020 at 08:04 AM) <-s katherine -t .* -p C:\Users\<USER>\psi\collect\data\archives>

<No storms matching search term detected>

This is consistent with the feedback given when no archive files are detected for a specific search term or pattern.

Note: Submitting this issue as part of the JOSS review process (openjournals/joss-reviews#2075)

You're right! I've added a message now when no storms match the search term. Added in a direct commit to master.


Updates to rake task to upload to heroku

Addresses the following changes to the rake task
to deploy a branch to Heroku

Use an identifier instead of a pr_number
Use a default for an organisation
Upload topics to Heroku

@chao-xian, Thank you for your review; I have updated the documentation.


Check the presence of XR device before dependent subsequent steps

Overview
This PR fixes warnings created by MixedRealityBoundarySystem by checking whether there is any XR device before performing subsequent steps that require such device (e.g. SetTrackingSpace()). Thanks @keveleigh for coming up with the idea of adding the virtual IsXRDevicePresent property in base class that defaults to true to prevent a breaking change.
Changes

Fixes: #8568.

/azp run

/azp run


quoting distribution name parameter fails

Windows Version
Microsoft Windows [Version 10.0.19044.2604]
WSL Version
WSL version: <IP_ADDRESS> Kernel version: <IP_ADDRESS> WSLg version: 1.0.49 MSRDC version: 1.2.3770 Direct3D version: 1.608.2-61064218 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.19044.2604
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu-22.04
Other Software
No response
Repro Steps
Microsoft Windows [Version 10.0.19044.2604]
(c) Microsoft Corporation. All rights reserved.

C:\workspace\wiki>wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19044.2604

C:\workspace\wiki>wsl --list --all --verbose
  NAME                      STATE           VERSION
* Ubuntu-22.04              Running         2
  podman-machine-default    Stopped         2

C:\workspace\wiki>wsl --distribution "Ubuntu-22.04"
There is no distribution with the supplied name.
Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND

C:\workspace\wiki>wsl --distribution Ubuntu-22.04
kvalkhof@NLD-IND-L2019:/mnt/c/workspace/wiki$ exit
logout

Expected Behavior
C:\workspace\wiki>wsl --distribution "Ubuntu-22.04"
kvalkhof@NLD-IND-L2019:/mnt/c/workspace/wiki$

Actual Behavior
C:\workspace\wiki>wsl --distribution "Ubuntu-22.04"
There is no distribution with the supplied name.
Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND

Diagnostic Logs
No response

Distribution names cannot contain spaces, so there is no reason to quote them.

@kvalkhof75 what shell are you using? With pwsh 7.3.3 it works with single and double quotes:
PS C:\Temp\wsl2>\wsl -d "Debian"
dragon% cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

I am caught by how cmd/batch parsing handles quotes.
https://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts
Quotes are not removed like in PowerShell or sh/bash.
The reason I used quotes because it is used in a batch script like this:
SET "WSL_USER=wsl --distribution ^"%WSL_DISTRIBUTION%^" --user ^"%USERNAME%^" --"
and then I can do something like:
%WSL_USER% git config --global user.name "%USERNAME%" || GOTO :eof
And defensive programming teaches to always quote variables:
https://www.explainxkcd.com/wiki/index.php/327:_Exploits_of_a_Mom
And specifically note that a username can contain spaces...

I am caught by how cmd/batch parsing handles quotes.
https://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts
Quotes are not removed like in PowerShell or sh/bash.
The reason I use quotes because it is used in a batch script like this:
SET "WSL_USER=wsl --distribution ^"%WSL_DISTRIBUTION%^" --user ^"%USERNAME%^" --"
and then I can do something like:
%WSL_USER% git config --global user.name "%USERNAME%" || GOTO :eof
And defensive programming teaches to always quote variables:
https://www.explainxkcd.com/wiki/index.php/327:_Exploits_of_a_Mom
And specifically note that a username can contain spaces...


Improve performance of single_site_system_generator()

Should help with readthedocs failing for excessive memory usage

[x] Rewrite single_site_system_generator code
[ ] Add pytest coverage for new methods
[ ] update README

Moved to #112


GH-3843 remove method from sail interface

@JervenBolleman would your approach still work if we just removed the new method from the Sail interface like I've done here?
No need to merge this PR. I can commit this directly onto GH-3843-collection-factory.

Yes, I think this would work. We might still want to keep it in the EvaluationStrategyFactory and make it properly configurable.
e.g. mapdb or lmdb based collection factory could be a choice.


failed to add React Native 0.57.7

ignite version 2.1.6 on MacOSX mojave
ran ignite new testignitereactnative
selected Andross
got the following error:  failed to add React Native 0.57.7

UPDATE:
These all fail with same error of unable to install the react-native version:
ignite new testignitereactnative --react-native-version 0.57.6
ignite new testignitereactnative --react-native-version 0.57.5
ignite new testignitereactnative --react-native-version 0.57.4
ignite new testignitereactnative --react-native-version 0.57.3
This worked , I was able to get it to work if I create a new project using react-native version 0.57.2
ignite new testignitereactnative --react-native-version 0.57.2
UPDATE 2
with the 0.57.2 version  I now get the error: CFBundleIdentifier error prob same reason as https://github.com/infinitered/ignite/issues/1329

@jasan-s Can you do --debug to get more verbose output? It's working for me. Also, can you update with the results of ignite doctor?

seems to be now working.

Thanks @jasan-s !

I switched from 9.X to 8.12.0 and this rectified my issue.  Thanks @vincentferniot

When i use --debug i found that npx was not installed
npm install -g npx
fixed the problem

Cool, thanks @noumanDev !

@noumanDev Would you want to submit a PR where we check if npx is installed and provide a nice friendly error message? Something like this one:
https://github.com/infinitered/ignite/blob/b3b7538204aa856ede404afa344146b74a669bca/src/cli/check.js#L16-L22
... but not optional (so remove the line with optional: true).


Submissions API

WIP.
so far, only POST.

Looks like we have a minor merge conflict after merging #40.


[QUESTION] Questions about what hit rate means and how it's calculated

Hello, this work is amazing,
but I have some questions about what hit rate means and how it's calculated.
In Figure 5, after finding the IDs of top-k chunks, if the chunk is missed, you will get the missed KV cache, but there is no more inforamation for me to understand what the hit or miss means in  Algorithm 2 or somewhere in your paper.
So, I want to know what the hit and miss means and how to calculate the hit rate.
Looking forward to your answers.
Thank you!

Thank you for your interest in ShadowKV.
The hit rate of the KV cache refers to the observation that, during decoding, the KV cache pairs selected by the queries of two adjacent decoding steps have a repetition rate of approximately 60%.
This insight allows us to optimize decoding by bypassing low-rank reconstruction and CPU data fetching for the repeated portions, focusing only on the non-repeated segments. As a result, this significantly reduces the overall decoding overhead.

Thank you for your kind answers！
Here's my understanding of the hit rate：
In the process of decoding, we will keep current KV Cache in the HBM, which contains K_outlier, V_outlier and the previous KV cache. So, for the next decoding, if the selected top-k chunk IDs have been in the current KV Cache, we will call it the hit.
I hope you can answer whether my understanding is correct or not.
And, the current KV Cache will contains all the previous selected KV or just the last one?  Or there is  a limit for the current KV Cache?
Looking forward to your answers.
Thank you!

Hello, your understanding is correct.
Our cache implementation is actually quite straightforward—we avoid complex mechanisms like LRU, ensuring no additional memory consumption. Specifically, during each decoding step, we overwrite the KV pairs from the previous step using the same buffer, effectively reusing memory without allocating extra space.
If more complex cache rules are used, the hit rate can be improved, but it will bring some additional memory overhead.

Thank you for your kind answers！


overcome inheritance of delta types

Dependent on delta types insert, delete or change could be differently implemented. This now is done using fixed inherited classes.
The aim is to implement some kind of DeltaProcessor, that does exactly this apply, restore and so on. With this all change algorithms are externalized from all this classes.
One possible use case is the computation of one document containing all inline changes. This would be a merge of those delta types.

Not yet done. The main problem is within DiffRowGenerator and inline Diffs. This algorithm has to be more customizable. The inheritance is left intact for now.


Error when transcribing audio in google colab

AttributeError                            Traceback (most recent call last)
 in <cell line: 25>()
23 note_seq.play_sequence(est_ns, synth=note_seq.fluidsynth,
24                        sample_rate=SAMPLE_RATE, sf2_path=SF2_PATH)
---> 25 note_seq.plot_sequence(est_ns)
2 frames
/usr/local/lib/python3.10/dist-packages/bokeh/core/has_props.py in _raise_attribute_error_with_matches(self, name, properties)
373             matches, text = sorted(properties), "possible"
374
--> 375         raise AttributeError(f"unexpected attribute {name!r} to {self.class.name}, {text} attributes are {nice_join(matches)}")
376
377     def str(self) -> str:
AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width

I'm getting the same issue :(

After that fix, now getting a new issue unfortunately:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-6-689ff6dbf16f>](https://localhost:8080/#) in <cell line: 25>()
     23 note_seq.play_sequence(est_ns, synth=note_seq.fluidsynth,
     24                        sample_rate=SAMPLE_RATE, sf2_path=SF2_PATH)
---> 25 note_seq.plot_sequence(est_ns)

2 frames
[/usr/local/lib/python3.10/dist-packages/bokeh/core/has_props.py](https://localhost:8080/#) in _raise_attribute_error_with_matches(self, name, properties)
    373             matches, text = sorted(properties), "possible"
    374
--> 375         raise AttributeError(f"unexpected attribute {name!r} to {self.__class__.__name__}, {text} attributes are {nice_join(matches)}")
    376
    377     def __str__(self) -> str:

AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width

Which seems to be at least these 2 issues:

https://github.com/magenta/mt3/issues/144
https://github.com/magenta/mt3/issues/150

Originally posted by @0xdevalias in https://github.com/magenta/mt3/issues/151#issuecomment-2126159018

Running the error I got here through ChatGPT suggested the following:

The error you encountered, AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width, suggests that there is an issue with the usage of the plot_width attribute in a Bokeh figure object.
Bokeh, a visualization library for Python, uses figure objects to create plots, and it seems like the code is trying to set an attribute plot_width which does not exist. Instead, Bokeh provides width, outer_width, or min_width as valid attributes.

Looking at the colab file:

https://github.com/magenta/mt3/blob/main/mt3/colab/music_transcription_with_transformers.ipynb

The relevant snippet of code that's failing is:
import note_seq

# ..snip..

inference_model = InferenceModel(checkpoint_path, MODEL)

# ..snip..

est_ns = inference_model(audio)

# ..snip..

note_seq.plot_sequence(est_ns)

We can see the note_seq library here:

https://github.com/magenta/note-seq

And here is a relevant sounding PR that may be related to this issue:

https://github.com/magenta/note-seq/pull/72

Which notes:

As described in this stackoverflow question:

In the 3.0.0 bokeh release, the plot_width attribute of a figure was replaced with width. Similarly, plot_height was replaced with height. Even in the last 2.x.x release docs, they are described as "compatibility aliases" for width and height.

This pull request fixes this issue by following the stackover flow answer mentioned above.

Originally posted by @Yao-Lirong in https://github.com/magenta/note-seq/pull/72
Once that PR lands, it should fix the root cause, but until then, it sounds like the workaround is to use a pre-3.x version of Bokeh.
Searching the issues here, we can see that this was already suggested in another thread:

It worked, finally. I also downgraded bokeh so that midi image could come out normally.
https://colab.research.google.com/drive/1JkWyAwFhAC6SJJ1Lvf4VPap6FwtniEuy?usp=sharing
Originally posted by @Jackl-o-o-l in https://github.com/magenta/mt3/issues/134#issuecomment-1657923778

Originally posted by @0xdevalias in https://github.com/magenta/mt3/issues/144#issuecomment-2126180740

Fixed!


Ensure controlapi Server always has an up to date allocator

Currently the allocator is only created when a node becomes the leader, which
is (almost always) after the controlapi.NewServer call. Hence the server is
always being passed a m.allocator which is nil.
In addition the server wasn't actually remembering the allocator it was passed.
Add a second layer of indirection to the allocator stashed by the controlapi
Server, so it will always see the latest version of m.allocator.
This stops #2230 from happening, but is really only a stopgap until a more
satisfactory solution can be found.
This regression was made by me in fb74191488a7 ("Convert NetworkAllocator to an
interface"). Add a call to CreateNetwork to TestManager intended to exercise
the code path through validateNetwork to allocator.IsBuiltinNetworkDriver.
Signed-off-by: Ian Campbell<EMAIL_ADDRESS>

Not very happy with this long term, but will discuss potential proper solutions over on #2230.

I'm not enthusiastic about this solution. It's not obvious to me that the pointer read can't race with becomeLeader (and it's probably even less obvious to the race detector). I also don't see any guarantee that a.netCtx is initialized by this point - it looks like this happens in another goroutine from creation of the allocator.
I think we should move IsBuiltInDriver out of the allocator interface. The NetworkModel interface you suggested sounds good, as long as we are able to create the object backing this interface before the actual allocator is created.
Perhaps a simple temporary solution would be to define an interface specifically for checking whether a driver is built-in, initializing that before everything else, and passing it into controlapi instead of an allocator?

Short term I'll switch IsBuiltInDriver to be similar to PredefinedNetworks i.e. just wrap cnmallocator internally for the time being since CNM is currently the only option.
I'll then incorporate the NetworkModel interface idea into a future PR when I add the CNI support. Based on my POC I think the object can be created well in advance of even creating the manager object.

Replacing with #2240


Click (touch) events blocked for a short time after swiping

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/sandbox/swiper-react-default-forked-u7yty5?file=%2Fsrc%2FApp.jsx
Bug description
When quickly after swiping to change a slide, click events on elements not related to the swiper are not registered. This only happens when using touch input (emulated or real).
https://user-images.githubusercontent.com/37304664/217113994-b803b66c-4c4d-4a30-ac83-2e5f91843eee.mp4
Expected Behavior
Click events on external elements should work as usual.
Actual Behavior
Click events on external are not triggered when clicking on them shortly after swiping the swiper.
Swiper version
9.0.0
Platform/Target and Browser Versions
Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

The link you have provided uses Swiper 7, latest version is 9

The link you have provided uses Swiper 7, latest version is 9

Sorry for that, after posting I wanted to quickly check if I can just use previous version of Swiper and I didn't realise it would change for you too. At the time of recording the included video it was set to "^9.0.0" as in your demos. I reverted it back to "^9.0.0" now.

@nolimits4web should I open a new issue for that?


Add a Gitter chat badge to README.md

SimplePEG/JavaScript now has a Chat Room on Gitter
@aiboy has just created a chat room. You can visit it here: https://gitter.im/SimplePEG/JavaScript.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Coverage remained the same at 97.436% when pulling 8b32c7289d3159877b2477306d5386777f217a44 on gitter-badger:gitter-badge into 66df9936f517997c01745b7b82d0dd53f74d54a5 on SimplePEG:master.

Coverage remained the same at 97.436% when pulling 8b32c7289d3159877b2477306d5386777f217a44 on gitter-badger:gitter-badge into 66df9936f517997c01745b7b82d0dd53f74d54a5 on SimplePEG:master.

Coverage remained the same at 97.436% when pulling 8b32c7289d3159877b2477306d5386777f217a44 on gitter-badger:gitter-badge into 66df9936f517997c01745b7b82d0dd53f74d54a5 on SimplePEG:master.


Moving a Form Feature seems to be unpredictable

At the bottom of the navigation on our default form we have had a link to the Access Links page (for custom licensed data by institution).
This is one of two "formFeatures" we have - the other is Multiple Downloads, which has an interactive interface for users to get to the upload page from the form.

I tried moving the Access formFeature up to right below the Multiple Downloads. It does appear there as a small link. However, it still shows up at the bottom of the navigation panel. Is this hardcoded in our application maybe?

The navigation bar's "Institutional Access Links" link is indeed hardcoded to the bottom of that navigation.


aflterFind有时候会不执行

Explain your user case and expected results

Explain your user case and expected results

https://github.com/go-gorm/gorm/issues/4019

Explain your user case and expected results

https://github.com/go-gorm/gorm/issues/4019


"/test-your-pipeline" example code results in an exception

https://beam.apache.org/documentation/pipelines/test-your-pipeline/ has

 public void testCountWords() throws Exception {
      Pipeline p = TestPipeline.create();

but this results in

Exception in thread "main" java.lang.IllegalStateException: Is your TestPipeline declaration missing
a @Rule annotation? Usage: @Rule public final transient TestPipeline pipeline = TestPipeline.Create();
	at
org.apache.beam.sdk.repackaged.com.google.common.base.Preconditions.checkState(Preconditions.java:444)
	at
org.apache.beam.sdk.testing.TestPipeline.run(TestPipeline.java:299)
	at BasicPipelineTest.run(BasicPipelineTest.java:42)
	at
Main.main(Main.java:25)

In the github example
it's written as:

public TestPipeline p = TestPipeline.create().enableAbandonedNodeEnforcement(false);

I'm using 2.0.0 from the maven repo.
Imported from Jira BEAM-2358. Original Jira may contain additional context.
Reported by: nicku33.

.take-issue


135 auto connect to device hotswapping usb

hotswapping still in progress

tested, working. now in a separate module


refactor: allow for supplying raw content

This changes the API of several of the main functions:

where appropriate change parameter filePath to content, which can be a string of raw content or a file path

change parameter mediaType to format in places where either can be used and improve how the parameter is handled in match

This refactoring is mainly in preparation for adding compilers that act on plain text string, rather than files

e.g. a compiler that detects a DOI and parses it into a Article by fetching meta data
e.g. a compiler that parses a string into a Person
moving the implementation of the schema parser keyword into this repository (and moving all code out of the schema repo).

At the CLI it allows content to be provided as an argument, instead of in files or stdin e.g.
$ npx ts-node src/cli.ts "1,2,3" --from csv --to yaml
Converting from "1,2,3" to "yaml"

type: Datatable
name: Sheet1
columns:
  - type: DatatableColumn
    name: A
    values:
      - 1
  - type: DatatableColumn
    name: B
    values:
      - 2
  - type: DatatableColumn
    name: C
    values:
      - 3

Codecov Report

Merging #39 into master will increase coverage by 1.14%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   84.67%   85.82%   +1.14%
==========================================
  Files           9        9
  Lines         496      508      +12
  Branches      114      118       +4
==========================================
+ Hits          420      436      +16
+ Misses         74       70       -4
  Partials        2        2

Impacted Files
Coverage Δ

src/index.ts
100% <100%> (+5.71%)
:arrow_up:

Continue to review full report at Codecov.

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


Need Support for Stored Procedures, Updates, Deletes

The previous, unrelated version of this solution supported DDL and DML operations.  We need the ability to execute Update, Delete, and Stored Procedures from within a Spark notebook.
https://github.com/Azure/azure-sqldb-spark

@furlong46 You can use the query option for all operations except sprocs. You would first have to stage data into another table before issuing updates etc:
`articleQuery = """SELECT
DimArticleSK
,hope_number
,article_number
FROM dim.Article"""
try:
article = spark.read
.format("com.microsoft.sqlserver.jdbc.spark")
.option("url", url)
.option("query", articleQuery)
.option("user", jdbcUsername)
.option("password", jdbcPassword)
.load()
except ValueError as error :
print("Connector read failed", error)`

On further playing around I see the issue and just assumed this wrapper behaved similar to the scala version. To do a non query you can do something like this:
jdbcUsername = "RelationalLayerLogin"
jdbcPassword = dbutils.secrets.get(scope = "AzureKeyVault", key = "RelationalLayerLogin")
server = dbutils.secrets.get(scope = "AzureKeyVault", key = "SqlServerNameSemanticLayer")
database = dbutils.secrets.get(scope = "AzureKeyVault", key = "RelationalLayerDatabase")
url = "jdbc:sqlserver://{SERVER_ADDR};databaseName={DATABASE_NAME};".format(SERVER_ADDR = server,DATABASE_NAME = database)
#for executing non-queries
driver_manager = spark._sc._gateway.jvm.java.sql.DriverManager
con = driver_manager.getConnection(url, jdbcUsername, jdbcPassword)
drop = "DROP TABLE IF EXISTS Stage.SalesByDateStoreArticle"
stmt = con.createStatement()
stmt.executeUpdate(drop)
stmt.close()

with AAD authentication this can look like:
`
val properties = new Properties()
properties.setProperty("databaseName", "**")
properties.setProperty("accessToken", sqlAzureToken)
properties.setProperty("encrypt", "true")
properties.setProperty("hostNameInCertificate", ".database.windows.net")
properties.setProperty("driver", "com.microsoft.sqlserver.jdbc.SQLServerDriver")
val conn = DriverManager.getConnection("jdbc:sqlserver://***.database.windows.net", properties)
val rs = conn.prepareStatement(Query).executeUpdate()
conn.commit()
conn.close()
`

Hi all,
While the older Azure SQL DB Spark connector did include this functionality, since this new one is based on the Spark DataSource APIs, it is out of scope.
This functionality is provided by libraries like pyodbc.

Hello, can anyone please give me a scala version for B4PJS's code  for the DROP TABLE example? I can't get his version to work in scala

Hi, we faced a similar issue today.
Sorry @rajmera3 for reopening this issue, but I think the following might help some folks out there.
This issue is ranking pretty high on Google if you search for "databricks scala execute stored procedure".
What we wanted to do:
From inside a Databricks Scala Notebook access a Stored Procedure (SP) of an Azure SQL Database and return the result of the SP as a Data Frame.
For the connection between the SQL Server and Databricks we used the Apache Spark Connector for SQL Server and Azure SQL and for authorization we used Azure AD.
Here is a fully working example of a Databricks Scala Notebook, accessing an Azure SQL DB with Azure AD and running a Stored Procedure:
If you want to use it, don't forget to change the values of <...> appropriately and install the required libraries!

// Import libraries
import com.microsoft.aad.adal4j.{AuthenticationContext, ClientCredential}
import java.sql.Connection
import java.sql.DriverManager
import java.sql.ResultSet
import java.sql.Statement
import java.util.concurrent.Executors
import java.util.Properties
import org.apache.spark.sql.DataFrame
import org.apache.spark.sql.SparkSession
import org.apache.spark.sql.types.{StructType, StructField, StringType, IntegerType}

val secretScope = "<yourSecretScope>"
val clientIdKey = "<servicePrincipalClientId>"
val clientSecretKey = "<servicePrincipalClientSecret>"

val tenantId = "<yourTenantId>"
val authority = s"https://login.windows.net/${tenantId}"
val resourceAppIdUri = "https://database.windows.net/"

val sqlServerName = "<yourSqlServersName>"
val sqlDatabaseName = "yourSqlDatabase"
val url = s"jdbc:sqlserver://${sqlServerName}.database.windows.net:1433;databaseName=${sqlDatabaseName}"

// --- Get AccessToken for ServicePrincipal ---
val service = Executors.newFixedThreadPool(1)
val authenticationContext = new AuthenticationContext(authority, true, service)

val principalClientId = dbutils.secrets.get(scope=secretScope, key=clientIdKey)
val principalSecret = dbutils.secrets.get(scope=secretScope, key=clientSecretKey)
val clientCredential = new ClientCredential(principalClientId, principalSecret)

val authResult = authenticationContext.acquireToken(resourceAppIdUri, clientCredential, null)

val accessToken = authResult.get().getAccessToken

// --- Prepare ResultSet to DataFrame conversion ---
// Define columns & prepare schema
val columns = Seq ("<myColumn1>", "<myColumn2>", "<myColumn3>", "<myColumn4>")

val schema = StructType(List(
    StructField("<myColumn1>", StringType, nullable = true),
    StructField("<myColumn2>", StringType, nullable = true),
    StructField("<myColumn3>", StringType, nullable = true),
    StructField("<myColumn4>", StringType, nullable = true)
))

// Define how each record in ResultSet will be converted to a Row at each iteration
def parseResultSet(rs: ResultSet): Row = {
    val resultSetRecord = columns.map(c => rs.getString(c))
    Row(resultSetRecord:_*)
}

// Define a function to convert the ResultSet to an Iterator[Row] (It will use the function of the previous step)
def resultSetToIter(rs: ResultSet)(f: ResultSet => Row): Iterator[Row] =
  new Iterator[Row] {
    def hasNext: Boolean = rs.next()
    def next(): Row = f(rs)
}

// Define a function that creates an RDD out of an Iterator[Row].toSeq which uses the previously definded functions
// The above created schema will be used to create a DataFrame
def parallelizeResultSet(rs: ResultSet, spark: SparkSession): DataFrame = {
  val rdd = spark.sparkContext.parallelize(resultSetToIter(rs)(parseResultSet).toSeq)
  spark.createDataFrame(rdd, schema)
}

// --- Execute StoredProcedure ---
// Configure connection properties
val connectionProperties = new Properties()
connectionProperties.setProperty("Driver", "com.microsoft.sqlserver.jdbc.SQLServerDriver")
connectionProperties.put("accessToken", accessToken)
connectionProperties.put("encrypt", "true")
connectionProperties.put("hostNameInCertificate", "*.database.windows.net")

// Execute the Stored Procedure with "EXEC <nameOfStoredProcedure> <parameterIfNeeded>"
val connection = DriverManager.getConnection(url, connectionProperties)
val resultSet = connection.createStatement.executeQuery("EXEC <nameOfStoredProcedure> <parameterIfNeeded>")
val df = parallelizeResultSet(resultSet, spark)
display(df)

val columns & val schema must reflect the output of your stored procedure - they reflect how the Data Frame will look like. So adjust the values of both vars!
Keep in mind:
If you want to use Azure AD for auth, you have to install the following library at the cluster you want to run the above notebook on:
com.microsoft.aad:adal4j:0.0.2 (Maven Coordinate)
Further reference:
https://github.com/microsoft/sql-spark-connector/blob/master/samples/Databricks-AzureSQL/DatabricksNotebooks/SQL Spark Connector - Scala AAD Auth.scala#L78
--> The new SQL Spark Connector should already be installed. If not do so.
Source of the Stored Procedure part: https://stackoverflow.com/questions/41117750/scala-resultset-to-spark-dataframe
Hope this is helpful. 🤓

spark._sc._gateway.jvm.java.sql.DriverManager

May I know how to pass "accessToken" as connection properties to the function in python?
Thanks.


Initial TF2 Example PR

Converting examples and listings to TFv2. Official guidelines for conversion are used where possible.

thanks @RobRoyce !


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Derive Clone for SigningSettings

Motivation and Context
Resolves #3533
SigningSettings and some of its fields didn't implement Clone/Copy, even though they could. This made it cumbersome to store and re-use a value of SigningSettings.
Description
Adds #[derive(Clone)] and #[derive(Copy)] where appropriate.
Testing
All local tests pass. No additional testing should be required for this.
Checklist

[X] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Going to skip running PR bot and the canary on this PR since it seems unnecessary.

Thank you for the contribution!


Allow delta_t to be array in SPA functions

[x] Closes #2189
[x] I am familiar with the contributing guidelines
[x] Tests added
[ ] Updates entries in docs/sphinx/source/reference for API changes.
[x] Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[x] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[x] Pull request is nearly complete and ready for detailed review.
[x] Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

See #2189.  Additional tests are needed before this is ready for detailed review.

A better test instead of [65, 65] would be to have an array input with different values, e.g., [65, 66].


docs: Fix several pages with broken headers

Multiple h1 headers in an article caused the navigation sidebar to not display sections of a page properly

Hey while you're doing this, can you edit the Framework installation pages so I don't run into conflicts later after this is merged?  The 13 and 16 pages have the steps always start at "1" instead of "1", "2", "3", etc.

Hey while you're doing this, can you edit the Framework installation pages so I don't run into conflicts later after this is merged? The 13 and 16 pages have the steps always start at "1" instead of "1", "2", "3", etc.

@nicknamenamenick  commit 9a6619250ae1852a6c41b923e6314e53319f2724. Also added them as headers so they are easier to see

Hey while you're doing this, can you edit the Framework installation pages so I don't run into conflicts later after this is merged? The 13 and 16 pages have the steps always start at "1" instead of "1", "2", "3", etc.

@nicknamenamenick commit 9a66192. Also added them as headers so they are easier to see

Thanks!


Support all image types (resolves #192)

Resolves #192.

Don't we need to add mime types for alpine images?

Oh you are right I totally forgot about this :facepalm: I will revise PR. Thanks for the heads-up!


Providing an "issues/troubleshooting" section in the documentation

Hi,
this morning I tried to run EnMasse on OpenShift having the following error on address-controller startup :

Unable to parse arguments: Unable to find value for required environment var 'NAMESPACE'

I was working with Docker 17.05 CE but OpenShift Origin 1.5. Updating to OpenShift Origin 3.6.0 fixed the problem. Before this configuration, it worked fine with Origin 1.5 but Docker 1.13.
I know that we can't make a matrix for working configuration but maybe it could be worth having a sort of "issues/troubleshooting" section in the documentation trying to explain the problems and their fixes we encounter during EnMasse setup. It could be a good resource for the community members before they try to contact EnMasse core team on IRC or via mailing list.

@lulf I added the following page :
https://github.com/EnMasseProject/enmasse/blob/master/documentation/issues/issues.md
not yet referenced by any other page in the documentation.
Maybe the main README.md after the "Contributing" section or better the README.md under "documentation" could be the right place for the link ? Wdyt ?

How about both README.md under documentation and as part of "Getting help' in the main README.md?

@lulf Agree. I'm going to put the link in both sections ;)


Change the app icon?

Can you make it possible to change the app icon?  This low-contrast icon is really bad.

I won't add support for it within Fastmate itself but it's pretty easy to do yourself: https://9to5mac.com/2019/01/17/change-mac-icons/
Also, that's a pretty cool icon, did you make it? 😄

No, it's from this post.
http://www.emaildiscussions.com/showpost.php?p=562829&postcount=13

No offense taken! I'm very much not a designer and I don't think it works well in dark mode. Anyway, I'll close the issue for now since you can probably solve it 😊

@posguy99 i made a new attempt at an icon that will go out with the next version (hopefully within a day or two). It matches the new Fastmail design a lot better and I think it looks pretty good both against light and dark docks! Let me know if you like/hate it 😅
https://github.com/joelekstrom/fastmate/blob/master/Fastmate/Assets.xcassets/AppIcon.appiconset/fastmate-256.png

It's a cool icon, but it's still too dark for me.   Not something I would use. ¯_(ツ)_/¯

That’s all right - good that it’s still easy to customise!


fix(monitoring): only deploy role and rolebinding and servicemonitoring for Managed cluster

only create monitoring NS for Managed cluster
ModelMesh has moved away from SRE monitoring. no need redhat-ods-monitoring for Managed cluster.

the change is to add a check when we craete namespace, if it is on Manage cluster then do not crate monitoring namespace
also when calling for configureManagedMonitoring only for management cluster
split configureSegment from old configureCommonMonitoring which is called by both Managed and Self-Managed cluster

Did a test for upgrade 2.4 to 2.5 to 2.6 on self-managed cluster
the CleanupExistingResource during upgrade handles cleaning resource which was previous deployed by modelmesh so, we do not need namespace redhat-ods-monitoring any more,
live build quay.io/wenzhou/rhods-operator-catalog:v2.10.2761-1
ref: https://issues.redhat.com/browse/RHOAIENG-2761

Is this needed for 2.9 ??

Is this needed for 2.9 ??

no, leave it, we need to conclude if namespace is needed first


Update Global.swift

How about a self-generating id?

I'm quite a bit agains this change, because it would require to import the Foundation framework, which is not available everywhere, for example if you'd like to run Swift on an embedded system such as SwiftIO you wouldn't be able to use the library.
Also if the id was nil, why generate a UUID value?
As a framework user is not straightforward and it can only lead to side effects.
I don't think that the pros overweight the cons in this case.

Yeah, you’re right.
Didn’t have my coffee today.


Integration Test - Release - 2018/10/15 08:08:43

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest1 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Review request for Microsoft.DBforPostgreSQL to add version preview/2024-03-01-privatepreview

ARM (Control Plane) API Specification Update Pull Request
Changes included in this PR:

New preview API version added: 2024-03-01-privatepreview
Add support to get, create, and delete requests for customer on-demand backups (Backups.json)
Surfaces index-tuning capability for a server (Capabilitites.json)
Add support to get and update auto migration schedule (Migrations.json)
Add support to get available auto migration slots (Migrations.json)
Add support to get tuning options and Index recommendations (TuningOptions.json)

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!

[ ] New resource provider.
[X ] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix OpenAPI spec quality issues in S360.
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[X ] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[ X] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information
Changes in current PR:

New preview API version added: 2024-03-01-privatepreview
Added 3 new POST APIs getAutoMigrationFreeSlots, getLatestAutoMigrationSchedule and updateAutoMigrationSchedule in Migrations.json
Added PUT api to Create Backup and DELETE backup in Backups.json.
Added new APIs for index tuning in TuningOptions.json
Added new property “indexTuningSupported” in the capability response object in Capabilities.json.

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For help with ARM review (PR workflow diagram Step 2), see https://aka.ms/azsdk/pr-arm-review.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

/azp run

Please fill out the Purpose of this PR and Due diligence checklist

Please fill out the Purpose of this PR and Due diligence checklist

Updated

/azp run

Please check the errors reported by the required checks.

Please check the errors reported by the required checks.

.NET SDK errors popped up after latest merge with master. However, these errors do not seem related to current PR as we havent changed anything in FlexibleServers.json (This is the file whose entities are being reflected in the error).
Also the go-sdk error is not something which I understand here.
I think we can ignore Avocado error here. This PR needs ARM approval so that we can go ahead and check-in ARM manifest to include new auto-migration APIs added to Migrations.json.

/azp run


Unable to download extension on VS Code for Mac

Which API Provider are you using?
OpenRouter
Which Model are you using?
N/A
What happened?
Installed cline.ai on vs code, but the icon is blank and the extension page isn't loading. Seems like it didn't install properly.

Steps to reproduce

Open vs code
download cline extension
attempt to open cline extension

Relevant API REQUEST output
No response
Additional context
No response

Experiencing the same issue as well. Seems to have started within the past week.

Issue fixed.

Moved VS Code out of Downloads folder
Went to VS Marketplace and re-downloaded the extension. https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
Restarted VS Code - Works

Hope that helps

Yup that fixed it, thanks!!


Is it possible to make a multi-line text entry box?

Im trying to do this with the pygame_gui.elements.ui_text_entry_line module but i dont think its possible to do so yet. Does anyone know any workarounds?

It's not going to be easy.
I'm refactoring the text submodule at the minute to try and make stuff exactly like this much easier to do but it likely won't be ready for a while as paying work is getting in the way.
You could maybe try just creating a new single text line element when the size of the text gets to be a certain width but I can forsee a host of difficulties with making that work already.

This has gotten closer with the big text refactor. it's technically possible now to select across multiple lines, have an editing caret anywhere in a text layout and insert text arbitrarily.
I think a new UIElement called something like UITextEntryMultiLine is probably the next step. A multi-line text entry has elements in common with the Text entry line and a text box but will likely be different from both (limited rendering of a text line, shape more like a text box, interactions more like a line).


dr:2000 test fail

$ satex test dr:2000
+ Testing tests/cmu-bmc-barrel6.cnf.gz
+ sudo docker run --rm -v /home/pauleve/orga/projects/sat-heritage/docker-images/tests:/data satex/dr:2000 cmu-bmc-barrel6.cnf.gz
#### dr:2000 ####
# gunzip cmu-bmc-barrel6.cnf.gz...
# ...done
+ /solvers/dr/dr 1 /tmp/cnf
Directional Resolution Algorithm by Irina Rish.
Reading /tmp/cnf...(CNF : 2306 var. 8931 clauses)...Done.
/entrypoint.sh: line 2:    21 Segmentation fault      (core dumped) "/solvers/${SOLVER_PATH}/${SOLVER_CALL}" "${@}"
Traceback (most recent call last):
  File "/home/pauleve/.local/bin/satex", line 11, in <module>
    load_entry_point('satex', 'console_scripts', 'satex')()
  File "/home/pauleve/orga/projects/sat-heritage/docker-images/satex.py", line 455, in main
    return args.func(args)
  File "/home/pauleve/orga/projects/sat-heritage/docker-images/satex.py", line 346, in test_images
    docker_runs(args, images, docker_args, image_args=(dimacs,))
  File "/home/pauleve/orga/projects/sat-heritage/docker-images/satex.py", line 192, in docker_runs
    assert ret == 0 or 10 <= ret <= 20, "Solver failed!"
AssertionError: Solver failed!

Old solvers does not comply to the competition input/output. We simply need to add a wrapper that analyzes the output and writes the magic lines and the magic exit code.


Feat : Converting maven's first & last name to uppercase

Date: 6 March 2024

Developer Name: Joy Gupta

Issue Ticket Number

https://github.com/Real-Dev-Squad/website-backend/issues/1930

Description
This is a temporary fix. Will update the fix once we start storing discord roles in the database.
Documentation Updated?

[ ] Yes
[x] No

Under Feature Flag
Technically no, but it won't affect the actual flow in any case.

[ ] Yes
[x] No

Database Changes

[ ] Yes
[x] No

Breaking Changes

[ ] Yes
[x] No

Development Tested?

[x] Yes
[ ] No

Screenshots
NA
Tests Cases

Tests Coverage

can you add some testing SS please

Added. Please check


Enable CodeQL analysis

Fix #1027
Signed-off-by: Olivier Vernin<EMAIL_ADDRESS>

Note, at least some of the reported issues are in testsuite code, and in code guarded by environment variable.

Note, at least some of the reported issues are in testsuite code, and in code guarded by environment variable.
Which means that we will need a means of telling the system to ignore specific reports, with an explanation on why we believe > that it should do that, for future maintainers.

Let's give it a try, we can still revert If we realise that it introduces more noise than it really help


Test(rpc): Add Testing for EthApi RPC send raw transaction

closes #1125

looks like something went wrong during rebase, perhaps because we moved the rpc folder.
please rebase or submit new PR if easier.


'WhatWGFetch' is not defined in pretender.js

The latest versions of pretender brought in by this addon, v2.1.1, has a dependency of @xg-wang/whatwg-fetch, which is not imported to the browser by this addon. As a result, during tests, one gets an error that WhatWGfetch is not defined.
The solution is to import all dependencies required by pretender by reading its package.json.
As a workaround, you can use the resolutions field in package.json to specify pretender v2.0.0.

You want to make a PR  for that @Gaurav0 ?

v3.3.1 has fix from this PR https://github.com/danielspaniel/ember-data-factory-guy/pull/354


Mojo::URL userinfo

Mojolicious version: 7.08
Perl version: 5.14
Operating system: linux

Steps to reproduce the behavior
Hello,
Before 7.0 mojo version I have used Mojo::URL to generate URLs with auth info to pass them to internal systems. Now I can't do this exept of manual "http://$user:$password".

Use the userinfo attribute or else the username and password methods.

Note that this was also documented in the semi-official wiki entry on upgrading https://github.com/kraih/mojo/wiki/Upgrading#mojourl-authority-and-userinfo

Thank you for answer. But I asked not about "how to form URL with userinfo". I asked about how to form URL so easy, how it was before 7.x?
I think, now it not so userfriendly, how it was before.

oh you mean for display purposes? Sorry, yes that was removed for security reasons. It became evident that people were not aware that displaying an absolute url while using basic auth would then show the password. As such that feature was removed. That will have caused some inconvenience in the more rare case where you DO actually want to show a password in clear text. Sorry about that.

While I wholeheartedly agree that this is a huge security issue, but removing the feature entirely seem a bit short-sighted.  I do have a case where I need to hand a url with embedded password to Git as part of some automation which is now broken.  It would be nice if this could be enabled via an alternate method or option.  In the meantime I'll have to add the credentials to the url via regexp which is ugly :(

I am using URI module now for this purposes.

Asking about it might have given you more insight than commenting on an old issue.
http://mojolicious.org/perldoc/Mojo/URL#to_unsafe_string


adds card first design-system rules

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0098337) to head (6061ff1).
 Consider uploading reports for the commit fe0073b to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           release/1.0.0      #602   +/-   ##
===============================================
  Coverage         100.00%   100.00%
===============================================
  Files                 85        85
  Lines               1495      1495
  Branches             525       525
===============================================
  Hits                1495      1495

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Close with https://github.com/Capgemini/dcx-react-library/pull/656


Building for NW.js

By request, here is some details about how I'm building better-sqlite3 for NW.js 0.50.1 with nw-gyp v3.6.5 on Windows.
(Small disclaimer... mostly smashing this down from memory, haven't fiddled with the build environment in a while! Some of this process may be superfluous for better-sqlite3 and only necessary for other aspects of my project. I've stripped out the stuff I'm positive has nothing to do with better-sqlite3).
Firstly, the Node environment should be appropriate for the version of NW.js being used or you can end up with explosions. Firing up a blank NW.js project and running process.versions in devtools it shows Node is at 15.3.0 for this version of NW.js, so we want to aim for Node 15.x really.
Second requisite is windows-build-tools:
npm install --global --production windows-build-tools
And of course, grab nw-gyp:
npm install -g nw-gyp
Also need Python 2.7, if I recall. Python 3.x can be on the system too but ensure that 2.7 comes before it in the PATH environment variables.
Plonk better-sqlite3 in the project package.json file (I am finding builds for 7.5.0 do not currently work for Windows due to EPERM issues with symlinks, so I have specified "7.4.6"):
{
 "blah": "blah",
 "dependencies": {
    "better-sqlite3": "7.4.6"
  }
 "stuff": "etcetera"
}

After that I believe we're good to go with a little batch file we can run in the project directory:
@REM configure build environment
set PYTHON=C:\Python27\python.exe
set npm_config_target=0.50.1
set npm_config_arch=x64
set npm_config_runtime=node-webkit
set npm_config_build_from_source=true
set npm_config_node_gyp=%userprofile%\AppData\Roaming\npm\node_modules\nw-gyp\bin\nw-gyp.js

@REM try building
call npm install --msvs_version=2017

Then once it's finished just run nw with the project path as an argument and it should fire up.
If the above explodes during building it may be that you need Visual Studio 2017 build tools instead. If you have chocolatey you can just:
choco install -y visualstudio2017buildtools

Thank you so much for this. I've actually tried to build using pretty much similar configurations but it fails when prebuild is used. The problem is, since this build task need to be automated for all platforms, I'm stuck using prebuild. But there's a few things in your guide I need to try. Again, taking time to write this is much appreciated.
Would you also mind telling me what are the latest three versions of NW.js mostly popular among NW devs? I'm interested in providing prebuilds for at least three versions.

 I hope it proves useful. Yes npm prebuilds can get pretty explodey since the hooks don't line up with what NW.js requires, so it typically needs building from source.
I'm not really sure what versions would be most popular in general, to be honest. So don't take my word for it, but I'd say definitely the latest (which changes very regularly), and then there are certain versions like 0.51.2, 0.50.1, 0.45.3, which stand out as being pretty stable and without important things broken. Different devs are going to have different opinions on what is "vital" though, of course...!

0.51.2, 0.50.1, 0.45.3, which stand out as being pretty stable

That's exactly what I needed. Thank you.

Yes npm prebuilds can get pretty explodey since the hooks don't line up with what NW.js requires, so it typically needs building from source.

What I'm trying to accomplish is build the prebuild files so the NW.js users will never need to build from source. What prebuild module does is utilizing node-gyp or nw-gyp to do the linking and help the automation process in a massive way. What I've seen is nw-gyp doesn't couple very well with prebuild. As you can see on this workflow, I'm building prebuilds for all platforms except NW.js. Things doesn't work the same way as building locally when you automate your builds on CIs.


Rm to ryo

I did

GA4 tag
html lint
R/M -> RYO

GA4
https://analytics.google.com/analytics/web/?authuser=0#/report-home/a117098514w173703806p173015670


Misplacement of % in the basic myWebsocketClient in WebsocketClient

In the myWebsocketClient template class in GDAX.WebsocketClient:
print ("\nMessageCount =", "%i \n") % wsClient.MessageCount
The above line causes the type error below.

TypeError: unsupported operand type(s) for %: 'NoneType' and 'int'

It should be:
print ("\nMessageCount =", "%i \n" % wsClient.MessageCount)

Thanks for sharing, this happened to be a typo to be honest.  In my ad hoc test scripts, I didn't have this issue.  I will be sure to watch out for this as Python3 becomes the primary language.


SublimeLinter plugin for Solidity

Description: Sublime Text linter for Solidity files. It provides both security, style guide and best practice validation rules.
Repository: https://github.com/idrabenia/SublimeLinter-contrib-solhint
Release: https://github.com/idrabenia/SublimeLinter-contrib-solhint/releases/tag/v1.0.1
Pull Request: https://github.com/SublimeLinter/package_control_channel/pull/46

Your PR has been merged!
Should show up within an hour in Package Control. Thanks Again!


Added back in "move non favorite" functionality by allow selection of…

… multiple options to move

Please explain it in readme

Honestly I checked the readme before committing and feel like it's already appropriately explained. I added one little line that mentions you can select more than one option, let me know if there's more you think should be there.


Login Succeeds but fails to maintain authenticated gateway session

Describe the bug
gateway has been working fine until last night when it gest stuck in a loop of authenticating session.
To Reproduce
unknown
Expected behavior
the gateway session should remain open and authenticated once login succeeds
Environment
IBeam version:
Python version:
OS:
Additional context
https://gyazo.com/d5eb1344a1175ad76baae63c40d3e68a

Hey @gmara13 thanks for reporting this issue 👍
Quite frankly there's little we can tell from these logs alone. I've seen this behaviour several times in the past but usually it sorts itself out after a while. Other users have reported this kind of behaviour too, saying this was some issues on IBKR side.
Can I ask you to let IBeam run for some 15 minutes and see if this issue persists? Maybe try at various points during the day?

so this cycle continued for about 1.5 hours then just started working.

Yeah, that also seems similar to what other user's were reporting. It sometimes just goes bonkers unfortunately and we still don't know why. Happy to hear it got back on again for you though

This has been happening more and more frequently. currently been 6 hours of the login cycle. is there somewhere i can see more detailed logs of whats happening?

Hey @gmara13 sorry to hear it is back on again. You can find logs of the gateway in the gateway_folder/logs - these can sometimes provide more information on why things may be breaking. If you notice it happening, I'd try to log in manually using a browser to see if it persists.

had almost a full trading day of this problem come back. im at a loss for what to do

Hey @gmara13 sorry to hear 😟 Once again I'd suggest having a look at gateway_folder/logs and see whether something there could be indicating the problem


Copy files from a mounted directory to a Docker image

My use case is:
I would like to copy files from a mounted directory (in Vagrantfile) to a Docker image.
Vagrantfile:
config.vm.synced_folder "./services", "/services", create: true
Dockefile:
COPY services/myapp.jar /app.jar
Since services has to be in the Docker build context, I cannot say
COPY /services/myapp.jar /app.jar
So it would help, if I could configure the Vagrant docker-compose provider to be run in a specific directory, e.g. "/"
An alternative would be to specify in the Vagrantfile:
config.vm.synced_folder "./services", "/directory-where-docker-compose-is-run/services", create: true
What is the default directory where docker-compose is run?

Hmm, could not get it working even when ssh in the vm and then manually invoke docker-compose from "/". Will investigate...

By default docker compose runs in the default directory of the instance that Vagrant uses as the default. This is usually /vagrant.

Thx for the reply.
Then I am wondering why "COPY services/myapp.jar /app.jar" in the Dockerfile is not working out of the box, since in the /vagrant directory there is the service directory....

Could you try using an absolute location in the COPY to see if that makes a difference. That's not an ideal situation but it might help us work out if maybe the working directory is a strange directory, and if so we can try fixing that.

@toedter did the absolute directory work?

Closing as this has become a stale issue.