Error Running VBoxManage guestcontrol

I don't even know where to start looking.
I'm on OSX10.10.
I got the following errors:
Running VBoxManage guestcontrol "IE8 - Win7" createdirectory "C:\Temp\" --username 'IEUser' --password 'Passw0rd!'
bash: -c: line 0: unexpected EOF while looking for matching `"'
bash: -c: line 1: syntax error: unexpected end of file
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" createdirectory "C:\Temp\" --username 'IEUser' --password 'Passw0rd!'

...

Copy rename.bat...
ename.bat" --username 'IEUser' --password 'Passw0rd!'/tmp/rename.bat" "C:\Temp
VBoxManage: error: File copy failed
VBoxManage: error: Copying file "/tmp/rename.bat" failed with status 500, exit code 1
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Copying file "/tmp/rename.bat" failed with status 500, exit code 1.
VBoxManage: error: Error processing "/tmp/rename.bat", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/ie_protectedmode.reg" "C:\Temp\ie_protectedmode.reg" --username 'IEUser' --password 'Passw0rd!'

...

Launch rename.bat...
ename.bat' --username 'IEUser' --password 'Passw0rd!'--image 'C:\Temp
VBoxManage: error: Could not resolve path to specified file was not found on guest
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestProcess, interface IGuestProcess, callee nsISupports
VBoxManage: error: Context: "WaitForArray(ComSafeArrayAsInParam(aWaitStartFlags), ctrlExecGetRemainingTime(u64StartMS, cMsTimeout), &waitResult)" at line 1337 of file VBoxManageGuestCtrl.cpp
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/ie_disablecache.reg" "C:\Temp\ie_disablecache.reg" --username 'IEUser' --password 'Passw0rd!'

...

Apply IE Protected-Mode Settings...
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/ie_protectedmode.reg" "C:\Temp\ie_protectedmode.reg" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: File copy failed
VBoxManage: error: Source file "Tools/ie_protectedmode.reg" does not exist or is not a file
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Source file "Tools/ie_protectedmode.reg" does not exist or is not a file.
VBoxManage: error: Error processing "Tools/ie_protectedmode.reg", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" execute --image "C:\Temp\jre-windows-i586.exe" --username 'IEUser' --password 'Passw0rd!' -- /s

...

Disabling IE-Cache...
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/ie_disablecache.reg" "C:\Temp\ie_disablecache.reg" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: File copy failed
VBoxManage: error: Source file "Tools/ie_disablecache.reg" does not exist or is not a file
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Source file "Tools/ie_disablecache.reg" does not exist or is not a file.
VBoxManage: error: Error processing "Tools/ie_disablecache.reg", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/ie_disablecache.reg" "C:\Temp\ie_disablecache.reg" --username 'IEUser' --password 'Passw0rd!'

...

Installing Java...
Local file 'Tools/jre-windows-i586.exe' doesn't exist
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/jre-windows-i586.exe" "C:\Temp\jre-windows-i586.exe" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: Warning: Source "Tools/jre-windows-i586.exe" does not exist, skipping!
Running VBoxManage guestcontrol "IE8 - Win7" execute --image "C:\Temp\jre-windows-i586.exe" --username 'IEUser' --password 'Passw0rd!' -- /s
VBoxManage: error: Could not resolve path to specified file was not found on guest
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestProcess, interface IGuestProcess, callee nsISupports
VBoxManage: error: Context: "WaitForArray(ComSafeArrayAsInParam(aWaitStartFlags), ctrlExecGetRemainingTime(u64StartMS, cMsTimeout), &waitResult)" at line 1337 of file VBoxManageGuestCtrl.cpp
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" execute --image "C:\Temp\jre-windows-i586.exe" --username 'IEUser' --password 'Passw0rd!' -- /s

...

Installing Firefox...
Local file 'Tools/firefox.exe' doesn't exist
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/firefox.exe" "C:\Temp
                                                                                irefox.exe" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: Warning: Source "Tools/firefox.exe" does not exist, skipping!
Running VBoxManage guestcontrol "IE8 - Win7" execute --image "C:\Temp
                                                                     irefox.exe" --username 'IEUser' --password 'Passw0rd!' -- /S
VBoxManage: error: Could not resolve path to specified file was not found on guest
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestProcess, interface IGuestProcess, callee nsISupports
VBoxManage: error: Context: "WaitForArray(ComSafeArrayAsInParam(aWaitStartFlags), ctrlExecGetRemainingTime(u64StartMS, cMsTimeout), &waitResult)" at line 1337 of file VBoxManageGuestCtrl.cpp
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" execute --image "C:\Temp
                                                                                irefox.exe" --username 'IEUser' --password 'Passw0rd!' -- /S

...

Installing Chrome Driver...
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/chromedriver.exe" "C:/Windows/system32/chromedriver.exe" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: File copy failed
VBoxManage: error: Source file "Tools/selenium_conf/chromedriver.exe" does not exist or is not a file
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Source file "Tools/selenium_conf/chromedriver.exe" does not exist or is not a file.
VBoxManage: error: Error processing "Tools/selenium_conf/chromedriver.exe", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/chromedriver.exe" "C:/Windows/system32/chromedriver.exe" --username 'IEUser' --password 'Passw0rd!'

...

Installing Selenium...
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/selenium-server-standalone.jar" "C:/selenium/selenium-server-standalone.jar" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: File copy failed
VBoxManage: error: Source file "Tools/selenium_conf/selenium-server-standalone.jar" does not exist or is not a file
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Source file "Tools/selenium_conf/selenium-server-standalone.jar" does not exist or is not a file.
VBoxManage: error: Error processing "Tools/selenium_conf/selenium-server-standalone.jar", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/selenium-server-standalone.jar" "C:/selenium/selenium-server-standalone.jar" --username 'IEUser' --password 'Passw0rd!'

...

Installing IEDriverServer...
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/IEDriverServer.exe" "C:/Windows/system32/IEDriverServer.exe" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: File copy failed
VBoxManage: error: Source file "Tools/selenium_conf/IEDriverServer.exe" does not exist or is not a file
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Source file "Tools/selenium_conf/IEDriverServer.exe" does not exist or is not a file.
VBoxManage: error: Error processing "Tools/selenium_conf/IEDriverServer.exe", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/IEDriverServer.exe" "C:/Windows/system32/IEDriverServer.exe" --username 'IEUser' --password 'Passw0rd!'

...

Configure Selenium...
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/WIN7/IE8/config.json" "C:/selenium/config.json" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: File copy failed
VBoxManage: error: Source file "Tools/selenium_conf/WIN7/IE8/config.json" does not exist or is not a file
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Source file "Tools/selenium_conf/WIN7/IE8/config.json" does not exist or is not a file.
VBoxManage: error: Error processing "Tools/selenium_conf/WIN7/IE8/config.json", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/WIN7/IE8/config.json" "C:/selenium/config.json" --username 'IEUser' --password 'Passw0rd!'

...

Prepare Selenium-Autostart...
Running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/selenium.bat" "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Startup/selenium.bat" --username 'IEUser' --password 'Passw0rd!'
VBoxManage: error: File copy failed
VBoxManage: error: Source file "Tools/selenium_conf/selenium.bat" does not exist or is not a file
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession
VBoxManage: error: Context: "int ctrlCopyFileToDest(COPYCONTEXT*, const char*, const char*, uint32_t)" at line 1945 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Source file "Tools/selenium_conf/selenium.bat" does not exist or is not a file.
VBoxManage: error: Error processing "Tools/selenium_conf/selenium.bat", rc=VERR_GENERAL_FAILURE
[WARNING] Error running VBoxManage guestcontrol "IE8 - Win7" copyto "Tools/selenium_conf/selenium.bat" "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Startup/selenium.bat" --username 'IEUser' --password 'Passw0rd!'

Thanks for your time.

Have you tried to run a VBox guestcontrol command manually, did they work correctly? If not you have to fix your VirtualBox-Installation.
Also the "Source file "Tools/*" does not exist or is not a file" seems to imply that you don't had set up the Tools directory/config correctly. Are you sure everything is in place like the readme stated?
If guestcontrol works fine manually and you're sure Tools-Dir and Config are fine please enable the debugging uncomment the following lines in mkvm.sh:
#set -x
#set -e

set -x  will print commands and their arguments as they are executed
set -e will exit the script when an error occurs

I have these issues too, does anyone know what the issue is? New version of VirtualBox maybe?

counter=0
'[' 0 -lt 10 ']'
echo 'Running VBoxManage modifyvm "IE9 - Win7" --nic1 bridged --bridgeadapter1 "en0"'
Running VBoxManage modifyvm "IE9 - Win7" --nic1 bridged --bridgeadapter1 "en0"
bash -c 'VBoxManage modifyvm "IE9 - Win7" --nic1 bridged --bridgeadapter1 "en0"'
'[' 0 = 0 ']'
guestcontrol_error=0
break
'[' 0 = 0 ']'
return 0
chk error 0 'Could not set Bridge'
'[' 0 '!=' 0 ']'
log '[OK]'
tee -a IE9-Win7.log
echo '[OK]'
[OK]
set_rdp_config
log 'Setting VRDE-Port ...'
echo Setting VRDE-Port ...
tee -a IE9-Win7.log
Setting VRDE-Port ...
++ find VMs/ -name '*.vbox' -print0
++ xargs -0 grep TCP/Ports
++ awk '-F"' '{print $4}'
++ sort
vrdeports=
(( i=9000 ))
(( i<=10000 ))
echo
grep -q 9000

Is your adapter name for the bridge really "en0" or "eth0" maybe?

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet <IP_ADDRESS>
WiFi Seems to be en0
Also I have en3 for Thunderbolt -> CAT5
If I manually switch to en0 and then run:
VBoxManage modifyvm "IE9 - Win7" --nic1 bridged --bridgeadapter1 "en0"
It switches to en3?
Some kind of preferencing?
Still, I dont get why it quits, its not really an error using either.

Looks like thats not the problem anyway. It goes OK and moves onto the next method: set_rdp_config()

chk error 0 'Could not set Bridge'
'[' 0 '!=' 0 ']'
log '[OK]'
echo '[OK]'
tee -a IE9-Win7.log
[OK]
set_rdp_config
log 'Setting VRDE-Port ...'
echo Setting VRDE-Port ...
tee -a IE9-Win7.log
Setting VRDE-Port ...
++ find VMs/ -name '*.vbox' -print0
++ xargs -0 grep TCP/Ports
++ awk '-F"' '{print $4}'
++ sort
vrdeports=
(( i=9000 ))
(( i<=10000 ))
echo
grep -q 9000

Sorry, my fault. Have you checked that the value for vm_path="VMs/" in config.sh is correct? It's the path were your VMs are created. It seems that the script isn't able to find a free port for VRDE (the port you use to connect to the machine via RDP). echo shouldn't be empty.
If your Path is correct you can skip the set_rdp_config-part (delete/comment line 585) and set the port manually after the Machines are created (or use the random port VirtualBox will set automatically), just to see if everything else works fine. If you don't want to connect to the machines via RDP it doesn't matter at all.

I commented out the RDP line and now I get this.
[OK]

create_temp_path
vm_temp='C:\Temp'
log 'Creating C:\Temp...'
echo Creating 'C:\Temp...'
tee -a IE9-Win7.log
Creating C:\Temp...
execute 'VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username '''IEUser''' --password '''Passw0rd!''''
counter=0
'[' 0 -lt 10 ']'
echo 'Running VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username '''IEUser''' --password '''Passw0rd!''''
Running VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username 'IEUser' --password 'Passw0rd!'
bash -c 'VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username '''IEUser''' --password '''Passw0rd!''''
bash: -c: line 0: unexpected EOF while looking for matching `"'
bash: -c: line 1: syntax error: unexpected end of file

Can you run guestcontrol commands by hand successfully?

Interesting.
This is what the script does:
VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username 'IEUser' --password 'Passw0rd!'
and i get: -bash: !': event not found
If I try this it seems to work:
VBoxManage guestcontrol 'IE9 - Win7' createdirectory 'C:\Temp' --username 'IEUser' --password 'Passw0rd!'
??? escaping the double quote? or something weird?

You can try to change execute "VBoxManage guestcontrol \"${vm_name}\" createdirectory \"${vm_temp}\" --username 'IEUser' --password 'Passw0rd!'" to execute "VBoxManage guestcontrol \"${vm_name}\" createdirectory \"${vm_temp}\" --username \"IEUser\" --password \"Passw0rd!\"" and see if it plays nice. If so you have to do this on every VBoxManage-line containing username and password, of course.
If all works fine I'll change the script here.

[OK]

create_temp_path
vm_temp='C:\Temp'
log 'Creating C:\Temp...'
echo Creating 'C:\Temp...'
tee -a IE9-Win7.log
Creating C:\Temp...
execute 'VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username "IEUser" --password "Passw0rd!"'
counter=0
'[' 0 -lt 10 ']'
echo 'Running VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username "IEUser" --password "Passw0rd!"'
Running VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username "IEUser" --password "Passw0rd!"
bash -c 'VBoxManage guestcontrol "IE9 - Win7" createdirectory "C:\Temp" --username "IEUser" --password "Passw0rd!"'
bash: -c: line 0: unexpected EOF while looking for matching `"'
bash: -c: line 1: syntax error: unexpected end of file

Yeah they work with single quotes just not double quotes.
I tried to do a find replace but i think i just made it worse.

Well. Try the other way. Replace " with ' and vice versa. Or try to escape the ! in Passw0rd! as it is a special char for bash.

hrm super annoying, i tried Passw0rd! and that didnt work, and then Passw0rd\! and that didnt work, goddamn escaping. Is there a way to use a different password?

omg github removed my extra
GODDAMN

Github is hiding my extra slashes? I can see them when I hit edit on the post!!! WTF?

I'm afraid not. You might can change it using a Windows-Command-Line-Tool using VBox guestcontrol, but you have to provide the initial Password.
What system you are using? Maybe your bash is different to ours.
(I've updated you comment to make the slashes visible.)

OSX Yosemite and iTerm 2

I know that https://github.com/tobyontour/modernie_selenium some changes for MacOS (some of them were already backported here), but I don't know if it was for Yosemite. But maybe toby has some advice that might help you.
I can check the script on Yosemite by myself but not in the next 2 weeks, sorry.

I got the same error.
I tried to change the path separator from backslash to slash.
It works without errors.
-  vm_temp="C:\\Temp\\"
+  vm_temp="C:/Temp/"

Please check if you can run the guestcommand hand. What's your virtualbox version?
I got a similiar error a while ago because virtualbox guestcommand now needs a filename in the target for all copy actions, before it just used the source filename if just a path was given. This was fixed in ievms a while ago, so this shouldn't be your problem but maybe it's just another syntax problem.
I'm using 4.3.28-100309~Debian~wheezy without problems.

My virtualbox version is 4.3.28r100309 on OS X Yosemite 10.10.3, bash 4.3.33.
If I entered the command manually, I got the error above: "-bash: !': event not found"...
I think this problem may be only occurred on yosemite virtualbox.
Thank you for replying my comment.

I assume it's the ! in --password 'Passw0rd!', which is a reserved char in bash. Usually this shouldn't be a problem, because it's enclosed in ', but it's worth a try. Just add a \ before the ! and run the command again.

I had a similar issue, a few notes:

The method copyto required full, really full, path (I used pwd to format the path on the script). In config.sh I used: tools_path="$(pwd)/Tools/" (@julienbechade @madhavajay).
When using single quotes I didn't need to escape the ! on the password, when using double quotes I did need to escape (@gpkvt).

This was tested on Ubuntu 14.04 LTS.


consider dropping (not modeling) the broad helium lines

It is not clear that it's worth the computational cost and model complexity to attempt to fit the narrow and broad helium lines. At the moment we fit the following:
hei_4471
hei_broad_4471
heii_4686
heii_broad_4686
hei_5876
hei_broad_5876

The narrow helium lines are tied to the narrow Balmer lines and the broad helium lines are tied to the broad Balmer lines.
I propose dropping the following lines:
hei_broad_4471
heii_broad_4686
hei_broad_5876

In addition, I propose fitting heii_4686 independently of the Balmer lines. HeII is a high-ionization line which is very rarely see in normal galaxies (with the exception of extremely metal-poor systems) and in QSOs it's not crazy to think that its kinematics (line-width and velocity shift) will be different than other lines (in the same way that we independently fit HeII 1640).
Thoughts?

Done in #179.


Ghidra Python script type hints raise SyntaxError exceptions

File "C:\Users\redacted\ghidra_scripts\capa_explorer.py", line 71
    attack: List[Dict[Any, Any]],
         ^
SyntaxError: mismatched input ':' expecting RPAREN
capa_explorer.py> Finished!
capa_ghidra.py> Running...
  File "C:\Users\redacted\ghidra_scripts\capa_ghidra.py", line 102
    rules_dir: str = ""
            ^
SyntaxError: mismatched input ':' expecting NEWLINE
capa_ghidra.py> Finished!

It doesn't seem to like the type hint syntax for some reason, even though my IDE says it's fine.
Versions:
Python: 3.12.5
Ghidra: 11.0.3
Ghidrathon: 4.0.0
flare-capa 7.1.0

Never mind. After I installed the Ghidrathon Ghidra extension that I forgot to install, everything worked.


Deprecated Atom APIs will be removed June 1st

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.1.2) of this package:

Store package style sheets in the styles/ directory instead of stylesheets/ in the <pack-name> package
The context menu CSON format has changed. Please see https://atom.io/docs/api/latest/ContextMenuManager#context-menu-cson-format for more info.
Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows: json "activationCommands": { "atom-workspace": ["foo:bar", "foo:baz"], "atom-text-editor": ["foo:quux"] }
atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.
Call ::getActiveTextEditor instead
Use atom.workspace.scan instead of atom.project.scan
Use TextEditor::getLastCursor() instead

Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.
If this package has been replaced by another package or functionality in core, please reply with this information.
See https://github.com/atom/atom/issues/6867 for more info. Thanks!

Have done fixes in https://github.com/stan3/atom-cucumber-step/tree/no_brackets


Rule listed as "csharp_style..." can change functionality

This rule is a little bit off from what it should be.
The page on the null-coalescing operators (?? and ??=) says that they can replace the "is" operator:

Beginning with C# 8.0, you can use the ??= operator to replace the code of the form
if (variable is null)
{
    variable = expression;
}

with the following code:
variable ??= expression;

However, IDE0016 refers to the "==" operator. That operator is sometimes overloaded, and can behave differently from "is". This rule is supposed to be a style rule, and as such should not be able to change the functionality of the code when applied.
As an example of this mattering: In Unity in particular, the "GameObject" class has some odd behavior with "==" equality checks and null (sometimes behaving as if the object is null when "is" would not see it as null). I believe the rule should be to replace "is" checks with null-coalescing exception throws, instead of "==" checks. Or the rule should also mention that it only applies to types which do not overload the equality operator.
At the very least, whatever tool(s) happen(s) to be running in my code editor (I think OmniSharp and/or Roslyn?) can't detect that the object type I'm comparing overloads the "==" operator. I know that escapes the scope I should be aiming for with opening an issue in this particular spot, but I figure it might be important context.

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

ID: 1d81a25a-3d7c-48e7-b354-57f244941ab1
Version Independent ID: b8c401f4-b4b3-089e-95ab-e468df19931b
Content: IDE0016: Use throw expression - .NET
Content Source: docs/fundamentals/code-analysis/style-rules/ide0016.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

@mavasani or @Youssef1313 thoughts on this? Should we transfer this to the dotnet/roslyn repo?

@gewarren I think it should be moved. It's likely by-design, but there are 2 enhancements I can think of:

Add a WarningAnnotation that this can change semantics.
Special case Unity


Add charts for visual representation of stock quote data

Also allow for users to choose period of prices to see on the chart


Android 12 BLUETOOTH_CONNECT permission

Could you please add Android 12 support? When targeting Android 12, AudioSwitch causes app to crash, because of missing BLUETOOTH_CONNECT permission. Please see stack trace bellow.
I know that I can add this permission myself, but I do not want bother users with this permissions request, just because they might have BT headphones. Is it really necessary to request this permission?
Thank you
java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for android.content.AttributionSource@509fd176: HeadsetService
        at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)
        at android.os.Parcel.createException(Parcel.java:2409)
        at android.os.Parcel.readException(Parcel.java:2392)
        at android.os.Parcel.readException(Parcel.java:2334)
        at android.bluetooth.IBluetoothHeadset$Stub$Proxy.getConnectedDevicesWithAttribution(IBluetoothHeadset.java:1040)
        at android.bluetooth.BluetoothHeadset.getConnectedDevices(BluetoothHeadset.java:549)
        at com.twilio.audioswitch.bluetooth.BluetoothHeadsetManager.onServiceConnected(BluetoothHeadsetManager.kt:86)
        at android.bluetooth.BluetoothHeadset$3.handleMessage(BluetoothHeadset.java:1422)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at android.app.ActivityThread.main(ActivityThread.java:7842)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Checking in - any ETA on this one?

This issue is fixed in the release version 1.1.3.

Looks like 1.1.3 has side effects that will lead to a crash. I filled a separate ticket about it. cc @afalls-twilio @4brunu

I am using latest version (1.5) in the project which is compiled against lower api and bluetooth crash mentioned in the description of this bug still happens when running on android 12 also in situation when i have  required permission.


Fill Select Filter DropDown List with items[] from an Ajax source with PageLoadingStrategy enabled

Hi,
I've a hard time to figure out how to fill out the filters of select fields from a external source (AJAX). I need to find a way to be filter results for options that are not necessary displayed in a page but be an option from another. I'm implemented successfully the PageLoadingStrategy along with the sorting done by the DB.
Actually, the examples show a static db.items[] list properties, but my db sources is async. I need to figure out a way to preload the select filter option list before loadData(). Also, I want the list to be loaded only once...
Your help is appreciated.
Thank you,

You can find how to do it in the jsgrid php sample project https://github.com/tabalinas/jsgrid-php/blob/master/public/js/sample.js
Basically, you request data for selects (use $.when if you need several selects with data from db) and on the done of ajax request initialize the grid.

Thank you!

I have the same problem as him.
I just want to say, this isn't a solution, the select filter should be able to pull from JSON instead of wrapping the entire JS-Grid with AJAX callbacks. If you have 2 different JSON, you'll end up with AJAX callback that make another Ajax call with yet another Ajax Callback that finally initialize the Grid. It would certainly make JS-Grid a lot more usuable if we can return an ajax call to Select Items property.

Well having multiple selects with ajax results is not much different from having only one:
var d1 = $.ajax({...});
var d2 = $.ajax({...});

$.when(d1, d2).done(function(result1, result2) {
   // initialize grid
});

At least you don't need to do a chain of ajax requests.
But I'll think about making it easier.
Thank you for the feedback.

Yes, it will be better to have an easier way as BlackCentipede suggets...
Chaining breaks the load indicators since then...

@Firework83 I agree that having straightforward way to do it is better.
But could you provide more details about the issue: "Chaining breaks the load indicators"
First do we really need chaining? $.when should do the job, no?
And what exactly happens to load indicator?


M.A.R.: Watch doppelganger because he might be spam seeding

M.A.R. requests the watch of the watch_keyword doppelganger because he might be spam seeding. See the Metasmoke search here

Failed experiment, please ignore.

yes pls ignore i am definitely not doing a spame 🕵


Fix 'facets of undefined' error in search view

Should close #57

QA done, search results now appear on mobile.


binary incompatibility when running the Gemini example: Expected 96 from C header, got 88 from PyObject

Describe the bug
I've run the code in https://github.com/protectai/llm-guard/blob/main/examples/google_gemini.py in Google Colab
To Reproduce
Steps to reproduce the behavior:

Create a python notebook with two pieces of code:
first from here:

!pip install google-cloud-aiplatform --upgrade --user
!pip install llm-guard

second from here: Go to https://github.com/protectai/llm-guard/blob/main/examples/google_gemini.py
Put reasonable Project/region
Execute first, reload env, execute second.
See error

Expected behavior
Something good should happen - you tell me :)
Screenshots
If applicable, add screenshots to help explain your problem.
Coming in next comment
Additional context
See below
first error
First it said It was compiled with different version of numpy, so I've added this as suggested by Gemini:
!pip install --upgrade numpy

second error
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-1-d5c52cca659e> in <cell line: 30>()
     28
     29 # Import Scanners from LLM Guard
---> 30 from llm_guard import scan_output, scan_prompt
     31 from llm_guard.input_scanners import PromptInjection, TokenLimit, Toxicity
     32 from llm_guard.output_scanners import NoRefusal, Relevance, Sensitive

14 frames
/usr/local/lib/python3.10/dist-packages/thinc/backends/numpy_ops.pyx in init thinc.backends.numpy_ops()

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

First error - hopefully fixed by updating numpy (maybe exacerbated?)


parsec-quickstart container on arm64

Currently the container image ghcr.io/parallaxsecond/parsec-quickstart is for x86 architecture only. Is there a plan to support arm64 as well?

Thanks for the issue @michael2012z. Currently, there are no concrete plans to have arm64 containers. But we could plan and add it for the coming release.


Use pre-split data in UniMol Tools

Hello,
I was wondering if it is possible to use the unimol-tools interface to train on a pre-split dataset? Is there a way to pass in a specific split if I have one predetermined?
I can almost achieve this effect using the group option and providing the group columns as my train and test splits with 2 folds. However, this would have one split with my training and test sets as desired, and one in reverse. Is there a way to run predict for an individual model instead of averaging across all models?
Thank you!

Hi am2145, thanks for your suggestions. Currently a pre-split dataset is not support, even with group split. we will add this features ASAP.

Thanks for the quick response.
I'll wait for the implementation and use the in-built splits in the meantime.
Out of curiosity, is it possible to predict for individual models so that I can compare the performance of the models trained on the different folds?
Thank you again for your help. I'm looking forward to trying out UniMol more.


Ozone wayland vaapi support

This is both a feature request and a question. Is it possible to add a patch to support VAAPI on the pure Wayland backend (ozone-platfrom=wayland)? Also, how to apply custom patches to chromium?
Patch link: https://github.com/OSSystems/meta-browser/blob/master/meta-chromium/recipes-browser/chromium/files/chromium-wayland/0001-ozone-add-va-api-support-to-wayland.patch

@pierro78 @MarkGhanz @mzinner @midzer @gz83  I added that patch as well as an omnibox patch!! https://github.com/Alex313031/Thorium/commit/08267e6810b4b0c3b17b060378531b0036da4feb and https://github.com/Alex313031/Thorium/commit/9a289261833dca49db59542684f541e02330e9c7

Doesn't work for me with 106.0.5212.0.
Tried to combine with other flags, like --ignore-gpu-blocklist, but videos are still black. Had to turn VAAPI off with --disable-features=VaapiVideoDecoder.
Repacked deb version, CachyOS (Arch-based). Mesa 22.1.4.


NativeModule.RNDeviceInfo is null

Hello! Using Expo: "^38.0.0", "react-native": "^0.62.2", with managed workflow(without folders ios, android) got this error
error: @react-native-community/react-native-device-info: NativeModule.RNDeviceInfo is null
How can I fix this, I can't move project to bare workflow(with ios, android)

Classic failure to auto-link most likely.
You'll have to ask Expo, if you use Expo in your project. I believe they have their own device info module.
For this module, if you can reproduce it using the example app, we can reopen and troubleshoot


Add partial sorting on AlertsCenter

This PR implements sorting from server side.
There are pending tasks to be done, for example, it is needed to combine pagination + sorting.

On this way, it is easy to cut for the MS having things on a stable way.
@mtho11 can you take a look, please ?
Thx.

LGTM.


Webdav support?

Hey, is it possible to sync to an external webdav server, or is that completely different from samba?

Unfortunately, that's not possible since this add-on only supports the SMB protocol. Webdav is a different protocol. Maybe I'll add support for other protocols some day, but currently that's not planned.


Desktop support poc

This PR is a POC implementation for #1137
It tackles runtime style injection as well as window injection. It uses the concept of a component injection too similar to how window in labs works.
Window and styles are currently new packages to ensure we don't introduce any circular dependencies

/release-pr

/release-pr

/release-pr

/release-pr

Is there a reason why we haven't progressed this PR?

Is there a reason why we haven't progressed this PR?

This work has been handed to @el-dav and @ImmanuelBaskaran. They are currently investigating the steps forward and setting up dev environments.


BUG: minimize disk space in Linux Azure pipelines to avoid saturation

@LucasGandel

It seems to fix Linux pipelines, great!


Merge master into develop

This is #7378 against develop
Checklist:

[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

CI is happy! Merging

CI is happy! Merging


Modify Athena connection description

Modify Athena connection description.

Codecov Report

Merging #5492 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5492   +/-   ##
=======================================
  Coverage   63.33%   63.33%
=======================================
  Files         349      349
  Lines       22099    22099
  Branches     2455     2455
=======================================
  Hits        13996    13996
  Misses       8089     8089
  Partials       14       14

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 dfb6147...89175a4. Read the comment docs.


WCAG 2.2 plans?

Does anyone know if there are plans to include WCAG 2.2 criteria to the Ace testing?
Thanks!

Hello, we are currently integrating the latest version of Deque Axe which is used by Ace to perform the checks inside HTML documents.
https://github.com/dequelabs/axe-core/releases/tag/v4.9.1
https://github.com/daisy/axe-core/pull/12
WCAG support is described here:
https://github.com/dequelabs/axe-core/blob/develop/doc/rule-descriptions.md
Note that the EPUB Accessibility specification currently only references 2.1, but this will be tracked upwards as the standards evolve:
https://w3c.github.io/epub-specs/epub33/a11y/#sec-conf-reporting-pub


Update from bump-version

This is an automated pull request to update from branch bump-version

📝Changed routes:

/classes-encounters

(view full size)

Commit 1002f432ab96948107d184332edcdef2b5ab1f88 (https://bckstudio-on-zeitnow-git-bump-version.stryder031.now.sh).


Fix duplicate trailing line feed in config

The print_example command creates a duplicate trailing newline characters, because the YAML dump and the print function both add a newline. Therefore, the example_config.yaml file also needs two trailing newlines to pass the GitHub checks, because it is compared with the output of print_example. This problem is hard to spot, and you can't even save a YAML file with two trailing newlines in the default config of Visual Studio code.
I suggest fixing this by having the print_example function not output that additional empty line and removing the duplicate newline from the example.config.yaml. This makes the output of print_example also consistent with the output of print_schema which does not have that additional newline.

By the way, you should never write an example config manual, it's autogenerated, if that wasn't clear.

Yes, I eventually understood the idea behind it :)


RS Access for Sender Automation team (on local machines)

Need assistance with access to Report Steam for necessary team members.
Up and running with RS on local machine:
[] Joel
[] Herman
[] Rick

Meeting scheduled with Aurora Hayes for 7/7/21 to walk team through how to add Report Stream to their Windows based machines.

Sender Automation team met with Jim Duff today to get Joel up and running on RS.

Rick has confirmed that he has successfully installed RS on his local machine as of 7/13/21.
Will confirm with Herman when he returns tomorrow.

RS Installed in my local machine and initial test of the VB Script is successful.


Travis: test on Ubuntu 18

I'm closing this until I get it passing.

Hi @nikolas,
Moving to the latest build of Ubuntu changes the version of the dependencies. The cppcheck, in particular, is presenting some new stuff that wasn`t captured before. The fix for those new cppchecks outputs is treated on v3/dev/phases. The branch v3/dev/phases will be soon merged into v3/master. Your pull request was already rebased there at: 3490247e39bf0fde5ce80bb392fbe1df46c8c32a
Thank you for your contribution.


[2339] Remove sites max limit method

Follow on from this PR - https://github.com/DFE-Digital/publish-teacher-training/pull/1857

 [S] Remove can_add_more_sites? from TTAPI and publish


Enhance maxSelectedObjects

I don't know if you want this change or not, but I've converted maxSelectedObjects to be a list of objects, as it seem to be more flexible than a simple int.
https://docs.seats.io/docs/renderer/config-maxselectedobjects/

Addtional comments, maxSelectedObjects can receive a number value or a list of object detail. I will fix this issue in the next version.


Error in ./build.sh

Hello, I'm getting the next error while trying to run sudo ./build.sh:

I don't know why this is happening since I'm using python 3.6.9 and already removed the 2.7 version.
Please help!

same here

Modify the Dockerfile file in the folder.
Amend the the https://bootstrap.pypa.io/get-pip.py to https://bootstrap.pypa.io/pip/2.7/get-pip.py.
Then you can solve the problem.

Thank you @WhoAmI-kai , it was really helpful.

@WhoAmI-kai, huge help, much appreciated.


Add tap-dash-hudson

Checklist

[x] Add/update the file in the appropriate folder (/taps or /targets). The name of the file should match the name of the tap. If there is already one, add a descriptor to the name such as -search.
[x] Add/update the PNG logo image in /assets/logos/<taps or targets>. The image name must match the YAML file name.
[x] Tag @tayloramurphy or @pnadolny13 to flag it for review. Or post to the #hub channel on Meltano slack.

@pnadolny13 @tayloramurphy
Reviewer Checklist

[ ] Validate file against JSON Schema. https://www.jsonschema.net/home is an option.
[ ] Build website locally and validate everything works.

@GtheSheep thanks for adding this! Looks great and tests are passing, I'll merge it in.


Add revenue functionality

Add max withdraw button
Add revenue column
Add ConvertRevenue modal
Add Convert revenue to stake button
Add withdraw revenue button
Add  stake revenue type badge in transaction popup

@yeast72  Screenshots inside the pull request would be nice.  Also please mention that this fixes #26


Customized Join Table Select/Update

Your Question
Say for example I have these structs:
type Person struct {
  ID        int
  Name      string
  Addresses []Address `gorm:"many2many:person_addresses;"`
}

type Address struct {
  ID   uint
  Name string
}

type PersonAddress struct {
  PersonID  int
  AddressID int
  FieldOne string
  FieldTwo string
}

[ ... ]

_ = DB.SetupJoinTable(&Person{}, "Addresses", &PersonAddress{})

My question is:
a) how do I select these custom field out of the join table to get them as JSON when selecting out Person with Preload of Addresses
b) how do I save new values to these, the documentation says you can have custom fields but doesn't explain how to actually do this
The document you expected this should be explained
https://gorm.io/docs/many_to_many.html#Customize-JoinTable
Expected answer
Documentation describing how this could be done?

a) how do I select these custom field out of the join table to get them as JSON when selecting out Person with Preload of Addresses

Preload won't query join table's content, use the join table as has-many to load its value.

b) how do I save new values to these, the documentation says you can have custom fields but doesn't explain how to actually do this

When using many2many, GORM will only create the record with user, address's foreign keys, you could add other data in PersonAddress's before save hooks.

@jinzhu Regarding the point b): when I try to insert into projects it says  that the join table has no column roles, it only creates the key fields although I set a value for this column
package main

import (
	"gorm.io/driver/sqlite"
	"gorm.io/gorm"
)

type User struct {
	ID uint
	Name string
}

type ProjectUser struct {
	UserID uint
	ProjectID uint
	Roles string
}

func (user *ProjectUser) BeforeSave(db *gorm.DB) error {
	user.Roles = "default_val"
	return nil
}

type Project struct {
	ID uint
	Name string
	Users []User `gorm:"many2many:project_users;"`
}

func main() {
	db, err := gorm.Open(sqlite.Open("test4.db"), &gorm.Config{})
	if err != nil {
		panic("failed to connect database")
	}

	db.AutoMigrate(&User{}, &Project{})

	if err := db.SetupJoinTable(&Project{}, "Users", &ProjectUser{}); err != nil {
		println(err.Error())
		panic("Failed to setup join table")
	}

	bogdan := User { Name: "Bogdan" }

	db.Create(&bogdan)

	db.Create(&Project{Name: "Test1", Users: []User {{ID: bogdan.ID}}})
}

go run main.go

2021/08/19 16:32:18 /Users/bahdan.shyshkin/work/gorm_test/main.go:47 table project_users has no column named roles
[0.020ms] [rows:0] INSERT INTO `project_users` (`user_id`,`project_id`,`roles`) VALUES (1,1,"default_val") ON CONFLICT DO NOTHING

2021/08/19 16:32:18 /Users/bahdan.shyshkin/work/gorm_test/main.go:47 table project_users has no column named roles
[0.634ms] [rows:1] INSERT INTO `projects` (`name`) VALUES ("Test1")

@BogdanJava same is happening with me. @jinzhu what can be the issue?

@BogdanJava I've figured it out. Add the SetupJoinTable method just before Automigrate.

@BogdanJava I've figured it out. Add the SetupJoinTable method just before Automigrate.

Yes it worked for me, nice solution. Thanks for the help.

@BogdanJava @shreeyashnaik Something I still don't understand... In @BogdanJava's example above, how does one populate the roles field on the join table with anything other than default_val, as you can't pass anything to the BeforeCreate hook?

@jinzhu Regarding the point b): when I try to insert into projects it says that the join table has no column roles, it only creates the key fields although I set a value for this column
package main

import (
	"gorm.io/driver/sqlite"
	"gorm.io/gorm"
)

type User struct {
	ID uint
	Name string
}

type ProjectUser struct {
	UserID uint
	ProjectID uint
	Roles string
}

func (user *ProjectUser) BeforeSave(db *gorm.DB) error {
	user.Roles = "default_val"
	return nil
}

type Project struct {
	ID uint
	Name string
	Users []User `gorm:"many2many:project_users;"`
}

func main() {
	db, err := gorm.Open(sqlite.Open("test4.db"), &gorm.Config{})
	if err != nil {
		panic("failed to connect database")
	}

	db.AutoMigrate(&User{}, &Project{})

	if err := db.SetupJoinTable(&Project{}, "Users", &ProjectUser{}); err != nil {
		println(err.Error())
		panic("Failed to setup join table")
	}

	bogdan := User { Name: "Bogdan" }

	db.Create(&bogdan)

	db.Create(&Project{Name: "Test1", Users: []User {{ID: bogdan.ID}}})
}

go run main.go

2021/08/19 16:32:18 /Users/bahdan.shyshkin/work/gorm_test/main.go:47 table project_users has no column named roles
[0.020ms] [rows:0] INSERT INTO `project_users` (`user_id`,`project_id`,`roles`) VALUES (1,1,"default_val") ON CONFLICT DO NOTHING

2021/08/19 16:32:18 /Users/bahdan.shyshkin/work/gorm_test/main.go:47 table project_users has no column named roles
[0.634ms] [rows:1] INSERT INTO `projects` (`name`) VALUES ("Test1")

Can you still rember how your join looked in a) ? I can't seem to figure it out.

@apuckey Do you still remember how you solved a)? Or @jinzhu could you give an example of the Join you would use for this situation?

yea same here, can you provide example, specially on the official documentation, i was even surprised in the first place not finding it


Creates a Chip2 circuit spec

Thanks for this. I tested it successfully by merging this branch into the demo branch (to have the Starship engine). In order to make this work, I had to replace all occurrences of chip0 in the starship engine in engine.py by chip2 though. Do we want to add these changes here, too, or should I keep them only in my local version?

Do we want to add these changes here, too, or should I keep them only in my local version?

I think the changes you refer to have already been made in #237, and are just awaiting review :slightly_smiling_face:

@co9olguy, this should now be ready for re-review, with significantly improved S2gate logic. For the time being, the S2gates are restricted to have r=1 or r=0. We can update this to the proper values once known.


RP2350 porting

I am getting some boards with the new RP2350 micro-controller on them in the next couple of weeks. Speciifically I am getting

Pimoroni Pico Plus 2
SparkFun Pro Micro - RP2350
Challenger+ RP2350 WiFi6/BLE5
Challenger+ RP2350 BConnect

The SparkFun boards will be here tomorrow. The Pimoroni board has shipped but it is still in the UK. The other two are coming from Sweden and haven't shipped yet.
I am hoping to get AMY running on them in MicroPython. It turns out there is a fork of the Arduino board support package for the RP2040 that supports the RP2350 here: https://github.com/PontusO/arduino-pico-rp2350
MicroPython for the RP2350 boards itself is still preliminary, but I should at least be able to get the Arduino version running. RP2350 boards are pretty much back-ordered everywhere, so any help you can offer on the porting would be appreciated.

Very cool! Let me know if you need any help getting it going.

The SparkFun boards only have a Qwiic connector so I need an audio board with one of those, or some kind of translator to I2S. The Pimorni boards should be here either the end of this week or early next week and they have more connector types.

I've received my Pi Pico 2 boards. I just have the "official" Rpi ones.
Everything ported fine, no changes to AMY_Test_Pi_Pico in Arduino at least other than the board type, using 4.0.1 of the arduino-pico package.
We get 6 juno-6 patch #0s running at once on one core, not bad. This is at 200MHz and -O3.
Later we can look at the Pi Pico multicore example and re-port to the RP2530 to get more polyphony. We also want to look at floating point performance.

I've received my Pi Pico 2 boards. I just have the "official" Rpi ones.
Everything ported fine, no changes to AMY_Test_Pi_Pico in Arduino at least other than the board type, using 4.0.1 of the arduino-pico package.
We get 6 juno-6 patch #0s running at once on one core, not bad. This is at 200MHz and -O3.
Later we can look at the Pi Pico multicore example and re-port to the RP2530 to get more polyphony. We also want to look at floating point performance.

Excellent news! As far as I know, Amy should not have issues on common RP2350 boards. But the compiled uf2 files may differ between boards. I've got a script that runs over all the boards I have, doing builds.


[FEATURE] Rules | Create/Edit detector | Source filter name

Is your feature request related to a problem?
Still hasn't been decided what will filter be named. There are two options: Source and Library
What solution would you like?
Waiting on the designer's team to decide which label to use.
Do you have any additional context?

@jovancacvetkovic We should use "Source" label. So verify that is the case in all the places where we have a rules table and we can close this issue if no change is required.

@jovancacvetkovic We should use "Source" label. So verify that is the case in all the places where we have a rules table and we can close this issue if no change is required.

@amsiglan I can confirm that there is no change required.

Nothing to do.


Not sure how to embed it into the form in my webpage.

Can you make a short video explaining how to use the codes. It can be uploaded anywhere, youtube, github etc.

Hey, any link about this? :)

I don't have time to make a video, but I'm going to add some better docs and examples soon.


Cache default values

Closes #1348. This PR introduces DefaultValueCache that caches calls to DefaultValueFactory. Since caches operate over arenas, not states, this PR required some refactoring of DefaultValueFactory.

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[ ] Documentation added for any new functionality
[x] Entry added to UNRELEASED.md for any new functionality

Codecov Report

Merging #1465 (241bd6f) into unstable (016f53d) will decrease coverage by 0.00%.
The diff coverage is 67.50%.

:exclamation: Current head 241bd6f differs from pull request most recent head 9869c08. Consider uploading reports for the commit 9869c08 to get more accurate results

@@             Coverage Diff              @@
##           unstable    #1465      +/-   ##
============================================
- Coverage     74.72%   74.71%   -0.01%
============================================
  Files           359      360       +1
  Lines         11504    11511       +7
  Branches        550      577      +27
============================================
+ Hits           8596     8601       +5
- Misses         2908     2910       +2

Impacted Files
Coverage Δ

...ache/tla/bmcmt/rules/aux/DefaultValueFactory.scala
40.62% <40.00%> (+2.52%)
:arrow_up:

.../forsyte/apalache/tla/bmcmt/rules/FunAppRule.scala
85.71% <62.50%> (-3.68%)
:arrow_down:

.../forsyte/apalache/tla/bmcmt/rules/SeqOpsRule.scala
96.32% <66.66%> (-1.46%)
:arrow_down:

...yte/apalache/tla/bmcmt/rules/aux/ProtoSeqOps.scala
92.75% <75.00%> (-2.64%)
:arrow_down:

.../forsyte/apalache/tla/bmcmt/rules/ChooseRule.scala
86.36% <83.33%> (-3.64%)
:arrow_down:

...yte/apalache/tla/bmcmt/SymbStateRewriterAuto.scala
52.38% <100.00%> (+1.16%)
:arrow_up:

...yte/apalache/tla/bmcmt/SymbStateRewriterImpl.scala
93.02% <100.00%> (+0.34%)
:arrow_up:

.../apalache/tla/bmcmt/caches/DefaultValueCache.scala
100.00% <100.00%> (ø)

...syte/apalache/tla/bmcmt/rules/IfThenElseRule.scala
93.33% <100.00%> (ø)

...t/forsyte/apalache/tla/bmcmt/rules/QuantRule.scala
94.64% <100.00%> (-0.05%)
:arrow_down:

... and 6 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 016f53d...9869c08. Read the comment docs.


KAFKA-17256 KRAFT should honor the listener name and security protocol from ClusterConfig

related to https://issues.apache.org/jira/browse/KAFKA-17256
Currently in ClusterConfig setListenerName and setSecurityProtocol not work under KRaft mode, while we could set it in zookeeper mode. This PR aims to align the behavior.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@brandboat Could you please add tests?

@brandboat could you please rebase to trigger CI again?

@brandboat do you have free time to rebase it?

@brandboat do you have free time to rebase it?

Done, thanks for looking into this PR again.

Found 3 test failures:
FAILED ❌ MetricsDuringTopicCreationDeletionTest > "testMetricsDuringTopicCreateDelete(String).quorum=zk"
FAILED ❌ ShareConsumerTest > testExplicitAcknowledgementCommitAsync()
FAILED ❌ PlaintextAdminIntegrationTest > "testElectPreferredLeaders(String).quorum=kraft"

These 3 tests passed in my local env


Separate payment providers into individual DLLs / packages

Rather than having a bunch of payment providers in one big project, I'd like to look at separating them out into their own DLLs. The long term plan would be to release these as individual Umbraco / NuGet packages so that devs can install just the providers they need.
From the Umbraco package perspective, we could look at adding some UI to Tea Commerce to aid installing them, rather than needing to download them and install them manually one by one,

Closing issue, can continue discussion on PR #24


[RESTEASY-1798]

Implement proxies for Single and Observable.
[RESTEASY-1798]
Remvoving RxCompletionStageProxyTest; adding @Ignore to
resteasy-rxjava2/RxTest.
[RESTEASY-1798]
Deleted RxCompletionStageProxyTest.

I prefer to have more javadoc in the code for the future updating/improving of RESTEasy (at least non-test new classes&&important changes)

@ronsigal Please remove ExpectedFailing annotation from CompletionStageResponseTest#proxyTest?
https://github.com/resteasy/Resteasy/pull/1418/files#diff-29bb5a7a4343174d365166f6c2f0b5e5R275
We can check travis results after that.

Closing, as this is replaced by https://github.com/resteasy/Resteasy/pull/1493


specialChars not identifying correct regular expression

I have the following regular expression:
/\[\[\s?date\(\'([0-9a-zA-Z\s\:\-\+]*)\'(\s?,\s?\'([a-zA-Z \-\:]*)\')?\)\s?\]\]/g

Which matches the following string:
I went for a walk on '[[date('last week', 'Y-m-d')]]' and '[[ date('today') ]]'

Results can be seen here:
https://regex101.com/r/XC8gQT/2
However, when I try to use the regular expression with specialChars, the text is not replaced as I would expect.
The code I've used is:
window.onload = function() {
        editor = CodeMirror.fromTextArea(document.getElementById("query"), {
            lineNumbers: true,
            mode: "text/x-mysql",
            matchBrackets: true,
            specialChars: /\[\[\s?date\(\'([0-9a-zA-Z\s\:\-\+]*)\'(\s?,\s?\'([a-zA-Z \-\:]*)\')?\)\s?\]\]/g,
            specialCharPlaceholder: function(ch) {
                var node = document.createElement("span");
                node.innerHTML = 'it-works';
                node.className = "special";
                node.title = 'It works!';
                return node;
            }
        });
    };

specialChars should match a single character. I'm not sure what you are aiming for, but replacing a whole sentence with a red dot doesn't seem like useful behavior, so specialChars is probably not what you're looking for.

Is there something like specialChars that can match a phrase or anything longer than a single character?
The code I have has placeholders, which i'd like to apply some CSS to or add a class. Such a placeholder would be any text between the (bespoke) [[ ]] tags.

You'd use an overlay or a custom mode for that.

Could you provide a small code sample to get me started?

Nope, sorry, I am not being paid enough to act as a help desk.


PHP8.1 deprecated message

Hello,
as discussed at #4 i get the following error with 3.x an PHP8.1
Return type of Windwalker\Query\Query::getIterator(string $class = 'stdClass') should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Hi @asika32764,
will there be an adaptation of version 3.x to make it compatible with PHP8.1?

Can we assume that the 3.x branch is dead?


New version: evilmartians.lefthook version 1.7.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


xenlib: add sphinx/doxygen docs and build

This PR adds initial version of xenlib documentation which is built
using sphinx and doxygen.
to build docs run below commands:
 cd docs
 mkdir build
 cd build
 cmake ../
 make [Doxygen|Sphinx]

The HTML docs can be found in build/sphinx/index.html.
The patch is based on [1] and [2], and most of doxygen and sphinx settings
just taken form Zephyr docs.
[1] https://devblogs.microsoft.com/cppblog/clear-functional-c-documentation-with-sphinx-breathe-doxygen-cmake/
[2] https://medium.com/practical-coding/c-documentation-with-doxygen-cmake-sphinx-breathe-for-those-of-use-who-are-totally-lost-part-2-21f4fb1abd9f

Looks great. How do you think, is it possible to integrate your changes with readthedocs.io?
I am already hosting mouling docs here, and it would be cool to host xenlib docs as well.

Don't know :( I really not an expert in this :) Just quickly did it on knees

Don't know :( I really not an expert in this :) Just quickly did it on knees

Okay, I'll handle that part. Could you please update the PR so we can continue with the review?

FYI. checkpatch failed due to web-links in commit message


[feature] Add $osf.confirmDangerousAction() to osf helpers; moved from project js.

This is a minor change, moving the "no, really, are you sure you want to do that?" prompt to osfHelpers.js

Pass finished. :point_up:

Also, a basic unit test for confirmDangerousAction would be useful.

I've added a basic test - it's very basic, only checking that bootbox is in fact called when the helper is called. A couple more tests would be good, but don't seem like the best use of my time right now.
If that holds up the PR, please let me know; otherwise I'll add it to my ever-growing list of things to fix later.

Yep, the test is good for the purposes of this code. Good to merge. :octopus:


Add Events & Recurring Events

A few more tests need to be written and some cleaning, otherwise events, recurring events, and updating these events is complete.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5fd69a8). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #56   +/-   ##
=========================================
  Coverage          ?   93.78%
=========================================
  Files             ?       37
  Lines             ?      676
  Branches          ?       86
=========================================
  Hits              ?      634
  Misses            ?       41
  Partials          ?        1

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 5fd69a8...9af84bf. Read the comment docs.

Not enough tests are made yet, however I am reasonably confident the core logic does not need to be re-written so I am merging this now.


Registry

@JuliaRegistrator register()

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/90149
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" 9b280ee9e520d1f4f4a74a6f6e95c1c3dee6e4a1
git push origin v0.0.1


Take command replaces with air

When I use the take command to take something from an inventory, it replaces the inventory content with air.
Example:
i@stone_axe|i@apple|i@dirt|i@clay_brick
Now i take away the apple and list the inventory of the player and it says:
i@stone_axe|i@air|i@dirt|i@clay_brick
I always expected it to look like
i@stone_axe|i@dirt|i@clay_brick

No, inventory is slot based, so when you take from inventory, you replace it with air.

Nevermind I just realized your right. Just had never to look at it that closely


Secure backend jobs with API key

Based on: https://github.com/chanzuckerberg/napari-hub/issues/719
Implementation difference:
We would need a shared secret between the caller (the event bridge) and the callee (the lambda) to secure the API calls. Instead of using the secret manager, a randomly generated UUID is used as a secret. The secret is known only to the required resources.
The advantage of this implementation is that lesser infrastructure needs to be maintained. It can also be set up to be updated at a regular cadence if the need arises.

Added relevant documentation: https://github.com/chanzuckerberg/napari-hub/wiki/Backend-Architecture#implementation-details-of-securing-data-update-workflow


Amplify Auth signInWithWebUI() crashes on iOS 14.5

Describe the bug
Amplify.Auth.signInWithWebUI() no longer works on iOS 14.5; it causes the app to crash. I checked on 14.4, and it still worked as expected.
To Reproduce
Steps to reproduce the behavior:

Setup Amplify auth with same settings described in iOS tutorial
Add signInWithWebUI
Run signInWithWebUI
crash

Expected behavior
Sign-in UI to appear as it did in iOS 14.4.
Environment(please complete the following information):

Amplify Framework Version: Latest?
Dependency Manager: Cocoapods
Swift Version: 5
CLI Version: 4.50.0
Include any relevant log output under ~/.amplify/logs/amplify-cli-<issue-date>.log

 - 2021-04-28T02:52:28.725Z|info : amplify status core
2021-04-28T02:52:45.758Z|info : amplify help api
2021-04-28T02:58:21.453Z|info : amplify help core
2021-04-28T02:58:33.385Z|info : amplify pull core
2021-04-28T02:58:43.955Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2021-04-28T02:58:43.957Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]leapp-[***]ev-[***]449-[***]ment"}])
2021-04-28T02:58:44.569Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]leapp-[***]ev-[***]449"}])
2021-04-28T02:58:45.519Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]leapp-[***]ev-[***]449-[***]ment"}])
2021-04-28T03:13:27.367Z|info : amplify help core
2021-04-28T03:26:55.744Z|info : amplify version core
2021-04-28T03:45:06.286Z|info : amplify help core
2021-04-28T03:45:17.036Z|info : amplify status core

Device Information (please complete the following information):

Device: Simulator
iOS Version: 14.5

Additional context
Here is the output from the console:
2021-04-27 21:18:53.150250-0600 Event Sale App[6402:70852] Websocket write - {"type":"connection_init"}
2021-04-27 21:18:53.151229-0600 Event Sale App[6402:70852] ConnectionProviderError.jsonParse; identifier=(N/A); underlyingError=The data couldn’t be read because it isn’t in the correct format.
Subscription has terminated with APIError: Subscription item event failed with error
Caused by:
jsonParse(nil, Optional(Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "type", intValue: nil)], debugDescription: "Cannot initialize RealtimeConnectionProviderResponseType from invalid String value connection_error", underlyingError: nil))))
2021-04-27 21:18:53.258024-0600 Event Sale App[6402:70852] [connection] nw_socket_handle_socket_event [C2.1:1] Socket SO_ERROR [54: Connection reset by peer]
2021-04-27 21:18:53.261608-0600 Event Sale App[6402:70850] WebsocketDidDisconnect - No error
2021-04-27 21:18:54.089501-0600 Event Sale App[6402:70852] [AuthenticationSession] The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".
2021-04-27 21:18:54.095260-0600 Event Sale App[6402:70852] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001803f7978 __exceptionPreprocess + 236
	1   libobjc.A.dylib                     0x0000000180188800 objc_exception_throw + 56
	2   AuthenticationServices              0x00000001a823a5fc -[ASWebAuthenticationSession initWithURL:callbackURLScheme:usingEphemeralSession:completionHandler:] + 668
	3   AWSMobileClient                     0x00000001033fdaf8 -[AWSCognitoAuth launchASWebAuthenticationSession:] + 328
	4   AWSMobileClient                     0x00000001033fd55c -[AWSCognitoAuth launchSignInVC:] + 2024
	5   AWSMobileClient                     0x00000001033fefec -[AWSCognitoAuth getSessionInternal:completion:] + 2696
	6   AWSMobileClient                     0x00000001033fcb38 __47-[AWSCognitoAuth enqueueGetSession:completion:]_block_invoke + 52
	7   Foundation                          0x00000001807d3574 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
	8   Foundation                          0x00000001807d3450 -[NSBlockOperation main] + 100
	9   Foundation                          0x00000001807d65b0 __NSOPERATION_IS_INVOKING_MAIN__ + 20
	10  Foundation                          0x00000001807d2574 -[NSOperation start] + 780
	11  Foundation                          0x00000001807d6f78 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 20
	12  Foundation                          0x00000001807d6a60 __NSOQSchedule_f + 180
	13  libdispatch.dylib                   0x00000001042907ac _dispatch_block_async_invoke2 + 104
	14  libdispatch.dylib                   0x0000000104281884 _dispatch_client_callout + 16
	15  libdispatch.dylib                   0x00000001042845a4 _dispatch_continuation_pop + 524
	16  libdispatch.dylib                   0x0000000104283a38 _dispatch_async_redirect_invoke + 700
	17  libdispatch.dylib                   0x00000001042937c8 _dispatch_root_queue_drain + 376
	18  libdispatch.dylib                   0x0000000104294188 _dispatch_worker_thread2 + 132
	19  libsystem_pthread.dylib             0x00000001bca3a728 _pthread_wqthread + 212
	20  libsystem_pthread.dylib             0x00000001bca3952c start_wqthread + 8
)
libc++abi: terminating with uncaught exception of type NSException
CoreSimulator 757.5 - Device: iPhone 12 Pro Max (6F45EBC8-C3AD-4587-974B-6E47C34F9014) - Runtime: iOS 14.5 (18E182) - DeviceType: iPhone 12 Pro Max
terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".'

Hi @wilson090,
I couldn't reproduce your issue on iOS 14.5 with the latest version of Amplify.
can you share what's the value of `CFBundleURLSchemes' in your Info.plist file?

Ah I realized I was not using the latest version of Amplfiy. The iOS tutorial here specifies a much outdated version, but after updating to the latest stable it now works. Thanks!


metadata in explorer can be shown as plain text instead of value

the values aren't really human readable which to some extent makes it hard for people looking at an explorer to decipher. The wallet has been able to display the metadata in plain text.
Here is an example. http://explorer.testnet.symboldev.network/accounts/TBFZX6PSZQYNHHKLABHWYJRMDJSE3CRJOOSSECQ
We can see the meta data is shown as a value.

I could be better to be seen as plain text, not unlike the wallet.

From wallet version 1.011 metadata values should be consistent in explorer and wallet:


-l -o -e keys

Good day!
Isn't it strange that -l key has path inside .forever dir and -o/-e -- is relative to current dir?
Thanks!

+1, this is not intuitive at all.

+1, this is not intuitive at all.

I agree this behavior is inconsistent. For example:
forever -l l.txt -e e.txt -o o.txt test.js

That will result in two files in the current directory and one in ~/.forever.
I would expect them all to be in the current working directory.

+1
It is inconsistent with *.json config files too: using "logFile": "log/app.log" will result in [Error: ENOENT: no such file or directory, open '/Users/laise/.forever/log/http_api.log'] error.


Adding new actions for ppl and datasource apis

Description
This change adds new permission actions defined for ppl and datasource apis.
Category
Enhancement.
Why these changes are required?
Dashboards UI should have a way to map added permissions to User Role.
What is the old behavior before changes and new behavior after changes?
These are new changes.
Issues Resolved
https://github.com/opensearch-project/sql/issues/1477
Testing
manual testing.
Check List

[ ] New functionality includes testing
[x] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1395 (f647e12) into main (5e99582) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main    #1395   +/-   ##
=======================================
  Coverage   71.67%   71.67%
=======================================
  Files          88       88
  Lines        2037     2037
  Branches      272      277    +5
=======================================
  Hits         1460     1460
  Misses        511      511
  Partials       66       66

Impacted Files
Coverage Δ

public/apps/configuration/constants.tsx
85.71% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@RyanL1997  can you backport this to 2.7. I couldn't add labels to the PR.


Word finder

What does the program do ?
wordFinder.cpp will look for any file in it's current directory specified by the user, and will search for a word written by the user. File writes to a vector, so not most efficient. However I wanted an excuse to try std::count. I tested using the words_alpha.txt  from this repo.
In what programming language it is written?
C++

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Run clang-format against the same files on both make clang-foramt and…

… git pre-hook
Include *.h.in on make clang-format
Exclude lib/tsconfig and lib/yamlcpp on git/pre-hook
(cherry picked from commit 1b300dfed5292efbaee257f369aa8bc8757b65b4)
Conflicts:
include/ts/apidefs.h.in

It looks like we need to cherry-pick a181db6f5948d2f35e73a82332695ad35bc2bc33 (#5131) first.


Low memory warning as well as app crash when scan with high quality

Low memory warning as well as app crash when scan with high quality

Duplicate of #74.


[stable/prometheus-operator] Make allowedCapabilities in PSP configurable

Is your feature request related to a problem? Please describe.
I'd like to add a sidecar to the prometheus pod (vault agent - to provide vault token which can be used then by serviceMonitor). Problem is that it won't start with PSP from templates (https://github.com/helm/charts/blob/master/stable/prometheus-operator/templates/prometheus/psp.yaml) because it requires some additional capabilities.
Describe the solution you'd like
I'd like to be able to configure allowedCapabilities of the PSP in values file.
I can submit a PR, but first I'd like to get the feedback from maintainers if such a solution would be acceptable. Maybe more 'general' solution for modifying PSP should be added?
Describe alternatives you've considered
Patching PSP after chart installation.

@gianrubio  @vsliouniaev  @anothertobi - could you take a look at it and give me feedback? thanks

@gianrubio @vsliouniaev @anothertobi - will you find time to take a look? thanks

@mwieczorek Hi, Did you joined the Slack channel charts?  You can make a question on the channel, and I believe you would get more reply there.

Hi @Aisuko, I thought my question would be too specific for slack channel, but thanks, I'll try also there

@mwieczorek I think that this would be a welcome addition, feel free to open a PR for it


Not working?

So I tried this one after the original one from kong didn't do anything.
I have it in my modloader folder. It does show up in the mod menu ingame, it is turned on. Yet I see nothing on my radar. F12 also does nothing
Playing on 1.0

Maybe you dont have collectibles..?

Maybe you dont have collectibles..?

Wat?


Virtualizer does not update after adjusting row height

Describe the bug
Building on the dynamic example, I added a timeout to update the height of rows. The element size updated but the positions did not.
Your minimal, reproducible example
https://codesandbox.io/s/delicate-river-3rigv0?file=/src/main.tsx
Steps to reproduce
Wait for the timeout, see broken table.
Expected behavior
As the size of rows update, the position of the rows should be adjusted.
How often does this bug happen?
Every time
Screenshots or Videos
https://user-images.githubusercontent.com/40192128/185458840-b3020220-63de-49ff-adb9-16e67d63030d.mov
Platform
I tested on Firefox and Chrome on macOS 12.5
tanstack-virtual version
3.0.0
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

@theo-champlin I submitted a PR to fix the issue (#377). I had the same problem when adjusting a column width, some rows where not being remeasured when they changed the height.

I had the same problem, I manually call a function to recompute sizes after element size change
function recomputeSizes(){
    instance.getVirtualItems().forEach((virtualItem, index) => {
      virtualItem.measureElement(listElement.children[index]);
    });
}

arash-es

This workaround does work. I have a dynamic list that is filtered by a text input. What seems to fix the issue there is
    useEffect(() => {
        selectedRowVirtualizer.getVirtualItems().forEach((virtualItem, index) => {
            virtualItem.measureElement(selectedListRef.current.children[index]);
        });
    }, [selectedRowVirtualizer, selectedMembers.length, selectedInvitations.length]);

Is there any official fix for this? Our production site features live updating rows with thousands of items. Measuring each element individually is not ideal for performance reasons.

@theo-champlin @KosGrillis this is what you might be looking for https://github.com/TanStack/virtual/issues/28#issuecomment-817182500

My solution when row height changes due to table width change (layout)
  const [tableRect, tableRef] = useBoundingClientRectRef(['width']);
  const width = Math.round(tableRect?.width);
  useEffect(() => rowVirtualizer.measure(), [rowVirtualizer, width]);

useBoundingClientRectRef is a hook version of ResizeObserver, MutationObserver and getBoundingClientRect.

@KosGrillis Its a virtual list. Only visible items (plus overscan I guess) are measured. As virtual lists are positioned absolute, I would say there is no way of avoiding the measurement. If this is not what you want, a fixed list is what you are looking for.

Unfortunately this issues still exists. At least in my case, the workaround from https://github.com/TanStack/virtual/issues/376#issuecomment-1222346322 is still needed.
Initially the size is correct now. But I have buttons in the virtual list. Clicking a button removes the item from the list. As soon as this happens, the dynamic entry sizes are wrong again.

@Mario-Eis hard to say what is happening without minimal example, are you setting correct key for the row? Default we use index as key, then in case of removing maybe it could break something.


How to $elemMatch on multiple array elements?

Hi,
Each doc in my DB has a key named tags which is of Array type. I'd like to select docs with matching list of tags.
It is simple to do so for a single tag but I am unable to do so for multiple tags.
I tried doing the following to match tag1 && tag2 with no luck:
      var query = {
        selector: {
          $and: [
            {_id:  {$gt: '0'}},
            {tags: { $elemMatch: {$eq: 'tag1'} }},
            {tags: { $elemMatch: {$eq: 'tag2'} }}
          ]
        }
      };

What's the correct way of matching on multiple elements?

Try using $in instead of $elemMatch

Hi @garrensmith,
What is the correct syntax for $elemMatch, if one wanted to use it? I tried multiple combos of operators but they all seem to result in the whole index instead of the subset I was expecting to retrieve...
Thanks!

@andyepx something like this:
  selector: {
    {_id:  {$gt: null}},
    {tags: { $elemMatch: {$eq: 'tag1'}}},
    }
}

But these docs give a nice explanation and here is our elemMatch tests for more examples.

Thank you, will give it a shot!

Thanks @garrensmith, :+1: awesome work!


Undo autoconfig on dependent uninstall.

As a user with service A depending on B such that A has altered B's config (or A has imposed restrictions on B's config which are now satisfied), uninstalling wizard for A will present a checkbox option to undo the alterations to B's config.

These seems like a useful feature, what was the reason for closing?

I think there's a debate to be had whether or not it's useful.
If it is useful, it seems marginally so and probably isn't worth the debate or effort to implement. I could also see this cause problems or confusion.
Why do you think it is good?

Because when you uninstall a service, you expect it to remove all traces

So switch Bitcoin back to pruned?

My point is that the benefits of this feature are tiny but the complexity, effort, and risks are higher.

It's just not good software practice to leave dangling garbage around that isn't being used. There are probably too few services available currently to fully see the effects of this behavior. But sooner or later, once there are dozens of services on the marketplace and we have tens of thousands of users, people will start to notice this and it won't be fun.

That is actually my preferred way of iterating. If it begins to be a problem, then we will begin to solve it. It's not a problem at the moment, and I'm not at all convinced it ever will be. Auto configuring a dependency makes sense because most auto configurations are additive, meaning (1) they are unlikely to break another service and (2) they are likely harmless to leave in place.
Auto unconfiguring a dependency, on the other hand, is far more complicated, since it carries a significantly higher probability that it will inadvertantly break another service.
I would go so far as to say dependency auto config might even be an anti feature, something that could cause more harm than good.

I'm just saying, it's a problem that needs to be solved one way or another eventually. It's essentially tech debt. There are bad ways to solve it and good ways. We should research and find the good ways. We should not implement the bad ways.


Support MSC3395: Synthetic events

This implements the spec in https://github.com/matrix-org/matrix-doc/pull/3395. I've kept the types light (not providing enums for the event types) and expecting bridges to implement the handler logic for those.

Per my last comment, I'm nervous about including this with so little review on the MSC - closing until that situation has changed.


Redesign base path file structure

Addresses #368
First review this #372

Thanks @PhilippeMoussalli!
Is the manifest now also saved in the same directory as the data when running on Kubeflow? Or is it only written as a Kubeflow artifact?

Thanks @PhilippeMoussalli!
Is the manifest now also saved in the same directory as the data when running on Kubeflow? Or is it only written as a Kubeflow artifact?

In both actually, It was done in #322
The kubeflow artifact one (which can't be modified) is needed to connect components through artifacts and the data one (in the base path) is for us


Get docs site back to minimum level of correctness

The docs site is now out of date in several significant ways. This should be corrected before we go through with a complete docs overhaul.

[x] No more Bower
[x] app.js -> main.js
[x] Option to use Gulp
[x] Replace Contributing section temporarily with content from capital-framework README
[x] Create zip file of current latest release and upload

Plus anything else you find.

Done by @contolini as part of #266.


Update rust-installer. Fixes --help and interop with NixOS

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

:pushpin: Commit eb3cb53 has been approved by alexcrichton

@bors: r+

:hourglass: Testing commit eb3cb53 with merge ef68f38...

:broken_heart: Test failed - cargo-win-32

@bors: retry
On Thu, Mar 26, 2015 at 4:28 PM, bors<EMAIL_ADDRESS>wrote:

[image: :broken_heart:] Test failed - cargo-win-32
http://buildbot.rust-lang.org/builders/cargo-win-32/builds/932
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/cargo/pull/1461#issuecomment-86752977.

:zap: Previous build results for cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-64 are reusable. Rebuilding only cargo-win-32...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-32, cargo-win-64


Add AAD to CustomBackend test

Fixes the currently breaking tests referenced in https://github.com/spatie/laravel-ciphersweet/pull/69.
Ciphersweet added AAD support in v4.7.0: https://github.com/paragonie/ciphersweet/releases/tag/v4.7.0

Thanks!


Wrong unpacking zip archive with stored another ones

There is an example of archive:
1.zip
the archive contains these files:
11 1.txt
472 internal1.zip
472 internal2.zip
but reader.MoveToNextEntry() sees this:
11 1.txt
0 internal1.zip
10 internal11.txt
10 internal12.txt
10 internal13.txt

Probably same as https://github.com/adamhathcock/sharpcompress/issues/86

Yes. Seems like that. Sorry for the duplication


Updaters fix

List of Changes

Update Scene.moving_mobjects  in Scene.add(). Depends on #830 for its Scene refactoring.
Motivation

When a mobject is added by an updater in the middle of an animation, Scene.moving_mobjects isn't updated. As a result, the added mobject won't appear in the Scene.
Testing Status

As long as we can only test the final frame this change can't be tested.
Further Comments

The way that manim removes submobjects within a group by splitting the group apart and re-adding the parts that weren't removed is very strange. It make much more sense to me to remove submobjects by removing the reference in their parent's submobjects list and leave out the logic in Scene.restructure_mobjects() entirely. In particular, I've never encountered another graphics program that handles nested objects the way manim currently does.
Acknowledgements

[x] I have read the Contributing Guidelines
[ ] I have added an entry describing the changes from this PR to the Changelog at docs/source/changelog.rst

These videos showcase the difference between the code with and without the fix; both were rendered from the same script.
https://user-images.githubusercontent.com/43117506/102700597-aecdf380-4203-11eb-8784-3aad7c5953f8.mp4
https://user-images.githubusercontent.com/43117506/102700543-3c5d1380-4203-11eb-9486-9b8d84896cdd.mp4


How to run on custom dataset(COCO FORMAT)

Hello, I am a new guy. Anyone who run on custom dataset(COCO FORMAT) can help me? Thank you!!!!

You'd need to write a custom dataset class. It's not very difficult and you can use the data/coco.py CocoDetection class in data/coco.py as a guide.


Banner Pattern Elytras override textures beneath them.

This is primarily an issue seen when using a Minecon cape, as even when having the cape toggled on, the banner patterns still show up on the customized elytra. This issue isn't seen as much with the other customization types like dyed elytras, as the Minecon cape texture still shows up, however depending on the dye color it causes tinting issues to the cape texture. Also somewhat related to this is an issue where the cape still renders on the player's back even with the elytra equipped.
I mainly came across this issue when attempting to setup compatibility for the Aether's capes and their elytra skins, where I was trying to get around this issue for the elytra skin textures only to realize it also applied to Minecon capes, so the priority order I was trying to set up wouldn't work (Minecon Cape overrides Aether Cape overrides Customizable Elytra Texture, unless Minecon Cape and/or Aether Cape rendering is disabled). Setting up a PR for this compatibility would likely be much easier if some change were made to let textures like the ones of the Minecon capes to override the customizable elytra rendering to fix this issue.

Sorry for taking so long, but I finally had some free time to improve how the mod handles capes and as a result, have opted to have elytra customized with banners use the cape as the base pattern by default.
While it's not a full override like you originally suggested, it's definitely very visible (See here for an example) as long as you don't cover your entire banner in patterns now, and if you still want to add support for your mod feel free to do so! :)


Device Support Thermostat: _TZE200_g9a3awaj TS0601

Hello and thanks for your great hard work.
I'm trying to connect the following Thermostat:  _TZE200_g9a3awaj TS0601 (Avatto?) and using ZHA.
There is photo:
1
2
I followed the instructions and tried setting up the quark ts0601_thermostat_avatto.py. However, my device is not detected, and the quark name does not appear in the device properties.
There is a screenshot of this device.
Screenshot 2024-04-15 202954
Here is the log file as requested in the read me.
home-assistant.log
Please let me know what other information I can provide.
PS: I saw of this: https://github.com/jacekk015/zha_quirks/issues/47 and when using quirk name: ts0601_trv_rtitek2.py I was able to get some values and the ability to switch the thermostat. However, this data was incomplete and cannot be used.
Thank you for support.

Try the attached file. That device was working without problems.
Is that a new buy? If yes, it looks like the chinese friends changed endpoints and kept the signature
ts0601_thermostat_avatto.py.zip

This quark is working in thermostat mode.  I don't see any information about battery status, Pi heating demand, setpoint change source, lqi, rssi, time schedule. It is normal? Or maybe it's possible to fix? Thank you.

LQI and RSSI is on the left device tab under Zigbee Info.
Your device doesn't send any info about battery status.
Every TRV is presented as a Thermostat entity.
Schedule is not programmed on the quirks. Every TRV store it different so it takes plenty of hours to code each version. Moreover without device in hands it's impossible to quick debug it. Mostly schedules are set once/two in the device lifetime. Waste of time.

IEEE: a4:c1:38:d3:e9:e3:71:3e
Nwk: 0x87bd
Device Type: EndDevice
LQI: 90
RSSI: Unknown
Last seen: 2024-05-24T22:46:14
Power source: Battery or Unknown
Quirk: ts0601_thermostat_avatto.Beok
Yes. It's work.
Thank you for your unwavering support and tremendous effort. Your help was truly invaluable, and I am deeply grateful.


flatten = lambda lst: [lst] if type(lst) is torch.Tensor else reduce(torch.add, [flatten(ele) for ele in lst])

How to understand your code:
flatten = lambda lst: [lst] if type(lst) is torch.Tensor else reduce(torch.add, [flatten(ele) for ele in lst])

x =   [[torch.tensor([5.0]), torch.tensor([6.0])], [torch.tensor([7.0]), torch.tensor([8.0])]]
flatten(x)

TypeError                                 Traceback (most recent call last)
<ipython-input-47-2a14fe8cc003> in <module>
----> 1 flatten(x)

<ipython-input-44-7c292cd8c3bd> in <lambda>(lst)
----> 1 flatten = lambda lst: [lst] if type(lst) is torch.Tensor else reduce(torch.add, [flatten(ele) for ele in lst])

<ipython-input-44-7c292cd8c3bd> in <listcomp>(.0)
----> 1 flatten = lambda lst: [lst] if type(lst) is torch.Tensor else reduce(torch.add, [flatten(ele) for ele in lst])

<ipython-input-44-7c292cd8c3bd> in <lambda>(lst)
----> 1 flatten = lambda lst: [lst] if type(lst) is torch.Tensor else reduce(torch.add, [flatten(ele) for ele in lst])

TypeError: add(): argument 'input' (position 1) must be Tensor, not list

In my opion, you should want to get x =   [[torch.tensor([5.0]), torch.tensor([6.0])], [torch.tensor([7.0]), torch.tensor([8.0])]]-->[torch.tensor(12.0), torch.tensor(14.0)].
Or where am I wrong?
Thank you.

https://github.com/sabarim/3DC-Seg/blob/c7927703aacecf8d141408f027c454c9709d4d79/network/Resnet3dAgg.py#L232

Hi,
This part of the code is not being used in the latest version. However, if you would like to use the flatten function with your input, then you can fix the reduce operation in the following manner.
flatten = lambda lst: [lst] if type(lst) is torch.Tensor else reduce(torch.add, torch.tensor([flatten(ele) for ele in lst]))
I hope this still helps.


Parameter must be an array or an object that implements Countable in

Apache Server,
PHP v7.2.0,
MySQL v5.7.19,
PHP Native

Warning:  count(): Parameter must be an array or an object that implements Countable in ***:\***\***\***\vendor\ozdemir\datatables\src\Datatables.php on line 234

Warning:  count(): Parameter must be an array or an object that implements Countable in ***:\***\***\***\vendor\ozdemir\datatables\src\Datatables.php on line 243

I’ll look into it today. Thanks for sharing this.

It should be fixed on https://github.com/n1crack/datatables/commit/725df9e9bdad2f75e4259835840453825d4307d2

thanks Yusuf


Conflicting version.core and IESopt.jl versions

I am looking to solve this problem, happening when I use "iesopt.run(...)".
INFO:iesopt:Loaded versions: py=2.2.1, jl=2.2.0
┌ warning @ parser ~        The configured `version.core` (v2.1.0) in the configuration file is not identical with the current version of `IESopt.jl` (v2.2.0); be aware that even bug fixes might change the results and therefore should be considered BREAKING for your project
└ @ IESopt src\parser.jl:26

Closing, since this works as expected.


currentPage not updated

When I try to replace current image inputs with new ones, the currentPage is not updated:
print(slideshow.currentPage) // 2
print(inputs.count) // 2
slideshow.setImageInputs(inputs)
print(slideshow.currentPage) // Still 2 here
slideshow.setCurrentPage(1)
print(slideshow.currentPage) // Still 2 here

The page control position is ok though.
Am I doing something wrong? Is it possible to change inputs?

Hi, this case should work properly. I cannot reproduce it, do you have an example project to share?


Hotfix/ignore attributes: Enabled support to latest Digital Twin Registry Hotfix

Why we create this PR?
There is a bug related with the digital twin registry digital twin payloads.
The models needed to be updated to enable the latest hotfix v0.3.15-M1 changes.
What we want to achieve with this PR?
Allow the Digital Product Pass application from version v1.0.0 to ignore extra fields incoming from the Digital Twin Registry.
Release hotfix version v1.0.1
What is new?
Updated

Fixed model parsing from payloads incoming from the Digital Twin Registry due to their latest hotfix.

Ignored extra attributes not relevant for the Digital Product Pass application.

👍 - minimal patch to consider latest dDTR changes.


change subtitles lenght per line

how to change subtitles lenght per line ? sometimes is putting 30 seconds of text into one subtitle how to fix this ?!

FYI, FW does not support change subtitle length.
Sometimes model creates segments for 30s because it doesn't detect audio well and can't split the segments, maybe your audio has a lot of hallucination. You should use  VAD filter or a larger FW model to improve this.


Add specific tests for vesting from inflation working

We should add tests that ensures that for DelayedVestingAccounts, #264 adds tokens to the vesting portion.
So nothing should be immediately spendable, it should all become spendable after the delay period ends.

Maybe not needed


headers field should be case insensitive

Expected behaviour
The following code snippet:
    RestClient::Connection* conn = new RestClient::Connection("https://httpbin.org");
    RestClient::Response& r = conn->get("/get");
    for(auto& name : { "date", "Date" }) {
        try {
            std::string& value = r.headers.at(name);
            std::cout << name << ": \"" << value << "\"" << std::endl;
        } catch(std::out_of_range& oor) {
            std::cout << name << ": not found" << std::endl;
        }
    }

should yield a result similiar to the following:
date: "Tue, 11 Aug 2020 19:52:17 GMT"
Date: "Tue, 11 Aug 2020 19:52:17 GMT"
Actual behaviour
The result is as follows:
date: not found
Date: "Tue, 11 Aug 2020 19:52:17 GMT"
This is an error, as according to RFC 2616: "Field names are case-insensitive". And yes, unfortunately, there are servers, that change the case of their response header fields at will.
Environment and debugging details
This happens with any C compiler and libcurl
Suggested fix:
Use a custom compare function to make the std::map in RestClient::HeaderFields case-insensitive. I have attached a file with the suggested change. Yes, it uses std::tolower(), which unfortunately is locale dependant, for conversion to lowercase. So depending on language settings, tolower() might convert, say, Ç to ç or not. If that is considered an issue, an alternative would be to explicitely only map characters in the range 'A' to 'Z' to 'a' to 'z', and use this mapping function instead of std::tolower():
    unsigned char ascii_tolower(const unsigned char c) {
        return (c >= 'A' && c <= 'Z') ? ((c - 'A') + 'a') : c;
    }

restclient.diff.txt

@KaiPetzke if you can please submit a fix for this it would be appreciated.  It sounds like you already have it but are just unfamiliar with the contributing guidelines?

Yeah, I didn't read the contribution guidelines. I am busy this week, will try to add a formal fix next week.
@edwinpjacques What do you suggest about my comments below the headline "suggested fix"? Do you prefer std::tolower() or the locale independant ascii_tolower()?

std::tolower looks good. https://en.cppreference.com/w/cpp/string/byte/tolower

I am still busy, will look at all these issues early next year.

Shall I fix the issue?