Add warning for missing maintainer scripts files

Regarding #69
When the maintainer-scripts field is set and a script is not found, cargo deb will emit a warning telling the user that it will supply the script itself.
This generates the following logs for the vsmtp project: (which provides postinst, postrm and prerm)
info: Determining augmentations needed for systemd unit vsmtp.service
info: Maintainer script postinst will be augmented with autoscript postinst-systemd-enable
info: Maintainer script postrm will be augmented with autoscript postrm-systemd
info: Maintainer script postinst will be augmented with autoscript postinst-systemd-restartnostart
info: Maintainer script prerm will be augmented with autoscript prerm-systemd-restart
info: Maintainer script postrm will be augmented with autoscript postrm-systemd-reload-only
info: Augmenting maintainer script /vSMTP/tools/install/deb/postinst
info: Augmenting maintainer script /vSMTP/tools/install/deb/prerm
info: Augmenting maintainer script /vSMTP/tools/install/deb/postrm
+warning: maintainer script config was not found at location "/vSMTP/tools/install/deb", generating defaults instead.
+warning: maintainer script preinst was not found at location "/vSMTP/tools/install/deb", generating defaults instead.
+warning: maintainer script templates was not found at location "/vSMTP/tools/install/deb", generating defaults instead.

I failed to run the test suite on the following tests because there is a missing test-resources/testroot/testchild/debian directory.
control::tests::generate_scripts_archives_user_supplied_maintainer_scripts_in_root_package
control::tests::generate_scripts_archives_user_supplied_maintainer_scripts_in_workspace_package
control::tests::generate_scripts_augments_maintainer_scripts_for_unit_in_root_package
control::tests::generate_scripts_augments_maintainer_scripts_for_unit_in_workspace_package
control::tests::generate_scripts_generates_missing_maintainer_scripts_for_unit_in_root_package
control::tests::generate_scripts_generates_missing_maintainer_scripts_for_unit_in_workspace_package

How can I get it ?

The tests are they way they are. If they don't run out of the box, figure out whether that's an incompatible change or wrong tests.

I think that the warning isn't strictly correct because it doesn't generate a default script in the absence of a particular script, this isn't even a reason to warn is it? I can imagine it being useful to warn if zero scripts were found, rather than just some.
When I wrote the systemd unit maintainer script fragment injection stuff at the time cargo-deb had no concept of debug logging, but I wanted and still think there would be value in adding "debug" level logging to show where the logic is looking for and failing to find files, to help with the case that it doesn't do as you expect.

Just wanted to encourage to make this a hard failure instead of a warning.
After https://github.com/kornelski/cargo-deb/pull/11 was merged and our tooling picked those changes up (which seems to have taken some time :)) we discovered that the maintainer scripts were not included anymore as we were still specifying paths relative to the workspace.
I think cargo-deb should not only emit a warning but an error and stop processing when this happens (of course explaining nicely what the problem is :)). I'm not sure we would have noticed a warning among the tons of output from CI.


Build on debian 9 with OpenSSL 1.1.0f

Follow the error output , during compile with openssl-1.1.0f
user@hermes:~/Projects/deb_dist/secp256k1-0.13.2$ dpkg-buildpackage
dpkg-buildpackage: info: source package secp256k1
dpkg-buildpackage: info: source version 0.13.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Ludvig Broberg<EMAIL_ADDRESS>dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build secp256k1-0.13.2
fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py clean
0.29
Using bundled libsecp256k1
running clean
removing '/home/user/Projects/deb_dist/secp256k1-0.13.2/.pybuild/pythonX.Y_2.7/build' (and everything under it)
'build/bdist.linux-amd64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:184: python3.5 setup.py clean
0.29
Using bundled libsecp256k1
running clean
removing '/home/user/Projects/deb_dist/secp256k1-0.13.2/.pybuild/pythonX.Y_3.5/build' (and everything under it)
'build/bdist.linux-amd64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
dh_clean -O--buildsystem=pybuild
dpkg-source -b secp256k1-0.13.2
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building secp256k1 using existing ./secp256k1_0.13.2.orig.tar.gz
dpkg-source: info: building secp256k1 in secp256k1_0.13.2-1.debian.tar.xz
dpkg-source: info: building secp256k1 in secp256k1_0.13.2-1.dsc
debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config
0.29
Using bundled libsecp256k1
running config
I: pybuild base:184: python3.5 setup.py config
0.29
Using bundled libsecp256k1
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build
0.29
Using bundled libsecp256k1
running build
running build_py
creating /home/user/Projects/deb_dist/secp256k1-0.13.2/.pybuild/pythonX.Y_2.7/build/secp256k1
copying secp256k1/main.py -> /home/user/Projects/deb_dist/secp256k1-0.13.2/.pybuild/pythonX.Y_2.7/build/secp256k1
copying secp256k1/init.py -> /home/user/Projects/deb_dist/secp256k1-0.13.2/.pybuild/pythonX.Y_2.7/build/secp256k1
running build_clib
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... none
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if gcc supports -fvisibility=hidden... yes
checking for __int128... yes
checking for __builtin_expect... yes
checking native compiler: gcc... ok
checking for x86_64 assembly availability... yes
checking for CRYPTO... yes
checking for main in -lcrypto... yes
checking for EC functions in libcrypto... yes
checking for javac... /usr/bin/javac
checking symlink for /usr/bin/javac... /etc/alternatives/javac
checking symlink for /etc/alternatives/javac... /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
checking jni headers... /usr/lib/jvm/java-8-openjdk-amd64/include
configure: WARNING: jni headers/dependencies not found. jni support disabled
checking whether byte ordering is bigendian... no
configure: Using static precomputation: yes
configure: Using assembly optimizations: x86_64
configure: Using field implementation: 64bit
configure: Using bignum implementation: no
configure: Using scalar implementation: 64bit
configure: Using endomorphism optimizations: no
configure: Building ECDH module: no
configure: Building Schnorr signatures module: no
configure: Building ECDSA pubkey recovery module: yes
configure: Using jni: no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Entering directory '/home/user/Projects/deb_dist/secp256k1-0.13.2/build/temp.linux-amd64-2.7'
CC       src/libsecp256k1_la-secp256k1.lo
In file included from /home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/secp256k1.c:14:0:
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h: In function ‘secp256k1_ecmult_context_clone’:
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:186:9: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
memcpy(dst->pre_g, src->pre_g, size);
^~~~~~
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:186:9: warning: incompatible implicit declaration of built-in function ‘memcpy’
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:186:9: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h: In function ‘secp256k1_ecmult_wnaf’:
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:230:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(wnaf, 0, len * sizeof(wnaf[0]));
^~~~~~
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:230:5: warning: incompatible implicit declaration of built-in function ‘memset’
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:230:5: note: include ‘<string.h>’ or provide a declaration of ‘memset’
CCLD     libsecp256k1.la
/usr/bin/ar: u' modifier ignored since D' is the default (see `U')
CC       src/tests-tests.o
In file included from /home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/secp256k1.c:14:0,
from /home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/tests.c:16:
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h: In function ‘secp256k1_ecmult_context_clone’:
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:186:9: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
memcpy(dst->pre_g, src->pre_g, size);
^~~~~~
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:186:9: warning: incompatible implicit declaration of built-in function ‘memcpy’
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:186:9: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h: In function ‘secp256k1_ecmult_wnaf’:
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:230:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(wnaf, 0, len * sizeof(wnaf[0]));
^~~~~~
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:230:5: warning: incompatible implicit declaration of built-in function ‘memset’
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/ecmult_impl.h:230:5: note: include ‘<string.h>’ or provide a declaration of ‘memset’
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/tests.c: In function ‘test_ecdsa_der_parse’:
/home/user/Projects/deb_dist/secp256k1-0.13.2/libsecp256k1/src/tests.c:3702:52: error: dereferencing pointer to incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
valid_openssl = !BN_is_negative(sig_openssl->r) && !BN_is_negative(sig_openssl->s) && BN_num_bits(sig_openssl->r) > 0 && BN_num_bits(sig_openssl->r) <= 256 && BN_num_bits(sig_openssl->s) > 0 && BN_num_bits(sig_openssl->s) <= 256;
^~
Makefile:1049: recipe for target 'src/tests-tests.o' failed
make[1]: *** [src/tests-tests.o] Error 1
make[1]: Leaving directory '/home/user/Projects/deb_dist/secp256k1-0.13.2/build/temp.linux-amd64-2.7'
Traceback (most recent call last):
File "setup.py", line 295, in
"Topic :: Security :: Cryptography"
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 217, in run
subprocess.check_call(["make"], cwd=build_temp)
File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2
E: pybuild pybuild:283: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build
dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2

I have the same problem with gcc (GCC) 7.2.1 20171128.
The secp256k1 latest master is compiling, the hardcoded in the setup.py does not.
Master commit: c95f6f1360a87bba61622cbaa0eb714c241a5d90
Setup.py commit: c5b32e16c4d2560ce829caf88a413fc06fd83d09

Doesn't install out of the box on Ubuntu 18.04 LTS.  Same error
    /tmp/pip-build-6zlpmcob/secp256k1/libsecp256k1/src/tests.c:3702:52: error: dereferencing pointer to incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
             valid_openssl = !BN_is_negative(sig_openssl->r) && !BN_is_negative(sig_openssl->s) && BN_num_bits(sig_openssl->r) > 0 && BN_num_bits(sig_openssl->r) <= 256 && BN_num_bits(sig_openssl->s) > 0 && BN_num_bits(sig_openssl->s) <= 256;
                                                        ^~
    Makefile:1049: recipe for target 'src/tests-tests.o' failed

Update:
After a closer look at this project's README file

Using a system installed libsecp256k1
If the library is already installed it should usually be automatically detected and used

So I tried
$ sudo apt install libsecp256k1-dev
$ sudo -H pip3 install secp256k1
Collecting secp256k1
...
Building wheels for collected packages: secp256k1
  Running setup.py bdist_wheel for secp256k1 ... done
  Stored in directory: /root/.cache/pip/wheels/5b/8a/64/eb837f345fec657b8cedc6e765971f9552b6f4aa641b06eb7a
Successfully built secp256k1
Installing collected packages: secp256k1
Successfully installed secp256k1-0.13.2

Apparently the compilation error probably has been fixed upstream.  (I didn't bother to check)

Update:
After a closer look at this project's README file

Using a system installed libsecp256k1
If the library is already installed it should usually be automatically detected and used

So I tried
$ sudo apt install libsecp256k1-dev
$ sudo -H pip3 install secp256k1
Collecting secp256k1
...
Building wheels for collected packages: secp256k1
  Running setup.py bdist_wheel for secp256k1 ... done
  Stored in directory: /root/.cache/pip/wheels/5b/8a/64/eb837f345fec657b8cedc6e765971f9552b6f4aa641b06eb7a
Successfully built secp256k1
Installing collected packages: secp256k1
Successfully installed secp256k1-0.13.2

Apparently the compilation error has been fixed upstream in bitcoin-core/secp256k1@d333521
@hackaugusto The upstream fix was merged in Feb, which explains why you encountered the error.

3q


GCC 11 compatibility

GCC 11 has introduced a set of new warnings. Since the behaviour they should prevent is used in tests explicitly, they need to be disabled – with minimal scope.

Coverage remained the same at 99.834% when pulling 9eb6645dcd090e172c91fb38888142ef0458634e on offa:gcc11-warnings into b728df60ec5a7aa7520fca8352fdc6d0079869db on cpputest:master.


[BUG] runtime error: "ValueError: high is out of bounds for int32"

Bug description

When training the all recommender systems models with NVIDIA Merlin at:
...
history = model.fit( train_data, epochs=3, batch_size=512, pre=predict_last )
...
runtime error: "ValueError: high is out of bounds for int32"
Steps/Code to reproduce bug

I solved it like this:
at file C:\Users\Xavier\AppData\Roaming\Python\Python310\site-packages\merlin\core\dispatch.py line 778
from:
seeds = random_state.randint(0, 2 ** 32, size=global_size)
to:
seeds = random_state.randint(0, 2 ** 32, size=global_size, dtype='int64')  # include ", dtype='int64'"

Expected behavior

After the change in line 778 setting the type, all models trained normally.
Environment details

Merlin version:  (23.5.0)
Platform: Windows, Lenovo GPU NVIDIA GeForce GTX 1650
Python version: 3.10.0
PyTorch version (GPU?):
Tensorflow version (GPU?): 2.10.0

Additional context

with pip install protobuf==3.20.0

@rogerioxavier It seems like you already have a solution for this issue, which sounds right to me. I'd be happy to review/merge a PR if you'd be willing to open one (so that you get credited as a contributor for the fix), or we can apply the fix ourselves if you'd rather we did it that way. Thoughts?


type channel is not exposed to use

The pubsub.Channel method is:
// Channel returns a Go channel for concurrently receiving messages.
// The channel is closed together with the PubSub. If the Go channel
// is blocked full for 30 seconds the message is dropped.
// Receive* APIs can not be used after channel is created.
//
// go-redis periodically sends ping messages to test connection health
// and re-subscribes if ping can not not received for 30 seconds.
func (c *PubSub) Channel(opts ...ChannelOption) <-chan *Message {
	c.chOnce.Do(func() {
		c.msgCh = newChannel(c, opts...)
		c.msgCh.initMsgChan()
	})
	if c.msgCh == nil {
		err := fmt.Errorf("redis: Channel can't be called after ChannelWithSubscriptions")
		panic(err)
	}
	return c.msgCh.msgCh
}

The Channel method accepts channel options, so my code is:
import "github.com/go-redis/redis/v8"

pubsub.Channel(func(c *redis.channel) {
     // ...
})

but redis.channel is not exported.
relate to the PR #1764

Example:
pubsub.Channel(
	WithChannelSize(100),
	WithChannelHealthCheckInterval(10 * time.Second),
	WithChannelSendTimeout(30 * time.Second),
)

This is a common way, sorry for not adding examples, I will do it later.


Add date of last page edit to Taipy's documentation

Description
The documentation at https://docs.taipy.io does not really speak for the date of the last change on the document.
It would be nice to find a way to add this date, to reflect whether the page has been updated recently or whether it has remained untouched for a long time. Although this is not a perfect indicator on the freshness of the information, it can tell if a page has a high risk of being outdated.

We like the idea, but we need time to understand precisely what to do, and how to do it.
It is not ready yet to be engaged and assigned.

Some related literature: https://github.com/zhaoterryy/mkdocs-git-revision-date-plugin


One key not working as intended

The issue appears when using the "/" key in the numpad. I wanted to use the numpad only for the controls. + to volume up, - to volume down, * for start-stop and / to change track.
The / key lowers de volume always. Even if it's not used in the "options.txt" file. The rest of the keys works flawlesly
PD: If i put any other key to change track, works as intended, but even then, the "/" key lowers always the volume.

I was unable to replicate this bug, while using both the default hotkeys or the given hotkeys, tested in older SpotifyGlobal versions and on the current build.
VolUp=+
VolDown=-
PrevTrack=;
NextTrack=/
PlayPause=*
Back5s=shift+1
Forward5s=shift+3
Like=shift+7
Quit=shift+9

All working as intended on my end. Please provide more information about what version of Spotify and SpotifyGlobal you are using, and if you running the executable or python script.

Both versions are the latests.
Is the executable file.
Maybe is the language of the keyboard. Actually on ES-es. From Spain.

Maybe is the language of the keyboard. Actually on ES-es. From Spain.

Yep, this is the reason. Tested with ENG-us and PT-br keyboard layouts, only happens in ES keyboards.
Seems like both / and - are mapped to the same key in the keyboard module(??, guessing here, no clue), and because of this any hotkey set to - will also trigger when pressing /, weirdly enough, you can not set the / key separately as it will simply not work, not even when pressing -
My advice is just avoid using those keys as it is probably a problem with the library and there's very few I can do.

Ok, i really appreciated your effort :) I will use another key.
Thanks :) And btw, i love the program <3


sensor.tumble_dryer_end_time  spamming logs even when tumble dryer is turned off

HA:
Home Assistant 2023.5.4
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.3 - latest

Model:
NDE H10RA2TCE-80
by hoover
Firmware: 3.2.5

Workaround: I disabled the entity.
Sample logs:
sensor.tumble_dryer_end_time 2023-05-30T16:50:00+00:00
15:45:19 - 40 seconds ago
sensor.tumble_dryer_end_time 2023-05-30T16:49:00+00:00
15:44:19 - 2 minutes ago
sensor.tumble_dryer_end_time 2023-05-30T16:48:00+00:00
15:43:19 - 3 minutes ago
sensor.tumble_dryer_end_time 2023-05-30T16:47:00+00:00
15:42:16 - 4 minutes ago
sensor.tumble_dryer_end_time 2023-05-30T16:46:00+00:00
15:41:16 - 5 minutes ago
sensor.tumble_dryer_end_time 2023-05-30T16:45:00+00:00
15:40:16 - 6 minutes ago
sensor.tumble_dryer_end_time 2023-05-30T16:44:00+00:00
15:39:16 - 7 minutes ago
sensor.tumble_dryer_end_time 2023-05-30T16:43:00+00:00
15:38:16 - 8 minutes ago
sensor.tumble_dryer_end_time 2023-05-30T16:42:00+00:00
15:37:16 - 9 minutes ago

Very strange, what is the log level ? error ? debug ?

Hi, that was from the "Logbook" default view from the sidebar

This looks like it's fixed! Thank you

great :)


inference speed extremely slow

Hello,
The inference speed is extremely slow.
I am doing the inference with GPU, but its the same i am doing with u2net and ths speed there is 12x faster.
Is there anything i can do to speed up things?
I have also tried to export to onnx but get error
import torch
import torch.onnx
from models.birefnet import BiRefNet
from utils import check_state_dict
from torch.onnx import register_custom_op_symbolic
Register custom symbolic function for deform_conv2d
def deform_conv2d_symbolic(g, input, weight, offset, bias, stride, padding, dilation, groups, deformable_groups, use_mask=False, mask=None):
return g.op("DeformConv2d", input, weight, offset, bias,
stride_i=stride, padding_i=padding, dilation_i=dilation,
groups_i=groups, deformable_groups_i=deformable_groups)
register_custom_op_symbolic('torchvision::deform_conv2d', deform_conv2d_symbolic, 11)
Load the model
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = BiRefNet(bb_pretrained=False).to(device)
state_dict = torch.load("/root/BiRefNet-massive-epoch_240.pth", map_location=device)
state_dict = check_state_dict(state_dict)
model.load_state_dict(state_dict)
model.eval()
Dummy input to trace the model
dummy_input = torch.randn(1, 3, 1024, 1024).to(device)
Ensure to handle tensor-to-Python type conversions in your model
Example modifications:
if W % self.patch_size[1] != 0:
replace with
if (W % self.patch_size[1]).item() != 0:
Export the model
onnx_model_path = "/root/BiRefNet.onnx"
torch.onnx.export(
model,                          # model being run
dummy_input,                    # model input (or a tuple for multiple inputs)
onnx_model_path,                # where to save the model (can be a file or file-like object)
export_params=True,             # store the trained parameter weights inside the model file
opset_version=11,               # the ONNX version to export the model to
do_constant_folding=True,       # whether to execute constant folding for optimization
input_names=['input'],          # the model's input names
output_names=['output'],        # the model's output names
dynamic_axes={'input': {0: 'batch_size'}, 'output': {0: 'batch_size'}}  # variable length axes
)
print(f"Model has been converted to ONNX and saved at {onnx_model_path}")

Hi, could you check your texts and correct their formats?

About the comparison with u-2-net, I don't think that is a problem. It's almost impossible to bring much improvement on accuracy with same number of parameters.
Statistics about BiRefNet with different backbones can be referred to this issue.
You can also find some other issues where we talked about increasing the speed of inference (ONNX, FP16, ...). By now, there haven't been very good methods for it. You can wait for the version with swin_v1_tiny, which could be 4 times faster than the official one.

Will the v1_tiny have the same performance on general datasets?
I failed to convert to onnx i get crash, is there a guide for this?

Of course not, that's a trade-off.
Sorry, as for the issues I mentioned above, I currently have no time for this kind of thing.

The well-trained BiRefNet with the swin_v1_tiny backbone has been uploaded to my Google Drive. Check the stuff in README for access to the weights, performance, predicted maps, and training log in the corresponding folder (exp-xxx). The performance is a bit lower than the official version, but still good (HCE↑: 1152 -> 1182). Feel free to download and use them.

By the way, check the update in inference.py. Set the torch.set_float32_matmul_precision to 'high' can increase the FPS on A100 from 5 to 12 with ~0 performance downgrade (Because I set it to 'high' during training).

@razvypp
have you done it sucessfully ?
if yes, how to do?

Hi @razvypp,
I was wondering if there are any updates on this. I’m particularly interested in support for dynamic_axes when converting to ONNX. Looking forward to any news—thanks in advance!

Excuse me, @alfausa1, what're you looking for? The ONNX conversion? If so, I've provided a lot of information in README and uploaded all converted weights to Google Drive and Git Hub repo release.

I’m looking for an ONNX conversion that accepts dynamic_axes, to perform batch inference with more than one sample at a time. Thanks!


Split EMF log with larger than 100 buckets.

Description:
In Application Signals, we utilize Base2 Exponential Bucket Histogram to aggregate and send latency data, with a default max number of buckets 160. In EMF exporter, these buckets are mapped to "Target members" in EMF log entries.
However, CloudWatch EMF logs impose a limit of 100 target members, beyond which EMF processors will mark the record as invalid, resulting in missing metrics and customer-facing errors reported via the EMFValidationErrors metric.
In this PR, we split histograms to two sub EMF logs with the following change:

Add an extra attribute metricIndex to groupedMetricMetadata : Current EMF exporter aggregate incoming metrics into groupedMetrics before converting to log events, where the groupKey is generated based on the groupedMetricMetadata including: metric namespace, timestamp, log group name, etc. After splitting, the two new metrics will share exactly the same key. Adding an extra metric metadata for key generation can prevent the second metric from dropping.
If the total buckets exceed 100, the exponential histogram metric are split into two data points,
the second data point contains the last 100 buckets, while the first data point includes the remaining buckets.
Re-calculated Min, Max, Sum, Count for each split:

First split datapoint:
Max: From original metric.
Min: Last bucket’s bucketBegin in the first split.
Sum: 0.
Count: Calculated from the first split buckets.

Second split datapoint:
Max: First bucket’s bucketEnd in the second split.
Min: From original metric.
Sum: From original metric.
Count: Overall count - first split count.

Testing:
The change is tested by generating traffic with more than 100 buckets, and the emf log with larger than 100 values are eliminated after the change:

Thanks for the contribution. Some high level comments:

Intuitively, I think that the first split would contain as many datapoints as possible. Let's say in the future, if the EMF exporter is gonna support "transactional exporting", i.e. the second batch will only export if the first one succeeds. In this case, we want the majority to be exported in the first to reduce the risk of failures in the second. Switching the number should not impact how many data you would traverse in the splitting logics. As for now, it's not a big concern because each exporting is independent.

Updated the code to set the first bucket has in max on 100 values, and return the datapoint in the right order to avoid confusion.

Shall we also include histogramDataPointSlice?

The histogramDataPointSlice.CalculateDeltaDatapoints only return metrics Stats, including count, sum, max, min, there is no values and counts returned, the members won't exceed 100.

The test cases don't seem to cover enough use cases, e.g. with positive empty, with negative empty, with 0 empty, with non-splitting validation when the total size is smaller than 100. Please add more cases to verify the logics.

Added all these test cases. (The verification principle follows the explanation in 4. below)

Regarding the only one test case you added, having a large array base for result validation is good, but how did we confirm that the expectedDatapoint is what we really want? It's hard to judge the accuracy.

In the test case, we generate in total of 121 different buckets, with different number of values counts. The total count is 3662 (the result is calculated locally by iterating over all buckets), and the sum is hard coded to 1000 (to verify we directly use metric sum in the first split).

For the first split: Max is retrieved from Metric.Max value, and the Min is retrieved from the 100th bucket lower boundary (I confirmed by locally print out the 100th bucket and retrieve the value).  It has exactly 100 values it is checked in expectedDatapoint1: value and Counts.
Similar For second split, Min is retrieved from Metric.Min value, Max is the same as first split's Min. It has exactly 21 values it is checked in expectedDatapoint2: value and Counts.


Configure start and end date for a project

It would be nice to be able to configure a start and end date for a project. Imported Work and Plan Records from before or after that date range are ignored by default.

When i set a date range, i get the following error message:
'Der Wert von 'projectStart' ist kein gültiger Wert für 'DateRange'.'


Make the provider signin fallback use authentication tokens

Context
We've introduced a better way of dealing with authentication tokens in #2348. The support signin fallback uses a table with tokens instead of a single token on the SupportUser model. This means that if the user requests multiple tokens, they'll all keep working.
Changes proposed in this pull request
Make the provider user fallback use this method as well.
Guidance to review
Will the functionality be the same?
Link to Trello card
https://trello.com/c/VohxOZiV/309-high-magic-link-token-has-a-lot-of-duplication
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

I just realised that this allows a provider to sign in to the support UI. Closing to have a good think.


non-https links now in license page

https://github.com/apache/pekko-grpc/actions/runs/10341534635/job/28623448570?pr=354
We've got no control over what goes in that page.

lgtm


Implement draft project portfolio page

Added rough framework for project portfolio page

Thanks all for the suggestions given. Really grateful 😭 ! @cheeheng @teoyuqi @ekweirui

Codecov Report
Base: 76.58% // Head: 78.01% // Increases project coverage by +1.43% :tada:

Coverage data is based on head (f306f1d) compared to base (b4a41d6).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #177      +/-   ##
============================================
+ Coverage     76.58%   78.01%   +1.42%
- Complexity      832      850      +18
============================================
  Files           119      118       -1
  Lines          2579     2583       +4
  Branches        328      330       +2
============================================
+ Hits           1975     2015      +40
+ Misses          477      443      -34
+ Partials        127      125       -2

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/model/ModelManager.java
92.72% <0.00%> (-0.07%)
:arrow_down:

...seedu/address/logic/commands/AddPersonCommand.java
100.00% <0.00%> (ø)

...eedu/address/logic/commands/EditModuleCommand.java
96.29% <0.00%> (ø)

...eedu/address/logic/commands/EditPersonCommand.java
96.36% <0.00%> (ø)

...e/task/exceptions/TaskNumberNotFoundException.java

...du/address/logic/commands/DeletePersonCommand.java
88.23% <0.00%> (+0.73%)
:arrow_up:

...c/main/java/seedu/address/model/module/Module.java
78.87% <0.00%> (+1.40%)
:arrow_up:

...edu/address/logic/parser/AddLinkCommandParser.java
85.71% <0.00%> (+4.76%)
:arrow_up:

.../logic/commands/DeletePersonFromModuleCommand.java
87.50% <0.00%> (+5.68%)
:arrow_up:

.../seedu/address/logic/parser/AddressBookParser.java
100.00% <0.00%> (+6.25%)
:arrow_up:

... and 3 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Charpter 7 experimentation.ipynb - Variable 'BUCKET' is not used properly.

In chapter 7, experimentation.ipynb, 'BUCKET' is defined at the top of the code but it's not used properly later.
BUCKET='cloud-training-demos-ml'
os.environ['BUCKET'] = BUCKET

from pyspark.mllib.classification import LogisticRegressionWithLBFGS
from pyspark.mllib.regression import LabeledPoint

traindays = spark.read \
    .option("header", "true") \
    .csv('gs://cloud-training-demos-ml/flights/trainday.csv')
traindays.createOrReplaceTempView('traindays')

thanks!


Using 'setAttribute' to change the value of a label results in character overlay

This worked with the previous version of aframe-gui and is now broken, here are the results now:

This happens when you try to change the value like this after a value was already given to the label.
document.querySelector('#myLabel').setAttribute("value", "New Value");
<a-gui-label
          id="myLabel"
          value="OldValue">
</a-gui-label>

what version on A-Frame are you currently using?

8.2

Any update regarding this issue? I still get the same error

Sorry for the delay - I will prioritize resolving this issue.
On Thu, May 2, 2019 at 11:23 AM Iker Burguera<EMAIL_ADDRESS>wrote:

Any update regarding this issue? I still get the same error
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rdub80/aframe-gui/issues/25#issuecomment-488716751,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG3OSRWEHFKN5NZPBIRV3DPTMBO7ANCNFSM4F6QVDLQ
.

This has been fixed as of version 0.3.3


ci: Update GitHub Actions workflow messages

Description:
Updates printed messages in GitHub Actions workflows to be workflow commands so they are more easily noticed.
Related Issues:
N/A
Checklist:

[x] Review the CONTRIBUTING.md documentation.
[x] Add a reference to a related issue in the repository.
[x] Add a description of the changes proposed in the pull request.
[x] Add unit tests if applicable.
[x] Update documentation if applicable.
[x] Add a note in the CHANGELOG.md if applicable.
[x] Sign the Google CLA.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9deaced) 98.32% compared to head (2fd9e2a) 98.32%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #532   +/-   ##
=======================================
  Coverage   98.32%   98.32%
=======================================
  Files           4        4
  Lines         179      179
  Branches       19       19
=======================================
  Hits          176      176
  Partials        3        3


:bar_chart: migrate JSON data page for V-dem index

Migrate JSON-based Data page to ETL-based Data page by adding metadata to its grapher step. I tried to match the original Data page as closely as possible, which means some metadata fields might not adhere to our guidelines. I moved FAQs to its GDoc and used official topic tags names.
@paarriagadap could you please check the Data Page for any issues? You are also encouraged to update metadata in the YAML file according to guidelines. Commented lines are metadata from the ETL dataset, you should delete them if they're not helpful. Add commits to this PR as you wish!
You can test it by running
ENV=.env.mojmir GRAPHER_FILTER=electdem_vdem_owid etl grapher/democracy/2023-03-02/vdem --grapher

and visiting the data page.
Parent issue https://github.com/owid/etl/issues/1666

I shared the page with Bastian to see what he thinks.

@paarriagadap Thanks a lot for the review! I'll merge this now, but feel free to update anything you want later.


Please keep going tag on release

missing tags for
3.2.0 - January 17, 2015 (12.5 KB)
3.1.6 - August 19, 2013 (12 KB)

I've never been in the habit of keeping tags with releases. I'll try it out.

done.


Bump netty version to 4.1.74.Final

Bump netty version to 4.1.74.Final

Bump netty version to 4.1.74.Final
How was this PR tested?

GHCI
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Anyone knows why Github has not been requiring fresh approvals when new commits are pushed?

Guess unless there is no new diff in the new commit, it wont ask for approval.
From: Nisarg Thakkar @.>
Date: Thursday, October 26, 2023 at 2:05 PM
To: linkedin/venice @.>
Cc: Sourav Maji @.>, Author @.>
Subject: Re: [linkedin/venice] Bump netty version to 4.1.74.Final (PR #715)
Anyone knows why Github has not been requiring fresh approvals when new commits are pushed?
—
Reply to this email directly, view it on GitHubhttps://github.com/linkedin/venice/pull/715#issuecomment-1781892383, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO6HTKJOIQLD5SSOGLRZMUDYBLF6XAVCNFSM6AAAAAA6PU7GKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBRHA4TEMZYGM.
You are receiving this because you authored the thread.Message ID: @.***>

Anyone knows why Github has not been requiring fresh approvals when new commits are pushed?

I changed the branch protection rules to align with @sushantmane's PR #716. Maybe I messed things up...?

I think this has been the case before the change to the rules. I noticed it yesterday too


As a purchasing manager, I can rename my inventory items

... so that I can update items with an incorrect name.

... so that I can update items with an incorrect name.

Closed by #151 during refactoring of Person to Item. This is already a command available in AB3.


?

Assertion failed: bytesToRead == bytesRead, file C:/HaxeToolkit/haxe/lib/hxdiscord_rpc/git/project/discord-rpc/src/connection_win.cpp, line 116

This issue is related to discord rpc itself but it might be that the function are updated too frequently.

This issue is related to discord rpc itself but it might be that the function are updated too frequently.

but still crash anytime

This issue is related to discord rpc itself but it might be that the function are updated too frequently.

but still crash anytime

Assuming that yo

So the functions will not update that frequency anymore.

This issue is related to discord rpc itself but it might be that the function are updated too frequently.

but still crash anytime

Assuming that you are using the sample, replace Sys.sleep(0.5); to Sys.sleep(2);.

hmm im from fnf psych engine, and i never see Sys.sleep code

This issue is related to discord rpc itself but it might be that the function are updated too frequently.

but still crash anytime

Assuming that you are using the sample, replace Sys.sleep(0.5); to Sys.sleep(2);.

hmm im from fnf psych engine, and i never see Sys.sleep code

https://github.com/ShadowMario/FNF-PsychEngine/blob/d64912e57120e27dc41304deae48097b6c1355d1/source/backend/Discord.hx#L76

oh sorry lol

still crash,,,


v2.0.0 - Bug fixes

These are the bug fixes from the v2.0.0 release.

@all-contributors add @MaevaBouh for doc


Error: Unauthorized when using tweets/search/all

It works 100% perfectly when tweets/search/recent, but as soon as I switch to tweets/search/all, it falls apart
Works:
const { data } = await client.get("tweets/search/recent", { query: "test" });

Does not work:
const { data } = await client.get("tweets/search/all", {
    query: "test",
    start_time: yesterday.toUTCString(),
    end_time: new Date().toUTCString()
});

If it omit start_time and end_time, it gives:

Error: Unsupported Authentication: Authentication with OAuth 1.0a User Context is forbidden. Please, make the request with OAuth 2.0 Bearer Token authentication.

I had a similar issue when trying the streams API for 'tweets/search/stream'. Switching to a bearer token solved it for me.

@ErikKalkoken How do I switch to Bearer token?
Got a code sample?

@dolanmiu
I used the example from the README:
const client = new Twitter({
  bearer_token: '',
});
```

Note that the tweets/search/all is only available to users who have been approved for the Academic Research product track. See twitter documentation for details.
I suspect you're seeing authentication errors because tweets/search/recent is available to every API user unlike the all corpus.


Add .dropdown-menu-dark

Fixes #30105.

I'm a bit worried that once we're adding some dark components, people will keep asking for support for other elements (eg. modals, pagination (which I declined in the past, https://github.com/twbs/bootstrap/pull/29892), form elements, ect... )
Once we switch to CSS variables, it 'll be way easier to colorize components.

Yeah, I agree on that concern, but we can still say no to most.
I mostly wanted to do this because of how prominent our dark navbar component is. Completing the style there and connecting the two components (navbar and dropdown) makes a lot of sense to me. The rest, I'm not as sold on, though we might as well discuss our options further beyond this.

Ok, fine by me. Could you also switch the dropdowns of the dark navbars then (make sure to tackle the examples too)?

Could you also switch the dropdowns of the dark navbars then (make sure to tackle the examples too)?

Know I +1ed this back in February, but coming back to this I don't know how much I want to actually replace the other dark navbars. I think since this is a modifier class, it can stay as an option documented under the dropdowns.
Any aversions to merging as-is without further examples or docs examples?

Any aversions to merging as-is without further examples or docs examples?

Now that we have CSS custom properties, this might be a good use case to use them. I think in we 'll need to update our other components to CSS custom properties (where suitable), adding this like might cause double work.

Thinking I'll leave this as-is for now and then come back in minor releases to CSS-variable-ify everything. Thoughts on that approach @MartijnCuppens?

I like it, I just don't know how we are going to proceed with dark components for all components in the future, but we'll discuss it later :)


Optimize images

What does this PR do?
This PR optimizes the  images
Description of Task to be completed?
This PR was created using the OptimizeImg bot. Ut compresses images without them loosing their quality.
How should this be manually tested?
Compare the before and after file sizes
Screenshots (if appropriate)

please resolve merge conflict


RSpec/FactoryBot/FactoryNameStyle false positive on rails generators

We don't use FactoryBot in this project, but it thinks that rails generators are factory bot methods somehow:
spec/test_app_templates/lib/generators/test_app_generator.rb:26:14: C: [Correctable] RSpec/FactoryBot/FactoryNameStyle: Use symbol to refer to a factory.
    generate 'arclight:install'

What Ruby, Rails and RSpec versions are you using?
Ruby version: 2.1.5
Rails version: 7.0.4
RSpec version: 3.1.2
Observed behaviour

Expected behaviour

Can you provide an example app?

Sorry, wrong repo (again 🙄 )


Central place to host RFCs

What's an RFC?
RFC means Request For Comments.
Essentially, it's a publication describing a change to perform. Other community are invited to share their opinions on it.
Why we need a central place to host them
As now their are usually issues in this repo tagged [RFC], sometimes PR too.
Their state are difficult to track, and that's not rare to not find them back.
This leads to having hard time to recall decisions that was made for a particular topic.
Suggestion
Similar to https://github.com/rust-lang/rfcs, Crystal could have https://github.com/crystal-lang/rfcs too.
This isn't perfect, time/metadata are missing, but it's still a lot better than nothing.

Duplicate of #4944
I still think it might be a good idea, though...

The forum is a great place for an initial discussion, brainstorming etc. But when it comes to working out the details, a PR-based system is probably far superior. It represents current state and history of discussion and gives context to comments focusing on individual aspects. That's hardly possible to keep track of in a forum thread.

@straight-shoota but an RFC is for working out the plan, before something is implemented into code

The RFC procedure to working out a plan is, someone makes a detailed proposal (this can come from a discussion in the forum) and submits this proposal for review, as a request for comments. Then people get to comment on and improve the details of the proposal and it finally gets either approved and implemented or disapproved. This reviewing process fits exactly to the concept of pull requests. Leading such discussions in a linear-only forum thread will have everyone loose their sanity.

Sorry @asterite, didn't see the previous issue about hosting RFCs. When writing the title, RFCs were suggested 😅 . Having them as text would be so much easier for searching keywords locally.
Another good point is migration – actually every RFC is lost if for a reason or another, Crystal goes out of GitHub.

@straight-shoota the github PR interface is very linear. I struggle to see the benefit.
Doing any kind of review on anything 1000+ lines (which RFC PRs will be, since they cannot be split up) is hell anywhere. This is why we prefer smaller PRs to larger ones on github, but that's simply not possible in an RFC document which must be a cohesive whole.
The only sane process for editing an RFC is to appoint an editor, which is responsible for translating the concepts into text, then debate the concepts in multiple threads. I don't see how it can be done on Github, and even on the forums it'll be difficult. It would have to translate as each RFC having a category on the forum, or more likely a tag.


Please remove brainonfire.net

brainonfire.net is just my personal domain name, and has never hosted disposable email. (About 10 years ago, I had open.brainonfire.net aliased to mailinator, but that subdomain hasn't existed for years now, and it was always just the subdomain.)
I've also filed a PR against the source list that you probably got it from (https://github.com/wesbos/burner-email-providers/pull/210), but I would appreciate having it added to the whitelist.txt as well, if you don't mind. Apparently it is getting copied around to various lists. -.-
(I would have filed a PR, but I wasn't sure exactly how you manage the source and generated files, or the relationship of the disposable vs. disposable-email-domains repos.)

Thanks for the info 👍
I've checked your domain and can confirm it's false positive. Added to whitelist and should be removed from the public files in next update.


task:getUpdates and task:getnewsfeed returns 500 Internal Server Error on Admin pages.

As I navigate admin pages, I constantly get these errors as I navigate from page to page and I can't figure out how to fix it:

In the console log it shows:

Here is the same error information, just copied as text:
POST http://[mydomain.com]/dev/admin/update.json/task:getUpdates 500 (Internal Server Error)
(anonymous) @ admin.min.js?2075213242:1
t @ admin.min.js?2075213242:1
(anonymous) @ admin.min.js?2075213242:4
t @ vendor.min.js?2075213242:1
(anonymous) @ admin.min.js?2075213242:1
(anonymous) @ admin.min.js?2075213242:1
t @ vendor.min.js?2075213242:1
window.webpackJsonpGrav @ vendor.min.js?2075213242:1
(anonymous) @ admin.min.js?2075213242:1
admin.min.js?2075213242:4  at 500 Internal Server Error

Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator at
<EMAIL_ADDRESS>to inform them of the time this error occurred,
 and the actions you performed just before this error.
More information about this error may be available
in the server error log.
Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.

You really need to take a look at the web server logs to see what the 500 internal error was.

This must be the error:
[Tue Nov 13 13:20:07.204082 2018] [:error] [pid 635001] (12)Cannot allocate memory: [client <IP_ADDRESS>:55185] couldn't create child process: /opt/suphp/sbin/suphp for /home/[user]/public_html/[domain].com/dev/index.php, referer: http://[domain].com/dev/admin
[Tue Nov 13 13:20:07.201984 2018] [:error] [pid 635001] (12)Cannot allocate memory: [client <IP_ADDRESS>:55185] couldn't create child process: /opt/suphp/sbin/suphp for /home/[user]/public_html/[domain].com/dev/index.php, referer: http://[domain].com/dev/admin

Increasing the memory_limit in a php.ini file in the same folder as Grav doesn't fix it.

Looks like your hosting provider is running out of memory on it's suphp process. You need to contact your hosting company to sort it out, it's not something you can probably fix yourself.
See Google: https://www.google.com/search?q=couldn't+create+child+process%3A+%2Fopt%2Fsuphp%2Fsbin%2Fsuphp


change default HTML formatting to a tree layout rather than a table

This addresses #1257.
Here's a preview. Feedback is welcome.

How do I change it back to the previous default? I used to get a useful table when displaying a list of C# objects but now it's just a collapsed list of NameSpace.ObjectName.

@bradengc-github Once you expand it, is the layout useful? Would expanding it by default help, in other words?

Once you expand it, is the layout useful? Would expanding it by default help, in other words?

Unfortunately not. There's too much vertical scrolling to make that useful. (For an example, a list of objects with 10 properties can only display 3.5 items while expanded even on my large screen.) The table layout where object properties were automatically converted to columns was a much more convenient way to visualize things.

@jonsequitur Is there any way to use the old table formatter? This tree layout is only useful for nested objects, for most of my use cases the old table formatter was much better. Now I have to expand every row and can't easily compare rows.

For non-homogeneous objects in a sequence, the table formatter produced nested tables. Was that useful at all or is it mainly useful for comparing lists of objects of the same type?

I can only speak for myself but I nearly always just print lists of the same type. The old formatter was great imho. Nested tables might be useful, see LINQPad for prior art.


[c9y] update to 0.6.0

Describe the pull request

What does your PR fix?
Updates c9y to version 0.6.0

Which triplets are supported/not supported?
To the best of my knowledge, yes.

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

As always, thank you for your effort.


DMN's Decision Table: Changing the column data type doens't work after changing Decision node type

Changing the Decision Node type and tweaking the outputs column on the Decision Table doesn't trigger an update.
Steps

Create a Decision Node;
Create a Decision Table;
Change the Decision Node type;
Change the Output column type;

Video
https://github.com/kiegroup/kie-issues/assets/24302289/e110e1d2-4a1d-41f1-8c42-6e874ed07543
### Acceptance Criteria
- [ ] It should be able to change the Outputs column type idependently of the Decision Node type.

@ljmotta thank you for the report. Could you please confirm the version of modeler you are using contains this PR https://github.com/kiegroup/kie-tools/pull/1718?

@jomarko I tested in the 0.30.0, and this commit is there.


addNotice in controller class doesn't match API used by local python interface

The addNotice API in the cloud interface is:
def addNotice(self, data):
while in the local interface it is:
def addNotice(self, data, key=None):
Code written to make use of the 'key' parameter that works correctly with local polygot fails when running on cloud polyglot

Looks like currently the polyinterface addNotice() will handle a string message (value) with an optional key, a dictionary with a key and value (msg), or a list of dictionary objects. The pgc_interface addNotice() errors out on anything other than a dict.


The adjustability of the "self-clean area" is in the wrong range

Describe the bug
The DreameBot L10 Prime doesn't have a internal water tank, so it's especially important for the "self-clean area" part to be moist for the mop pad. I've noticed that in the app it can be set from 5 to 15 m², while Home Assistant allows it from 10 to 35 m².
Is this due to compatibility reasons, or is it an error?
Thank you in advance for your response.
Expected behavior
Make it adjustable between 5-15 m² (or if there is an option that can go up to 35 m², then between 5-35 m²).
Screenshots
number.dreamebot_l10_prime_self_clean_area:

Additional Information (please complete the following information)

Model Name: dreame.vacuum.r2251a
Firmware Version [e.g. 1156]: 4.3.3_1505
Home Assistant Version: 2023.11.3
Configuration Type [With or without map support]: Dreamehome Account with map
Errors or warnings shown in the HA logs (if applicable): n/a

If the data is available to you, then we thank you in advance for the development. If it's not available, you can solve it with a variable on the configuration page, allowing the user to enter it, or simply set it between 5-35 m2 and mention in the instructions that everyone should check in the application.
Either way, we thank you in advance :)


Update docs on how to install nodejs using nodesource

The previous method of using nodesource install scripts to install specific versions of nodejs is no longer supported. Our documentation should updated to match the new installation instructions:
https://github.com/nodesource/distributions#installation-instructions

@rabbitlair since you've worked on this recently, would you like to try your hand at updating these docs?

Sure thing!


stuck on Link: ApplicationMain.exe

Describe your problem here. If you are modding, please try testing your problem in a clean version of the engine instead, this ensures the problem is actually caused by the engine itself. Also, if you're using an older version of JSE, please try the latest action build in the Actions tab or the latest release build. The issue has probably been fixed since that version. Oh yeah, and also be sure to check the pinned 'JS Engine: Known Issues' issue, to double check if your issue hasn't already been found!

src/lime/utils/AssetCache.cpp  [haxe,release]
src/ApplicationMain.cpp
Link: ApplicationMain.exe
Creating library ApplicationMain.lib and object ApplicationMain.exp

every time i compile a game, it stuck on Creating library ApplicationMain.lib and object ApplicationMain.exp.
and it won't open the game.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no, i just started compile it.

nvm i fixed it, it works


zaneh_solution

comfort: 2
complete: 2
had a hard time :(

This is a good start :+1: ! Let me know in the future if you have specific questions or if there was a part you found to be particularly tough and I can give more directed feedback.


fix(ci): autodoc was passing when it should not have been

Summary
the autodoc CI test is passing when it should not be ( https://github.com/Kong/kong/runs/6726254426?check_suite_focus=true#step:7:15 ).
This PR makes it fail "correctly" aka if the autodoc fails CI will fail as intended
I'll leave the exercise to other to make the documentation fixes required to pass this PR.

I am pretty certain that this was my mistake. The autodocs script started its life as a manually-executed script, whose output would always be read by a human. I didn't think about the machines then. And later, when we added the ci check, I didn't remember that I had not thought about the machines.
Consider this a 👍 to the scripting change.
@flrgh Please add the upstreams.hash_on_query_arg docs so this passes.

just turn on errexit/set -e

I think we could add it. Our CI is already kind of flaky, though. Not feeling strongly either way. If you want to give it a try, I would suggest you give set -e a try, run the tests 2 or 3 times, and if you get any red, rollback to Colin's. Your call.

Added the missing docs in #8903 and tested locally with success.


feat: removes sale percents

What
Removes % sales for mods

:tada: This PR is included in version 1.36.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added a open-in-player and open-in-player-and-mark-read wich launch the article url with the "player" option.

I copied the open-in-browser function, but it take the player option in the config file, so if you use youtube feeds like me you can launch videos with player like mpv.

No need to add new option to newsbeuter; you can achieve all this with macros, like this:
macro P set browser "mpv"; open-in-browser; set browser "/usr/bin/firefox"


Social Media Card

Just trying to figure out the syntax for the social media car in the _readme.md. Currently, I have the below, of course it did not work.. I'm assuming I have to use different syntax
---
title: Parzzix
description: Tech, Privacy, Decentralization, and General Nerdiness ( proven02d4df )
nav:
    - About: https://parzzix.prose.sh/about
    - Now: https://parzzix.prose.sh/now
    - Uses: https://parzzix.prose.sh/uses
    - Github: https://github.com/Parzzix
    - Mail<EMAIL_ADDRESS>card: https://media.social.lol/accounts/avatars/111/648/322/094/447/790/original/6955629621a97c14.jpeg
---

From here: https://prose.sh/help#post-metadata
There are two fields you can fill out:

image (og image)
card (og image twitter card: summary, summary_large_image, etc.)

So in your case you actually want image: https://media.social.lol/...

That seemed to work when I post the top level domain... i.e https://parzzix.com
When I do it from the page of a post it does it the original way...

Inside the metadata for your IRC bouncers post I see the correct URL to your personal og image.  This might be a caching thing with whatever app you are sharing the link on.

Ok, let me try another browser maybe

Cache caught up and it is all working well, thanks!


Update style

Thanks for the help @federicobucchi!
I'm iffy about the gradient hm... I originally introduced the gradient but then we orange -> yellow -> orange, but then we discussed to make the page to keep the look and feel of the swift.org site with just being white...
Maybe let's keep the just plain page but accept the other css changes?

Awesome, thx :)


is there any way that i can get component instance when BodyOutputType is Component?

i have a requirement like i have show some action buttons on toast , so i used BodyOutputType component, but i am unable to access the component that was created .

This is well documented in the tests. In addition, you can use this plunker as a guide.

Thanks for the quick response @Stabzs
,
i did get what the plunker demo is suggesting, but my requirement is i need an instance of an component that will create dynamically when BodyType is Component , so according to the plunker example i need instance of MaterialComponent in the class App.
My requirement is like in the class App i have to do something when button is clicked on the MaterialComponent, so some how if i get an instance of MaterialComponent, i can add callback to the material component and i can do my necessary action in the App component.
Once again thanks for the quick response.

@anand514 no problem, I'm happy to keep working through this with you (although I'm keeping this closed as a duplicate at the moment).
I highly recommend you read through this closed issue https://github.com/Stabzs/Angular2-Toaster/issues/84, since it is largely related to what you are trying to accomplish.
In 1.1.0, the toast object was added to the instance of the dynamically rendered component.  In addition, pop() returns the toast instance.  I haven't tested it, but it should be possible to add behavior to MaterialComponent and allow that to update the toast instance which may be reflected back to the referenced toast in app.
However, I think you may be misunderstanding how components should work in Angular 2 (and how they're utilized when dynamically rendered).  Each component should be able to enforce its own state.  As a result, when you click a button in MaterialComponent, it should affect state in your material component.  If you need to share behavior, you should do so with a state/flux implementation or a shared service.  I'd recommend working through the plunker again and following the data flow to see how you can adapt it to your needs.

thanks for clear explanation @Stabzs , initially overlooked the plunker demo that you shared, but now i get it.

@anand514 my pleasure!


Discovery Manager cannot discover roku stick

I tried the Simple-share-sampler-Android repo & was able to connect to Roku stick. But when I tried doing the same with this repo I could not. So, I tried removing the capability filter from discovery manager, i.e. , I commented out DiscoveryManager.getInstance().setCapabilityFilters(webAppFilter) from the code & was able to discover Roku stick.
Do I need to configure anything else to run web app? For testing purpose I have added YouTube appId , i.e. ,
  if (device.getServiceByName(RokuService.ID) != null)
webAppId = "837";

to the code but still cannot discover the Roku stick

This a demo for launching Web App and it filters devices by this capability. Roku doesn't support web app launching that's why you don't see it. Of course you can discover Roku if you remove the filter but you can not launch web app on Roku. Please you ConnectableDevice#hasCapability method for checking capabilities.

Thank you !


Update GCP-India.md

Hello,
I am Kushagra, TPC- IET Lucknow.
We want to extend this opportunity to our college students for the same I updated  GCP-India.md in the desired format. Please let me know if any formal procedures or pre-requisites are required.
Thank-you.

+1 to what @Siddhant-K-code mentioned 💖 Also, if you missed participating in the Winter Cohort ❄ You can ask your institution admin/faculty to enrol in GitHub Campus Program to be eligible in the upcoming Summer Cohort 🔥


WIP: Updates on Value nodes

Some doc changes.
E2E tests cleaned up a bit.
Before merge:
TODO: second half of manpage example doesn't work.
Also: should test give SCons.Node.Value.Value as factory, or just Value  (remove new import if the latter).  SCons.Node.Value.Value and  SCons.Environment.Base.Value are not the same thing.
Contributor Checklist:

[X] I have created a new test or updated the unit tests to cover the new/changed functionality.
[X] I have updated CHANGES.txt (and read the README.rst)
[X] I have updated the appropriate documentation

Also: should test give SCons.Node.Value.Value as factory, or just Value (remove new import if the latter). SCons.Node.Value.Value and SCons.Environment.Base.Value are not the same thing.

I think SCons.Node.Value.Value is correct.

Can punt the non-working example for now.


Shift-3 has stopped working on the emulator

Appears to be an SDL2 problem. It's not coming through on the message pump though shift and 3 are on their own, 3 with shift pressed doesn't create the character.

As a short term fix, the debugger has been modified so Ctrl-3 changes the memory displayed as data. This bug is also present on the X16 emulator (r46) without compilation, and on the Windows builds under Wine (though they likely are using the Linux DLL)

Seems to be an Ubuntu problem.


Can't show more items after changing doxdocgen.generic.order

Description
i want to generate date and author on function comment, and add something like below, but i can't see anything happen.
Code example
// The order to use for the comment generation. Values can be used multiple times. Valid values are shown in default setting.
"doxdocgen.generic.order": [
"brief",
"param",
"return",
"date",
"author",
]
Expected result
/**

@brief demo
@input a
@input b
@return c
@date 2019-12-09
@author<EMAIL_ADDRESS>*/

Actual result
/**

@brief demo
@input a
@input c
@return c
*/

As you can see in the documentation only these values are valid for functions:
"brief",
"empty",
"tparam",
"param",
"return"

@christophschlosser  Thanks for your reply.
May i ask what it is the concern that constrains the values for the function?
It seems like without such a constrain, it would be more flexible.

There simply was no need before to support the tags which are usually only used in file comments for functions as well.

@chenshuqu Since 1.2.2, most tags are available in both functions and file comments. Now you can use date and author in generic. order
@cschlosser This can be closed.


Tag releases

For downstream package maintainers it would be great to have release tags!

Thank you! I'll update the package


How can I use nvc++ toolchain?

Seems only clang and nvcc support in rules_cuda

You need to add toolchain configurations for both cc and cuda rules. Since nvc++ is both a c/cpp compiler and a cuda compiler,
and if it is not mixable (nvc++ for cuda and g++ for c++), then this will be a very complex job. I am not quite how hard to configure nvc++ as cuda compiler.

@cloudhan Thanks for reply. May I ask what toolchain configurations need to be add? You mean add more template in rules_cuda?


2.9.4

Speed up git mode by doing a shallow clone.
Originally this pull request: https://github.com/Rich-Harris/degit/pull/171
I tried to pull it but it wasn't able to fast forward and correct me if I'm wrong but the only option is to rebase and I didn't want to do that. So I just modified and committed the code myself.
Logs:
~/projects/tiged >>> gh pr checkout 171 -R Rich-Harris/degit
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 4 (delta 2), pack-reused 0
Unpacking objects: 100% (4/4), 802 bytes | 133.00 KiB/s, done.
From https://github.com/Rich-Harris/degit
 * branch            refs/pull/171/head -> FETCH_HEAD
fatal: Not possible to fast-forward, aborting.
exit status 128
~/projects/tiged >>>

The tests pass locally. If somebody knows why those tests fail here. Tell me and I'll fix the GitHub Action tests.

Tests might be failing because node 8 didn't support import out-of-the-box (not 100% sure about this), and rollup uses import. But if it was working in degit, then IDK.
You could try gh actions with the latest version of node?


FW-180: Small touch ups

BEFORE MERGING:
Check in with solutions that adding the payid state to our docs won't confuse merchants DONE have checked in with Jaimie

Fix another place where a response has two enums with the same name by adding an enumeratedValueName
Add disabled state to payid details

@astley92 just having a look at this PR. Will need to setup my local for this repo first 🤞


Devices send connection as soon as they are connected

Type of issue

[x] Bug
[ ] New feature
[ ] Enhancement

Description
Verify that devices start sending telemetry as soon as they connect, regardless of the status of other devices.

Done in https://github.com/Azure/device-simulation-dotnet/pull/137


[16,21,11,8,12,22] -> Merge Sort Project

[16,21,11]     [8,12,22]

[11,16,21]     >[8,12,22]
[11] [16] [21]    >[8] [12] [22]

[8,11,12,16,21,22]
merge sort  Big-O >o(nlogn)


pkg/sse: Fix writer.Error

writer.Write also tries to lock the mutex, so writer.Error was previously causing a deadlock.

LGTM


Clicking "see more"  of one of the card  also stretches other card

In electron website  governance page
when clicked  on "see more" of  one of the card , then other cards also stretches  to the height of the clicked card
https://user-images.githubusercontent.com/71864565/160682500-c4f04d14-92bf-43c1-90e0-5ca373009d90.mp4
is it  made to behave like that ?
or we can update it to work like below
https://user-images.githubusercontent.com/71864565/160850780-6b1d2180-30f0-483e-9edf-ee2022b48535.mp4

@mohantechnology I think your option makes sense. @erickzhao what do you think?

yes, please!

In below  screenshots,  height  of card description is different for some card therefore , some "member" and "see more" horizontal  position is not matched with their neighbour card

so to fix this i have added a  css class to handle height of card description . please take  a look  here and let me know if i have to make some changes .

There's already a PR up for this. https://github.com/electron/electronjs.org-new/pull/202

is this issue still open?


formats are not reflecting to some word in the selection sentence

Describe the bug
when changing the text font family of long paragraphs, some of the paragraph's last words are not changing.
To Reproduce
Steps to reproduce the behavior:

Type some long sentence
select all sentence
change font family
last some words in the sentence won't have any effect

please find the recorded screen.
https://www.loom.com/share/3ee1a0ddd64348d8b38b1ea5a66e46bc
Expected behavior
the selected text should change the font family

The 2.42.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


is no update textValue size?

Are you asking if its possible to change the textSize?

Yes. I found that in some cases, the font is too big

The font is the same size as the standard Android Toast. Could you send a screenshot?

Thank you for the answer.
I copied the sample code md, did not notice the use of withBoldText ().
Causing the font to be bold, and it looks like it is necessary to resize the font


Private messages support

I'm developing a webapp for communication between different social networks.
And I really need some standard way for sending/receiving messages in VK (and that's possible for Standalone applications - https://vk.com/dev/messages.get).
Is it planned to support this functionality in spring-social-vkontakte? Thnx.

As you already said, this API is available only for standalone apps. spring-social-vkontakte is for websites, so it will not support this API.


How to use vps with friends

I want to use this bot with my friends on same vps (pvp) server but i want to limit bots for per person how can i do that?

and i want to show TOTAL BOTS USING: XXX
YOUR BOT/YOUR BOT LIMIT: XXX
How can i do that

idk :/

I think @eralpcicekdagi want to sell bots ; )

Sure does ^

İ think you dont read my issue. İt writes i want to play with my friends in our vps but it become buggy

I make this tommorow, 1 server for xx clients. With user id and bot limit

can you add windows server type like .start bat ?

yea lol its easy bruh😀

haha ^^ ye today i add, windows "start.bat" and controll for xx client

ok add

we are waiting :D


Support Java 1.6

Close #221

Could you check this, @hotchemi and @aurae ? I'm not sure about this part new WeakReference<MyActivity<T, U, V>>(target);. It should compile, right?

Thx! The change looks good to me.

Finally I decided to merge!


Error if following doc from start to finish, missing "sudo apt update" before "sudo apt install golang-go...

"sudo apt install golang-go
go get -u github.com/justjanne/powerline-go"
Fails if following the doc from start to finish.
it results in Err:1 http://security.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-42.46 404 Not Found [IP: <IP_ADDRESS> 80]
"sudo apt update" must be run before the command in the docs this resolves the errors downloading packages with the command in the doc.

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

ID: d3cbeb9a-9e7c-f8f4-5c03-5d6262d2b440
Version Independent ID: eb575c79-5b2a-45f6-646f-9d41d5d223e8
Content: Windows Terminal Powerline Setup
Content Source: TerminalDocs/tutorials/powerline-setup.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

Closing this as we did some major updates to the command prompt customizing tutorial (replacing the powerline tutorial with Oh My Posh): https://docs.microsoft.com/windows/terminal/tutorials/custom-prompt-setup
Please reopen or let me know if you see any issues with this new method of customizing your prompts. Thanks for the contribution!


Export is failling on mac os.

OS
Mac Os 10.15.1 (19B88)
What I have done
I download this software from appstore. I write my first diary. I click the file >> export >> export to json
And this error message shows.
Error Message
Unhandled Error
TypeError: Cannot read property 'webContents' of null
at M (/Applications/Mini Diary.app/Contents/Resources/app.asar/bundle/main.js:8:310433)
at click (/Applications/Mini Diary.app/Contents/Resources/app.asar/bundle/main.js:8:312376)

Hi @MarkWh1te, thanks for the detailed report!
Unfortunately, Apple no longer accepts Electron apps on the App Store, so I won't be able to fix that version.
Is this also happening with the non-App-Store version? I just tested it and it's working for me.

Thanks for your reply, my dear friend. I have a little suggestion that it would be wonderful if note this issue in README or website.
Thank you again for your amazing work. This application is perfect.


Parameter not valid or out of range. (Message from the source: Error Inquire buffer info) (ID: -1009)

I have done the code example in python and I have problems calling the function ia.fetch_buffer
this is my code :
` #!/usr/bin/env python3
import numpy as np
from harvesters.core import Harvester
h = Harvester()
print (h.add_cti_file('/opt/cvb/drivers/genicam/libGevTL.cti'))
print("file",h.files)
print("update",h.update())
print ("list",h.device_info_list)
ia = h.create_image_acquirer(serial_number="S1220901")
print ("ia",ia)
ia.remote_device.node_map.Width.value = 5120
ia.remote_device.node_map.Height.value = 5120
ia.remote_device.node_map.PixelFormat.value = 'Mono8'
ia.start_acquisition(run_in_background=False)
print("device",ia.device)
ia.remote_device.node_map.AcquisitionStart.value = True
with ia.fetch_buffer(timeout=1) as buffer:
# Work with the Buffer object. It consists of everything you need.
print ("--------------with1---")
print(buffer)
print ("--------------with2---")
component = buffer.payload.components[0]
print ("--------------with3---")
# The buffer will automatically be queued.
ia.stop_acquisition()
ia.destroy()
h.reset()`
and this is the output
python3 camera_nano.py
None
file ['/opt/cvb/drivers/genicam/libGevTL.cti']
GenTL producer does not implement IFGetParentTL
GenTL producer does not implement DevGetParentIF
GenTL producer does not implement DSGetParentDev
GenTL producer does not implement DSGetNumBufferParts
GenTL producer does not implement DSGetBufferPartInfo :+1:
update None
list [(id_='::ID->00-01-0D-C4-C4-CC::<IP_ADDRESS>', vendor='Teledyne DALSA', model='NanoXL-M5100', tl_type='GEV', user_defined_name='S1220901', serial_number='S1220901', version=None)] :+1:
ia <harvesters.core.ImageAcquirer object at 0x7fad91e247f0> :+1:
device <harvesters.core.Device object at 0x7fad91db30f0> :+1:
Traceback (most recent call last):  :-1:
File "camera_nano.py", line 47, in  :-1:
with ia.fetch_buffer(timeout=1) as buffer:
File "/home/roc1/.local/lib/python3.6/site-packages/harvesters/core.py", line 2725, in fetch_buffer
logger=self._logger
File "/home/roc1/.local/lib/python3.6/site-packages/harvesters/core.py", line 1129, in init
logger=self._logger
File "/home/roc1/.local/lib/python3.6/site-packages/harvesters/core.py", line 1262, in _build_payload
buffer=buffer, node_map=node_map, logger=logger
File "/home/roc1/.local/lib/python3.6/site-packages/harvesters/core.py", line 1438, in init
buffer=buffer, node_map=node_map
File "/home/roc1/.local/lib/python3.6/site-packages/harvesters/core.py", line 1361, in _build_component
logger=self._logger
File "/home/roc1/.local/lib/python3.6/site-packages/harvesters/core.py", line 837, in init
self._data = self._to_np_array(proxy)
File "/home/roc1/.local/lib/python3.6/site-packages/harvesters/core.py", line 867, in _to_np_array
h = self._buffer.height
File "/home/roc1/.local/lib/python3.6/site-packages/genicam/gentl.py", line 4371, in _get_height
return _gentl.Buffer__get_height(self)
_gentl.InvalidParameterException: GenTL exception: Parameter not valid or out of range. (Message from the source: Error Inquire buffer info) (ID: -1009)  :-1:
Anyone have any ideas ?? I am using a Genie Nano XL
python 3 and Harvester 1.2.8???

@leitoxve Hi, sorry having kept you waiting. Please make a try with the latest one in the master branch. /Kazunari


Update UI

Update UI to match with the team's current design
Key changes:

Help window
Main window

Approved in #133


Remove InformationEntity, Document, Method from core-im-source.yaml

Removed InformationEntity, Method, and Document classes (and moved them back into va-spec core-im-source - because InformationEntity is no longer referenced in gks-commons RecordMetadata and Contribution classes, and with InformationEntity gone, Document and Method are also not referenced by any gks-commons properties.  So there is no need to keep them in common, unless we identify broader use cases outside of va-spec for these classes.
Also, changed the computer value in the agentType enum to software.

@mbrush This PR has an issue. If we remove Activity then Contribution will fail because it inherits from it. But if we leave Activity then we need to leave Method since it is referenced in the specifiedBy attribute. I'm going to pass this over for now until I hear back from you on how you'd like to proceed.

Yes, good catch Larry.  I don’t see a perfect simple solution for this, so here is what I am thinking.
For now let's keep Activity and Contribution in the va-spec core-im . . . and RecordMetadata as well since it references Contributions.  This is the simplest short term fix - and will be fine given that these classes will not be used outside of va-spec profiles in the foreseeable future.
Longer term however, this does make me reconsider this idea of moving ALL of the va-core-im content into gks-commons - and having this be the place where the full domain agnostic SEPIO-based information model lives.  I do see some value in this:

this design would avoid issues related to inheritance dependencies that keep arising,
having everything in a single repo would simplify accessibility and maintenance of this core-im.
not tying this content to the va-spec specifically would facilitate application of the core-im to use cases where 'provenanced' knowledge statements about things besides variants are needed - e.g. SA statements about sequencer features, or statements about diseases or genes that may be useful as evidence for variant classifications in representing full ACMG-based provenance.

A consequence of this move would be that the va-spec repo would house only standard VA Profiles for specific types of Statements and Study Results - which kind of makes sense, as these are the va models people will be implementing for their data.
A personal concern with this is that I don’t want to lose control over how the core-im evolves - and ability to ensure it stays aligned with VA-SEPIO principles and patterns. Javi and I currently have authority to do this with the core-im in the va-spec repo, and I would want to maintain this authority if things move into gks-commons.
But for now, if you are ok with the short term fix above - I can go ahead and make / update the relevant PRs to push Activity, Contribution, and RecordMetadata back into the va-core im where they started out.  This will get us where we need to be for our upcoming releases.
We can keep stewing about this idea of moving all core-im content under gks-common. But I am not comfortable making such significant change right now - given that the minimal fix above will be sufficient for the foreseeable future.  And if/when we do decide to move everything into commons - it shouldn’t be a big lift technically for us, or conceptually for users to understand.

@mbrush I understand your perspective and think this is a reasonable short-term plan. I do agree with moving the core-im to a dedicated repo (gks-common) as soon as you are comfortable with that.  For now I will remove any plans to utilize RecordMetaData in VRS and Cat-VRS, since I haven't actually gotten to that implementation yet. I can just use extensions for the time being.

closing this since PR #38 takes its place to complete the intended outcome.


TCC-14010 Added Payment Purpose Codes to .NET SDK

Even though travis passed, there's one unit test failed. By the look of it, it seems that we are missing a cassette and it's trying to connect directly to a server.

Unit tests are all green now. Merging...


Shiohara CMS

[X] verified that the CMS I'm adding is still maintained.
[X] read CONTRIBUTING.md.
[X] did not generate README.md.

Thank you, @alegauss!


Friendly more words: adding words!

Would like someone (or multiple someones) to give a tone check to the added words, to make sure we didn't add anything that could be used in an unfriendly way.

can't highlight it here because its not new, but revolver is in objects.txt

some words I would remove from objects.txt (not necessarily objectionable on their own, but I can perceive them being combined in weird ways)
razor, missile, propane, prison, probation, priest, needle, liquor, 'landmine, jail, grenade, drink, dagger, beer,

ok, updated with everyone's suggestions (thanks!). I'm going to post once more tomorrow morning with a special callout to our coworkers across the pond, then I'll get it shipped!


Add cross-project links

@danroth27 These refs look right, but I'm getting "undefined label" when I build locally. Can you take a look?

I think you need to build and update aspnet.inv in the MVC project.

Ah, got it. I had to build aspnet, then copy aspnet/objects.inv over to mvc/aspnet.inv.
Intuitively I would expect aspnet.inv to be a build artifact and not checked into the repo?

It is a build artifact of the aspnet project :smile:.
If you don't add this file to the MVC project then MVC will try to fetch it over the network, which can cause build flakiness.

:shipit:
Also, please note that the DNX docs will be moving over to http://dotnet.readthedocs.org soon.

cae7c02bb8dc8be5be52b021c676fb53eb7133b5


Newbie (to Midas) can't figure out how to load a model...

I'm new to Midas and installed it following the ReadMe. Being a user of Moose, I expected some menu to load a model, but couldn't find anything. What am I missing here?

hummm, this is an old version of the menus.
Using the latest version (9) I have these menus:

Ok, but I followed the the readme. It seems like the latest Moose Jenkins build is not up to date.

It's because you did not choose the latest build :-)

I pointed the wiki to the Moose ReadMe, it's one more click for the reader, but one less place to update for us (we are a small team)
I specified that it is usually best to choose the latest version even if it reads "development"

All the builds are "development."
I think the Readme image (animated GIF) shows to take the latest successful build, which is many versions away:

I think you're saying to take the latest build, ignoring the "successful" one (which isn't updated automatically)?

Hello,
The Readme of Midas should be updated.
The Jenkins builds are not used anymore.
@fuhrmanator, you can now go in "Official distributions" >> "Moose Suite 9.0". And you'll get the latest working Midas version inside the Moose image.
We decided to stop using Jenkins because it was too time-consuming to support Jenkins + Travis + GitHub actions.
Today, we use only GitHub Actions

@fuhrmanator, you can now go in "Official distributions" >> "Moose Suite 9.0". And you'll get the latest working Midas version inside the Moose image.

Once I update my PharoLauncher, I can see this :)

Before closing this issue. We have to fix the Midas readme

Sorry... It was done


NuttX:new support for NuttX platform

NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).
NuttX is therefore compliant with the rtosbenchmark test platform
In that change, the following sections were added

src/nuttx/bench_porting_layer_nuttx.c
src/nuttx/bench_porting_layer_nuttx.h
src/nuttx/timer/timer.c
and in
h/bench_api.
h/bench_utils.h
into src/nuttx/bench_porting_layer_nuttx.h

Almost there.
My apologies for not noticing this the first time.  Commit entries should be signed off. See https://docs.zephyrproject.org/latest/contribute/guidelines.html#developer-certification-of-origin-dco .
Second, the merge commit is not required, and should be deleted. We do our best to maintain a linear git history, so we tend to use "git rebase". The basic work flow is ...
git checkout main
git pull
git rebase -i main <your-branch>   // -i = interactive mode (allows for squashing, editing and dropping of commits)
git push -f origin <your-branch>   // -f = force the push (will replace the old branch if it exists)

Thank you for your suggestions, changes have been made.


Add support for new types added in ClickHouseNIO 1.4

Tests for Boolean and Date32 Types are not implemented as the server for the tests doen't implement them correctly (or at all for Date32).
There is an error with DateTime with TimeZone fixed in https://github.com/patrick-zippenfenig/ClickHouseNIO/pull/9 .

Can you also upgrade the requirements to ClickHouseNio 1.4.1 in Package.swift? Thanks!

Done


ERROR: Signature extraction failed (YouTube)

The error message requested I post the output, so I am:
$ youtube-dl --verbose https://www.youtube.com/watch?v=FPbxzKF5Fgs
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=FPbxzKF5Fgs']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.2
[debug] Proxy map: {}
[youtube] Setting language
[youtube] FPbxzKF5Fgs: Downloading webpage
[youtube] FPbxzKF5Fgs: Downloading video info webpage
[youtube] FPbxzKF5Fgs: Extracting video information
[youtube] FPbxzKF5Fgs: Encrypted signatures detected.
WARNING: unable to extract html5 player; please report this issue on http://yt-dl.org/bug
[youtube] {22} signature length 43.43, html5 player None
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
    raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vflktcH0f/base.js'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
    raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vflktcH0f/base.js'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 170, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 860, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 489, in _decrypt_signature
    u'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
    raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vflktcH0f/base.js'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

$

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.

Ah, so I am.  I blame Debian.  Thank you for the immediate response.


[v0.17] Update winit -> 0.17, glutin -> 0.18

Up gfx_window_glutin version -> 0.26 for release
winit changelog
glutin changelog
PR checklist:

[x] tested examples with the following backends: gl
[x] rustfmt run on changed code: toml changes only

bors r+

@kvark thank you for making the release!

Thank you for well made PRs :) @alexheretic


[MRG] Handle root user case more gracefully. Fixes #696

Trying to atone for bugs introduced by #679. With this PR exiting happens only when r2d is invoked from the commandline. In case user tries to use r2d as library, ValueError is raised instead.

Third time is the charm I hope!