PIL: Allow statements that evaluate to () and block expression that return nothing should return ()

The following code should be valid at any context:
let f: int -> () = |i| {};
let g = |i| {
  f();
}

It essentially means that

the last component in a Block can be empty, which is the same as ().
if e evaluates to () the just e; at statement level is the same as let _ = e; (or in other words, the type () is valid for an expression at statement level)

and just because we are touching this area:

A block with just an expression is a valid block, i.e. the statement vector can be empty.

All functions that return constr[] in the standard library but don't actually return something should be changed to return ()

This block in the grammar seems to be the one represented by BracedExpression, but what about BlockExpression? Both should be unified?
https://github.com/powdr-labs/powdr/blob/9472671b9bb2f936c372fa98dbce381fda61c999/parser/src/powdr.lalrpop#L631

Yes, I think so!

Hey Cris, I'm combining both expressions, but allowing the blocks to be empty generates a few shift-reduce conflicts.
The main problem is that there are several rules in the grammar with:
"{" <expressions:ExpressionList> “}”

for example:
SelectedExpressions: SelectedExpressions<Expression> = {
    <selector:Expression?> "{" <expressions:ExpressionList> "}" => SelectedExpressions{<>},
    Expression => SelectedExpressions{selector: None, expressions: vec![<>]},
}

and if I allow the blocks to be empty (or actually, if I allow it to have no statement at all), the parser doesn't know how to handle it:
BlockExpression: Box<Expression> = {
    "{" <stmts:StatementInsideBlock*> <expr:BoxedExpression?> "}" => Box::new(Expression::BlockExpression(stmts, expr))
}

How do you think we should approach it? I don't see that they can be combined, so I guess we would have to differentiate them in the grammar with some special token or something maybe? What do you think?

Ah right, the SelectedExpressions are quite annoying and will give us headaches for some other things as well (for example structs). So maybe we should change that syntax? It will break compatibility with polygon-pil, but I guess that is fine.
What about a * [x, y]? Then a lookup would look like a * [x, y] in b * [v, w].
I think this could work with the grammar. It would still be a special case with the type checker because the Mul trait will not be able to have different types, but I think it's still a step forward.


#2 allow to export properties to C4 PlantUML files

This PR would be a solution for #2 by adding properties to elements and relationships.
The resulting diagram would look like that:

This functionality needs to be explicitely enabled by setting com.structurizr.export.plantuml.AbstractPlantUMLExporter#PLANTUML_ADD_PROPERTIES_PROPERTY to true

The content of this pull request is part of https://github.com/cloudflightio/structurizr-export-c4plantuml now which can be used as a replacement to this library. As soon as this PR is merged and released, I can remove the code from the other repository again.
There is also other code in that repo (i.e. for tagging/styling), which I could also offer as a PR then.

Thanks for this. Some initial thoughts:

Since this seems to be C4-PlantUML specific, perhaps the view set property would be better named c4plantuml.addProperties to avoid any confusion that the feature is not available for the regular PlantUML export.
On that note though, it might make sense to have two view set properties (e.g. c4plantuml.elementProperties and c4plantuml.relationshipProperties) so that users can choose which are shown ... I can imagine some people will be less inclined to see relationship properties.

Thanks for this. Some initial thoughts:

Since this seems to be C4-PlantUML specific, perhaps the view set property would be better named c4plantuml.addProperties to avoid any confusion that the feature is not available for the regular PlantUML export.
On that note though, it might make sense to have two view set properties (e.g. c4plantuml.elementProperties and c4plantuml.relationshipProperties) so that users can choose which are shown ... I can imagine some people will be less inclined to see relationship properties.

changed the PR accordingly


Enable scalafmt linter autofix

Add a redundant lint error with severity "autofix" so that developers can use arc lint --apply-patches to automatically format their code.
I've retained the lint error with severity "error" (even though they're redundant) to ensure formatting is non-optional. Otherwise, if you decline to apply the patches, Arcanist still says linting found no errors, which we don't want.

lgtm


Update to the latest DotNetWinRT and MSBuild for Unity packages

This change updates the minimum versions of DotNetWinRT and MSBuild for Unity to 0.5.1043 and 0.9.1-20200131.14, respectively.
Fixes build issue when using the .NET backend

/azp run


create lisntener to check UCJdao consequently

address: https://nanopay.atlassian.net/browse/NP-2693
note: Create a listener that will check crunch service continuously and stoped when the it get approved and update ucjStatus in UI. I do have a question, do we need to stop this continuous function when we switch pages? How can I do that?

The onDetach() will remove the listener when the view is removed.


Wrong Prices Used During Backtest

🐛 Bug Description
Looking at the prices printed during the backtest, they seem to be off from the real prices.
[3674:MainThread](2021-02-14 22:10:40,855) INFO - qlib.backtest - [backtest.py:96] - [I 2021-02-12]: trade begin.
[I 2021-02-12]: sell LRCX, price 20.59, amount 173811.35, value 3579092.91.
[I 2021-02-12]: sell MXIM, price 3.30, amount 1035740.10, value 3418408.01.
[I 2021-02-12]: sell PPL, price 2.97, amount 1063778.08, value 3156110.89.
[I 2021-02-12]: sell ADSK, price 24.99, amount 130754.71, value 3267439.13.

For example, LRCX closed at 586.16 on 2021-02-12, not 20.59. Soure: https://finance.yahoo.com/quote/LRCX/
It seems like all the prices are off by a lot. I checked the raw data csv that gets downloaded by the yahoo data downloader in Qlib, and they have the correct data there.
To Reproduce
Steps to reproduce the behavior:

Prepare the Yahoo data set for the US market with these instructions: https://github.com/microsoft/qlib/tree/main/scripts/data_collector/yahoo#1d-from-yahoo-1
Copy sp500.txt from ~/.qlib/qlib_data/us_data/instruments/ to ~/.qlib/stock_data/source/qlib_us_1d/
Run the workflow in this gist with qrun: https://gist.github.com/aLeX1443/a56a0eb432c86a757ce1bf5b0cfd82f2

Environment

Qlib version: 0.6.2
Python version: 3.7
OS: Ubuntu 20.04
Commit number (optional, please provide it if you are using the dev version): 0b11dc5

@aLeX1443
The printed price is the adjusted price.
The original  price is  trade_price / order.factor. Thanks so much.
https://github.com/microsoft/qlib/blob/main/qlib/contrib/online/executor.py#L151
Thanks for your report

I see, thanks! The reason I'd like to see actual prices is I'm putting together a script that takes the price data up until yesterday and makes a prediction for tomorrow. Therefore, to automate a trade on a real exchange through an API, we will need to know the actual price to compute how many shares to buy.
I'll make a PR with this functionality once it is complete, as well as adding Docker as an option to run Qlib.


Added Section "Plugins and High Availability"

Noted auto install across servers
Noted slight behavior change in 5.15

@ali-farooq0 All good?  I can't add @justinegeffen as a reviewer because she is not part of the MM org it seems.

Thanks for tagging me! Apologies for the delay. :) My suggestion for the wording is this:
"When you reinstall a plugin in 5.14, the previous “Enabled" or "Disabled" state is retained. As of 5.15, a reinstalled plugin's initial state is “Disabled”."
If that works for everyone, I'm happy to update it once I'm in the MM organization.

Thanks for tagging me! Apologies for the delay. :) My suggestion for the wording is this:
"When you reinstall a plugin in 5.14, the previous “Enabled" or "Disabled" state is retained. As of 5.15, a reinstalled plugin's initial state is “Disabled”."
If that works for everyone, I'm happy to update it once I'm in the MM organization.

@justinegeffen Works for me. 👌


remove line breaks when text doesn't fit on one line

only for the second line. "we are minimill," should always be on its own line.

The lowest screen width I was planning on supporting was 320px (iPhone 4).
Do you see any reason why we should support lower than that?  I suppose people inspecting and shrinking the viewport...

haha that's how i found this. if you think it'll never come up, that's fine. though i dont think a line or two of css to solve for that would be terrible.

:+1:
On Wed, Aug 26, 2015, 8:22 PM Jeff Hilnbrand<EMAIL_ADDRESS>wrote:

haha that's how i found this. if you think it'll never come up, that's
fine. though i dont think a line or two of css to solve for that would be
terrible.
—
Reply to this email directly or view it on GitHub
https://github.com/minimill/minimill.github.io/issues/4#issuecomment-135273601
.


WSL2 not starting despite Hyper-V and virtualization being enabled

Background: I used to run WSL1 & WSL2 perfectly fine, I had to disable Hyper-V along with WSL a little bit ago. Ever since I disabled them in the past I haven't been able to enable everything properly again. Hyper-V features on enabled and services running, Virtualization is enabled in BIOS but yet... I cannot start WSL.
No hardware changes or anything else significant between the last time it worked and now.
Please fill out the below information:

Microsoft Windows [Version 10.0.19025.1051]

What you're doing and what's happening:

C:\WINDOWS\system32>wsl
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/wsl2-install

What's wrong / what should be happening instead:
It should just go into my WSL2 VM, it is instead just spitting out: Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.

wsl -l -v output:
C:\Users\Walshy\wsl-report>wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Stopped         2
  Debian    Stopped         1

Images of features, services and virtualization in task manager
Features:

Services:

Task Manager showing Virtualization enabled:

Strace of the failing command, if applicable:

C:\Users\Walshy\wsl-report>strace wsl -d Ubuntu
--- Process 12808 created
--- Process 12808 loaded C:\Windows\System32\ntdll.dll at 00007ffa89ab0000
--- Process 12808 loaded C:\Windows\System32\kernel32.dll at 00007ffa88b80000
--- Process 12808 loaded C:\Windows\System32\KernelBase.dll at 00007ffa87610000
--- Process 12808 loaded C:\Windows\System32\ucrtbase.dll at 00007ffa878e0000
--- Process 12808 thread 14612 created
--- Process 12808 loaded C:\Windows\System32\SHCore.dll at 00007ffa88cc0000
--- Process 12808 loaded C:\Windows\System32\msvcrt.dll at 00007ffa88d80000
--- Process 12808 loaded C:\Windows\System32\combase.dll at 00007ffa87b30000
--- Process 12808 loaded C:\Windows\System32\rpcrt4.dll at 00007ffa88330000
--- Process 12808 thread 13688 created
--- Process 12808 loaded C:\Windows\System32\ws2_32.dll at 00007ffa89840000
--- Process 12808 loaded C:\Windows\System32\kernel.appcore.dll at 00007ffa85b40000
--- Process 12808 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffa87380000
--- Process 12808 loaded C:\Windows\System32\sechost.dll at 00007ffa899d0000
--- Process 12808 loaded C:\Windows\System32\clbcatq.dll at 00007ffa89550000
--- Process 12808 thread 4416 created
--- Process 12808 thread 4616 created
--- Process 12808 thread 17776 created
--- Process 12808 loaded C:\Windows\System32\lxss\LxssManagerProxyStub.dll at 00007ffa7a100000
--- Process 12808, exception e06d7363 at 00007ffa87645a29
--- Process 12808 unloaded DLL at 00007ffa7a100000
--- Process 12808, exception e06d7363 at 00007ffa87645a29
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/wsl2-install
--- Process 12808 thread 14612 exited with status 0xffffffff
--- Process 12808 thread 13688 exited with status 0xffffffff
--- Process 12808 thread 4416 exited with status 0xffffffff
--- Process 12808 thread 4616 exited with status 0xffffffff
--- Process 12808 thread 17776 exited with status 0xffffffff
--- Process 12808 exited with status 0xffffffff

I have attached the logman details (Started before running wsl and stopped after it failed):
wsl-report.zip

Just to be sure, you do have the feature "Virtual Machine Platform" enabled, as in this picture?

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

@DropNib Yep, check the summary under wsl -l -v output and above the strace output.
@ad-on-is Yep, already tried with no success.
 There's been many many reboots during the process of trying to fix this over the last month. Even rebooted since last night when I posted this but yeah... nothing :/

I was having this same problem. I disabled AMD SVM, booted, then re-enabled AMD SVM and it worked again. Hope this helps

First of all, if you are in Windows 10 Pro try to run an hyper-v VM or launch Windows Sandbox. If those don't work either then the problem is in hyper-v.

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

So, It is not possible to use VM and WSL2 at same time?

@moriarity9211 - VMware Workstation 15.5 supports it.
https://blogs.vmware.com/workstation/2020/05/vmware-workstation-now-supports-hyper-v-mode.html

@benhillis
How it's going to help on original issue, did anyone solved this original issue in Win 10 home edition successfully? Can you please elaborate valid steps?
Thanks in advance!

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

Mine was working fine till I started up an Android Studio Emulator last week. Since then I've been fighting to try and get wsl2 working again. BIOS was good, features were turned on, but no dice.
Finally tried the command above with a reboot and it worked!

It works for me after update. I tried both bcdebit /set hypervisorlaunchtype auto & off it works but i have to restart my pc every time to update setting. After update it is working fine.

VMWare Workstation 15.5.5 Pro supports using the Microsoft Hypervisor Platform APIS.  You will need to be running that version or later.
WSL2 requires the "Virtual Machine Platform" optional component which is available on all SKUs.

This fixed it for me https://blog.johannfenech.com/fix-wslregisterdistribution-failed-with-error-0x80370102/
It took me days and two formats to figure out !

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

Mine was working fine till I started up an Android Studio Emulator last week. Since then I've been fighting to try and get wsl2 working again. BIOS was good, features were turned on, but no dice.
Finally tried the command above with a reboot and it worked!

Yes, it work for wsl, but doesn't good for VirtualBox.
WSL : bcdedit /set hypervisorlaunchtype auto + RESTART
VirtualBox: bcdedit /set hypervisorlaunchtype off + RESTART

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

Mine worked after this command
wsl doesn't work with other software using virtualization
I installed Andy Android Emulator and then this error code '0x80370102' appeared
maybe some VMs changes the windows features and wsl don't work after that

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

I was having the same problem, this worked great, thanks a lot !

@WalshyDev, at 2:58 in, this YouTuber  says to not enable Windows Hypervisor Platform when adding WSL2. He doesn't say why, though.

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

So, It is not possible to use VM and WSL2 at same time?

I quote this question. Is any way to have both WSL2 and VM ?

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.

So, It is not possible to use VM and WSL2 at same time?

I quote this question. Is any way to have both WSL2 and VM ?

I quote this reply as well, I want to have both WSL and VM working, is this possible? Thanks to all community for helping out!

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.
It really works if you ever tried android emulator.

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.
It really works if you ever tried android emulator.

Yeah it worked finally!
I used:
Activate VirtualBox (Disable Hyper-V):
bcdedit /set hypervisorlaunchtype off

Activate WSL (Enable Hyper-V):
bcdedit /set hypervisorlaunchtype auto

to enable and disable Hyper V so I can run WSL or VM. However, the PC needs restart

I have Hyper-V, Virtual Machine Platform and all the required features enabled, but this still doesn't work for me even after setting the bcd entry to auto.

I have the same issue, I have all the required features enabled (with the virtualization enabled in the BIOS). I don't have any emulator like the Android simulator or anything like that. I tried everything but nothing solves this issue.

Had no problem last week. But this is now happening to me. I didn't touch anything about the VirtualMachinePlatform. I didn't touch any BIOS settings. I'm relying on WSL2 for my work and now suddenly not working.

Had no problem last week. But this is now happening to me. I didn't touch anything about the VirtualMachinePlatform. I didn't touch any BIOS settings. I'm relying on WSL2 for my work and now suddenly not working
I tried:

reinstall WSL via Turn on/off features
run dism thingy to disable and enable WSL2 and Virtual Machine Platform
disable + re-enable the VT-d and Intel Vietualization Technology
run bcedit thingy to auto, and off as well
enable / disable hypervisor
uninstall docker desktop
uninstall windows subsystem for android
reset network adapters
reset winsock
restart the computer many times
check windows event viewer: no error related to wsl
subscribe to beta channel

Nothing worked for me.

Same thing as you.

I ended up re-installing Windows and tried to reinstall all programs one by one that were previously installed in my system. Took several hours for me (re-installed Windows multiple times) until I figured out which program did ruin the WSL.
Turned out that the culprit was [spacedesk](https://www.spacedesk net?ref=wsl-error). So, my solution was to not install spacedesk after re-installing, and WSL2 run smoothly without problems.

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

I ended up re-installing Windows and tried to reinstall all programs one by one that were previously installed in my system. Took several hours for me (re-installed Windows multiple times) until I figured out which program did ruin the WSL.
Turned out that the culprit was spacedesk. So, my solution was to not install spacedesk after re-installing Windows.

I also installed spacedesk before the error but at the same time I uninstalled it and I installed Duet Display so I don't know which program was the culprit.

I'm also having this issue seemingly as a result of installing Spacedesk. Trying to start, export, or change the version of an existing WSL2 VM gives the "Please enable the Virtual Machine Platform Windows feature" error message. I've tried every fix suggested here and in this thread but with no success. Thankfully WSL1 still works, after I reinstalled the distro.

Windows 10.0.19044.1415
WSL kernel version <IP_ADDRESS>
Spacedesk version 1.0.25

For me nothing described here or elsewhere worked.
Finally it fixed it for me by doing a update installation through the MediaCreationTool. Windows looks and behaves exact the same but wsl finally is working.
One Tip for anyone wondering about the output of the Intel® Processor Identification Utility. It still shows for me an X for Intel Virtualisation Technology and for EPT /SLAT support. But my wsl2 and Windows sandbox is working again.

For me nothing described here or elsewhere worked.
Finally it fixed it for me by doing a update installation through the MediaCreationTool. Windows looks and behaves exact the same but wsl finally is working.
One Tip for anyone wondering about the output of the Intel® Processor Identification Utility. It still shows for me an X for Intel Virtualisation Technology and for EPT /SLAT support. But my wsl2 and Windows sandbox is working again.

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

Wow! Yes! I also had this issue after installing spacedesk! But even after deleting spacedesk it still didn't work. Please what else can I do apart from reinstalling windows?? Or will reinstalling wsl2 help?

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

Wow! Yes! I also had this issue after installing spacedesk! But even after deleting spacedesk it still didn't work. Please what else can I do apart from reinstalling windows?? Or will reinstalling wsl2 help?

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

I read that about spacedesk just now. i updated it recently and then wsl2 stopped working. I updated like 10 programs in the same time so I didnt really suspeted that spacedesk maybe have something to do with wsl failing. But I guess thats an important clue, spacedesk is intefering with wsl / virtualisation on windows.
@daniel-iroka I would suggest you the update installation with the MediaCreationTool. It reinstalled windows and after 30 min my ubuntu distro ran again.... iam so happy, but also sad about 2 days of lost time, because of such an ackward bug

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

I read that about spacedesk just now. i updated it recently and then wsl2 stopped working. I updated like 10 programs in the same time so I didnt really suspeted that spacedesk maybe have something to do with wsl failing. But I guess thats an important clue, spacedesk is intefering with wsl / virtualisation on windows.
@daniel-iroka I would suggest you the update installation with the MediaCreationTool. It reinstalled windows and after 30 min my ubuntu distro ran again.... iam so happy, but also sad about 2 days of lost time, because of such an ackward bug

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

No, I just disabled the driver in the main window. I have no screenshots and I'll not install it again to do one, sorry.
If you fully uninstalled, reboot and sfc /scannow it don't fix the issue, MAYBE it have a rootkit-like behavior of some sorts.
As far as I know what we have in common here is having installed Spacedesk before our WSL2/Hypervisor gone corrupted.
Also, I couldn't use VMWare too before formatting my machine.

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

No, I just disabled the driver in the main window. I have no screenshots and I'll not install it again to do one, sorry.
If you fully uninstalled, reboot and sfc /scannow it don't fix the issue, MAYBE it have a rootkit-like behavior of some sorts.
As far as I know what we have in common here is having installed Spacedesk before our WSL2/Hypervisor gone corrupted.
Also, I couldn't use VMWare too before formatting my machine.

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

I read that about spacedesk just now. i updated it recently and then wsl2 stopped working. I updated like 10 programs in the same time so I didnt really suspeted that spacedesk maybe have something to do with wsl failing. But I guess thats an important clue, spacedesk is intefering with wsl / virtualisation on windows.
@daniel-iroka I would suggest you the update installation with the MediaCreationTool. It reinstalled windows and after 30 min my ubuntu distro ran again.... iam so happy, but also sad about 2 days of lost time, because of such an ackward bug

I have few more questions please. What about the normal settings update as well? Will that also work and will I also loose data if i update through the media tool?? Also, how will I know what media tool link to follow can you help me with a link please. My OS buid is 19043

I got so frustrated today that I did the same. I'm in the process of reinstall the things. But before I choose to format the PC, , I was suspecting spacedesk too, but I just disabled it, and did not restart too, and dismissed because it worked before.
I'll not install that again.

wait, when you said you "disabled spacedesk", did you mean you uninstalled it and did not restart because I uninstalled it and restarted my pc but it is still not working.

I read that about spacedesk just now. i updated it recently and then wsl2 stopped working. I updated like 10 programs in the same time so I didnt really suspeted that spacedesk maybe have something to do with wsl failing. But I guess thats an important clue, spacedesk is intefering with wsl / virtualisation on windows.
@daniel-iroka I would suggest you the update installation with the MediaCreationTool. It reinstalled windows and after 30 min my ubuntu distro ran again.... iam so happy, but also sad about 2 days of lost time, because of such an ackward bug

I have few more questions please. What about the normal settings update as well? Will that also work and will I also loose data if i update through the media tool?? Also, how will I know what media tool link to follow can you help me with a link please. My OS buid is 19043

Re-installing Windows with "Keep my personal files" settings worked for me.
I you uninstall spacedesk using spacedesk installer before re-installing Windows, the driver will not be brought back to your new Windows installation.
But if you don't uninstall spacedesk, Windows will still bring spacedesk over your new Windows installation, BUT somehow they work together (WSL and spacedesk), then again don't use the spacedesk installer to install it again.

Re-installing Windows with "Keep my personal files" settings worked for me.
I you uninstall spacedesk using spacedesk installer before re-installing Windows, the driver will not be brought back to your new Windows installation.
But if you don't uninstall spacedesk, Windows will still bring spacedesk over your new Windows installation, BUT somehow they work together (WSL and spacedesk), then again don't use the spacedesk installer to install it again.

Okay. Thank you

Finally it fixed it for me by doing an update installation "keep my personal files and programs" through the MediaCreationTool. Wsl (and Windows sandbox) is finally working again.
One tip for anyone wondering about the output of the Intel® Processor Identification Utility. It still shows for me an X (for not enabled) for Intel Virtualisation Technology and EPT/SLAT support. But my wsl2 and Windows sandbox is working fine. (i5-10600k)

This problem bothers me too much time and energy. Before I saw this post, I had no reason to connect the two software wsl and spacedesk. Similarly, I also installed spacedesk on my computer, and it was updated recently. Finally see your operation. The problem is solved

Finally it fixed it for me by doing an update installation "keep my personal files and programs" through the MediaCreationTool. Wsl (and Windows sandbox) is finally working again.
One tip for anyone wondering about the output of the Intel® Processor Identification Utility. It still shows for me an X (for not enabled) for Intel Virtualisation Technology and EPT/SLAT support. But my wsl2 and Windows sandbox is working fine. (i5-10600k)

This problem bothers me too much time and energy. Before I saw this post, I had no reason to connect the two software wsl and spacedesk. Similarly, I also installed spacedesk on my computer, and it was updated recently. Finally see your operation. The problem is solved

wait, so you mean that spacedesk is now working well with wsl??

No, if spacedesk is installed, wsl cannot be started. It can be repaired according to your method. After reinstalling the system, wsl and spacedesk coexist

No, if spacedesk is installed, wsl cannot be started. It can be repaired according to your method. After reinstalling the system, wsl and spacedesk coexist

No, if spacedesk is installed, wsl cannot be started. It can be repaired according to your method. After reinstalling the system, wsl and spacedesk coexist

Oh that's nice. I uninstalled spacedesk though because I was told wsl won't still work if I reinstall it with windows

l

Without uninstalling spacedesk, after reinstalling windows, it can be used normally. But I think it would be better to use a lower version of spacedesk

+1
I am also looking for a solution. After installing spacedesk, wsl stopped working and re-enabling it does not do anything.

There is a thread open over at the spacedesk forum referencing this thread here so for cross reference sake: https://www.spacedesk.net/de/forums/topic/wsl2-not-starting-after-spacedesk-installation/
If any of you have more information about this that could help the spacedesk guys, please tell them :)

I found this.
Wsl is not started because Hyper V service is not started and I can't started manually this.
I Try to install an old version but Wsl don't start.

Did you try bcdedit /set hypervisorlaunchtype auto
I disabled hyper-v with bcdedit /set hypervisorlaunchtype off to do some work in VMWare, and ebabled it with auto successfully back again.
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆
The software school I go to was troubleshooting a student's issue with virtualization saying it was disabled when trying to run Ubuntu on WSL and would fail saying virtualization was not enabled, even though it was showing in task manager and other ways we verified it was enabled. When we ran bcdedit we found that hypervisionlaunchtype was set to off by default. We solved the issue by setting it to auto and restarting. This is the answer!

Someone from spacedesk over at the spacedesk forum posted a potential fix, I can't try it anymore as I reset have reset my PC in the meantime. I hope it can help someone else.

Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.
It seems as if the problem could be solved by manually re-installing this driver.
Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.
Choose Option „Select hardware manual from list“ in the wizard
Choose „Systemdevices“ in the list
Choose „Microsoft“ in vendors
Choose „microsoft hyper-v virtualization infrastructure driver“ in models
Follow the wizard to finish the installation
Restart the computer

Someone from spacedesk over at the spacedesk forum posted a potential fix, I can't try it anymore as I have reset my PC in the meantime. I hope it can help someone else.

Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.
It seems as if the problem could be solved by manually re-installing this driver.
Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.
Choose Option „Select hardware manual from list“ in the wizard
Choose „Systemdevices“ in the list
Choose „Microsoft“ in vendors
Choose „microsoft hyper-v virtualization infrastructure driver“ in models
Follow the wizard to finish the installation
Restart the computer

This surely works mates.  Had this problem in past. Did a clean install of Windows several times but this problem used to come back. But this saved me.

Someone from spacedesk over at the spacedesk forum posted a potential fix, I can't try it anymore as I have reset my PC in the meantime. I hope it can help someone else.

Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.
It seems as if the problem could be solved by manually re-installing this driver.
Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.
Choose Option „Select hardware manual from list“ in the wizard
Choose „Systemdevices“ in the list
Choose „Microsoft“ in vendors
Choose „microsoft hyper-v virtualization infrastructure driver“ in models
Follow the wizard to finish the installation
Restart the computer

I tested this and it solved the problem, Thanks.

Someone from spacedesk over at the spacedesk forum posted a potential fix, I can't try it anymore as I have reset my PC in the meantime. I hope it can help someone else.

Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.
It seems as if the problem could be solved by manually re-installing this driver.
Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.
Choose Option „Select hardware manual from list“ in the wizard
Choose „Systemdevices“ in the list
Choose „Microsoft“ in vendors
Choose „microsoft hyper-v virtualization infrastructure driver“ in models
Follow the wizard to finish the installation
Restart the computer

Thanks, this really worked for me. Now I can use WSL without any problems.

This bcdedit /set hypervisorlaunchtype auto is not working in windows 11

Someone from spacedesk over at the spacedesk forum posted a potential fix, I can't try it anymore as I have reset my PC in the meantime. I hope it can help someone else.

Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.
It seems as if the problem could be solved by manually re-installing this driver.
Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.
Choose Option „Select hardware manual from list“ in the wizard
Choose „Systemdevices“ in the list
Choose „Microsoft“ in vendors
Choose „microsoft hyper-v virtualization infrastructure driver“ in models
Follow the wizard to finish the installation
Restart the computer

This surely works mates.  Had this problem in past. Did a clean install of Windows several times but this problem used to come back. But this saved me.

BTW this solution references this forum . After installing "microsoft hyper-v virtualization infrastructure driver" from the legacy hardware wizard, it gave me an error that it the infrastrucutre driver could not start.
To fix this, I followed what one of the forum users posted:

In my situation,
– After reinstall the microsoft hyper-v virtualization infrastructure driver,
– In the device manager list, it still shows that there is a problem with this driver，
– Then i uninstall it in the device manager, After automatic reinstallation

Credit to Spacedesk forum user Aiken

Found on the spacedeak forums and worked for me
Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.
It seems as if the problem could be solved by manually re-installing this driver.
Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.
Choose Option „Select hardware manual from list“ in the wizard
Choose „Systemdevices“ in the list
Choose „Microsoft“ in vendors
Choose „microsoft hyper-v virtualization infrastructure driver“ in models
Follow the wizard to finish the installation
Restart the computer

I was having this same problem. I disabled AMD SVM, booted, then re-enabled AMD SVM and it worked again. Hope this helps

I don't feel great pointing to this but this is exactly what I did and it fixed the issue.
Between Microsoft, Docker, and the OEM the group most likely needs some collaborative debugging.

Someone from spacedesk over at the spacedesk forum posted a potential fix, I can't try it anymore as I have reset my PC in the meantime. I hope it can help someone else.

Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.

It seems as if the problem could be solved by manually re-installing this driver.

Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.

Choose Option „Select hardware manual from list“ in the wizard

Choose „Systemdevices“ in the list

Choose „Microsoft“ in vendors

Choose „microsoft hyper-v virtualization infrastructure driver“ in models

Follow the wizard to finish the installation

Restart the computer

Thanks, this really worked for me. Now I can use WSL without any problems.

I haven't had a chance to do a test with this fix but I can say that I have been able to switch it off (actually off) in the "virtualization" section in the UEFI for a Dell XPS I have.
While not ideal, this exact situation has occurred on two identical but separate laptops for my employer.  After turning off the WSL feature both laptops (same Windows 10 Enterprise versions) will then incorrectly report that the VMM instruction set are not enabled.  Going into UEFI, as I said, turning it off properly->reboot->shutdown->re-enable-> all is working as before.

WSL : bcdedit /set hypervisorlaunchtype auto + RESTART
VirtualBox: bcdedit /set hypervisorlaunchtype off + RESTART

worked for me

After uninstalling spacedesk and rebooting, wsl seems like working again!

I was having this same problem. I disabled AMD SVM, booted, then re-enabled AMD SVM and it worked again. Hope this helps

I was with the same problem! Doing this fixed it for me, thank you very much @Gareth001

I was having this same problem. I disabled AMD SVM, booted, then re-enabled AMD SVM and it worked again. Hope this helps

I have been beating my head against this wall for a long time, and this did the trick.

Someone from spacedesk over at the spacedesk forum posted a potential fix, I can't try it anymore as I have reset my PC in the meantime. I hope it can help someone else.

Currently it seems as if there could be a side effect with microsoft hyper-v virtualization infrastructure driver.
It seems as if the problem could be solved by manually re-installing this driver.
Please try the fix below and let us know if it solved the problem.

Go to device manager -> Action -> add legacy hardware.
Choose Option „Select hardware manual from list“ in the wizard
Choose „Systemdevices“ in the list
Choose „Microsoft“ in vendors
Choose „microsoft hyper-v virtualization infrastructure driver“ in models
Follow the wizard to finish the installation
Restart the computer

Thank you very much. I installed spacedesk to cause this problem. It seems that you can't install software randomly


[WIP] help: Link to /help/recent-conversations to define "conversation".

This is a follow-up to #25838.
@drrosa Could you look this over and see if there are any other places you'd suggest linking from? I'm not trying to add a link every time we use the word "conversation" -- only where we use it in a somewhat technical way to specifically to refer to "topic or DM thread", and where the link might help clarify what we're talking about.

I'd suggest the following:
help/marking-messages-as-unread.md:

When you don't have time to read a conversation carefully, or to follow up on
action items, mark messages as unread to return to them later.

help/typing-notifications.md:

Zulip displays typing notifications when viewing a direct message or
group direct message conversation to which one of the other
participants is currently composing a message.

help/include/streams-and-topics.md:

Lots of conversations can happen in the same stream at the same time, each in
its own topic. You never have to worry about interrupting — each
conversation has its own space.

Thanks for the review! Let's do the following:

Skip help/marking-messages-as-unread.md -- I think the Zulip definition of "conversation" isn't super relevant there.
Correct the documentation for help/typing-notifications.md -- typing notifications actually work in interleaved DM views as well, not just in DM conversation views. It would be great if you could also check if they work for DMs when you are viewing All messages  -- I'm not sure about that one.
Add the link to help/include/streams-and-topics.md, as you suggest.

Closing in favor of updated version: https://github.com/zulip/zulip/pull/26397.


Empty Note Files

Describe the bug
Whenever the note button in a problem is accidentally clicked and closed, an empty commit is created and pushed to the linked repo.
To Reproduce
Steps to reproduce the behavior:

Open any problem with the extension installed.
Click on the notes button on the right-hand side of the screen to open the editor.
Immediately close the editor without typing anything.
The extension should have pushed an empty NOTES.txt to the linked repo

Expected behavior
I don't think this should be intentional. If no text is typed, maybe the extension can assume it was an accidental click and not push any commits?

hmm, that's strange. I don't see this behavior. The only commit i see is that of the code, which has 0 bytes changed. NOTES.md stays the same for me. Could you perhaps share your repo link and/or relevant screenshots?

Ah sorry my mistake, I was reading the note commits in a strange order, so it looked like they were pushed on their own, but I see now they're pushed with the submission. My b!


Refactor ReleaseService

I built a Transformer to create DTOs and reworked the tests so the Service is now fully tested. Also the coverUrl is now transferred as part of the DTO. Not so nice: the MetalArchives-urls are of type URL and the coverUrl is a String. Problem here is our LocalPersistenceService which gives a local path as String. I was too lazy to dive into that topic now :)

 Refactoring of ReleaseService


Particles2D change mask submenu location

I think it's more intuitive to have the Particles Mask menu inside the inspector with the rest of the properties.
I've been looking for a "mask" property for an hour. I even looked inside the .xml file in the Particles2d demo project. There's where I found the Vector2Array of positions.
That's it, I think its more user friendly.

Yes this is a problem, many nodes use this kind of menu and it's not
obvious that something appears, I was wondering for a while how to make it
more obvious
On Mon, Jul 20, 2015 at 7:52 PM, Federico<EMAIL_ADDRESS>wrote:

I think it's more intuitive to have the Particles Mask menu inside the
inspector with the rest of the properties.
I've been looking for a "mask" property for an hour. I even looked inside
the .xml file in the Particles2d demo project. There's where I found the
Vector2Array of positions.
That's it, I think its more user friendly.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2285.

--
OkamStudio

This works fine with the new UI redesign as other tools also appear on this spot of the editor for other node types.


"stories universal rendering" is not working with angular-cli 6

Hello, guys.
I wanted to create a SSR project whith Angular 6. I followed and instruction [stories universal rendering] but I got few problems. Can you help me?
Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Area
- [x] devkit
- [ ] schematics

Versions
Angular CLI: 6.0.8
Node: 8.9.3
OS: darwin x64
Angular: 6.0.5
Repro steps
follow the instructions in [stories universal rendering]
I changed few configurations below:
/package.json
"scripts": {
  "build:client-and-server-bundles": "ng build --prod && ng build --prod --app 1 --output-hashing=false",
// to
    "build:client-and-server-bundles": "ng build --prod && ng build --prod --project=pwa-client --output-hashing=none",
}

since --app was uncontinued and now uses --project, and "--output-hashing=false" has changed to "--output-hashing=none"
/server.ts
const { AppServerModuleNgFactory, LAZY_MODULE_MAP } = require('./dist/server/main.bundle');
// to
const { AppServerModuleNgFactory, LAZY_MODULE_MAP } = require('./dist/**MY_APP_NAME**/main');

it was not generating "/dist/server/main.bundle" so i tried to change to "my-app-name" and it worked.
The log given by the failure
new when I run npm run serve:ssr it shows the result below.
fs.js:646
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/Users/marciokojicarvalho/projects/branavi_next/pwa-client/dist/browser/index.html'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at eval (webpack:///./server.ts?:18:21)
    at Object../server.ts (/Users/marciokojicarvalho/projects/branavi_next/pwa-client/dist/server.js:4567:1)
    at __webpack_require__ (/Users/marciokojicarvalho/projects/branavi_next/pwa-client/dist/server.js:20:30)
    at /Users/marciokojicarvalho/projects/branavi_next/pwa-client/dist/server.js:69:18
    at Object.<anonymous> (/Users/marciokojicarvalho/projects/branavi_next/pwa-client/dist/server.js:72:10)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)

Desired functionality
I would like to run Angular6 in SSR mode.

Hi @walker-walks, I think the error was obvious. You are using the wrong path in the server.ts file. You should specify the path to index.html file correctly from the compiled server.js file location, not from the server.ts file.

Closing as it was answered above.


Is there any way to make text bold?

Question
Is there any way to make text bold?
Description
I know how to make bold text using bold font.
doc.font('Times-Bold').text('Hello from Times Roman!')
What I want to know is whether it is possible to implement bold text with a font that does not support bold fonts.(ex. Gulim.ttc, SimSun.ttc)
Even if i don't have an italic font, i can use the text option oblique to make it italic.
Likewise Is there a way to give text a bold option or set a font-weight option?

Code sample

Your environment

pdfkit version: 0.13.0
Node version: 18.12.1
Browser version (if applicable):
Operating System: Windows 10

Likely not the best way to do it, but I can see the text is bolder if passing stroke:true and fill:true.

Likely not the best way to do it, but I can see the text is bolder if passing stroke:true and fill:true.
thank you, I solved that option and lineWidth, fillColor, strokeColor using methods.


Create ViewSpecBuilder

Which is responsible for creating Views from ViewSpecs.
Allow to be supplied in Context.
Supports defining 'package', so that view specs can leave off the view class package and just specify something like 'TextField', which might then be searched for in the supplied package. Possible values might include 'foam.u2', foam.u2.md', 'com.acme.app.views', etc.

Done.


Sentry

Motivation
Partly to fullfill https://github.com/ZcashFoundation/zebra/issues/1286, but in general, long-running sync tests don't fit well into testing frameworks because 1: they run very long, and 2: if the objective is 'sync to tip without panicking/erroring', that is basically the main use case. Therefore instead of running a 'test case', we should run zebrad, appropriately configured, and alert on panic/error/crash as a failure, and be quiet if nothing goes wrong (ie, there is never a endpoint for a 'test' like this to pass, only a possible 'fail').
Solution
When enabled, catches panics and other errors and reports them to our Sentry.io project. From there we can set up alerting, webhooks, and automatic GitHub issue opening if we want. Sentry support is behind a feature flag so by default zebrad doesn't include it, and when enabled, pulls the config information about where to send events from the runtime environmental variable. It's enabled for our Docker.build deployments which is used to deploy automatically from the #main branch on every merge and on any Manual Deploy workflow runs.
Review

Related Issues
https://github.com/ZcashFoundation/zebra/issues/1286
Follow Up Work
Twiddle the alerting/webhook/GitHub integration configs to our liking but that does not require any code changes.
Inject our dsn more smartly via github secrets management through the workflow into github container execution environment, but this (inline in the thin release image) works fine for now, can be rotated later.
I can't tell if this works on macOS or not, I've only successfully triggered events/caught panics on Debian with ca-certificates package installed at runtime.

https://github.com/getsentry/sentry-rust/issues/239


Add the definition of mutant in vignette

I am a new user for maftools.  I could not find the definition of mutant (non-synonymous mutations) in the vignette, and it is also not apparent in the manual.  Later, I found this in github: impact high or moderate.  It will be very helpful to state this explicitly.  Thanks for the powerful package.

Hi,
Thanks for the suggestion. I will mention it in the vignette as well.
Just FYI, this is mentioned in the read.maf help page - you can check the details for vc_nonSyn argument. Pasting the same below..
vc_nonSyn NULL. Provide manual list of variant classifications to be considered as non-synonymous.
Rest will be considered as silent variants.
Default uses Variant Classifications with High/Moderate variant consequences.
http://asia.ensembl.org/Help/Glossary?id=535:
"Frame_Shift_Del", "Frame_Shift_Ins", "Splice_Site", "Translation_Start_Site","Nonsense_Mutation",
"Nonstop_Mutation", "In_Frame_Del","In_Frame_Ins", "Missense_Mutation"

Thanks! Yes, that is indeed how I figured it out:) I would also suggest mentioning mutCountMatrix function in the vignette.


Extract metadata from pom.xml

Initial Iteration to extract essential metadata from pom.xml
Testing done

Submitter checklist

[X] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[X] Ensure that the pull request title represents the desired changelog entry
[X] Please describe what you did
[X] Link to relevant issues in GitHub or Jira
[X] Link to relevant pull requests, esp. upstream and downstream changes
[X] Ensure you have provided tests - that demonstrates feature works or fixes the issue

To fix spotbug and spotless

Thanks, lets merge it as is and improve in the future


What are the advantage to use SFM with sql2o?

I read your page about the integration with sql2o, but I didn't understand the advantages.
For what I know sql2o do support inner objects, and I don't understand what you mean with factory and joins.
Can someone explain me?

well there might not be for you but to list a few thing

faster than sql2o mapper https://github.com/arnaudroger/SimpleFlatMapper/wiki/Jdbc-Performance-Local-Mysql
supports http://immutables.github.io/, builder pattern
support inheritance via discriminator https://simpleflatmapper.org/0205-inheritance-discriminator.html
partial support for eclipse collection and google immutable list
can map a X to many to a Foo with a List see for example https://arnaudroger.github.io/blog/2017/06/13/jdbc-template-one-to-many.html

see my comments also on https://github.com/aaberg/sql2o/issues/318 and https://github.com/aaberg/sql2o/issues/188
simpleflatmapper focus mainly on the mapping so that's what it try to be good at.

But I simple have to query.setResultSetHandlerFactoryBuilder(new SfmResultSetHandlerFactoryBuilder()); to have this boost?
1.1 query.setAutoDeriveColumnNames(true); is required?
1.2 can't I set SfmResultSetHandlerFactoryBuilder globally?

what's the advantage on a good old constructor(s)?

cool. Can I set only one discriminator for each JdbcMapper? Or, can I add more than one JdbcMapper to SfmResultSetHandlerFactoryBuilder?

Eclipse Collections seems cool. How can instruct SMF to use them? By default sql2o returns an ArrayList, a lazy ResultSetIterable, or a List<Map<String, Object>>.

I don't like joins. I prefer to get the object Foo with the FooRepository, get List with BarRepository and then in service put them togheter in FooAggregator, that contains Foo and List. See as an example my code generator for sql2o.

1 - yes not the most convenient to integrate with sql2o, not much I can do...
2 - not my call to make :)
3 - will need to see the use case, I don't personnaly use sql2o
4 - ec is for inside your objects not as the return List from sql2o, it will map to an EC List if the type is an ECList
5 - N+1 ?

on 3 - you can specify multiple inheritance module on the factory, or you can create a mapper factory per class from the api

1.1 - AutoDeriveColumnNames could be a problem. Why is required?
5 - ???

currently when AutoDeriveColumnNames is set to false it expect an exact match of the property name and column name. I believe that it was to aligne the behavior to sql2o. it's something that could be changed

I created a pull request for setting ResultSetHandlerFactoryBuilder globally.
If it will be not accepted I think we'll never adopt SMF, it's too much an effort to set it for every query :)

@MarcoSulla that's fair enough, I don't really if sql2o is moving much these days though.
library should paid for themselves, if there is no strong need to use sfm over the sql2o one the it's fair enough to not use it specially if it's painful to do so

I tend to use jOOQ myself and it's pretty easy to integrate with. have you had a look at jdbi? it's quite active.

jOOQ does not use SQL, I prefer to use plain old simple SQL. Furthermore I can't convince my collegues to rewrite all their queries...
I used jdbi, it's more complicated to use and offers no much more functionality than sql2o (or maybe I don't know it well)

Excuse me if I bother again, but are you sure that SFM + sql2o is faster than sql2o alone? sql2o uses Unsafe to create and populate models. It seems the faster way to map the model.
I read your benchmarks, but it seems a comparison of DB driver performance, not a comparison with db driver alone and DB driver + SFM.

And generate byte code that will call the constructor with results et call- not directly but c2 should eventually make it equivalent.
Using unsafe might or might not be more efficient. Does it have any effect on c2 capacity to do escape analysis? I don’t know. Are the unsafe call in a loop?What happen when unsafe is not there anymore?
My feeling is that the byte code gen would be faster but there is only one way to find out.

Well, I have no time to benchmark it. I think you should add some real benchmarks, benchmarks that confront db driver alone and db driver + SMF. And you should use Oracle. There's a free version of it.

some real benchmark? as oppose to the one currently what would you actually do differently?
well when I have time and I actually now what you mean, and it's the most important think to do on that project I might.
against Oracle probably not....

as oppose to the one currently what would you actually do differently?

Well, I'll simply do the same tests, but with and without SMF.

against Oracle probably not....

Why not? I hate Oracle and Oracle DB, but we must admit it's the most performant relational db.
If you don't want Oracle, you can use Postgres, but please, not MySQL...


Implement Corpora API to write project and dataset metadata to persistent store

Implements part of the POST /v1/submission/{project_uuid}/save API.
This ticket is specifically implementing one of two code paths for the above API. This is the code path where given a dataset, we will extract the project-level metadata and dataset-level metadata from the matrix file (as specified here and populate the RDS. Even more specifically, this ticket requires the extraction of metadata from H5AD files ( @mckinsel will be able to provide information about where in the H5AD file you will be able to find each piece of metadata).
Here is a sample H5AD to prototype with: s3://cellxgene-data-wrangling-prod/Single_cell_gene_expression_profiling_of_SARS_CoV_2_infected_human_cell_lines_Calu_3-28/Single_cell_gene_expression_profiling_of_SARS_CoV_2_infected_human_cell_lines_Calu_3-28-remixed.h5ad
This ticket does not require the implementation of the second path which is to input the project details via the body of the API. This will be implemented at a later date via a different ticket.

@Bento007 to breakdown further and estimate child tickets.


Section divider not shown when all streams in the section are muted

When all the streams in a section in the left sidebar are muted, the section divider disappears. I tested this for the Pinned and Active sections.
Instead, the divider should be shown if there are any streams in the section, regardless of whether they are muted.

@madrix01 Would you be interested in picking up this one?

Yeah sure, currently I have some high priority issue on my plate. I'll solve these after.

Perfect, thanks!

@alya , Why do I feel this and #22843 (https://github.com/zulip/zulip/issues/22843) contradicts to each other?

@zulipbot claim

@bilaljai I have opened a PR for this issue, if you want you can contribute over there.


Accept mailto as url when inserting link

I will remove the modal form's URL validation to solve this.


[DO NOT MERGE] Claroty parser update.

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Pr is waiting on customer response.

PR is waiting for customer's response.

No response from CSS on ICM Incident 330189045 : [CRI] <2208160030000796> - .
Closing the PR.


major dependency upgrades

Description

Upgrades npm dependencies to latest versions

Type of change

chore

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] Changes have been manually tested (please provide information on test platform using the fields below)

Test / Development Platform Information

Operating system and version MacOS Catalina
Avrgirl Arduino version 5.0.0
NodeJS version 14.15.4
Arduino Board being used Uno, Mega, Micro

Coverage remained the same at 46.689% when pulling 6e519e16829a93e7beed4e0c5b40d4fd45d34de8 on update-deps into c877c112346337d8a647e87f9028b94f7a4a6991 on master.

Coverage remained the same at 46.689% when pulling 6e519e16829a93e7beed4e0c5b40d4fd45d34de8 on update-deps into c877c112346337d8a647e87f9028b94f7a4a6991 on master.


fix typo in .gitmodules

I hereby agree to the terms of the CLA available at:

Changelog category :

Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
fix typo in .gitmodules

@nudles PTAL


why nested url open in browser on android

Bug description:
Click nested link on rendered web. It be opened in browser not in current webview. It works on iOS.
To Reproduce:
<WebView
     ref={webRef}
     style={styles.container}
     source={{
        uri
     }}
     cacheEnabled={false}
     startInLoadingState
     onLoadEnd={e => {
        const { nativeEvent } = e;
        canGoBack = nativeEvent.canGoBack;
     }}
     onShouldStartLoadWithRequest={request => {
        if (request.url.startsWith('http://url.com')) {
          return false;
        }
        return true;
      }}
     renderLoading={() => (
         <ActivityIndicator />
     )}
/>

Expected behavior:
Open nested link in current webview.
Screenshots/Videos:

Environment:

OS: macOS
OS version: 10.15.5
react-native version: 0.62.2
react-native-webview version: ^11.0.0

after 11.0.0 setSupportMultipleWindows will do this

@chinashelll OK, let me disable this.

@chinashelll It works. Thanks man!

@Liqiankun @chinashelll  thanks a lot. I was having the same issue and wasn't able to figure out the cause . I thought it was due to form's blank target or iframe or idk.


hi thanks for greatful tool amazed to work with it

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Expected behavior and actual behavior.
Steps to reproduce the problem (screenshots are really usefull)
CRM Version - online/onpremise - WorkflowTools version
Hi,
I am trying to install it I am cant why thanks.........its shows errors

**_
###
The imported solution and the existing solution must both be managed for upgrade._**
0FalseFalseSolutionNameDynamics365WorkflowToolsDisplay NameDynamics 365 Workflow ToolsDescriptionThis Version includes these Tools:

Force Calculate Rollup Field
Apply Routing Rules
Query Values Step
Share Record With Team
Share Record With User
Unshare Record With Team
Unshare Record With User
Check User is in Role
Check User is in Team
Add To Marketing List
Remove From Marketing List
Clone Children
Clone Record
Set Process
Rollup Functions
Entity Attachment To Email
Pick From Queue
Queue Item Count
Add Role To User
Add Role To Team
Remove Role From User
Remove Role From Team
Set User Settings
String Functions
Delete Record
Entity To Json Serializer
Qualify Lead
Add Marketing List To Campaign
Copy Marketing List Members
Copy To Static List
Is Member Of Marketing List
Remove From All Marketing Lists
Numeric Functions
Email To Team
Set Process Stage
Entity Mobile Deep Link
Send Email
Geocode Address
Add User To Team
Remove User From Team
Associate Entity
Goal Recalculate
Get Initiaing User
Encrypt Text
Check Associate Entity
Set State
Update Child Records
Disassociate Entity
Insert Option Value
Delete Option Value
Sales Literature To Email
Send Email From Template To Users In Role
Send Email To Users In Role
Calculate Price
Execute workflow By ID
JSON Parser
Date Functions
Calculate Agregate Date
OrgDBSettings Update
OrgDBSettings Retrieve
Translate Text
Currency Convert
Get Record ID
Retrieve User's BU Default Team
Get App Module ID
Get App Record Url
Is Member Of Team
Count Child Entity Record
Get Multi Select OptionSet
Map Multi Select OptionSet
Set Multi Select Option Set
Delete Record Audit History
Concatenate From Query
Get Sharepoint Location URL
Create Team
Get Option Set Value
Share Secured Field
Set Lookup Field from Record URL
Resolve CaseVersion<IP_ADDRESS>Package TypeManagedPublisherNamedemianadolforaschkovanmvpDisplay NameDemian Adolfo Raschkovan (MVP)DescriptionEmailWebsitehttp://www.demianrasko.comCityMadridCountry/RegionStreet 1Street 2ZIP/Postal CodeState/ProvincePhoneStatusFailureMessagePlugin Assemblies import: FAILURE. Error: Plugin: msdyncrmWorkflowTools, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=416e876b9bee261e caused an exception.: Principal user (Id=5a9fdf7c-6ccc-ec11-a7b5-0022480b6122, type=8, roleCount=4, privilegeCount=3314, accessMode=0), is missing prvCreatePluginAssembly privilege (Id=c81a03bb-4bfc-45a6-9184-e899ce26811a) on OTC=4605 for entity 'pluginassembly' (LocalizedName='Plug-in Assembly'). context.Caller=5a9fdf7c-6ccc-ec11-a7b5-0022480b6122. Or identityUser.SystemUserId=9dbe959c-f380-492b-b536-aa69fa2985ef, identityUser.Privileges.Count=3475, identityUser.Roles.Count=0 is missing prvCreatePluginAssembly privilege (Id=c81a03bb-4bfc-45a6-9184-e899ce26811a) on OTC=4605 for entity 'pluginassembly' (LocalizedName='Plug-in Assembly').Progress [%]66.67Duration [s]7.5ActivityId [s]StartTime [s]06/03/2022 07:01:51.201 (UTC) Coordinated Universal TimeStopTime [s]06/03/2022 07:01:58.732 (UTC) Coordinated Universal TimeFalseFalseDate/TimeItemTypeIdNameLocalized NameOriginal NameDescriptionStatusErrorCodeErrorText07:01:51.10Transform PackageUpdateMacrosCategoryAttributeTransform PackageTransform PackageProcessed07:01:51.10Transform PackageRemoveParentContactIdAttributeTransform PackageTransform PackageProcessed07:01:51.10Transform PackageRemoveParentContactMissingDependencyNodeRemove Unnecessary MissingDependency NodeRemove Unnecessary MissingDependency NodeProcessed07:01:51.10Transform PackageUpdateRolesDepthLevelTransform PackageTransform PackageProcessed07:01:51.10Transform PackageRemoveContactParentContactRelationshipTransform PackageTransform PackageProcessed07:01:51.12Package ValidationXSDValidationHandlerPackage ValidationValidates solution package schema.Processed07:01:53.99LabelsProcessed0x80048026Translated labels for the following languages could not be imported because they have not been enabled for this organization: 308207:01:54.02LabelsProcessed07:01:54.04Processed07:01:58.21SolutionDynamics365WorkflowToolsDynamics 365 Workflow ToolsFailurePlugin Assemblies import: FAILURE. Error: Plugin: msdyncrmWorkflowTools, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=416e876b9bee261e caused an exception.: Principal user (Id=5a9fdf7c-6ccc-ec11-a7b5-0022480b6122, type=8, roleCount=4, privilegeCount=3314, accessMode=0), is missing prvCreatePluginAssembly privilege (Id=c81a03bb-4bfc-45a6-9184-e899ce26811a) on OTC=4605 for entity 'pluginassembly' (LocalizedName='Plug-in Assembly'). context.Caller=5a9fdf7c-6ccc-ec11-a7b5-0022480b6122. Or identityUser.SystemUserId=9dbe959c-f380-492b-b536-aa69fa2985ef, identityUser.Privileges.Count=3475, identityUser.Roles.Count=0 is missing prvCreatePluginAssembly privilege (Id=c81a03bb-4bfc-45a6-9184-e899ce26811a) on OTC=4605 for entity 'pluginassembly' (LocalizedName='Plug-in Assembly').07:01:58.57Plugin AssemblymsdyncrmWorkflowTools, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=416e876b9bee261e, PluginAssemblyId=d0c76739-4e9b-42ab-9c29-85ae3b0b8546msdyncrmWorkflowToolsmsdyncrmWorkflowToolsFailure0x80040220Principal user (Id=5a9fdf7c-6ccc-ec11-a7b5-0022480b6122, type=8, roleCount=4, privilegeCount=3314, accessMode=0), is missing prvCreatePluginAssembly privilege (Id=c81a03bb-4bfc-45a6-9184-e899ce26811a) on OTC=4605 for entity 'pluginassembly' (LocalizedName='Plug-in Assembly'). context.Caller=5a9fdf7c-6ccc-ec11-a7b5-0022480b6122. Or identityUser.SystemUserId=9dbe959c-f380-492b-b536-aa69fa2985ef, identityUser.Privileges.Count=3475, identityUser.Roles.Count=0 is missing prvCreatePluginAssembly privilege (Id=c81a03bb-4bfc-45a6-9184-e899ce26811a) on OTC=4605 for entity 'pluginassembly' (LocalizedName='Plug-in Assembly').Root Components InsertionUnprocessedDependencies CalculationUnprocessedUnprocessedUnprocessedFalseFalse


New changes to licensed manifest request

Check if this PR fulfills these requirements:

[x] My changes respect the Kodi add-on development rules
[x] I have read the CONTRIBUTING document.
[x] I made sure there wasn't another Pull Request opened for the same update/change
[x] I have successfully tested my changes locally

Types of changes

[ ] New feature (non-breaking change which adds functionality)
[x] Feature change (non-breaking change which changes behaviour of an existing functionality)
[ ] Improvement (non-breaking change which improves functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Refactor (non-breaking performance or readability improvements)

Description

In some countries netflix has started to use a new version of licensed manifest request called as "v2",
without this change this errors will be raised when you try to play a video:
from manifest request:
errorDisplayMessage: This title is not available to watch instantly. Please try another title.
code: FAIL
bladeRunnerCode: PLAY_API_ERROR

or from license request:
errorDisplayMessage: This title is not available to watch instantly. Please try another title.
code: DEVICE_EOL_FINAL
bladeRunnerCode: 3078

Ref. issues:
#1278
#1271
(user agent update is not related, add only to not make another PR)
In case of Feature change / Breaking change:
Describe the current behavior

Describe the new behavior

Screenshots (if appropriate):

It so hard :D NF has change token post and remove other data.


Could you provide an example of aliases?

A simple example of how the configuration works

The entire extension runs on a bunch of regex expressions; we just use the aliases that were given to check whether a function that is related to Fusion is currently being written.
The "New Aliases" is used to scan for the "New" function inside Fusion (Fusion.New) and will be used to provide classname and property autocomplete. This defaults to "new" and "e", as people will generally call it New/new
The "Fusion Aliases" is used to check whether the function that is currently being written comes from Fusion, and should generally be set to something like "fusion" or "Fusion".
Hope this clarifies it a little! If not, let me know!


FR: prompt the user before navigating away if a game is in progress

I think window.onbeforeunload makes this pretty trivial

🤣


Cursorless HTML cheatsheet follow-up work

[ ] #843
[x] Figure out how to dump to file and then open in browser from VSCode
[ ] Fav icon
[x] #648
[x] #636
[ ] #478
[ ] #459
[ ] #456
[ ] #460
[ ] #465
[ ] #599
[x] New simple modifiers from #672
[ ] Add sponsor button
[ ] Set title using helmet
[ ] Output ngrok command?
[ ] Indicate which spoken forms are not default
[x] Dark mode
[x] Highlight section using colored border when its anchor is in the url
[x] Hide empty sections
[ ] Add local search box that filters results https://github.com/krisk/Fuse
[ ] Add settings box

[ ] Beginner mode #458
[ ] Non-coder mode #663
[ ] Sorting options, eg alphabetical vs functional
[ ] Dark mode

[ ] Add pencil next to each section heading that opens the given csv in VSCode.  Do so by registering Cursorless URI handler.  Then either try using a VSCode API open function of some sort, if it will focus the correct window.  If not, spawn a subshell and call code <file>.  For security purposes, probably don't want to just trust the file from the API; instead probably have set of files that are given from Talon and kept in global VSCode storage?

Probably simpler to just have a voice command that they can use, and show how to use it in the info box, or maybe pencil could just pop up a little hint saying the voice command to change that csv.  Voice command could even be active all the time.  Voice command would just run code <file> in a shell.
Question: will they always have code cli?

[ ] Make each <T>, <P>, etc link to the item in the legend.  Would do this by using a regex to split each description, ensuring that the regex handles <T>, <T1>, T, and T1

[ ] Also ensure that the legend item is highlighted when you follow a link to it (ie its id is in the url)

[ ] Add hover-activated label above <T>, <P>, etc using info from legend
[ ] Add voice commands for everything in the cheatsheet, including closing the tab

[ ] Add a box with info about these voice commands

[ ] Add cursorless hats to all links in cheatsheet
[ ] Switch colours and shapes to use the actual colour and shape
[ ] Auto-hide all but a few from each section and add ...more button at the bottom of each

[ ] And add something to settings box to disable auto-hide

[ ] Add link icon next to each section heading so can be linked to
[ ] Switch to curly quotes
[ ] Remove <> from placeholders
[ ] Make placeholders more obviously placeholders, eg inline box with rounded corners and background or bold coloured text or something
[ ] Use full words for placeholders, eg <modifier> instead of <M>
[ ] Add "target T" instead of just "T" in Meaning
[ ] Add little question mark next to section headings linking to section in docs
[ ] Have separate "Actions" and "Complex actions" section, the former containing the actions that have single target and no formatters / pairs / whatever; hte latter containing everything else

[ ] Remove T from everything in simple actions section
[ ] subheading on Actions saying that it requires target?

[ ] Figure out tree-shaking / bundle size using eg https://bundle-buddy.com/
[ ] Make sub-section of modifiers for scope-based modifiers (eg "<scope>", "next <scope>")

Dark mode

IMO this shouldn't be a setting and should just respect prefers-color-scheme

IMO this shouldn't be a setting and should just respect prefers-color-scheme

That's how it works today. Was thinking of adding a setting that can be used to override the system setting, but if you think that's overkill I'm happy to punt on that until someone specifically requests it


Question : where is computed the point cloud ? (D400 sesries)

I would like to know where is computed the point cloud?
In the camera (hardware) then send by USB or in the camera driver (software) using the depth images sent by the camera?
Thanks

Point clouds are calculated on the computer.  It is rectification of the captured camera data that takes place in the camera.

Many thanks.


[FLINK-23073][formats / CSV] Fix space handling in Row CSV timestamp parser

What is the purpose of the change
FLINK-21947 Added support for TIMESTAMP_LTZ in the CSV format by replacing java.sql.Timestamp.valueOf with java.time.LocalDateTime.parse. Timestamp.valueOf internally calls trim() on the string before parsing while LocalDateTime.parse does not. This caused a breaking change where the CSV format can no longer parse timestamps of CSV's with spaces after the delimiter. We should manually re-add the call to trim to revert the behavior.
Brief change log
Add trim() to convertToTimestamp
Verifying this change

Unit Test

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @leonardBang

@sjwiesman Thanks for the contribution,  Could you also add trim() for RuntimeConverter in  CsvRowDeserializationSchema ？ and it will be great if we can add a test to cover this.

@leonardBang thanks for pointing that out, and I've added a unit test. Please take another look when you get a chance

thank you! will merge on green

I realize we are having a discussion on the ML about not merging PR's with unrelated test failures but this test is already failing on master and is being tracked. I hope no one gets too upset with me 😅


Error MSG from KsponSpeech_decode_example.ipynb on colab notebook

Regarding KsponSpeech_decode_example.ipynb on colab notebook, I have a problem with "TypeError: cached_download() takes 1 positional argument but 2 were given"
Would you please advise of me how to solve the problem with? The written codes were same as provided.
Many thanks,

Hi @ginaai sorry for the summer delays. It is good you have the git commit ID in the above example!
I digged a bit: https://github.com/speechbrain/speechbrain/search?q=c762107&type=commits
The version you are referring to is of Nov 17, 2021 - since then, v0.5.11; 0.5.12; 0.5.13 came out.
It would be best to start from the latest develop version and see what happens.
(This answer might not be that satisfying to you.)
I can see that also on the KspoonSpeech HuggingFace repo, a the same fixed speechbrain version is referenced.
Regarding colab, I found this tutorial via the HuggingFace page. Is it the one you are referring to?
When comparing to the SpeechBrain tutorials on https://speechbrain.github.io/ - I could not find it referenced; it is maintained outside of SpeechBrain yet by the extended SpeechBrain community.
@ddwkim do you know more?

Hi,
Thank you for paying attention to our contribution.
Please checkout to the git commit mentioned in the tutorial.
git clone https://github.com/speechbrain/speechbrain/
git checkout c762107

The current KsponSpeech recipe was trained based on a previous version of Speechbrain.
In order to run the sample, you need to use the corresponding version.
We are currently working to update the current recipe in order to be compatible with the latest version.
We will keep you updated.


record orderId in Stripe

For some payments the orderId is recorded
https://github.com/opencollective/opencollective-api/blob/0e84ea5b424c2d14b04b4652a585248fdfc35ada/server/paymentProviders/stripe/bacsdebit.ts#L33-L37
but not for credit card payments
https://github.com/opencollective/opencollective-api/blob/0e84ea5b424c2d14b04b4652a585248fdfc35ada/server/paymentProviders/stripe/creditcard.ts#L57-L60
This fixes it.
Not sure if this mutation is used anywhere: https://github.com/opencollective/opencollective-api/blob/0e84ea5b424c2d14b04b4652a585248fdfc35ada/server/graphql/v2/mutation/OrderMutations.js#L1058-L1061
If it is used, it would be great to also make sure it records the orderId in the Stripe Metadata (but this requires more digging that I'll leave to people more familiar with the code)

Is this used somewhere? It looks like it.
https://github.com/opencollective/opencollective-api/blob/0e84ea5b424c2d14b04b4652a585248fdfc35ada/server/graphql/v2/mutation/OrderMutations.js#L1058-L1061
Can someone dig into this and figure out how to add the orderId?

@xdamman We can't add it here since payment intents are created before orders. Can you add some details on the problem you're looking to solve, maybe there's another solution?


Add files via upload

New rule to check whether a class implementing IDisposable has a dispose method. Please note, that contrary to common belief, it is actually legal to provide the name in a different casing than Dispose.


REF: Clean repr

Codecov Report

Merging #243 (95bfc17) into develop (d9d48ac) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##           develop      #243   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           43        43
  Lines         1324      1329    +5
=========================================
+ Hits          1324      1329    +5

Impacted Files
Coverage Δ

pfhedge/instruments/primary/base.py
100.00% <ø> (ø)

pfhedge/nn/modules/bs/black_scholes.py
100.00% <ø> (ø)

pfhedge/nn/modules/hedger.py
100.00% <ø> (ø)

pfhedge/features/_base.py
100.00% <100.00%> (ø)

pfhedge/features/features.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/american_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/european.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/european_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/lookback.py
100.00% <100.00%> (ø)

pfhedge/nn/modules/bs/american_binary.py
100.00% <100.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

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


Support 4844 transactions for sendTransaction

Add support for 4844 transaction type for Web3Signer in Eth1 mode. The eth_sendTransaction spec has updated with blob fields https://github.com/ethereum/execution-apis/blob/main/src/schemas/transaction.yaml#L400.

Also looking into this feature -- curious to know if you've tried eth_signTransaction with blobs?


moby-cli: Add patch to resolve CVE-2023-45288

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary
Add patch to resolve CVE-2023-45288
Change Log

Add patch file

Does this affect the toolchain?
NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2023-45288

Test Methodology

Pipeline build id: Local Build

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/10237

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=626379&view=results


Cleanup SPMTestSupport Module

One last incremental PR in service of #2967, this time doing some clean up in the SPMTestSupport module.
In my work to update the semantics of Swift package identity, I've spent a lot of time in Workspace-adjacent tests. And one of the things that's been tripping me up is the use of Test___ as a prefix for supporting types, like TestTarget and TestProduct, which I often conflate with .testTarget or the like. I think the prefix Mock___ provides clearer, more descriptive names for these types.
Along the way, I also fixed some unused or misnamed APIs that I encountered. For example, there was an unused MockDependencyGraph type in addition to a MockGraph type that was used, so I renamed the latter to the former  (2f283f09a2ab1ed3e5c8e6db7a06e11f12dc641f).
As always, most of these changes are severable from one another and can be picked or dropped a la carte.

@swift-ci please smoke test

@swift-ci please smoke test

Thanks for all the continuing cleanup, @mattt!  I agree about the change from Test to Mock, but just had a couple of questions about the other changes.

@abertelrud Thanks so much for reviewing this. I just finished responding to all of your feedback. Let me know if there's anything else you'd like to discuss before merging this in.

Thanks, this looks great.  FYI, I also have a separate change to make SPMTestSupport able to be used for libSwiftPMDataModel, but we can merge yours first and I can rebase on that.

Actually, based on your previous comment it sounds as if it is, so I'll merge.


Is 1.21 coming out soon?

I saw you added basis for 1.21 so I was wondering if it will come out soon?


[NuGet.org Bug]: Api query does not return all results, compared to web search

Impact
It bothers me. A fix would be nice
Describe the bug
When I search for my Nuget packages via nuget.org, I currently get 40 packages as a result set. If I search via the api, with the same term, I always get one result less.

nuget.org: www.nuget.org/packages?q=netevolve
api: api-v2v3search-0.nuget.org/query?q=netevolve

It is always the same package (https://www.nuget.org/packages/NetEvolve.Extensions.XUnit.V3), which is missing and I have not been able to identify the cause. I have also tried additional parameters such as for a pre-release, without success.
Repro Steps
See enclosed links
Expected Behavior
The same number of Nuget packages is listed for me.
Screenshots
No response
Additional Context and logs
No response

There are two "latest" filters that are applied to the search results: "include prerelease" and "include SemVer 2.0.0". The web UI has a checkbox for include prerelease and SemVer 2.0.0 packages are always included. This is not the case for the API and SemVer 2.0.0 and prerelease versions are excluded by default for backwards compatibility. This second filter (SemVer level) is what is causing the difference.
Consider:
https://azuresearch-usnc.nuget.org/query?q=netevolve&prerelease=true&semVerLevel=2.0.0 (40 results)
vs.
https://azuresearch-usnc.nuget.org/query?q=netevolve (39 results)
See https://learn.microsoft.com/en-us/nuget/api/search-query-service-resource#request-parameters for more information.
Also note that the host name you are using is deprecated. It is not mentioned in the V3 service index at all and is only supported for legacy reasons, with no long term commitment. Make sure to discover search base URLs using the V3 service index:
https://api.nuget.org/v3/index.json
You can implement this endpoint discovery yourself or you can use the .NET client SDK:
https://learn.microsoft.com/en-us/nuget/reference/nuget-client-sdk#search-packages


Add in permission node

Simple permission node check. "javablock.bypass"

Addressed

Thank you for your contribution!


Codon vs OpenAI Triton?

Both Codon and Triton can generate CUDA kernels. What are the differences between the two when it comes to GPU programming?
Thanks!
PS. This may be something worth adding to Codon's FAQ

It would be interesting to see a matrix multiplication kernel implemented in codon and compared for performance against the triton benchmarks at the bottom of this page.


behaviour of species seen

As a [researcher] I want [the app to offer app-user the chance to input text on the species behaviour if they want for their sightings of whales, dolphins, and porpoises].
a small text box might be best at first

Can be included in general "notes" field


Form Recognizer: Enable live tests with native image

Create pipelines for live testing Form Recognizer with native image.

API change check
API changes are not detected in this pull request.


Do TF2 have some speedup to TF1.15 in CPU inference?

I find this is not a good Stackoverflow question.
So I post it here. Thank you for your time.

@guotong1988
Can you please share colab link or simple standalone code to reproduce the issue in our environment. It helps us in localizing the issue faster.
Please, fill issue template. Thanks!

@guotong1988
Can you please share colab link or simple standalone code to reproduce the issue in our environment. It helps us in localizing the issue faster.
Please, fill issue template. Thanks!


Roll Flutter Engine from 436f18b5a22e to 11fe7e016292 (1 revision)

https://github.com/flutter/engine/compare/436f18b5a22e...11fe7e016292
2022-05-27<EMAIL_ADDRESS>Use factory in display list for mask filter (flutter/engine#33654)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Individual Testsuite run is failing

Testsuite execution is failing after this testcase
ServiceLayer / IndividualPart / /v1/bequeath-your-data-and-die / Acceptance / Attribute configured? / new-application-address updated? / domain-name updated?
Usually it will take around 1 hour to run the individual service testsuite run. But in the latest , it took almost 4 hours to complete a run.
And after the mentioned testcase , we couldn’t able to retrieve control-construct and that leads to “unauthorized” error for all the after run testcases.

Priority:High

In the latest test execution this issue is not observed.
Hence closing this issue.


Support for str.split and str.join

As noted in #3674, support for str.split and str.join is pretty straightforward.
Remaining todos:

[x] enable support for maxsplit argument of str.split with default value of -1 (not currently possible with @overload_method, so we should fix that first)
[x] improve performance of split
[x] fast implementation of str.join just for lists (rather than generic iterables) that makes two passes over the list to preallocate the full size of the resulting string
[x] fast path string copy to use memcpy when character widths match
[x] figure out remaining performance spread between Numba and CPython
[x] update docs

With #3704 merged now, maxsplit support has been enabled.  This PR is ready for review now.

OK, I think I've addressed all of Stuart's comments, unless we want str.join(str) to have a faster implementation.

Thanks for your persistence in fixing these last few issues. I think conditional on CI pass this can be merged.

CI is passing (except the known Windows Py27 issue).


Improve serialization of navigation parameters

Improve serialization of navigation parameters by also saving the serialized string and compare the string instead of serialize the saved parameter again. This might cause minor side effects when complex objects used as parameter are modified later, but IMHO complex parameter objects should only used to transfer parameters and never be modified.

I agree that this needs to be solved. I will use this PR as reference as we fix the problem. Can't you solve this, in the meanwhile, simply by using SessionState or a custom Repository?


Allow setting the priority for a message

Hi guys,
I just added the possibility to define the message priority. Perhaps it would be a good idea to get this into the main code base.

sorry. I just saw that this has already been done in the fcm support.


build: use webpack 5

Blocked by https://github.com/ryanclark/karma-webpack/issues/450

Coverage remained the same at 76.654% when pulling d83321f3c07159faad517f90a63a11e8ed736b4d on webpack5 into b6319027d0ed293318095f3eee1037fd457d645b on master.


Batch upload tool to handle multiple files and display the results

#2570
I first created a for loop iterate over the submitted files in the handleFiles function and call submitBatch on each file. To display separate tabs for each file, I modified the function submitBatch to take an additional fileName variable as well as made the output state to be an object with the key being the file name and the value being the bundle. I then mapped over the object keys to create the tabs for each file and panels for the corresponding data.
This is what the final result looks like.

coverage: 94.293% (+0.001%) from 94.292% when pulling 272dcc91ffacca22d0ec605f276271f66b9f4cfd on Abi-Liu:abi-batch-upload-tool into 43e494a0b54de13f79218ce3daeb8564ce86b773 on medplum:main.

Nice, thanks @Abi-Liu !  Tested & verified


#4 Exact DeviceID not working

That fixed it for me

Thats a fix for iOS 11.
Hint: Accessing the Camera works only with HTTPS and on iOS 11 only in Safari!