Swift binding integration

This PR is an attempt to get the swift bindings integrated into the build.
It generates a dylib for swift bindings. Added a lit test to test the bindings. cmake will try to detect swiftc and build the bindings only if swiftc is available.

Yes, we should update bindings for Swift3.

Now working on linux too and only compiles swift bindings if swiftc present!

@swift-ci please test

Could we make this detect if the Swiftc version was appropriate too? Otherwise it will fail OOTB on OS X without a custom toolchain.

@swift-ci please test

BTW, have you tested the Xcode project with this change? Doesn't have to be added in the same commit, but we should make sure it still works.

How exactly to test Xcode project? The swift-build-tool compiles on Xcode same as before.

Also ran "BasicTest", "CoreTests" and "NinjaTests"

llbuild scheme's tests passes

Tests fail on Linux: (basic.swift)
error: use of undeclared type 'Task'
error: use of undeclared type 'Key'
and so on

@Geforce8472 can you provide complete log of the failure?

Those errors mean the version of Swift3 being used is too old, I suspect, or perhaps llbuild is not being imported correctly.

swift3 must be ok otherwise it would have failed at compile phase

FAIL: llbuild :: Examples/swift-bindings/core/basic.txt (34 of 114)
******************** TEST 'llbuild :: Examples/swift-bindings/core/basic.txt' FAILED ********************
Script:
env LD_LIBRARY_PATH=/home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib /home/git/Swift/install/usr/bin/swiftc  /home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift -I /home/git/Swift/llbuild/build/products/swift-bindings -I /home/git/Swift/llbuild/products/libllbuild/public-api -Xlinker /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib/swift-bindings.dylib -o /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.exe
env LD_LIBRARY_PATH=/home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.exe /home/git/Swift/llbuild/tests/Examples/swift-bindings/core/basic.txt > /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.out
cat /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.out
/home/git/Swift/build/buildbot_linux/llvm-linux-x86_64/bin/FileCheck /home/git/Swift/llbuild/tests/Examples/swift-bindings/core/basic.txt --input-file /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.out
Exit Code: 1
Command Output (stdout):
Command 0: "/home/git/Swift/install/usr/bin/swiftc" "/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift" "-I" "/home/git/Swift/llbuild/build/products/swift-bindings" "-I" "/home/git/Swift/llbuild/products/libllbuild/public-api" "-Xlinker" "/home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib/swift-bindings.dylib" "-o" "/home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.exe"
Command 0 Result: 1
Command 0 Output:
Command 0 Stderr:
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:5:19: error: use of undeclared type 'Task'
class SimpleTask: Task {
^~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:6:16: error: use of undeclared type 'Key'
let inputs: [Key]
^~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:10:19: error: use of undeclared type 'Key'
init(_ inputs: [Key], compute: Compute) {
^~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:16:24: error: use of undeclared type 'TaskBuildEngine'
func start(_ engine: TaskBuildEngine) {
^~~~~~~~~~~~~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:22:31: error: use of undeclared type 'TaskBuildEngine'
func provideValue(_ engine: TaskBuildEngine, inputID: Int, value: Value) {
^~~~~~~~~~~~~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:22:69: error: use of undeclared type 'Value'
func provideValue(_ engine: TaskBuildEngine, inputID: Int, value: Value) {
^~~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:26:34: error: use of undeclared type 'TaskBuildEngine'
func inputsAvailable(_ engine: TaskBuildEngine) {
^~~~~~~~~~~~~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:32:34: error: use of undeclared type 'BuildEngineDelegate'
class SimpleBuildEngineDelegate: BuildEngineDelegate {
^~~~~~~~~~~~~~~~~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:33:20: error: use of unresolved identifier 'Key'
var builtKeys = Key
^~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:35:34: error: use of undeclared type 'Rule'
func lookupRule(_ key: Key) -> Rule {
^~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:62:19: error: use of undeclared type 'Rule'
class SimpleRule: Rule {
^~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:63:16: error: use of undeclared type 'Key'
let inputs: [Key]
^~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:65:19: error: use of undeclared type 'Key'
init(_ inputs: [Key], compute: Compute) {
^~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:69:24: error: use of undeclared type 'Task'
func createTask() -> Task {
^~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:28:27: error: use of unresolved identifier 'Value'
engine.taskIsComplete(Value("(result)"), forceChange: false)
^~~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:75:14: error: use of unresolved identifier 'BuildEngine'
var engine = BuildEngine(delegate: delegate)
^~~~~~~~~~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:78:32: error: use of unresolved identifier 'Key'
var result = engine.build(key: Key("C"))
^~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:87:28: error: use of unresolved identifier 'Key'
result = engine.build(key: Key("A"))
^~~
/home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift:91:28: error: use of unresolved identifier 'Key'
result = engine.build(key: Key("B"))
^~~
--

Testing Time: 12.30s

Failing Tests (1):
llbuild :: Examples/swift-bindings/core/basic.txt
Expected Passes    : 109
Unsupported Tests  : 4
Unexpected Failures: 1
*** Failed while running tests for llbuild (test)
./build-script: command terminated with a non-zero exit status 1, aborting
./build-script: command terminated with a non-zero exit status 1, aborting

Ah looks like this include path is wrong:
-I /home/git/Swift/llbuild/build/products/swift-bindings
in
env LD_LIBRARY_PATH=/home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib /home/git/Swift/install/usr/bin/swiftc /home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift -I /home/git/Swift/llbuild/build/products/swift-bindings -I /home/git/Swift/llbuild/products/libllbuild/public-api -Xlinker /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib/swift-bindings.dylib -o /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.exe

Try running the below command manually:
$ env LD_LIBRARY_PATH=/home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib /home/git/Swift/install/usr/bin/swiftc /home/git/Swift/llbuild/examples/swift-bindings/core/basic.swift -I /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/products/swift-bindings -I /home/git/Swift/llbuild/products/libllbuild/public-api -Xlinker /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/lib/swift-bindings.dylib -o /home/git/Swift/build/buildbot_linux/llbuild-linux-x86_64/tests/Examples/swift-bindings/core/Output/basic.txt.tmp.exe

in basic.txt
-I %{srcroot}/build/products/swift-bindings
I wrongly assumed build folder will be inside srcroot, replacing that with build dir substitution should fix it. thanks for reporting, will fix.

Oops, I missed that in my patch review. Build dir can be anywhere it needs to be grabbed from the lit config.


hi How to Add new face

I want to add new faces, what do I do?

Just add the image in format .jpg with the face you want to add to the images folder

ok Thank but now i not run code because. ImportError: No module named face_recognition

you have to run pip install face-recognition, then upload the requirements file.

Thank you very much


ApplicationBasePath set to temporary folder

Using Assembly.Location to set the application base path does not work for tests launched with xunit console runner.
It seems that the location of the test assembly is set to somewhere in the temporary folder such as AppData\Local\Temp\7e915e1e-22f9-4172-8ade-491b924bf79c\7e915e1e-22f9-4172-8ade-491b924bf79c\assembly\dl3\815768c5\09292b41_dd7bd101\Microsoft.AspNetCore.Hosting.Tests.dll. We expected the path instead to be \test\Microsoft.AspNetCore.Hosting.Tests\bin\Debug\net451\win7-x64\Microsoft.AspNetCore.Hosting.Tests.DLL.
This currently breaks tests that contains content files (such as StaticFiles).
cc @davidfowl

Path.Get(new Uri(Assembly.CodeBase).LocalPath) seems to do the trick.

Ohhhh shadow copying hmmmm maybe we should hair stick to the original application base path


Add support for Split pretokenizer w/ behavior=removed & invert=false

This means we can run the new CamemBERT 2.0 models
import { pipeline } from '@huggingface/transformers';

// Create a question-answering pipeline
const answerer = await pipeline('question-answering', 'onnx-community/camembertv2-base-fquad');

// Generate a response
const question = 'Quelle est la capitale de la France ?';
const context = 'La capitale de la France est Paris.';
const result = await answerer(question, context);
console.log(result); // { answer: 'Paris', score: 0.9173286837656189 }

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


ci: Add codecov support

Description

Fix https://github.com/kubewarden/kubewarden-controller/issues/641

Test

CI, codecov message.

Additional Information
Tradeoff

Potential improvement

missing store test run, even if using the same --workspace flag.

LGTM, but you have to remove all the references to integration tests since we don't have them

I consider the tests under tests/{store.rs, sources.rs} as integration tests (or other vague type, but still, they aren't unit tests).
Removed the single doc test that was failing the compilation, see commit comment.


Summary log mode

I have rclone sync running in the background each night, and I'm piping the output of it to a notification system that goes to my email. The problem is there doesn't seem to be a "summary" kind of log option. You either get a lot of redundant information, or not enough of it. What I had in mind is that rclone would list only the files that are uploaded/removed etc. without progress, as they are processed, and at the end it could print a short summary, such as total transfers, avg. speed etc. Could this be done?

That sounds pretty much like what the -v flag does.  Have you tried that on a version of rclone 1.36 or the latest beta?
It will print each file uploaded or deleted and at the end it will print a summary.  It will also print status every minute - if you don't want that then pass --stats 0.

Passing --stats 0 skips the summary at the end altogether. I'm using rclone 1.36, has this behavior been changed in the beta?

Yes --stats 0 still skips the summary at the end.
You could use something like -stats 24h though?

Yup, that seems to be working, thanks. -v --stats 24h seems to be more or less what I wanted.


fixes local import error

Description
Fragalysis code was failing due to a broken local import, this PR resolves the issue. Smallest PR of all time, possibly. Not sure if this structure is intended; the error is likely a result of the refactor.
Todos

[x] add a "." to schema import so that the module can be found on import

Status

[x] Ready to go

Codecov Report

Merging #100 (1c3200f) into main (d14e6eb) will not change coverage.
The diff coverage is 0.00%.


feat(types): expose lift configuration types

Fixes https://github.com/getlift/lift/issues/203

Thanks!


Improve macOS mouse latency and stale positioning

Prior to this patch, _sapp_macos_update_mouse() used [window mouseLocationOutsideOfEventStream] to get the mouse position. mouseLocationOutsideOfEventStream seems to often lag behind the position of the mouse in the application's windows as reported by incoming mouse NSEvents.
Because the old code before this commit only called _sapp_macos_update_mouse() right before _sapp_frame(), the individual mouseMoved:, mouseDragged:, etc. methods on the _sapp_macos_view class, which are the only entry points for calling _sapp_macos_mouse_event() to send the mouse data to the user application, would be sending the mouse position data that was returned by _sapp_macos_update_mouse(), not by the event in the incoming NSEvent.
Let's review what this looks like:

_sapp_macos_update_mouse() is called right before rendering a frame. [window mouseLocationOutsideOfEventStream] is called within, and its return value is used to update the mouse position in the global _state. This data is not dispatched to the user application here. Additionally, mouseLocationOutsideOfEventStream may have returned a laggy mouse position.

_sapp_frame() is called and a frame is rendered.

Time passes.

NSEvents arrive on the mouseMoved:, mouseDown:, etc. methods. The mouse positions within the events are ignored, and instead, the position stored in the global _state from the previous call to _sapp_macos_update_mouse() is sent to the user application.

Time passes.

_sapp_macos_update_mouse() is called, …

This would result in the mouse input being delayed by one or more frames (at 60hz) on top of any additional latency added by vsync timing, video buffering, and display lag.
Another problem: after the user brings their mouse to a stop, the mouse position will often be incorrect — the newest mouse position has yet to be processed by the application. You can reproduce by moving the mouse quickly in a test application that draws a trail of squares along the mouse positions. When moving the mouse quickly and then coming to a stop, the trail of squares will stop short of the mouse cursor. Even if the mouse is left unmoving for seconds or minutes. Then the next time the user moves the mouse by even 1 pixel, a square will finally be drawn underneath the mouse position. (Except it will actually be the previous, old position.)

This commit makes several changes to input event handling in macOS:
_sapp_macos_update_mouse() has been changed to take an NSEvent* argument, instead of no arguments. And instead of using [window mouseLocationOutsideOfEventStream] to get the position of the mouse, it uses event.locationInWindow. This seems to sometimes eliminate a frame of mouse latency.
_sapp_macos_update_mouse() is no longer called immediately before rendering a frame. Instead, it's called at the beginning of each of the mouseMoved:, mouseDragged:,mouseDown:, etc. methods with its associated NSEvent*. Immediately after, _sapp_macos_mouse_event() is called. This eliminates a full frame of mouse latency. This also fixes situations where the mouse cursor's resting apparent position would lag behind its resting true position after the user stops moving the mouse.
_sapp_macos_poll_input_events() has been added, which calls [NSApp nextEventMatchingMask: ...] to manually read and dispatch input events from the event queue. _sapp_macos_poll_input_events() is called immediately before _sapp_macos_frame(). This will sometimes catch and dispatch input events that occurred shortly before the frame is to be rendered, but hadn't yet been dispatched by other mechanisms. This occasionally eliminates a frame of latency, and improves the worst-case bounds. This seems to happen to 5% or fewer mouse events.
[NSEvent setMouseCoalescingEnabled:NO], if it even still does anything, is now called once at during application startup instead of toggled off and on along with mouse lock.

The improvements are noticeable in both Metal and OpenGL.
This significantly improves #341 and #415 for Mac.

This significantly improves #341 and #415 for Mac.

Additional disclaimer: I have only tested this on 10.12.

Looks like a good fix, but I first need to do some git archeology to find out why mouseLocationOutsideOfEventStream is used in the first place instead of the more straightforward mouse movement events, and I need to do some testing. So it'll take a few days.
I'll start looking into this now though.

Ok, merged! Just wanted to mention that this was a really nice PR, very non-intrusive, nicely written and explained. Thanks :)

Hmm, I'm still seeing infrequent odd behaviour when pressing the window close button. Sometimes the close button remains pressed, rendering stops, and the application doesn't close.
I'll remove the event polling for a little while and see if that makes any difference. Just FIY.


npm audit fix

Description
For https://app.vanta.com/tests/packages-checked-for-vulnerabilities-v2-records-closed-github-dependabot-medium?tab=results
Fixes dependanbot
Risk
None
Deploy Plan
N/A

PMRR


include npm as part of the maven cycle

This fixes #1700.
Setting up npm is not required for users that only need the API (no web UI), Android or Desktop. But we should still include it in the maven cycle. So I decided to give it a try via a maven profile and the plugin seems to work properly.
The npm_modules are duplicated in web/node/npm_modules in parallel to the "normal" web/npm_modules. Is this bad? (IMO this is fine as we have the maven node&npm stuff and the other is the real locally installed node&npm. But it could also be confusing?)
TODO:

[x] adapt javascript docs
[ ] test if this works for other devs
[ ] main.js is not removed for mvn clean. Is this ok?
[ ] main.js is overwritten even if it exists. Is this ok?

You might want to have a look into this change @easbar @michaz @Nakaner

I think that npm allows to define a prefix which would solve the duplicate node_modules location

Yes please, it's great that you found a way to build this with Maven alone.
I'm not sure about the bit with the profile. What's the problem with just including it in the build, period? Combinatorial builds are a problem source.
Why would anyone want to avoid a build step that takes like 10 seconds, including downloading node? Maven always downloads and builds a hell of a lot, so I don't think this is a special issue.

main.js is not removed for mvn clean. Is this ok?
main.js is overwritten even if it exists. Is this ok?

Nope, not okay. The gernerated main.js should go directly into the build target, not into the source directory. Boom, problem disappears.

I agree with @michaz that any generated artifacts should be put in the target folder. Creating files in the source folder is messy.

Moreover, the source .js-files are, in fact, source, not assets, and should probably go into something like src/main/js? (Not sure if the plugin has recommendations for that?)

I'm not sure about the bit with the profile. Why not just include it in the build, period? Combinatorial builds are a problem source. Why would anyone want to avoid a build step that takes like 10 seconds, including downloading node? Maven always downloads and builds a hell of a lot, so I don't think this is a special issue.

Ok :)

Moreover, the source .js-files are, in fact, source, not assets, and should probably go into something like src/main/js? (Not sure if the plugin has recommendations for that?)

There are no recommendations to my knowledge.

Nope, not okay. The generated main.js should go directly into the build target, not into the source directory. (It's not source.)

Would be nice. Will try.

(Conversely, in the pt GUI, all the JS files are really assets, because they go into the web server just as they are.)

Which reminds me, if this works really well, maybe I can use it for the pt GUI, too. Then I could put those React-tags back into the JS, which would make Janek happy I think. :-)

I think that npm allows to define a prefix which would solve the duplicate node_modules location

The question is if this would be good. As the local npm and the maven-npm could be different and break things. So I currently prefer the situation as it is.

Nope, not okay. The generated main.js should go directly into the build target, not into the source directory. (It's not source.)

Ok, this seems to work now. At least for my small tests and for maven.
IntelliJ seems to ignore the plugin settings, but once the main.js is in the target folder IntelliJ does not remove it and picks it up properly (IF you have the correct assets overrides specified in the config.yml which requires a change for your old config.yml :) ). Is this expected or should IntelliJ execute the plugin when bound to generate-resources?
btw: it is very important to always open a private window in your browser to avoid caching ugliness and false positives :)

Moreover, the source .js-files are, in fact, source, not assets, and should probably go into something like src/main/js?

Ah, sure. As I break already lots of things here I'll try to move assets to src/main/js

I don't expect IntelliJ to execute the plugin, though it would be nice.
But when you execute the maven build once, and then start the server, without changing any paths or configs, the server must pick up the JS and work. Even when started from IntelliJ. Otherwise it's going to the wrong place.

If the solution relies on this "changeable asset path" thing to work, something is wrong.

But when you execute the maven build once, and then start the server, without changing any paths or configs, the server must pick up the JS and work. Even when started from IntelliJ. Otherwise it's going to the wrong place.

Yes, yes. That will work :)
The change to the config is only necessary to see edits to the JS files immediately using npm run watch.

Ah, right, okay.

(As this hot-reload is important for developing the UI I already feared this is broken now ... until I figured out that the config in use did not yet point to the target folder ...)

I haven't looked in detail into the pull request yet but the following came to my mind:

You say, it downloads Node. What about systems where Node is already installed? If I have installed Node from package manager of my Linux distribution, I don't want to have a second copy. Node's packaging generates too much copies already. :-)
There can be cases where one wants to set up the routing API but no web frontend. It would be nice to be able to build GraphHopper without having Node as a dependency. This does not have to be the default. Documenting it somewhere or add an extra option to graphhopper.sh would be awesome.

You say, it downloads Node. What about systems where Node is already installed? If I have installed Node from package manager of my Linux distribution, I don't want to have a second copy. Node's packaging generates too much copies already. :-)

I see what you mean, but Maven builds are usually expected to be self-contained, except for Maven and the JVM. Node is basically a guest in a Maven environment here.
From the perspective of Maven, builds and artifacts, the current situation is just wrong: I say mvn package, but what I get is a .jar where a required piece is missing, namely main.js. When I point my browser to the advertised address, I get an error message that main.js wasn't found.
Explaining this by "the web client is optional" is wrong IMHO. It isn't optional, it's expected to be there by the rest of the system, it just isn't there.

I don't want to have a second copy.

You don't until your systems Node version can't be used for the build.

The maven frontend plugin also has a few options to skip npm execution etc.
https://github.com/eirslett/frontend-maven-plugin#skipping-execution
In our case: -Dskip.installnodenpm -Dskip.npm

When would we want to skip installing npm?

When would we want to skip installing npm?

I don't know I just saw this and @Nakaner had asked about it. Actually I use it in #2049 where we only want he GH jars as dependencies (and not the frontend stuff). Hm, or maybe we want the frontend stuff there as well at some point :)


JS Basic Part 1 by hhu-wtag

Description
Trello Story Link

JS Basic Part 1

Goals accomplished

[x] Added JS conditions as markdown
[x]  Added JS constants as markdown
[x]  Added JS data-types as markdown
[x]  Added JS scoping as markdown
[x]  Added JS variables as markdown
[x]  Added JS loops as markdown

 JS Basic (Part - 1)


percona: set binlog_space_limit default value

Based on percona documentation

This option places an upper limit on the total size in bytes of all binary logs. A value of 0 means “no limit”. This is useful for a server host that has limited disk space.

by default, binlog_space_limit value will be 0(unlimited) if not set, there's a need to override this value, to save more space on server storage.

@ton31337 @skirmis is it ok?

Please update commit name, PR name and PR description based on current changes

https://github.com/hostinger/niagahoster/issues/5036

Updated


Problem with new Scipy

The pybasicbayes doesn't work with new version of scipy.  You need to change the from scipy.misc import logsumexp to from scipy.special import logsumexp

In case others are encountering this -- this issue seems to have been resolved by commit 61f65ad6c781288605ec5f7347efcc5dbd73c4fc , but has not been pushed to pypi yet.

Pypi still hasn't updated as far as I can tell.  Odd.
!pip install --upgrade git+https://github.com/mattjj/pybasicbayes.git
for the win!


PowerShell module notifies users when newer version is available.

PowerShell module notifies users when newer version is available.

To ensure that users are using the latest PowerShell module during cluster operations, we have made sure that once a new version is released, users will see a message that notifies you that there is a newer version available.


[Sleigh] How to display a char?

I'm working on a sleigh-describing a cpu, which uses ascii strings encoded into opcodes. So I've defined a symbol:
Char: " " is str8=0x20 & str8_2 { export 0x20:1; }

But how to display a " or other ascii symbols?

I'm working on a sleigh-describing a cpu, which uses ascii strings encoded into opcodes. So I've defined a symbol:
Char: " " is str8=0x20 & str8_2 { export 0x20:1; }

But how to display a " or other ascii symbols?

Try Char: ^" " is str8=0x20 & str8_2 { export 0x20:1; }

I mean space is not a problem. The problem is ^, ', _ and other ascii chars. I don't sure they can be escaped like that.

If they're in the quotes I believe sleigh should be okay with it

How to make double quote " in quotes? I mean escaping some chars?

Yes, that one probably isn't possible in sleigh. I don't know of a mechanism for that.

Would using the unicode left/right double quote characters work?


Implement mergewith!! in terms of modify!!

Codecov Report

Merging #157 into master will decrease coverage by 0.39%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #157      +/-   ##
==========================================
- Coverage   92.29%   91.89%   -0.40%
==========================================
  Files          22       22
  Lines         480      481       +1
==========================================
- Hits          443      442       -1
- Misses         37       39       +2

Impacted Files
Coverage Δ

src/NoBang/emptycontainers.jl
92.59% <100.00%> (-3.57%)
:arrow_down:

src/base.jl
85.84% <100.00%> (ø)

src/NoBang/base.jl
93.50% <0.00%> (-1.30%)
:arrow_down:

Continue to review full report at Codecov.

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


Remove service SignRequest and VerifyRequest

We already have RequestVerificationHeader and can use it for sign and verify requests.
Get rid SignRequest / VerifyRequest and accompanying code

closed by https://github.com/nspcc-dev/neofs-proto/pull/18


Scrolling outside Popup areas makes it disappear

Mac OSX El Capitan, Godot v2.1.stable.official
I have a Button marked as a toggle, to show and hide a Popup. I connected its "togged(bool pressed)" event to a script on the Popup, that uses "hide()" and "show()" to do the actual job.

This works as expected, except that if I scroll over the button with my touchpad (aka dragging two fingers on it) or using the scroll wheel on my mouse, the Popup disappears. The debugger says that the Popup loses its visibility. It is not moved around, and using the debugger to make it visible again fixes it until the scroll is done again. The code in the button is not being triggered (the 'unpressed! hiding!' message doesn't show up).
I think it is not about the button specifically. Replacing the code with a toggle that depends on a variable and instead using the button's pressed method does nothing to fix it. Also it seems that scrolling over some other areas of the screen hides the popup as well. But my minimal example uses a button to show the popup. The Popup documentation doesn't mention anything about this behavior. It doesn't work the other way either: scrolling doesn't make the popup visible.
Checking the "Exclusive mode" option on the Popup inspector seems to fix it as well (scroll won't make the Popup disappear), but at least on my example it prevents pressing the button again without using the enter key (the mouse won't function to press the mouse) which is odd too.
demo_bug.zip
I include the example project.
Do note that including a ScrollContainer on the Popup still lets the ScrollContainer to scroll correctly, when scrolling OVER it. It is only when scrolling outside the Popup that this happens

demo_bug_with_scroll.zip

Yep, the editor "suffers" from the same issue. If you scroll outside of popups, they disappear. Editor has this with the settings windows, scrolling outside of them closes them.

Still reproducible/relevant in 3.1 master 9ad1800 : scrolling outside popup makes it disappear


Improve cross-repository issue references in markdown

The following changes are made to the way cross-repository issue references are handled:
-Short references can be used now e.g., gogits/gogs#24
-Rendering also includes the repo reference (addresses #2960). This applies to both short references and full URL references

Amended to address feedback.

Is it just me, or have you forgotten about alphanumeric issues? :smiley:

Cross ref basically is for Gogs, and Gogs does not use alphanumeric format for issues, I think.

@bkcsoft I did look at the alphanumeric pattern, but noticed it's only used when the meta style is set by Repository.ComposeMetas, which only sets it external issue trackers.

I think repo and user name you should also allow _ and . in regexp.

Thanks!


roles :member can load admin site

a user's role is member,but it can load admin site,why??
how can i fix this problem.
or how can i redirect another site

I think you should to add permission, doing something like this:
permission := roles.Allow(roles.CRUD, "Admin")
Admin.AddMenu(&admin.Menu{Name: "User Management", Priority: 3, Permission: permission})
user := Admin.AddResource(&users.User{}, &admin.Config{Menu: []string{"User Management"}})

Or you can add only for a submenu item:
permission := roles.Allow(roles.CRUD, "Admin")
Admin.AddMenu(&admin.Menu{Name: "User Management", Priority: 3})
user := Admin.AddResource(&users.User{}, &admin.Config{Menu: []string{"User Management"}, Permission: permission})


Whitelist www.usenix.org

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following infos properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: blu

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

www.usenix.org

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client: Blokada App

Version: 4

Details:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:

https://www.usenix.org/ is a conference and site about computing. It seems to be blocked by airelle-trc, but I didn't find a place to report issues for it.

Thank you for making Energized Protection great with your kind help!

A project by Ador with ❤

It's fine. You can report here. Will get fixed tomorrow.


Code Review

Hi Team,
You guys are on the right track, congratulations on that. Just implement the changes we discussed during the standup meeting and you will be good to go. All the best!!! Happy coding
Kind Regards,
#team-122-the-manx

Thank you Peris, done!


Bug: Items with +defense mod display the base defense

See tooltip for Milabrega's orb, it displays 19 defense instead of the expected 44.

when implementing this ac/lvl (e.g. stormshield) shouldn't be forgotten


Update Crafty Controller to 4.2.2, fix missing screenshots

Hello,
We saw y'all needed to rollback Crafty for some text display issues. I see that this has been resolved in a recent update of CasaOS.
I validated this version of Crafty against CasaOS v0.4.6 on 2024-01-23.
Screenshot of testing:

Additionally updated the screenshot links to also appear the yml file so that screenshots correctly appear in the app store.
PR was waiting for issue 1559 from the main CasaOS repository.
Best,
Boat from the Crafty Team

@Wout-Boat

Sorry, I installed crafty-4:4.2.2, and when I logged in, I typed in admin crafty, and it says Incorrect username or password. Please try again. Has the initial account password been changed?

oh, i got it

maybe we need to update crafty tips

oh, i got it  maybe we need to update crafty tips

Thanks for pulling this PR. As part of it I updated the help tips to indicate the new password location. Is there anything else that should be updated?

It's perfect. There's nothing to change.


4.2.x release merge

Summary

Solution Description

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: lostime-ck:white_check_mark: chris-sun-star:white_check_mark: zhj-luo:x: xueranxueran seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Bug Report: Automatically naming result set tabs

When trying to automatically name result set tabs for select statements using the
-- name(or title): tab_name
feature, only the first such tab is renamed. For example:

What is potentially even more confusing is that if you have not renamed the first statement, the first tab is renamed to the second statement's name, but contains the first statements data:

Can't reproduce. If I remember correctly we already fixed this bug a few versions ago, please try 5.2.+ version.

I cannot reproduce either.  Works fine as far as I can tell

there is no update almost a year.
Ticket closed.
If issue is still actual for you, feel free to create new ticket


Date+time in all output

Especially with the files being updated live-online and that it's regenerated so frequently, it might be worth putting a timestamp on/in all files and figures.
It hasn't happened yet, but I can imagine there being a case where one person thinks the top ligand is X, another one thinks its Y and having a receipt on stuff would help figure out what's more new

Thanks, this seems very useful/important! I'll add a "high-priority" tag.


Use 1MB stdout BufWriter buffer size

This should give 4-5% performance improvement.
Copied from https://github.com/raphlinus/pulldown-cmark/pull/250#issuecomment-477066169:
Tested on 10000×crdt.md.
DEFAULT_BUF_SIZE (BufWriter::new()): 8KB (https://github.com/rust-lang/rust/blob/190feb65290d39d7ab6d44e994bd99188d339f16/src/libstd/sys_common/io.rs#L1)

Capacity
Time 1
Time 2
Time 3
Avg
Time rel. to Default

8KB
5.941
5.906
5.930
5.926
100.0%

128KB
5.889
5.836
5.745
5.824
98.3%

1MB
5.703
5.664
5.699
5.689
96.0%

2MB
5.721
5.792
5.727
5.747
97.0%

4MB
5.740
5.715
5.737
5.726
96.7%

8MB
5.727
5.754
5.767
5.749
97.0%

I can't really interpret this data, and I think considering the minimal performance improvements, more samples should be used. These tests are on a rather old machine (i7-4790, Samsung SSD 860 EVO). On my high-end machine (i7-6700K, Samsung 960 PRO NVMe M.2 SSD) I had 95% with 1MB and 92% at 8MB. With 128MB buffer I was back down to 100% compared to the default 8KB.
I guess it's safe to say that using 1MB is the safest bet and should give 4-5% performance improvement (which interestingly is the same as this PR, which buffers everything).

:+1: this looks like a clean win to me. I'll let @raphlinus have a look before merging this.


Running out of RAM on cloud TPU when reading data from Cloud Storage

Hi! I am trying to run the vit_s16_i1k.py script on a TPU-v3-8 machine. I put the data in a google-storage bucket and I am running the following command
TFDS_DATA_DIR=gs://bucket-name/ python3 -m big_vision.train --config big_vision/configs/vit_s16_i1k.py --workdir workdirs/i1k_training_`date '+%m-%d_%H%M'`

The training runs for a few iterations, and then fails with the killed message. When I look at htop outputs, the memory used by the process grows all the way up to 335G available before the process crashes.
I have been able to work around this issue by creating a data disk, mounting it on the TPU VM and putting the data there. In that case the same process only uses 205G of RAM and runs normally.

Try by reducing your Batch size since your workaround of using a data disk and mounting it on the TPU VM seems to have alleviated the issue by reducing memory usage.

Only saw this now. Knowing Pavel, I think it's not relevant to him anymore, but for reference, here are two more options, at the slight expense of a little speed:

Set cache_raw to False in the config: https://github.com/google-research/big_vision/blob/c01707f710170baf162dc217db7f1f044fc5be9c/big_vision/configs/vit_s16_i1k.py#L48
For all evaluators, in their config, set cache_final to False: https://github.com/google-research/big_vision/blob/c01707f710170baf162dc217db7f1f044fc5be9c/big_vision/evaluators/classification.py#L59


panda-client 1.5.30 github action

automatic pull request

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


ADAP-544: Add configuration change options

resolves #603
Description
Implement dynamic tables as a materialization option for Snowflake.
Workflow:

Refresh existing dynamic table with no changes
Accept and process changes to a dynamic table:

target_lag: alter dynamic table in place
warehouse: full refresh

Configuration:

on_configuration_change: determines the action to take when changes are detected:

apply: full refresh on warehouse changes, alter on target_lag changes
continue: soft fail, skip the processing of this model, but process downstream
fail: fail entire run

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

Refresh existing dynamic table with no changes

Hey @mikealfare looking at the original spec, the DT should not be refreshed if there are no changes and their status isn't failed.
I've re-worded the expected lifecycle here, hopefully clarifying it.

full refresh on warehouse changes
I'm not sure what that means? Is that still an ALTER statement? Or are you doing a CREATE OR REPLACE?

This PR is way out of date. The branch will be saved for reference, but the PR is stale.


⚠ Text Filter API Endpoint has degraded performance

In 96d6ead, Text Filter API Endpoint (http://textfilter.roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 5792 ms

Resolved: Text Filter API Endpoint performance has improved in 7ec2577.


Support the different "prompt" values (authenticate workflow)

none
The Authorization Server MUST NOT display any authentication or consent user interface pages. An error is returned if an End-User is not already authenticated or the Client does not have pre-configured consent for the requested Claims or does not fulfill other conditions for processing the request. The error code will typically be login_required, interaction_required, or another code defined in Section <IP_ADDRESS>. This can be used as a method to check for existing authentication and/or consent.
login
The Authorization Server SHOULD prompt the End-User for reauthentication. If it cannot reauthenticate the End-User, it MUST return an error, typically login_required.
consent
The Authorization Server SHOULD prompt the End-User for consent before returning information to the Client. If it cannot obtain consent, it MUST return an error, typically consent_required.
select_account
The Authorization Server SHOULD prompt the End-User to select a user account. This enables an End-User who has multiple accounts at the Authorization Server to select amongst the multiple accounts that they might have current sessions for. If it cannot obtain an account selection choice made by the End-User, it MUST return an error, typically account_selection_required.

==> "none" & "login" & "consent" are supported !
==> TODO : Create some feature file

The last parameter value "select_account" needs to be added later.


[FEATURE REQUEST] Verify the organization's domain

Description of feature request, idea
Verify the organization's domain (see the GitHub Docs)
Add (multiple) screenshot links (if applicable)
No response
Add any other context about the feature request here
With the organization verification, everyone will know that EddieHub controls the domain eddiehub.org and that it's not a fake or copy-pasta organization. IMO, it will also make the organization look cooler with that Verified badge.
Let me know what do you think. Thanks. 🙂

Yep, time to verify the org.


Operation Service Callables without using OperationStub

This uses the new version of Gax-HttpJson with the updated HttpJsonLongRunningClient: https://github.com/lqiu96/gapic-generator-java/pull/1
Output:
Running with gRPC...
Transcript: how old is the Brooklyn Bridge
Running with REST...
Transcript: how old is the Brooklyn Bridge

Units fails because it can't find GAX-HttpJson v0.110-110-SNAPSHOT which was created and installed to my ~/.m2 cache.


Consider a variant of make_async_future which also receives a state

CUDA tasks created via external sources often have state that come along with them. It would be nice to turn such tasks into cuda::async_future<T>s instead of cuda::async_future<void>.
There are at least two use cases:

Create an async_future<T> with state, and hand over ownership of the T to the async_future<T>. The T gets destroyed and its memory deallocated with the future.
Create an async_future<T> with state, and retain ownership of the T. The T is not destroyed with the future.

Perhaps the right way to model use case 2. is with async_future<T&>? The asynchronous state carried around by the future would be a pointer to T, rather than a T itself. There might even be a way to avoid dynamic allocations entirely in this case.

Following from the above, there would be two different non-void overloads:
Owning version:
   // make a future<T> from this event, pointer, and deleter object.
   // the future owns ptr and deletes it using deleter
   template<class T, class Deleter>
   async_future<T> make_async_future(cudaEvent_t e, T* ptr, Deleter deleter);

Viewing version(s):
   // make a future<T&> from this event and object
   // the future does not own the value, it is just a view of it
   template<class T>
   async_future<T&> make_async_future(cudaEvent_t e, T& value);

   // make a future<const T&> from this event and object, as above
   template<class T>
   async_future<const T&> make_async_future(cudaEvent_t e, const T& value);

Some foundational work needs to happen in async_future to make the above possible:

async_future needs to be taught about Deleters.
async_future needs to be taught about references.

For the owning version, it might be a better idea for make_async_future to receive a void* to emphasize that the buffer should be untyped, i.e., it should not point to an extant object.

On second thought, that last idea is wrong -- the pointer coming in should be typed because after the event is complete, some T value does exist at address ptr. The future doesn't need to placement construct it in an untyped buffer.

Even though the state has already been allocated, it might be more straightforward for make_async_future() to accept an Allocator rather than taking a Deleter:

Allocators are probably more common in user code than are Deleters.
The underlying detail::asynchronous_state is implemented in terms of an Allocator rather than a Deleter.

It's possible to adapt an Allocator into a Deleter, but it's not possible to adapt in the other direction.


Install python releases from offline registry

When running uv python install allow to specify a registry other than python-build-standalone on GitHub.
I want to allow users to use uv to manage Python versions but we're working in an offline air-gapped network.
Thanks!

We do support a proxy URL for this (UV_PYTHON_INSTALL_MIRROR) -- does that help? Could you serve them on localhost? What if it could accept a file: URL?

Accepting a folder like conda custom disk-based channels would be the easiest way how to use this on an air-gapped system.

I think file:// for MIRROR is probably the move here?

Yeah. We probably need to modify the “download” code a bit to handle that.

Making "fetch" sound like a better name again 😭 haha

I'm currently using self-compiled Python binaries on a air-gapped Debian system to create venvs with different versions for my various projects, along with various "global" venvs I use to create project venvs with, so my workflow is like this:
$ git init new_project
$ activate_py12 # activates "global" ~/python/venv-3.12
$ cd new_project
$ python -m venv .venv # project now has a local 3.12 venv

I expected that when I install uv in my "global" 3.12 venv I would be able this installation as Python version in uv when passing system or only-system as my python-preference, but that does not work, it still only finds the Debian system Python v3.11. How can I convince uv to use the version and interpreter in the currently running (v)env?

For some commands, like those that create a virtual environment, we don't look for interpreters in virtual environments. Instead, you should add the interpreter to your PATH. See https://docs.astral.sh/uv/concepts/python-versions/#discovery-of-python-versions


Added option for setting status of a task in task.update

Add an additional parameter for the update.task method that allows to set a Status for a task.
Useful if you want to close/resolve/invalidate a task directly from the commandline.

Hi!
This looks useful, thanks!
Please see the CONTRIBUTING.md for these points:

Please follow the "Contribution Licensing" step
Please include a test-plan, so I can reproduce your tests and think about things that may have been missed. Ideally run precommit.sh to run all the existing tests
Please at least run gen_doc.sh, the travis tests are failing because the docs in https://github.com/bloomberg/phabricator-tools/tree/master/doc/man/arcyon are now out of sync with the code
Please consider adding a line to https://github.com/bloomberg/phabricator-tools/blob/master/testbed/arcyon/exercise_arcyon.sh to exercise your new functionality.
Please prefix the commit message title with 'Arcyon: ' so it's easier to tell the context in the commit history.

Cheers!

Hello! I'm closing this out for now, please do re-open if you get time to address the above. Cheers!


Patch potential reentrancy bug

Feel free to review, I'll merge this in a couple days.

omg, now I get it :)
LGTM, feel free to merge when you want

balanceOf() in expire_option_token might be a problem. Probably will have to use ReentrancyGuard in the end.

balanceOf() in expire_option_token might be a problem. Probably will have to use ReentrancyGuard in the end.

so implement it ;)


xfce4-13.xfce4-panel: 4.13.2 -> 4.13.3

Motivation for this change

[x] minor version upgrade
[x] backport https://github.com/NixOS/nixpkgs/pull/31024

Things done

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

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

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

@GrahamcOfBorg eval

@GrahamcOfBorg build xfce4-13.xfce4-panel

Success on x86_64-linux (full log)
Attempted: xfce4-13.xfce4-panel
Partial log (click to expand)
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-windowmenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-applicationsmenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-directorymenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3...
shrinking RPATHs of ELF executables and libraries in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev/lib
patching script interpreter paths in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev
checking for references to /build in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev...
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3

Success on x86_64-linux (full log)
Attempted: xfce4-13.xfce4-panel
Partial log (click to expand)
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-windowmenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-applicationsmenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-directorymenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
checking for references to /tmp/nix-build-xfce4-panel-4.13.3.drv-0 in /nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3...
shrinking RPATHs of ELF executables and libraries in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev/lib
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3
patching script interpreter paths in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev
checking for references to /tmp/nix-build-xfce4-panel-4.13.3.drv-0 in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev...

Success on aarch64-linux (full log)
Attempted: xfce4-13.xfce4-panel
Partial log (click to expand)
/nix/store/zrnmb28h1qnlj8ayrgz7yl10237285bn-xfce4-panel-4.13.3/bin/xfce4-popup-windowmenu: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/zrnmb28h1qnlj8ayrgz7yl10237285bn-xfce4-panel-4.13.3/bin/xfce4-popup-directorymenu: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/zrnmb28h1qnlj8ayrgz7yl10237285bn-xfce4-panel-4.13.3/bin/xfce4-popup-applicationsmenu: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/zrnmb28h1qnlj8ayrgz7yl10237285bn-xfce4-panel-4.13.3...
shrinking RPATHs of ELF executables and libraries in /nix/store/vz8h6z5ww65p3lvcx068hnrzplwff37v-xfce4-panel-4.13.3-dev
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vz8h6z5ww65p3lvcx068hnrzplwff37v-xfce4-panel-4.13.3-dev/lib
patching script interpreter paths in /nix/store/vz8h6z5ww65p3lvcx068hnrzplwff37v-xfce4-panel-4.13.3-dev
checking for references to /build in /nix/store/vz8h6z5ww65p3lvcx068hnrzplwff37v-xfce4-panel-4.13.3-dev...
/nix/store/zrnmb28h1qnlj8ayrgz7yl10237285bn-xfce4-panel-4.13.3

Success on aarch64-linux (full log)
Attempted: xfce4-13.xfce4-panel
Partial log (click to expand)
these derivations will be built:
  /nix/store/l37ai79j9c597y4c2rrhfx0c67i69xab-xfce4-panel-4.13.3.drv
waiting for locks or build slots...
/nix/store/zrnmb28h1qnlj8ayrgz7yl10237285bn-xfce4-panel-4.13.3

Success on aarch64-linux (full log)
Attempted: xfce4-13.xfce4-panel
Partial log (click to expand)
these derivations will be built:
  /nix/store/l37ai79j9c597y4c2rrhfx0c67i69xab-xfce4-panel-4.13.3.drv
waiting for locks or build slots...
/nix/store/zrnmb28h1qnlj8ayrgz7yl10237285bn-xfce4-panel-4.13.3

Success on x86_64-linux (full log)
Attempted: xfce4-13.xfce4-panel
Partial log (click to expand)
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-windowmenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-applicationsmenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3/bin/xfce4-popup-directorymenu: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3...
shrinking RPATHs of ELF executables and libraries in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev/lib
patching script interpreter paths in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev
checking for references to /build in /nix/store/0w24g00xfsh2pby4lpdd6a0h7a86yfmn-xfce4-panel-4.13.3-dev...
/nix/store/jmvyx1cniysbypycd6xngrycx4aam5zk-xfce4-panel-4.13.3


Enhancement/54 getting started for consumer optimization

Now, in the Getting Started Wizard, every input from the user is checked for each step.
In other words, the user will not be able to proceed to the next step without validating the inserted data (e.g. service name, service URL).
closes coatrack#54

Everything that was added is on the OnLeaveStep method

Everything that was added is on the OnLeaveStep method

This branch is now updated

There is a bug. Opening the Service Provider Tutorial, clicking the 'Next button' doesn't direct me to the second step. Its just frozen.

Solved, it seems that it was because the step 1 and 5 were not being checked and thus a return "undefined" happened

Merged with current master

All threads are solved

@gr-hovest-atb I applied your suggestions, please check it


Fix ECS Fargate CloudFormation template ssm name, use nginx demo

Description

Minor fix for otel-collector container SSM parameter name.
Change demo app to use open nginx container.
How Has This Been Tested?

Follow instructions at https://coralogix.com/docs/aws-ecs-fargate/
Fixes error encountered when deploying the Task Definition:
ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve secrets from ssm: service call has been retried 1 time(s): invalid ssm parameters: config.yaml
Error caused by incorrect SSM parameter path
Also uses nginx as demo container, serves port 80 without errors.
Checklist:

[x] I have updated the relevant component changelog(s)
[ ] This change does not affect any particular component (e.g. it's readme or docs change)

Fix for docs: https://www.notion.so/coralogix/AWS-ECS-Fargate-3258a9d105294c2085a46dacf278a47d?pvs=4#1114a7bc3b8e4d559a5547ec16a72bad


pg_net background worker never starts

Bug report
It seems like the pg_net worker never starts.
create extension pg_net;
select
    net.http_post(
            url:='https://httpbin.org/post',
            body:='{"hello": "world"}'::jsonb
        ) as request_id;

returns the pg_net background worker must be up when doing requests on a fresh supabase/postgres:14.1.0.
To Reproduce

supabase init
supabase start
go to sql editor in studio and run the code provided above.

Expected behavior
HTTP request should be executed successfully.
System information

OS: macOs
supabase cli version 0.15.15
supabase db image 14.1.0

Thanks for looking into it! For now, simply restarting the db container after supabase start works.

Ah, interesting - I couldn't figure out what the issue was. I guess we could just do a restart in the supabase start code for now.

That should fix the issue for now.  The some problem arises with supabase db reset, so a restart should be put there, too.
I am still wondering what the root cause is, it seems very odd that this only happens if the container is started with the CLI. Maybe some problem with the docker client?

I've run into this issue too, but running supabase db reset and the docker command above doesn't work. However, it works on the remote db.
[2022-04-05 17:13:18] Detail: the pg_net background worker is down due to an internal error and cannot process requests
[2022-04-05 17:13:18] Hint: make sure that you didn't modify any of pg_net internal tables or used them for foreign key references
[2022-04-05 17:13:18] Where: PL/pgSQL function _check_worker_is_up() line 4 at RAISE
[2022-04-05 17:13:18] SQL statement "insert into net.http_request_queue(method, url, headers, body, timeout_milliseconds)
[2022-04-05 17:13:18] values (
[2022-04-05 17:13:18] 'POST',
[2022-04-05 17:13:18] net._encode_url_with_params_array(url, params_array),
[2022-04-05 17:13:18] headers,
[2022-04-05 17:13:18] convert_to(body::text, 'UTF8'),
[2022-04-05 17:13:18] timeout_milliseconds
[2022-04-05 17:13:18] )
[2022-04-05 17:13:18] returning id"
[2022-04-05 17:13:18] PL/pgSQL function http_post(text,jsonb,jsonb,jsonb,integer) line 42 at SQL statement```


(BKR-669) added cisco-7 install release repo support

Taken the work from #1068, and added some tests to it to match our contributor docs.
Since this is the case, I'll be closing that PR in favor of this one.
@LuvCurves, let me know if I've missed anything or if it looks good from you, & hopefully we'll get this support in soon.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2209/
Test PASSed.

LGTM, other than the minor nitpick in the spec test.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2222/
Test FAILed.

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2227/
Test PASSed.

sisko approved!


Use Centralized Test Configuration to Define Test Matrix

This will help us streamlines the process of updating our TestMatrix across all branches

/azp run

/azp run

/azp run

/azp run

/azp run


Failed to compile after install

Can't start app?
./src/index.js
Module not found: Can't resolve 'containers/App/App.jsx'

Hi @cesoftinfo . Can you verify if you have downloaded the whole project and if you have the App.jsx file in src/containers/App subfolder? If you have this file, than a problem that i can think of, is that the import line of App.jsx is wrong. You can change line 10 in src/index.js import App from 'containers/App/App.jsx'; with  import App from './containers/App/App.jsx'; or with something similar. My guess is that it doesn't have the correct path to App.jsx.

Have the same issue. I'm running on MacOS X Sierra and npm 5.4.2 with node 8.2.1. Changed the path for App to be relative, then variables from the App.jsx throw, adding ../../ there solves the issue, however more pop up. Seems like the relative paths need to be set up instead of absolute.

@Arqu thank you for the temp fix.

@Arqu @yingkeen I would recommend against such edits inside node_modules since they will be overridden once you install the project on another pc (a teammate wants to setup the project) or for some reason you delete node_modules.
I would rather try one of the following things

Change NODE_PATH=src to NODE_PATH=./src inside .env file
Change react-scripts start to cross-env NODE_PATH=./src react-scripts start inside package.json

The second option would require cross-env to be installed globally

Agree completely, thats why this was a temporary workaround just to get it going. Thanks for showing the proper way do it still getting a grasp of react.

@cristijora Thank you so much. I tried with .env and it worked.
I'm too grasping the concepts of react and JS world.

Installing cross-env and changing react-scripts start to cross-env NODE_PATH=./src react-scripts start inside package.json workerd for me.Thanks.

Had this same problem too when using the .zip bundle download. I deleted the files from the .zip release, then cloned the project from GitHub and everything seems to work.
It looks like the .env file is not included in the .zip bundle, but is included in the repo.

i also have same problem and i try all solution but it did'nt work
can anyone tell?
problem:  Failed to compile
./src/index.js
Module not found: Can't resolve 'assets/css/argon-dashboard-react.css' in 'F:\SKILLS\React\project\src'
This error occurred during the build time and cannot be dismissed.

i also have same problem and i try all solution but it did'nt work
can anyone tell?
problem: Failed to compile
./src/index.js
Module not found: Can't resolve 'assets/css/argon-dashboard-react.css' in 'F:\SKILLS\React\project\src'
This error occurred during the build time and cannot be dismissed.

Hello there, @faisy26 ,
Your error says argon-dashboard-react.
We are on the Light Bootstrap Dashboard React product.
Could you please provide us with the following video:

Download the product
Unzip the product
Open terminal and cd into the project
[If on Mac, Linux or Ubuntu Systems] Run npm run install:clean
[If on Windows Systems] Run npm install
[If on Windows Systems] Run npm start
Showcase the issue

Best,
Manu


tests(helpers): make wait_for_file_contents less flaky (#10815)

This updates the test to use assert.near() with 25% leeway and adds ngx.update_time() calls when calculating duration in order to get a more accurate result.
(cherry picked from commit f20d961232127190d923b3a97e4c288eb198a2b6)

rebased


Xamarin Studio for Mac

I wonder if we could find a volunteer to build a simple Cocoa UI for FontVal using Xamarin Studio for Mac, which is now free:
https://developer.xamarin.com/guides/mac/getting_started/hello,_mac/

+1 :-).

Actually if somebody can do the Cocoa UI, it does not need to be functional - I'll be happy to fill in the guts and hook up the buttons and options with the interior.

BTW, with
https://github.com/HinTak/Font-Validator/commit/8575e92d47c27d2722e67e2c9c79099f273c9ad4 ,
the XML report viewer finally works correctly with webkit-gtk . That basically means the GUI on linux works as well as on windows. It is very satisfying to see 4 reports opened simultaneously, and all the the embedded windowing interactions - automatic horizontal and vertical tiling, cascading, etc - the whole nine-yards, work. :-).
I have since learned that webkit-gtk is not Mac OS X's webkit . OTOH, bundling the webkit-gtk libraries for Mac OS X is tolerable, so Mac OS X would gain a working XML report viewer the next time I make a build in any case. i.e. GUI-wise functionality, it is on the same level as windows, finally.
This begs the question: do people really want a 'mac os x' look-and-feel with Cocoa UI?
@moyogo @davelab6 @anthrotype @n8willis @schriftgestalt @behdad - BTW : the new built-in IronPython interpreter in FontVal, can load any c# -based libraries - inclusive of Xamarin Mac's cocoa binding, I think. This means you can script in python to make a new FontVal cocoa GUI, no compiler involved , if you are so inclined  :-) .

This begs the question: do people really want a 'mac os x' look-and-feel with Cocoa UI?

YES

And what is wrong with converting the xml to html and opening it in Safari?

This begs the question: do people really want a 'mac
os x' look-and-feel with Cocoa UI?
YES
There are also question of varying 'degree' - and it may not necessarily involve writing a whole GUI from scratch. The current GUI is theme'able, BTW, just with a boring "windows" theme. One possibility is simply finding and loading a mac os x desktop application "theme", styling the buttons, menu's etc the mac way. In the same way, and perhaps a good deal more, as how one might configure a windows box to look like a macintosh, without actually running mac os. That might even be quite easy.
I suspect the one usability thing that bothers me a bit is the fontconfig cache rebuilding time. There is a possibility that switching to sysdrawing-coregraphics (a replacement of some of mono's cross-platform library bits with mac specific library bits, from the mono folks, still in dev) will get rid of that since it does not even use fontconfig; and will likely bring a more mac-centric look-and-feel too. It does not involve modifying FontVal or adding to it - more a 'packaging' task, though the 'packaging' involves spending significant amount of time building a bleeding-edge mac-specific wrapper from source, and fixing problems from using 'bleeding-edge' source code. as such.
On packaging, I tried cross-compiling webkit-gtk for windows, and one arch (32-bit) took about 8 hours and over 2GB disk space, so I stopped the 64-bit window build that followed - just to sanity-check the linux webkit-gtk bridge, by forcing windows fontval to use webkit-gtk instead of ms ie. (apparently the 8-hour build time is typical even for native webkit build) . As I am largely linux based, if the 'wrapper' is mac-specific and does not cross-compile, (or takes 8 hours and 2GB to just to see if mac webkitgtk cross-compiles successfully...), I am not going in that direction any time soon. So this is just sharing ideas and pointing in directions that others motivated enough can try.

What advantage do we get from a UI written in Mono over one that is written in Xcode?

And what is wrong with converting
the xml to html and opening it in Safari?

Nothing - just less convenient and additional steps for end-users. Since the webkit-gtk bridge is fully functional as of this morning, having the built-in XML report viewer working on mac os x is a matter for packaging, not end users', and not developer(s)'. The package will be slightly larger, that's all.

Nothing - just less convenient and additional steps for end-users.

No, That can be done automatic as in the Mac app I did. I still don't understand why it needs to be shown in the same app. Could you post a screenshot on how the mac UI currently looks?

Here is the horizontal tiled look, from linux, newly working, a few hours ago:
http://htl10.users.sourceforge.net/FontVal-Linux-xml-tiled.png
The default is cascading windows (i.e. multiple font reports are shown offset'ed by a small amount in the top-left<->bottom-right direction). The other positioning options are vertical tiles, and minimizing selected ones, also. I agree, for a single font test, there is not much difference with an external launch.

The other is in the future ( if at all)

I told you a while ago that I have a working implementation written in Xcode. I asked for feedback before I put the code in github but I didn't get much. I just uploaded the code to my repository: https://github.com/schriftgestalt/Font-Validator in the MacUI folder.

I told you a while ago that I have a working
implementation written in Xcode. I asked for feedback before
I put the code in github but I didn't get much. I just
uploaded the code to my repository: https://github.com/schriftgestalt/Font-Validator
in the MacUI folder.

Thanks. Sorry there might be some communication - I thought it was good and I was basically waiting for the code to turn up in the open :-). So now it is. Great!
There is also the question of Microsoft's involvement - being a corporate entity, they might be more sensitive to branding and use of icon/images. i.e. are you going to give it to them (and sign a CLA on the way), and also, are they okay with you changing/creating a new look and feel...

The version in my repository used a very old version of the command line executable. I don't remember where I got it. The advantage of using the CLE is that we don't need to deal with Mono directly.

@schriftgestalt, thanks a lot for contributing and participating in this, as I know you have a lot of experience especially on the mac platform and better visual design. I am all for better experiences for the end users, so a new mac-centric GUI is a very good thing.
GUI running on Mac (built from Xamarin Studio) doesn't deal with / depends on Mono being on the end users' machine either , - it is mostly a matter of how it is built/packaged. anyway ... since I am mostly linux-centric, my effort towards Mac OS support in FontVal is largely a side-effect / common ground between the two unices.
This is how the current GUI opens multiple reports after testing a list of fonts - the cascading-window look, the default:
http://htl10.users.sourceforge.net/FontVal-Linux-xml-cascade1.png
http://htl10.users.sourceforge.net/FontVal-Linux-xml-cascade2.png
I have got win32 webkit working against win32 mono also -
http://htl10.users.sourceforge.net/win32-mono-webkit-2.png
In case you are interested, that unusual details will continue in wine's bugtracker ( https://bugs.winehq.org/show_bug.cgi?id=30988#c10 ). It is somewhat important to some people for running hybrid win32 + dotnet applications. The original FontVal itself was such a thing - and it is becoming not such a thing :-).

sysdrawing-coregraphics is cross-build'able from non-Mac now:
https://github.com/HinTak/sysdrawing-coregraphics/tree/crossbuild
https://github.com/HinTak/MonoMac.Windows.Form is my not quite successful to fix the 5-year bit-rot.
https://github.com/Microsoft/Font-Validator/issues/29 is my notes on the Cocoa Mac OS X webkit bridge.

AWESOME JOB!! :)

I have pull'ed git://github.com/schriftgestalt/Font-Validator.git into the embedded-python branch a few days ago, BTW.


How to use without the Draw Toolbar UI?

It works for me when using options with Toolbar UI. However, I am having type errors problem when trying to use without its Toolbar UI. When trying something like:
import * as L from 'leaflet';
import 'leaflet-draw';
declare var Draw: any;

buttonClick() {
    this.polygonDrawer = new Draw.Polygon(); << error
    this.polygonDrawer.enable();
}

error:
ERROR Error: Uncaught (in promise): ReferenceError: Draw is not defined
ReferenceError: Draw is not defined
....
Any pointer on what was wrong with this way? Thanks a lot.

A couple things are going on here:

I don't think the leaflet-draw typings (https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/leaflet-draw/index.d.ts) expose the internal classes used by the UI. This isn't really an issue (as you're showing by declaring Draw.

Polygon is actually located in L.Draw.Polygon (https://github.com/Leaflet/Leaflet.draw/blob/master/src/draw/handler/Draw.Polygon.js).

You have a few options to try to fix this:

You can submit a PR to add the missing class specifications for the various shapes to DefiniatelyTyped
You can write your own local types file and explicitly reference it or add it to the types list in your tsconfig
You can cast L to any and then just do whatever you want var _L = L as any;

Alternatively, if you're really not using the toolbar, you should be able to add shapes that can be edited by just adding them programmatically to the feature group layer.
Eg:
...
var shapeOptions = {
	stroke: true,
	color: '#f06eaa',
	weight: 4,
	opacity: 0.5,
	fill: true,
	fillColor: null, //same as color by default
	fillOpacity: 0.2,
	clickable: true,
	editable: true
};
var poly = new L.Polygon(latlngs, this.options.shapeOptions);
featureGroup.addLayer({ type: 'polygon', layer: poly });
...

I think that should work.

Thanks for your quick help. I am new to TypeScript so only can try options with _L and alternative way. with _L I still got error when trying:
this.polygonDrawer = new _L.Draw.Polygon();
error:
core.es5.js:1084 ERROR Error: Uncaught (in promise): TypeError: Cannot read property '_container' of undefined
error:
Argument of type '{ type: string; layer: Polygon; }' is not assignable to parameter of type 'Layer'.
Object literal may only specify known properties, and 'type' does not exist in type 'Layer'
with this line:
featureGroup.addLayer({ type: 'polygon', layer: poly });
featureGroup: L.FeatureGroup
I wonder why do we have so may problems with typing stuff. Can we use pure JavaScript libraries in TypeScript Angular 2 app normally?

The first error is cause you need to pass in the map as a parameter to L.Draw.Polygon, eg. new _L.Draw.Polygon(map).
See (https://github.com/Leaflet/Leaflet.draw/blob/master/src/draw/DrawToolbar.js) as a reference.
The second error I think is cause I made a mistake in my example. I corrected it above, the change was to modify this:
featureGroup.addLayer({ type: 'polygon', layer: poly });

to this:
featureGroup.addLayer(poly);

I got it. It works now. I need to learn more myself and from you guys. I really your help. :)


[Enhancement] Missing information about adding remote upstream  before cherry-pick

Description
Link -> https://github.com/kyverno/kyverno/blob/main/CONTRIBUTING.md#cherry-pick-prs-to-release-branches
Doc states:
Once you fork the project, you will notice that there are a number of branches related to Kyverno's releases such as release-1.7. You can view the list of remote branches by using the command below:

But users have to first add a remote upstream branch so that all remote branches are visible as per: https://dev.to/jmalvarez/how-to-cherry-pick-a-commit-from-another-repository-4pf1
Slack discussion
No response

Sorry for this


Unimplemented function: D3DX11CreateShaderResourceViewFromFileW

When trying to run Intrinsic Gravity by Still, I get this error:
wine: Call from 0x7b44f16a to unimplemented function d3dx11_43.dll.D3DX11CreateShaderResourceViewFromFileW, aborting

See full output.
System information

GPU: Radeon RX580
Driver: Mesa (RADV) 18.0.5
Wine version: wine-3.13 (Staging)
DXVK version: v0.64
DXUP version: git@072014ac

Apitrace file(s)

I don't think it's applicable in this case, but I can provide it if asked for.

Log files

d3d11.log
dxgi.log

Run winetricks d3dx11_43. D3DX11 is an additional library built on top of D3D11, but not part of it.

Thank you for the quick response! This indeed did it, now I get a different error that is most likely (even more) unrelated to DXVK. (It's 002e:fixme:d3dcompiler:compile_shader Compilation target "fx_5_0" not yet supported by the way.)
Really sorry for bothering you with this invalid report.

winetricks d3dcompiler_43 should hopefully solve this, if not, you'll have to check which version of the dll it uses.

Thanks again! You were right. Now it starts up, and plays the music as expected.
The loading bar is visible, but after that, it's only a black screen. :confused:
The problem is that it cannot find mono.exe, which is not that easy to install because this demo is an x64 application. When I could manage to make it find the .exe, it did not work properly, and couldn't build assemblies, but whatever, I've lost interest for now... :)


PPMI BIDS subject without phenotypic information

Hi,
I found two subjects with BIDS data, but no entry in the phenotypic bagel.csv file.
bids path on bic: /data/pd/ppmi/bids
bagel.csv path on bic: /data/pd/ppmi/tabular/bagel.csv
These are the subjects:
'sub-5014', 'sub-5016', 'sub-5002', 'sub-5008', 'sub-136696', 'sub-53423', 'sub-5011',
'sub-01218AUG16', 'sub-5007', 'sub-53518', 'sub-5000', 'sub-5003', 'sub-114526', 'sub-42001', 'sub-33500000', 'sub-14281', 'sub-5005', 'sub-41370', 'sub-5018', 'sub-138022', 'sub-08827APR11', 'sub-5010',
'sub-5017', 'sub-01221JUL16', 'sub-59583', 'sub-5001', 'sub-5015', 'sub-5013', 'sub-5006', 'sub-5009', 'sub-5012', 'sub-5004'

Similar to https://github.com/neurodatascience/mr_proc-qpn/issues/8
@michellewang, do you have some thoughts on this?

From a quick check just now I can confirm that some of the other subjects (5014, 136696) do have at least some tabular data (MoCA) for some sessions. Not sure why they're not in bagel.csv but maybe @nikhil153 has some thoughts

Oh, that makes sense. Thanks @michellewang. I don't think we want to have phantom runs in the graph, but it may be a bit much to ask to have them also removed from the BIDS directory. We should discuss what to do in this case

@michellewang - yes we can remove all phantom subjects from the mr_proc dataset.
For the subjects with MoCA missing in the bagel.csv could be for one of these reasons.

They are not part of selected Dx groups (i.e. controls, SWEDD, PD, Prodromal)
They don't have regular visit codes that we are tracking
They were missed in the mr_proc_manifest - the one that was on disk before @michellewang updated it.

If it's the 3rd case, then @michellewang, let me know if the new PPMI manifest is finalized and I can re-run the bagel_generator

I believe this issue is resolved now and can be closed! 🙂


Getting error "ERROR: id not found" when running docker-compose on Alpine Linux v3.17

Version
Windows version: 10.0.22623.1020
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Alpine Linux v3.17
Other Software
docker version
Client:
 Cloud integration: v1.0.29
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:08:16 2022
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Desktop 4.14.1 (91661)
 Engine:
  Version:          22.06.0-beta.0-407-g7a5cce156e.m
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.18.4
  Git commit:       7a5cce156e
  Built:            Thu Oct 13 08:07:59 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.9
  GitCommit:        1c90a442489720eec95342e1789ee8a5e1b9536f
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Repro Steps
git clone https://github.com/mwoodpatrick/docker-compose-test
cd docker-compose-test
docker-compose up -d
Expected Behavior
Expected to fetch & start containers
Actual Behavior
I am getting the error:
ERROR: id not found

Diagnostic Logs
No response

What version of Alpine & docker, and windows were you running with? How did you install docker without also installing the client?

So if I get rid of the windows client and use dockerd the unit error goes away (yeah!) and the mysql image starts but the app faiils with the output below. Does anyone know what I'm doing wrong
docker-compose start app
Starting app ...
time="2022-12-05T18:50:24.160141003Z" level=info msg="loading plugin "io.containerd.event.v1.publisher"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
time="2022-12-05T18:50:24.160192808Z" level=info msg="loading plugin "io.containerd.internal.v1.shutdown"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
time="2022-12-05T18:50:24.160200249Z" level=info msg="loading plugin "io.containerd.ttrpc.v1.task"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
time="2022-12-05T18:50:24.160502962Z" level=info msg="starting signal loop" namespace=moby path=/run/docker/containerd/daemon/io.containerd.runtime.v2.task/moby/7c398ad6c776cedebdae230aab2dd4db85a42585176f277625a661bdc3259458 pid=14017 runtime=io.containerd.runc.v2
time="2022-12-05T18:50:25.024688167Z" level=error msg="loading cgroup for 14036" error="cgroups: cannot find cgroup mount destination"
time="2022-12-05T18:50:25.034064808Z" level=error msg="loading cgroup for 14036" error="cgroups: cannot find cgroup mounStarting app ... done
mwoodpatrick@Alpine-Test:~/projects/git/docker-compose-test (master)$ INFO[2022-12-05T18:50:25.496890152Z] shim disconnected                             id=7c398ad6c776cedebdae230aab2dd4db85a42585176f277625a661bdc3259458
INFO[2022-12-05T18:50:25.496917702Z] ignoring event                                container=7c398ad6c776cedebdae230aab2dd4db85a42585176f277625a661bdc3259458 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
WARN[2022-12-05T18:50:25.496976566Z] cleaning up after shim disconnected           id=7c398ad6c776cedebdae230aab2dd4db85a42585176f277625a661bdc3259458 namespace=moby
INFO[2022-12-05T18:50:25.497002997Z] cleaning up dead shim
WARN[2022-12-05T18:50:25.504492542Z] cleanup warnings time="2022-12-05T18:50:25Z" level=info msg="starting signal loop" namespace=moby pid=14147 runtime=io.containerd.runc.v2

The docker container probably does not fails.
y:~/docker-compose-test$ docker-compose start app
Starting app ... done
y:~/docker-compose-test$ echo $?
0

The long messages are from dockerd logs. Try to run dockerd in separate console/terminal window.

That still fails I'm attaching a log. I do see the error
time="2022-12-05T19:07:34.224051823Z" level=error msg="loading cgroup for 1816" error="cgroups: cannot find cgroup mount destination"
time="2022-12-05T19:07:34.225418732Z" level=error msg="loading cgroup for 1822" error="cgroups: cannot find cgroup mount destination"
time="2022-12-05T19:07:34.232885173Z" level=error msg="loading cgroup for 1822" error="cgroups: cannot find cgroup mount destination"
time="2022-12-05T19:07:34.233182224Z" level=error msg="loading cgroup for 1816" error="cgroups: cannot find cgroup mount destination"
time="2022-12-05T19:07:34.627326173Z" level=info msg="ignoring event" container=7c398ad6c776cedebdae230aab2dd4db85a42585176f277625a661bdc3259458 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
time="2022-12-05T19:07:34.628226795Z" level=info msg="shim disconnected" id=7c398ad6c776cedebdae230aab2dd4db85a42585176f277625a661bdc3259458
dockerd.log

Are you using the WSL from Window Store?
Are you using the system provided Linux kernel?
Did you change/add any Linux kernel command line option?

I am using the Linux kernel in WSL from Windows Store.

I am using WSL version: <IP_ADDRESS>, I am using the system-provided Linux kernel and I did not change any Linux kernel command line options

Just wondering, how did you fix the issue?


🚀 Feature: publish::push action

🔖 Feature description
add publish:<git>:push to the list of built-in action
🎤 Context
As a user who adding API (or any other component) to my service catalogue  - I want to have the option to do this via UI.
Creating a new git repository for each new entity seems wasteful, so I want to have a single repository for all configs.
Creating yaml files manually and registering them via a direct link is tiring.
I want to push a new yaml file directly to the branch and be able to register entity in catalog immediately after creation.
template example:
  steps:
    - id: fetch-base
      name: Fetch Base
      action: fetch:template
      input:
        url: ./content
        values:
          name: ${{ parameters.name }}

    - id: publish
      name: Publish
      action: publish:github:push
      input:
        branch: master
        targetPath: some/path
        repoUrl: ${{ parameters.repoUrl }}

    - id: register
      name: Register
      action: catalog:register
      input:
        repoContentsUrl: ${{ steps['publish'].output.repoContentsUrl }}
        catalogInfoPath: 'some/path/catalog-info.yaml'

✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

I would recommend looking into the publish:github:pull-request action instead, which would allow you create pull requests for each entity definition.
If you go to your backstage instance, /create/actions you should be able to see the options that you can pass into the action in the template definition.

Thank you for the answer, but the main idea here is not to leave backstage UI during updates. Do not interact with other services like github to merge PR

My point about this is described in a bit more detail at: https://github.com/backstage/backstage/issues/16155#issuecomment-1420480584

I'm wondering if this use case is better served by directly communication with the GitHub APIs from the client, rather than using the scaffolder? Bit in line with how the catalog-import client creates PRs.

got it, thank you

I have the same problem. Do we have an update on publishing to a GitHub Folder? ... without having to create a new repo or manually merge a pull request?


Add continue/close calls for network filters

Do you think of adding support for continue/close calls for network filters?
The C++ SDK (https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/commit/258b4c6974dba5255a9c433450971a56b29228ff)

Added in #155. Thanka!


'Warning: owner-based and parent-based contexts differ'

Using React 0.13, I get several warnings about owner-based and parent-based contexts differ.
I haven't been using the Context-feature of React myself, but it seems that components using owner-based context (which react-google-maps apparently is), won't be compatible with the next release of React, which is why React 0.13 is issuing warnings. There's more info here: http://facebook.github.io/react/blog/#owner

Hmm, currently I cannot even get react-google-maps to work with React 0.13. I get the error Uncaught TypeError: Can't add property context, object is not extensible

Released v1.0.0 and closed this now.


Driver config -> app custom

ds-card-reader
ds-controller-board

This issue can be closed as changed merged, PR #29 & #27.


Using Chinese input method will produce another white cursor

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.64.2 f80445acd5a3dadef24aa209168452a3d97cc326
OS Version: macOS Monterey 12.1

Steps to Reproduce:

Use macOS's Chinese input method to input something

https://user-images.githubusercontent.com/38778062/153551211-d9f57b89-5d18-4108-bdac-61f5692ae08a.mov

I could no longer reproduce after https://github.com/microsoft/vscode/commit/1dbc782ab9302333ff1b08a7fa15381835a85738 , so I believe that a left over styling was the root cause here.


chore: trying to fix intermitent ci failure for boxes

Please read contributing guidelines and remove this line.

#5182  👈
master

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

Join @signorecello and the rest of your teammates on  Graphite


feat: add character counter

Description
Feature Addition : Character Counter for debugging convenience when dealing with transaction data

Real-time display of total character count in the text box
Additional Utility: Shows the count for text you select

Thank you for adding this feature!
Nice idea to have the count just for the selected text.


Adding Y-level Chunk Borders

I was looking at the game recently (AKA. just 5 minutes ago) and noticed that chunks don't exactly have a Y limit (Haven't read the code enough to check yet). I recommend adding explicit limits in the chunk structure, especially for the lower Y, as it's generally useless to not limit it. You could also replicate Minecraft  by using the random library and putting a 75% chance that it will spawn in a specific block (make sure not to have overlapping blocks) for 3 blocks above the limit and just a normal filled bedrock layer at the bottom.

Thanks for checking out the code! The chunks are all 32 blocks tall. I know that the infinite height is useless, but I decided to keep it for now because it's cool to say my world has infinite height. I'll definitely limit it if I start actually making a game out of this project.

Honestly the no height limit may be actually useful for builders if they want to build large structures, but its the bottom Y that's the problem. There's no limit to how deep you can mine. I'd recommend adding a minimum Y level and building the chunk up from there

Yeah I'm hoping to eventually make a game out of this (that'll be different from Minecraft lol) so I will definitely add a limit to it then. For now though, this is kinda just a simple little engine, so I'm just going to leave it for now


updated token generation method

The token generation method isn't cryptographically secure.
http://stackoverflow.com/questions/2593807/md5uniqid-makes-sense-for-random-unique-tokens
updated to use openssl_random_pseudo_bytes instead

I haven't even used PHP in the last 5 years let alone updated this, so tread carefully with this library. Thanks anyway. Will merge.