How about WinPhone?

To complete the trio?

I wasn't able to find how to build Tesseract for Windows Phone. And there is good OCR lib from Microsoft https://www.nuget.org/packages/Microsoft.Windows.Ocr/
So if you know how to build Tesseract for WP I can include it.

Nah - no idea how to build it for windows phone! It's not that important really, so I'll close this - feel free to re-open if you really want to!


App Attestation (v1)

Description / User Story
As an Issuer
I want to know if the wallet app being used is trusted
so that I can trust the wallet to hold a high assurance credential
As an verifier
I want to know if the wallet app being used is trusted
so that I can trust the credential being used
Acceptance Criteria

[ ] There's a way to attest for the app integrity
[ ] app attestation manifests as a verifiable credential and it is validated via a proof request
[ ] UX does not impede on the user's happy path

I'm just thinking about this story some more, trying to construct Some Gherkin Acceptance Criteria. It raises questions for me. Is this scenario correct?
Scenario: Initial verification of the BC Wallet app
Given the wallet user has opened the app for the first time
And the app initialization has finished
When the app has been validated against the app store by the BC Gov issuer (triggered by the Mediator when initializing?)
Then the wallet user will receive an "attestation credential" offer from the BC Gov issuer
If this is correct, then I have so many questions...

What happens if there is a connection outage during this verification and/or issuing process?
If #1, what triggers it to verify the app again and issue that credential?
If someone doesn't get that attestation credential can they still use the app? Why would we let them use the app?
If we decided that the app cannot be used without this attestation credential, then there would be no need for proof requests to even ask for it. If the wallet works then that means they have the attestation cred.
What happens if they accidentally delete the attestation credential?
What if they rejected the attestation credential offer? How do they get the process going again? Reinstall the app?


Ubuntu VM disk image is corrupt

Hello everybody,
I had a problem with the VM. In particular, when I try to open it starting with
the play symbol, this warning comes out.

How can I solve? I urgently need to work on it especially because there are some important programs installed

This message means the file that contains the VM’s hard disk is damaged and unusable. Figuratively speaking, this is like if your laptop got bent or water damage to the SSD, it is now not usable and practically can’t be repaired.
Fortunately, since this is a VM and not a real laptop, you could recover your VM if you have a backup. You need to restore the VM file to an earlier version. For example your Mac Time Machine might have an earlier version.
Which actions did you perform in UTM or the VM before this message appeared? Did you, for example, use the Pause/Play feature? Or did you close the VM using the red x instead of shutdown from Ubuntu? These actions could in some cases affect the VM disk image.

Can an Antivirus Scan cause this?

It happened to me too. I'm using external drive and there's a problem with delicate connection, sometimes it drops out when just slightly touching the wire.

I wonder if this is just a write permissions problem, but it does say "corrupt"...


Make TelemetryOptions optional and generic, but default to the standard Azure User-Agent format for azure_core

PR #1751 temporarily disables TelemetryOptions as part of the unbranding work that refactored most of azure_core into typespec_client_core. Since all it really does is set the user-agent header, we could make this generic - optional as well for clients that may not want any telemetry of any sort - but default it to some prefix / template when creating an azure_core::Pipeline.

We could make use of features. 🤔

@JeffreyRichter @RickWinter what do you think from an unbranding perspective? Imagine we defined a "microsoft" or "azure" feature in typespec_client_core that is nothing more than a feature check for a few things within. It's off by default, but azure_core would depend on it so that anything Azure-specific is brought into scope unconditionally. To my knowledge, it's not something other languages' dependencies can do, but how would that look with an unbranded crate having a brand name in it, but not on by default?

It's not ideal. What if some customer uses an Azure SDK and also a non-Azure SDK both of which are built on typespec_client_core? Will this work right? We wouldn't want the Azure-specific functionality turned on for a non-Azure SDK and vice versa. And, ideally, the code for typespec_client_core (or slightly-different versions of it) would not exist multiple times in the same process.
And, what you propose is bordering on the Dept of Justice consent-decree issues Microsoft had with Windows years back where Microsoft had an unfair advantage over competitors because we could add things to Windows for MS apps (like Office) that were not avaible to companies making competing apps. Anything in typespec_client_core specifically for Azure gives us an unfair advantage that other SDKs using it would not be able to leverage/compete with.

People can specify this feature themselves, though. It's just not on by default, just like XML support.
Prototype: https://github.com/heaths/azure-sdk-for-rust/pull/76
We could devise a way to pass stuff in, but that would be more work and still something customers can do. Features make this easier, I think.

Nope. Features won't work: https://github.com/Azure/azure-sdk-for-rust/pull/1754#issuecomment-2293991578.


Prefer calibrator(s), selector and producer(s) parameters from cli

This PR adds small adjustments to the CSP mixins in order for them to prefer their main parameters, i.e., --calibrator(s), --selector and --producer(s) from the CLI set on task-level over values passed programmatically via .req().
For example, when running
law run cf.CreateHistograms --producers weights --ml-model some_model ...

CreateHistograms will tell the ML tasks to also require --producers weights. However, when the weights are only needed for histogramming, this might not be strictly necessary. In this case, one would want the MLEvaluation task to actually have a different, i.e. no --producers. This can be done by adding a task-level parameter
--cf.MLEvaluation-producers ''

To correctly distinguish between empty strings and parameters whose default should be resolved, there is a RESOLVE_DEFAULT placeholder now (equals to "DEFAULT" for usage on the command line). When a parameter receives this value, it's dynamic default is used instead.

@mafrahm I wanted to add you for the review of this, but this feature is needed asap for the AGC. I'm merging now, but since I know you were interested in this change, please have a look if you can.


NIFI-1773 Removed unused import statement.

This commit removes the unused import statement which is added at this commit, in order to make build process succeed.
I was not sure if this is the right action to fix the problem since original JIRA issue NIFI-1773 is already marked as resolved. Please let me know if there's a better way to do. I hope this helps.

Reviewing...

Not sure on the JIRA either but I do know that the build on master is failing contrib-check because of this so I'm going to merge it in.


restructure client

This PR primaryily exists to move the giant DOMOperations object out of the main cable_ready.js file.
It also converts activeElement to a memoized object with an element getter and a set setter.
didMorph and shouldMorph have been moved into the [renamed] morph_callbacks.js, although the shouldMorphCallbacks and didMorphCallbacks arrays are still defined in the main file, as they are part of the public API.
This PR doesn't add or remove any functionality. It has been tested successfully against my CR tests harness.

Just a reminder to myself that once this PR (hopefully!) goes in, that the follow-up is in the before_after branch.


python311Packages.managesieve: 0.7.1 -> 0.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.managesieve is: ManageSieve client library for remotely managing Sieve scripts
meta.homepage for python311Packages.managesieve is: https://managesieve.readthedocs.io/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.8 with grep in /nix/store/ahwg2lhql17xv6cq4ycqf78l2kj9zkdx-python3.11-managesieve-0.8
found 0.8 in filename of file in /nix/store/ahwg2lhql17xv6cq4ycqf78l2kj9zkdx-python3.11-managesieve-0.8

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.managesieve
python312Packages.managesieve
sieveshell

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ahwg2lhql17xv6cq4ycqf78l2kj9zkdx-python3.11-managesieve-0.8 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/fbe439c5442f2e8b4ab22ba24ab1565a1dca4c03#python311Packages.managesieve

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ahwg2lhql17xv6cq4ycqf78l2kj9zkdx-python3.11-managesieve-0.8
ls -la /nix/store/ahwg2lhql17xv6cq4ycqf78l2kj9zkdx-python3.11-managesieve-0.8/bin

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

4 packages built:

sieveshell (python311Packages.managesieve)
sieveshell.dist (python311Packages.managesieve.dist)
python312Packages.managesieve
python312Packages.managesieve.dist

Maintainer pings
cc @dadada for testing.

Result of nixpkgs-review pr 297195 run on x86_64-linux 1

4 packages built:

sieveshell (python311Packages.managesieve)
sieveshell.dist (python311Packages.managesieve.dist)
python312Packages.managesieve
python312Packages.managesieve.dist


run "make run" error

run "bin/plank" shows “plank server started at localhost:20011”。However，run “make run” error：
22:23:03 txview-00 | WARN[2019-05-08 14:23:03.055084 UTC]src/github.com/ebay/beam/blog/logspecclient/client.go:222 github.com/ebay/beam/blog/logspecclient.(*Log).Read() Retrying                                      RPC=Read error="rpc error: code = Canceled desc = grpc: the client connection is closing" server="tcp://node24:20011"
22:23:03 txview-00 | INFO[2019-05-08 14:23:03.055528 UTC]src/github.com/ebay/beam/blog/logspecclient/client.go:455 github.com/ebay/beam/blog/logspecclient.(*Log).connectAnyLocked.func1() Logspec client connecting to                  server="tcp://node24:20011"
22:23:10 hashsp-00 | WARN[2019-05-08 14:23:10.884702 UTC]src/github.com/ebay/beam/blog/logspecclient/client.go:222 github.com/ebay/beam/blog/logspecclient.(*Log).Read() Retrying                                      RPC=Read error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:20011: i/o timeout"" server="tcp://node24:20011"
22:23:10 hashsp-00 | INFO[2019-05-08 14:23:10.885279 UTC]src/github.com/ebay/beam/blog/logspecclient/client.go:455 github.com/ebay/beam/blog/logspecclient.(*Log).connectAnyLocked.func1() Logspec client connecting to                  server="tcp://node24:20011"
22:23:10 hashsp-01 | WARN[2019-05-08 14:23:10.907590 UTC]src/github.com/ebay/beam/blog/logspecclient/client.go:222 github.com/ebay/beam/blog/logspecclient.(*Log).Read() Retrying                                      RPC=Read error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:20011: i/o timeout"" server="tcp://node24:20011"
How should I do

It seems to think your logservice is at node24. Did you by chance change the logspec address in local/config ? the default one is configured to use localhost.

I change the logspec address in local/config as hostname, but I only used one virtual machine（VMware，the network set  net model）. The virtual machine' s IP is <IP_ADDRESS>. I don' t know where the "<IP_ADDRESS>" comes from.
Today,beam sets up normally. Changing the type of beamlog in local/config as kafka.

plank was only listening on localhost, so it won't be reachable via the IP/external name.


Form width

Form width updated

Codecov Report

Merging #66 (f37f5f9) into main (004b864) will increase coverage by 0.83%.
The diff coverage is 30.72%.

:exclamation: Current head f37f5f9 differs from pull request most recent head 803c2bd. Consider uploading reports for the commit 803c2bd to get more accurate results

@@            Coverage Diff             @@
##             main      #66      +/-   ##
==========================================
+ Coverage   28.13%   28.97%   +0.83%
==========================================
  Files          24       27       +3
  Lines         654      780     +126
  Branches      181      212      +31
==========================================
+ Hits          184      226      +42
- Misses        416      493      +77
- Partials       54       61       +7

Flag
Coverage Δ

backend
73.63% <68.96%> (-1.77%)
:arrow_down:

frontend
13.47% <23.33%> (+4.26%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

backend/graphql/typeDefs.js
100.00% <ø> (ø)

backend/models/event.js
66.66% <ø> (ø)

backend/models/visit.js
60.00% <ø> (ø)

frontend/src/components/EventForm.js
0.00% <0.00%> (ø)

frontend/src/components/EventPage.js
0.00% <0.00%> (ø)

frontend/src/components/LoginForm.js
0.00% <0.00%> (ø)

...ontend/src/components/LumaTagInput/LumaTagInput.js
40.62% <ø> (+0.41%)
:arrow_up:

frontend/src/components/UserForm.js
0.00% <0.00%> (ø)

frontend/src/components/UserList.js
0.00% <0.00%> (ø)

frontend/src/components/UserPage.js
0.00% <0.00%> (ø)

... and 11 more

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 918b937...803c2bd. Read the comment docs.


[Doc] Online-Samples/Examples for elixir-pdf-generator

Hello Martin,
Do you think it would be possible to add some examples what can be
done via elixir-pdf-generator?
For example like in http://www.fpdf.org/en/tutorial/tuto4.htm at the Demo
link. It does not have to be as fancy as in FPDF by the way, just some
example gallery e. g. 1-5 examples of what can be done to get
a "head start" with elixir-pdf-generator. I learn best from simple examples,
already have been using ruby for a long time, now also learning elixir
slowly.

Hi @shevegen , thanks a lot for this idea! This would require to setup some server and service eposing this fr demo purposes. While haing the physical resources (server, spare RAM) I am afraid I cnnot do this on the side right now :-(

Just a quick update on this. Since there's the https://github.com/gutschilla/elixir-pdf-server project (lacking any documentation right now), a serious attempt to make this come true is underway.


do not assume that bitnami is guanteed to be in the helm repo list

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>

I think we should be able to assume bitnami. Is this just a workaround for spectron flakiness?

I think we should be able to assume bitnami. Is this just a workaround for spectron flakiness?

No it is a work around for people (including developers) that have manually run helm repo add ... before the switch to bitnami. Namely, the code in the settings only runs that command for bitnami if there are no helm repos listed at all. But I think previously we did that with stable. I ran into this on my machine for instance.

No it is a work around for people (including developers) that have manually run helm repo add ... before the switch to bitnami. Namely, the code in the settings only runs that command for bitnami if there are no helm repos listed at all. But I think previously we did that with stable. I ran into this on my machine for instance.

No it is a work around for people (including developers) that have manually run helm repo add ... before the switch to bitnami. Namely, the code in the settings only runs that command for bitnami if there are no helm repos listed at all. But I think previously we did that with stable. I ran into this on my machine for instance.

ah, I see. It would be ideal if the test was dynamic, detecting if there were repo(s) already present, and looking for bitnami if not, which is what the CI would encounter and would be a stronger test.

No it is a work around for people (including developers) that have manually run helm repo add ... before the switch to bitnami. Namely, the code in the settings only runs that command for bitnami if there are no helm repos listed at all. But I think previously we did that with stable. I ran into this on my machine for instance.

ah, I see. It would be ideal if the test was dynamic, detecting if there were repo(s) already present, and looking for bitnami if not, which is what the CI would encounter and would be a stronger test.

No it is a work around for people (including developers) that have manually run helm repo add ... before the switch to bitnami. Namely, the code in the settings only runs that command for bitnami if there are no helm repos listed at all. But I think previously we did that with stable. I ran into this on my machine for instance.

ah, I see. It would be ideal if the test was dynamic, detecting if there were repo(s) already present, and looking for bitnami if not, which is what the CI would encounter and would be a stronger test.

Agreed good idea. Will do that

No it is a work around for people (including developers) that have manually run helm repo add ... before the switch to bitnami. Namely, the code in the settings only runs that command for bitnami if there are no helm repos listed at all. But I think previously we did that with stable. I ran into this on my machine for instance.

ah, I see. It would be ideal if the test was dynamic, detecting if there were repo(s) already present, and looking for bitnami if not, which is what the CI would encounter and would be a stronger test.

Agreed good idea. Will do that

@jim-docker Done, care to take a look again? Thanks.

@jim-docker Done, care to take a look again? Thanks.

This is actually throwing errors in our pipeline.

Should we revert?

This is actually throwing errors in our pipeline.

Should we revert?

Let me investigate, I think we can ignore this error and then test if bitnami is present specifically. If you want to revert then sure, but I think we should have some modification to this test.

Let me investigate, I think we can ignore this error and then test if bitnami is present specifically. If you want to revert then sure, but I think we should have some modification to this test.


Add multithreaded Bullet formula: bullet@mt

Provide a detailed description of the proposed feature
Now that we have both single and double precision bullet and also the latest 3.17 thanks to #77143, can we also have a multi-threaded variant too?
I thought perhaps: bullet@mt
What is the motivation for the feature?
Add multi-threaded bullet libraries for software that takes advantage of this, such as OpenMW
How will the feature be relevant to at least 90% of Homebrew users?
As more and software supports multi-threaded bullet, this package will likely become even more popular.
What alternatives to the feature have been considered?
We can still edit the original formula to turn on multi-threaded that way.

Please open a pull request, thanks!


Feature/#43 settings panel

Settings panel to allow for managing both qBittorrent and local preferences. Also includes other changes such as moving the logout/toggle them buttons into a menu.
STILL A WORK-IN-PROGRESS!

Still need downloads and speed section.


Modernize codebase

lib/request_signer was already using a couple of ES6 features, so this shouldn’t break anything.
Switches codebase to classes and arrow functions, replaces lodash with ES5 array extras and normalizes whitespace to four spaces.

@fb55  what needs to be done still to get this working?

Currently the test failing is
/home/ubuntu/gdax-node/lib/clients/public.js:58
    get(...args) {
        ^^^

due to unsupported rest parameters.
Support for them is shown here: http://node.green/#ES2015-syntax-rest-parameters
They are flagged as warnings below node v6.4.0.

I pulled this branch and set the node engine to v7.8.0 and all the tests are passing!
The OrderBookSync ones looked a little bit iffy, they took a while to complete.
  ✓ OrderbookSync public client should stream trades: 2784ms
  ✓ OrderbookSync public client should stream trades with function: 3365ms

ping @fb55

ping @mihar @fb55 ? anyone alive?

@fb55 I would really like to work on getting this merged and working, is there something we can do to get this happening or can the community here get an update at least of what is going on? I have pinged you guys multiple times over the last 2 months... Can we be a little more professional about this?

@awitherow I didn't have a chance to investigate the performance regressions at the time, which is why I didn't pursue it any further. I would love it if someone could take this over.

In looking at updating tests for my own refactoring, I found that the current tests for PublicClient#getProductTradeStream were actually going to the network / live GDAX API instead of mocking the requests through nock. The variability of the network and live API timing is likely what lead to the difference in execution time.
I've opened a new PR #55 that has a local copy of the requests for nock to use (I used nock.recorder.rec() and friends to record the live API calls and save them to a nock config json that could by loaded in tests.)

@fb55 thank you for the response!
Do you guys do any standardized performance testing for gdax-node already, or would we have to create a standard now?

@nikulis That's a great find, thanks for looking into it!
@awitherow We don't have anything like that for gdax-node right now. The existing tests already help to spot large changes, having some proper benchmarks would be great though.

This would be a learning exercise in terms of how to do benchmark testing & performance stuff... So I am just shooting ideas and needing a little guidance.
Would integration of something like this:
https://benchmarkjs.com
Into the test suite help to track things in the future well?
We could then even write the statistics to json and be able to see the trends in speed of the test suite over time?
Is there a better way to do this?

Also, what is to be done about the node version of the project? With the refactorings, a higher default node version is necessary for the code to even properly function. Thoughts on using v8.0.0?

Closing in favor of #60


return val on get

I believe MemDOWN adheres to the Abstract LevelDOWN prototype, so this function should not return synchronously (in general it's very bad practice for a function to return the same thing both synchronously and asynchronously).
Are you using MemDOWN just by itself, as opposed to an in-memory version of LevelDOWN? If so, there might be a better choice of in-memory library for you.

ok thanks!


Comments under kumites are not visible sometimes

Sometimes comments left under kumites are not visible (some weird caching applied maybe?). It first happened a couple weeks ago with a translation, but now it happened again with a regular kumite. In that earlier case only my comments disappeared, but now other users' comments disappear too.
2 comments are missing:

I left a comment under a kumite
I jumped to it from the dashboard and see this:

Then I pressed the "Rooted by: Invert Pitch Set" link and see this:

A comment and an upvote are missing:

A user left a comment under my fork
I jumped to it from the dashboard and see this:

Then I pressed the "Rooted by: Invert Pitch Set" link and see this:

Yeah, looks like it's showing some outdated version when kumite is displayed as a descendant.
For kumite with id 5e330aaef020860010a1a4fc. Only 4 comments are shown when it's displayed as descendant of 5e32ded00189d8002ee59860 (https://www.codewars.com/kumite/5e32ded00189d8002ee59860?sel=5e330aaef020860010a1a4fc).

But showing it as a root (https://www.codewars.com/kumite/5e330aaef020860010a1a4fc), shows 6 comments.


osu-lazer{,-bin}: 2024.113.0 -> 2023.114.0

Description of changes
Changelog: https://github.com/ppy/osu/releases/tag/2024.114.0
Diff: https://github.com/ppy/osu/compare/2024.113.0...2024.114.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 281040 run on x86_64-linux 1

2 packages built:

osu-lazer
osu-lazer-bin


[Test] Change Run to AssertOK in network test

The Run() instead of AsserOK seems ignore network rm failure. Tested locally, make a draft PR to test in CI.
$ go test -v -exec sudo ./cmd/nerdctl/...
....
$ snd network ls
NETWORK ID      NAME                                              FILE
17f29b073143    bridge                                            /etc/cni/net.d/nerdctl-bridge.conflist
a6aa6228f4ab    nerdctl-testnetworkcreate                         /etc/cni/net.d/nerdctl-nerdctl-testnetworkcreate.conflist
80fdca7fb464    nerdctl-testnetworkremovewhenlinkwithcontainer    /etc/cni/net.d/nerdctl-nerdctl-testnetworkremovewhenlinkwithcontainer.conflist
# log
=== CONT  TestNetworkRemoveWhenLinkWithContainer
    network_rm_linux_test.go:68: assertion failed: res.ExitCode is not exitCode: time="2022-12-02T04:58:53Z" level=fatal msg="task 9c39efff9d85b1b235a8b8810bea18cf2fd0568f824baba8c8dd0e086723709f not found: not found"

--- FAIL: TestNetworkRemoveWhenLinkWithContainer (6.99s)
=== CONT  TestNetworkRemove
    network_rm_linux_test.go:47: assertion failed: res.ExitCode is not exitCode: time="2022-12-02T04:58:53Z" level=fatal msg="task ee06882a2a0a3e93136a6c28fe400779f1651d57f142eb074173de12ef6864bb not found: not found"
--- FAIL: TestNetworkRemove (3.97s)

Signed-off-by: Jin Dong<EMAIL_ADDRESS>

I think this looks okay! We could extend it to all the test suites imo.
Maybe something like this:
➜  nerdctl git:(filter-label) ✗ find ./ -type f -iname "*_test.go" | xargs -i@ sed -i 's/Run()/AssertOk()/g' @

Maybe something like this:
➜  nerdctl git:(filter-label) ✗ find ./ -type f -iname "*_test.go" | xargs -i@ sed -i 's/Run()/AssertOk()/g' @

Thanks for the suggestion! We definitely can use this to get a list of defer calls with Run() and then we can check them case-by-case, because some tests are written in a way that a normal rm is called first and also a defer rm is called to ensure it's indeed rmed. So sometimes the defer may fail as expected.


feat(nexus): detection of enospc of spdk block device

Support for ENOSPC detection on Lvol has been added to SPDK.
Corresponding statuses has beend added to io-engine.

bors try

bors merge


Worker Active Clients metric can exceed 0 at rest

Alluxio Version:
What version of Alluxio are you using?
2.6.2
Describe the bug
A clear and concise description of what the bug is.
When performing back-to-back bin/alluxio runTests, it is possible to see the Worker.ActiveClients metric exceed
0 while at rest (i.e: there are no active jobs). This implies that the metric counter is being incremented more than it is decremented, or that there are hanging jobs.
To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)

Install an Alluxio cluster locally following the documentation.
Perform a couple bin/alluxio runTests.
Observe the Worker.ActiveClients metric at a Alluxio worker metrics sink.

Expected behavior
The metric Worker.ActiveClients should be 0 when there are no jobs.
Additional context
This metric was added as part of https://github.com/Alluxio/alluxio/pull/13856

TODO(self): Reproduce this issue while also capturing job count.

I'm seeing negative active client counts.
This might be the cause: https://github.com/Alluxio/alluxio/blob/25e1882baad606a813a84a15646746a06590df49/core/server/worker/src/main/java/alluxio/worker/grpc/ShortCircuitBlockReadHandler.java#L124-L132
Both unlockBlock and cleanupSession decrease this counter, and if unlockBlock does not throw an exception, the counter is decremented twice for a single client.

@ZhuTopher Are you going to fix this?

@jiacheliu3 I'm not actively working on this nor have it in my pipeline atm.
@dbw9580 That seems like something worth investigating as well; in this issue I personally didn't observe the metric below 0 though.

@jiacheliu3 I also encountered this problem and submitted a PR  https://github.com/Alluxio/alluxio/pull/14088 to solve this problem

Closing since #14088 was merged

fyi @dbw9580


Method selectAll raises error no "such method 'selectAll' for multiselect widget instance"

Hello, i just updated my jquery Ui library from version 1.8x to 1.10.4 and when i try to call method selectAll it raises the error "no such method 'selectAll' for multiselect widget instance" on firefox debugger. I know the library states explicity it only works along with jquery ui 1.8, but it would be good if it was possible to update jquery and the multiselect still worked.
Any thoughts about this error?
Thank you.

Just got this error. Any solution?


Update to Vulkan 1.0.49 header

New scripts, header files, new Vulkan.hpp including a workaround for getSurfaceCapabilities2KHR issues, parameter_validation, unique_objects and object_tracker layer support.

If you let my #1767 land first and rebase on that, then you'll have IDs for some of the UNDEFINED cases. I'll go through the new checks in this PR and note new IDs.

@tobine, I have a commit with these changes.  I would appreciate if you could verify the VUID for vkGetPhysicalDeviceSurfaceFormats2KHR's pSurfaceInfo->surface -- is it the same as the one for GetPhysicalDeviceSurfaceCapabilities2KHR's pSurfaceInfo->surface?

Had to fix an unexpected error in the LVTs -> InvalidImageLayouts was trying to match the part of the string from the spec, which changed in the header update.


'Dev:Dendron:Doctor' remove all content from file

Describe the bug
I don't know if I misinterpreted what is written on https://www.dendron.so/notes/eea2b078-1acc-4071-a14e-18299fc28f47.html#doctor or if it is a bug indeed. I thought doctor command would only add frontmatter if it is missing and not replace all content with it.
To Reproduce
Steps to reproduce the behavior:

Create new .md file
Write anything on it without adding a frontmatter
Save file
Execute Dev:Dendron:Doctor
Observe that all content is gone and replaced with a frontmatter

Expected behavior
File's content remains the same only with the addition of frontmatter
Desktop (please complete the following information):

OS: Windows 10
Version 0.5.11

Looked into it and you're right, it is a bug!
Doctor works with the files you had on disk when you first started Dendron which is why new file changes weren't picked up. Fixed this with the latest Dendron 0.5.12. Issue should be fixed now and deep apologies about the issue.

No problem Kevin, I'm glad I helped. Keep up the great work!


Archive logs to file storage or S3

Add proto definitions for uploading results logs to S3
Implement log forwarder with backends for a file system (PVC) and S3.

A huge thank you to @sayan-biswas and @AndrienkoAleksandr, who did the heavy lifting to bring my proof of concept to fruition. They deserve a lot of the credit here as authors.

cc @vdemeester @khrm

We need some user documentation on this. Otherwise, this pr looks fine to me.
Also, a documentation for developer porting it to splunk, etc.

We need some user documentation on this. Otherwise, this pr looks fine to me.
Also, a documentation for developer porting it to splunk, etc.

I'd suggest adding a configuration to disable log archiving. In our case, we've developed a log collector based on Fluentbit and seems reasonable to let users decide whether they want to toggle this feature.  Out of curiosity, did you have the chance to test this approach in massive scale? Asking because I tried a similar approach (fetching logs within a controller)  a while back and I noticed instabilities with thousands of simultaneous TaskRuns running and opening connections to the API server.

I'm wondering whether the object deletion might conflict with log streaming: the grace period elapses before the log archinving is done and the TaskRun is deleted, interrupting the process. In this case it's worth checking if the process is completed before deleting objects.

/close
Will be replaced by #277 and follow-up pull requests

/close


renterd failing to start after #1435

Current Behavior
Running docker container on k3s kubernetes cluster. ARM64 nodes. Current dev (b377f76)
Using RENTERD_NETWORK environment variable
Using RENTERD_BUS_API_PASSWORD environment variable
Using RENTERD_DB_URI environment variable
Using RENTERD_DB_USER environment variable
Using RENTERD_DB_PASSWORD environment variable
Using RENTERD_DB_NAME environment variable
Using RENTERD_DB_METRICS_NAME environment variable
Using RENTERD_WORKER_ENABLED environment variable
Using RENTERD_AUTOPILOT_ENABLED environment variable
Using RENTERD_LOG_FILE_ENABLED environment variable
Using RENTERD_WORKER_API_PASSWORD environment variable
2024-08-22T18:34:28Z	INFO	renterd	{"version": "b377f76", "network": "zen", "commit": "b377f76", "buildDate": "2024-08-22T08:35:54Z"}
2024-08-22T18:34:28Z	INFO	sql	Using MySQL version 8.4.2
2024-08-22T18:34:29Z	INFO	api: Listening on [::]:9980
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa4de90]
goroutine 1 [running]:
main.(*node).Run(0x4000460008)
	/renterd/cmd/renterd/node.go:411 +0x210
main.main()
	/renterd/cmd/renterd/main.go:72 +0x3d8

same issue for 8a169ab, b2ff8d2, 82c7ad0 and some random builds from latest to 4ada222
Using RENTERD_NETWORK environment variable
Using RENTERD_BUS_API_PASSWORD environment variable
Using RENTERD_DB_URI environment variable
Using RENTERD_DB_USER environment variable
Using RENTERD_DB_PASSWORD environment variable
Using RENTERD_DB_NAME environment variable
Using RENTERD_DB_METRICS_NAME environment variable
Using RENTERD_WORKER_ENABLED environment variable
Using RENTERD_AUTOPILOT_ENABLED environment variable
Using RENTERD_LOG_FILE_ENABLED environment variable
Using RENTERD_WORKER_API_PASSWORD environment variable
2024-08-22T18:48:50Z	INFO	renterd	{"version": "4ada222", "network": "zen", "commit": "4ada222", "buildDate": "2024-08-15T15:16:54Z"}
2024-08-22T18:48:51Z	INFO	sql	Using MySQL version 8.4.2
2024-08-22T18:48:51Z	INFO	api: Listening on [::]:9980
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa235c4]
goroutine 1 [running]:
main.(*node).Run(0x4000438008)
	/renterd/cmd/renterd/node.go:411 +0x214
main.main()
	/renterd/cmd/renterd/main.go:72 +0x3d8

a bit older a945624 starts without any issue
Expected Behavior
work
Steps to Reproduce

Start renterd on docker arm64

Version
anything between 4ada222 and b377f76
What operating system did the problem occur on (e.g. Ubuntu 22.04, macOS 12.0, Windows 11)?
debian 11, kubernetes
Autopilot Config
x
Bus Config
x
Contract Set Contracts
x
Anything else?
No response

@artur9010 thank you for reporting, please let me know if you experience any issues with node setup after this bug fix, we don't test it out on k8s setups internally so getting a headsup on these issues is really useful to us!

Tested with e2ce38a, starts without any issue. Thanks


SQS Listner for SQS FIFO Queue is sending all messages concurrently, FIFO not followed. AWSPRING Cloud version 3.0.2

Type: Bug
Component:
SQS
Describe the bug
SQS listener for SQS FIFO queue is sending all messages concurrently instead of one by one per messageGroupId.
Sample
@Import(SqsBootstrapConfiguration.class)
@Configuration
@Slf4j
@ConditionalOnProperty(name = "outboundservice.sqs.enable", havingValue = "true", matchIfMissing = true)
public class SQSConfiguration {

    @Value("${outboundservice.sqs.async.client.maxConcurrency:100}")
    private int maxConcurrency;

    @PostConstruct
    public void logInitialization() {
        log.info("SQSConfiguration is initialized " +
                "and turned on due to 'outboundservice.sqs.enable' being set to true.");
    }

    @Bean
    public SqsMessageListenerContainerFactory<Object> defaultSqsListenerContainerFactory() {
        return SqsMessageListenerContainerFactory
                .builder()
                .configure(options -> options
                        .acknowledgementMode(AcknowledgementMode.MANUAL)
                        .acknowledgementOrdering(AcknowledgementOrdering.ORDERED_BY_GROUP)
                )
                .sqsAsyncClient(sqsAsyncClient())
                .build();
    }

    @Bean
    public SqsAsyncClient sqsAsyncClient() {
        return SqsAsyncClient.builder()
                .httpClientBuilder(
                        NettyNioAsyncHttpClient.builder()
                                .maxConcurrency(maxConcurrency) // Adjust this value as needed
                )
                .build();
    }

    @Bean
    public SqsAsyncOperations sqsDelayQueueAsyncTemplate(SqsAsyncClient sqsAsyncClient) {
        return SqsTemplate.builder()
                .sqsAsyncClient(sqsAsyncClient)
                .configure(options -> options
                        .acknowledgementMode(TemplateAcknowledgementMode.MANUAL))
                .buildAsyncTemplate();
    }
}

@Slf4j
@Component
@RequiredArgsConstructor
@ConditionalOnProperty(value="outboundservice.sqs.listner.outbound.enable", havingValue = "true", matchIfMissing = true)
public class OutboundSqsEventListener {

    private final LoggingService loggingService;
    private final SqsInternalMessageProcessor internalMessageProcessor;
    private final SqsExternalMessageProcessor externalMessageProcessor;
    private final SQSUtils sqsUtils;

    @PostConstruct
    public void logInitialization() {
        log.info("OutboundSqsEventListener is initialized " +
                "and turned on due to 'outboundservice.sqs.listner.outbound.enable' being set to true.");
    }

    @SqsListener(value = "${outboundservice.sqs.outbound.queue.name}", maxConcurrentMessages = "${outboundservice.sqs.outbound.queue.maxConcurrentMessages}")
    public void processMessage(Message message, Acknowledgement acknowledgement) {
      if (typeAttribute != null && "internal".equals(typeAttribute.stringValue())) {
            // Process internal Message
            processingMono = internalMessageProcessor.process(message, acknowledgement);
        } else {
            // Process external Message
            processingMono = externalMessageProcessor.process(message, acknowledgement);
        }

        processingMono.subscribe(
                null,
                error -> log.error("Error processing message with ID {}: {}", messageId, error.getMessage()),
                () -> log.debug("Finished processing for message with ID {}", messageId)
        );
    }

Hi @nikhilznr.
You can add a breakpoint to FifoSqsComponentFactory.java and   MessageGroupingSinkAdapter.java if you'd like to debug this further.
Now, this use of Project Reactor is not compatible with this kind of Listener method. When you subscribe to your reactive chain, the listener thread will be released and the flow will go on to the other components such as error handling, interceptors and back pressure release before the message is actually processed, triggering a potentially unbounded polling loop that might lead to issues such as OOM.
We don't officially support Project Reactor in this project, but you could try creating some kind of adapter to turn your Mono into a CompletableFuture<Void> and return that in the listener method.
Does this make sense?
If you'd like me to take a closer look, please provide a minimal sample project that reproduces the issue.
Thanks.

We observed the same behavior as OP without using Reactor (although OP uses it in a synchronous way). According to our experiments it happens when maxMessagesPerPoll << maxConcurrentMessages. E.g. when maxMessagesPerPoll=1 and maxConcurrentMessages=10 the FIFO order is violated. When maxMessagesPerPoll=10 and maxConcurrentMessages=10 - seemingly not. The acknowledgement mode seems to have no influence on this behavior - we saw it in both manual and automated modes.

We fixed the issue by adding custom / non zero value of messageVisibilitySeconds in @SqsListener
I think by default, 0 gets sent.

Hi @K2CO3, thanks for bringing this up, and thanks @nikhilznr for showing up again.
Just to get this out of the way - are you testing against AWS, or LocalStack? LocalStack had a quite flaky FIFO implementation last time I checked.

E.g. when maxMessagesPerPoll=1 and maxConcurrentMessages=10 the FIFO order is violated.

This would be curious, because since we're fetching one message per poll, FIFO itself guarantees not to send a message from the same message group until the previously polled message from the same group is acknowledged or visibility timeout has expired.

I think by default, 0 gets sent.

If that was the case and we were overriding the queues' default visibility with a zero visibility it might indeed cause this issue. Now, in all of my tests, when the annotation does not provide a value and no value is configured in the ContainerOptions, the framework correctly sets it as null and does not override visibility.

(although OP uses it in a synchronous way)

I don't think we can affirm that without looking at the rest of the code - unless I'm missing something, the first I/O the logic encounters it'll hop to a different thread and release the subscribing thread.
If you could provide a sample application that can consistently reproduce the issue against AWS it would help me take a closer look into this.
Thanks.

Closing due to lack of feedback. We can reopen if necessary.


Reproduce Blog Module

Problem Description
Hi, I'd like to reproduce the Blog module and add fields to it. I duplicated the code changed the name and it works in the end but the visual builder doesn't and shows a function.
Steps To Reproduce

Duplicate the Blog module code
Change name and domain name

Screenshot and/or gif

And word on this? the same thing happens to me.

I just found out the solution on another thread. Do ayarn build and everything starts working as it should.

Hi @rosa-hai! Please be sure to have yarn start running in your terminal while you develop. The yarn command should be run in the root folder of your extension.


Tab names

Modify tab names so that they are made up of text. CSS should be able to modify the format to make them look better. By having text, google will automatically translate the app from spanish.

This was fixed in 9c9a5477499ecf3dbc524de2c38064a2b8f59d15


Keybinding for international keyboard layouts.

Using a Norwegian keyboard layout, I wanted to be able to bind my four fingers to quickly jump to the first four files in the quick menu.
But with a Norwegian keyboard, those keys are JKLØ, and Ø does not like to be bound.
This is what my bindings in harpoon.vim file looks like:
nnoremap <silent><C-j> :lua require("harpoon.ui").nav_file(1)<CR>
nnoremap <silent><C-k> :lua require("harpoon.ui").nav_file(2)<CR>
nnoremap <silent><C-l> :lua require("harpoon.ui").nav_file(3)<CR>
nnoremap <silent><C-ø> :lua require("harpoon.ui").nav_file(4)<CR>

I'm not entirely sure if this is a harpoon issue or neovim issue, but a solution would be grealy appreciated.

I'm also norwegian, but I use US-layout (a custom one). You could use hjkl instead of jklø - I don't think ø is supported for keybindings in nvim.

@asbjornhaland / @OliverAThunes C-ø not because of vim, but because of terminal.  Not all C- pairs work.  A good example is C-, does not work.
I am going to close down this issue, and if it isn't a terminal issue / vim issue then I can try to create a work around, but I am unsure if I can.


[Bug] uninformative error when hitting OpenAI rate limit

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
the current behavior is ambiguous error msg:
Failed to infer vectors' dimension from encoder due to error: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please ...

Expected Behavior
The error should indicate that this is the embedding model issue
Steps To Reproduce

change API to random one
Try to init a knowledgbase class

Environment
- **OS**: any
- **Language version**: any
- **Canopy version**: 0.2.0

Closed by #220, though we will continue improving error handing in the near future, as many other cases are still not covered well


useInfiniteQuery hooks have a wrong return type

What are the steps to reproduce this issue?

Generate a react query infinite hook.

Use the query:

Observe that the return type is wrong as data.data instead of data.pages (it actually returns data.pages)

Use useInfiniteQuery directly from @tanstack/react-query

Observe that the data sits inside data.pages

What happens?
The infinite query return type is wrong data**.data** when it should be data**.pages**.
What were you expecting to happen?
Have the correct type data.pages
Any logs, error output, etc?
useGetPaginatedEventsForUsersInfinite<PageDto & GetPaginatedEventsForUsers200AllOf, ErrorType<unknown>>(params?: GetPaginatedEventsForUsersParams, options?: {
    ...;
}): UseInfiniteQueryResult<PageDto & GetPaginatedEventsForUsers200AllOf, ErrorType<...>> & {
    queryKey: QueryKey;
}
import useGetPaginatedEventsForUsersInfinite

Any other comments?
…
What versions are you using?
System:
OS: macOS 14.5
CPU: (10) arm64 Apple M1 Max
Memory: 2.63 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
npmPackages:
orval: ^7.0.1 => 7.0.1
"@tanstack/react-query": "^5.51.11",
Please execute npx envinfo --system --npmPackages orval,zod,axios,msw,@tanstack/react-query and paste the results here.

Same issue on my side. Any update on this one?


Focus switches on TAB

The winform application I am testing opens a dialog box, whey I try to navigate through the dialog box using Keyboard.PressKey(Keys.Tab) the focus is shifted to the parent window and stays there.   When I navigate though the application by pressing Tab on the keyboard it functions as expected switching focus between the elements in the dialog box.

@ecchioni Try which one of following works for you.
session.SwitchTo().Window("windowName")
session.SwitchTo().Alert();
session.SwitchTo().ActiveElement();


Replace AM/PM time entry for work days with 24h input

Instead of using a time field use a string and parse to a date

    delocalize_config = { :date => :date }
    params.require(:work_day).permit(*allowed_params).delocalize(delocalize_config)

from app/controllers/work_days_controller.rb

To set up delocalize, add time/input/formats to en.yml and de.yml. See date/input/formats as example


One of "build_dir" or "image" must be set

After running vagrant up I get the following error:
There are errors in the configuration of this machine. Please fix
the following errors and try again:

docker provider:
* One of "build_dir" or "image" must be set

Vagrantfile:
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
  config.vm.box = "ubuntu/trusty64"

  config.vm.provision :docker
  config.vm.provision :docker_compose, rebuild: true, run: "always", yml: "/vagrant/docker-compose.yml"
end

docker-compose.yml
services:
  redis:
    image: redis
  web:
    build: "."
    depends_on:
      - redis
    ports:
      - "5000:5000"
    volumes:
      - ".:/code"
version: "2"

@HeathNaylor Your error is from the docker provider and not the docker provisioner. The docker provisioner is the config.vm.provision :docker line and it provisions docker into your guest VM/container by installing docker. The docker provider is where you're using config.vm.provider :docker which is using docker instead of virtualbox to host the guest container. When you're using the docker provider you need to specify either image or build_dir, but this is all independent of vagrant-docker-compose.
The error you're seeing is not related to docker compose, or vagrant-docker-compose. For more information about using docker as a provider you might want to checkout the vagrant docs for it, here https://www.vagrantup.com/docs/docker/basics.html or Stack Overflow.


Add CliSettingsSource alias handling for AliasChoices and AliasPath.

Fixes #306 by adding support for AliasChoices and AliasPath to CliSettingsSournce.

Thanks @kschwab


changing input args for genpolicy

Upcoming change to genpolicy splits the -i flag into two separate flags so the paths to the rules.rego and genpolicy-settings.json are decoupled. This allows for that and makes it so custom settings files don't need to be copied to the same folder as rules.rego

@ksayid I agree with extend(). We can put that in another PR. I think we've used it in other spots for the same reason. The other one I'd argue is a little less readable, to me at least


fixes autoDetectRenderer in core/index.js

core. being used inside core = {...} and small jsdoc change.

Actually I don't think it's a real bug, for me it's just cleaner to use WebGLRenderer, CanvasRenderer and utils directly there.


Output Detail

When I run
!python -m text_dedup.minhash
--path "/content/A"
--split "train"
--cache_dir "./cache"
--output "/content/deduplicated"
--column "question"
--batch_size 10000
--use_auth_token false
I have output folder
state.json
dataset_info.json
, but I can't understand and I can't use it. Can you help me to explain it?

Thank you very much


rand: instantiate the DRBGs upon first use.

For backwards compatibility, calling RAND_status(3) before generating any bytes needs to instantiate the primary DRBG.

[x] tests are added or updated

Fixes #12714

Travis isn't relevant.

I've updated the commit message.  I also removed primary because all three get instantiated.

Isn't having the fixes line in the description here sufficient?  I didn't think it needed to be in the commit message.

Isn't having the fixes line in the description here sufficient? I didn't think it needed to be in the commit message.

The former might be sufficient for GitHub's autoclose feature, but a human trying to understand a code change or  finding a bug might prefer to use git log, git annotate, and git bisect in his local working copy. So it's in the git log close to the code where the relevant information should be found and not on GitHub IMHO. But YMMV of course.

P.S: I often search the git log for issue and pr numbers

Added the reporting PR number to the git commit message.  I don't consider this enough of a change to require approval again.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master thanks.


Refactor building and registering EmitC

With EmitC being an MLIR core dialect, the build config can be cleaned up and shaped more like what will be auto-generated by bazel_to_cmake. Further, registering EmitC is moved to registerMlirDialects().

@simon-camp FYI, VMToEmitC are now explicitly listed in the CMake configuration!


I know I'm not to savvy when it comes to this tech ,but why not create the 1inch token to handle micro payments and create it to become deflationary. With the total amount of token that you currently have this would Increase the value of the token. you can have the token burned from the total supply everytime we earn rewards we also burn a certain amount of satoshis. Again I'm really sorry for my novice opinion but i really like this project and believe it will do well.

1ip: 1
title: 1inch Liquidity Proposal concepts and terminologies
status: Draft
type: Information
author: 1inch Network team
created: 2020-12-25

In this very first 1IP, we formally define the core concepts and terminologies of 1inch Government to set a common ground for 1inch community. The definitions here will be used as the truth (not assumption) in every discussion of the DAO.
Copyright
Copyright and related rights waived via CC0.

Please, follow guidelines, when filling 1IP.


fix type mismatch of intr_alloc_flags

intr_alloc_flags is of type int. or do we throw away the flags in the upper byte on purpose?

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

Thanks for noticing this and sending the fix, @h3ndrik . This has been cherry-picked into our review and merge queue (merging may be delayed by the Chinese New Year holidays at the moment, but the PR will update once the fix is merged).

Cherry-picked as dcc466a, thanks!


fix percpu ODR linker warning

The following warning was received:
INFO: From Linking tcmalloc/libtcmalloc.so:
tcmalloc/internal/percpu.cc:65:30: warning: 'tcmalloc_sampler' violates the C++ One Definition Rule [-Wodr] ./tcmalloc/sampler.h:89:7: note: type name 'tcmalloc::tcmalloc_internal::Sampler' should match type name 'char' ./tcmalloc/allocation_sampling.h:57:58: note: 'tcmalloc_sampler' was previously declared here
the commit change is correcting the ODR problem.

I got issues with the google-cla bot... I took me that many attempts to finally set my email addresses acceptable to the bot...
sorry for the noise.


State the default update strategy

The default update strategy is not specified in the docs.
Found that without specifying on in the manifest, it defaults to ~OnDelete~ RollingUpdate.

this doc makes it seem like RollingUpdate is the default strategy for statefulsets

@DStorck mm, good find. However that was not the behavior I found when running on GKE.
---
apiVersion: apps/v1beta1
kind: StatefulSet
...

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.7", GitCommit:"dd5e1a2978fd0b97d9b78e1564398aeea7e7fe92", GitTreeState:"clean", BuildDate:"2018-04-19T00:05:56Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.5-gke.0", GitCommit:"f4c74e18e57148052c59cc0467bb7e99dcc46399", GitTreeState:"clean", BuildDate:"2018-06-21T14:11:26Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

Mm, I just tested this out and realized the difference between apps/v1beta1 and apps/v1.

/lgtm

/approve


jwasm: 2.17 -> 2.18

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Baron-von-Riedesel/JWasm/releases.
meta.description for jwasm is: MASM-compatible x86 assembler
meta.homepage for jwasm is: https://github.com/Baron-von-Riedesel/JWasm/
meta.changelog for jwasm is: https://github.com/Baron-von-Riedesel/JWasm/releases/tag/v2.18
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.18 with grep in /nix/store/02l4kx7xh1fn344xls9d9zw7jcdvs06p-jwasm-2.18
found 2.18 in filename of file in /nix/store/02l4kx7xh1fn344xls9d9zw7jcdvs06p-jwasm-2.18

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

jwasm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/02l4kx7xh1fn344xls9d9zw7jcdvs06p-jwasm-2.18 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/aed3fa213a190731eb324dd0f304ed03ea6ced41#jwasm

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/02l4kx7xh1fn344xls9d9zw7jcdvs06p-jwasm-2.18
ls -la /nix/store/02l4kx7xh1fn344xls9d9zw7jcdvs06p-jwasm-2.18/bin

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

2 packages built:

jwasm
jwasm.doc

Maintainer pings
cc @AndersonTorres for testing.

Closing in favor of mine.


MS_Celeb_1M

Hi, I have tested your pretrained model with MS_Celeb_1M dataset on LFW, the results are pretty good:
average precsion(ap):  0.999541130076
best_threshold :0.328682, accuracy :0.992833
auc 0.999439444444
I would like to train it by myself with MS_Celeb_1M, but this dataset are not clean and with lots of noise. would you please send me the cleaned_list for training of this dataset(MS_Celeb_1M) to my mail<EMAIL_ADDRESS>Thanks very much ^_^

I need too.:) Thanks.
<EMAIL_ADDRESS>

The plan is to write a wiki page about how to generate the "clean list" and use it for training, but I'm currently quite busy and haven't had time to do that.

@lyuchuny3 :
Is this best_threshold you've measured for the 128-dimensional model or the 1792-dimensional one?

I have the same issue on cleaning MS_Celeb_1M dataset. What would be the best approach to clean the noisy data? @davidsandberg appreciate if you can give some hints on this task?
Maybe, we should use pre-trained model to evaluate images in each folder, generate 128-d value for each picture, if one image has distance to the mean value beyond threshold shall be dropped.

@SeanGuoXuan
What you suggested is exactly what davidsandberg did to get his uploaded MsCeleb1M model.
That could clean the dataset to some extent, but the difficult and correct examples(which are important) and the incorrect ones are still inseparable. So it is difficult to set a threshold.

@ugtony  would you please tell me if I change the validation dataset,what parameters should I change beside exchanging the file folder of LFW with mine!BTW,what dataset do you use for training and what is the performance?I use the CASIA,but not clean.the accuracy on my dataset is about 85%


[Addition]: 10 Heltec cluster, Thailand

Hotspot b58 Addresses
112mCx2A8UpCcoFTC9wCLyKe4Wq1ErqavRmwmhzNNjQDWnTBg79T
11czsKxhmT1K6XPa8uYDcCqjnAh84xK5jYqMarq3QB1Z5uu5pyj
112UohL3ngfcbxKKezyotL8mv42UwjgRuxB2BD3RxbXVKitd9K6H
11NvrYHo5cUnqTBbDBi4YzXyiE1sPvqvjxayNpajihZJgm4ieF7
11jTfQsNpN7fJ9wiiwySL9RGyR5AjzN3A5nMfc8kUJXpD7eLQBW
11jhTdTN7seEE79Kcz21W8CjT4uYi75MDzDYX5pn8xMJ28iRNr4
11fNf9TizFM1L3PGzhYACEQqkgkTuVsEEVgpCcP6RN9AhguL6x4
11Emo6MKoJvdWHBxgrgMbrpeb4YbGLXFMHeg4AAuvd4aqBm1AFx
112jeJnkqUbwtDvy6oMnR5mjCToGgHazBRZxuJG3nj9TthvtgBZ7
112SV95H1hcnZYpjPAkRWLUMN8aACXEytRzfGV9F1KZPdMiy2LJh
Discord Handle
No response
Reason(s)
These 10 HS were previously reported in: #3012 in early April 2022,
however, this issue seems to have been closed without merging. why ?
These 10 Hetec cluster does not witness the true local network. They just witness themselfs.

The IPs they used were from the same ISP and ip range is similar to each other. And some Location (Singapore).

What's more, the location of these 10 Hetec cluster were changed from HongKong to Thailand in the same day(10 May, 2022)

Thanks for submission, will process it in next pr.

Thanks for submission, will process it in next pr.

Almost 3 weeks but there are still earning some HNT.

@Reachmyemail @abhay @madninja Now July, any update?  or need any support info?


Rework gas logic

Description
This is a refactor of the gas logic that better isolates version checks and gas operations.
The change looks bigger than it is because of deletion and protocol changes.
Gas model v1 has been deleted entirely given it was a pre-mainnet solution. That removed code for the gas model v1, a bunch of code in TemporaryStore, some tests, and a bit of cleanup in several spots.
crates/sui-cost-tables has been removed and the 2 files needed have been moved in crates/sui-types; that does not make any change in dependencies so it's good.
We introduced a GasCharger which is the main instance that tracks everything about gas in transactions.
Gas objects are also "embedded" in there, so that is the only object that is passed around during execution.
We can and should clean up a bit more around system vs users transactions but this is already a decent step forward, and that clean up is non trivial, so better have that in a different PR.
I still have to clean up tests and introduce a better model for gas testing. They are brittle and not easy to manage still. In another PR though.
We also introduce a new protocol version that protects towards a new check on the budget to verify that it is greater than the minimum charge (the lowest bucket of execution). That does not change the cost of any successful transaction, it will simply not allow to pay under minimum cost, run out of gas anyway, but still run (with all implications). Now transactions are verified at signing time that the budget is over the minimum.
Test Plan
Existing tests, few adjusted for minimum budget that has changed.
I will sync a full node from genesis both for mainnet and testnet to verify that no fork has been introduced.
I will also run a node that performs conservation checks to make sure things are good.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

It's quite hard to see all the places where we depend on the gas_model_version. The cleanups are on the right direction, but I think we should move all the functions that checks on gas_model_version into the same place, either in a dedicated file or in protocol config file. That way you can have an easy systematic view on what gets enabled/disabled in what gas_model_version.

I am going to try that and we'll see how it looks.
I considered it but then I felt you will have checks that are very specific to the code you are running and having them locally felt more natural, but we'll see how it looks

added a gas_predicate.rs file to unify protocol version related "predicates" as suggested by @lxfind

for @tzakian and for @oxade to confirm, the deleted limits test for v1 are there also for later versions, so we should be able to delete them just fine


Width issue

Greetings,
I use the same code as on this page : https://react-slick.neostack.com/docs/example/simple-slider
but I have a width issue, it is always far too wide on smaller screen
It must be very easy to fix it, but I am getting mad at not finding the solution for 2 days
Thanks for your support

@Pierre31415 I'd be happy to help you with that. Can you please provide me with more context? because I can't reproduce this issue. What code snippet are you trying?

You can wrap the slider with a div and you can set the width you want on this div


[website] Redirect to an existing page on dev

https://github.com/mui/base-ui/pull/416 broke the dev-time experience as the docs opened on a nonexistent page (/base-ui/) when run locally.
Added the redirect to open /base-ui/getting-started/ instead.

This will be unnecessary if we revert #416.


Outdated Alpine Linux version referenced

An outdated Alpine Linux version (3.7) is referenced in the README, and may also be in use within osie.
@nathangoulding it would be worth updating to harden and get the latest security patches.
I assume the built-in CI would validate that this change worked?
cc @vielmetti @gauravgahlot

Resolved in #4. Needs testing across our fleet.

Actually, https://github.com/tinkerbell/osie/pull/6


Cannot capture application metrics

Hello, I have a newbie question.
First of all thanks for putting this great project together. Monitoring my docker-compose set of services works great and brings incredible value to the solution.
Now I'm trying to monitor specific metrics from my applications, but Prometheus shows my endpoint as down, with the message, in the targets section, "Get http://localhost:8090/metrics: dial tcp <IP_ADDRESS>:8090: connect: connection refused". However, if I navigate to http://localhost:8090/metrics I can see the metrics being exposed.
Prometheus is running in a docker-compose set of containers, while my application is running in another.
The declaration of my endpoint in prometheus/prometheus.yml is:

job_name: 'cloud_server_auth'
scrape_interval: 10s
static_configs:

targets: ['localhost:8090']

I noticed tha cAdvisor was failing when not running in priviled_mode, but even after fixing that, I still can get prometheus to consume my metrics.
Any thoughts?
Thanks in advance to any who might shed some light on this issue, and please let me know if you need further information.
Adolfo

Solved! Cannot use localhost, use host.docker.internal instead.


Implement "on demand entries"

Related #608
This is a dev only optimization
This is new concept to reduce the dev-rebuild time dramatically if you have a lot of pages in your app.
With this, we don't add pages to webpack when building the dev server. But when we are accessing the page, we'll build the page and add it webpack.
With this, we were able to cut down "15 secs" dev re-build time to "1-2" secs.

In order to use this productively, we have to disable prefetching pages when we are in development.

TODO:

[x] Remove older pages from webpack

[x] Get the currently active page from the client side.

[x] Add some integration tests

Why optional?

No special reason. Since this is not the way how webpack works normally, some users may don't like this.
So, we should implement this as opt-in or opt-out.

This fixes #608 right?

@timneutkens Yes. It's has the core. Let's make both related.

After 8a495aa HMR is not working correctly.

@timneutkens This is in 2.0.
We are taking this early next week.

@arunoda great, I want it in, @rauchg said after 2.0 in #next on slack yesterday, that's why I added the milestone 👍

@arunoda ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤ ❤

@timneutkens I think we can't wait that long.

Guys this is ready. Could you run this few tests before we merge in.

It's mentioned that this should be opt-in/-out configurable, but I don't see any documentation added in this PR.

@sedubois currently we make this as default and there'll be no opt-out.
We'll go with the beta like that.
Then if we need to make it opt-out, let's do it.
@rauchg proposed that and the idea is to remove options as possible as we can. (Without harming the dev/prod experience).

I'm wondering if that change causes a permanent recompiling of my application in development. It actually stops after 16 recompilations.
 Ready on http://localhost:3000
Client pings, but there's no entry for page: /
> Building page: /
 DONE  Compiled successfully in 5545ms22:20:00

 WAIT  Compiling...22:20:00

 DONE  Compiled successfully in 259ms22:20:01

 WAIT  Compiling...22:20:01

 DONE  Compiled successfully in 258ms22:20:01

 WAIT  Compiling...22:20:01

 DONE  Compiled successfully in 190ms22:20:02

 WAIT  Compiling...22:20:02

 DONE  Compiled successfully in 270ms22:20:03

@DarkAdmiral a fix is coming. Beta 34 is on your way.

So there is no 'opt-out' flag avail at this time?

@mojo5000 nope. Currently there's no such flag.


Multiplayer server kicks players who break sugarcane or signs

Какую версию модпака вы используете? / Which modpack version are you using?
IMPACT, v<IP_ADDRESS>
Вы играете в одиночке или на сервере? / Are you playing single or on a multiplayer?
multiplayer
Опишите ошибку (Если нужно, приложите скриншоты). / Describe the bug (Attach screenshots if needed).
When you break sugarcane using any block but the top block, the server kicks the player.  It also happens sometimes when you break signs.
Какие изменения вы предлагаете? / What changes do you suggest?
Player should not be kicked.

I see you closed this. I just tried it again on a new server (one that I set up), and couldn't reproduce it.   I think I have the same server software that the other person had, so I don't know what would have caused the issue on one server and not on the other.


JDBC_06 - Failed to initialize connection from Streamsets

Hi
Squirrel works fine with Crate 1.0.2 and jdbc standalone driver 2.1.4.
But I dont get Streamsets to work with Crate 1.0.2 with the standalone driver 2.1.4. I have tested w Streamsets <IP_ADDRESS> and <IP_ADDRESS>.
Any special config /jdbc properties I'm missing or any fix needed in the jdbc 2.1.4 ?
get error: JDBC_00 - Cannot connect to specified database: com.streamsets.pipeline.api.StageException: JDBC_06 - Failed to initialize connection pool: io.crate.shade.org.postgresql.util.PSQLException: ERROR: SQLParseException: line 1:13: no viable alternative at input 'CHARACTERISTICS'
Dont know if this is the same as #193 .
Jonas

I unchecked the box "Enforce Read-only Connection" in Streamsets and it works like a charm. Case closed.

See this Solution complete steps to follow
https://arkit.co.in/streamsets-jdbc-connection-mssql/


for streaming sample should have "stream=" param

Sample class can take in content, source_uri or stream, should be stream here.
    :type content: bytes
    :param content: (Optional) Bytes containing audio data.

    :type stream: file
    :param stream: (Optional) File like object to stream.

the type is deduced using:
sources = [content is not None, source_uri is not None, stream is not None]

I signed it!
I signed it!

I signed it!

LGTM. @daspecster LGTY?

@dhermes yup!
Thanks @yogeshg!

@dhermes, @daspecster  my pleasure!
I also added an example for this use case in the samples repo. I was not sure how to write the test script for it though. You can help/advise me here:
https://github.com/GoogleCloudPlatform/python-docs-samples/pull/826


trying to fix mirror issues with retries

Signed-off-by: Alberto Morgante Medina<EMAIL_ADDRESS>Description
Removing the --remove-signatures to avoid missing some signatures during the skope retry policy
Fixes # (issue)
Type of change
Please select the appropriate options:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change is a documentation update

Testing

[ ] Test A
[ ] Test B

Test Configuration:

Versions:
Hardware:

Checklist

[ ] I have performed a self-review of my own code
[ ] If a change is adding a feature, it should require a change to the README.md and the review should catch this.
[ ] If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
[ ] A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
[ ] PRs should not be merged unless positively reviewed.

Last man standing so I will send this through


About Multiple Tag Support

Hi, I am trying to work with multiple tags.  I mean  at least 1 anchor and 2 tags at the same time
(thotro's library don't have this support yet, If you put second tag in to the test environment everything goes bad)
I couldn't find any info about multiple tag support in your wiki.
Is your library has multiple tag support?
Thanks

Yes, Tweaking the examples ( mainly the address section ) you should obtain multiple tag support.
What do you mean one anchor at least? At least 3 anchors are needed to localize.

I know at least 3 anchors needed to localize. I have got 5 DWM1000 right now but only assembled 3 of them, because of that I was trying one of them as anchor and the others are as tag. Thank you for your answer.

With 3 DWM1000 you can only perform Raginging with 1 Anchor and 2 Tags.
When you will have 3 Anchors and 2 Tags the localization is possible setting the right time slot through DWM sleep and delays, this isn't implemented with high level function in our library.
There are some White Papers on this problem. Moreover there are the Application Notes from Decawave ( ex. APS013 ).


Add rust support

I mostly followed the steps from the official buster image. Besides the minimal profile I added rustfmt and clippy as I'm not sure they can be installed properly through additional dependencies. Adding rust toolchain increases the image size by ~45%.

I fixed the problems above and will also add a test.

I need to make at least the $CARGO_HOME/registry writable because it is needed for crates.io index.
Also it seems like clippy is no longer available through crates.io. The situation with rustfmt is similar, there is a crate rustfmt-nightly but --force flag needs to be passed to cargo, and it also failed to build for both stable and nightly toolchain when I tried it. So it seems that the only way to build these two through cargo is from source, and that would require nightly toolchain.
I cannot find any pre-commit hooks using rust other than these which use system installations, so I created a trivial one for the test. It's a bit hacky because the repo uses itself in .pre-commit-config.yml but IMO it is still better than creating two trivial repos. Another option would be to create a remote trivial rust hook and use it instead.

I need to make at least the $CARGO_HOME/registry writable because it is needed for crates.io index.
Also it seems like clippy is no longer available through crates.io. The situation with rustfmt is similar, there is a crate rustfmt-nightly but --force flag needs to be passed to cargo to install it, and it also failed to build for both stable and nightly toolchain when I tried it. So it seems that the only way to build these two through cargo is from source, and that would require nightly toolchain.
I cannot find any pre-commit hooks using rust other than these which use system installations, so I created a trivial one for the test. It's a bit hacky because the repo uses itself in .pre-commit-config.yml but IMO it is still better than creating two trivial repos. Another option would be to create a remote trivial rust hook and use it instead.

hmmm that is quite unfortunate re: clippy / rustfmt -- they both worked from crates when rust support was added to pre-commit -- I guess we can add those components here but it feels wrong
note that pre-commit's rust support does include local + additional_dependencies -- perhaps you're not using the special syntax? https://pre-commit.com/#rust

Do you mean that I could just drop a random crate in additional dependencies for the test?

Do you mean that I could just drop a random crate in additional dependencies for the test?

yes

pre-commit itself uses cli:shellharden:3.1.0

Haven't thought of that for some reason 😅, I'll do that.


jupyter-health: test oauthenticator 17.2 and skip refresh for the test user

@minrk, how do you feel about experimenting with the changes in https://github.com/jupyterhub/oauthenticator/pull/780 on the jupyter-health staging?
I figured we could do this until that PR is merged and a new version is released with those changes.
I manually deployed this and confirmed that the health check tests work now.

@GeorgianaElena that sounds great to me, thanks!


RYA-249 Geo Indexer precondition check

Description

What Changed?
Mongo precondition checks to make sure the geometry type
for within and intersects is a Polygon.

Tests

Coverage?
There are no existing tests for GeoMongoDBStorageStrategy.

Links
Jira
Checklist

[ ] Code Review
[x] Squash Commits

People To Reivew
@pujav65
@dlotts

looks fine to me.

asfbot build


is there a way to play video from http ?

Please use the Q&A to ask questions: https://godotengine.org/qa
This issue tracker is meant for bugs and feature requests.


Make sure that we properly calculate the root for the sample file

Hi there,
This fixes #21.
It uses Dotenv's root path calculation mechanism to figure out where we can find the .env.sample file.
Please check it out. Thanks!
I will abide by the code of conduct.

@arielj thanks for your review! I just addressed it so I'll merge this now. 😃


Panel autohide doesn't work?

Hi - panel autohide in version > 1.0.x doesn't work as earlier?
If I check this option I have fadeIn / fadeOut the project list when I hover on panel
I expected, that on hover the whole panel will be show / hide, not only the items on it....

@PixelT hey, thanks for the feedback,
Can you make a screenshot?
If i activate the config the panel autohides not just the list, as well as I do the shortkey combination.

http://recordit.co/RLtWPA7H9H
I hope now it's more clearly ;)

it is actually. you are using it on the lwft. need to validate classes :) thanks

On right side this same situation :)

now you just killed me LOL

@PixelT what is the exact version you got? of the package?

project-viewer - 1.0.5
atom - 1.14.1

@PixelT found the issue, just check the config customWidth and remove the value on it. or double click in the extreme (resizer) of the project-viewer main window then restart. I will be fixed.
It continues to be a bug and i will fix this ok?
Sorry

@PixelT can you validate this is working properly now?

Seems to be work OK now :)
Thanks!

But another "issue"
Earlier when I click right mouse on the panel I have options like: "Create group, create project, edit project / group" etc.
Now it is gone? :(

:( #122

hold on to your pants :smile:

Oh I see, so I will be monitored it there 😄


LinkedQL Client

Depends on #902
Code-generate LinkedQL Go client according to the LinkedQL schema.
This PR includes a minimal implementation of an OWL in-memory store to support the code generation.
Missing

[ ] Documentation and example of integration with the new client library
[ ] Method to unmarshal received data structures (something like json.Unmarshal but for JSON-LD)

This PR was recreated as the previous one (#895) targeted the LinkedQL branch.

This change is

@dennwc should this be moved somewhere else?


a question about early start

Hello。 I have a question about early start。As the paper “Just-in-Time Provisioning for Cyber Foraging” said，“We make a reasonable attempt to order the chunks according to a profiled access pattern
computed offline”，and I studied the code under this project，I haven’t found the corresponding code about  how to make chucks in order。maybe I'm not careful enough，can you help me?

Hi,
This repo does not include the  profiling code for chunk access order.
https://github.com/cmusatyalab/elijah-provisioning/blob/master/cloudletfs/cloudletfs/fuse.c#L170
This part (in FUSE file system) tells you disk & memory access order when the VM is launched. Base on this information, you can create your own profiler. Thank you.


Alt-Charset input via custom switch wiring?

Hi I would like to try adding a switch to select modes with the new 1.3 fw, I have a US IIe enhanced with no switch jumper on the board, so to connect a 2 wire switch one wire goes to the altchar pin on the a2dvi, where do you connect the second wire of the switch? I assume it just needs 5v is there a convenient spot to tap into on the card itself?
I did noticed the 2 solder pads on the back - "sync" and "altchar" do these need to be soldered? what are these used for?
Also the Config utility seems to hang now after saving configuration to flash, and pressing esc it just goes back to the menu and hangs there?
Thanks for your help.

Yes, close the ALTCHAR solder pad. Ignore the SYNC solderpad (it must remain open). That is the only supported combination. The pads were there because we were still thinking about other options initially. But we'll remove the solderpads with the next PCB update (and ALTCHAR closed, SYNC open will be fixed).
The ALTCHAR input pin has a pull-down resistor on the A2DVI card. It should be wired to switch - and the other switch contact should go +5V. This basically retro fits a "language rocker switch" to your US Apple //e - just like Apple did it with the Euro-Machines.
I would connect the switch to +5V somewhere inside the Apple. Then you can plug the contact to the A2DVI card using a single pin. Probably nicer than soldering wires directly to the A2DVI card.
If possible, consider connecting the switch to +5V through a resistor (maybe something like 1K). Just for safety. If a switch contact somehow gets contact with something else, then you're not going to create a short with the full maximum current of the Apple II power supply. Apple itself did not use a resistor. They indeed directly used +5V for the switch. But their switch was safely installed below the keyboard.

Thanks for the update, switch modes working great :-)


Deleting resources when several have the same name

Describe the bug
When deleting a resource (in this particular case a dashboard) by name, if multiple resources have the same name then:

the resource deleted is arbitrary
no warning/error is issued

How to reproduce

Create multiple dashboards with the same name (e.g. by using the web UI, which doesn't prevent this).
Run Monaco, configured to delete a dashboard using the name from step 1.
An arbitrary one of the dashboards is deleted.

Expected behavior
A warning that multiple dashboards exist with the given name, and perhaps requiring an additional command line flag (--force or similar) to proceed with the operation.
Ideally, the ID of the dashboard to be deleted would be presented as part of this message so there is no ambiguity, and the dashboard chosen to be deleted would be the same one every time.
Log output
$ PREPROD_DT_TOKEN="redacted" monaco --verbose --environments=../environments.yaml --specific-environment=preproduction --project empty-project .

You are currently using the old CLI structure which will be used by
default until monaco version 2.0.0

Check out the beta of the new CLI by adding the environment variable
  "NEW_CLI".

We can't wait for your feedback.

2021-11-09 10:38:42 DEBUG request log not activated
2021-11-09 10:38:42 DEBUG response log not activated
2021-11-09 10:38:42 INFO  Dynatrace Monitoring as Code v1.6.0
2021-11-09 10:38:42 DEBUG Reading projects...
2021-11-09 10:38:42 DEBUG   project - empty-project
2021-11-09 10:38:42 DEBUG Sorting projects...
2021-11-09 10:38:42 INFO  Executing projects in this order:
2021-11-09 10:38:42 INFO        1: empty-project (0 configs)
2021-11-09 10:38:42 INFO  Processing environment preproduction...
2021-11-09 10:38:42 INFO        Processing project empty-project...
2021-11-09 10:38:42 DEBUG               Deploying configs in this order:
2021-11-09 10:38:42 INFO  Deployment summary:
2021-11-09 10:38:42 INFO  Deployment finished without errors
2021-11-09 10:38:42 INFO  Deleting 1 configs for environment preproduction...
2021-11-09 10:38:42 DEBUG       Deleting config EC2 Dashboard (Monaco Test) (dashboard)

Environment (please complete the following information):

OS: Windows 10
Tool version: 1.6.0

Additional context
This could be regarded as a feature request rather than a bug.

Hi @kdgrant. Thank you for submitting this issue :rocket: :+1:
You are right, the delete functionality could be improved in case multiple configs have the same name. In the past I also ran into the issue that I ended up with a lot of duplicated configs which I wanted to delete in one go - sadly, that is not supported by monaco at the moment.
I will change the label of this issue to enhancement.

Sounds good, thank you!

As of v2.x monaco will not attempt deletion if more than one Configuration of a given name is found and will instead print which configs where found so they can be removed manually.


Function Sort.isort and Sort.insrt not used

The function Sort.isort is not used by any part of alex. A quick search through the tree can show this:
$ grep -nHre 'isort'
src/Sort.hs:5:complete with associated functions for inserting and merging.  `isort' is the
src/Sort.hs:25:-- `isort' is an insertion sort and is here for historical reasons; msort is
src/Sort.hs:28:isort:: (a->a->Bool) -> [a] -> [a]
src/Sort.hs:29:isort (<=) = foldr (insrt (<=)) []

The function Sort.insrt is only used by Sort.isort:
$ grep -nHre 'insrt'
src/Sort.hs:29:isort (<=) = foldr (insrt (<=)) []
src/Sort.hs:31:insrt:: (a->a->Bool) -> a -> [a] -> [a]
src/Sort.hs:32:insrt _    e [] = [e]
src/Sort.hs:33:insrt (<=) e l@(h:t) = if e<=h then e:l else h:insrt (<=) e t

Since alex doesn't expose an API and neither function is ultimately used, they can both be removed.

If you are ok with it, I'd like to send a PR.

If you are ok with it, I'd like to send a PR. It's ready.

Sure.  This is just historic code, if you want to delete it, I am fine with it.


Wait.ForNoMoreThan(...) is broken

Current: Wait.ForNoMoreThan(...) is blocking for more than specified period until maxTimeout.
Expected: Wait.ForNoMoreThan(...) is blocking for specified period only.

https://github.com/CosminSontu/SpecDrill/commit/5d3bd11db26e4d35c6cc86b7e06b51f099837cb1


TX data issue

Hi,
Where should the spi_slave_tx_buf be filled, or the proper way to send back data to the master?
If I don't touch tx_buf, I get consistent rx data from master on rx_buf, but if I change one byte in the tx_buf, it overwrites the rx_buf, wherever I set the tx_buf.
Is it a bug or am I doing something wrong?
Best regards

@Fasol0 Hi,
master_slave_polling example shows how to set tx_buf. Does this example work fine?
https://github.com/hideakitai/ESP32SPISlave/blob/2df86e38a803899176ed99fcbc73780a012f208a/examples/master_slave_polling/master_slave_polling.ino#L136

I use the slave_simple_polling example exactly as it is.
I just replaced HSPI to VSPI.
If I comment set_buffer() I get correct rx data.
If i uncomment it, I get 0 for all rx_buf bytes, except rx_buf[0] which seems to be a random value
I don't understand how setting tx_buf in setup can interfere with the rx_buf,
do you have any idea?

If you comment out set_buffer() in setup(), tx_buf won't be initialized so it would be uninitialized data. You can change tx_buf before queuing the transaction like:
    // if there is no transaction in queue, add transaction
    if (slave.remained() == 0) {

        // change tx_buf here

        slave.queue(spi_slave_rx_buf, spi_slave_tx_buf, BUFFER_SIZE);
    }

Is this what you want to know?

Here is the thing: If I initialize TX buffer then I don't receive proper RX data..
`void set_buffer()
{
// for (uint32_t i = 0; i < BUFFER_SIZE; i++) {
//      spi_slave_tx_buf[i] = (0xFF - i) & 0xFF;
// }
memset(spi_slave_rx_buf, 0, BUFFER_SIZE);
}
void spi_init()
{
slave.setDataMode(SPI_MODE3);
slave.setQueueSize(1);  // transaction queue size
slave.begin(VSPI);
set_buffer();
}
get_spi_data()
{
if (slave.remained() == 0)
{
slave.queue(spi_slave_rx_buf, spi_slave_tx_buf, BUFFER_SIZE);
}
while (slave.available())
{
for (size_t i = 0; i < BUFFER_SIZE; ++i)
printf("%d ", spi_slave_rx_buf[i]);
printf("\n");
    slave.pop();
}

}`
spi_init() is called inside setup() , and get_spi_data() inside loop().
If tx buffer is not initialized (commented), I read proper rx buffer from my master (which is a 8 byte frame,  "11 21 31 41 51 61 71 81")
If i do uncomment tx buffer initialization, I get  "255 0 0 0 0 0 0 0" as rx buffer

Ok this might help:
I tested the master_slave_polling example as you suggested
And I get "[WARNING] queue is full with transactions. discard new transaction request" everytime.

Blue signal is SCLK
Red signal is MOSI (slave RX)
Green signal is MISO (slave TX)
Last one is CS
On this example I use slave_simple_polling just as it is. I only initialize tx_buf, I never change its values anywhere else,
and yet you can see that rx buffer (data from red signal) as an effect on the tx buffer.
Therefore it does not seem possible to use this library to transmit data from slave to master for  now..

Ok, I will check it tomorrow, so could you summarize followings?

esp32 version
what you want to do
what is the problem
minimum code that can reproduce the issue

Ok thank you,

I have tested the code on several esp32 based boards, all have the same issue (WEMOS lolin D32, ESP32-WROOM32-UE, etc..)
I just want to send back data to master
If spi_slave_tx_buf is initalized, rx_buf AND tx_buf data are messed up (random values, mostly zeros),
simple_slave_polling example does not work as is (no changes): to get proper rx data, I need to comment spi_slave_buffer initialization. I use VSPI as SPI pins.

This post seems really close to the issue:
https://esp32.com/viewtopic.php?t=11655
unfortunately his solution (turning on CONFIG_SPI_SLAVE_IN_IRAM) is not possible since we don't have access to sdk_config (Arduino framework using compiled version of config files)
My platformio.ini:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200

Thanks, I want more information to reproduce the problem.

esp32 version

esp32dev in PlatformIO

Which version? Latest one is v3.3.2.

what you want to do

just send back data to master

Ok so you need to set the received bytes to tx_buf

what is the problem

If spi_slave_tx_buf is initalized, rx_buf AND tx_buf data are messed up (random values, mostly zeros),

I see

minimum code that can reproduce the issue

simple_slave_polling example does not work as is (no changes): to get proper rx data, I need to comment spi_slave_buffer initialization. I use VSPI as SPI pins.

Where is SPI master? Another device? I want whole code that can reproduce the problem.

In master_slave_polling and master_slave_polling_large_bytes examples, memset inside of set_buffer was not needed. Because of memset, buffers are cleared to zero. So the transaction results were always zero. However, the library itself worked fine.
I've fixed examples in v0.1.2. Is this release fix your issue?

I'm sorry, I must have misunderstood because it doesn't seem to work correctly with ESP32 v1.0.5 or later in the Arduino IDE. I don't have time to look into it right now, but I'll do so later.
As of now, if you use ESP32DMASPI with ESP32 v1.0.4, it should work with Slave.

Hi,
I tried ESP32DMASPISlave, it does not work either, weither I try with v1.0.6 or v1.0.4
In this case RX buffer never gets updated. I always get zeros (value from initialization) or 254 if I comment memset()

Hi,
Do you think you would have time to dig into that issue in the next few days?
In the other case I will implement another communication protocol for my application.
Regards

Sorry for the late reply. I'm going to archive this repo and merge into ESP32DMASPI.


Remove version: eTeks.SweetHome3D version 7.5

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.5/SweetHome3D-7.5-windows.exe/download
Status Code: 200
(Automated message - build 897)

Close with reason: Package still available.;


Flag page still shows option with invalid reportID or reportActionID and when chooosing an option, console error appears

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open with deep link of flag page that contain invalid reportID or reportActionID
Notice that flag page still shows option
Select any option
Notice console

Expected Result:
We should display not found page when opening flag page with invalid reportID or reportActionID
Actual Result:

Flag page still shows option with invalid reportID or reportActionID
After selecting any option console error appear

Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.33-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/8a10fe99-c1d6-4ba9-84cf-be68066f2d26
246756576-44bbc750-d465-4007-869c-fe45ff8aca55 (1).webm
Expensify/Expensify Issue URL:
Issue reported by: @dukenv0307
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687583790972699
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Flag page still shows option with invalid reportID or reportActionID and when chooosing an option, console error appears
What is the root cause of that problem?
We don't have any check to display not found page if the report or reportAction doesn't exist
What changes do you think we should make in order to solve the problem?
We could use FullPageNotFoundView to wrap here with shouldShow prop is _.isEmpty(report) || _isEmpty(reportAction)
https://github.com/Expensify/App/blob/820fa93ad1e799c12d8b639b98018b5350ea17af/src/pages/FlagCommentPage.js#L144
And we should move the logic here first to get the correct reportAction that help the check to display not found page correctly
https://github.com/Expensify/App/blob/820fa93ad1e799c12d8b639b98018b5350ea17af/src/pages/FlagCommentPage.js#L119-L122
let reportAction = props.reportActions[`${props.route.params.reportActionID.toString()}`];
  let reportID = getReportID(props.route);
    if (reportAction === undefined || reportAction.reportActionID === undefined) {
        reportID = ReportUtils.getParentReport(props.report).reportID;
        reportAction = ReportActionsUtils.getParentReportAction(props.report);
    }

What alternative solutions did you explore? (Optional) (edited)

I am OOO!

of flag page that contain invalid reportID or reportActionID

Why would a user ever encounter this? Are you manually editing the URL?

Bump @dukenv0307 on the above to understand better. I'm not sure users would ever run into this, or if we'd care to fix it, if we're manually editing the URL

Thanks! I think we gotta close this in that case. I don't think we can count a manually edited URL as causing this unexpected behavior


[RAM] Memory crash in medInria

Following:

this issue https://github.com/medInria/medInria-public/issues/878 about a crash in LCCLogDemons on my side at least
and https://github.com/Inria-Asclepios/medInria-public/issues/728 about crashes importing or saving (from temporary to persistent) several data in the application on Windows at least

We tested with @Florent2305 on his Windows with 32Go RAM, and i tested LCC on my 16 Go RAM:

LCC crashes with some of my relatively normal data, and do not crash if i crop them
LCC on Florent's computer can take ~30Go RAM to compute
Saving or importing a lot of data on a 8 or 16 Go RAM computer at the same time can fill the amount of memory and crash

Idea:

Limit to 2 or 3 import/saving data at the same time and put in queue the remaining data (cf medAbstractExporter, medDataManager)?
In processes manager, a pop-up alerting that the amount of memory used is critical, and that the user needs to save his data and reboot the application?
Check std::bad_alloc from ITK?
Check https://itk.org/Doxygen/html/classitk_1_1MemoryAllocationError.html with is linked to std::exception

Idem for https://github.com/medInria/medInria-public/issues/794