mandoc: change OSNAME to Nixpkgs to match groff

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@pennae I was contemplating making a mandoc-nixos, man-db-nixos attribute that is used in the respective NixOS modules, so that the entry at the bottom makes sense – could also be nice for generating the HTML pages at some point for the website/manual.
In general, I do feel that if nixos-install(8) was included in OpenBSD, the thing at the bottom should probably read OpenBSD for better or worse as it's the “normal” way of doing things.


STEVE through DOCKER on ARM64 architecture

On ARM64 processors, as of right now, you cannot launch STEVE services using DOCKER. When ran using the normal java application it launches successfully. This is due to the fact that original Dockerize project has been left unmanaged. It does not provide a version compatible with ARM64 based processors as of right now and the project could be considered as discontinued for all I know. powerman/dockerize is another project picked up by the community from where the original left off and it seems to be a direct drop in replacement, at least for the basic commands such as dockerize -wait and it should be compatible with all/most architectures. I have a successful build running on an OrangePI4 LTS (aarm64) on which I installed Armbian OS. I have left the curl option by default as the wget did not work for me, perhaps it needs some simple modifications but I did not have the time to look over it.
You need to have curl installed for this modification to work. on the project github page ( https://github.com/powerman/dockerize ) they also left the wget command, I guess you should decide which is better to use.
wget -O - https://github.com/powerman/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-uname -s-uname -m | install /dev/stdin /usr/local/bin/dockerize

The Dockerfile for steve was not intended to be run on ARM64.  Of course this might be possible, but for now we do not want to maintain different architectures as this could get complex.  Therefor I'm closing this PR


Add Deploy Monitoring

Ran into some issues where https://github.com/tauri-apps/tauri-discord-bot/commit/cfaee7cfa8144e490935d9d8c8ee58b790b953fd didn't deploy successfully on DO but didn't realise it until today. Adding this issue to look at connecting DigitalOcean deploys with GitHub and/or Discord to give more visibility so we can avoid this problem again.

Adding a note to add @simonhyll to DigitalOcean to monitor deploy logs CC @Beanow for access control thoughts


Roles & Steps & Targets variable change support

closed with https://github.com/osoykan/Cake.OctoVariapus/commit/50c4172c77042bd1314ac4d3549f214afaefdc95


Android colour stream crashes with Out of memory issue with 1080p and 720p config

Required Info |
-- | --
Camera Model | { D415}
Firmware Version | {<IP_ADDRESS>}
Operating System & Version | {Android}
Platform | {Arm-Odroid}
SDK Version | { 2.30.0 }
Language | {C++/Java }
Segment | {others }
I am using D415 on android and running a Colour stream at (1920x1080x15fps) and Depth stream at (1280x720x15fps and decimation filter with decimation magnitude of 2). The colour stream eventually gets stuck with Out of memory error and depth continues to work. Following approach to correct the issue does not work.
a) Creating a new pipeline
b) Calling Hardware Reset
c) USB hub reset
Only rebooting the device works.
If the colour stream is set at 720px15fps/1080px6fps/720px6fps even then the error arises.
If the colour stream is set at 480px15fps then although the below error is printed but device continues to work for the few hours that I have tested till now. I will update it after testing for longer duration.
480p stream error:
2019-12-10 08:19:59.461 4712-4919/com.synapticsense.retailapp I/chatty: uid=10061(com.synapticsense.retailapp) Thread-3 identical 12 lines
2019-12-10 08:19:59.521 4712-4919/com.synapticsense.retailapp W/librs: control_transfer returned error, index: 768, error: Broken pipe, number: 32
2019-12-10 08:24:15.435 4712-4919/com.synapticsense.retailapp W/librs: control_transfer returned error, index: 768, error: Broken pipe, number: 32

I have posted in details other logs on following post
POST:
https://github.com/IntelRealSense/librealsense/issues/4091#issuecomment-561935062
THREAD:
https://github.com/IntelRealSense/librealsense/issues/4091
Any guesses what causes "out of memory" issue, is it due to USB driver or D415 ISP/firmware related issue?
I have noticed there is already an issue: (DSO-13539) - [Android] Camera disconnected after streaming some duration with Android Camera Sample related to this but there is no resolution till now.
I am not great in C++ but would love to help anyone debug and solve the root cause.

I am running streaming depth and colour frame on android for last 36+ hours at 720p 15fps without any crash. I do get some messages like below every few minutes but it has yet to give any additional critical error like OOM.
W/librs: control_transfer returned error, index: 768, error: Broken pipe, number: 32
Basically currently my code is just getting the depth and colour frame with just some post processing filter and nothing else. Top command shows the CPU usage to be around 40-45%. Earlier I was also drawing the eachb colour frame to UI and usually the app would crash in minutes.
It means although the data transfer is the culprit and the memory leak is not in the SDK itself but in the way how the RSUSB is implemented. When the CPU is not stressed then RSUSB can work fine but when it is stressed the USB request fail and then I believe the method of cancelling USB request, that should cancel the filled URB queues held with the linux kernel is not working properly releasing the queue and thus causes Out of memory error.
As expected in such case hardware reset or even custom USB controller reset is not able to recover and only option is to reboot the entire system.

@kafan1986 Did you get any chance to try the latest SDK? We have several fixes after v2.30 including memory leakage fix.  However, we do see some stability issues with HD or FHD resolution at 30fps on some android platforms such as Raspberry, Odroid. Is it possible for you to workaround with lower resolution before we get solution? Thanks!

I am currently using the latest SDK at 720p and 15 fps, to gain maximum stability, which then runs for atleast 5-6 hours. I wish to operate operate at 1080p and 30 fps but the stability of the system goes nose diving then and system starts giving error in less than an hour's time.

@kafan1986 Is it possible for you to lower the resolution to 640x480 to see if better? Thanks!

@kafan1986 Could you please update? Thanks!

@RealSense-Customer-Engineering 640p resolution of RGB camera would not be sufficient for my use case.

Tracked by DSO-14875

@kafan1986 We have some Android stability enhancement after SDK v2.39.  https://github.com/IntelRealSense/librealsense/pull/7205
Could you please try the latest SDK v2.45 to see if you still get this issue? Looking forward to your reply. Thanks!

@kafan1986 Did you get any chance to try the latest SDK v2.45? Please note that the issue will be closed if we don't hear from you for another 7 days. Thanks!

@kafan1986 Sorry that we don't hear from you. Will close the ticket at this point. Please feel free to create another new ticket if you still have issues or questions. Thanks!


Convert mission/platform cFE configuration to cmake to support source selection

Is your feature request related to a problem? Please describe.
Many configuration options involve conditionally compiled code which is discouraged in various coding standards and makes unit testing multiple configurations require separate builds.
Describe the solution you'd like
Switch to the OSAL pattern of defining configuration via cmake file(s), which then could be used to source select during the prep.  Also all units could then be tested/covered regardless of the actual selection to ensure code isn't rotting.  Functional testing would still require a separate build, but at least this would show the code still compiles in the unit test setup.
Describe alternatives you've considered
Add multiple unit test builds
Additional context
#302 as a specific example of a related issue.
Note MSG already uses cmake variables for source selection, which should be added to the config.
Requester Info
Jacob Hageman - NASA/GSFC

@dmknutsen - this issue covers switching to the osal model for config overrides... would solve/improve the build process in multiple ways!


Make handling of resolution of remoteFilter more robust under various timings

See #300
Closes #300

First of all, thanks!!
I just see expectedQueryCBId is assign with {} and null; what else should be?
And please run grunt to produce *.js file, so i can merge it.

{} is being used as the id since different objects will compare false with ===. It doesn't really matter what is inside the object, it's just a new object so it compare false with any previous values.
When expectedQueryCBId is null, any {} won't be accepted. It's a mean for ignoring all resolution from remoteFilter
So expectedQueryCBId should only ever be an object or null

Why  expectedQueryCBId is not just a boolean? What is the benefit to be a object?
At least, I don't quit understand If you don't explain it.

Each call to lookUp initiate an async task through remoteFilter(), these task can resolve in different order.
Suppose we have calls to _lookup() a b and c, in this order. The resolution order, or the the order that each remoteFilter() invoke the callback passed to it can be:
a b c
b c a
c b a
c a b
...
We only want to response to the resolution of c, but there is no guarantee that it comes back last.
It shouldn't be hard to see why a simple true and false is not enough for this, since if it represent whether we process the callback or not, a might come back first, and the result from c gets lost, which is not what we want.
in https://github.com/ichord/At.js/pull/301/files#diff-16defa3b7d5b7c6991284c260731a1ccR137
@expectedQueryCBId = {}
@model.query query.text, $.proxy(_callback, this, @expectedQueryCBId)

@expectedQueryCBId = {} this is creating a new object every time. This is very different from
@expectedQueryCBId = null or @expectedQueryCBId = false. null and false are singletons,
if you do
var a = false;
var b = false;
a === b  // true

but if you
var a = {}
var b = {}
a === b // false
a === a // true

I'm leveraging the uniqueness of each object as a mean for identifying each remoteFilter initiation.
The next line  @model.query query.text, $.proxy(_callback, this, @expectedQueryCBId) is scheduling _callback to be called with the current expectedQueryCBId. The call to $.proxy is evaluated before the call to @model.query. By the time _callback() is actually invoked @expectedQueryCBId might have been changed already, but the first argument it receives is still the object we created back when it is the most recent id.
The code would be more readable if I id each callback with a number and keep incrementing it, however when the number gets too large it becomes Infinity. It's not really a realistic probability since that number is 1.7976931348623157E+10308 but I was having a bit of fun.
tl;dr sorry, I did a little bit of cleaver coding, I can change the id to be a number if you'd like. The code would be less terse but more readable.

I also found a case with remoteFilter resolving after input has blured. I've added the fix to the patch.

Cool! understood!  I think we could take the middle way of it:
Add a function named _generateID or another better name to return an "ID" which we will return a new empty object {} here.
So that we could change the returns value later and make it more readable.
How about it?

Good call! I made the change.

Can we get a release?

@seriousben released.


msmtp: 1.6.6 -> 1.6.8

Motivation for this change
To update package. Especially to get the ~/.config directory support. Note, I haven't actually tried using this updated version.
Maintainer ping: @garbas, @peterhoeg
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)
[X] 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: msmtp
Partial log (click to expand)
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/share/doc/msmtp/scripts/set_sendmail/set_sendmail.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpq/msmtp-queue: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpq/msmtpq: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpqueue/msmtp-runqueue.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpqueue/msmtp-enqueue.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpqueue/msmtp-listqueue.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/bin/msmtp-queue: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8/bin/msmtpq: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8...
/nix/store/wi8zpkvyq32f0jsf10xnb73xf7pkjz2p-msmtp-1.6.8

Success on aarch64-linux (full log)
Attempted: msmtp
Partial log (click to expand)
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/share/doc/msmtp/scripts/set_sendmail/set_sendmail.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpq/msmtpq: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpq/msmtp-queue: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpqueue/msmtp-listqueue.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpqueue/msmtp-enqueue.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/share/doc/msmtp/scripts/msmtpqueue/msmtp-runqueue.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/bin/msmtp-queue: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8/bin/msmtpq: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8...
/nix/store/d0y6grbfrq7bwmd1kx3iw790mbmc4skk-msmtp-1.6.8


memoize walkState

@DrorT calling a reduce function on every dispatch may get expensive. for production use we should probably build in a memoize function for walkState

I agree,
And I am working on something similar for the cache. Give me a few days to see where I go with this.

see https://github.com/reactjs/reselect for inspiration


Update windows vhd cache to latest

Update windows vhd cache to https://github.com/Azure/aks-engine/pull/3725

Copied the code the source branch of the PR. This influence only windows VHD and to move forward the vhd build for next Monday's AKS-RP release, I'll just merge this PR.


Nintendo Switch Pro Controller doesn't work

Godot version
v4.2.dev3.official [013e8e3af]
System information
Godot v4.2.dev3 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; <IP_ADDRESS>40) - Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 Threads)
Issue description
Nintendo Switch Pro Controller doesn't work
Problems:

Input from Nintendo Switch Pro Controller is totally chaotic

Controller works fine if I test it with this web browser based test: https://hardwaretester.com/gamepad
Controller works fine if I test it with Steam's controller test

Unplugging Nintendo Switch Pro Controller at runtime is not noticed

Plugging in at runtime is noticed
If Godot app is restarted, unplugged controlled is no more seen
Noticing unplugging at runtime works with other controllers, eg. Xbox360 controller (XInput controller)

https://github.com/godotengine/godot/assets/49998025/79d991ce-b74b-4951-8d68-8042105190ce
Nintendo Switch Pro Controller doesn't work with Godot v3.5.2.stable.official [170ba337a] either.
Steps to reproduce
Connect Nintendo Switch Pro Controller and run the attached project.
Minimal reproduction project
g42_joypad.zip

Related?

#47874

Related?
* [Nintendo Switch Pro Controller USB inputs are erratic w/ Steam #47874](https://github.com/godotengine/godot/issues/47874)

Could be very likely related. Input seems to be similarly chaotic.
My first though was that maybe Nintendo Switch Pro Controller just isn't supported by Windows (as some Bluetooth controlles are not), but as the controller works with other applications (Steam and web browsers), I guess this has something to do with Godot.
I tested controlled initially wired, but it doesn't work wireless (with Bluetooth) either. I just just works differently. If wireless, controlled is detected, but no input is detected at all, compared to the chaotic input when wired.

your mrp works okay on my end (ubuntu, wired switch pro controller). Pluging the controller only after starting the app works too.
I do remember having problems with the pro controller on windows with bluetooth though, in other games. Though no chaotic input, so maybe unrelated.

I'm starting to think that this a Windows issue with non-Microsoft wireless controllers. I have tested Nintendo Switch Pro Controller with both Windows 10 and 11. Yesterday on Windows 11 Nintendo Switch Pro Controller worked initially just fine. Then I started Steam and the controlled stopped working altogether. Rebooting Windows didn't help. Today the controller works fine both on Win 10 and 11. But I have also seen a situation where buttons worked but axises didn't.
So if this is not reproducible, I'll say this is a Windows issue or maybe controller's battery level was low or something.

Godot on Mac OS also can't recognize Nintendo Switch controller (using the project from the first post for testing, but also if I try to remap any inputs in the IDE and the "Listening" appears, nothing is registered no matter what I press). Here is a video showing the same controller immediately after switching to the site from the first post, where it can be see that the controller is both properly recognized (in the first few seconds of the video, sorry about not managing to catch a few more seconds of that but you can still see it I hope) and that the commands are registered on screen:
https://github.com/godotengine/godot/assets/106015575/921c0f6a-0445-40a9-83da-def29efbe995

I experience the same issue on MacOS M1 as described here, down to the weird interactions with Steam.
For slightly more information, I observe the following in comparison to other engines.
Wired controllers:
Godot - Chaotic values while steam is running / no values when steam isn't running
Unreal - No values
Unity - New Input System perfect input / old input system Chaotic values
Wireless controllers:
Godot - Same as wired
Unreal - Perfect input
Unity - New input system perfect input / old input system no values at all
Perhaps the Unity and Unreal have special drivers for MacOS and Pro Controllers, in the listed configurations?  If so, they too are in finicky situations.

As an ex-Unity user, when i plugged my pro controller, unity printed a message in the console. The same thing occured when i unpluged it.

Same issue here, figured it can't hurt to add my test results.
M1 Pro MacBook Pro with Godot 4.1.2
Switch Pro Controller wired: (videos below show this connection method)

registers perfectly on https://hardwaretester.com/gamepad
inputs are a mess in Godot

Switch Pro Controller Bluetooth:

registers perfectly on https://hardwaretester.com/gamepad
no inputs detected in Godot

https://github.com/godotengine/godot/assets/140655316/656e8474-778d-40af-b915-1dacfd33fd8d
https://github.com/godotengine/godot/assets/140655316/f8c13700-249d-4dc7-ba8f-88a5600e6f64

This is the best information what I found about the Nintendo Switch Pro Controller and Windows: https://www.pcgamingwiki.com/wiki/Controller:Nintendo_Switch_Pro_Controller
The controller is connected through DirectInput (old Microsoft API) instead of XInput (new Microsoft API), but it still doesn't work as a DirectInput controller. It can be get to work, but it needs quite lot a work. SDL has about 2300 lines of code for that: https://github.com/libsdl-org/SDL/blob/main/src/joystick/hidapi/SDL_hidapi_switch.c. Steam and web browsers probably have their own implementation for this.
I guess Godot will not get a Switch Pro Controller support unless Godot starts using SDL for game controllers.
(Disclaimer: I haven't actually tested that Pro Controller works with SDL.)

On the topic of the chaotic/random values people have noticed when plugging in the Pro Controller: I experienced this same issue with Unity's new Input System a few years back, and eventually figured it out.
https://forum.unity.com/threads/using-nintendo-switch-pro-controller.617857/#post-7714327
This repository was invaluable, and specifically this section for the input format. One of the values the controller in its report is a "timer" value which increments each time, and causes that chaotic input.
Using this information, I attempted to implement better support for the Pro Controller in Unity's Input System. Last I remember, there were some strange issues I ran into with it, and those (along with other life stuff) caused me to drop the project. These days I'm more interested in Godot, and as a result want to take a stab at seeing if I could implement these things in Godot (unless there are others who would be better suited to do it, or think there is a reason to not do it). I'd personally love to have support for things like HD Rumble and gyro controls 😉

Im new to reporting on Git, but im also having this issue. Character is legit constantly jumping into the sky and going crazy. And firstly, none of the other controllers can even continue jumping like that in the air so no idea how the character is even doing that. Shouldnt be allowed to jump again until ive landed.
The pro controller is actually fine when paired through bluetooth. Its only when plugged in it goes berserk. Thirdparty switch controllers are also fine plugged in. Not even sure how to test the joycons plugged in.
I tried the hardware tester that jmrain said worked fine for them but for me even that in browser is spazzing out. Right stick not working, left stick only working left to right (but up and down controls them), and the entire face buttons, triggers and bumpers are just having a rave by flashing around like crazy. Which sounds accurate to the results in Godot.
It seems like all our values are different, cause mine worked fine wireless in godot, but mrhebisan says not for them. And mine is all opposite to jmrain for all but 1.

For me it did work on web browser Godot games, and on steam games, but not in Godot desktop. I managed to get a temporary fix my use case by adding my Godot editor executable as a non-steam game, seems to fix it. I would assume running the Godot official steam version would also work in the same way. I wonder what steam does that makes it work. Maybe worth investigating


Zero values are plotted and are getting overlapped

Codepen
Modify this codepen to demonstrate the problem clearly, just fork it and paste the resulting codepen in your issue. Please make sure this is a minimal example, containing only the minimum necessary code to help us troubleshoot your problem.
Explanation
Chart Typed: Stacked bar chart
Need a way to handle uneven data.

What is the behavior you expect?
Zero values shouldn't be displayed in stacked bar chart
What is happening instead?
Zero values are getting displayed.
What error message are you getting?
No error messages.

FYR:

Can you please update the codepen link? It is showing the default ApexCharts template

This issue exist in 3.6.5, but not in the latest version.. Hence closing the issue.

Can you please update the codepen link? It is showing the default ApexCharts template

@junedchhipa  Thanks for your quick response.
I updated the pen. However I see another issue with the latest version, the actual values are not displayed for some of the categories. Is it intentional ?

You can refer the same pen: https://codepen.io/vjakair/pen/OGdraR

Yes, it was intentional to hide the labels which don't fit the area.
I am planning to add an option to allow the user to control whether to hide/show in such case.

Yes, it was intentional to hide the labels which don't fit the area.
I am planning to add an option to allow the user to control whether to hide/show in such case.

Makes sense. Thanks a lot for all your support.

A new property named hideOverflowingLabels is added in plotOptions.bar.dataLabels which will allow controlling the overflowing text issue for small values in stacked bar/column charts.

A new property named hideOverflowingLabels is added in plotOptions.bar.dataLabels which will allow controlling the overflowing text issue for small values in stacked bar/column charts.

This is awesome :)


Writing more tests

Improve unit, functional, and integration tests for better coverage and maintainability.

I've made some progress in ci_edit/app/unit_test_application.py

The new feature to format python files needs unit tests.


Unexpected keyword argument 'token_type_ids' on distilling sentence-transformers/distiluse-base-multilingual-cased-v2

Encountered TypeError: DistilBertModel.forward() got an unexpected keyword argument 'token_type_ids'
Version: model2vec==0.2.4
Python: 3.10.14
Reproducible example:
from model2vec import distill

base_model_name = "sentence-transformers/distiluse-base-multilingual-cased-v2"
model = distill(model_name=base_model_name, pca_dims=256)

It appears that a fix for this issue was added 5 days ago: https://github.com/MinishLab/model2vec/commit/84570b680b7ee49aeb0bb8267a6612b8f42b6af7
Perhaps this will be part of the next release? When is the next release expected?

Hey @AltamashRafiq,
This will be part of the next release, yeah. Sorry about that. Our current main branch has some breaking changes wrt sentence-transformers. So we might go back and just release this fix, which we might be able to do today.
I'll keep you posted!
Stéphan

Thanks! Also thank you for the great work you folks are doing developing this tool!

@AltamashRafiq Hey! The release including this fix is live: https://pypi.org/project/model2vec/0.3.0/
I'm closing this, please re-open if you encounter more issues. Happy modeling!


Spatial Sound

We have been working on a solution that needs placing sounds in 3 dimensional space, it would be great to have spatial sound directly from HoloJS.

I've started an implementation for this.
Hopefully it will not take long; there is a C++ implementation for WebAudio (https://github.com/LabSound/LabSound). It has to be adapted to work in an APPX container (hopefully already done at the fork I made in https://github.com/Almost-Done/LabSound) and JavaScript projections must be written for the WebAudio APIs to hook them to the C++ implementation.

Thanks Cristi

Hello Cristi,
I am still interested in the spatial sound feature, will you have a chance to check it out again?
Regards,
Reda

The implementation in develop/audio does not work on the OS version currently running on the HoloLens (RS1). It runs just fine on the latest version of windows (RS3). On RS1 it throws and "illegal instruction exception" which I have to investigate (most probably a CRT incompatibility).

Hi Cristi,
Will your audio solution, as is, work on the recent HoloLens RS4 update preview?
Thanks,
Reda

It should. I haven't tried RS4 yet, but it works on RS3. Try the audio sample from the audio branch. I've given up development for RS1 and I've been waiting for RS4 to make progress on features that have split over time (audio, WebVR, MRC headset support)

I wasn't able to make the audio sample run on RS4, it is always giving an "illegal instruction" exception on the following line (19): AudioContext::AudioContext() { m_context = lab::MakeAudioContext(); }

Very frustrating since I can't repro it. I did get "illegal instruction" when running RS1, but not anymore with RS4.
I dropped RS1 as target version for the projects, merged with master and pushed the changes out to develop/audio. Do you mind trying one more time and if you still get the crash I'll wrap the audio engine in a WinRT component instead of the current static library. I guess there's a STL incompatibility somewhere between HoloJsHost and the audio library.

It turns out the sound library was compiling with the AVX switch which the Intel CPU in the HoloLens does not support. I removed the AVX switch and pushed a fix. I believe it should work now.

I am still getting the same "illegal instruction" error with latest develop/audio update.

Did you clean the solution and rebuild? The last change I pushed was just a static library change (no code changes) and VS might not have rebuilt the project. Also please try both the Release and Debug versions.

@Almost-Done I have tried cleaning the solution and rebuilding it, downloading the GitHub audio branch from scratch, I have even installed VS on a different PC maybe something is cached somewhere since it is working for you, and I have tried to run it on a different HoloLens. But the Debug version is still giving the illegal instruction error.
Just before giving up, I tried the Release version and it is working! 👍 👍 👍

I'm so sorry for the trouble. It was my mistake as I forgot to take out the AVX flag from the Debug configuration. Thank you for your persistence!
Now that you got it to at least run, you will most probably encounter other issues. Please submit any issues you find along the way. The WebAudio implementation is not complete on the script side; however it is complete on the C++ side so it's just a matter of creating projections.

Thanks a lot Cristi, I am just happy that it's working. I will submit any issues that may arise. Thank you again for all your support.

Hi Cristi,
Since the RS4 update has been released for everyone, can we merge the develop/audio branch to master and maybe we can finally close this issue too?
Thanks

Thank you for reminding me. It is now merged.


[native_toolchain_c] Fix test to not assume working dir

We cannot assume that tests are run from the root of the package. This leads to:
SEVERE: 2024-08-23 06:22:38.618901: /usr/bin/arm-linux-gnueabihf-ld: cannot open linker script file test/clinker/testfiles/linker/symbols.lds: No such file or directory

From log.

coverage: 91.822%. remained the same
when pulling 93a6fdb7dd697f1b99a545eeaa6b8ef3b563d2f0 on fix-test-2
into 552428b5d49b347c0f5c873f3ab6a772134769cc on main.


Refine password reset

This is a follow up PR for #97
WORK IN PROGRESS

The failing test seems to be related to: https://github.com/greenmail-mail-test/greenmail/issues/76

d6cd74d is mainly a refactoring of the two Token classes:

The (abstract) Token class is now fully responsible for the creation of the following final values on instantiation:

token value (UUID)
expirationDate (which is now computed based on a expiration value (only passed via constructor, but removed as a property) and the created property, i.e. Date.now())

The one-to-one User-relation has been moved from Token to PasswordResetToken as this relation is what distinguishes the child class from the Token class...
The Token class now has a nice helper method: expiresWithin(int minutes) : boolean

On top of that, the PasswordResetTokenService has been adapted. The main difference is that an existing token for a user will only be deleted if it expires within the next 5 minutes. Otherwise the existing one can still be used by the user.
Maybe we should think a bit more about the Token class: Is it really wanted that this class is abstract? Maybe we want to use a simple Token instance in future for other reasons...

I suggest to postpone a review / merge of this once we can discuss it with @dnlkoch, as there may be client projects depending on this.
Nice work btw.

@dnlkoch Please review now! Missing tests will be added in another PR

Good work! I like your additions and will merge now.


Feature/1498 address changes

warning
information
issues
Fixes issue #1580

@njjc building.  ready for review.

@njjc passes. ready for review.  thx.


ASP.NET Core 2.0 & SignalR Core

Hi,
I have created a sample application with SignalR and MVC Core. It is working fine. But I am unable to host this on the production. I have created signalr server using below code:
class Program
   {
       static void Main(string[] args)
       {
           BuildWebHost(args).Run();
       }

       public static IWebHost BuildWebHost(string[] args) =>
           WebHost.CreateDefaultBuilder(args)
               .UseStartup<Startup>()
               .UseUrls("http://localhost:6000")
               .Build();
   }

and startup.cs file is:
public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddCors(options =>
            {
                options.AddPolicy("hub",
                    policy => policy.AllowAnyOrigin()
                                    .AllowAnyHeader()
                                    .AllowAnyMethod());
            });

            services.AddSignalR(); // <-- SignalR
        }

        public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            app.UseDeveloperExceptionPage();
            app.UseCors("hub");

            app.UseSignalR(routes =>  // <-- SignalR
            {
                routes.MapHub<NotificationHub>("NotificationHub");
            });
        }
    }

and for client i use below code:
let hubUrl = 'http://localhost:5000/NotificationHub';
    let hubUrl = 'http://core.imcredentialed.com/NotificationHub';
    let httpConnection = new signalR.HttpConnection(hubUrl);
    let hubConnection = new signalR.HubConnection(httpConnection);

This works at my local environment, But for production is not working I have used below code for the production:
public static IWebHost BuildWebHost(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
                .UseStartup<Startup>()
                .UseUrls("http://example.com:5001/")
                .Build();

onlyURL i have changed for production.
Is there any other change need to be done, Please suggest.
If any other process to host signalr server for production please let me know.
Its very urgent.
Thanks...!!!

SignalR is not recommended for production use. We've only released Alpah2 so far.
As far as it not working in production, are you using Azure Web Apps? Websockets is disabled by default in that environment. Try enabling websockets in the settings.
And this issue does not belong in docs.

I am not using Azure Web Apps.
So if SignalR is not recommended for production use, how can I achieve real time things in MVC Core 2.0. I have also tried to use Web Socket for this, but it's not working.
Please help me to implement real time things in MVC Core 2.0.


there is no need to save the ids in both collections for a belongsToMany relation, or am I wrong?

I'm doing
$product = Product::where('sku', '0713XX3FF1')->where('store_id', 1)->first();
$category = Category::where('entity_id', 158)->first();
$product->categories()->attach( $category );

And this is saving the related ids on both collections, so if I have 1 category, with 10000 products, the category has an array of 10000 products inside.
What's the reason?
Saving the category inside the product will do the job, or I'm losing something?

Maybe the Pivot table must be optional.
If you have thousands of categories and thousands of documents, you have a problem with the actual behavior.
Documents and indexes are huge

@elfeffe is it actual?

@Smolevich Yes, I'm using it with L7 (I think package version was the alpha for L7).
The thing is, when you have thousands of relations, you have a field with thousands of IDs.
I think a pivot table will do the job, I don't understand why pivot tables are "prohibited". MongoDB accepts a JSON, and that's great, but relations are also good some times.
You can save, in this example, the category Id inside the product, but if the product is related to thousands of categories you will have the same issue.
I'm resolving it by myself with a pivot table, search the relation there and then load the products with the IDs from the pivot table, and it's fast, MongoDB indexes are great, but not if you have a field with 15000 ids inside.
I mean, I'm not using the belongsToMany relation anymore, I'm using a custom solution with a pivot table.
MongoDB is great because you are not obliged to design a grid, like in MySql, so you use much less tables because you almost don't use relations. But that doesn't mean we can't use relations, they are supported by MongoDB from long time ago.
A pivot table ill be a perfect solution.
A similar issue is the embedded relation, is totally useless because to load the relations takes micro seconds, it seems like someone said "we use MongoDB, relations are prohibited". Maybe they were, but MongoDB supports it from long time ago.

@elfeffe you have good points, as an example doctrine odm has a few different strategies to save relation data
https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/2.1/reference/reference-mapping.html#storing-references
I can only agree that all this makes sense, however the problem is here that it's almost impossible to do that without a breaking change release.
This library was written a long time ago and many things has changed even in Laravel itself, complete rewrite from scratch might solve everything but decisions should be made which isn't easy as it looks.
Thanks!


What happened to the publish-tools branch?

:wave: This is not a problem with the docs, I'm rather curious what happened with the publish-tools branch. This used to hold the tooling and documentation of how the docs versions are built, but does not longer exist.
I see the readme still refers to this process though https://github.com/docker/docker.github.io/blob/master/README.md#building-archives-and-the-live-published-docs.
Thanks for any clarification!

I see the branch is back :)


feat: Make repair and refreshDimensions configurable in restoreElements

fixes https://github.com/excalidraw/excalidraw/issues/6237
Will update the DOCS in next branch.

repair is too generic. Could mean repair anything, e.g. text dimensions (which it does not contain). So repairBindings.

@dwelle this should be ready to merge


Locale HINDI - INDIA is not rendering on web via desktop browser while mobile browser rendering properly.

Locale HINDI - INDIA is not rendering on web via desktop browser while mobile browser rendering properly.
I am creating a Flutter Application for my client and targeting all platform for my experiment.
Here is two locale I used

EN-US (English - United State)
HI-IN (Hindi - India)

App working on all platform offered by Flutter but I it's look like a bug on web platform.
Web platform displaying some locale like unsupported character on web via desktop but displaying correctly on web via mobile platform.
Here is reference screenshots

Here is actual web URL*
Bug URL
*URL is for demo purpose only and may not be unavailable in future.
Here is output of flutter doctor -v
abhishekkumar@Abhisheks-MacBook-Air ~ % flutter doctor -v
[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on macOS 11.2.1 20D74 darwin-x64, locale en-IN)
    • Flutter version 1.26.0-12.0.pre at /Users/abhishekkumar/flutter
    • Framework revision a706cd2112 (5 weeks ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/abhishekkumar/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2.1 20D74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.150

• No issues found!
abhishekkumar@Abhisheks-MacBook-Air ~ %

@Abhishek0116
There's similar open issue describing your case, https://github.com/flutter/flutter/issues/73628 which is related to special characters not rendering on web properly.
Please follow-up there for updates. Closing this as duplicate.


DisplayObjects added to a "cacheAsBitmap" Container can trigger interaction without transforms applied

Scenario: I have a container that is currently cacheAsBitmap=true, some child of that container is interactive (pointertap). This works fine. However sometimes a new child is added to that container while it is still cacheAsBitmap=true. This triggers what I believe to be a bug where the new object can trigger interaction at the screen origin (top left corner). From inspection it looks to be because the transform/worldTransform of the newly added element is not updated.
Expected Behavior
Newly added element either doesn't trigger interaction until it is actually rendered once (parent cacheAsBitmap=false) or transforms are correctly applied and interaction only occurs in the location the new element would be.
Current Behavior
Interaction occurs in the top left corner of the screen.
Possible Solution
Somehow force transform updates when adding an element to a cacheAsBitmap=true parent (or perhaps any cached ancestor?)
Otherwise maybe skip hit detection on elements that have never been rendered.
Steps to Reproduce
https://www.pixiplayground.com/#/edit/3lpZtMOdUU_Yi8d7nbWn7
Environment
Pixi.js v5.3.7

I think the expectation with cacheAsBitmap is that you wouldn't be modifying the display-tree to something where when enabled. That property is available as an optimization to prevent rendering of children, including transforms. It's not surprising that you'd get some unintended results trying to use it that way. I would say that this isn't a bug and is more likely undefined/undesirable behavior.
Easiest solution is to toggle cacheAsBitmap off, add the child, and then re-enable cacheAsBitmap.

I think the expectation with cacheAsBitmap is that you wouldn't be modifying the display-tree to something where when enabled. That property is available as an optimization to prevent rendering of children, including transforms. It's not surprising that you'd get some unintended results trying to use it that way. I would say that this isn't a bug and is more likely undefined/undesirable behavior.
Easiest solution is to toggle cacheAsBitmap off, add the child, and then re-enable cacheAsBitmap.

I expected as much, was just hoping there was some simple-ish way to avoid the undesirable behavior that could be implemented in PIXI.
For my use case the cacheAsBitmap is not being used as an optimization but rather a "hacky" way of implementing an AlphaFilter for the CanvasRenderer.
I have opted to simply set interactiveChildren=false while cacheAsBitmap=true.
Thanks for your time.

I expected as much, was just hoping there was some simple-ish way to avoid the undesirable behavior that could be implemented in PIXI.
For my use case the cacheAsBitmap is not being used as an optimization but rather a "hacky" way of implementing an AlphaFilter for the CanvasRenderer.
I have opted to simply set interactiveChildren=false while cacheAsBitmap=true.
Thanks for your time.

No problem. I'm closing this issue, seems like you found a suitable solution.

No problem. I'm closing this issue, seems like you found a suitable solution.


Argocd failed to deploy (openshift - argocd 0.0.11)

Hello,
we are using OpenShift 4.4 deploying ArgoCD using the Operator fails starting from 0.0.11 because of this:
  - dependents:
    - group: rbac.authorization.k8s.io
      kind: PolicyRule
      message: namespaced rule:{"verbs":["get"],"apiGroups":[""],"resources":["endpoints"]}
      status: NotSatisfied
      version: v1beta1
    group: ""
    kind: ServiceAccount
    message: Policy rule not satisfied for service account
    name: argocd-redis-ha
    status: PresentNotSatisfied
    version: v1

When checking the created Rolebindings i couldnt find the needed rolebinding
➜  ~ oc get rolebindings
NAME                                            AGE
argocd-operator.v0.0.11-59498cfd4d-867fc7d49d   27m
argocd-operator.v0.0.11-5c4f7fbff8-6d77f974ff   27m
argocd-operator.v0.0.11-5c678c7876-5b6ccc9858   27m
argocd-operator.v0.0.11-79c565f65-65f799c44f    27m
argocd-operator.v0.0.11-7fb6c5c758-84475f47d    27m
system:deployers                                29m
system:image-builders                           29m
system:image-pullers                            29m

➜  ~ oc get rolebindings argocd-operator.v0.0.11-59498cfd4d-867fc7d49d -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
..
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: argocd-operator.v0.0.11-59498cfd4d
subjects:
- kind: ServiceAccount
  name: argocd-application-controller
  namespace: argocd

➜  ~ oc get rolebindings -o yaml argocd-operator.v0.0.11-5c4f7fbff8-6d77f974ff
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
...
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: argocd-operator.v0.0.11-5c4f7fbff8
subjects:
- kind: ServiceAccount
  name: argocd-server
  namespace: argocd

➜  ~ oc get rolebindings -o yaml argocd-operator.v0.0.11-5c678c7876-5b6ccc9858
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
...
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: argocd-operator.v0.0.11-5c678c7876
subjects:
- kind: ServiceAccount
  name: argocd-operator
  namespace: argocd

➜  ~ oc get rolebindings -o yaml argocd-operator.v0.0.11-79c565f65-65f799c44f
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  ...
subjects:
- kind: ServiceAccount
  name: argocd-redis-ha-haproxy
  namespace: argocd

➜  ~ oc get rolebindings -o yaml argocd-operator.v0.0.11-7fb6c5c758-84475f47d
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  ...
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: argocd-operator.v0.0.11-7fb6c5c758
subjects:
- kind: ServiceAccount
  name: argocd-dex-server
  namespace: argocd

Duplicate of #121

After further review, I am not sure that this is a dup. :) Looking at this now as I am getting this on OpenShift 4.5.0-rc.7, however everything works as expected for new installs on OpenShift 4.4

I installed a fresh cluster on bare metal yesterday on 4.4.11 and it failed another colleague had the same issue on aws. Ill reinstall my cluster this week and will test if this issue persists.

I tested on 4.4.10, so that is strange. Will try 4.4.11 and see what I get. One thing that I noticed is that the rules are the same for the argocd-redis-ha AND argocd-redis-haproxy. So I am wondering if there is an issue now when OLM sees that the two are identical, so fails to create the second "duplicate" role as it's parsing the CSV.
Still testing on my end and will report back what I find.

Just confirmed that I am seeing the same failure on 4.4.11, so that appears to be the version where something changed that causes this issue.

If i rember correct the cluster where a deployment worked was 4.4.10 but god news it still works after an update to 4.4.11 :)
If u give me some hints i could maybe try to make a PR for the fix :))

My colleague has opened up a bug with the OLM team on this and I will report back with what they say.

This does appear to be an OLM issue.
https://github.com/operator-framework/operator-lifecycle-manager/issues/1625
I have a possible workaround for this that I am testing now and would result in a new release for the operator.

Hi, FWIW .. i am seeing the same thing on a 4.5.1 cluster .. seems related to this permission (and OLM bug referenced)
    Group:
    Kind:       ServiceAccount
    Message:
    Name:       argocd-dex-server
    Status:     Present
    Version:    v1
    Dependents:
      Group:    rbac.authorization.k8s.io
      Kind:     PolicyRule
      Message:  namespaced rule:{"verbs":["get"],"apiGroups":[""],"resources":["endpoints"]}
      Status:   NotSatisfied
      Version:  v1

A workaround for this issue has been merged into master and will go out in the next release.

@jmckind  When this operator will be pulled on the "community operators"

The PRs for both Operator Hubs have been submitted and the new version should be available after these get merged. Thanks!
https://github.com/operator-framework/community-operators/pull/2007
https://github.com/operator-framework/community-operators/pull/2008


Match cgroupname on length of string

https://github.com/rancher/rancher/issues/10033
Tested on:

CentOS 7.4 with Native Docker
CentOS 7.4 with upstream Docker
Ubuntu 16.04
Debian 9
CoreOS
RancherOS

LGTM!!!!

Updated to get last match in case of Docker in Docker (RancherOS)


Install KSM CLI on Alpine using the new binary

KSM team has built a binary for Alpine: https://github.com/Keeper-Security/secrets-manager/issues/239

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/gravitee-io/keeper?version=dev:9286bcc3dd03d8b9ba6805981040927dc046d0a6


fix(reasoner): reduce useless join in transitive

I have read the CLA Document and I hereby sign the CLA


Skips transformation for regression for LightGBM models

This patch fixes the behaviour of LGEnsembleFromFile function. If a regression model is loaded then loadTransformation parameter will be autoset to false.

Pull Request Test Coverage Report for Build 154

9 of 16 (56.25%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+1.3%) to 69.971%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lgensemble_io.go
9
16
56.25%

Files with Coverage Reduction
New Missed Lines
%

lgensemble_io.go
2
71.67%

Totals

Change from base Build 152:
1.3%

Covered Lines:
1673

Relevant Lines:
2391

💛  - Coveralls

Is this pr about to merge? I am currently using this repo to load trained lightgbm model bu got stuck wit error: "unexpected objective field: 'regression'". Hope this pr can fix this error

Is this pr about to merge? I am currently using this repo to load trained lightgbm model but got stuck wit error: "unexpected objective field: 'regression'". Hope this pr can fix this error

Yes, it will fix this

@Mottl , thanks for PR! Sorry for delay, Now I'm about to merge it.

@dmitryikh, could you also merge #70?


Improve SD templates to provide better defaults

https://sharats.me/posts/shell-script-best-practices/

I can't tell what this issue means, so I'm closing it for now, but feel free to re-open it with more information or specific suggestions.


Add Umami Analytics integration

Proposed Changes

Add Umami Analytics integration - https://umami.is/

Checklist

[x] Tested locally
[x] Ran yarn ci to test my code
[x] Did not add any unnecessary changes
[x] All my changes appear after other changes in each file
[x] Included a screenshot (if adding a new button)
[x] 🚀

Awesome thank you!

Great, thanks! 💪🏼


Add CUDA 12.4.0 and 12.4.1

Adds support for installing 12.4.0 and 12.4.1

Error from CI windows does not look related to changes:
Warning: Error during installation: Error: The process 'D:\a\cuda-toolkit\cuda-toolkit\cuda_installer-windows-10.0.20348-12.3.2\cuda_installer-windows-10.0.20348_12.3.2.exe' failed with exit code<PHONE_NUMBER>
Error: Error: The process 'D:\a\cuda-toolkit\cuda-toolkit\cuda_installer-windows-10.0.20348-12.3.2\cuda_installer-windows-10.0.20348_12.3.2.exe' failed with exit code<PHONE_NUMBER>

For people coming here. You can use uses<EMAIL_ADDRESS>as your action until this has been merged 👍

Thanks for the PR!

Thanks for merging 🙏


Support removing window decorations in x11 and macOS

macOS already had some code in place trying to remove the title bar, but it was not correct. Also, transparent windows on macOS always had a title bar, which may not always be desired.
Tested on Arch Linux with kwin (on KDE5 with Plasma) and i3 window managers. And on macOS El Capitan, 10.11.
@mitchmindtree: You might wanna take a look, since you mentioned the macOS problem in my glutin PR.

Awesome! I can confirm that this does indeed hide the title bar and fixes macOS to behave just as the Windows backend does :+1: This closes #103.
Here's what what the window example looks like now when adding .with_decorations(false):

Thanks


Genesis configuration "permission" field does not work

Brief of the issue
Configure permission field in xuper.json, But not working
Your environment
go1.13.5
gcc 7.4.0
os ubuntu18.04
Repo steps

Add the following configuration in xuper.json
"permission": {
"CreateAccount" : { "rule" : "SIGN_THRESHOLD", "acl": {
"pm": {
"rule": 1,
"acceptValue": 1.0
},
"aksWeight": {
"dpzuVdosQrF2kmzumhVeFQZa1aYcdgFpN": 1.0
}
}
},
"SetAccountAcl": { "rule" : "NULL", "acl": {}},
"SetContractMethodAcl": { "rule" : "NU1LL", "acl": {}}
}
Start node
still everyone can create contract account
Expected behaviours
only address "dpzuVdosQrF2kmzumhVeFQZa1aYcdgFpN" can create contract account

What actually happened
everyone can create contract account

Yes, system contracts' permission control is not implemented yet. The genesis config is preserved for it, we will implement in future, please stay tuned. Thanks!


Added .NET7 support to sample devfile

Added Dotnet7 support to the sample project by modifying Target Framework from the web.csproj file.
The earlier 3.1 version was causing a failure on running the dotnet run command.
dotnet-web-simple (devspaces-3-rhel-8) $ dotnet run
/usr/lib64/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(135,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'rhel.8-ppc64le'. [/projects/dotnet-web-simple/web.csproj]

On modification, the dotnet sample application is running successfully.

@vitaliy-guliy FYI

Raised a PR to add .NET7 support to devspaces-3.3-rhel-8
https://github.com/devspaces-samples/dotnet-web-simple/pull/4

@vitaliy-guliy FYI

I confirm the sample is working fine with quay.io/devspaces/udi-rhel8:3.4


transit: failed to sign payload. 403 permission denied

Description
When I sign a container with this Vault ACL policy path "gitlab/*" {    capabilities = [ "read", "list", "update" ] }  that's work

BUT is not secure
When I sign a container with these Vault ACL policies
path "gitlab/encrypt/cosign-key" {    capabilities = [ "update" ] }
path "gitlab/decrypt/cosign-key" {    capabilities = [ "update" ] }
path "gitlab/sign/cosign-key" {    capabilities = [ "update" ] }
I get error

Why does cosign need "update" permissions on the entire transit path gitlab/*? Is it a not secure.
Why doesn't cosign use a  "/sign/" policy (example path "gitlab/sign/cosign-key" {    capabilities = [ "update" ] })?
Version
cosign v1.13.1/cosign-linux-amd64
cosign v1.6.0/cosign-linux-amd64

Hello @MRBin77, thanks for raising an issue! It looks like you have the same problem we discussed in Sigstore slack here, if you haven't joined sigstore slack yet, here is the join link. I'm pinging the @uralsemih, who faced the same problem before.
TLDR; you should have a variable called VAULT_NAMESPACE.

Following the instruction https://docs.sigstore.dev/cosign/kms_support/ I use only these variables:
VAULT_ADDR="https://vault.example.com/"
VAULT_TOKEN=$X_VAULT_TOKEN
TRANSIT_SECRET_ENGINE_PATH="gitlab"
I could not see anywhere in docs mentioning about VAULT_NAMESPACE

yes, the documentation will be fixed soon, can you please try this variable and confirm that whether everything is working as you expected ?

what value do i need to put in VAULT_NAMESPACE? I used VAULT_NAMESPACE="gitlab" but get same error

I'm going to hand over that question to @uralsemih

@MRBin77  As far as I understood from your question the issue is not related to VAULT_NAMESPACE variable. cosign is trying to use transit in the root namespace, so if you are not using any child namespace in the vault, you don't have to specify VAULT_NAMESPACE, if you are using a namespace config then you have to specify.
Regarding your question about update policy,  it is more related to Vault. There is an issue created before here as below where they require also create rather update.
https://github.com/hashicorp/vault/issues/10701

MIght not be related but, as far as I understood from the screenshots , you are using GitLab CI so am I.
I have the VAULT_TOKEN in CI/CD variables like this and it worked.

MIght not be related but, as far as I understood from the screenshots , you are using GitLab CI so am I. I have the VAULT_TOKEN in CI/CD variables like this and it worked. Disabled protect and mask flags.

It's not related. I have no problems with authorization.

I might have a fix for this.
First of all, this is not an aswer to "why cosign needs update permissions?"
I've a similar setup, and with a token created with the policy  below I could sign and verify with cosign.

I might have a fix for this.
First of all, this is not an aswer to "why cosign needs update permissions?" I've a similar setup, and with a token created with the policy below I could sign and verify with cosign.

Delete "update" from your policy image_signing_keys/sign/* and image_signing_keys/verify/* and check could you  sign and verify with cosign?
I need sign and verify images without "update" in policy.


How about to change the editor preview to use iframe with data: URL

The current implementation of tui.editor's preview is just appending HTML to $previewEl. This approach can be affected by an XSS risk of the markdown parser.
To reduce such an effect, I suggest to support using iframe with data: URL.
A preview result of the current implementation should be like the following:

demo

Using iframe with data: URL approach should generate a content like the following:

This iframe appoarch might be safe because the origin of this element should be "null", so it can't access to the origin of tui-editor element.
However, it might break backwards compatibility, especially, about styles of preview area.
Do you have any comment about this idea? If it is not a bad, I want to write PoC code later.

Or, it might be realized by using sandboxed iframe but it should have allow-scripts.

@co3k Using data url is good idea. It would be nice to have this feature available as an option of Viewer.

I think this a good step towards the mitigation of XSS, but it obviously doesn't prevent scripting in the iframe, e. g. alert, print or background coin mining and such things.


Fusion Subgraph Compose InvalidCastException

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
I am trying to compose a subgraph into a fusion .fsp file with the following schema:
type Author {
    id: ID!
    reviews: ReviewConnection
}

type Book {
    id: ID!
    reviews: ReviewConnection
}

input CreateReviewInput {
    bookId: ID!
    reviewerId: ID!
    authorId: ID!
    comment: String!
    rating: Int!
}

input DeleteReviewInput {
    id: ID!
}

type Review {
    id: ID!
    bookId: ID!
    reviewerId: ID!
    authorId: ID!
    comment: String!
    rating: Int!
}

type ReviewConnection {
    items: [Review]
    nextToken: String
}

type Mutation {
    createReview(input: CreateReviewInput!): Review
    deleteReview(input: DeleteReviewInput!): Review
}

type Query {
    getReview(id: ID!): Review
    listReviews(limit: Int, nextToken: String): ReviewConnection
    queryReviewsByBook(bookId: ID!, limit: int, nextToken: String): ReviewConnection
    queryReviewsByReviewer(reviewerId: ID!, limit: int, nextToken: String): ReviewConnection
    queryReviewsByAuthor(authorId: ID!, limit: int, nextToken: String): ReviewConnection
}

schema {
    query: Query,
    mutation: Mutation
}

The config file is like the following:
{
    "subgraph": "reviews",
    "http": { "baseAddress": "https://<some-endpoint>/graphql" }
}

I am able to successfully pack the subgraph into reviews.fsp file. However, I am getting the following error when trying to compose the gateway fsp file:
% dotnet fusion compose -p ./fusion-gateway/gateway.fgp -s ./lib/sourceApis/ReviewsService
Unhandled exception: System.InvalidCastException: Unable to cast object of type 'HotChocolate.Skimmed.MissingType' to type 'HotChocolate.Skimmed.ScalarType'.
   at HotChocolate.Fusion.Composition.Pipeline.ScalarTypeMergeHandler.MergeAsync(CompositionContext context, TypeGroup typeGroup, CancellationToken cancellationToken) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/MergeHandler/ScalarTypeMergeHandler.cs:line 29
   at HotChocolate.Fusion.Composition.Pipeline.MergeTypeMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/MergeTypeMiddleware.cs:line 50
   at HotChocolate.Fusion.Composition.Pipeline.EntityFieldDependencyMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/EntityFieldDependencyMiddleware.cs:line 20
   at HotChocolate.Fusion.Composition.Pipeline.MergeEntityMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/MergeEntityMiddleware.cs:line 26
   at HotChocolate.Fusion.Composition.Pipeline.PrepareFusionSchemaMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/PrepareFusionSchemaMiddleware.cs:line 50
   at HotChocolate.Fusion.Composition.Pipeline.EnrichEntityMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/EnrichEntityMiddleware.cs:line 64
   at HotChocolate.Fusion.Composition.Pipeline.ApplyRemoveDirectiveMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/ApplyRemoveDirectiveMiddleware.cs:line 29
   at HotChocolate.Fusion.Composition.Pipeline.ApplyRenameDirectiveMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/ApplyRenameDirectiveMiddleware.cs:line 36
   at HotChocolate.Fusion.Composition.Pipeline.RegisterClientsMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/RegisterClientsMiddleware.cs:line 43
   at HotChocolate.Fusion.Composition.Pipeline.ParseSubgraphSchemaMiddleware.InvokeAsync(CompositionContext context, MergeDelegate next) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/Pipeline/ParseSubGraphSchemaMiddleware.cs:line 34
   at HotChocolate.Fusion.Composition.FusionGraphComposer.TryComposeAsync(IEnumerable`1 configurations, FusionFeatureCollection features, CancellationToken cancellationToken) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/Composition/FusionGraphComposer.cs:line 164
   at HotChocolate.Fusion.CommandLine.Commands.ComposeCommand.ExecuteAsync(IConsole console, FileInfo packageFile, List`1 subgraphPackageFiles, FileInfo settingsFile, DirectoryInfo workingDirectory, Nullable`1 enableNodes, CancellationToken cancellationToken) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/CommandLine/Commands/ComposeCommand.cs:line 179
   at HotChocolate.Fusion.CommandLine.Commands.ComposeCommand.ExecuteAsync(IConsole console, FileInfo packageFile, List`1 subgraphPackageFiles, FileInfo settingsFile, DirectoryInfo workingDirectory, Nullable`1 enableNodes, CancellationToken cancellationToken) in /home/runner/work/graphql-platform/graphql-platform/src/HotChocolate/Fusion/src/CommandLine/Commands/ComposeCommand.cs:line 202
   at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

Any idea what I am doing wrong?
Steps to reproduce

Create a folder with above schema file and subgraph config.
dotnet tool restore (Note, I am using HotChocolate.Fusion.CommandLine version 13.6.0-preview.2)
dotnet fusion subgraph pack -w ./lib/sourceApis/ReviewsService
dotnet fusion compose -p ./fusion-gateway/gateway.fgp -s ./appsync-infrastructure/lib/sourceApis/ReviewsService

Relevant log output
No response
Additional Context?
No response
Version
13.6.0-preview.2

The issue was a typo, input argument was int rather than Int :)

Was at a conference in Copenhagen and could not answer... yes ... for 13.6 we are focusing on the validation story to have better errors.

#6493


CLOUDSTACK-9221 Allow admin to see user VMs on port forwarding page

On commit a902443708ee10acb9f68fff74af346a6a9fb370 the 'listAll=true' is removed. On some places the domainid and accountid are added but not on these. I added them now.
It's either doing this, or readding listAll is true. I've seeing other folks doing that so let's see what performs best.

Works both now:

Ping @DaanHoogland to review.

@nitin-maharana Could you please review this? Thanks!

makes sense. pinging @ustcweizhou to check as well. It reminds me of an Leaseweb internal change. Wei can you LGTM or make other sugestions?

LGTM

LGTM

LGTM


Water Resistance

Block don't get destroy by water

[Fixed]
Ändern der Mterial Klasse
super(Block.Properties.create(Material.MISCELLANEOUS).sound(SoundType.STEM).hardnessAndResistance(1f, 10f).lightValue(0));


Conflicting information regarding managing Surface Drivers and Firmware with SCCM

Beginning in SCCM 1710, we can deploy Surface Drivers and Firmware updates through SCCM without using an application deployment:
https://support.microsoft.com/en-us/help/4098906/manage-surface-driver-updates-in-configuration-manager

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

ID: be733d41-3006-2d0c-ec8b-5438ecf76121
Version Independent ID: 7fcdb3fb-b0fc-db95-bda1-b20d352ca664
Content: Considerations for Surface and System Center Configuration Manager (Surface)
Content Source: devices/surface/considerations-for-surface-and-system-center-configuration-manager.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@officedocsbot assign @jvsam

Hi @jrosser1221 thank you for providing that information. I will forward your suggestion to the Windows content writing team for review and suggest an amendment or update specifically on the Updating Surface device drivers and firmware section to include the new method to deploy Surface driver and firmware updates.
We really appreciate your feedback and thank you for being part of the Microsoft Docs Community and for helping improve the quality of the technical documentation!

( back reference to #5626 )

Hello @jrosser1221, we really appreciate your patience and thank you again for sharing your feedback. Please be informed that the pull request (See PR #5626) that contains suggestions based from your feedback has been approved and merged. This documentation will be updated in the next scheduled publishing run. We will now close this issue, thank you for being part of the community!

@officedocsbot close


checkpoint compression init

PR types

PR changes

Description

checkpoint 压缩功能实现

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

代码里面很多逻辑针对model_weight和master_weight都进行了改动，但是看起来是没有必要的，建议统一过一遍后去掉。


fix Not able to use custom plugin with composite architecture approac…

…h #2171

Type of change:

[ *] Bugfix

What this PR does / why we need it:

fix Not able to use custom plugin with composite architecture approach #2171

#2171
Pre-submission checklist:

[x] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

please,help


URL rules for directory/ (with trailing slash) for controllers inside a directory.

I met this issue on my app, and I don't know whether this is intended or not.
I tried creating new project from fresh yii2-app-advanced.
And then I tried creating new TestController inside a directory frontend/controllers/directory.
<?php

namespace frontend\controllers\directory;

class TestController extends \yii\web\Controller {

        public function actionIndex(){
                echo "Hello World";
        }
}

I tried accessing http://localhost/directory/test/index and http://localhost/directory/test, it obviously worked.
But when I tried accessing http://localhost/directory and http://localhost/directory/ it showed 404. I want when user access that /directory segment, it could go to the default controller instead of showing 404. So I tried adding the rule below.
        'urlManager' => [
            'class' => 'yii\web\UrlManager',
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
                'directory' => 'directory/test/index'
            ]
        ],

with that rule, http://localhost/directory will open the TestController, I made. But the http://localhost/directory/ still shows 404.
I tried adding another rule
        'urlManager' => [
            'class' => 'yii\web\UrlManager',
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
                'directory/' => 'directory/test/index'
                'directory' => 'directory/test/index'
            ]
        ],

This also doesn't work.
The only workaround I can do is adding a DirectoryController.
<?php

namespace frontend\controllers;

class DirectoryController extends \yii\web\Controller {

        public function actionIndex(){
                return $this->redirect(['directory/test/index']);
        }
}

Yes, that's intended.


Icelandic Language Pack

Icelandic languagepack and dictionary. The dictionary is from Firefox, released under GPL v2.
The frequencies are not correct, I will try to update that at a later date.
https://github.com/aevare/LanguagePack/tree/Icelandic/
Translations:
title
Íslenskur tungumála pakki
promo
Íslenskur tungumála pakki fyrir AnySoftKeyboard
description
AnySoftKeyboard lyklaborðs pakki: Íslenskt lyklaborð og orðabók.
Þetta er viðbót fyrir AnySoftKeyboard. Settu upp AnySoftKeyboard fyrst, veldu svo þennan pakka i AnySoftKeyboard's Settings->Keyboards menu.

Hi @aevare , thank you for your work!
I created a new Icelandig branch here: https://github.com/AnySoftKeyboard/LanguagePack/tree/Icelandic
Please open a PR against this.

Closing this in favor of https://github.com/AnySoftKeyboard/LanguagePack/pull/74