Migrating to siddhi M52

Migrating to siddhi M52

This PR is closed due to some conflicts.
New PR is in https://github.com/wso2-extensions/siddhi-io-rabbitmq/pull/13


mkvtoolnix: patch to build on Darwin & FreeBSD

Description of changes
Applied upstream commit which fixes a C++20 compatibility issue.
This should fix the Hydra failure on Darwin.
Things done

Built on platform(s)

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

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

Add a :+1: reaction to pull requests you find important.

ofBorg should be building it for us anyway. It usually takes a bit longer than other builders, though.


The page layout format is messed up

Can you inspect the cause? Or make a reproducible example?

I think it should be caused by the text being too long without wrapping

Can you inspect the cause? Or make a reproducible example?

I think it should be caused by the text being too long without wrapping

Ha, cool, I will look into it, thanx.

Ha, cool, I will look into it, thanx.

Okey, Thank you

Hi @felixmosh ,I want to ask whether it currently supports displaying all bull Queues in a certain Redis service (do not specify QueueName)

Hi @felixmosh ,I want to ask whether it currently supports displaying all bull Queues in a certain Redis service (do not specify QueueName)

Does this answers your question? https://github.com/felixmosh/bull-board/issues/251#issuecomment-830816052

The layout fix was published asv3.2.10


fix the bug of save model in the bf16+zero1+pp mode

Fix the bug " AttributeError: 'BF16_Optimizer' object has no attribute 'bit16_groups' " when using bf16 + zero1 + pp to train model and saving the bf16 optimizer state

Why was this closed? What's wrong with this fix?


cannot access mounted drives from WSL bash CLI

Your Windows build number:  (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.18362.778]

What you're doing and what's happening:  (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

I have mounted hard drives that I used to be able to access (ie 3 days ago), but now, after running multiple sudo apt-get upgrade && sudo apt-get update commands, I am no longer able to access the directories and files within those drives... I have the drives mounted, I have spelled the paths correctly,

C:\Users\Ryan>bash

rbednar@BenderInspiron:/mnt/c/Users/Ryan$ dmesg
[    0.020390]  Microsoft 4.4.0-18362.476-Microsoft 4.4.35

rbednar@BenderInspiron:/mnt/c/Users/Ryan$ ls /mnt/

a  c  g  h  r

rbednar@BenderInspiron:/mnt/c/Users/Ryan$ cd /mnt/h/technology/

-bash: cd: /mnt/h/technology/: No such file or directory

What's wrong / what should be happening instead:

running the following command should allow me to traverse within the mounted drive directory for specific files...

rbednar@BenderInspiron:/mnt/c/Users/Ryan$ cd /mnt/h/technology/

rbednar@BenderInspiron:/mnt/h/technology$ ls -l

files
folders
etc

FYI...
I can access the mounted drive itself (eg "H:"), but I get no further

rbednar@BenderInspiron:/mnt/c/Users/Ryan$ cd /mnt/h/
rbednar@BenderInspiron:/mnt/h$ cd technology
-bash: cd: technology: No such file or directory
rbednar@BenderInspiron:/mnt/h$

this answer: Cannot access external drive in Windows 10 Linux Subsystem bash worked (from superuser.com)... I simply replaced the specific drive identifier with my own (eg H: /mnt/h).
Im guessing there was an issue with the state of the VeraCrypt mounted drives during one of my system reboots...


i can't init service in host

gpsd -N -n udp://*:2581
gpsd:ERROR: can't bind to IPv4 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!

It means port 2581 is already in use. Try ss -atn and looking for any applications on this port, or choose a different port.


SNOW-1453077: snow git execute fails when git repo is fully qualified

SnowCLI version
2.2.0
Python version
3.9.12
Platform
No response
What happened
When trying to run the snow git execute, I'm getting the error of: no files matched pattern @db_name.sc_name.snowcli_git/branches/main/scripts/script.sql;
But when running snow git execute @snowcli_git/branches/main/scripts/script.sql --database db_name --schema sc_name, it works.
Console output
no files matched pattern @db_name.sc_name.snowcli_git/branches/main/scripts/script.sql

How to reproduce
No response

@sfc-gh-cdube please upgrade to 2.3.0:
https://github.com/snowflakedb/snowflake-cli/blob/36d1a988b05538fef73216dbb604d40e5a1ee2b1/RELEASE-NOTES.md?plain=1#L31

Fixed in 2.3.0.


The attachments link is not visible on the project view anymore

Describe the Bug:
When viewing a project (click the view button on the projects page) the attachments link is not visible anymore
Probability (how likely the bug is to happen, scored from 1-5):
(For example, probability of 5 is something like "it happens to all users every time they log in."
Probability of 1 "only happens to certain users when a really specific and unlikely path is followed.")
Effect (how bad the bug is when it does happen, scored from 1-5):
(For example, effect of 5 is "the entire app crashes and makes it unusable for all users" or "the bug causes the wrong data to be saved, with critical information (e.g. payment) being affected."
Effect of 1 is "It makes some styling look a little bit weird.")
Steps to reproduce the behaviour:
Screenshots:
Additional information:

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

Hi @pbastia - is this bug resolved in the ticket #611?

Yes! Let's close this one

Addressed in ticket #611.


Improve start and stop application server

Closes: https://github.com/metarhia/impress/issues/1399

[x] tests and linter show no problems (npm t)
[x] code is properly formatted (npm run fmt)

Landed in https://github.com/metarhia/impress/commit/2a22448674b181591d423181ecc0d7488053d45a


Environment Variable & npm config for executablePath

You can't currently tell other packages to use a bundled chrome version. This could be implemented in the packages, for example penthouse (See https://github.com/pocketjoso/penthouse/pull/177 for discussions).
However it seems that it would be beneficial to implement this change here, as all consumers would benefit for it, and even use the same bundle version, unless something else was specified.
I'm thinking PUPPETEER_EXECUTABLE_PATH in the environment or in the npm config like the rest of the variables.
Here is the current code with no support for this: https://github.com/GoogleChrome/puppeteer/blob/f5bb333cd0c42306f47e7767e5cb8b78af557c27/lib/Launcher.js#L89-L94

Did you see require('puppeteer').executablePath()?
IMO this is a good way for consumers to get that path.

@r3dDoX
As I understand it's great for getting the default path.
But due to corporate firewall restrictions I have to use PUPPETEER_SKIP_CHROMIUM_DOWNLOAD and bundle Chromium with the code package.
As far as I see, right now I can't point penthouse, or another other package that consumes puppeteer to the correct path ie ./build/bundled/chromium/chrome.exe. It will try to use the default path, fail and give the following error message Chromium revision is not downloaded. Run "npm instal"
It could be built into penthouse, so that you could specify a path to use as an option for the penthouse.launch call, but it seems better to implement this in the penthouse package.
If people agree, I will create a PR.

@Saturate
ah I see. I misunderstood your problem.
We had a similar problem with our corporate firewall and solved it with the PR #958 by routing the download through our local Nexus Repo which was acting as a proxy in that case. Should be in the next release of puppeteer. Maybe it could help you as well

Thanks @r3dDoX, I did see this feature and it could be useful in the future right now - but right now we can't create a mirror of it.

What I also discovered was that the host has to be HTTPS, this was is also a problem on the internal server.


Some keybindings wait for another chord when there shouldn't be one

Does this issue occur when all extensions are disabled?: Yes, it did happen.

VS Code Version: 1.59.0
OS Version: Ubuntu 20.04

Steps to Reproduce:

Open any file
Press Ctrl + G (should bring the go-to line dialog)
The status bar shows "Ctrl + G was pressed. Waiting for the second key of chord..." instead

According to the Keyboard shortcuts screen, there are no other shortcuts using Ctrl + G:

Ths is the output of Toggle Keyboard Shortcuts troubleshooting:
[2021-08-16 10:24:59.693] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
[2021-08-16 10:24:59.694] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
[2021-08-16 10:24:59.695] [renderer1] [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
[2021-08-16 10:24:59.867] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyG, keyCode: 71, key: g
[2021-08-16 10:24:59.868] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyG, keyCode: 37 ('G')
[2021-08-16 10:24:59.869] [renderer1] [info] [KeybindingService]: | Resolving ctrl+[KeyG] chorded from ctrl+[KeyG]
[2021-08-16 10:24:59.870] [renderer1] [info] [KeybindingService]: \ From 0 keybinding entries, no when clauses matched the context.
[2021-08-16 10:25:00.003] [renderer1] [info] [KeybindingService]: + Storing single modifier for possible chord ctrl.
[2021-08-16 10:25:00.304] [renderer1] [info] [KeybindingService]: + Clearing single modifier due to 300ms elapsed.

Additional info: running with the extensions disabled did no good. The only thing I can think of is that there might be a cross-operating system issue. I've enabled settings sync from Linux, but I also use the same account on Windows. Since both have their own keymaps, there might be something going on because of this.

/needsMoreInfo
How did you disabled extensions?
To be sure you need to disable extensions and reload window - best way to do that is F1 and >Developer: Reload Window With Extensions Disabled
In code from this repo it looks like only KEY_K and US_SEMICOLON are used in KeyChord.
On the other hand KEY_G used only in few places but none of them looks like key chord.
Also do you have any specific keyboard layout?

How does the result of that search look like if you remove the quotes around Ctrl+G? I guess you may have chords beginning with Ctrl+G so VSCode does not know which combination you intend to use and waits for the next keypress


nwkit orthogroup

Supported as nwkit subtree --orthogroup
https://github.com/kfuku52/nwkit/commit/8bf0ff11d5546762886df44ac2605a6a1d470651


update ui for chainlit 1.0

Adjust UI part to fit in chainlit 1.0 version

The code in this PR has been rebased to PR #119 due to dependency, we should merge that PR before merging this one.


Use custom-built libvirt, libguestfs and supermin

[x] Initial implementation of libvirt build
[x] Fix libvirtd.conf (listen addr)
[x] Try to use newer libvirt than 3.7.0 (failed, postponing this part, see the comment below)
[x] Fix loop device problem (e2e failure)

This change is

Tried switching to libvirt-4.1.0 but got a build error, so postponing it till we need newer libvirt version. Excerpt from the build log (--without-nwfilter doesn't change anything, first tried without it):
libtool: warning: relinking 'libvirt_driver_nwfilter.la'
libtool: install: (cd /libvirt/src; /bin/bash "/libvirt/libtool"  --silent --tag CC --mode=relink gcc -I/usr/include/libxml2 -fno-common -W -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbool-compare -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wchkp -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdesignated-init -Wdiscarded-array-qualifiers -Wdiscarded-qualifiers -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Winit-self -Winline -Wint-conversion -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-not-parentheses -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmemset-transposed-args -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wodr -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverride-init -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow -Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsuggest-final-methods -Wsuggest-final-types -Wswitch -Wswitch-bool -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvolatile-register-var -Wwrite-strings -Warray-bounds=2 -Wnormalized=nfc -Wno-sign-compare -Wjump-misses-init -Wswitch-enum -Wno-format-nonliteral -fstack-protector-strong -fexceptions -fasynchronous-unwind-tables -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Werror -Wframe-larger-than=4096 -g -O2 -DLIBXL_API_VERSION=0x040400 -module -avoid-version -export-dynamic -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,defs -o libvirt_driver_nwfilter.la -rpath /usr/local/lib/libvirt/connection-driver libvirt_driver_nwfilter_impl.la -ldl )
libtool: install: /usr/bin/install -c .libs/libvirt_storage_backend_zfs.soT /usr/local/lib/libvirt/storage-backend/libvirt_storage_backend_zfs.so
libtool: install: /usr/bin/install -c .libs/libvirt_storage_backend_zfs.lai /usr/local/lib/libvirt/storage-backend/libvirt_storage_backend_zfs.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/libvirt/storage-backend
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/libvirt/storage-backend

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterStateInitialize':
/libvirt/src/nwfilter/nwfilter_driver.c:192: undefined reference to `virNWFilterObjListNew'
/libvirt/src/nwfilter/nwfilter_driver.c:249: undefined reference to `virNWFilterObjListLoadAllConfigs'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterDefineXML':
/libvirt/src/nwfilter/nwfilter_driver.c:579: undefined reference to `virNWFilterObjListAssignDef'
/libvirt/src/nwfilter/nwfilter_driver.c:582: undefined reference to `virNWFilterObjGetDef'
/libvirt/src/nwfilter/nwfilter_driver.c:584: undefined reference to `virNWFilterSaveConfig'
/libvirt/src/nwfilter/nwfilter_driver.c:585: undefined reference to `virNWFilterObjListRemove'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterConnectListAllNWFilters':
/libvirt/src/nwfilter/nwfilter_driver.c:547: undefined reference to `virNWFilterObjListExport'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterConnectListNWFilters':
/libvirt/src/nwfilter/nwfilter_driver.c:526: undefined reference to `virNWFilterObjListGetNames'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterStateReload':
/libvirt/src/nwfilter/nwfilter_driver.c:302: undefined reference to `virNWFilterObjListLoadAllConfigs'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterObjFromNWFilter':
/libvirt/src/nwfilter/nwfilter_driver.c:438: undefined reference to `virNWFilterObjListFindByUUID'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterGetXMLDesc':
/libvirt/src/nwfilter/nwfilter_driver.c:662: undefined reference to `virNWFilterObjGetDef'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterUndefine':
/libvirt/src/nwfilter/nwfilter_driver.c:616: undefined reference to `virNWFilterObjGetDef'
/libvirt/src/nwfilter/nwfilter_driver.c:621: undefined reference to `virNWFilterObjTestUnassignDef'
/libvirt/src/nwfilter/nwfilter_driver.c:628: undefined reference to `virNWFilterDeleteDef'
/libvirt/src/nwfilter/nwfilter_driver.c:631: undefined reference to `virNWFilterObjListRemove'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterLookupByUUID':
/libvirt/src/nwfilter/nwfilter_driver.c:461: undefined reference to `virNWFilterObjGetDef'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterLookupByName':
/libvirt/src/nwfilter/nwfilter_driver.c:483: undefined reference to `virNWFilterObjListFindByName'
/libvirt/src/nwfilter/nwfilter_driver.c:491: undefined reference to `virNWFilterObjGetDef'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_driver.o): In function `nwfilterConnectNumOfNWFilters':
/libvirt/src/nwfilter/nwfilter_driver.c:510: undefined reference to `virNWFilterObjListNumOfNWFilters'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_gentech_driver.o): In function `virNWFilterDetermineMissingVarsRec':
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:538: undefined reference to `virNWFilterObjListFindInstantiateFilter'
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:548: undefined reference to `virNWFilterObjGetDef'
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:552: undefined reference to `virNWFilterObjGetNewDef'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_gentech_driver.o): In function `virNWFilterIncludeDefToRuleInst':
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:387: undefined reference to `virNWFilterObjListFindInstantiateFilter'
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:396: undefined reference to `virNWFilterObjGetDef'
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:400: undefined reference to `virNWFilterObjGetNewDef'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_gentech_driver.o): In function `virNWFilterInstantiateFilterUpdate':
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:787: undefined reference to `virNWFilterObjListFindInstantiateFilter'
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:815: undefined reference to `virNWFilterObjGetDef'
/libvirt/src/nwfilter/nwfilter_gentech_driver.c:819: undefined reference to `virNWFilterObjGetNewDef'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_dhcpsnoop.o): In function `virNWFilterSnoopDHCPDecode':
/libvirt/src/nwfilter/nwfilter_dhcpsnoop.c:1030: undefined reference to `virSocketAddrSetIPv4AddrNetOrder'
/libvirt/src/nwfilter/nwfilter_dhcpsnoop.c:1033: undefined reference to `virSocketAddrSetIPv4AddrNetOrder'
/libvirt/src/nwfilter/nwfilter_dhcpsnoop.c:1030: undefined reference to `virSocketAddrSetIPv4AddrNetOrder'
/libvirt/src/nwfilter/nwfilter_dhcpsnoop.c:1033: undefined reference to `virSocketAddrSetIPv4AddrNetOrder'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_dhcpsnoop.o): In function `virNWFilterDHCPSnoopThread':
/libvirt/src/nwfilter/nwfilter_dhcpsnoop.c:1410: undefined reference to `virErrorPreserveLast'
./.libs/libvirt_driver_nwfilter_impl.a(libvirt_driver_nwfilter_impl_la-nwfilter_dhcpsnoop.o): In function `virNWFilterDHCPSnoopReq':
/libvirt/src/nwfilter/nwfilter_dhcpsnoop.c:1727: undefined reference to `virErrorRestore'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libvirt_driver_nwfilter.la' with the above command before installing it
make[3]: *** [install-modLTLIBRARIES] Error 1
Makefile:6290: recipe for target 'install-modLTLIBRARIES' failed
make[3]: Leaving directory '/libvirt/src'
make[2]: *** [install-am] Error 2
Makefile:12095: recipe for target 'install-am' failed
make[2]: Leaving directory '/libvirt/src'
Makefile:12089: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/libvirt/src'
Makefile:2125: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
The command '/bin/sh -c git clone https://github.com/libvirt/libvirt.git /libvirt &&     cd /libvirt &&     git checkout v4.1.0 &&     ./autogen.sh --prefix=/usr/local                  --localstatedir=/var                  --sysconfdir=/etc                  --without-polkit                  --without-esx                  --without-vbox                  --without-xen                  --without-libxl                  --with-qemu                  --with-qemu-user=libvirt-qemu                  --with-qemu-group=kvm                  --without-lxc                  --without-nwfilter &&     make -j$(grep -c ^processor /proc/cpuinfo) &&     make -j$(grep -c ^processor /proc/cpuinfo) install' returned a non-zero code: 2

Reviewed 7 of 7 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

images/image_skel/etc/libvirt/libvirtd.conf, line 8 at r1 (raw file):

log_outputs = "1:stderr"
listen_addr = "<IP_ADDRESS>"
listen_tls=0

It's already in second line.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

images/image_skel/etc/libvirt/libvirtd.conf, line 8 at r1 (raw file):
Previously, jellonek (Piotr Skamruk) wrote…
It's already in second line.

Done.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Freezing the server for 3-5 minutes.

http://prntscr.com/k42q52
I get this error because of UltimateCore, I asked in the techniclauncher discord and one of the moderators there told me its because of ultimatecore but he cant see exactly what module do this error.
Its freezing for around 3-5 minutes cant do anything on the server and then it just work again.
latest.log

I believe this is caused by MrTJPCore and not UltimateCore
There are some errors of UltimateCore in there but these will be fixed soon and do not cause any lag.

Nope its UltimateCore because after I sadly had to remove it its working now :/


seems node.js need to be upgraded?

DEPRECATION WARNING
Node.js 15.x is no longer actively supported!
You will not receive security or critical stability updates for this version.

@goldenbull done


Undefined property $capped_amount

Expected Behavior
will open the fare confirmation window
Current Behavior
error:
Undefined property: Osiset\ShopifyApp\Services\ChargeHelper::$capped_amount
if you make the 'capped_amount' null field, then everything is fine.
Steps to Reproduce

install the application
enable billing
add a tariff plan from the example
try to access the application
error

Context
Package Version: v11.1.0
Laravel Version: v6.18.2
PHP Version: v7.2.2
Failure Logs
message: "Undefined property: Osiset\ShopifyApp\Services\ChargeHelper::$capped_amount"
exception: "ErrorException"
file: "/home/user/public_html/testApp/vendor/osiset/laravel-shopify/src/ShopifyApp/Services/ChargeHelper.php"
line: 267

and a separate issue:
is there an easy way to implement a change of tariff plan?
I did it through route redefinition, but it's not the best solution, to say the least.

kind of figured out what the problem was.
Shopify api recurringapplicationcharge expects 'terms' but 'cappedTerms' comes in the request.
in vendor/osiset/laravel-shopify/src/ShopifyApp/Services/ChargeHelper.php.
I've changed it temporarily for now:
$transfer->cappedAmount = $isCapped ? $this->capped_amount : null;
$transfer->cappedTerms = $isCapped ? $this->terms : null;
on .
    $transfer->cappedAmount = $isCapped ? **$plan->capped_amount** : null;
    $transfer->cappedTerms = $isCapped ? **$plan->terms** : null;

also in the createCharge function in vendor/osiset/laravel-shopify/src/ShopifyApp/Services/ApiHelper.php
I added:
$payload = $payload->toArray();
$payload['terms'] = $payload['capped_terms'];
    $response = $this->doRequest(
        ApiMethod::POST(),
        "/admin/{$typeString}s.json",
        [$typeString => **$payload**]
    );

Translated with www.DeepL.com/Translator (free version)

Please try v11.2.0


"ERROR: dial tcp: i/o timeout"

I'm getting "ERROR: dial tcp: i/o timeout" on most, but not all requests through this docker. It fails on ones I know to be good and some I know to be bad tests.
I'm running docker with sudo at this point.
$ sudo docker run me/heartbleed some.com:443

2014/04/09 15:54:43 some.com:443 - ERROR: dial tcp: i/o timeout
$ sudo docker version
Client version: 0.10.0
Client API version: 1.10
Go version (client): go1.2.1
Git commit (client): dc9c28f
Server version: 0.10.0
Server API version: 1.10
Git commit (server): dc9c28f
Go version (server): go1.2.1
Last stable version: 0.10.0

$ uname -a
Linux Jules 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ grep dns /etc/default/docker
DOCKER_OPTS="--dns <IP_ADDRESS> --dns <IP_ADDRESS>"
So what's causing the error and how do I mitigate it? Sorry if it's a simple answer. This is my first docker exposure.

Leave a comment

@flickerfly, have you tried this behind firewall or without firewall?
I got really irritated with this error and then I worked with my network team. and sorted out.
for me the timeout error was for different ips at different time.

I've long since stopped checking specifically for heartbleed. I'll go ahead and close this.


Migrate com.mongodb.client.unified.UnifiedTest and all its descendants to JUnit 5

Had to move most of UnifiedTest.setUp to UnifiedTest.shouldPassAllOutcomes because there is no out of the box way to inject test parameters in UnifiedTest.setUp, and JUnit Pioneer also does not have such an extension. This is, however, technically possible based on JUnit 5 docs, and https://stackoverflow.com/a/69265907 suggests a solution.

Started implementing a solution based on https://stackoverflow.com/a/69265907, then discovered that we already have it implemented as AfterBeforeParameterResolver, so just reused.

I also added some more new and potentially useful info to JAVA-5393: Retry non-buggy flaky tests.
JAVA-5495

Thats all it was - merged in master and counts for those two are equal 👍

After merging with master the numbers match:

4.0 Replica Set NoAuth NoSSL JDK8 Linux

https://spruce.mongodb.com/task/mongo_java_driver_tests_jdk8_unsecure__version~4.0_os~linux_topology~replicaset_auth~noauth_ssl~nossl_jdk~jdk8_test_patch_42fec75842a723549bbcf3a11aa62f8a3847dd42_66912ea758aaad000707747d_24_07_12_13_24_57/tests?execution=0&sortBy=STATUS&sortDir=ASC
https://spruce.mongodb.com/task/mongo_java_driver_tests_jdk8_unsecure__version~4.0_os~linux_topology~replicaset_auth~noauth_ssl~nossl_jdk~jdk8_test_42fec75842a723549bbcf3a11aa62f8a3847dd42_24_07_10_11_33_31/tests?execution=0&sortBy=STATUS&sortDir=ASC

latest Sharded Cluster Auth SSL JDK8 Linux

https://spruce.mongodb.com/task/mongo_java_driver_tests_jdk_secure__version~latest_os~linux_topology~sharded_cluster_auth~auth_ssl~ssl_jdk~jdk8_test_patch_42fec75842a723549bbcf3a11aa62f8a3847dd42_66912ea758aaad000707747d_24_07_12_13_24_57?execution=0&sortBy=STATUS&sortDir=ASC
https://spruce.mongodb.com/task/mongo_java_driver_tests_jdk_secure__version~latest_os~linux_topology~sharded_cluster_auth~auth_ssl~ssl_jdk~jdk8_test_42fec75842a723549bbcf3a11aa62f8a3847dd42_24_07_10_11_33_31?execution=0&sortBy=STATUS&sortDir=ASC


Empty list of processing steps is not parsed correctly

Instead of allowing all the types of processing steps, it seems to be considered as the list of one element, called '[]'
Logs:
DEBUG: 2023-02-28 19:56:54,650 - root - looking for a job to start, among the following types: ['[]']
DEBUG: 2023-02-28 19:56:54,650 - root - Getting next waiting job for priority Priority.NORMAL, among types ['[]']

internal chat: https://huggingface.slack.com/archives/C04L6P8KNQ5/p1677614399206819?thread_ts=1677608504.800069&cid=C04L6P8KNQ5


Integrate aXe jest

GDS reports that automatic testing only catches 31% of accessilbility issues. Let us catch those 31% automatically.

related to #92 and #55


Getting an error with StereoAudioRecorder URL.createObjectURL is not a function

Hello,
Amazing library. I'm trying to stream wav audio to my server and following the examples and reading some of the issues here I've set up the MediaStream and RecorderRTC as follows.
    const handleRecording = async () => {
        const mediaStream = await navigator.mediaDevices.getUserMedia({
            video: false,
            audio: true,
        });

        setStream(mediaStream);
        recorderRef.current = new RecordRTC(mediaStream, { type: 'audio',
            mimeType: 'audio/wav',
            recorderType: StereoAudioRecorder,
            numberOfAudioChannels: 1,
            desiredSampRate: 16000,
            timeSlice: 1000,
            ondataavailable: function(blob) {

                console.log('data to send')

            }
        });
        recorderRef.current.startRecording();
    };

    const handleStop = () => {
        recorderRef.current?.stopRecording(() => {

        })
    };

But its throwing an error as soon as the ondataavailable callback is called or I call stopRecording

Playing around with this it has something to do with how imports are handled.  To add a bit of context I'm trying to use this in a react typescript project. I npm installed the library via npm i @mrmaruf/recordrtc.
What I tested was loading the library via CDN in a script tag and not using the module imports and it worked fine. Do I need to setup some webworker outside  new RecordRTC?

UNetbootin, which is both free and open source, is the best alternative. BalenaEtcher, YUMI, Ventoy, and dd are some other great apps like Rufus. Rufus alternatives primarily include Bootable USB Creators, but they may also include Disc Burners or CD Burners. Get more information rufus emmanuel lundberg.

Playing around with this it has something to do with how imports are handled. To add a bit of context I'm trying to use this in a react typescript project. I npm installed the library via npm i @mrmaruf/recordrtc.
What I tested was loading the library via CDN in a script tag and not using the module imports and it worked fine. Do I need to setup some webworker outside new RecordRTC?

I also experience this problem with vue.
Install via npm install recordrtc
and import via import * as RecordRTC from 'recordrtc';
It will  throw errors for MediaStreamRecorder not defined.
but if using cdn in html script it just works..


Total Hours in Manage Page

Administrative Info
[GitHub Issue #]
Make sure your branch name conforms to: <feature/staging/hotfix/...>/[username]/[3-4 word description separated by dashes]. Otherwise, please rename your branch and create a new PR.
Changes
What changes did you make?

added total hours display to the manage tab (web and mobile)
minor css fixes

Testing
How did you confirm your changes worked?

manual testing
added calendar events & assigned users
added manual events for users
checked that the event's hours (that users were assigned to + manual events) were added to the total

Confirmation of Change
Upload a screenshot, if possible. Otherwise, please provide instructions on how to see the change.

Tested with 1 admin & 2 users, still going through testing with more users and scenarios


add chinese annotation

Type of change

Bug fix
New feature
Improvement (improvement to code, performance, etc)
Test update
Documentation update

Description

Additional details

Related issues

add chinese annotation in chain.go node.go consensus.go  storage.go


Documentation for API?

Hello, I see there is some kind of API at "/api" , please is there any documentation for it? I would like to incorporate nginx-proxy-manager into a development tool with automated hosts created. Thanks!

Yes and please add to api "get certificate", we use the 'lets encrypt' certificate for email server.
If we can cronjob the certificate with Curl + Shell for email servers, that would be very helpful.

I would also like to see this re-opened. i am working on ansible playbooks to maintain state and execute particular automation workflows that i would like NPM to be a part of.

Sure, I could reopen it though I doubt this ever gets resolved. As https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/1202 describes, the focus is currently mainly on v3, which has a new approach (or has one at all lol) to the documentation and testing of the API, so it should always be well documented. Creating a documentation for v2 would mean a huge amount of work for a product which will be obsolete hopefully soonish. For now you'll have to make do with what I suggested above.

Apologizes @chaptergy, i was not aware version 3 was in the works. Are there plans to allow API access in the new version and if so i am happy to wait and not spend time on version 2 ?

@chaptergy  Is this the project for Version 3 been updated? Is it updated? I see the last update is from 2019

Looking forward to this feature, because it is necessary to integrate other systems

For who maybe only want to start with, save the api.swagger.json and import in Postman as a collection, for who is hurry:

Nginx Proxy Manager API.postman_collection.json.zip

I am looking forward to this function. Is this function available now?

looking forward to this feature. Is this feature available now?


Routing support

It would be nice if stories could be broken up by routes, so that a developer could provide links to specific stories in other resources (such as dart docs or design websites).  Currently, a user would just be directed to the initial page.
This could be automatically computed from the story name, or an additional route parameter could be added to the storiesOf function.
dashbook.storiesOf('RaisedButton') // Route automatically converted to some type url friendly case.

//or

dashbook.storiesOf('RaisedButton', route: 'raised-button') // Route explicitly defined.

Solved in #46, whenever running on web, a share button is now available which copies a link to your clipboard which then can be used as a permanent link to that chapter.


Issue with v1-18.docs.kubernetes.io/docs/home/supported-doc-versions/

This is a Bug Report

Problem:
v1.18 documentation lists v1.19 under Previous versions

Proposed Solution:
Either remove v1.19 from v1.18 docs, or, add Newer Versions sections and include v1.19 under that section.
Page to Update:
https://v1-18.docs.kubernetes.io/docs/home/supported-doc-versions/

/kind bug
/language en
Thanks @thebinary - good spot!

/priority backlog


Display live item

Hi, this is my second issue, because i really love your library!
Can i show a menu item that update itself? Like when a pin change or when a variable change/
Thanks

Thanks, @dj-fiorex, a ⭐ will be formidable 😉


Update About Teams to include Your Teams

Why:
Closes https://github.com/github/docs/issues/11168.
What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@ioreka Seems like the PR is opened as a draft by mistake? If so, please hit ready for review button in the timeline of this issue to have it ready for a review ✨


[spi_device] BUSY to block passthrough interface

Discussed in #5134

Add BUSY_CTRL_EN CSR to CONTROL (or CFG?)
BUSY_CTRL_EN and BUSY (in peripheral domain) to clear the passthrough_en when BUSY is set and CTRL_EN is set.

CC: @tjaychen @a-will @martin-lueker

BUSY changes in the peripheral domain leave open the potential for corruption. passthrough_en needs to change on command boundaries only, else partial commands could get through. There is nothing firmware can do to guarantee the timing.

Adding the idea of splitting the BUSY process and Passthrough interface process here (initial discussion at #11418 )
The intention is for SW to not read check the BUSY (assuming SW can't control CSb assertion)
BUSY cases

SW clears BUSY when CSb = 1. When next SPI transaction begins, HW updates the BUSY @ SCK (clearing the BUSY @ SCK)
SW clears BUSY when CSb = 0. Keep the event somewhere else (queue maybe) as the HW updates the BUSY @ SYS from BUSY @ SCK when SPI transaction is completed. Then the BUSY @ SYS should be updated from the pending event. The value will be updated to BUSY @ SCK when next transaction begins.

Then, the BUSY @ SYS can be used to block/unblock the passthrough.
Storing the SW update event requires additional logic in SPI IP. 1 depth Q, or event flag bit might be enough.
The PR #11418 did not revise the previous SPI_DEVICE HWIP behavior, which only accepts SW clearing of BUSY @ SCK when CSb = 1. It ignores the writing event if CSb = 0.
@a-will let me know if you think current version causes much trouble in SW. Then, I will revise the SPI_DEVICE HW to behave like above.

@a-will let me know if you think current version causes much trouble in SW.

I think we just got our wires crossed. We read the documentation a little differently, and then we started talking about two different subjects at the same time, haha.

@a-will @eunchan is it okay to close this issue now? I think this is implemented already isn't it?

Fixed by #11456
What may remain is atomically updating all the status bits to a consistent state (one side or the other of a register write horizon).


Some accesses don't work for 'Create Members at Accessed Offsets', depending on assembly

Version and Platform (required):

Binary Ninja Version: 3.0.3233 (Build ID e250d0a3) and 3.0.3262-dev (Build ID f7b5b2ba)
OS: macOS
OS Version: 12.1 21C52

Steps To Reproduce:

Open this attached ELF.

Create a function at address 0.

Create a struct type and mark x0 as being a pointer to that struct.

Notice that some accesses appear as accesses to unknown fields (good):
x0->__offset(0x188).q = 0

but others (bad) appear as either
(x0 + 0x274)->__offset(0x0).q = 0

or
*(x0 + 0x274) = 0

Right-click x0 and choose 'Create Members at Accessed Offsets'.  Note that only the 'good' accesses have fields created for them.

Expected Behavior:
All of the accesses have fields created for them.
Additional Information:

The 'bad' ones will still be decompiled as field accesses if you manually create a corresponding field in the struct; they just don't get fields automatically created for them.

Looking at the disassembly, the 'good' accesses look like
str     xzr, [x19, #0x188]

(where x19 has the value originally in x0)
while the 'bad' accesses look like:
add     x10, x19, #0x274
str     xzr, [x10]  {0x0}

These are different assembly patterns but semantically equivalent, so I would expect them to be decompiled the same way.

The 'bad' accesses are all misaligned (8-byte accesses at offsets that are only 4-byte aligned), but this is not the reason Binary Ninja is treating them differently.  If you edit the binary to make the offsets aligned, the behavior is the same.
Rather, the misalignment is what caused the compiler to produce an alternate instruction pattern in the first place.  AArch64 cannot encode str instructions with an immediate offset that's not a multiple of the store size (because the offset field is implicitly scaled by the store size).

Looks like it's a failure to propagate types in MLIL if I had to guess but I'll let Rusty confirm for sure.  You can manually fix it by switching to MLIL or MLIL_SSA and setting the type on the register copy, but it should be automatic I would think as the core does know it's the same base as the already existing type.
Here's an example where I manually fixed up one of those and you can see it become an offset:

This has been resolved as of dev build 3751, with the added support for offset pointer types. The only member not created is at offset 0xa0 which has two accesses of conflicting size.


Support Stack

I don't have GHC installed globally, just Stack (which I can run GHC with stack ghc -- ...), but Viskell does not know about Stack so I cannot run programs.

It makes sense to support Stack, which above commit tries to do.
As I'm not as Stack user myself, this workaround patch is yet untested.


Misc Fastmail Masked Email updates

Description
Misc update to the Fastmail Masked Email extension

Added preferences to show / hide pending & deleted masked emails when listing all masked emails
Updated UI labels to better match Fastmail's UI

Enabled → Active
Disabled → Blocked

Added preference to set the default prefix for newly created masked emails
Added optional prefix field to the create command (Autofills with the default prefix)
Added additional actions when listing all masked emails:

Block a masked email
Unblock a masked email
Delete a masked email
Restore a deleted masked email

Added quick create command to create a masked email without any prompts
Immediately pop to root after creating a masked email
Updated extension dependencies
Misc refactoring and cleanup

Screencast
n/a
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I took a quick look and everything seems good to me. I really like this quick create command by the way 😉


Dry::Validation::Result#error?(:field) returns false although there is an error (when triggered by tule)

Hello my friends :wave: :
Thanks for all your hard work on these gems :green_heart:
Describe the bug
When an error is the result of a rule it seems that error?(:field) returns false, although there is an error.
To Reproduce
require 'dry-validation'

class Nameless < Dry::Validation::Contract
  schema do
    required(:name).filled(:string)
  end

  rule(:name) do
    key.failure('womp womp womp')
  end
end

# change me to empty string/nil to see that error? works in general (for schema)
result = Nameless.new.call(name: 'ABC')

p result # #<Dry::Validation::Result{:name=>"ABC"} errors={:name=>["womp womp womp"]}>

puts "failure? #{result.failure?}" # failure? true
puts "errors: #{result.errors.inspect}" # errors: #<Dry::Validation::MessageSet messages=[#<Dry::Validation::Message text="womp womp womp" path=[:name] meta={}>] options={}>
puts "errors.to_h: #{result.errors.to_h}" # errors.to_h: {:name=>["womp womp womp"]}
puts "result.error?(:name): #{result.error?(:name)}" # result.error?(:name): false

Expected behavior
error? should return true because there is an error.
I'm semi worried that because I found error? in the dry-schema docs that it only works for schema errors but it'd be greatly misleading then. I'd propose to make it work. Failing at that, I'd remove the method from Validation::Result as it'd be highly misleading.
Your environment

Affects my production application: kinda (I'm upgrading lots of gems and instead of changing my tests to be .errors.to_h and check with include using error?(:field) seemed like a great way.
dry-gems versions: all up to date (dry-validation 1.5.2)

bash-5.0# grep 'dry-' Gemfile.lock
    dry-configurable (0.11.6)
      dry-core (~> 0.4, >= 0.4.7)
      dry-equalizer (~> 0.2)
    dry-container (0.7.2)
      dry-configurable (~> 0.1, >= 0.1.3)
    dry-core (0.4.9)
    dry-equalizer (0.3.0)
    dry-inflector (0.2.0)
    dry-initializer (3.0.3)
    dry-logic (1.0.6)
      dry-core (~> 0.2)
      dry-equalizer (~> 0.2)
    dry-schema (1.5.2)
      dry-configurable (~> 0.8, >= 0.8.3)
      dry-core (~> 0.4)
      dry-equalizer (~> 0.2)
      dry-initializer (~> 3.0)
      dry-logic (~> 1.0)
      dry-types (~> 1.4)
    dry-struct (1.3.0)
      dry-core (~> 0.4, >= 0.4.4)
      dry-equalizer (~> 0.3)
      dry-types (~> 1.3)
    dry-types (1.4.0)
      dry-container (~> 0.3)
      dry-core (~> 0.4, >= 0.4.4)
      dry-equalizer (~> 0.3)
      dry-inflector (~> 0.1, >= 0.1.2)
      dry-logic (~> 1.0, >= 1.0.2)
    dry-validation (1.5.2)
      dry-container (~> 0.7, >= 0.7.1)
      dry-core (~> 0.4)
      dry-equalizer (~> 0.2)
      dry-initializer (~> 3.0)
      dry-schema (~> 1.5)
      dry-validation (~> 1)
      dry-types (>= 1.1)
  dry-struct

Ruby version: 2.6.6
OS:

bash-5.0# uname -a
Linux 441ff575d66a 5.4.0-40-generic #44~18.04.1-Ubuntu SMP Wed Jun 24 23:13:08 UTC 2020 x86_64 Linux

(inside an alpine linux container)

If you point me the right way/agree this is a bug (and not just a thing of well this should only work for schema) then I'm also happy to work on a fix myself, I know y'all are busy and such :)
Here, have a bunny:

hey @PragTob - I know this is confusing, this is actually designed to only check for schema errors. We should for sure change it to take into consideration all errors 😅 This is why it works the way it works. I do consider this as a bug though so let's fix it 😄

This was addressed via #656


Pull request conflict files detection

This pull request will add a new column on table pull_request named conflicted_files that will store less than 10 conflicted file names which will be filled on testPatch method. Will fix #887

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f21ae12). Click here to learn what that means.
The diff coverage is 13.63%.

@@            Coverage Diff            @@
##             master    #5951   +/-   ##
=========================================
  Coverage          ?   38.68%
=========================================
  Files             ?      330
  Lines             ?    48592
  Branches          ?        0
=========================================
  Hits              ?    18796
  Misses            ?    27074
  Partials          ?     2722

Impacted Files
Coverage Δ

routers/repo/pull.go
34.07% <0%> (ø)

models/pull.go
50.51% <16.66%> (ø)

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 f21ae12...5030b5c. Read the comment docs.

What about this feature? According to https://blog.gitea.io/2019/04/gitea-1.8.0-is-released/, it is released already, but I cannot find it in Gitea.

@bederke When you create a pull request which has conflict files. You can find them on pull request view interface.

I have a PR that shows a conflicted file but when I merge it locally there is no conflict. Is this a bug in the conflicted files detection?

@mschoettle Please open a new issue if you are experiencing a problem. 🙂
Issues on merged PRs tend to get lost fairly quickly.


[Feature]: Add "selected option object" for Select widget

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Hi! The Select widget only provides the selectedOptionValue and selectedOptionLabel which is good but we must also have selectedOption which is priceless in many cases.
Why should this be worked on?
The Select widget only provides the selectedOptionValue and selectedOptionLabel which is often not enough.
Context:
I have a Select input which makes server-side filtering on a graphql API. The server returns a list of users with their name, ID, and email address, plus some permissions/roles. When I select the user in the widget, I want to have all the data of the selected user, not only his ID (selectedOptionValue). Having only selectedOptionValue forces me to make another query or to write some complex javascript to get the information I already have. I can see that there's a prop called select.options that can contain any object not only {label, value}. It will be great to also have select.selectedOption.
Retool already supports that feature.
Thank you,

@GENL thank you for submitting this feature idea. To make it 100% clear, would you please share what the object should look like? Let's say:
selectedOptionLabel is AU and selectedOptionValue is Australia.
Meanwhile, are you able to unblock yourself? If not, you could try constructing the object in a JS function.

@rohan-arthur  of course, there's a workaround with JS functions, but it makes the work harder.
If selectedOptionLabel is AU and selectedOptionValue is Australia then selectedOption should be:
{
  name: 'Australia',
  label: 'AU',
  flag: '🇦🇺',
  lat: '...',
  lon: '...',
  continent: 'Australia',
  population: 25740000,
  area: 7688000,
}


[Search v2.5] - Approve button is shown on expense item but not in dropdown when expense is duplicate

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.68-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:
Precondition:

Workflows are enabled.
Add approvals are enabled.
Admin is the approver.

Submit an expense.
Approve the expense and pay it.
Submit another expense of the same amount and merchant (do not approve it).
Go to Search.
Select the expense via checkbox.
Click on the dropdown.
Note that Approve button is present on the expense item but not in the dropdown list.
Click on the expense, change the amount so that it is not a duplicate.
Close the RHP.
Select the expense via checkbox.
Click on the dropdown.
Note that now Approve button is present in the dropdown list.

Expected Result:
In Step 9, there should be consistency in displaying Approve button on the expense item and the dropdown list when the expense is a duplicate.
Actual Result:
In Step 9, it shows Approve button on the expense item but not in the dropdown list when the expense is a duplicate.
Workaround:
Unknown
Platforms:

[x] Android: Standalone
[x] Android: HybridApp
[x] Android: mWeb Chrome
[x] iOS: Standalone
[x] iOS: HybridApp
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/758f3f5e-d6ba-498f-b731-b7edb4bc8412

View all open jobs on GitHub
Issue OwnerCurrent Issue Owner: @luacmartins
Issue OwnerCurrent Issue Owner: @luacmartins

Production behaviour
https://github.com/user-attachments/assets/dbfb1ce2-01e0-4df1-bc1d-1078e4006573

The users can still approve just fine so demoting but let's find the offending pr so the authors can fix it cc @luacmartins

I can take this one since it's coming from my PR

This is expected for now until the Review action is implemented. I'll close this issue.


diff against SystemCertPool() if possible (for platform certs)

It might be a less error-prone approach to diff against Go's understanding of certs for the platform. Otherwise cert-manage might have to dig pretty deep to replicate the expected functionality of rfcs and user expectations.
https://github.com/golang/go/issues/16532
https://github.com/golang/go/commit/4dbcacda961abb0ca3490dc06923fa7ab344d702

IMO this should be required at least for darwin after the amount of issues with implementation. https://github.com/adamdecaf/cert-manage/issues/9

What about always doing this if the env var DEBUG is set?


How to set random seed and deterministic=True in the config file?

Hi,
I would like to make the training of a model reproducible. Looking at
https://github.com/open-mmlab/mmdetection/blob/master/tools/train.py
the relevant arguments seem to be  --seed and  --deterministic. Do I need to set both of them to make the training reproducible? How do I set them in the config file?

In the latest version of mmdet, you can only set them through args, we no longer support setting them in config file.
https://github.com/open-mmlab/mmdetection/blob/master/tools/train.py#L155 shows that the seed will be covered by args.seed.


Don't require the 5-byte frame when deserializing JSON messages

Description
We are producing JSON data to Kafka using Amazon DMS, which does not supply the 5-byte framing before the JSON data so we cannot use Confluent.SchemaRegistry.Serdes.JsonDeserializer<T> to consume the data.  We worked around it by writing our own implementation of Confluent.Kafka.IAsyncDeserializer<T> that does not require the 5-byte framing, but it would be great for interoperability if this were configurable in the stock Confluent.SchemaRegistry.Serdes.JsonDeserializer<T>.
How to reproduce

Produce JSON data to a Kafka topic that does not begin with the 5-byte framing, i.e. just plain old JSON.

Consume the data from a .NET app using Confluent.SchemaRegistry.Serdes.JsonDeserializer

var consumerBuilder = new ConsumerBuilder<TKey, TPayload>(config);
var consumer = consumerBuilder.SetKeyDeserializer(new JsonDeserializer<TKey>().AsSyncOverAsync())
    .SetValueDeserializer(new JsonDeserializer<TPayload>().AsSyncOverAsync())
    .Build();
consumer.Subscribe("MyPlainOldJsonTopic");
var result = consumer.Consume();

Exception thrown on client.

Confluent.Kafka.ConsumeException: Local: Key deserialization error
 ---> System.IO.InvalidDataException: Expecting message Key with Confluent Schema Registry framing. Magic byte was 51, expecting 0
   at Confluent.SchemaRegistry.Serdes.JsonDeserializer`1.DeserializeAsync(ReadOnlyMemory`1 data, Boolean isNull, SerializationContext context)

Checklist
Please provide the following information:

[x] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
See repro steps.
[x] Confluent.Kafka nuget version.
Confluent.Kafka v1.5.1
Confluent.SchemaRegistry.Serdes v1.3.0
Confluent.SchemaRegistry.Serdes.Json v1.5.1
[x] Apache Kafka version.
v2.3 on Amazon MSK
[x] Client configuration.
Default settings except for bootstrap.servers.
[x] Operating system.
Observed on both Windows 10 and Ubuntu.
[x] Provide logs (with "debug" : "..." as necessary in configuration).
See repro steps.
[x] Provide broker log excerpts.
N/A. Broker is behaving as it should.
[x] Critical issue.
Not critical. Just a feature request.

Yep, Json serdes without SR integration would be useful out of the box, and we don't have this. Your implementation of Confluent.Kafka.IAsyncDeserializer<T> would be pretty simple right?

Correct.  I basically copied stock JsonSerializer and JsonDeserializer and stripped out all the framing and Schema Registry code.


[Quantum] Quantum CLI Extension Release, Version 1.0.0b4

Updated version number and release notes

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[x] My extension version conforms to the Extension version schema

Quantum

I updated this PR to "ready for review" this morning, but then received an email about a minor change that has a 10/31/2024 deadline.  I converted the release PR back to a Draft so I can incorporate that new change in the release -- may delay the release a couple days.

Updated the release date in HISTORY.rst and submitted PR 8113 to initiate the release process

/azp run


Predicted values are different between hist and gpu_hist when using large dataset

When using a certain type of data, the prediction results may differ between tree_method = 'hist' and 'gpu_hist'.
For example, when random numbers are generated while changing the number of columns and rows with the following code, the difference increases when around 10,000 rows.
(The environment I tried is Google Colab: xgb ver.0.90, CUDA 10.1, Tesla K80.)
import xgboost as xgb
from sklearn.metrics import mean_squared_error
import pandas as pd
import numpy as np
nrows_range = [100, 500, 1000, 5000, 9000, 10000, 11000, 50000, 100000, 150000]
ncols_range = [5, 10, 50, 100, 500, 1000]
results = []
for ncols in ncols_range:
    for nrows in nrows_range:
        # generate data
        print(f"nrows={nrows}, ncols={ncols} -----------")
        np.random.seed(0)
        X = np.array([np.random.normal(size=nrows) for x in range(ncols)]).T
        np.random.seed(0)
        w = np.random.uniform(size=X.shape[1])
        np.random.seed(0)
        y = np.dot(X, w) + np.random.normal(size=nrows)
        y = (y - np.mean(y)) / np.std(y)
        print(f'summary of y: min={np.min(y):.1f}, max={np.max(y):.1f}, mean={np.mean(y):.1f}, std={np.std(y):.1f}')
        print(f"shape of X: {X.shape}")
        dtrain = xgb.DMatrix(X, label=y)

        # learning by hist
        param = {'tree_method': 'hist'}
        bst1 = xgb.train(param, dtrain)
        pred1 = bst1.predict(dtrain)

        # learning by gpu_hist
        param['tree_method'] = 'gpu_hist'
        bst2 = xgb.train(param, dtrain)
        pred2 = bst2.predict(dtrain)

        # comparing results
        rmse = np.sqrt(mean_squared_error(pred1, pred2))
        print(f"RMSE between two predicted values: {rmse:.3f}")
        print(f"preds by tree_method='hist'    : {pred1[0:5]}")
        print(f"preds by tree_method='gpu_hist': {pred2[0:5]}")
        result = {"nrows": nrows, "ncols": ncols, "rmse": rmse}
        results.append(result)

print("RMSE between predicted values of hist and gpu_hist:")
res_df = pd.DataFrame(results)
pd.pivot_table(res_df, values="rmse", index=["nrows"], columns=["ncols"]).round(3)

It would be helpful to know the direction of the difference e.g. are the results better for hist or gpu_hist?

I would like to tell you some information.
Firstly, the model learned with CPU did not perform better than the model learned with GPU, or vice versa.
Secondly, even when learning with CPU, if the order of the rows of the train data is changed, the prediction for test data may not match the prediction for test data of the model using the normal train data. (However, this was only when tree_method = 'hist'). I think this phenomenon may be related to the problem mentioned in this issue.
import xgboost as xgb
from sklearn.metrics import mean_squared_error
import pandas as pd
import numpy as np
from sklearn.utils import shuffle
from sklearn.model_selection import train_test_split
from pprint import pprint

nrows_range = [1000, 5000, 7500, 9000, 10000, 11000, 15000, 20000, 50000, 100000]
ncols = 10
results = []
for nrows in nrows_range:
    # generate data
    np.random.seed(0)
    X = np.array([np.random.normal(size=nrows) for x in range(ncols)]).T
    np.random.seed(0)
    w = np.random.uniform(size=X.shape[1])
    np.random.seed(0)
    y = np.dot(X, w) + np.random.normal(size=nrows)
    y = (y - np.mean(y)) / np.std(y)
    print(f"shape of X: {X.shape}")
    X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

    # make train data
    dtrain = xgb.DMatrix(X_train, label=y_train)
    dtest = xgb.DMatrix(X_test, label=y_test)

    # make train data with shuffled row order
    X_shuffle, y_shuffle = shuffle(X_train, y_train, random_state=0)
    dtrain_shuffled = xgb.DMatrix(X_shuffle, label=y_shuffle)

    for tree_method in ['exact', 'approx', 'hist', 'gpu_hist']:
        print(f"nrows={nrows}, tree_method={tree_method} ---------------------------------")
        param = {'tree_method': tree_method}
        # fit a model by normal data
        model_normal = xgb.train(param, dtrain)
        pred_normal = model_normal.predict(dtest)

        # fit a model by shuffled data
        model_shuffle = xgb.train(param, dtrain_shuffled)
        pred_shuffle = model_shuffle.predict(dtest)

        # compare predicted values
        result = {
            "nrows": nrows,
            "ncols": ncols,
            "tree_method": tree_method,
            "head_of_pred_normal": pred_normal[0:4],
            "head_of_pred_shuffle": pred_shuffle[0:4],
            "rmse_between_models": np.sqrt(mean_squared_error(pred_normal, pred_shuffle)),
        }
        pprint(result)
        results.append(result)

res_df = pd.DataFrame(results)
print("RMSE between predicted values of a model using normal learning data\n and predicted values of a model using shuffled learning data")
pd.pivot_table(res_df, values=["rmse_between_models"], index=["nrows"], columns=["tree_method"]).round(3)

I don't know much about GPU parallel processing and algorithm of 'hist', but if GPU parallel processing or algorithm of 'hist' has a process that changing the order of the rows, the difference between the predicted value of the model trained by CPU ('hist') and the predicted value of the model trained by the GPU ('gpu_hist') may have been caused by it.


[BUG]  Problem to start the portal and notebook aspects of the RSP

Describe the bug
Error trying to start the portal and notebook aspects:
To Reproduce
Steps to reproduce the behavior:

Go to https://data.lsst.cloud/ and login
Click on https://data.lsst.cloud/portal/app/ or https://data.lsst.cloud/nb
403 Forbidden nginx

Expected behavior
could start working with example notebooks and DC2 tables
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS:  Linux Pop!_OS 20.10
Browser Chrome
Version 91.0

Additional context
Could log without problem, Github account linked and accepted @DP0 organization in the first login.
cleaned local cache and generate new security token, will try the API next
Thank you in advance, m.

Hi Mariano,
My apologies, this issue is my fault, because I had not yet sent you the invitation to join this GitHub Org and its Delegates team. I have just done this. Please accept the invitation and then try again.
Note that since you tried to access the RSP before accepting an invite to the rubin-dp0 you will have an incorrectly scoped token for RSP access, and will have to follow these instructions to recover:
https://github.com/rubin-dp0/Support/issues/1#issuecomment-871904198
Thank you for doing the action items and filling out the Delegates Authorization Form and my apologies again for this issue!
Please report back to confirm once you can log in to the RSP's Notebook and Portal Aspects, and then we'll close this issue.

Hello @mardom - have you had a chance to follow Melissa's suggestion above?

@mardom you should now be able to resolve the situation by

logging out (if you are still logged in)
logging in
logging out

After which you should be fine.

Hi @frossie and  @MelissaGraham
Sorry for the delay in answer to you.  Yes, the issue was resolved, and I could start using the RSP. Thank you! All the best, m.


Fix book to use futures_channel and futures_util, re-enable testing

Closes #158

Note: These dependencies are indirect, and come from this line in the Cargo.toml:
[dev-dependencies.futures-preview]
version = "0.3.0-alpha.18"
features = ["std", "nightly", "async-await"]

I'm not sure the best way to access these NOT indirectly. I think futures-preview is aliasing with futures v0.1.29 from this part of the dependency tree:
├── futures-timer v0.4.0
│   ├── futures-core-preview v0.3.0-alpha.18 (*)
│   ├── futures-util-preview v0.3.0-alpha.18
│   │   ├── futures v0.1.29

Possibly related to https://github.com/rust-lang-nursery/mdBook/issues/706

This regression was introduced by https://github.com/async-rs/async-std/pull/140, CC @stjepang

Okay, I went ahead and just added these as explicit dev-dependencies, and added a comment in Cargo.toml what they were used for. Hopefully this will give some context for later refactorings.


why vue 2.0 not working on ios 9.3.5?

it's not render on ios <= 9.3.5 ! ios 10 work fine!

No reproduction = not important.

http://test.ipangdou.com/ this is the test page.
`

联系客服

  <select v-model="selected" @change="getMakerQQ(selected)">
    <option v-for="(maker, index) in maker_list" :value="maker.mid" :class="'maker'+index"> {{ maker.name }}</option>
  </select>
  联系客服

`

I don't have an iOS 9 device at hand. Do you see any errors (you can use https://github.com/WechatFE/vConsole)?

yes, I alreay install vConsole on my test page, and I find a error on ios 9

看起来是语法错误？
On Oct 14, 2016 11:20, "aviggngyv"<EMAIL_ADDRESS>wrote:

yes, I alreay install vConsole on my test page, and I find a error on ios
9
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Does reverting to 2.0.2 work?

... I think it's not about Vue, you are using arrow functions which are not supported in iOS 9.3...

Bump, I have problem that on ios <9.3.5 safari CRASHES after page load with lots of html rendered... Depending on device, faster doesn't crash while iPod f.e does even with small markup.
Anything? I can't reproduce, it's commercial project...

I managed to fix iPad problem by initing vue in DOMContentLoaded callback... However slow 2014 ipod crashes anyway

Happen to me too, using vuejs 2.2.6. Not render on ios<=9.3, but works on ios>=10. Testing on iphone using appetize.io

Happen to me too, using vuejs 2.2.6. Not render on ios<=9.3, but works on ios>=10. Testing on iphone using appetize.io

Happen to me too, using vuejs 2.2.6. Not render on ios<=9.3, but works on ios>=10. Testing on iphone using appetize.io

Guys, 'm sorry to say this, but saying "it happens to me too" without any further information, let alone code to analyse, does not enable us to help you in any way.


ring: Make Ring implement prometheus.Collector

What this PR does:
Make ring.Ring implement prometheus.Collector, since this is required in Cortex code.
Which issue(s) this PR fixes:
Checklist

[ ] Tests updated
[ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

We intentionally removed it in #50. Why is it required in Cortex and we can't just upgrade dskit and leverage on #50?

@pracucci please just ignore this PR :) I just made it a draft while figuring out the porting of Mimir to dskit/ring :)

Can we close this PR or it still useful for some reason?

@pracucci closing it.


Allow GPU support?

The current type for CircularArrayBuffer only allows the backing array to be an Array. Can this be relaxed to allow CuArrays (or any AbstractArray)? AFAICT scalar indexing is not introduced by the package code (meaning scalar indexing should only trigger if a user is scalar indexing in the first place).
You might also consider adding an Adapt.jl rule:
Adapt.adapt_structure(to, x::CircularArrayBuffer) =
    CircularArrayBuffer(adapt(to, x.buffer), x.first, x.nframes, x.step_size)

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/55949
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.1.6 -m "<description of version>" eacc6dc3e5299ed3a2196cfff1e105a0a1328c9f
git push origin v0.1.6


Jest

i have rewritten the tests for react-template-react with jest:

less node-modules 👊
comes with integrated code-coverage 👏
performance boost 💥

i only changed it in react-template-react because of the generator 😏

@danielbayerlein i will migrate the jest-setup into yo-generator


Expose more information to the API (playlist folders, escaped location)

Hi Liam,
I like to contribute some minor extensions.

Currently, the Playlist class doesn't contain information, whether or not a playlist is actually a folder for other playlists. But I want to skip folders. Hence, I need to distinguish between playlists and folders. Moreover, it would be nice for a client to know which playlist belongs to which folder.  iTunes' XML already contains these information ("folder", "playlist_persistent_id", "parent_persistent_id"), we only have to expose them to the API.

Currently, the "location" property of Song contains the unescaped path, which is fine for the most use cases. However, I actually need the escaped location (I like to write the paths to Rhythmbox playlists). So I have to escape the location which is error-prone due to unclear safe characters (a lot of try & error until I finally found the characters that should not be escaped). Fortunately, the iTunes XML already contains the escaped path (which also matches Rhythmbox' format), we only need to expose it in the API.

Are you okay with that? Looking forward to your response!
Cheers, Philipp

@phauer this looks great. I've reviewed the PR and it looks like it's both backwards compatible and adds some useful new features - thank you!!!


School-Library: Preserve data

In this project, the following was done:

Check the documentation for Ruby's JSON library.
On exit from your app save all the data (books, people, and rentals) into JSON files. One per type of data you are storing and named accordingly (e.g. rentals.json)
On startup of your app load all data from files. Remember to handle the case when one or more of the files are missing.

Hi @edubew @jeanbuhendwa ,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

[ ] Good job implementing recommended changes!

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


P4 had 250 fibers out of action on 20231113, tileid 21279, 22848, 6530

P4 had 250 fibers out of action on 20231113, 21279, 22848, 6530.  These were recovered later in the night.  We're concerned that some things look a little weird with the number of standard stars being large on these tiles, but I expect we'll accept them in the end.

sorry I only see now this ticket.
I ve answered in slack (https://desisurvey.slack.com/archives/C01HNN87Y7J/p1699978991301089), but I re-post here for better book-keeping.
in short : these look good to me.
in details:

I confirm the standard stars tile-qa diagnosis (for tileid=6530, we ve been lucky that only 2/10 std stars fall in the bad region!):

the PETALQA EFFTIME_SPEC value is the median of the 500 fibers: so it makes sense its either 0 (tileid=22848 and 6530) or a low value (62s for tileid=21279); as far as we know, that quantity is not used downstream;
the BADPETALPOS flag is not turned on, because we request that 60% of the fibers to have positioning issue to turn it on (https://github.com/desihub/desispec/blob/aae1e5050ccef189bf529ff020a1b1ad4b725999/py/desispec/data/qa/qa-params.yaml#L11-L13);

Okay, redoing QA here to mark these as good, closing!


Service Alias and External Service

v0.23.0-rc6
It'd be nice to have something to indicate what is a service alias versus external service in the graph view of a service.
Right now, it just says "No containers" underneath, which doesn't give you good insight on why there are no containers.

Yes, that especially makes no sense since they can't have containers.  And the icon should reflect what kind of service the box is.  But not going to happen before beta.

Or not.. I changed the icons to match a couple days ago.  It still says "No containers" though.

UI 2.0 will indicate this.


Resized the Type in the NumFOCUS

The type is resized
.section {
font-weight: bold;
margin-bottom: 0.5rem;
padding-top: 1rem;
}
/* adjusting styles based on screen width */
@media screen and (max-width: 600px) {
.section {
display: block;
}
}
Do check this out is it working or not.... if not then do let me know

Thanks @alokartist. Can you please describe the problem this is addressing?

@stefanv
now buy this the above image issue is fixed


SPEC: typo

Make it consistent with others.
Signed-off-by: Hu Keping<EMAIL_ADDRESS>

Thanks for the patch, but this is grammatically slightly awkward; if anything I would rather go in the other direction of having the zeroth article for all of them. How does that sound?

sure


og:title does a partial match instead of exact match

I have noticed, that when the title matches partially, it will return that result.
For example:

If I have a page with og:title set to I love Lego
And there exists a discussion for it, it shows that correctly.
But if I also have a page called Remember: I love Lego or I love Lego very much, it will find the discussion for the first page.

There is probably a partial matching going on (the option text "contains" seems to aim at this).
I'd like to disable that if possible, so that it only finds exact matches.
Thanks for this project!

I've added an option to use strict title matching, add data-strict="1" to your <script> tag to enable this. Note that you'll have to migrate any existing discussions in order to use this option. (You don't have to do this for new discussions).
See https://github.com/giscus/giscus/issues/508#issuecomment-1193106139 for more details.

Hi @laymonage,
I just tried this option and old posts don't get recognized anymore for some reason. Trying to create a new comment creates a new discussion with an exact title match, but it actually shows up when reloading the page.
Do you check for more than the og:title against the discussion title?
Reference: https://github.com/Lusito/blog/discussions

@Lusito yes, please see the comment right above yours.


Adding TF_UNUSED_VARIABLE

This PR adds a new macro for compiler warnings in case of unused variables. Similar to EIGEN_UNUSED_VARIABLE, it creates a void function that will be optimized away by the compiler. This comes in handy to reduce the warning messages while building and allows user to explicitly mark unused variable so that real warnings can be investigated.

Tagging @mihaimaruseac for notification.


Usage in markdown files

Cool project. I was wondering if its possible to use this plugin in markdown environment for inline $ $ and code blocks $$ $$ of LaTeX. I tried but it doesn't seem to work, even though treesitter correctly renders the LaTeX syntax highlighting.
Also I had issues with using  this plugin in LaTeX without additional_vim_regex_highlighting = { "latex"}, or disable = { "latex" },, but in markdown I need treesitter to fully be enabled otherwise the syntax highlighting completely breaks for some reason.
Any suggestions?

Hi, thanks. This plugin is only for rnoweb files, since it's mostly a personal project and that's the file format I use. It would not be difficult to make the plugin you describe for markdown using this plugin as a template if you were up for it.
Both rnoweb files and markdown files have multiple languages in them. These multiple languages need to have a treesitter parser that recognizes the parts of the text that apply to both languages. Then, in a neovim plugin, you need to traverse each language present and independently handle how you want to deal with it. You can look at the lua code to see how I've done it with rnoweb files.
Since this plugin is for rnoweb files, it only handles r and latex code blocks and has no support for markdown (and I have no plans on including it at the moment as I don't use markdown). Always happy to accept working pull requests if you wanted to extend the current code.
Could you give more details about what issues you had with latex only documents as that should be fully supported?

Thanks for quick response. Yeah I understand, I will take a look at the code and in case I will get something working I'll make a PR. Regarding the issue I had with LaTeX documents, I really don't understand how it works in background, but I imagine that treesitter overwrites rnoweb-nvim when additional_vim_regex_highlighting = { "latex" }, or disable = { "latex" }, is not set. I may provide additional logs if necessary, just tell me where. I use lazyvim.


Set MSBuildAllProjects automatically to the newest project only

Set MSBuildAllProjects after first pass to the project and all imports, sorted descending by last modified
Log a low importance message that the property was ignored and set automatically
Add escape hatch to disable the functionality

Fixes #1299

I'll write some unit tests if we agree on the implementation

This is on hold, VCXPROJ has a dependency on MSBuildAllProjects.

This is now ready for review!  It now sets MSBuildAllProjects to the project and all imports with the newest project being first in the list

@dotnet-bot
test Windows_NT Build for Full please
test OSX10.13 Build for CoreCLR please

@Microsoft/msbuild-maintainers please review

If a project is left out on purpose from the manual pattern, it will be included in the automated one. But I guess that it's not a common case.

We've decided we can't touch MSBuildAllProjects and we'll have to introduce a new property instead.


index.html does not show anything

I saw the comment in the dockerfile discussion  (#8), so I cloned the master branch into my local nginx html folder:
Firefox shows a blank page with the console output:
09:55:05.312 SyntaxError: import declarations may only appear at top level of a module index.js:1

Chrome fails with:
index.js:1 Uncaught SyntaxError: Unexpected identifier

Tried it with http-server, same result. Opening the index.html directly, same result.

OS: macOS 10.13.2 (17C205)
FF: 57.0.4 (64-Bit)
Chrome: 63.0.3239.132 (official build) (64-Bit)

Please open docs/index.html instead.  ./index.html is for development only.


trim('0002', '0') returns '0002'

trim('0002', '0')

returns '0002'
expected is '2'

Problem in code is:
(bool)('0') is false
the same problem is in ltrim and rtrim

This change is

Coverage remained the same at 80.786% when pulling 4594afb29d8a559a75c589089a54e71b6119e2a9 on pmacko:hotfix/trim-with-string-0-in-charlist into 6eef2006f84fd47fff11173c89af746461728926 on voku:master.

Thanks for the fix. (merged) :+1:


Remove extra "be" in I18nProvider.mdx

@andnorda thanks for fixing! I think you'll need to sign the Adobe CLA, then close/re-open this for it to build.

I'm good, thanks.


ShowMaxEstimator is missing an input file

@tino-michael  It seems there is a file missing in ctapipe-extra repo.  Can you add it and check it into ctapipe-extra?
self = <ctapipe.reco.shower_max.ShowerMaxEstimator object at 0x23ae10dd8>
filename = '/Users/kosack/Projects/CTA/Working/ctapipe/ctapipe-extra/datasets/atmprof_paranal.dat', col_altitude = 0, col_thickness = 2

    def __init__(self, filename, col_altitude=0, col_thickness=2):
        """
            small class that calculates the height of the shower maximum
            given a parametrisation of the atmosphere
            and certain parameters of the shower itself

            Parameters
            ----------
            filename : string
                path to text file that contains a table of the
                atmosphere parameters
            col_altitude : int
                column in the text file that contains the altitude/height
            col_thickness : int
                column in the text file that contains the thickness
            """

        altitude = []
        thickness = []
>       atm_file = open(filename, "r")
E       FileNotFoundError: [Errno 2] No such file or directory: '/Users/kosack/Projects/CTA/Working/ctapipe/ctapipe-extra/datasets/atmprof_paranal.dat'

ctapipe/reco/shower_max.py:30: FileNotFoundError

actually, it seems that file is in ctapipe-extras/datasets which was renamed ctapipe-extras/ctapipe_resources, so it just needs to be moved

so never mind, I'll fix it and remove ctapipe-extra as a sub-module (it will be installed as a package)

The test script itself uses get_path("atmprof_paranal.dat"), so it's completely agnostic about where the file actually resides.

yes, it's related to the fact that the file is not in the sub-module version of ctapipe-extra for some reason (or at least get_path fails to find it).

Submodules seem to get out of sync easily and are difficult to maintain anyhow, so I'm switching it to a package.

can this be closed?

it's still not in the linked ctapipe_extras dir, but this will be closed once I finish making it a separate package, rather than a sub-repo as in #222  (which is partially complete, but not yet tested)


Run the storage collectors before the search collectors

* This should avoid am issue where the product data is missing
  in the storage, but is visible in the search results because
  the search collector has already run.

Thank you @rgpjones


fix: Fix the order to make conda cache always work

The software mirror configuration and shell configuration are delayed. Thus the conda cache will always work no matter with the shells and mirrors.
Signed-off-by: Ce Gao<EMAIL_ADDRESS>

/assign @kemingy @VoVAllen


Xmrig Donateless?

The xmrig donate level option is forcefully set to 1 (without manualy changing source code) and makes it so that the donateless options of xmrig are useless.
Just remove it or make it a 0
/src/utils/xmrig.cpp   line 81
arguments << "--donate-level" << "1";

Closed via f3ad96f812b11da125396540e2b48486d7d9e52b


Release candidate for 0.34 release

This PR updates the Swift SDK with a couple of new language models in Speech to Text and a new property in Assistant.
All services were regenererated with:

api-definitions version: 353dcba8489dab421e9066b1748a566b0e8ed263
sdk generator version: 01e1f2fdf42fbb724b7c134b0a08e92bc8504400

I'm going to do the ICP authentication update before we merge this.
https://github.ibm.com/Watson/developer-experience/issues/5456

@mkistler Ready for review again, this time with ICP authentication.
https://github.ibm.com/Watson/developer-experience/issues/5456


Phenotype And Trait Ontology (PATO) must be downloaded and prepared

The following ontology dependency is pinned for this version of the schema.

Ontology
OBO Prefix
Required version

Phenotype And Trait Ontology
PATO
pato.owl : 2021-06-15

Parsing requirements:

For disease_ontology_term_id, extract PATO:0000461 for normal.

For sex_ontology_term_id, extract the children of PATO:0001894 for phenotypic sex

Implemented in cellxgene-schema v2.0.0


Domain

I've acquired the domain joshatticus.eu.org
Would you like to use it?

Sure, if you're happy to transfer it. I don't currently have the money to pay for it though.

Or if you're happy to setup the domain for me

I've acquired the domain joshatticus.eu.org Would you like to use it?

Don't know if you're still there, but if you are, could you respond?

hello

The domain is absolutely free. Would you like me to set it up?

The domain is absolutely free. Would you like me to set it up?

Sure!


People image

Make them round, present behavior in web is oval images, we need to work on making images round

Which page ?

Core team  and KMP

Ok, will get it done !!

@himanshu007-creator  Please assign this issue to me under LGMSOC21 I would like to contribute to this issue

hi @jyothi-k-g , its resolved, sorry to disappoint you, but please look  for anotehr issue


Text speed

What bug did you encounter?
Hey guys! First of all I want to thank you for your job. You are really awsome!
Now! About the bug. If I will setup low speed of text I will cath this bug.
As You can see onthe first screenshot, the time line is almost finished but question is not printed yet.
Also I want to consider your attention that non perfect english spokers can play in your game. But time for answering is too fast.
Ofcourse, if we can translate it in to many languages it would be pretty cool) Maybe I can help with russian and ukrainian translation.
Steps to Reproduce
Very simple. Go to Settings and pull speed text to maximum slow. And now just play the game.
Screenshots

Additional Information
No response

Hi @in2love
Thanks for the report! I'll look into this bug as well as implement an option to turn off timed choices.


Feat: Herbarium - Use it to create mutations, queries and types

Created herbarium support to herbs2gql
Fixes #38

Proposed Changes

Created a new import called herbarium2gql file
Added herbarium library
New test
New documentation

Readiness Checklist
Author/Contributor

[x] If documentation is needed for this change, has that been included in this pull request
[x] Remember to check if code coverage decrease, if so, please implement the necessary tests

Reviewing Maintainer

[ ] Label as breaking if this is a large fundamental change
[ ] Label as either automation, bug, documentation, enhancement, infrastructure, or performance

awesome PR @PedroMarquesFr , thank you very much!
could you add a session in our documentation please?

@PedroMarquesFr thank you for this PR. It is on the right path!

when I look at the To Do List project, there it is possible to find custom mutations and queries - here
in this format with herbarium, how would this scenario of custom mutations and queries look like?

As mutation, queries and types array struture didnt change it would work the same way, using push method, but all in the index file and not on each individual file. Example using To Do List project:

@PedroMarquesFr the PR is read to merge but it seems the test coverage has dropped. Can you check it?

It seems that have some "it.only" inside the test suite. @PedroMarquesFr could you please remove them?


Open with not working unless bag has been created.

Description of the bug
I believe this is a regression as it was reported before and fixed before but is recurring.  I can not find the previous issue.  I have a resource that I use "Open With" CUAHSI Jupyterhub.  The resource has just been created.  The open with never completes.  Loading resources never end.  If I then download the bag for that resource, triggering the creation of a bag, all is zoon
Steps to reproduce the bug:

Go to https://www.hydroshare.org/resource/e0c2559fa9494349af092df33404f304/ (or make a copy)
Remove then add back one of the content files, so it is 'dirty'
Open With CUAHSI JupyterHub.  The Open With Hangs
Now Download the Bag.
Now Open With CUAHSI JupyterHub.  Within seconds Jupyterhub is open with the file contents transferred

Expected behavior
Step 5 above no matter what the state of the bag.
It would be really nice if this were working for the workshop on Wednesday as the exercise being done involves creating a resource then opening it with JupyterHub.
This does not appear to be a problem on CyberGIS Jupyter for Water - Only CUAHSI JupyterHub

maybe related to https://github.com/hydroshare/hydroshare/issues/1368

In my tests, the following workflow also "remedies" the hung JupyterHub:

Go to https://www.hydroshare.org/resource/e0c2559fa9494349af092df33404f304/ (or make a copy)
Remove then add back one of the content files, so it is 'dirty'
Open With CUAHSI JupyterHub. The Open With Hangs
REFRESH THE PAGE
Now Open With CUAHSI JupyterHub. Within seconds Jupyterhub is open with the file contents transferred

In fact, it seems to me that the first attempt to open ANY new resource in Jupyterhub will stall.
And the 2nd attempt will succeed as long as there is ample time (seems like ~15sec) between the two JH requests...
Makes me feel like this is perhaps more on the Jupyterhub side.

NBfetch is not waiting for bag creation (or its waiting indefinitely? ). The fix might be to upgrade hs_restclient to hs_client. Unfortunately this required rebuilding all the JH images which will take some time. We need to verify that this will fix the problem before doing so. @sblack-usu does the hs_client wait for bag creation when a download is initiated?

Yes, hsclient polls the task for bag creation

Okay here is a PR swapping out hs_restclient for hsclient in nbfetch:
https://github.com/hydroshare/nbfetch/pull/5

Update on this:
Opened a few PRs in the process of understanding nbfetch and the ecosystem that it runs in. This PR https://github.com/hydroshare/nbfetch/pull/10 will also "fix" the duplicate nesting of resource contents when launched into Cuahsi JH (files are created in [id]/contents/data instead of [id]/[id]/contents/data).

@Castronova we discussed this today on our developer call.
I think we still need to rebuild the Jupyter image using the new nbfetch and redeploy to test it?

Okay so @Castronova re-deployed a test image containing my nbfetch PR to CUAHSI JH today and it fixes the issue of a new resource infinitely pending when opened the first time in JH.
However, I updated nbfetch to use hsclient to do its pull, only to discover that hsclient itself doesn't check if the resource bag is dirty before download.
Created an issue on hsclient and added a temporary fix for nbfetch plugin

@Castronova https://github.com/hydroshare/hydroshare/issues/5135 (issue with bag creation in Hydroshare) has been fixed. I tested the nbfetch-test image that you deployed (containing PR https://github.com/hydroshare/nbfetch/pull/10). Looks good to me so ready for merging and then build/deploy of images. Thanks for your patience on this!

Pushed one more commit to fix redirect in the case that duplicate nested dirs exist (from previous fetch) and the user doesn't want to overwrite them
https://github.com/hydroshare/nbfetch/pull/10/commits/bbb2e9032085fc0430ecf5cae53f527ebe066c17

The Nbfetch updates have been merged and verified.
But I'm reopening this issue and keeping it as "in progress" untill @Castronova has had a chance to rebuild and deploy images for at least the general scientific "Python - v3.8" environment.
This rebuilding and deploying is a slow process so we can keep this issue open as a reminder to check back.


I am using Velodyne VLP16. I have configured the LIDAR to 1000rpm. I was able to get the data through the ros-kinetic-velodyne package till rescently. It used to publish the pointcloud on the /velodyne_points topic after the connection is established and with this lauch file "roslaunch velodyne_pointcloud VLP16_points.launch". But I am not getting the pointcloud anymore with the same launch file

Describe your issue here and explain how to reproduce it.
Your environment

OS Version: e.g. Ubuntu 18.04
ROS Distro: [Kinetic | Melodic]
RViz, Qt, OGRE, OpenGl version as printed by rviz:paste your console output here

If source build, which git commit?

The connection is intact and I am able to see the web GUI through the browser. The data used to com properly but its weird why its not coming any more. The /velodyne_packets topic is also blank. Echoing the /velodyne_packets and /velodyne_points prints nothing. I was able top get the data with this exact procedure earlier. I can still access the web gui but not the data through the ros topic

This is clearly not a problem with RViz, please move your issue to something like ROS anwers or the vlp-16 repository issues.


Document OS X set up to have the cci command always available in terminals

Install python and virtualenv (or link to good docs for it)
Create a virtualenv
Activate virtualenv in .bash_profile
Open new terminal and check that the virtualenv is active
pip install cumulusci
Creating a ~/.cumulusci_key file
Securing the ~/.cumulusci_key file
Including the ~/.cumulusci_key file in the .bash_profile

The tutorial has thsi now.


[ClusterLoader2][NodeKiller] Refactor NodeKiller by adding 'provider' abstraction and move env specific calls over there

Two provides should be implemented to consider this issue resolved

one for GCP environment (currenly inlined in clusterloader2/pkg/chaos code)
one for fake (testing) environment

Resolving this will unlock adding Kubemark provider and unit testing Chaos Monkey/Node Killer.
/good-first-issue

As promised, following up on this one
/assign

Closing as duplicte of https://github.com/kubernetes/perf-tests/issues/238


test: implement navigate to the search page

Changes proposed
Add a playwright test that navigates to the homepage, clicks on the search link, and checks if the Search page contains an h1 with "Search" in it.

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

I updated the pull request because the first commit had also changed the formatting of the rest of the tests in the file. This was due to my prettier config. The second commit should have fixed it. If there is anything that needs changing please let me know.

Thank you @shericodes 👍


@zhouweidong You can flag invisible and force composition:

@zhouweidong You can flag invisible and force composition:
for layer in psd.descendants(include_clip=True):
    if layer.kind == 'type':
        layer.visible = False

psd.compose(force=True)

Originally posted by @kyamagu in https://github.com/psd-tools/psd-tools/issues/135#issuecomment-525538565
Dear according this function. this psd export a png not same with the psd. Can you help to check.
Here is the psd address: https://drive.google.com/open?id=1zGqlk_uzBQI56NMJg9gfG1oOv6LfPKqW

@zhouweidong Are you talking about layer effects? As stated in documentation, not all photoshop features including layer effects are available as of now. Try not using layer effects and see if that reproduce the view.


Update CIS to the latest master.

Coverage remained the same at 90.731% when pulling 976dec8acecb0640f0a706de795b4bea80228c34 on akatsoulas:update-cis into 79a6f981748eb8f50dbcf493b37aeb2cbf29beb0 on mozilla:master.


Add labels to cards + label tree in datatables

Add labels to cards

[ ] Unassigned from resource => cross icon on label
[ ] Add filter by label => click on label

Add label tree to datatables

[ ] Add action: apply labels to selected rows
[ ] Add action: remove labels from selected rows
[ ] Filter by label (No selected rows)

Progress Status

[ ] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

PRs to merge:

one:

https://github.com/OpenNebula/one-ee/pull/2142

doc: pending
dev: pending


Some Quicksight dashboards are not appearing after release 1.0

Affected module
QuickSight Dashboard Ingestion
Describe the bug
Some QuickSight dashboards are not appearing after release 1.0. Prior to release deployment there were 61 dashboards and after release deployment, only 54 dashboards are getting ingested.
Debug logs and airflow logs are attached.
moovedataquicksightmetadatanyu-5631.txt
dag_id=moove-data-quicksight_metadata_nYUNLpcR_run_id=scheduled__2023-05-15T10_00_00+00_00_task_id=ingestion_task_attempt=1.log
moovedataquicksightmetadatanyu-5631.txt
Version:
OM 1.0 release

Not able to reproduce this error / hard to reproduce.
Dashboards are being ingested as expected. as per the logs, the lineage is not getting generated, but the charts and dashboards are getting ingested.

@lailapatel we'd need some more information here. If this is still an issue feel free to ping us and reopen this issue. Thanks


Trigger webapp shutdown on application exit.

This fixes GediminasMasaitis/TlcvExtensions#3.
Not the most elegant solution... but I think it works.
Explanation:

When running the backend app in its own window (as explained in the issue), hitting the window's 'x' button triggers AppDomain.CurrentDomain.ProcessExit, but not app.Lifetime.ApplicationStopping. So in order to trigger a graceful shutdown, we simply command the app to end its lifetime when ProcessExit is triggered.
When running the backend app from a terminal, sending Ctrl+C triggers both AppDomain.CurrentDomain.ProcessExit and app.Lifetime.ApplicationStopping, and disposal of the app object. In order to avoid referencing a disposed object (namely app) from the ProcessExit handler we need to set a flag to indicate that we've already done the shutdown.

Testing done:

Ran the following three scenarios:

Ran TlcvExtensionsHost from Visual studio (resulting in it running in its own window)
Ran TlcvExtensionsHost from Windows explorer (resulting in it running in its own window)
Ran TlcvExtensionsHost from a terminal.

In each scenario:

Checked that quit was sent to the engine (by attaching a debugger to the engine and setting a breakpoint on the quit handler)
Checked that the TlcvExtensionsHost app shut down gracefully (no exceptions, exit code 0, prints "Graceful shutdown completed")
Checked that there aren't any zombie engine processes after shutdown.

oops, I did some work in the background, handled the host lifetime as it should be and also concluded that AppDomain.CurrentDomain.ProcessExit needs to be used.
But that is still compatible with your idea of the flag to avoid the ugly termination with the disposed host assets.
@JoostHouben Can you git pull and do some final checks now that I integrated the changes?
I haven't configured GH actions properly for forks/prs, so we don't have builds for PRs yet.

Yup, looks good on my end!