add forward compatibility with k8s admissions api v1 (#26312)

add forward compatibility with k8s admissions api v1

add support for v1 and v1beta1 AdmissionReview versions

use admission API adapter in validating webhooks

(cherry picked from commit c4a14db008d6546d27b00d7318e3100eda8e2603)
Please provide a description for what this PR is for.
Fixes #26379
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[X] Configuration Infrastructure
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@tariq1890: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.7
68b6852cc999fb89acea47f70f02f592ba61c9bd
link
/test release-notes_istio_release-1.7

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio_release-1.7


App completely freezes

This is a detailed report of this problem: timeframe and log of server side and client side of ALVR.
The streaming started successfully and without noticeable stutter. In this particolar test it went well for exactly 9 munites and 53 seconds. Then the Quest app freezed completely showing the last static frame. If I move head, no movement in the headset, but server preview window shows correct tracking.
The freeze for me is occurring with variable timeframe from about 7-8 minutes to 20-25 minutes.
The exact time when it occurred is 11:49:00. Here is an extract of Logcat from Android Studio:
2019-10-18 11:48:53.000 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:48:53.006 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 83078 us RTT = 5750 us
2019-10-18 11:48:53.102 12804-12920/com.polygraphene.alvr I/VrApi: FPS=72,Prd=82ms,Tear=0,Early=0,Stale=0,VSnc=1,Lat=1,Fov=0,CPU4/GPU=3/3,1958/515MHz,OC=FF,TA=0/E0/0,SP=N/F/N,Mem=1804MHz,Free=1397MB,PSM=0,PLS=0,Temp=29.0C/0.0C,TW=2.21ms,App=7.88ms,GD=0.00ms,CPU&GPU=8.36ms,LCnt=1,GPU%=0.64,CPU%=0.41(W0.53)
2019-10-18 11:48:53.483 12804-12905/com.polygraphene.alvr E/OutputFrameQueue: FrameQueue is full. Discard old frame.
2019-10-18 11:48:54.000 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:48:54.003 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 83865 us RTT = 3002 us
2019-10-18 11:48:54.102 12804-12920/com.polygraphene.alvr I/VrApi: FPS=72,Prd=84ms,Tear=0,Early=0,Stale=0,VSnc=1,Lat=1,Fov=0,CPU4/GPU=3/3,1958/515MHz,OC=FF,TA=0/E0/0,SP=N/F/N,Mem=1804MHz,Free=1396MB,PSM=0,PLS=0,Temp=29.0C/0.0C,TW=2.19ms,App=7.95ms,GD=0.00ms,CPU&GPU=8.36ms,LCnt=1,GPU%=0.60,CPU%=0.40(W0.48)
2019-10-18 11:48:55.000 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:48:55.010 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 80121 us RTT = 9809 us
2019-10-18 11:48:55.102 12804-12920/com.polygraphene.alvr I/VrApi: FPS=72,Prd=76ms,Tear=0,Early=0,Stale=0,VSnc=1,Lat=1,Fov=0,CPU4/GPU=3/3,1958/515MHz,OC=FF,TA=0/E0/0,SP=N/F/N,Mem=1804MHz,Free=1396MB,PSM=0,PLS=0,Temp=29.0C/0.0C,TW=2.18ms,App=7.96ms,GD=0.00ms,CPU&GPU=8.39ms,LCnt=1,GPU%=0.61,CPU%=0.39(W0.48)
2019-10-18 11:48:56.000 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:48:56.006 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 82575 us RTT = 6152 us
2019-10-18 11:48:56.103 12804-12920/com.polygraphene.alvr I/VrApi: FPS=72,Prd=78ms,Tear=0,Early=0,Stale=0,VSnc=1,Lat=1,Fov=0,CPU4/GPU=3/3,1958/515MHz,OC=FF,TA=0/E0/0,SP=N/F/N,Mem=1804MHz,Free=1396MB,PSM=0,PLS=0,Temp=29.0C/0.0C,TW=2.18ms,App=7.83ms,GD=0.00ms,CPU&GPU=8.37ms,LCnt=1,GPU%=0.65,CPU%=0.45(W0.48)
2019-10-18 11:48:57.000 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:48:57.006 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 81958 us RTT = 6309 us
2019-10-18 11:48:57.103 12804-12920/com.polygraphene.alvr I/VrApi: FPS=72,Prd=80ms,Tear=0,Early=0,Stale=0,VSnc=1,Lat=1,Fov=0,CPU4/GPU=3/3,1958/515MHz,OC=FF,TA=0/E0/0,SP=N/F/N,Mem=1804MHz,Free=1395MB,PSM=0,PLS=0,Temp=30.0C/0.0C,TW=2.19ms,App=8.04ms,GD=0.00ms,CPU&GPU=8.37ms,LCnt=1,GPU%=0.63,CPU%=0.44(W0.50)
2019-10-18 11:48:58.000 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:48:58.007 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 82355 us RTT = 7010 us
2019-10-18 11:48:58.103 12804-12920/com.polygraphene.alvr I/VrApi: FPS=72,Prd=82ms,Tear=0,Early=0,Stale=0,VSnc=1,Lat=1,Fov=0,CPU4/GPU=3/3,1958/515MHz,OC=FF,TA=0/E0/0,SP=N/F/N,Mem=1804MHz,Free=1401MB,PSM=0,PLS=0,Temp=30.0C/0.0C,TW=2.19ms,App=7.97ms,GD=0.00ms,CPU&GPU=8.33ms,LCnt=1,GPU%=0.63,CPU%=0.40(W0.47)
2019-10-18 11:48:58.717 12804-12905/com.polygraphene.alvr E/OutputFrameQueue: FrameQueue is full. Discard old frame.
2019-10-18 11:48:59.000 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:48:59.006 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 82945 us RTT = 6469 us
2019-10-18 11:49:00.001 12804-12906/com.polygraphene.alvr I/ALVR Native: Sending timesync.
2019-10-18 11:49:00.011 12804-12906/com.polygraphene.alvr I/ALVR Native: TimeSync: server - client = 80622 us RTT = 9729 us
2019-10-18 11:49:00.311 12804-12906/com.polygraphene.alvr E/ALVR Native: NAL Queue is full.
2019-10-18 11:49:00.325 12804-12906/com.polygraphene.alvr E/ALVR Native: NAL Queue is full.
2019-10-18 11:49:00.335 12804-12906/com.polygraphene.alvr E/ALVR Native: NAL Queue is full.
2019-10-18 11:49:00.353 12804-12906/com.polygraphene.alvr E/ALVR Native: NAL Queue is full.
The log "NAL Queue is full" is then the only log, until I closed the app from Android Studio stop button. Please note that when the freeze occurs, the right menu button is not working anymore. There is no way of doing ABSOLUTELY nothing then. I noticed however, that if I brutally close SteamVR, the app returns in the white connection screen and Quest returns to be responsive.
At this link are the logs form the Server app, with normal and frameindex log enabled, for the very same timeframe:
https://drive.google.com/open?id=1uHwyIC7OzfeLGIbxQCs6pWvK3drN_g1D
I do believe this problem is connected with performance degradation.
Client compiled V7 apk, and Server app V7 downloaded from releases.
My PC system is i5 6 cores, GPU RTX 2070, 16Gb RAM, TP-Link router ethernet cabled to PC, wifi 5Ghz AC-Only fixed at 40Mhz channel width.
ALVR configuration for the test was 50Mbit bitrate, 200Kb buffer, 100% resolution, sliced FFR set 3, no steam audio.
As I said before, I think it is an App related problem.

In the past weeks, I tried various client side little optimizations, such as assigning static priority to threads, so diminishing main thread load, and adding the sync code in some not atomic queue calls... But this problem persists, as the performance degradation. Please note however, that my understanding of App structure is limited, and I touched only the java side of code. For now.

The problem occours on your system much faster than on mine. I have to play nearly an hour to get to the same point of which makes it very hard to debug the performance issues and errors like this. Can you test something for me? Can you try to enable the video debug output and check if the video file gets corrupted when the issues occour? You can replay the video using ffplay. If the video is okay, the tracking and the encoding are not the source of the problem.

Same issue here. When it freezes menu button doesn't work anymore. Sometimes it recovers after a little while, but then it stutters badly until I restart the Apk manually, and sometimes it plainly crashes.
Also one time I had to restart the Quest because after the crash Oculus home was not responding and stuttering.
It seems like a thread that is blocking part of the App instead of releasing control. Even after I close manually, the thread doesn't terminate right away, and after a few seconds there is a crash message box.
Another thing is when I push the menu button while in a game, and it goes back to Quest OS (where I can choose to stop or resume), if I try to resume the App the screen is black (no video stream), but I still hear the sound and the tracking is working. I don't know if it's related or even if it's the intended bahavior.

Ok, I have the capture output video. It is absolutely perfect. No artifacts whatsoever. 6Gigabites of H265 correct encoding, until I quitted steamVR because the Quest app was freezed. This time were 19 minutes.
@JackD83 What do you think, could it be the Android decoder that's buggy? It is the only reasonable cause apart of some main thread related mess on the app. It's the App, anyway, not the server.

I cannot believe we cannot fix this issue!! c'mon! The only competitor ALVR has is Virtual Desktop and it's much less technologically advanced. And it uses TCP for streaming (not optimal at all).

Maybe we give the decoder bad frames. I have no experience with video or even android.
For a test we could write the h265 stream in a file on the quest and see if that’s working.
Detecting the nal could also be faulty and causing problems

Look, V1 experimental with the manual resolution fix is working flawlessly. Thanks to the DAS I'm now able tot play Skyrim for hours and yesterday i plays for 3 hours straight witjoit a single hickup... Maybe you guys should restart from scratch and take up where V1 ended...

@TC-VR could you please describe with detail used ALVR settings and also your PC specs? Thank you

@JackD83 are you able to isolate exactly which changes were made from V1 to V2? I’ll create a V7 without the V2 changes. I know it is not exactly the best way to debug but this beast is very nasty. This afternoon also I will use android studio debugger and wait for the freeze with a breakpoint on the “NALQueue is full” and try to go up in the executor. But checking content of queues and identity of NAL packets this way is not simple...

@FingrMastr : not home right now, I'll provide you with my full specs later.
PC: Gigabyte H370 HD3 mobo, Intel i5 8400 cpu, 16GB DDR4 ram, Gigabyte GTX 1070
Network : Gigabit Ethernet (Intel® GbE LAN), WIFI AC Router 5Ghz, placed in line of sight, computer connected via ethernet to router, connection speed 867 Mbs (as reported by Virtual Desktop).
Software: Win 10, latest release - ALVR streamer V1, Oculus Quest 9.0, ALVR Client V1 experimental
Notes:
Someone suggested I uninstalled the GeForce Experience software because it could interfere with bandwidth, so i did....
Order of startup:

Restart the Quest

Run the adb commands for the correct Quest resolution (with USB C cable connected to USB 3.1 port)
adb shell setprop debug.oculus.textureWidth 1440
adb shell setprop debug.oculus.textureHeight 1600

Disconnect the Quest and start the client first so the streamer reports gets the correct resolution straight away.

ALVR Settings:

Codec: H.265 HEVC
Birate: 40 Mbps
Video Resimution 100% 2880x1600
Buffer 200 Kb

I restart Steam and run the Steam Server from ALVR streamer.

Results:

This way, in Skyrim with some mods and Super samling 200% S in-game,  the textures looks very good and crisp with moderate compression when running.
The Lab looks gorgious and plays just like my Rift S (which i swapped for the Quest). Maybe the controllers are a bit off angle but nothing I can't adapt to
Pavlov VR looks very good with just minor noticable lag on gun movement. Google Earth VR looks gorgious with very crisp image and no artefacts or compression, very impressive.
Some compression but NO frames lost in + 3 hours. No stutters.

I run a Hackintosh, so if you want i could test it on MacOS (High Sierra) using the very same hardware.

@FingrMastr there where not many commits on the client overall. The one commit that stands out is this one
It contains changes to the NALQueue and the decoder!
I have to admit that I merged it from another repo cause the changes looked good and I had no immediate problems. The rest of the commits are changes to tracking, cleanup/refactoring, mic streaming and then the ffr implementations

Yes, I already saw and corrected the code change in NALQueue, it has a pair of bad concurrency errors, the ConcurrentLinkedQueue is thread safe “by factory” only on atomic calls, and requires the synchronized statement on methods that are not atomic. However that problem is not causing the performance degradation. I think it’s the decoder change.
However, in the meantime, I discovered that a change you made in the NVENC configuration was causing an encoding configuration that the android decoder do not like. I reverted that and this afternoon I tested for hours, and degradation is still there but at least freeze seems to be gone. Also, initial performance this way is slightly enhanced.
This night I will revert the decoder change and test for another pair of hours. Then if tests are positive, @JackD83 you’ll guide me on how to push to GitHub and how to do a pull request (I’m pretty new to GitHub)... I feel old ;-)

@FingrMastr just fork this repo and push all your changes. You can then easily create a pull request. I’m looking forward to it!

Last night I did some more testing.
These two lines of decoder, merged from god in repo, are a little too extreme:
format.setInteger(MediaFormat.KEY_OPERATING_RATE, Short.MAX_VALUE);
format.setInteger(MediaFormat.KEY_PRIORITY, 0);
The first one sets the decode to possibly the max rate. This is fine, as the Android decoder this way has no cap whatsoever.
The second one sets the decoder to act “real-time”, so no queue at all. This, in case of lost frames, can cause decoder bad behavior and eventually a crash. I reverted this second line. This mitigated even more the performance degradation, but not resolved (still, sigh). This mod, however, used with “aggressive key frame resend”, in my case is prolonging the playable time a lot.
Regarding the encoder (pc side), NVENC encoding profile was changed after V1, and I reverted to the old one. Android decoder seems not to like that other profile. This in my case resolved completely the freeze problem in my tests.
The remaining optimizations I made are marginal and not affecting performance.
I want to do some more tests, and then I’ll push the changes.

After some more tests it seems, as I said, optimizations are resolving the freeze but only mitigating a bit the performance degradation...
I’m almost giving up on this, and thinking about a big rewrite of socket part, separating in two channels TCP and UDP...

That sounds like a good but time consuming plan.  Can you publish what you've done so far so we can test it and feedback any comments?

@FingrMastr That's great work already.
If you managed to find a solution to the freezes and to make it more stable, that means a lot less work to do to resolve the other issues.
Also we need to find a way to include real sliced encoding to reduce latency on the receive/decode/render part. VD's author has been working on it and already has promissing stuff, so we know it's possible.

@FingrMastr please don't give up, we need you ;) I quickly made the same changes than you did and reverted some changes made after ev1 with the same results. Still performance degradation.
Maybe we should be a little more systematic in finding the issue. I started to use the already implemented debug flags to trigger some special output or disable some features. The flags are applied on the server and client on runtime.
Some ideas to test are:

disable tracking
disable audio client/server
disable mic client/server
flush nal queue
flush/clear socket client/server
re-init decoder

Maybe we find a way out of the bad state and can go one from there.
After we fixed this, we can go one an think about further improvements @LibreGit
I'm very busy right now and it will be mid November till I can do some implementations.

@jackd83  Any chance of a release of your version which is running ok without ffr  ??

I just set it to disabled. But I think its no indication that this is the cause. I just got lucky. FFR wasn't introduced until ev4

Sorry maybe I misunderstood. .. your disabled ffr test was with the released EV7 ?

Doesn't mean there is no issue with FFR. Maybe the changes reverted by @FingrMastr introduced an issue and the FFR introduced another one.
We should test further if with v7 + @FingrMastr changes and no FFR there is still performance degradation.
You shoud release a test version of v7 + @FingrMastr pull request for those who can't build it themselves and still want to test the stability

Some clarifications and some more elements to keep in mind about what I did:

A starting point is that the performance degradation is not DIRECTLY imputabile to server-side. Anyway we cannot exclude that decoder used in the app somewhat dislikes the result of the encoder, at least in the long term and on some systems. Weird, but it could be.

I noticed that in particular some of the changes made in that merged repo, were made in pure search of performance, without a real understanding of what side effects would cause. I only reverted some of the more extreme, my work is nothing too complex... two or three lines of reverted code...

It’s only primarily a sensation, supported by some “light” proof, but I still think that this problem is “thread related” and it is client app-only. Here are my arguments:

3.a. Primary hint is testing we made on encoder. 6gigabytes of PERFECT encoding. No stutter. No performance degradation at all.
3.b. Profiling the app with android studio’s advanced profiler shows NOTHING. No particular leaks. Some heavy allocations but nothing not manageable by garbage collector. Some light augmentation of CPU occupation of the app, from 12% to a max of 17%, nothing heavy. I’m no expert of Android (I’m a decade-experienced iOS dev) but it seems to me that there is something that is somehow slowing (or even blocking) the UI thread.
3.c. While I can clearly understand the structure of the java side of the app, with the “handlerThread” and the creation of the worker threads, there are some aspects of the C++ structure that are not completely clear. Without a clear understanding I cannot assume that there are no calls to the UI threads from parallel threads (very bad), directly or indirectly (such as making the draw depending on content of a queue).
Finally, on my system, changing the encoder profile did the job for getting rid of the complete UI freeze. However the performance degradation is still there. ALWAYS with elite dangerous (my beloved game), and more randomly with other games (weird isn’t it?)

@JackD83
These are very good points:
flush nal queue
flush/clear socket client/server
re-init decoder
I’ll investigate how and when to do the flush/reinit in every field...
Regarding no tracking, no sound, no mic, already tested. Performance still there :(((

@FingrMastr and without FFR ?

Obviously even without FFR, in my case at least, performance drop still present.

Can someone with the techie knowledget PLEASE build the EV7 release + @fingrmastr changes. Thank you

Tried to build it using my windows 7 64 bits dev virtual machine, in a fresh visual studio 2019 + CUDA 10.1. The build works but when I run the app I have this message and then a crash :

Cannot load library. ALVR works only on 64bits Windows with NVIDIA

I didn't have this issue with the prebuild v7 from releases. I guess some settings aren't good on my alvr_server project.

Thanks for trying @LibreGit .  Hopefully @JackD83 will be back around here soon.

@Digeeboy Ok i forgot to put the 2 dlls from libswresample next to the driver_alvr_server dll !
ALVR-v7-FingrMastr-Fix.zip

I'm getting the following error
Cannot load library. ALVR works only on 64 bits Windows with NVIDIA GPU
c:/......./driver_alvr_server.dll
Code:0
I'm deffo on Win 10 Pro with GTX 1080 ti

Builds made with the latest Visual Studio version require the latest vc runtime from here
Please continue the discussion in #70


Problem

I'm Getting this problem

Run the command 'python pip install requests'

Also make sure you ran the command 'python pip install -r requirements.txt'

python pip install requests
In the Vs code ?

Yep. In the terminal in vs code

Just run 'pip install requests' without the python in front

Now What ?

Run the script again

no its not working

Same error

Make sure you installed requests and all other required packages. If you need more step by step walkthrough use chatgpt and paste the script with the error messages and it will tell you the commands exactly.

Okay, I will try that. Thanks

Thanks it worked

It's Not responding

Close it and retry

Done that it's not working

Keep getting this error

Ok. I will update the code tomorrow to fix that. Check back in then.

okay

Can you notify me when the code is updated

Having the same issue, just completed the installation. I guess I will wait for the updated code. Thanks!

How much time dude

Hello, @Noko7  It’s been a while since you said you’d update the code to fix the bug, are you still planning to do that? I’d really appreciate an update

Hi Everyone, I have updated the code I apologize for the delay. It works now! Please let me know if it works

Make sure you run "pip install -r requirements.txt" before you try and run the script again

Hi, thank you very much for updating the code but, if i may ask for your help, i still have a problem: when i run the script it start downloading the first song of the playlist and the it send in loop always the same error without downloading nothing.
I ll send a scrrenshot, Thank you very much.

You'll need to download ffmpeg and add the path to your environment variables...I had the same issue too

Thank you you re a life saver, now it works!

you're welcome... and thanks @Noko7 for updating the code


XrmLookupPage.Search new parameter

Should be useful parameter as if we want to change the search criteria we need to clean up the field.
Thx.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Learning and Adaptation

16. Learning and Adaptation

Skill Enhancement:

Learn from AI-generated code to improve your programming skills.

Stay Informed:

Keep up-to-date with the latest in Python development and AI tools.

this issue is completed by working on the project in the first place


Set aps-environment entitlement to production

When submitting an IPA to Apple Store aps-environment entitlement has to be set to production.
The error returned is:
ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for key 'aps-environment' in 'Payload/appname.app/appname' is not supported."]
resign.sh script set other entitlement values (beta-reports-active, get-task-allow) and it may set this value as well.

Have you tried deleting and re-generating your provisioning profile?

Mi provisioning profile has aps-environment set to production but the IPA I was resigning was generated with development value.
As far as I can see in resign script, most of entitlements is preserved from IPA, isn't it?

+1 I've run into this issue as well just now.

I don't understand enough about what on earth aps-environment is supposed to be. It's not a configuration setting, you can find anywhere...  all I know is that it's something related to push notifications.

I am pretty sure that the provisioning profile I'm working with is not outdated (i.e. generated before the Push Notifcation certificate was generated); because it's worked for me in the past.

I think Xcode might have built the IPA with code signing for Development in mind (see my explanation in fastlane/examples#2) and therefore included development entitlements (???) into the IPA, which resign doesn't pick up on. Is that how it works? :S

there are a couple of weird aspects to Xcode 7 and I'm getting this "aps-environment development not supported" error
http://stackoverflow.com/questions/18969988/getting-error-itms-9000-when-trying-to-upload-an-app-using-application-loader
http://stackoverflow.com/questions/28106791/error-itms-90164-90046-invalid-code-signing-entitlements
these have different effects, but the combined aspects, well, you might want to make sure neither is the case.

Hi @kristofer!
Is this still an issue when using the new gym to build and package your app?

Going to close this since it has been open for a while without response.


Receivers: Add date filtering functionality to list of reports on daily data page

Problem statement
As a public health department employee, I want to easily navigate and understand reports that were uploaded
Acceptance criteria

On the /daily-data page, I can filter the table by date range

Design

Page design is similar to senders' submission history

@bgantick please pre-refine at engineering sync

Hey team! Please add your planning poker estimate with ZenHub @TomNUSDS @kevinhaube @sethdarragile6

Set to deploy 10/20


unittest for delete

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.88%. Comparing base (50d4362) to head (5f70c1b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   86.00%   88.88%   +2.88%
==========================================
  Files           9       10       +1
  Lines         300      324      +24
  Branches       23       23
==========================================
+ Hits          258      288      +30
+ Misses         29       23       -6
  Partials       13       13

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


Having project create issues against GitLab.com lately?

Curious if anyone here particularly @svanharmelen has seen any issues lately with the project create API?
Lab tests regularly against GitLab.com and have been noticing some issues since the latest 12.2.0-pre  went live. Perhaps someone knows and I just need to update or stop sending a field? Honestly have had a chance to look to closely.
@svanharmelen feel free to close after you see this, was just reaching out, hope you're doing well I've see all the activity on go-gitlab :D

@zaquestion I must admit that I'm not using this package much myself lately. Just try to be a good maintainer and facilitator 😉 So I'll keep the issue open for bit to see if anyone else has some feedback...

What issues are you seeing @zaquestion?

@alexkalderimis my bad probably should have included that :blush:
https://github.com/zaquestion/lab/issues/329
project_create.go:67: POST https://gitlab.com/api/v4/projects: 400 {message: {limit_reached: []}, {visibility_level: [internal has been restricted by your GitLab administrator]}}

Not expecting anyone to dig this deep, but just for completeness heres the test we have: https://github.com/zaquestion/lab/blob/master/cmd/project_create_test.go

Perhaps is internal not a thing anymore on gitlab.com ? Again really just curious if anyones seen this, not expecting anyone to dig into stuff thats ultimately on lab team to figure out.

Turns out it was that, GitLab.com removed internal, still a thing for onprem it sounds https://github.com/zaquestion/lab/issues/329#issuecomment-525961135


No 1.7.4 version

Quick start refers to
https://raw.githubusercontent.com/cilium/cilium/v1.7/install/kubernetes/quick-install.yaml
where for now version is 1.7.4
docker.io doesn't have such version. Kube deployment failed.

@thyn the images were being build. They are available now.


Unsubscribe Callback

Hello, I want trigger an event when a user Unsubscribe a Subscription.
I'm using subscriptionField. There is a subscribe callback but no unsubscribe.
Am I missing something ? How am I supposed to do it ?
Thank you a lot for your help.

OK, something like that seems to work:
export const subscribe = subscriptionField("subscribe", {
  type: "SubscriptionObject",
  subscribe(_, __, ctx) {
    const iter = ctx.pubsub.asyncIterator(`SUB`);
    iter.return = (_) => {
      console.log("Unsubscribe");
      return Promise.resolve({ value, done: true });
    };
    return iter;
  },
  async resolve(payload, _, __) {
    return payload;
  },
});


Implement set_maximized, get_current_monitor, set_fullscreen and set_decorations for windows

Should fixed part of the https://github.com/tomaka/winit/issues/72

Thanks so much for this! This will be useful for a lot of people.
I won't have time to give this a full review until later today, though what I've looked at so far looks good. However, this needs a CHANGELOG entry.

Just a minor bug first for rust-stable (I use nightly) and added support for with_maximized. (So that with_decorations, with_fullscreen all works now).
It should be completed. Thanks :)

After testing this on Windows 10, everything works as expected. However, I've succeeded in breaking things: while toggling either decorations or fullscreen rapidly repeatedly, the window in question eventually freezes. My other windows don't freeze, continuing to play their animations, but as soon as one of those windows is focused (in other words, as soon as it interacts with the backend), it freezes as well. This can happen using your updated fullscreen example program, though it's far easier to reproduce if you change the key handlers to respond to Pressed rather than Released, since then you can simply hold down the key and encounter the problem very readily. This fortunately isn't an issue with maximization.

@francesca64 I changed the fullscreen example use Pressed now. I just tested this and it should works now.
By the way, the cause of freezes are related to this block, which i didn't fully understand why it would write in this way..

Done ^^

Good catch, but im away from keyboard now, would check it tonight(asia time), thanks

@francesca64 It should be fixed :)

Great, I've confirmed that it's fixed.
Here's another bug:

Run fullscreen example program
Exit fullscreen
Press key to maximize
Enter fullscreen
Press key to un-maximize
Exit fullscreen
(Window will still be maximized) press key to un-maximize; nothing happens until the second press

This fortunately doesn't happen for decoration toggling.
Using the built-in maximization button causes things like this to happen:

Run fullscreen example program
Exit fullscreen
Press the window's maximization button
Press key to un-maximize; nothing happens until the second press

It's also important to account for the user un-maximizing the window by moving it:

Run fullscreen example program
Exit fullscreen
Press key to maximize
Move window to un-maximize
Press key to maximize; nothing happens until the second press

Using the built-in maximization button causes things like this to happen:
Run fullscreen example program
Exit fullscreen
Press the window's maximization button
Press key to un-maximize; nothing happens until the second press

It's also important to account for the user un-maximizing the window by moving it:
Run fullscreen example program
Exit fullscreen
Press key to maximize
Move window to un-maximize
Press key to maximize; nothing happens until the second press

It is because the fullscreen example just use a bool to indicate Maximize status, which is not sync to the system status.

Run fullscreen example program
Exit fullscreen
Press key to maximize
Enter fullscreen
Press key to un-maximize
Exit fullscreen
(Window will still be maximized) press key to un-maximize; nothing happens until the second press

https://github.com/tomaka/winit/pull/457/commits/9f52ed1d453cfd59867ba1cee42f78fe488691cb should fixed this

Right, good point about it being an issue in the example and not your implementation, sorry about that.
While it does fix my first issue, there are still issues with the wrong state being restored after using the built-in maximization button or moving to un-maximize.

Run fullscreen example program
Exit fullscreen
Press the window's maximization button
Enter fullscreen
Exit fullscreen
The window is no longer maximized

and:

Run fullscreen example program
Press key to maximize
Exit fullscreen
Move window to un-maximize
Enter fullscreen
Exit fullscreen
The window is maximized

Sorry about that, the maximized state is a little bit tricky to implement correctly.  Anyway, it should be fixed all the issues listed.

Awesome! This is the last thing, I promise: in the CHANGELOG, you accidentally put WindowBuilder::set_maximized instead of WindowBuilder::with_maximized.

Sorry about that, thank you so much to help me to catch out these bugs. It will be my second closed PR :)

No problem! This PR is very much appreciated.


Disable hunting when no more balls

Short Description:
When the bot isn't catching Pokemon because a lack of balls, don't hunt for Pokemon.
Fixes/Resolves/Closes (please use correct syntax):

Nothing, small enhancement

I thought there's already such function?
in config, add
      {         "type": "CatchLimiter",         "config": {           "enabled": true,           "min_balls": 30,           "duration": 15         }       },

Yes this function works great :smile: But the Pokemon Hunter will still move toward a Pokemon of interest and starts searching for it, while we won't catch it (because the CatchLimiter is active)
This PR makes the Pokemon Hunter stop searching for or moving toward a Pokemon when we don't catch Pokemon. Thus the bot will keep moving toward Pokestops instead of needlessly searching for Pokemon.
I hope this makes this PR a bit clearer

Asap devs log they merge all changes

👍


What needs to be done to use doubles instead of floats?

Hi,
In the examples the rays are computed over float32s. I notice that in the C++ code mostly it refers to double-type floats. Is there any reason for the discrepancy? Can a version of this be made that uses doubles everywhere instead of some float32s?

Hi kiwih,
I have made a few changes to pyoctree.pyx in the dev branch. Essentially just needed to change float to float64. I have tested the changes in the example notebooks.
Now if you want to use rays, you no longer need to use dtype=np.float32. For example (from the readme):
import numpy as np
startPoint = [0.0,0.0,0.0]
endPoint   = [0.0,0.0,1.0]
rayList    = np.array([[startPoint,endPoint]],dtype=np.float32)
intersectionFound  = tree.rayIntersection(rayList)

now becomes
import numpy as np
startPoint = [0.0,0.0,0.0]
endPoint   = [0.0,0.0,1.0]
rayList    = np.array([[startPoint,endPoint]])
intersectionFound  = tree.rayIntersection(rayList)

Cheers,
Michael

Great, thanks!

Hi kiwih,
I have made a few changes to pyoctree.pyx in the dev branch. Essentially just needed to change float to float64. I have tested the changes in the example notebooks.
Now if you want to use rays, you no longer need to use dtype=np.float32. For example (from the readme):
import numpy as np
startPoint = [0.0,0.0,0.0]
endPoint   = [0.0,0.0,1.0]
rayList    = np.array([[startPoint,endPoint]],dtype=np.float32)
intersectionFound  = tree.rayIntersection(rayList)

now becomes
import numpy as np
startPoint = [0.0,0.0,0.0]
endPoint   = [0.0,0.0,1.0]
rayList    = np.array([[startPoint,endPoint]])
intersectionFound  = tree.rayIntersection(rayList)

Cheers,
Michael

I have downloaded source code from dev version of this repository and tried to use it without specifying dtype=np.float32 and only giving start and end points to function to find intersection. It shows error as:
"Buffer dtype mismatch, expected 'float' but got 'double'.
This error I am getting even after installing and running dev version.
Also in dev version I had to manually insert pyoctree.cpp file as it is not there in source code on github and my system was giving error that missing pyoctree/pyoctree.cpp file.
Kindly tell me what is going wrong in my case.


Improve helm charts values and drop un used values

Working on PR #52520. Creating the issue to track all the work and discuss here if needed
We need to make some changes on Helm charts and values to:

.Values.platform is used in multiple charts and we already have .Values.global.platform in other places, so, seems logical to me to merge them all in .Values.global.platform
.Values.provider "multus" is only used for openshift. Change the use of .Values.provider "multus" by directly .Values.global.platform "openshift"
Replace .Values.pilot.cni.enabled by .Values.pilot.cniEnabled to avoid failures when values are unwrapped
Delete unused values from openshift profiles

I'll change the scope of the issue after some discussion internally with the team. I'll update the issue with the agreements to open the proper PR to onboard the changes

Just checking in, anything left here?

No, I think everything is set now and we agree not to make these changes. Closing the issue


Do you have other models' weights?

Thanks for the nice work!
I wonder if I could also get the StyleGAN-3 model weights pre-trained on AIROGS to check the performance.
Thanks

Hey, thanks!
Sure, I uploaded the weights for StyleGAN-3 to the HuggingFace space. You can find them at: https://huggingface.co/spaces/mueller-franzes/medfusion-app/tree/main/runs/eye_gan

Thank you so much!


fix #256: configure rultor for release process

@rultor merge

@rultor merge

@proshin-roman OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@proshin-roman Done! FYI, the full log is here (took me 2min)


Add license file

Hi! I would love to create derivate files from these and posted on my own repo. However, if no Licence is specified, the law says it defaults to all rights reserved and no forks are possible.
Thanks for your work

Thank you for the feedback. I've added the MIT license. Enjoy.


feat: add ability to read localized blogs

This PR adds the ability to read blog posts not only in English.
JFYI You can switch to the Japanese language and check how it's works.

Simplified to that if we have a non-English language we load from the i18n module, otherwise, load from disk.

ping @zeke 🙇♂

@zeke If solutions used in the refactored version of the blog handler create for you not understandable can you please open an issue where we can discuss the changes. If you do not have any questions about the changes in this PR can we merge them?


dark mode button improved

Description
I have:

added new dark and light images
made the dark mode button round
fixed the image alignment at the center
also fixed the image style while toggling

Fixes: #227
Use [x] to represent a checked (ticked) box.✅
Use [ ] to represent an unchecked box.❌
Type of Change

[ ] Profile Added
[ ] Project Added
[x] Bug fix
[x] New feature
[ ] Documentation update
[ ] Other (please specify):

Checklist

[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation (if applicable).
[x] My changes generate no new warnings.
[x] I have added tests to cover my changes (if applicable).
[x] All new and existing tests pass.

Additional Notes
Please add any other information that is relevant to this pull request, including potential risks, alternative solutions considered, or future improvements.

Description
I have:

added new dark and light images
made the dark mode button round
fixed the image alignment at the center
also fixed the image style while toggling

Fixes: #227
Use [x] to represent a checked (ticked) box.✅ Use [ ] to represent an unchecked box.❌
Type of Change

[ ]  Profile Added
[ ]  Project Added
[x]  Bug fix
[x]  New feature
[ ]  Documentation update
[ ]  Other (please specify):

Checklist

[x]  I have performed a self-review of my code.
[x]  I have commented my code, particularly in hard-to-understand areas.
[x]  I have made corresponding changes to the documentation (if applicable).
[x]  My changes generate no new warnings.
[x]  I have added tests to cover my changes (if applicable).
[x]  All new and existing tests pass.

Additional Notes
Please add any other information that is relevant to this pull request, including potential risks, alternative solutions considered, or future improvements.

this change is not reflect in project section and about section

make correct changes in all pages and the push the change

i will fix it asap.

Bug fixed.


Submit BoolNet 2.1.5

id: boolnet
version: 2.1.5
specificationsUrl: https://raw.githubusercontent.com/biosimulators/Biosimulators_BoolNet/f5d962f7b2446343056296da21102cb252730509/biosimulators.json
specificationsPatch:
version: 2.1.5
image:
url: ghcr.io/biosimulators/biosimulators_boolnet/boolnet:2.1.5
digest: "sha256:4a9c10d923b25d4d2e7c729a18d2c3a19ab56203e76a3f9bc935e24c4f197929"
validateImage: true
commitSimulator: true

Thank you @biosimulators-daemon for your submission to the BioSimulators simulator validation/submission system!
The BioSimulators validator bot is validating the specifications of your simulator, validating your Docker image, and committing your simulator to the BioSimulators registry.
We will discuss any concerns with your submission in this issue.
A complete log of your simulator submission job will be available for 90 days here. The results of the validation of your tool will also be saved as a JSON file. A link to this file will be available for 90 days from the "Artifacts" section at the bottom of this page.

The specifications of your simulator is valid!

Summary of tests

Executed 73 test cases

Passed 44 test cases:

cli.CliDescribesSupportedEnvironmentVariablesInline
cli.CliDisplaysHelpInline
cli.CliDisplaysVersionInformationInline
combine_archive.CombineArchiveHasSedDocumentsInNestedDirectories
combine_archive.CombineArchiveHasSedDocumentsWithSameNamesInDifferentInNestedDirectories
combine_archive.WhenACombineArchiveHasAMasterFileSimulatorOnlyExecutesThisFile
combine_archive.WhenACombineArchiveHasNoMasterFileSimulatorExecutesAllSedDocuments
docker_image.DeclaresSupportedEnvironmentVariables
docker_image.DefaultUserIsRoot
docker_image.HasBioContainersLabels
docker_image.HasOciLabels
docker_image.SingularityImageExecutesSimulationsSuccessfully
log.SimulatorReportsTheStatusOfTheExecutionOfCombineArchives
log.SimulatorReportsTheStatusOfTheExecutionOfSedDocuments
log.SimulatorReportsTheStatusOfTheExecutionOfSedOutputs
log.SimulatorReportsTheStatusOfTheExecutionOfSedTasks
published_project.SimulatorCanExecutePublishedProject:sbml-qual/Chaouiya-BMC-Syst-Biol-2013-EGF-TNFa-signaling
published_project.SimulatorCanExecutePublishedProject:sbml-qual/Irons-J-Theor-Biol-2009-yeast-cell-cycle
results_report.SimulatorGeneratesReportsOfSimulationResults
sedml.SimulatorCanResolveModelSourcesDefinedByUriFragments
sedml.SimulatorCanResolveModelSourcesDefinedByUriFragmentsAndInheritChanges
sedml.SimulatorProducesLinear2DPlots
sedml.SimulatorProducesLogarithmic2DPlots
sedml.SimulatorProducesMultiplePlots
sedml.SimulatorSupportsAddReplaceRemoveModelElementChanges
sedml.SimulatorSupportsAlgorithmParameters
sedml.SimulatorSupportsComputeModelChanges
sedml.SimulatorSupportsDataGeneratorsWithDifferentShapes
sedml.SimulatorSupportsDataSetsWithDifferentShapes
sedml.SimulatorSupportsModelsSimulationsTasksDataGeneratorsAndReports
sedml.SimulatorSupportsMultipleReportsPerSedDocument
sedml.SimulatorSupportsMultipleTasksPerSedDocument
sedml.SimulatorSupportsRepeatedTasksWithChanges
sedml.SimulatorSupportsRepeatedTasksWithFunctionalRangeVariables
sedml.SimulatorSupportsRepeatedTasksWithFunctionalRanges
sedml.SimulatorSupportsRepeatedTasksWithLinearUniformRanges
sedml.SimulatorSupportsRepeatedTasksWithLogarithmicUniformRanges
sedml.SimulatorSupportsRepeatedTasksWithMultipleSubTasks
sedml.SimulatorSupportsRepeatedTasksWithNestedFunctionalRanges
sedml.SimulatorSupportsRepeatedTasksWithNestedRepeatedTasks
sedml.SimulatorSupportsRepeatedTasksWithSubTasksOfMixedTypes
sedml.SimulatorSupportsRepeatedTasksWithVectorRanges
sedml.SimulatorSupportsSubstitutingAlgorithms
sedml.SimulatorSupportsUniformTimeCoursesWithNonZeroOutputStartTimes

Failed 0 test cases

Skipped 29 test cases:

published_project.SimulatorCanExecutePublishedProject:bngl/Dolan-PLoS-Comput-Biol-2015-NHEJ
published_project.SimulatorCanExecutePublishedProject:bngl/test-bngl
published_project.SimulatorCanExecutePublishedProject:cellml/Elowitz-Nature-2000-Repressilator
published_project.SimulatorCanExecutePublishedProject:cellml/Lorenz-system
published_project.SimulatorCanExecutePublishedProject:mass/Bordbar-Cell-Syst-2015-RBC-metabolism
published_project.SimulatorCanExecutePublishedProject:neuroml-lems/Hodgkin-Huxley-cell-CVODE
published_project.SimulatorCanExecutePublishedProject:neuroml-lems/Hodgkin-Huxley-cell-Euler
published_project.SimulatorCanExecutePublishedProject:rba/Escherichia-coli-K12-WT
published_project.SimulatorCanExecutePublishedProject:sbml-core/Caravagna-J-Theor-Biol-2010-tumor-suppressive-oscillations
published_project.SimulatorCanExecutePublishedProject:sbml-core/Ciliberto-J-Cell-Biol-2003-morphogenesis-checkpoint-Fehlberg
published_project.SimulatorCanExecutePublishedProject:sbml-core/Ciliberto-J-Cell-Biol-2003-morphogenesis-checkpoint-continuous
published_project.SimulatorCanExecutePublishedProject:sbml-core/Edelstein-Biol-Cybern-1996-Nicotinic-excitation
published_project.SimulatorCanExecutePublishedProject:sbml-core/Elowitz-Nature-2000-Repressilator
published_project.SimulatorCanExecutePublishedProject:sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution
published_project.SimulatorCanExecutePublishedProject:sbml-core/Szymanska-J-Theor-Biol-2009-HSP-synthesis
published_project.SimulatorCanExecutePublishedProject:sbml-core/Tomida-EMBO-J-2003-NFAT-translocation
published_project.SimulatorCanExecutePublishedProject:sbml-core/Varusai-Sci-Rep-2018-mTOR-signaling-LSODA-LSODAR-SBML
published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock
published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock-continuous
published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock-discrete-NRM
published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock-discrete-SSA
published_project.SimulatorCanExecutePublishedProject:sbml-fbc/Escherichia-coli-core-metabolism
published_project.SimulatorCanExecutePublishedProject:smoldyn/Lotka-Volterra
published_project.SimulatorCanExecutePublishedProject:xpp/Wu-Biochem-Pharmacol-2006-pituitary-GH3-cells
sedml.SimulatorProducesLinear3DPlots
sedml.SimulatorProducesLogarithmic3DPlots
sedml.SimulatorProducesReportsWithCuratedNumberOfDimensions
sedml.SimulatorSupportsModelAttributeChanges
sedml.SimulatorSupportsUniformTimeCoursesWithNonZeroInitialTimes

Warnings
docker_image.DeclaresSupportedEnvironmentVariables (0.3 s)

Test if a Docker image declares the environment variables that is supports
Warnings:
Docker images for simulation tools should declare the environment variables that they support.

The Docker image does not declare the following standard environment variables recognized by BioSimulators:
  - 'ALGORITHM_SUBSTITUTION_POLICY'
  - 'BUNDLE_OUTPUTS'
  - 'COLLECT_COMBINE_ARCHIVE_RESULTS'
  - 'COLLECT_SED_DOCUMENT_RESULTS'
  - 'DEBUG'
  - 'H5_REPORTS_PATH'
  - 'KEEP_INDIVIDUAL_OUTPUTS'
  - 'LOG_PATH'
  - 'OMEX_METADATA_INPUT_FORMAT'
  - 'OMEX_METADATA_OUTPUT_FORMAT'
  - 'OMEX_METADATA_SCHEMA'
  - 'PLOTS_PATH'
  - 'REPORTS_PATH'
  - 'REPORT_FORMATS'
  - 'SAVE_PLOT_DATA'
  - 'VALIDATE_IMAGES'
  - 'VALIDATE_OMEX_MANIFESTS'
  - 'VALIDATE_OMEX_METADATA'
  - 'VALIDATE_RESULTS'
  - 'VALIDATE_SEDML'
  - 'VALIDATE_SEDML_MODELS'
  - 'VIZ_FORMATS'

If the simulation tool implements these variables, they should be declared in the Dockerfile for the Docker image for the simulator.

Note, support for these environment variables is optional. Simulation tools are not required to support these variables.

Log: None

docker_image.HasBioContainersLabels (0.3 s)

Test that a Docker image has BioContainers labels with metadata about the image
Warnings:
Docker images are encouraged to have the following BioContainers labels:
  extra.identifiers.biotools

Log: None

Skips
published_project.SimulatorCanExecutePublishedProject:bngl/Dolan-PLoS-Comput-Biol-2015-NHEJ (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_3972
Algorithm: KISAO_0000263

Reason for skip:
Case requires model formats format_3972 and simulation algorithms KISAO_0000263

Log: None

published_project.SimulatorCanExecutePublishedProject:bngl/test-bngl (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_3972
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_3972 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:cellml/Elowitz-Nature-2000-Repressilator (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_3240
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_3240 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:cellml/Lorenz-system (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_3240
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_3240 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:mass/Bordbar-Cell-Syst-2015-RBC-metabolism (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:neuroml-lems/Hodgkin-Huxley-cell-CVODE (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_9004
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_9004 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:neuroml-lems/Hodgkin-Huxley-cell-Euler (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_9004
Algorithm: KISAO_0000030

Reason for skip:
Case requires model formats format_9004 and simulation algorithms KISAO_0000030

Log: None

published_project.SimulatorCanExecutePublishedProject:rba/Escherichia-coli-K12-WT (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_9012
Algorithm: KISAO_0000669

Reason for skip:
Case requires model formats format_9012 and simulation algorithms KISAO_0000669

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Caravagna-J-Theor-Biol-2010-tumor-suppressive-oscillations (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Ciliberto-J-Cell-Biol-2003-morphogenesis-checkpoint-Fehlberg (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000086

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000086

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Ciliberto-J-Cell-Biol-2003-morphogenesis-checkpoint-continuous (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Edelstein-Biol-Cybern-1996-Nicotinic-excitation (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000088

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000088

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Elowitz-Nature-2000-Repressilator (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Parmar-BMC-Syst-Biol-2017-iron-distribution (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_000019

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_000019

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Szymanska-J-Theor-Biol-2009-HSP-synthesis (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000496

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000496

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Tomida-EMBO-J-2003-NFAT-translocation (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000560

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000560

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Varusai-Sci-Rep-2018-mTOR-signaling-LSODA-LSODAR-SBML (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000560

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000560

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000019
Format: format_2585
Algorithm: KISAO_0000027

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000019, KISAO_0000027

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock-continuous (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000019

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock-discrete-NRM (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000027

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000027

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-core/Vilar-PNAS-2002-minimal-circardian-clock-discrete-SSA (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000029

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000029

Log: None

published_project.SimulatorCanExecutePublishedProject:sbml-fbc/Escherichia-coli-core-metabolism (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_2585
Algorithm: KISAO_0000437

Reason for skip:
Case requires model formats format_2585 and simulation algorithms KISAO_0000437

Log: None

published_project.SimulatorCanExecutePublishedProject:smoldyn/Lotka-Volterra (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_9001
Algorithm: KISAO_0000057

Reason for skip:
Case requires model formats format_9001 and simulation algorithms KISAO_0000057

Log: None

published_project.SimulatorCanExecutePublishedProject:xpp/Wu-Biochem-Pharmacol-2006-pituitary-GH3-cells (0.0 s)

Required model formats and simulation algorithms for SED tasks:

Format: format_9010
Algorithm: KISAO_0000019

Reason for skip:
Case requires model formats format_9010 and simulation algorithms KISAO_0000019

Log: None

sedml.SimulatorProducesLinear3DPlots (0.1 s)

Test that a simulator produces linear 3D plots
Reason for skip:
No curated COMBINE/OMEX archives are available to generate archives for testing

Log: None

sedml.SimulatorProducesLogarithmic3DPlots (0.1 s)

Test that a simulator produces logarithmic 3D plots
Reason for skip:
No curated COMBINE/OMEX archives are available to generate archives for testing

Log: None

sedml.SimulatorProducesReportsWithCuratedNumberOfDimensions (0.1 s)

Test that that the curated number of output dimensions matches the actual number of output dimensions
Reason for skip:
No curated COMBINE/OMEX archives are available to generate archives for testing

Log: None

sedml.SimulatorSupportsModelAttributeChanges (0.1 s)

Test that a simulator supports changes to the attributes of model elements
Reason for skip:
The SED document is invalid.
  - Model `model` is invalid.
    - The changes of the model are invalid.
      - Change 3 is invalid.
        - One or more namespaces required for target `/sbml:sbml[1]/@qual:required` are not defined. Only the following namespaces are defined for the target: `sbml`.

Log: None

sedml.SimulatorSupportsUniformTimeCoursesWithNonZeroInitialTimes (4.1 s)

Test that a simulator supports multiple time courses with non-zero initial times
Reason for skip:
The image 'ghcr.io/biosimulators/biosimulators_boolnet/boolnet:2.1.5' could not execute the archive:

  Unknown error

Log:
/usr/local/lib/python3.9/site-packages/biosimulators_utils/warnings.py:31: BioSimulatorsWarning: COMBINE/OMEX archive may be invalid.

  - The manifest does not include its parent COMBINE/OMEX archive. Manifests should include their parent COMBINE/OMEX archives.

  warnings.warn(termcolor.colored(message, Colors.warning.value), category)

/usr/local/lib/python3.9/site-packages/biosimulators_utils/warnings.py:31: BioSimulatorsWarning: The SED document is potentially incorrect.

  - Model `model` may be invalid.

    - The model file `BIOMD0000000562_url.xml` may be invalid.

      - In situations where a mathematical expression refers to a compartment, species or parameter, it is necessary to know the units of the object to establish unit consistency. In models where the units of an object have not been declared, libSBML does not yet have the functionality to accurately verify the consistency of the units in mathematical expressions referring to that object.

         The units of the <compartment> 'main' cannot be fully checked. Unit consistency reported as either no errors or further unit errors related to this object may not be accurate.

      - If neither the attribute 'units' nor the attribute 'spatialDimensions' on a Compartment object is set, the unit associated with that compartment's size is undefined.

        Reference: L3V1 Section 4.5

         The <compartment> 'main' has no discernable units.

  warnings.warn(termcolor.colored(message, Colors.warning.value), category)

/usr/local/lib/python3.9/site-packages/biosimulators_utils/warnings.py:31: BioSimulatorsWarning: The COMBINE/OMEX archive may be invalid.

  - The SED-ML file at location `./simulation.sedml` may be invalid.

    - Model `model` may be invalid.

      - The model file `BIOMD0000000562_url.xml` may be invalid.

        - In situations where a mathematical expression refers to a compartment, species or parameter, it is necessary to know the units of the object to establish unit consistency. In models where the units of an object have not been declared, libSBML does not yet have the functionality to accurately verify the consistency of the units in mathematical expressions referring to that object.

           The units of the <compartment> 'main' cannot be fully checked. Unit consistency reported as either no errors or further unit errors related to this object may not be accurate.

        - If neither the attribute 'units' nor the attribute 'spatialDimensions' on a Compartment object is set, the unit associated with that compartment's size is undefined.

          Reference: L3V1 Section 4.5

           The <compartment> 'main' has no discernable units.

  warnings.warn(termcolor.colored(message, Colors.warning.value), category)

Archive contains 1 SED-ML documents with 1 models, 1 simulations, 1 tasks, 1 reports, and 0 plots:

  simulation.sedml:

    Tasks (1):

      task

    Reports (1):

      report: 5 data sets

Executing SED-ML file 1: simulation.sedml ...

Bundling outputs ...

Cleaning up ...

============= SUMMARY =============

Executed 1 SED documents:

  SED documents (1):

    Succeeded: 0

    Skipped: 0

    Failed: 1

  Tasks (1):

    Succeeded: 0

    Skipped: 0

    Failed: 1

  Outputs (1):

    Succeeded: 0

    Skipped: 1

    Failed: 0

The COMBINE/OMEX did not execute successfully:

  The SED document did not execute successfully:

    Simulation `simulation` is invalid.

      - Initial time must be 0.

R[write to console]: Warning message:

R[write to console]: In (function (package, help, pos = 2, lib.loc = NULL, character.only = FALSE,  :

R[write to console]:

R[write to console]:  library ‘/usr/lib/R/site-library’ contains no packages

The image for your simulator is valid!

Your submission was committed to the BioSimulators registry. Thank you!
Future submissions of subsequent versions of boolnet to the BioSimulators registry will be automatically validated. These submissions will not require manual review by the BioSimulators Team.


syscall: windows doesn't allow renames for read-only files

On Windows, right now we map the lack of the writable bit in Unix file permissions to FILE_ATTRIBUTES_READONLY.  This sort of works fine, but this actually prohibits rename-in-place, whereas it's allowed on Unix.
I'm not suggesting that we change this mapping to something else right now, but in case things pop up down the line related to this, here's a bug to track it.
cc @bcmills @alexbrainman

CC @jayconrod
Is there anything to actively do for this issue? (Should we leave it open, or close it and just use it as a point of reference?)

At least we should document the behavior.

The file system behaviour itself is already documented as part of the OS. As long as Go doesn't do anything special to prevent the rename, that's exactly where that documentation should live.
It might make sense to document the mapping of Unix permission bits to Windows file attributes though.

@slrz, the Go os and syscall packages map to Windows system calls in a non-trivial way, particularly where file permissions are concerned. The documentation supplied “as part of the OS” does not describe that mapping.


Add configuration options

This PR adds a couple of configuration options:

brute.force.large.message.enabled to toggle support for large message conversion
brute.force.ignore.no.match to keep data as byte arrays if no conversion worked
brute.force.serdes to configure a list of Serde for brute-force-serde
brute.force.convertersto configure a list of Converter for brute-force-connect

The defaults for all configuration are set in a way that the changes shouldn't be breaking.
Closes #4

@philipp94831 All tests in dead-letter-analyzer still pass with this version

Please check if https://github.com/bakdata/kafka-dead-letter-analyzer works properly
Please also check sonar https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&sinceLeakPeriod=true&id=com.bakdata.kafka%3Abrute-force

@torbsto there are still two open sonar issues :)

@philipp94831 My bad, I had to clear the filters to see all issues. They should be resolved now


[SwitchTube] Add new extractor

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[ ] Read youtube-dl coding conventions and adjusted the code to meet them
Mostly, some lines are often longer than 80 columns, and no data point is extracted from more than a single source.
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
This pull request adds tube.switch.ch, probably the largest Swiss website for universities to share lecture videos.

I updated the code either exactly as suggested or similarly.

I believe I was missing from __future__ import unicode_literals. I added it.

Can someone please approve the CI tests?

I implemented the suggestions.

Can somebody look into this?

SwitchTube has apparently changes the playlist website format, making a large part of this extractor useless.
PLEASE DO NOT MERGE.
I will try to fix it in a week.

I've split the previous SwitchTubeProfileOrChannelIE into SwitchTubeProfileIE (which was not changed on the website) and SwitchTubeChannelIE (which changed). It should work again now.


Process

It reprocesses the text each time. Can we process and add the information beforehand?

fixed: https://github.com/muktadiur/clark/commit/956bcd0b4a7e7373490bb686983da719cad828ea


Yunfile Plugin Outdated !

Please update yunfile plugin to the latest one.
Thanks

is that working now ? I am so sorry for late response.

after i finish installing it shows "HTTP ERROR 500".
my vps system is Centos 6 in 64 bits.


scan of device_put carry raises TypeError during the backward pass

Description
After jax 0.4.30, the following code raises
TypeError: body_fun output and input must have identical types, got
('ShapedArray(int32[], weak_type=True)', ['DIFFERENT ShapedArray(int32[], weak_type=True) vs. ShapedArray(float0[])', 'ShapedArray(float32[], weak_type=True)'], []).

import jax

def f(ix, t):
    return ix, ix[1] + t

def scan_f(x):
    ix = jax.device_put((0, x))
    _, xs = jax.lax.scan(f, ix, jax.numpy.arange(10))
    return xs.sum()

jax.grad(scan_f)(1.)

This does not happen if we define
ix = 0, jax.device_put(x)

or
ix = jax.device_put(0), jax.device_put(x)

System info (python version, jaxlib version, accelerator, etc.)
jax:    0.4.30
jaxlib: 0.4.30
numpy:  1.26.0
python: 3.10.13 (main, Aug 24 2023, 12:59:26) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
jax.devices (1 total, 1 local): [CpuDevice(id=0)]
process_count: 1

I'll take a look. Thanks for the minimal repro!

I think this is a case of inconsistent dtypes.. the following works where everything is a float (instead of a combination of float and int).
In [4]: import jax
   ...:
   ...: def f(ix, t):
   ...:     return ix, ix[1] + t
   ...:
   ...: def scan_f(x):
   ...:     ix = jax.device_put((0., x))
   ...:     _, xs = jax.lax.scan(f, ix, jax.numpy.arange(10, dtype=np.float32))
   ...:     return xs.sum()
   ...:
   ...: jax.grad(scan_f)(1.)
 I'll look into improving it.

Hi @fehiepsi,
Thanks for reporting this, could you try to execute the code in 0.4.34 and higher Jax version, it seems to be working fine.
Attaching gist for your reference.
Thank you.

Let's close this issue then. Thanks!


Use more reliable (and slower) typeText() to edit the names of the documents in the integration test

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] The Unreleased section in CHANGELOG.md has been amended to reflect the changes in this PR
[X] Build (mvn verify) was run locally and any changes were pushed
[X] The pull request is against the correct branch (master for bug fixes, develop for new functionality)

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[X] Refactoring (no functional changes, no API changes)
[X] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: fixes #159
The tests in the corpus structure editor where particular time sensitive, because renaming the example documents did not always work.
What is the new behavior?

The new test will use typeText() when renaming the documents. This affects almost all tests in TestCorpusStructure, because this initial corpus structure was part of almost all tests.
Does this introduce a breaking change?

[ ] Yes
[X] No

Does this introduce new dependencies?

[ ] Yes
[X] No

If this introduces new dependencies:

[ ] Dependencies and citation templates have been updated where necessary

Other information

Checklist for maintainers
Releases

[ ] Do NOT push the green merge button on GitHub.
Follow the latest version of the developer/maintainer docs for making releases.
[ ] License and citation information for dependencies are complete (each dependency has a folder in /THIRD-PARTY/).

Integration tests fail locally on my machine (18.04 on Wayland):
testRenameDocument  Time elapsed: 0.721 s  <<< ERROR!
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find node with text: abc
	at org.corpus_tools.hexatomic.it.tests.TestCorpusStructure.testRenameDocument(TestCorpusStructure.java:93)

testFilter  Time elapsed: 0.657 s  <<< ERROR!
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find node with text: abc
	at org.corpus_tools.hexatomic.it.tests.TestCorpusStructure.testFilter(TestCorpusStructure.java:104)

This could be another SWTBot bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=549679). I reverted the changes and and applied the same fix as for the other UI tests (using SWTKeyboardStrategy) to avoid issues with the orignally uses pressShortcut()

All passing now :).


[Event Request] Table 246 "Requisition Line" - OnSetReplenishmentSystemFromProdOrderOnBeforeMfgSetup

We are migrating our code from NAV 2018 to BC16.4. In the Table 246 "Requisition Line", in the procedure SetReplenishmentSystemFromProdOrder, we need to add some conditions. To do so, we need a IsHandled flag and an event publisher, like this :

With this integration event :

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Covid Detection on X-RAY scans using CNN

💥 Proposal
I would like to submit this proposal of building a Covid Detection CNN model that take XRAYS and input and classifies wether its a covid positive or a negative.
Im going to perform data preparation by extracting data from two datasets
https://github.com/ieee8023/covid-chestxray-dataset : for the covid positive xrays
https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia : for negative or normal xrays
i would like to start my contribution by working on this project.
In anticipation of your reply.

@PraNavKumAr01   - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!
Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.

will get to work right away
Thankyou,

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.

@UditSharma9999  - since we are following the first-come-first-serve policy, we will not be able to assign you this issue. However, you can create another issue on the similar lines.


LiteCommands Merch

LiteCommands Merch Suggestions:

Hoodies
Mugs
Pillows
and maybe get some ideas?

We hardly working on it, wait impatiently

LiteCommands Merch Suggestions:

Hoodies
Mugs
Pillows
and maybe get some ideas?

It will be a form of support for @Rollczi and Lite Developers

Why don't you write from the main  account? Sfenker

there is my suggestion for mug :), and @Rollczi account named @niemiecki-agent-tusk is not my account

This is my suggestion:
A hoodie with high-quality LiteCommands logo embroidery in the Christmas version (see the back of the hoodie) can be purchased for USD 83.27

Label inside hoodie:

100% issues with product guaranted by LiteCommands Certification

83.27

It's too expensive

83.27

It's too expensive

There is no margin yet


Unpack fails if managed server name in model is same as directory used to unpack the domain.

createDomain.sh completes successfully and my model file has managed servers defined in it - so I
expected there to be managed instance related directory in the domain dir along with the admin server. I only saw one directory there.
So I went ahead and used pack/unpack to create the managed server directory but it fails with below error -
$ unpack.sh -domain=$HOME/WLS_current/managed1 -template=/tmp/managed-t.jar
/apps/web/sfw/weblogic/wlserver/common/bin/unpack.sh -domain=$HOME/WLS_current/managed1 -template=/tmp/managed-t.jar
WARNING: This is a deprecated script. Please invoke the unpack.sh script under oracle_common/common/bin.
<< read template from "/tmp/managed-t.jar"

succeed: read template from "/tmp/managed-t.jar"
<< set config option DomainName to "xxxx"
succeed: set config option DomainName to "xxx"
validateConfig "KeyStorePasswords"
succeed: validateConfig "KeyStorePasswords"
<< write Domain to "/apps/web/weblogic_svc/WLS_current/managed1"
fail: write Domain to "/apps/web/weblogic_svc/WLS_current/managed1"
60301: Domain name conflict.
60301: The name of the WebLogic domain and the server and cluster names within it must be unique. A server or cluster already exists with the WebLogic domain name you specified.
60301: Change the name of the domain, conflicting server or cluster.

I had to use a new managed server name and then it succeeds but that is not what I want - I need a domain dir corresponding to the already defined managed1 server.
I think the documents should clarify what the process for creating both admin and manged instances to be deployed on remote nodes (not the same node where admin is) looks like.

We are just going to try and run createDomain on all managed server VMs and just start managed instances there - we will have to clean up the admin server specific things from the domain dir intended for the managed instances I guess?
It would be better to have the createDomain script do it - perhaps with a switch for creating managed instance on remote server using ssh?


🗃 Create OAuthCredential model

Generated summary (powered by Graphite)

TL;DR
This pull request introduces a new table auth__oauth_credentials to store OAuth credentials for users. It also includes a new model OAuthCredential to interact with this table.
What changed
A new table auth__oauth_credentials has been created with the following columns:

provider: The OAuth provider (e.g., Google, Facebook)
access_token: The access token received from the OAuth provider
refresh_token: The refresh token received from the OAuth provider
expires_at: The expiration date and time of the access token
uid: The unique ID from the OAuth provider
user_id: The ID of the user in our application

A new model OAuthCredential has been added to interact with the auth__oauth_credentials table. This model includes all the columns of the table as its attributes.
How to test
To test this change, you can create a new OAuthCredential object and try to save it to the database. You can also try to query the auth__oauth_credentials table using this model.
Why make this change
This change is necessary to store and manage OAuth credentials for users. It allows us to authenticate users using their OAuth credentials and perform actions on their behalf.

Current dependencies on/for this PR:

main

PR #22   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 8, 10:04 AM: @sjquant started a stack merge that includes this pull request via Graphite.


oneDNN: support building with opencl support

Description of changes
Intel's oneDNN can be built fairly painlessly with opencl support. Have tested on an 11th Gen intel CPU running the intel-compute-runtime on nixos:
  hardware.opengl = {
    enable = true;
    extraPackages = [ pkgs.intel-compute-runtime ];
  };

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)
[x] 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.11 Release Notes (or backporting 23.05 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

[ ] Fits CONTRIBUTING.md.

at least on my machine, the opencl performance is horrific though, so maybe not worth merging.

closing since probably not worth the maintenance hassle


Set .NET Framework Version in Visual Studio for DataConnector project

Does anyone know how to do this; the standard advice does not seem to be applicable for this type of project?

I don't understand what you mean. Custom data connectors do not target a specific version of the .NET Framework. To the extent that the project file indicates otherwise, it's that we didn't put a lot of effort into creating a more-custom project file format.

See attached, which what I see on opening the project; it happened I think because the version of VS I used to create the project is different to the one I'm using now


Step by Step Guide On MacOSX

Hope this is helpful for others. I have tested it on Mojave. Great library!
# How to Install on MacOSX #
git clone https://github.com/rwightman/posenet-python.git  # Clone Git Repo
cd posenet-python/ # Change directory to project
virtualenv venv     # Create a virtual environment
source venv/bin/activate # Activate Virtual Environment
sudo pip3 install tensorflow scipy pyyaml opencv-python==<IP_ADDRESS> # Install necessary packages

Run the demo!
python3 webcam_demo.py

Thanks. Every time I run this I get the error below. Any chance you can help? Thanks!
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

@srego Which part are you trying to run?

when I run the "python3 webcam_demo.py" and the error below pops up
AttributeError: module 'tensorflow' has no attribute 'Session'
ts 2.0 cpu was installed after pip install command

Well, it doesn't quite work:
python3 image_demo.py
[libprotobuf ERROR google/protobuf/descriptor_database.cc:394] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
[libprotobuf FATAL google/protobuf/descriptor.cc:1359] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
Abort trap: 6

when I run the "python3 webcam_demo.py" and the error below pops up
AttributeError: module 'tensorflow' has no attribute 'Session'
ts 2.0 cpu was installed after pip install command
Uninstalling ts 2 and installing ts 1 will solve the problem, but a bunch of warning will show up

you can try to change "tf.Session()" to "tf.compat.v1.Session()"

Yaa @alam-haha , but the moment we do that we get ->
AttributeError: module 'tensorflow' has no attribute 'global_variables_initializer'

when I run the "python3 webcam_demo.py" and the error below pops up
AttributeError: module 'tensorflow' has no attribute 'Session'
ts 2.0 cpu was installed after pip install command
Uninstalling ts 2 and installing ts 1 will solve the problem, but a bunch of warning will show up

that worked for me.


Add Bullseye installer

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.296%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
381

Relevant Lines:
506

💛  - Coveralls


Can we get the original images instead of just tokens?

Would it be possible to provide the original images in addition to the image tokens? I'm hoping to experiment with a different encoder and I'm worried that reconstructing the images with magvit2 would remove a lot of noise that would be important in its evaluation.

https://github.com/1x-technologies/1xgpt/issues/3 still applies at this time unfortunately - we're still not ready yet to release raw images; let us know if there are any alternate tokenizers you think would work better


Adding PitchShifter to bus makes audio sound worse the more it's played.

Godot version:
Godot v3.0.6 Stable
OS/device including version:
Windows 10 Pro version 1803
Issue description:
I have a function that plays a sound from an AudioStreamPlayer node:
extends AudioStreamPlayer
func sound():
    play()
The AudioStreamPlayer node is hooked up to the Master bus, which has a PitchShift effect added (value is 1).
I expected the sound to play normally each time the function is called, but instead, the sound gets of progressively lower quality (softer, more airy) each time it's played.
Video
Here's a video of it happening. Try skipping from the beginning to the end to see the difference more clearly. It gets especially noticeable around the 100th time.
Steps to reproduce:

Add a PitchShift effect to the Master bus
Create an AudioStreamPlayer node
Add a sound to it (I tested with several different sounds and they all produce a similar effect)
Create a function in it that plays a sound
Call this function continuously (I also tried the animator)
Every time the sound plays it gets a little more blurry

Minimal reproduction project:
Audio Problem.zip

I can't reproduce it in the current master branch / 3.2 beta 6, so it might have been fixed since this was initially reported.


[Bug]: LeaderboardService has a hardcoded dependency on a "users" table

What happened?
The LeaderboardService.php has a hard-coded dependency on there being a users table, ignoring the configuration file with  ->whereColumn('user_id', 'users.id').
<?php

namespace LevelUp\Experience\Services;

use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
use LevelUp\Experience\Models\Experience;

class LeaderboardService
{
    private mixed $userModel;

    public function __construct()
    {
        $this->userModel = config(key: 'level-up.user.model');
    }

    public function generate(bool $paginate = false, int $limit = null): array|Collection|LengthAwarePaginator
    {
        return $this->userModel::query()
            ->with(relations: ['experience', 'level'])
            ->orderByDesc(
                column: Experience::select('experience_points')
                    ->whereColumn('user_id', 'users.id')
                    ->latest()
            )
            ->take($limit)
            ->when($paginate, fn (Builder $query) => $query->paginate(), fn (Builder $query) => $query->get());
    }
}

How to reproduce the bug
Use a table that isn't named 'users'.
Package Version
latest
PHP Version
8.2.11
Laravel Version
10
Which operating systems does with happen with?
No response
Notes
Two database migrations also have hardcoded references to users, while the rest read from the config.

Hi,
Thanks for bringing these to my attention.

If not I'll get to it.
Thanks.


Refactor: Override Default MUI Selected Menu Item Behavior in OptionsMenu to Match Mockup Design

Description
The default MUI behavior for selected menu items in OptionsMenu persists the highlight of the first child of the selected menu item. This behavior is inconsistent with the mockup design, which requires a different highlight behavior.
Acceptance Criteria

Ensure that the highlight behavior matches the mockup design.
Verify that the first child of the selected menu item does not persist the highlight.

@kinskiwu Would you agree that this issue can be closed?

Closing this ticket as new ticket #416 created


cvxpy cannot be imported in python 3.12

Is there a plan to make a new release soon? Even if it can be installed with python 3.12,  version 1.4.2 cannot be used there due to syntax errors in some docstrings. This error shows up when pytest tries to collect tests in our codebase:
import cvxpy as cp
.venv/lib/python3.12/site-packages/cvxpy/__init__.py:57: in <module>
    from cvxpy.problems.problem import Problem as Problem
.venv/lib/python3.12/site-packages/cvxpy/problems/problem.py:38: in <module>
    from cvxpy.reductions import InverseData
.venv/lib/python3.12/site-packages/cvxpy/reductions/__init__.py:24: in <module>
    from cvxpy.reductions.dcp2cone.dcp2cone import Dcp2Cone
.venv/lib/python3.12/site-packages/cvxpy/reductions/dcp2cone/dcp2cone.py:24: in <module>
    from cvxpy.reductions.dcp2cone.canonicalizers import CANON_METHODS as cone_canon_methods
.venv/lib/python3.12/site-packages/cvxpy/reductions/dcp2cone/canonicalizers/__init__.py:44: in <module>
    from cvxpy.reductions.dcp2cone.canonicalizers.suppfunc_canon import (
.venv/lib/python3.12/site-packages/cvxpy/reductions/dcp2cone/canonicalizers/suppfunc_canon.py:5: in <module>
    from cvxpy.reductions.solvers.conic_solvers.scs_conif import (
.venv/lib/python3.12/site-packages/cvxpy/reductions/solvers/conic_solvers/__init__.py:34: in <module>
    from .sdpa_conif import SDPA
E     File "/__w/growth/growth/.venv/lib/python3.12/site-packages/cvxpy/reductions/solvers/conic_solvers/sdpa_conif.py", line 136
E       """
E       ^^^
E   SyntaxError: invalid escape sequence '\i'

I can see that the issue is already fixed in main, but no release has been made since. Could a patch version get release to get around the issue?

A patch is imminent (next few days).

The latest release (https://pypi.org/project/cvxpy/1.4.3/) includes the fix (#2351).


Configure sendmail

We don't want sendmail to actually work - it should capture requests to it and send them to a user configured email address.

Fixed by 7af3afe


Restart connection hotkey

Can we have a restart connection or window hotkey please?
feature request tag

That would be so useful 👍


1.2.0 Feature: Rename and expand the feature linked to autoConnect client options

It doesn't make sense to be able to disable automatic connection but then not have access to connect or close methods on the Realtime instance or its connection instance.
Therefore, I've expanded this feature to include more specification points and have renamed it accordingly.
One of a family of pull requests addressing #3.

Having addressed @lmars' comment, I'm going to merge this pull request without waiting for approval. It has been open for a while and there is a stack of pull requests ahead of it. We are likely to have another look at the entire work at the end, to double check that it congeals holistically, so the risk of merge without approval is low.


Add rss-origin-less-primary

https://github.com/Qazerowl/RSS-Origin-Less

identifier: rss-origin-less-primary
name: RSS-Origin Less - Primary
abstract: >-
  A paired-down version of CharonSSS's amazing RSS-Origin Celestial Pack. Adds
  only the "best" 26 bodies instead of the full pack's 189 additions. I would
  not recommend installing any of the original "RSS-Origin CelestialsPacks"
  packages in addition to this one due to overlap.
author:
  - Qazerowl
  - CharonSSS
$kref: '#/ckan/github/Qazerowl/RSS-Origin-Less/asset_match/Primary'
tags:
  - config
  - planet-pack
ksp_version_min: 1.12.0
depends:
  - name: RSSOrigin
  - name: ModuleManager
suggests:
  - name: rss-origin-less-secondary
x_via: Generated by Metadata Webtool

rss-origin-less-secondary submitted on #10255

I generated this with the metadata webtool but it looks like it needs the following lines appended to be processed by netkan correctly:
spec_version: v1.31
license: CC-BY-NC-SA
install:
  - find: RSSOrigin
    install_to: GameData

Hey @Qazerowl, the original mod is already broken out into a huge number of separate packages:

Would it be possible for a user to get the result same simply by selecting a few of those rather than installing this new mod?

The short answer is no.
The original mod adds about 200 new (real) bodies to the Real Solar System
mod. They are grouped by category, so the packages that already exist are
essentially "add 10 more moons to Jupiter", "add 10 more moons to Saturn",
"add 30 asteroids", etc. My collection is more like "add 2 bodies from each
category". So it is possible to achieve the same result only by downloading
almost ALL of the existing packages, and then manually deleting most of the
files: leaving only a select few from each package. Neither the "primary"
nor "secondary" packages I submitted use any of the original categories in
their entirety.
On Tue, Oct 15, 2024, 11:34 PM HebaruSan @.***> wrote:

Hey @Qazerowl https://github.com/Qazerowl, the original mod is already
broken out into a huge number of separate packages:
image.png (view on web)
https://github.com/user-attachments/assets/c47a84f3-d7fe-4d4b-b453-9a1db31cb701
Would it be possible for a user to get the result same simply by selecting
a few of those rather than installing this new mod?
—
Reply to this email directly, view it on GitHub
https://github.com/KSP-CKAN/NetKAN/issues/10254#issuecomment-2415656519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACZM3D4A7WI7SLNWWBPFX3Z3XNEFAVCNFSM6AAAAABP5RASJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVGY2TMNJRHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Config reload [WIP]

This is a rough first pass at config reload (issue #338). This is just a tracer that implements reload support for the trace config option to prove out a working end-to-end example. If we like the overall approach, we can start implementing support for additional config options in a piecemeal fashion. This PR is mostly just to get early feedback.
This PR does a few things:

Adds a Reload function to Server which can be called to reload configuration from a file.
Adds support for reloading trace option. Attempting to change any other options will result in a reload failure.
If reload fails, the server continues using the previous config.
Adds a SIGHUP handler which invokes config reload.
Some small refactors to reuse code and minimize changes.

Open questions:

If the new config file is invalid, should we dump the last good config to a .bak file (or do something else)?
How should we signal config reload on Windows?

@nats-io/core

Anyone know what's up with the unit tests? go test is returning with exit status 1 but it looks like all the tests passed.

All builds fail at "TestRouteTLSHandshakeError", you may want to look if your changes have introduced a call to os.Exit() or something that this test may trigger.

Coverage decreased (-0.1%) to 91.003% when pulling 43ee0ce6dfbb61cc21c3320a0ffcbd11f90c1b4a on config_reload into d6069447d22cc48d7b70c144f4634784748852bb on master.

Coverage decreased (-0.1%) to 91.023% when pulling c8280aaee43414f64e59bbcb5619b8fe15e97273 on config_reload into d6069447d22cc48d7b70c144f4634784748852bb on master.

Coverage decreased (-0.2%) to 90.997% when pulling 677ff0aae072d5d6f6bda1edfdc4628c9c64d3fc on config_reload into d6069447d22cc48d7b70c144f4634784748852bb on master.

Regarding a config reload on windows. some other mechanism will be needed (that signal is not really supported).  Either a REST API, or something else.  We have the same issue with log rotation.

@ColinSullivan1 Yep, since we're not exposing the signals yet, I think we can defer the decision for what we want to do on Windows for now. That can come at a later time when we're ready to expose the feature.

Coverage decreased (-0.2%) to 90.906% when pulling cef5a703ea0a6af88577880fae7ad1dc452e3ea0 on config_reload into d6069447d22cc48d7b70c144f4634784748852bb on master.

@tylertreat Let's rebase to master. Keep signalling removed and make sure we cover Windows builds, etc. Then we are good to go.

Coverage increased (+0.5%) to 91.3% when pulling 1e799110af397228c64d8b49a83bc81919c89853 on config_reload into cba3170c1e21e02f2087e195ee31bf6dbf7a7b3d on master.

Coverage increased (+0.6%) to 91.407% when pulling 1e799110af397228c64d8b49a83bc81919c89853 on config_reload into cba3170c1e21e02f2087e195ee31bf6dbf7a7b3d on master.

Coverage increased (+0.2%) to 90.925% when pulling 1e799110af397228c64d8b49a83bc81919c89853 on config_reload into cba3170c1e21e02f2087e195ee31bf6dbf7a7b3d on master.

I believe I've addressed everyone's feedback. @kozlovic can you take another look?

Coverage increased (+0.4%) to 91.193% when pulling 4f28bf7630180cd795bfe717aa735087d9a559b6 on config_reload into cba3170c1e21e02f2087e195ee31bf6dbf7a7b3d on master.

@derekcollison I think this is good to go.


Segmentation fault when running the program

i have been trying to download the correct packages for running DiffSBDD, but I get a "Segmentation Fault (core dumped)" after I tried to fix the following error:
"ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/au649283/anaconda3/envs/sbdd/lib/python3.10/site-packages/rdkit/Chem/../../../../libRDKitFileParsers.so.1)"
I tried doing "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/" to fix the importerror, but now results in seg fault

Same issue on WSL2 Debian 12:
 python generate_ligands.py checkpoints/crossdocked_fullatom_cond.ckpt --pdbfile example/3rfm.pdb --outfile example/3rfm_mol.sdf --ref_ligand A:330 --n_samples 20
Traceback (most recent call last):
  File "/home/evehom/Programs/DiffSBDD/generate_ligands.py", line 8, in <module>
    import utils
  File "/home/evehom/Programs/DiffSBDD/utils.py", line 6, in <module>
    from rdkit import Chem
  File "/home/evehom/miniconda3/envs/diffsbdd/lib/python3.12/site-packages/rdkit/Chem/__init__.py", line 16, in <module>
    from rdkit.Chem import rdchem
ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /home/evehom/miniconda3/envs/diffsbdd/lib/python3.12/site-packages/rdkit/Chem/../../../../libboost_serialization.so.1.86.0)

Please advise on how to resolve this.
Thanks/Evert


Modals don't work with mobile safari

The bs-modal component doesn't seem to work on Safari for iPhone.  The modal dialog does not appear on the screen.

I cannot reproduce. Tested it, works for me without any problems.
Can you provide a code sample? And it does work for other (desktop) browsers, does it?

Thanks for your reply.  After doing some more digging, I discovered that this is not an issue with ember-bootstrap.  I was trying to launch a bootstrap modal from a click on a row .  After reading this https://guides.emberjs.com/v2.3.0/templates/actions/#toc_attaching-actions-to-non-clickable-elements I added tr { cursor: pointer;} to my css and everything worked.


UX: Menu button loading just off-center on tablet-sized screens instead of corner

This is on iPad:

The menu is also cut-off if opened:


Xcode 12 Build Error WeakMapTable target 8.0 error

Showing Recent Messages
The package product 'WeakMapTable' requires minimum platform version 9.0 for the iOS platform, but this target supports 8.0
The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.
SPM

probably linked to https://github.com/ReactorKit/ReactorKit/issues/165 & https://github.com/ReactorKit/ReactorKit/pull/163

This is fixed in #163 which hasn't been merged yet, but you can use my ReactorKit fork in the meantime if you need an immediate fix.


Mystery variables

What are the variables at the top supposed to represent?
Why 'var a = []' over 'var asteroids = []'?
Why 'var v = 0.73', 'var v1 = -1'?

@suyashgupta20 I think these lines were added by you, can you explain these to him?

@KenyStev I developed this game in a hackathon, and that too while I was a newbie in development so I apologise for the badly written code. I've been wanting to rewrite the code, but I'm unable to find reasonable amount of time.

I guessed that but despite of being made on your baby steps it could be a great game.
I've made some very few structure modifies on this PR JSON Level definition structure


Add Firebase Custom Server Integration.

Add firebase custom server integration and some conditional to package manager build setup instruction in README.md and sao.js for better description.

@davidroyer has succeed with his way, I hope he would like to help here.

@ekoeryanto I also use code taken from @davidroyer repository. I've tried both my way and david way, it becomes a problem when we use custom tag component from third party library like Vuetify.

@clarkdo @jefrydco Any chance on this getting pushed soon? That would be awesome

Would be great to update the PR to fix these conflicts (or create a new one?)

I do believe it's best to use nuxt-fire for such integration with Firebase.


How to run Perform horizon detection, thank you

How to run Perform horizon detection, thank you

Hi,
there is a separate repository for that task: https://github.com/vislearn/ngdsac_horizon
Best,
Eric