issues with neovim 0.5.0 on an M1 macbook

Describe the bug
Since #110837 made it into nixpkgs-unstable I can't install neovim on an M1 laptop anymore, error is:
$ nix-env -iA nixpkgs.neovim
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
installing 'neovim-0.5.0'
these derivations will be built:
  /nix/store/5gp4g1718m3d8h2c1i07iaab557qhjb3-luarocks-3.2.1.drv
  /nix/store/4f1kkp8d9gqzv2ki8y1ndb68n3r92qi4-luajit-2.1.0-2021-05-29-luv-1.30.0-0.drv
  /nix/store/7ixqv6aqw79g124nzlm2nfz85xl7n3lm-luajit-2.1.0-2021-05-29-lpeg-1.0.2-1.drv
  /nix/store/h42jqwavkx330ibqz3216zpa3n79j5sc-luajit-2.1.0-2021-05-29-luabitop-1.0.2-3.drv
  /nix/store/lkw5165jvhhn6v4vl3m6dysy75jasdwb-luajit-2.1.0-2021-05-29-mpack-1.0.8-0.drv
  /nix/store/jd1p97vxrfh56vnb8l2di4az3wij90z1-luajit-2.1.0-2021-05-29-env.drv
  /nix/store/wz7l2p5qkav720fs6anl766gdybc6ppd-neovim-unwrapped-0.5.0.drv
  /nix/store/m200hhv91ba5y9j3sgf1vyb1spa30x1x-neovim-0.5.0.drv
building '/nix/store/5gp4g1718m3d8h2c1i07iaab557qhjb3-luarocks-3.2.1.drv'...
unpacking sources
unpacking source archive /nix/store/33jwc6ncf287ziykl5nd5y01gdb5di89-source
source root is source
patching sources
applying patch /nix/store/m4lqm4f5zvpbqv4hpawz8cvl0snrldhl-darwin-3.1.3.patch
patching file src/luarocks/core/cfg.lua
Hunk #1 succeeded at 427 (offset 2 lines).
Hunk #2 succeeded at 436 (offset 2 lines).
updateAutotoolsGnuConfigScriptsPhase
configuring
configure flags: --prefix=/nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1 --with-lua-include=/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/include/luajit-2.1/

Configuring LuaRocks version 3.2.1...

Lua version detected: 5.1
Lua interpreter found: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/bin/luajit
lua.h found: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/include/luajit-2.1/lua.h
unzip found in PATH: /nix/store/2izly43wxa0h3jvd8rzfkc7q1rg74b2j-unzip-6.0/bin

Done configuring.

LuaRocks will be installed at......: /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1
LuaRocks will install rocks at.....: /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1
LuaRocks configuration directory...: /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1/etc/luarocks
Using Lua from.....................: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29
Lua include directory..............: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/include/luajit-2.1

* Type make and make install:
  to install to /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1 as usual.
* Type make bootstrap:
  to install LuaRocks into /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1 as a rock.

building
build flags: SHELL=/nix/store/zj3mf2cki8hcs5qmkdns85nkncdqsmjb-bash-4.4-p23/bin/bash
mkdir -p "build"
mkdir -p .luarocks
cp ./build/config-5.1.lua .luarocks/config-5.1.lua
rm -f src/luarocks/core/hardcoded.lua
echo "#!/bin/sh" > luarocks
echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4 LUA_CPATH LUA_CPATH_5_2 LUA_CPATH_5_3 LUA_CPATH_5_4" >> luarocks
echo 'LUAROCKS_SYSCONFDIR="/nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1/etc/luarocks" LUA_PATH="/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/src/?.lua;;" exec "/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/bin/luajit" "/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/src/bin/luarocks" --project-tree="/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/lua_modules" "$@"' >> luarocks
chmod +rx ./luarocks
./luarocks init
PANIC: unprotected error in call to Lua API (module 'luarocks.core.hardcoded' not found:
        no field package.preload['luarocks.core.hardcoded']
        no file '/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/src/luarocks/core/hardcoded.lua'
        no file './luarocks/core/hardcoded.lua'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/share/luajit-2.1.0-beta3/luarocks/core/hardcoded.lua'
        no file '/usr/local/share/lua/5.1/luarocks/core/hardcoded.lua'
        no file '/usr/local/share/lua/5.1/luarocks/core/hardcoded/init.lua'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/share/lua/5.1/luarocks/core/hardcoded.lua'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/share/lua/5.1/luarocks/core/hardcoded/init.lua'
        no file './luarocks/core/hardcoded.so'
        no file '/usr/local/lib/lua/5.1/luarocks/core/hardcoded.so'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/lib/lua/5.1/luarocks/core/hardcoded.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './luarocks.so'
        no file '/usr/local/lib/lua/5.1/luarocks.so'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/lib/lua/5.1/luarocks.so'
        no file '/usr/local/lib/lua/5.1/loadall.so')
make: *** [GNUmakefile:57: luarocks] Error 1
builder for '/nix/store/5gp4g1718m3d8h2c1i07iaab557qhjb3-luarocks-3.2.1.drv' failed with exit code 2
cannot build derivation '/nix/store/7ixqv6aqw79g124nzlm2nfz85xl7n3lm-luajit-2.1.0-2021-05-29-lpeg-1.0.2-1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h42jqwavkx330ibqz3216zpa3n79j5sc-luajit-2.1.0-2021-05-29-luabitop-1.0.2-3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4f1kkp8d9gqzv2ki8y1ndb68n3r92qi4-luajit-2.1.0-2021-05-29-luv-1.30.0-0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lkw5165jvhhn6v4vl3m6dysy75jasdwb-luajit-2.1.0-2021-05-29-mpack-1.0.8-0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wz7l2p5qkav720fs6anl766gdybc6ppd-neovim-unwrapped-0.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/m200hhv91ba5y9j3sgf1vyb1spa30x1x-neovim-0.5.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/m200hhv91ba5y9j3sgf1vyb1spa30x1x-neovim-0.5.0.drv' failed
➜  dotfiles git:(master) ✗
➜  dotfiles git:(master) ✗ curl -L https://nixos.org/nix/install | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2699  100  2699    0     0   3160      0 --:--:-- --:--:-- --:--:--  3160
downloading Nix 2.3.13 binary tarball for x86_64-darwin from 'https://releases.nixos.org/nix/nix-2.3.13/nix-2.3.13-x86_64-darwin.tar.xz' to '/var/folders/8y/1jwycq1x595d0_3g887dbjm40000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.tuAW1oi6'...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 34.6M  100 34.6M    0     0  7281k      0  0:00:04  0:00:04 --:--:-- 7772k
^Csh: SHA-256 hash mismatch in 'https://releases.nixos.org/nix/nix-2.3.13/nix-2.3.13-x86_64-darwin.tar.xz'; expected 81cc3f2d5b06162b43a4695b37952ef569318d44c999558b8c54a925bab24ded, got
➜  dotfiles git:(master) ✗ nix-env -iA nixpkgs.neovim
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
installing 'neovim-0.5.0'
these derivations will be built:
  /nix/store/5gp4g1718m3d8h2c1i07iaab557qhjb3-luarocks-3.2.1.drv
  /nix/store/4f1kkp8d9gqzv2ki8y1ndb68n3r92qi4-luajit-2.1.0-2021-05-29-luv-1.30.0-0.drv
  /nix/store/7ixqv6aqw79g124nzlm2nfz85xl7n3lm-luajit-2.1.0-2021-05-29-lpeg-1.0.2-1.drv
  /nix/store/h42jqwavkx330ibqz3216zpa3n79j5sc-luajit-2.1.0-2021-05-29-luabitop-1.0.2-3.drv
  /nix/store/lkw5165jvhhn6v4vl3m6dysy75jasdwb-luajit-2.1.0-2021-05-29-mpack-1.0.8-0.drv
  /nix/store/jd1p97vxrfh56vnb8l2di4az3wij90z1-luajit-2.1.0-2021-05-29-env.drv
  /nix/store/wz7l2p5qkav720fs6anl766gdybc6ppd-neovim-unwrapped-0.5.0.drv
  /nix/store/m200hhv91ba5y9j3sgf1vyb1spa30x1x-neovim-0.5.0.drv
building '/nix/store/5gp4g1718m3d8h2c1i07iaab557qhjb3-luarocks-3.2.1.drv'...
unpacking sources
unpacking source archive /nix/store/33jwc6ncf287ziykl5nd5y01gdb5di89-source
source root is source
patching sources
applying patch /nix/store/m4lqm4f5zvpbqv4hpawz8cvl0snrldhl-darwin-3.1.3.patch
patching file src/luarocks/core/cfg.lua
Hunk #1 succeeded at 427 (offset 2 lines).
Hunk #2 succeeded at 436 (offset 2 lines).
updateAutotoolsGnuConfigScriptsPhase
configuring
configure flags: --prefix=/nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1 --with-lua-include=/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/include/luajit-2.1/

Configuring LuaRocks version 3.2.1...

Lua version detected: 5.1
Lua interpreter found: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/bin/luajit
lua.h found: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/include/luajit-2.1/lua.h
unzip found in PATH: /nix/store/2izly43wxa0h3jvd8rzfkc7q1rg74b2j-unzip-6.0/bin

Done configuring.

LuaRocks will be installed at......: /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1
LuaRocks will install rocks at.....: /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1
LuaRocks configuration directory...: /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1/etc/luarocks
Using Lua from.....................: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29
Lua include directory..............: /nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/include/luajit-2.1

* Type make and make install:
  to install to /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1 as usual.
* Type make bootstrap:
  to install LuaRocks into /nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1 as a rock.

building
build flags: SHELL=/nix/store/zj3mf2cki8hcs5qmkdns85nkncdqsmjb-bash-4.4-p23/bin/bash
mkdir -p "build"
mkdir -p .luarocks
cp ./build/config-5.1.lua .luarocks/config-5.1.lua
rm -f src/luarocks/core/hardcoded.lua
echo "#!/bin/sh" > luarocks
echo "unset LUA_PATH LUA_PATH_5_2 LUA_PATH_5_3 LUA_PATH_5_4 LUA_CPATH LUA_CPATH_5_2 LUA_CPATH_5_3 LUA_CPATH_5_4" >> luarocks
echo 'LUAROCKS_SYSCONFDIR="/nix/store/cmfi3bavcszmj7ld9jg6hnzn3ky0a6wa-luarocks-3.2.1/etc/luarocks" LUA_PATH="/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/src/?.lua;;" exec "/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/bin/luajit" "/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/src/bin/luarocks" --project-tree="/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/lua_modules" "$@"' >> luarocks
chmod +rx ./luarocks
./luarocks init
PANIC: unprotected error in call to Lua API (module 'luarocks.core.hardcoded' not found:
        no field package.preload['luarocks.core.hardcoded']
        no file '/private/tmp/nix-build-luarocks-3.2.1.drv-0/source/src/luarocks/core/hardcoded.lua'
        no file './luarocks/core/hardcoded.lua'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/share/luajit-2.1.0-beta3/luarocks/core/hardcoded.lua'
        no file '/usr/local/share/lua/5.1/luarocks/core/hardcoded.lua'
        no file '/usr/local/share/lua/5.1/luarocks/core/hardcoded/init.lua'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/share/lua/5.1/luarocks/core/hardcoded.lua'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/share/lua/5.1/luarocks/core/hardcoded/init.lua'
        no file './luarocks/core/hardcoded.so'
        no file '/usr/local/lib/lua/5.1/luarocks/core/hardcoded.so'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/lib/lua/5.1/luarocks/core/hardcoded.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './luarocks.so'
        no file '/usr/local/lib/lua/5.1/luarocks.so'
        no file '/nix/store/svpw0x20dx1sswf6imfa2xjfb7j4rjj7-luajit-2.1.0-2021-05-29/lib/lua/5.1/luarocks.so'
        no file '/usr/local/lib/lua/5.1/loadall.so')
make: *** [GNUmakefile:57: luarocks] Error 1
builder for '/nix/store/5gp4g1718m3d8h2c1i07iaab557qhjb3-luarocks-3.2.1.drv' failed with exit code 2
cannot build derivation '/nix/store/7ixqv6aqw79g124nzlm2nfz85xl7n3lm-luajit-2.1.0-2021-05-29-lpeg-1.0.2-1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h42jqwavkx330ibqz3216zpa3n79j5sc-luajit-2.1.0-2021-05-29-luabitop-1.0.2-3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4f1kkp8d9gqzv2ki8y1ndb68n3r92qi4-luajit-2.1.0-2021-05-29-luv-1.30.0-0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lkw5165jvhhn6v4vl3m6dysy75jasdwb-luajit-2.1.0-2021-05-29-mpack-1.0.8-0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wz7l2p5qkav720fs6anl766gdybc6ppd-neovim-unwrapped-0.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/m200hhv91ba5y9j3sgf1vyb1spa30x1x-neovim-0.5.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/m200hhv91ba5y9j3sgf1vyb1spa30x1x-neovim-0.5.0.drv' failed

To Reproduce
Steps to reproduce the behavior:

On an M1 macbook run nix-env -iA nixpkgs.neovim

Expected behavior
neovim to successfully install
Screenshots
N/A
Additional context
Notify maintainers
@rvolosatovs
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
these paths will be fetched (0.32 MiB download, 1.90 MiB unpacked):
  /nix/store/0ljw5ppdzw17p2rl2j3fbf28a5pqa0xa-bash-interactive-4.4-p23-doc
  /nix/store/55cs339a40h0qdk2m6hjg7hyxcws4l55-bash-interactive-4.4-p23-dev
copying path '/nix/store/0ljw5ppdzw17p2rl2j3fbf28a5pqa0xa-bash-interactive-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/55cs339a40h0qdk2m6hjg7hyxcws4l55-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - system: `"aarch64-darwin"`
 - host os: `Darwin 20.5.0, macOS 11.4`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3.12`
 - channels(dbarroso): `"darwin, home-manager, nixpkgs-21.11pre299898.c40d0126f85"`
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - nixpkgs: `/Users/dbarroso/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Is it possible for you to check if reverting https://github.com/NixOS/nixpkgs/commit/68a780e669e8dcc3abf7d2b9f0b1e3bf7cf2e76b fixes the issue?

Yeah, that did the trick. It is weird as I can install luajit with no issue so maybe this is just an issue with the build setup rather than with the lua interpreter?

Refs https://github.com/NixOS/nixpkgs/issues/128959
I will test this on my M1 as well tonight

Sorry, tonight came later than I expected - I encountered the same issue on M1 and filed https://github.com/NixOS/nixpkgs/pull/129543, which fixes it.
Seems that luajit version is not the issue here, as was suggested in https://github.com/neovim/neovim/issues/7879
Guess we should do a bit more digging


Device Settings and Gateway Settings services missing since update to v0.1.2

Hello @ebaauw
Since the last update, I can't find any settings service using the eve app. Before I could use these services to change the log level and to disable specific sensors and lamps. Since the last update my logs again are flooded with single button press event (see #30) and also lamps I chose to disable are exposed to HomeKit again.
So all these settings are lost? And also the settings services seem to be missing...

Rollback to v0.1.1 did not solve the problem... Something seems to be wrong now, but everything has worked fine before the update to 0.1.2.

See the release notes: settings services have been removed.  Settings are now configured through a REST API provided by the plugin.  Eventually this API will be used by the settings dialogue in the Homebridge UI.
You might need to delete cachedAccessories when rolling back.

Ok, thanks for clarifying that. I did read release notes of v0.1.2 and v0.1.1, but not of v0.1. So it's interesting why my settings were lost after the update to 0.1.2. But anyway, I could reconfigure it using CURL-requests to the api.
Maybe another little question: Are there any news on homebridge-hue2? I'm very excited for that :)

I want to reach a stable v1 of Homebridge deCONZ before starting to work on Homebridge Hue2.  No technical reason, just trying to keep my own mental sanity and not spreading my attention too thin.

Ok sounds good and makes sense. Thank you for your work. We can close here :)


chore(deps): update dependency speed-measure-webpack-plugin to v1.3.3

This PR contains the following updates:

Package
Type
Update
Change

speed-measure-webpack-plugin
devDependencies
patch
1.3.1 -> 1.3.3

Release Notes

stephencookdev/speed-measure-webpack-plugin
v1.3.3
Compare Source
v1.3.2
Compare Source

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 3.2.1 :tada:
The release is available on:

v3.2.1
GitHub release

Your semantic-release bot :package::rocket:


Minimum Go version requirement

Trying to build on a system where the system Go is a little bit older
go version go1.11.6 linux/arm64

I get this error message, with a module specifying a minimum version of Go:
cmd/root.go:90:49: undefined: "github.com/pkg/errors".As
note: module requires Go 1.13
/home/emv/go/pkg/mod/github.com/daixiang0/gci@v0.0.0-20200727065011-66f1df783cb2/pkg/gci/gci.go:132:16: undefined: strings.ReplaceAll
note: module requires Go 1.14# github.com/securego/gosec/v2/rules
/home/emv/go/pkg/mod/github.com/securego/gosec/v2@v2.4.0/rules/tls.go:124:7: undefined: tls.VersionTLS13
note: module requires Go 1.14

It would be worth a note in the Requirements section that to build this you need an up-to-date Go.

I have some notes on getting an up-to-date Go at https://vielmetti.typepad.com/logbook/2020/08/some-notes-on-keeping-go-golang-up-to-date.html - so far wit Debian 10, Ubuntu, FreeBSD and MacOS Catalina it's all relatively straightforward to get Go 1.14 or later, but harder to get Go 1.15, from the usual "backports" style repos.


Cherry pick 966 964

Description:
Cherry pick #966 and #964 into release/0.19 in order to create an rc2.

Codecov Report
Patch coverage: 80.00% and project coverage change: -0.02 :warning:

Comparison is base (56fde12) 74.45% compared to head (2d44e7e) 74.44%.

:exclamation: Current head 2d44e7e differs from pull request most recent head 375152a. Consider uploading reports for the commit 375152a to get more accurate results

Additional details and impacted files
@@               Coverage Diff                @@
##           release/0.19     #970      +/-   ##
================================================
- Coverage         74.45%   74.44%   -0.02%
================================================
  Files                28       28
  Lines              1887     1890       +3
  Branches            354      355       +1
================================================
+ Hits               1405     1407       +2
  Misses              380      380
- Partials            102      103       +1

Impacted Files
Coverage Δ

packages/relay/src/lib/eth.ts
84.90% <80.00%> (-0.10%)
:arrow_down:

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.


merge dev into master

Codecov Report
Patch and project coverage have no change.

Comparison is base (393860c) 53.23% compared to head (4c70cf9) 53.23%.
Report is 5 commits behind head on master.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2456   +/-   ##
=======================================
  Coverage   53.23%   53.23%
=======================================
  Files         117      117
  Lines        9633     9633
=======================================
  Hits         5128     5128
  Misses       4505     4505

Flag
Coverage Δ

unittests
53.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

anyway/models.py
87.65% <ø> (ø)

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


Error build examples/wasm-in-web-worker

Describe the Bug
wasm-bindgen/examples/wasm-in-web-worker on  main [!] is 📦 v0.1.0 via 🦀 v1.61.0
❯ sh ./build.sh
thread 'main' panicked at 'assertion failed: mid <= self.len()', crates/cli-support/src/decode.rs:43:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit status: 101
  full command: "/home/alban/.cache/.wasm-pack/wasm-bindgen-e0094da74c1e9817/wasm-bindgen" "/home/alban/programs/wasm-bindgen/target/wasm32-unknown-unknown/release/wasm_in_web_worker.wasm" "--out-dir" "/home/alban/programs/wasm-bindgen/examples/wasm-in-web-worker/www/pkg" "--typescript" "--target" "no-modules"

Steps to Reproduce

wasm-pack --version => wasm-pack 0.10.3
git clone https://github.com/rustwasm/wasm-bindgen.git wasm-bindgen-clean
cd wasm-bindgen-clean/examples/wasm-in-web-worker
sh ./build.sh

Expected Behavior
Command must finish without error
Actual Behavior
wasm-bindgen/examples/wasm-in-web-worker on  main [!] is 📦 v0.1.0 via 🦀 v1.61.0
❯ sh ./build.sh
+ wasm-pack build --out-dir www/pkg --target no-modules
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
   Compiling proc-macro2 v1.0.40
   Compiling quote v1.0.20
     .
     .
   Compiling wasm-bindgen v0.2.81 (/home/alban/programs/wasm-bindgen)
   Compiling wasm-bindgen-backend v0.2.81 (/home/alban/programs/wasm-bindgen/crates/backend)
   Compiling wasm-bindgen-macro-support v0.2.81 (/home/alban/programs/wasm-bindgen/crates/macro-support)
   Compiling wasm-bindgen-macro v0.2.81 (/home/alban/programs/wasm-bindgen/crates/macro)
   Compiling js-sys v0.3.58 (/home/alban/programs/wasm-bindgen/crates/js-sys)
   Compiling web-sys v0.3.58 (/home/alban/programs/wasm-bindgen/crates/web-sys)
   Compiling wasm-in-web-worker v0.1.0 (/home/alban/programs/wasm-bindgen/examples/wasm-in-web-worker)
    Finished release [optimized] target(s) in 24.61s
[WARN]: :-) origin crate has no README
[INFO]: Installing wasm-bindgen...
thread 'main' panicked at 'assertion failed: mid <= self.len()', crates/cli-support/src/decode.rs:43:27
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit status: 101
  full command: "/home/alban/.cache/.wasm-pack/wasm-bindgen-e0094da74c1e9817/wasm-bindgen" "/home/alban/programs/wasm-bindgen/target/wasm32-unknown-unknown/release/wasm_in_web_worker.wasm" "--out-dir" "/home/alban/programs/wasm-bindgen/examples/wasm-in-web-worker/www/pkg" "--typescript" "--target" "no-modules"

Additional Context
Ubuntu 22.04 LTS
same error if rust 1.6.2

This is happening because the main branch of wasm-bindgen has changed its internal format since 0.2.81 (specifically in #2954), but wasm-pack is still using 0.2.81. The easiest way to work around this is to go back to 0.2.81:
git checkout 0.2.81
sh ./build.sh # assuming you're already in the examples/wasm-in-web-worker folder

If you want to use the git version, you can build the CLI yourself and add it to PATH so that it will be picked up by wasm-pack:
cargo build -p wasm-bindgen-cli --bin wasm-bindgen
# again assuming that you're in the examples/wasm-in-web-worker folder;
# if not, replace ../../ with the path to the wasm-bindgen repo.
export PATH="../../target/debug:$PATH"
./build.sh

There should probably be a better error message for this, though.

Thank, it's now ok


information for {encoded-sharing-url} is missing

Hello,
There is no information in this page on what is meant by {encoded-sharing-url}
Apparently you have to follow a specific logic to encode the sharing url, the necessary steps are described here: {encoded-sharing-url}](https://learn.microsoft.com/en-us/graph/api/shares-get?view=graph-rest-1.0&tabs=http#encoding-sharing-urls).
It would be nice if you could add these steps to this page as well.
Thanks

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

ID: 09b8d398-f3d4-9808-2214-886fc1b42d86
Version Independent ID: c722986c-9322-301b-2ac9-c5b202803d9f
Content: Grant permission - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/permission-grant.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @learafa
Microsoft Alias: MSGraphDocsVteam

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


[✅] Fixing add new cards tests

📲 What
Fixing NewCardFragmentViewModelTest validation tests.
🤔 Why
So the tests pass.
🛠 How
Added futureYear that always returns a year in the future so the expiration date is valid.
👀 See
Testz only
📋 QA
CircleCI 🙏
Story 📖
N/A

We do, we set it to the current time though 🤔


Considering Bakta for genome annotation - requested enhancement

Is your feature request related to a problem? Please describe.
PHoeNIx uses Prokka for genome annotation, but it’s no longer actively maintained. We’ve noticed differences in annotations between Prokka and Bakta, and since Prokka isn’t updated anymore, it might not be the best option for current workflows, especially for downstream pangenome analyses.
Describe the solution you’d like
Switch to using Bakta for genome annotation. Bakta is actively maintained and produces annotations that align better with current needs.
Describe alternatives you’ve considered

Sticking with Prokka: This risks using outdated software with no updates.
Trying Bakta seems to be the best option right now for accuracy and maintenance.

Additional context
We rely on GFF files for pangenome analysis and have observed notable differences between Prokka and Bakta annotations, which could impact our results. Currently, we run Bakta as an additional step in our pipelines, but the annotation process is time-consuming. Integrating Bakta directly into PHoeNIx would streamline our workflow and improve efficiency.
Thanks to all of the developers! PHoeNIx works great for us!
Best,
Karla

Hi, thanks for your interest. We looked into switching to Bakta awhile back and the main issue was the database size required. This can present some issues for users so we didn't move forward with it at the time, but I see they have a light version of the database now.... I think the best solution for now would be to provide a parameter for users to choose to use Bakta instead of PROKKA if they want. We will do some digging to figure out if this will screw with anything else before saying we can make it happen, but I think adding a --bakta parameter or something would be the best option so we don't disrupt what might be the only option for others. Curious as to what differences you were seeing that made you want to request this? Thanks for the nudge to bring this convo up in our group again and move this forward!


Sites class does not use config

Paths like the following are defined in Config() but not used here...
https://github.com/daledavies/jump/blob/0ba2537d4ab0556b3ee3a66a62f87c1769b19887/jumpapp/classes/Site.php#L33

Now fixed in this commit... https://github.com/daledavies/jump/commit/a84354b74d8b4384393d580ed765ecd6b87f3db1


Cant get save_recent_clips automation to work.

Describe the bug
I'm getting an error when trying to setup and automation to grab all recent clips.  The automation doesn't appear to run.  I can use the blink.save_video to get the last video just fine but the blink.save_recent_clips does not.

To Reproduce
Steps to reproduce the behavior:
See Image Above
Expected behavior
The automation to run every minute(for testing 1 minute, production 10 minutes)
Home Assistant version (if applicable):

Log Output/Additional Information
If using home-assistant, please paste the output of the log showing your error below.  If not, please include any additional useful information.
PASTE LOG OUTPUT HERE

2024-05-30 14:52:51.887 ERROR (MainThread) [frontend.js.latest.202405011] Failed to format translation for key 'component.blink.services.save_recent_clips.description' in language 'en'. Error: The intl string context variable "name" was not provided to the string "Saves all recent video clips to local directory with file pattern "%Y%m%d_%H%M%S_{name}.mp4"."

Hi, same error for me

@blthlt try using the entity rather than the device for this.  The on I have working looks like this:

Also make sure your directory is in the resources.
The translation error has nothing to do with the saving problem.


Send any command(s)

Allow user to send any commands to the sky box
Add the optional "cmd" config to the accessory with comma separate list of commands to send.
See https://github.com/dalhundal/sky-remote for list of supported commands.
Omitting this will default to the previous 'power' command.
When running without cmd or if cmd='power' switch state works, in other cases switch state is disabled to avoid confusion of box status (produces a (!) error on the accessory in Home app but can't find another way to prevent switch toggling right now).
Working on the branch https://github.com/jdebardi/homebridge-sky-q/tree/Any-Cmd
If you wish to test please take code from there and NOT the master branch!
Example config
{
"accessory": "SkyQPlay",
"ipAddress": "<IP_ADDRESS>",
"name": "Sky Q Box Play",
"cmd": "1,2,3"
}

Annoyingly, I just installed this plugin, and although it worked, I uninstalled it, but now my homebridge won't run...

I installed it, and it works to an extent.
I have set up a couple of buttons, they will work once, but after that, every press will show this in terminal:
"[2018-2-12 19:51:32] [Sky Q Mini] Sending "" command to Sky Q Mini..."

I did submit a fix 32 mins ago for a crash, if you downloaded it before that try again.
It looks like it’s sending an empty command tho. Can you post the config.json you used?

Ok. Reproduced. Will look into it

Do you have reddit at all, just be easier to message you on there if you do. Because I'd like to message you about something off topic.

Yep https://www.reddit.com/u/josedebardi/?st=JDKP3JTM&sh=c21af2fc

WOW - that was hard work! Still don't understand why it didn't like how I'd passed the cmd variable around, but re-arranged the code to make it work in the end! Works for as many button presses as you want now!

OK I think I've done all that is reasonable. See #1 and the Readme of the Any-Cmd branch for info.
Appreciate it if you could have a play with it and feed back!

Great - sorted now. On of works fine, state awareness seems good to. Now Siri can tell me if it's on or off!
I just need to figure out how to use some of the other commands, so that i can effectively tell Siri to go to a particular channel.

Just uploaded another version which makes it more Siri friendly (he doesn't like commands that take too long so I tell him it's done before it really is - if using the Home app the switch will remain 'on' until it's really complete though so you can still visually see if its on-going when not using Siri).
Here's a couple of my 'go to channel' and 'play a program from the recorded programs' (can you tell I have a 2 yr old!)
I can say 'Hey Siri put Peppa Pig on' and it works perfectly, even if the Sky/TV box is off to start with (thats to the autoOn option)!
    {
        "accessory": "SkyQ",
        "ipAddress": "<IP_ADDRESS>",
    "name": "Nick Junior",
    "cmd": "backup,backup,backup,6,3,7",
    "autoOn": true,
    },
    {
        "accessory": "SkyQ",
        "ipAddress": "<IP_ADDRESS>",
    "name": "Peppa Pig",
    "cmd": "search,search,7,3,3,7,right,right,right,select,down,down,down,down,down,down,down,up,select,up,up,up,up,up,right,right,select",
    "autoOn": true,
    }


Burndown chart creation tool

We need to find a way to generate burndown chart based on project board and issues.
Either using an existing tool or we have to write one.
Maybe ask professor about Zenhub.

We are having some trouble with Zenhub:

Cannot import our Github project.
We tried to import all the issues and manually assign them to Sprints, but Sprints dates cannot be adjusted to previous dates.

Workaround for Sprint 2: Use Google Sheets to manually create a Burndown chart.
We can use Zenhub to generate burn down chart for Sprint 3


1D version of Fast-MPN-Cov

Can you please also release a 1D version that we can use for time series rather than images?

@kayuksel Before computing the correlation between channels, we first flatten the 2D feature map (HxW) into 1D vector (HW). I think you can skip this operation and directly compute covariance  matrix of 1D time series signal.

@jiangtaoxie GAP is frequently used also in SoA architectures for 1D data, hence I want to try iSQRT-COV.

@jiangtoxie Please check the following issue. It seems possible to get this into PyTorch, maybe if you create a pull request.
https://github.com/pytorch/pytorch/issues/17169

@kayuksel That's great, Thanks a lot! I'll create a PR for that.

@jiangtaoxie Do you have news about the 1D version yet?


fix: Log when un-rendered template varabiables are present

Inspired by #540

Shouldn't this be logged as warn? Fwiw when I wrote https://github.com/crate-ci/cargo-release/issues/540#issuecomment-1328769105 I hoped this to break before pushing out the release, allowing users to rectify it.

Logging at debug is a first, conservative step, as we evaluate what should be happening.


THEEDGE-3290 - Match Kebab actions with Insights Kebab

Description
This PR is adding Edit and Delete options to the Inventory table kebab to match kebab in insights Inventory
Before:

After:

As well it's adding the config to run against any fed module.
Fixes # (THEEDGE-3290)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Documentation update
[ ] Tests update

Checklist:

[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] I run npm run lint:js:fix to check that my code is properly formatted

Codecov Report
Patch coverage: 12.50% and project coverage change: -0.12 :warning:

Comparison is base (a20e924) 27.75% compared to head (ca00b91) 27.64%.

:exclamation: Current head ca00b91 differs from pull request most recent head 5bb5eb4. Consider uploading reports for the commit 5bb5eb4 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #687      +/-   ##
==========================================
- Coverage   27.75%   27.64%   -0.12%
==========================================
  Files         129      129
  Lines        3109     3133      +24
  Branches      990      997       +7
==========================================
+ Hits          863      866       +3
- Misses       2039     2056      +17
- Partials      207      211       +4

Impacted Files
Coverage Δ

src/Routes/Devices/DeviceTable.js
29.76% <0.00%> (-1.11%)
:arrow_down:

src/Routes/Devices/Inventory.js
0.00% <0.00%> (ø)

src/store/actions.js
0.00% <0.00%> (ø)

src/api/index.js
75.00% <100.00%> (+2.27%)
:arrow_up:

src/store/action-types.js
100.00% <100.00%> (ø)

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

Question: do we need to do anything on our end to ensure that the Delete action does anything? What is the action performed when the user clicks the Delete button? Do we just delete it from the Inventory? Do we run rhc disconnect via a playbook? What are the expected behaviors for the user?

Question: do we need to do anything on our end to ensure that the Delete action does anything? What is the action performed when the user clicks the Delete button? Do we just delete it from the Inventory? Do we run rhc disconnect via a playbook? What are the expected behaviors for the user?

good point
@acruzgon I think you should take a look on this

Question: do we need to do anything on our end to ensure that the Delete action does anything? What is the action performed when the user clicks the Delete button? Do we just delete it from the Inventory? Do we run rhc disconnect via a playbook? What are the expected behaviors for the user?

good point @acruzgon I think you should take a look on this

that was already addressed offline in a slack thread but to keep track i'm adding it here as well -  the modal is informing the user that they need to manually unregister the system


US1 - As any User, I want to be able to interact with the lecture plan so that the class can be prepared.

All users can see lecture plan.

Switching to new User Story model, epic & ready stories


Does it support any language and every language?

Hi, thank you for the wonderful work... I was experimenting with different languages, and i happend to see only vowel sounds in your repo... so is it good for only vowels or in general any speech file irrespective of languages? kindly help. Thanks

The script is not that clever. It doesn't matter what language you're using or anything like that. Just as long as you're sampling sound, that's appropriate for the measurement.

David R. Feinberg, PhD
Graduate Chair & Associate Professor
Department of Psychology, Neuroscience, & Behaviour
McMaster University
1280 Main St West
Hamilton, ON L8S 4K1
Canada
From: A-d-DASARE @.>
Sent: Thursday, June 27, 2024 9:01:58 AM
To: drfeinberg/PraatScripts @.>
Cc: Subscribed @.***>
Subject: [drfeinberg/PraatScripts] Does it support any language and every language? (Issue #3)
Caution:
External email.
Hi, thank you for the wonderful work... I was experimenting with different languages, and i happend to see only vowel sounds in your repo... so is it good for only vowels or in general any speech file irrespective of languages? kindly help. Thanks
—
Reply to this email directly,
view it on GitHub, or
unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks a ton!! I am citing your work in my research work :)
Regards,
ASHWINI DASARE
On Thu, Jun 27, 2024 at 6:41 PM David R. Feinberg @.***>
wrote:

The script is not that clever. It doesn't matter what language you're
using or anything like that. Just as long as you're sampling sound, that's
appropriate for the measurement.

David R. Feinberg, PhD
Graduate Chair & Associate Professor
Department of Psychology, Neuroscience, & Behaviour
McMaster University
1280 Main St West
Hamilton, ON L8S 4K1
Canada
From: A-d-DASARE @.>
Sent: Thursday, June 27, 2024 9:01:58 AM
To: drfeinberg/PraatScripts @.>
Cc: Subscribed @.***>
Subject: [drfeinberg/PraatScripts] Does it support any language and every
language? (Issue #3)
Caution:
External email.
Hi, thank you for the wonderful work... I was experimenting with different
languages, and i happend to see only vowel sounds in your repo... so is it
good for only vowels or in general any speech file irrespective of
languages? kindly help. Thanks
—
Reply to this email directly,
view it on GitHub, or
unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/drfeinberg/PraatScripts/issues/3#issuecomment-2194658532,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATQQSORGS7LFDDUZ2Q2AYBTZJQFQXAVCNFSM6AAAAABJ74NHI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUGY2TQNJTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


appId supplied but not found

I am using Selenium/Java/WinApPDriver.  I need to use it just for one spot where it enters a login and password into a windows box and won't work with Selenium.  I got this working fine with Winium but corporate won't let us use Winium as there have been no security upgrades.  So I am trying to cnvert to WinAppDriver.
I read the directions and created my pom file and all that.  When I try to start the windows driver I get "Could not start a new session. Response code 400. Message: Missing command parameter: appId ".  Doing debugging it looks like something is prefixing all my capabilities with "appium:" so tht WinAppDriver gets the capability "appium:appId" instead of just "appId".
My startup is the following.  Even if I misunderstand what appId is it should not say it is not provided:
		WindowsDriver app = null;

		DesiredCapabilities caps = new DesiredCapabilities();
		caps.setCapability("automationName", "Windows");
		caps.setCapability("app", "C:\\Windows\\System32\\notepad.exe");
		caps.setCapability("appId", "C:\\Windows\\System32\\notepad.exe");
		caps.setCapability("platformName", "");
		caps.setCapability("deviceName", "WindowsPC");
		caps.getCapabilityNames();
		app = new WindowsDriver(new URL("http://<IP_ADDRESS>:4723"), caps);

I have tried many different PlatformNames.  I tried updating to the latest appium.io but it did not help.  Here is part of my pom.  We have an AutomationParent which has all the things like Java, Selenium, etc.  So I had that dependency and added this:

io.appium
java-client
8.1.0

I should add this is Windows 10, Java, Selenium, Eclipse

The appium version that you are using will not work. check #1880.

It looks like most people use 1.22.3 but when I try that one from maven it can't be found:

io.appium
java-client
1.22.3

I also read that I don't even need appium if I am doing windows tests but in the documentation it says you need appium.io java which is what the driver uses.

You need the Java client, you can  use winappdriver.exe as an alternative to appium.

Which location are are looking for java client?

I am hoping I am using only the driver part of appium and not appium itself.    The appium.io is in my pom file.  I have like this (which I saw in the documentation):
 <dependency>
     <groupId>io.appium</groupId>
     <artifactId>java-client</artifactId>
     <version>7.3.0</version>
 </dependency>

but please not I have tried several different versions.  The problem seems to be it appends an "appium: to the front of all my capabilities.  I have proved this stepping through the code where it adds an appium prefix to each capability.  Here is from the debugger.  It still showws desired capabilities but you can see that for capabilities it added "appium: (except for platform)
 {capabilities=[{appium:appId=C:\Windows\System32\notepad.exe, appium:automationName=Windows, appium:deviceName=WindowsPC, platformName=WINDOWS}], desiredCapabilities=Capabilities {appId: C:\Windows\System32\notepad..., automationName: Windows, deviceName: WindowsPC, platformName: WINDOWS}}

Have you tried with WinappDriver.exe?

You can download from https://github.com/Microsoft/WinAppDriver/releases and run winappdriver.exe from program 86 folder.

I don't know what you mean by running in the background. Try this:
DesiredCapabilities dcaps = new DesiredCapabilities(); 	dcaps.setCapability("automationName", "Windows"); 	dcaps.setCapability("app", "C:\\Windows\\System32\\notepad.exe"); 	dcaps.setCapability("platformName", ""); 	dcaps.setCapability("deviceName", "WindowsPC"); 	dcaps.getCapabilityNames(); 	WindowsDriver app = new WindowsDriver<WindowsElement>(new URL("http://<IP_ADDRESS>:4723/"), dcaps);

Same problem with that because it changes "app" to "appium:app" and WinAppDriver is expecting "app"

send a team call invite.

Thanks.  I will.  Right now at work I have to do something else.  I will look for you sometime when you are on and when i figure out how to do that ;-)

By the way here is the code that changes the capability in startSession()
    /**
     * Appends "appium:" prefix to all non-prefixed non-standard capabilities.
    *
    * @param possiblyInvalidCapabilities user-provided capabilities mapping.
    * @return Fixed capabilities mapping.
   */
   private static Map<String, Object> makeW3CSafe(Capabilities possiblyInvalidCapabilities) {
       return Require.nonNull("Capabilities", possiblyInvalidCapabilities)
            .asMap().entrySet().stream()
            .collect(ImmutableMap.toImmutableMap(
                entry -> BaseOptions.toW3cName(entry.getKey()),
                Map.Entry::getValue
            ));
  }

   /**
     * Adds the 'appium:' prefix to the given capability name if necessary.
     *
     * @param capName the original capability name.
     * @return The preformatted W3C-compatible capability name.
     */
    public static String toW3cName(String capName) {
        return W3CCapabilityKeys.INSTANCE.test(capName) ? capName : APPIUM_PREFIX + capName;
   }

  public static final String APPIUM_PREFIX = "appium:";

I can't change APPIUM_PREFIX as it is a public static final String in an unwritable file
io.appium.java_client.internal.CapabilityHelpers

Winappdriver is not W3C compliant yet.

What is the selenium version that you are using?

I don't think it matters because it is happening before Selenium, but it appears to be 4.5.0 for selenium-java

No more thoughts?

It is working perfectly fine with the pom.xml i shared.

I don't seem to be able to find your pom

Check above in comments.

Yes, that is what I am doing.  I run WinAppDriver.exe and then run the java

Send teams call request

How do I do that?

I will need to get permission from corporate.

Ok, in the meantime try downgrading the


A graphical user interface would be nice

It would be easier to use the software if there was a window with buttons rather than only a command-line.

This will not be worked on at this time. It is not a main goal, will take too much time, and Haskell is not an ideal language for it. It is likely to also be a burden to maintain.


mojoQuery bug

html:
selector:
a#a   =>  mojoQuery: 0 results
#a.b  =>  mojoQuery: 1 results

html:
selector:
.a.b   =>  mojoQuery: 0 results

html:
selector:
.ab   =>  mojoQuery: 1 results

I see, next release will fixed


Use date processed on waiting applications list

Instead of displaying Expires at we now display Date processed. Also the list is ordered by the processed date of the application from eldest to newest.

LGTM, merge on green :+1:


Many tests fail when on tight VPN

Describe the bug
My company recently way tightened up its VPN.  This leads to a bunch of failures in make test.
I think the issue here is that a connection can be established, but like data cannot go through.
Reproduction
make test with tight VPN
Logs
FAILED tests/test_file_download.py::CachedDownloadTests::test_private_repo_and_file_cached_locally - huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and t...
FAILED tests/test_file_download.py::CachedDownloadTests::test_repo_not_found - huggingface_hub.utils._errors.LocalEntryNotFoundError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.
FAILED tests/test_file_download.py::HfHubDownloadToLocalDir::test_with_local_dir_and_auto_symlinks_and_file_cached - OSError: [Errno 30] Read-only file system: '/tmp8_f6s_08'
FAILED tests/test_file_download.py::HfHubDownloadToLocalDir::test_with_local_dir_and_symlinks_and_file_cached - AssertionError: False is not true
FAILED tests/test_file_download.py::HfHubDownloadToLocalDir::test_with_local_dir_and_symlinks_and_file_not_cached - AssertionError: False is not true
FAILED tests/test_file_download.py::HfHubDownloadToLocalDir::test_with_local_dir_and_symlinks_and_overwrite - FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/78/lm6p91s90fx99cshsxqz_19w0000gn/T/tmpbu533zrw/config.json'
FAILED tests/test_hf_api.py::CommitApiTest::test_create_commit_huge_regular_files - requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='hub-ci.huggingface.co', port=443): Max retries exceeded with url: /api/models/__DUMMY_TRANSFORMERS_USER__/model-e51e96-17050831767221/com...

And above that (my terminal ran out of room for full logs):

________________________________________________________________________________ CommitApiTest.test_create_commit_huge_regular_files _________________________________________________________________________________

self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x12941f690>, method = 'POST', url = '/api/models/__DUMMY_TRANSFORMERS_USER__/model-e51e96-17050831767221/commit/main'
body = b'{"key": "header", "value": {"summary": "Test create_commit with huge regular files", "description": ""}}\n{"key": "f...WFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWE=", "path": "file-11.text", "encoding": "base64"}}\n'
headers = {'user-agent': 'unknown/None; hf_hub/0.21.0.dev0; python/3.11.5', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*',...p6KrrTH3KDchhKpRxZwd6dmHWLL', 'Content-Length': '150996335', 'X-Amzn-Trace-Id': '3bb483c8-3921-42b6-b517-ca81cfac0692'}
retries = Retry(total=0, connect=None, read=False, redirect=None, status=None), redirect = False, assert_same_host = False, timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
release_conn = False, chunked = False, body_pos = None, response_kw = {'decode_content': False, 'preload_content': False}
parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/api/models/__DUMMY_TRANSFORMERS_USER__/model-e51e96-17050831767221/commit/main', query=None, fragment=None), destination_scheme = None
conn = None, release_this_conn = True, http_tunnel_required = False, err = None, clean_exit = False

    def urlopen(
        self,
        method,
        url,
        body=None,
        headers=None,
        retries=None,
        redirect=True,
        assert_same_host=True,
        timeout=_Default,
        pool_timeout=None,
        release_conn=None,
        chunked=False,
        body_pos=None,
        **response_kw
    ):
        """
        Get a connection from the pool and perform an HTTP request. This is the
        lowest level call for making a request, so you'll need to specify all
        the raw details.

        .. note::

           More commonly, it's appropriate to use a convenience method provided
           by :class:`.RequestMethods`, such as :meth:`request`.

        .. note::

           `release_conn` will only behave as expected if
           `preload_content=False` because we want to make
           `preload_content=False` the default behaviour someday soon without
           breaking backwards compatibility.

        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)

        :param url:
            The URL to perform the request on.

        :param body:
            Data to send in the request body, either :class:`str`, :class:`bytes`,
            an iterable of :class:`str`/:class:`bytes`, or a file-like object.

        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.

            Pass ``None`` to retry until you receive a response. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.

            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.

        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

        :param redirect:
            If True, automatically handle redirects (status codes 301, 302,
            303, 307, 308). Each redirect counts as a retry. Disabling retries
            will disable redirect, too.

        :param assert_same_host:
            If ``True``, will make sure that the host of the pool requests is
            consistent else will raise HostChangedError. When ``False``, you can
            use the pool on an HTTP proxy and request foreign hosts.

        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.

        :param pool_timeout:
            If set and the pool is set to block=True, then this method will
            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
            connection is available within the time period.

        :param release_conn:
            If False, then the urlopen call will not release the connection
            back into the pool once a response is received (but will release if
            you read the entire contents of the response such as when
            `preload_content=True`). This is useful if you're not preloading
            the response's content immediately. You will need to call
            ``r.release_conn()`` on the response ``r`` to return the connection
            back into the pool. If None, it takes the value of
            ``response_kw.get('preload_content', True)``.

        :param chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.

        :param int body_pos:
            Position to seek to in file-like body in the event of a retry or
            redirect. Typically this won't need to be set because urllib3 will
            auto-populate the value when needed.

        :param \\**response_kw:
            Additional parameters are passed to
            :meth:`urllib3.response.HTTPResponse.from_httplib`
        """

        parsed_url = parse_url(url)
        destination_scheme = parsed_url.scheme

        if headers is None:
            headers = self.headers

        if not isinstance(retries, Retry):
            retries = Retry.from_int(retries, redirect=redirect, default=self.retries)

        if release_conn is None:
            release_conn = response_kw.get("preload_content", True)

        # Check host
        if assert_same_host and not self.is_same_host(url):
            raise HostChangedError(self, url, retries)

        # Ensure that the URL we're connecting to is properly encoded
        if url.startswith("/"):
            url = six.ensure_str(_encode_target(url))
        else:
            url = six.ensure_str(parsed_url.url)

        conn = None

        # Track whether `conn` needs to be released before
        # returning/raising/recursing. Update this variable if necessary, and
        # leave `release_conn` constant throughout the function. That way, if
        # the function recurses, the original value of `release_conn` will be
        # passed down into the recursive call, and its value will be respected.
        #
        # See issue #651 [1] for details.
        #
        # [1] <https://github.com/urllib3/urllib3/issues/651>
        release_this_conn = release_conn

        http_tunnel_required = connection_requires_http_tunnel(
            self.proxy, self.proxy_config, destination_scheme
        )

        # Merge the proxy headers. Only done when not using HTTP CONNECT. We
        # have to copy the headers dict so we can safely change it without those
        # changes being reflected in anyone else's copy.
        if not http_tunnel_required:
            headers = headers.copy()
            headers.update(self.proxy_headers)

        # Must keep the exception bound to a separate variable or else Python 3
        # complains about UnboundLocalError.
        err = None

        # Keep track of whether we cleanly exited the except block. This
        # ensures we do proper cleanup in finally.
        clean_exit = False

        # Rewind body position, if needed.  Returns Response object.

        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple or urllib3 Timeout object
        :param verify: (optional) Either a boolean, in which case it controls whether
            we verify the server's TLS certificate, or a string, in which case it
            must be a path to a CA bundle to use
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        :rtype: requests.Response
        """

        try:
            conn = self.get_connection(request.url, proxies)
        except LocationValueError as e:
            raise InvalidURL(e, request=request)

        self.cert_verify(conn, request.url, verify, cert)
        url = self.request_url(request, proxies)
        self.add_headers(
            request,
            stream=stream,
            timeout=timeout,
            verify=verify,
            cert=cert,
            proxies=proxies,
        )

        chunked = not (request.body is None or "Content-Length" in request.headers)

        if isinstance(timeout, tuple):
            try:
                connect, read = timeout
                timeout = TimeoutSauce(connect=connect, read=read)
            except ValueError:
                raise ValueError(
                    f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                    f"or a single float to set both timeouts to the same value."

        This was not possible when using `json` format instead of `ndjson`
        on the `/create-commit` endpoint.

         Returns Response object.

        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple or urllib3 Timeout object
        :param verify: (optional) Either a boolean, in which case it controls whether
            we verify the server's TLS certificate, or a string, in which case it
            must be a path to a CA bundle to use
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        :rtype: requests.Response
        """

        try:
            conn = self.get_connection(request.url, proxies)
        except LocationValueError as e:
            raise InvalidURL(e, request=request)

        self.cert_verify(conn, request.url, verify, cert)
        url = self.request_url(request, proxies)
        self.add_headers(
            request,
            stream=stream,
            timeout=timeout,
            verify=verify,
            cert=cert,
            proxies=proxies,
        )

        chunked = not (request.body is None or "Content-Length" in request.headers)

        if isinstance(timeout, tuple):
            try:
                connect, read = timeout
                timeout = TimeoutSauce(connect=connect, read=read)
            except ValueError:
                raise ValueError(
                    f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                    f"or a single float to set both timeouts to the same value."
                )
        elif isinstance(timeout, TimeoutSauce):
            pass
        else:
            timeout = TimeoutSauce(connect=timeout, read=timeout)

        try:
            resp = conn.urlopen(
                method=request.method,
                url=url,
                body=request.body,
                headers=request.headers,
                redirect=False,
                assert_same_host=False,
                preload_content=False,
                decode_content=False,
                retries=self.max_retries,
                timeout=timeout,
                chunked=chunked,
            )

        except (ProtocolError, OSError) as err:
            raise ConnectionError(err, request=request)

        except MaxRetryError as e:
            if isinstance(e.reason, ConnectTimeoutError):
                # TODO: Remove this in 3.0.0: see #2811
                if not isinstance(e.reason, NewConnectionError):
                    raise ConnectTimeout(e, request=request)

            if isinstance(e.reason, ResponseError):
                raise RetryError(e, request=request)

            if isinstance(e.reason, _ProxyError):
                raise ProxyError(e, request=request)

            if isinstance(e.reason, _SSLError):
                # This branch is for urllib3 v1.22 and later.
>               raise SSLError(e, request=request)
E               requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='hub-ci.huggingface.co', port=443): Max retries exceeded with url: /api/models/__DUMMY_TRANSFORMERS_USER__/model-e51e96-17050831767221/commit/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2427)')))"), '(Request ID: 3bb483c8-3921-42b6-b517-ca81cfac0692)')

venv/lib/python3.11/site-packages/requests/adapters.py:517: SSLError
____________________________________________________________________________________________ test_from_raw_initialization ____________________________________________________________________________________________

    def test_from_raw_initialization():
        """Test InferenceEndpoint is correctly initialized from raw dict."""
        endpoint = InferenceEndpoint.from_raw(MOCK_INITIALIZING, namespace="foo")

        # Main attributes parsed correctly
        assert endpoint.name == "my-endpoint-name"
        assert endpoint.namespace == "foo"
        assert endpoint.repository == "gpt2"
        assert endpoint.framework == "pytorch"
        assert endpoint.status == "pending"
        assert endpoint.revision == "11c5a3d5811f50298f278a704980280950aedb10"
        assert endpoint.task == "text-generation"
        assert endpoint.type == "protected"

        # Datetime parsed correctly
>       assert endpoint.created_at == datetime(2023, 10, 26, 12, 41, 53, 263078, tzinfo=timezone.utc)
E       AssertionError: assert datetime.datetime(2023, 10, 26, 11, 41, 53, 263078, tzinfo=datetime.timezone.utc) == datetime.datetime(2023, 10, 26, 12, 41, 53, 263078, tzinfo=datetime.timezone.utc)
E        +  where datetime.datetime(2023, 10, 26, 11, 41, 53, 263078, tzinfo=datetime.timezone.utc) = InferenceEndpoint(name='my-endpoint-name', namespace='foo', repository='gpt2', status='pending', url=None).created_at
E        +  and   datetime.datetime(2023, 10, 26, 12, 41, 53, 263078, tzinfo=datetime.timezone.utc) = datetime(2023, 10, 26, 12, 41, 53, 263078, tzinfo=datetime.timezone.utc)
E        +    where datetime.timezone.utc = timezone.utc

tests/test_inference_endpoints.py:126: AssertionError

System info
- huggingface_hub version: 0.21.0.dev0
- Platform: macOS-13.5.2-arm64-arm-64bit
- Python version: 3.11.5
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /Users/user/.cache/huggingface/token
- Has saved token ?: False
- Configured git credential helpers: osxkeychain
- FastAI: N/A
- Tensorflow: N/A
- Torch: N/A
- Jinja2: 3.1.3
- Graphviz: N/A
- Pydot: N/A
- Pillow: 10.2.0
- hf_transfer: N/A
- gradio: 4.14.0
- tensorboard: N/A
- numpy: 1.26.3
- pydantic: 2.5.3
- aiohttp: 3.9.1
- ENDPOINT: https://huggingface.co
- HF_HUB_CACHE: /Users/user/.cache/huggingface/hub
- HF_ASSETS_CACHE: /Users/user/.cache/huggingface/assets
- HF_TOKEN_PATH: /Users/user/.cache/huggingface/token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False
- HF_HUB_ETAG_TIMEOUT: 10
- HF_HUB_DOWNLOAD_TIMEOUT: 10

Feel free to close this out, but I am reporting that the test suite has room for robust-ification, or faster failures (e.g. shorter timeouts)

About datetime issues, I've opened https://github.com/huggingface/huggingface_hub/pull/1982 thanks to your report.
About test flakyness, we are aware of the limitations of the current suite. I tried to mitigate the problem by retrying failing tests (when transient errors) which solved our problems in the CI -the CI been the most important part for us to maintain the lib-. Also I don't experience those errors on my local setup (usually with good connection) so I can't really relate. In any case, thanks for raising the question but I'm not sure we can/we want to do much about it.

Yes I follow. If you want to look through the error logs in the original post, you could make separate tickets to solve them all haha. Alternately, feel free to close this out

I quickly looked at the stacktrace you've provided (thanks about that!) but apart from the specific datetime issue I don't think it's work investigating in all the SSLError. I will therefore close this issue :)


keyboard autofocus option should be customized

sometimes we dun want to show the keyboard automatically. Better to allow customize the autofocus option of the searchBar?

This is a good potential improvement, thanks @tsuncp

Hi @tsuncp ,
I don't remember when this was implemented but autofocus is a parameter that does what are asking for.
I'll wait a bit for your confirmation before closing this issue.
Cheers,
Louis.

Closing for now, feel free to reopen if needed.


[Epic] Bring up all benchmark models in the suite

Please add context to issues. All benchmark models in which suite?

We have a tracking bug here that I created before this: https://github.com/openxla/iree/issues/12873. Should we link it or use that instead as the epic?


:book: update docs and docs-gen according to hugo syntax

Summary

add cobra cli-doc-gen as third party
hack cli-docs generator to comply hugo syntax

Original code: https://github.com/spf13/cobra/blob/main/doc/md_docs.go
Hugo front matter: https://gohugo.io/content-management/front-matter/

update kcp docs according to hugo syntax

remove cli documentation see https://github.com/kcp-dev/kcp/issues/2119#issuecomment-1265831212
add front matter to all docs
fix linting errors in markdown docs

Signed-off-by: Avinal Kumar<EMAIL_ADDRESS>Test
Test deployment: https://avinal.space/kcp-dev.github.io/docs (might have lots of broken links, rest works)

I essentially copied the whole cobra cli docs generation code and modified them to produce hugo compatible docs. Default options don't provide as much control over output. I hope this won't be considered over-engineered 😅 .

Please suggest appropriate titles and descriptions, since I am still exploring kcp, I wasn't able to be much creative.

/lgtm
/approve


Fix the Workbox guides table of contents

R: @petele @philipwalton
The duplicated item was removed in https://github.com/google/WebFundamentals/pull/8872/files#diff-074fff077c827468fd565ec0d9025089 but somehow was re-added via a PR in the meantime.
This removes it again.

:+1:


maven-metadata.xml on Maven Central is outdated and incomplete

The maven-metadata.xml for jakarta.enterprise:jakarta.enterprise.cdi-apion Maven Central lists only version 2.0.1 and also defines 2.0.1 as the latest version and release version.
This confuses tools that allow to check for version updates or use dynamic version declarations.
The maven-metadata.xml should list all versions that are present in the repository and also have latest and release fields properly set.

My search on https://search.maven.org/artifact/jakarta.enterprise/jakarta.enterprise.cdi-api produces the following view which shows 4.0.0.Beta3-2.0.x, so I'm not sure how you are coming up with that set of versions which is now 3+ years old.

Indeed - https://repo.maven.apache.org/maven2/jakarta/enterprise/jakarta.enterprise.cdi-api/maven-metadata.xml has only 2.0.1 listed.
Needs to be reported with https://issues.sonatype.org/

It has been reported: https://issues.sonatype.org/browse/MVNCENTRAL-7257

Hi @starksm64 - as MVNCENTRAL-7257 is not public - what's the status of it? https://repo.maven.apache.org/maven2/jakarta/enterprise/jakarta.enterprise.cdi-api/maven-metadata.xml is still or again listing just 2.0.1.

They said it had been updated, but when I checked I was also seeing the same contents. I have posted that on the issue.


placeholder decoration is missing for cursor line on windows

create a terminal
press enter repeatedly
🐛 the placeholder is always missing from the cursor line

I wasn't sure where I mentioned this but I've been thinking of an idea to more aggressively check the contents of the line on Windows whenever a conpty reprint occurs to validate the command is in the right spot, similar to what is done on resize only right now. Not sure about perf implications

This is one of those issues that isn't really possible to fix without messing with other heuristics, unless conpty positions the sequence correctly. The latter should happen soonish in https://github.com/microsoft/terminal/issues/8698 and hopefully we'll be able to bundle a recent version of conpty instead of depending on the Windows release after that.


Sdx export rsi msg

What? and Why?
https://trello.com/c/XwZnGFPF/2257-sdx-store-export-comments-based-on-survey-id
The business needed to be able to get the comments out of the rsi survey in an easily digestible format.  This creates an endpoint off of sdx-store that gets all the comments, puts them in an excel file, then lets the user download it.
Checklist

[x] CHANGELOG.md updated? (if required)

@insacuri the code coverage has reduced in this PR?
Maybe we should look at adding patch coverage like we have in Runner?

Superseded by #92


upgrade dependents

upgrade kube to 1.26
upgrade controller-runtime to v0.14.5
upgrade addon-framework to v0.6.1

/assign @mprahl

/assign @willkutler

@dhaiducek and @skeeey we can't upgrade controller-runtime because we need to support OCP 3.11 which doesn't support leases for leader election, so we must use configmap locking which was removed in newer versions of client-go, which newer controller-runtimes require.

@dhaiducek and @mprahl thanks for review
Now we depend the policy in next-gen controlplane directly (https://github.com/stolostron/multicluster-controlplane/blob/main/go.mod#L28), and the next-gen controlplane needs a newer controller-runtime, so would you consider to create a feature branch for us? then next-gen controlplane can depend on this feature branch
because the next-gen controlplane needn't to support ocp311, so we can  update the dependencies in this feature branch
Thanks again

@skeeey Thanks for the context! We'll discuss this on our team. Not being able to update the controller-runtime has been a pain point for us also, so we'll consider paths forward to make this feasible.


Initial task: To add CalEPD as a component and use set_px_cb callback

il3820.txt
FIX: To use epd_highlevel without hooks in epd_driver.c (Should be updated in CalEPD too)
ED047TC1.txt
UPDATE: New suggestions coming from LVGL Forum
This will be the initial task. First epaper target is the 5.83 in Goodisplay gdew0583t7
Basically the first idea is to add CalEPD as a component. And initialization plus drawing hooks.
Initially to refresh hole screen with the UX, partial refresh comes later.
Next candidate is 2.7 in with touch: gdew027w3T
LOG
Adding required components as submodules:
git submodule add https://github.com/martinberlin/CalEPD.git components/CalEPD
git submodule add https://github.com/martinberlin/Adafruit-GFX-Library-ESP-IDF components/Adafruit-GFX

Adding this modules is successful. A few notes:
components/lvgl (LVGL base library) needs to REQUIRE "CalEPD"  in CMakeLists.txt
This additionally calls to add modifications in the REQUIRE's of CalEPD since at the moment they include:
idf_component_register(SRCS ${srcs}
                    REQUIRES "Adafruit-GFX"
                    REQUIRES "FT6X36-IDF" -> Touch comment out
                    REQUIRES "Epdiy-IDF"  -> Parallel comment out
                    INCLUDE_DIRS "include"
)

Additionally all models that use touch or parallel dependencies (like gdew027w3T) should be excluded from CaleEPD CMakeLists.txt too.
At the moment trying only to make an example about how to interface with CalEPD just for the display without touch and just as a proof-of-concept example.
Errors or conflicts
../components/CalEPD/include/gdew0583t7.h:11:10: fatal error: string: No such file or directory
Why I used :
../components/CalEPD/include/epd.h:115:22: note: 'std::string' is defined in header ''; did you forget to '#include '?
And this is because main is not CPP. The issue is that adding extern "C" a lot of compile errors appear. It seems mainly since this library is pure C and uses templates. Example error:
/home/martin/.espressif/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.2.0/bits/stl_iterator_base_types.h:143:3: error: template with C linkage
   template<typename _Iterator, typename = __void_t<>>
   ^~~~~~~~
In file included from ../components/lvgl_esp32_drivers/lvgl_helpers.h:18,
                 from ../main/main.cpp:30:
../components/lvgl_esp32_drivers/lvgl_tft/disp_driver.h:9:1: note: 'extern "C"' linkage started here
 extern "C" {

This seems to be the issue:
extern C disables name mangling, which templates use
https://stackoverflow.com/questions/4877705/why-cant-templates-be-within-extern-c-blocks
Solved including gdew0583t7.h in refactored driver il3820.cpp (Attached in this issue as .txt)
Additional notes:
Also CalEPD will try to instantiate SPI when is already done by LGVL. So we should find a way to signalize this, so it does not generate a never ending restart loop.
Solution: Use VSPI or different SPI in menuconfig.

This issue is marked as "help wanted" since it needs more testing. If possible with the Lilygo EPD47 parallel epaper with touch.

Initial task done. Now updated to support also epdiy v7


Add a skip for (re)calculating retargeting data on unchanged skeletons and mappings

Required retargeting data is currently always calculated when start_retargeting() is used (or editor button pressed).
While not very noticeable in the C++ module this can add a lot of additional processing time on the slow GDScript version.
After the first retargeting the data does not really need to be recalculated as long as:

both skeletons (paths) stay the same
mappings are not changed
no user code from outside changes skeleton rest poses

A skip for (re)calculating offsets after the first retargeting and only reset when something changes could improve performance, especially for GDScript.

Added by commit 460b1bb0ad9715724258438f09d2869f7a4a4402 for Godot_3.x and commit 8969555c780c33900ba095a4bcc5e8bf905577e7 for Godot_3.x_gdscript.
Godot 4.x updates will come later, some additional quirks to solve.


Added session support.

I want to use session in Spark, so I have written some code for session support with Jetty.

HI, I'll have a look at this as soon as possible.
I'm a bit busy being on parental leave until august (takes more time than I thought...)
Br,
Per

Thanks for your reply!
I've added some changes as you pointed out, so please check it out when you have time. :-)


Buffer index when deleting an item

buffer.remove() resets its first index when it gets empty with the code bellow:
      if(!buffer.length) {
        buffer.first = 1;
        buffer.next = 1;
      }

This actually has a few issues:

It resets it to 1 while it should better use startIndex. This has consequences when the start index is 0. Even better, it should use minIndex if it exists.
It does not reset eof. Suppose that we start from the following buffer {first=10, length=5, eof=true}. Now we remove the 5 elements in the buffer. It leads to a situation where first=1 but eof=true. As a result, it thinks that 1 is the latest element and thus it does not display the remaining ones up to 10.

I suggest the following fix:
      if(!buffer.length) {
        buffer.first = buffer.minIndex!==undefined ? buffer.minIndex : startIndex;
        buffer.next = buffer.first;
        buffer.eof = buffer.eof && buffer.first==buffer.maxIndex;
      }

@priandsf I opened PR #233. There a lot of changes, but they are mostly refactoring. Three files relate to our problem:
adapter.js
buffer.js
BufferCleanupSpec.js
The spec file contains scenarios, you may see how the indexes are evolving during cleaning the Buffer with and without immutableTop option in BOF/EOF and non-BOF/EOF cases.
Looks like it works without changes you suggested above. Moreover, my buffer.js change is also unnecessary. It is here for a consistency purpose that doesn't impact the behaviour.
May I ask you to look at this and say what do you think? does it satisfy your needs? do you have some scenarios which would be broken with this approach? can you introduce these scenarios in BufferCleanupSpec?

Closing per v1.8.2 containing the fix is released.


eo2464-hw0

Hi, I restored tkp2108.md.

Hi Tim, I restored tkp2108.md fully to remove the changes I mistakenly made. The only diff of this PR is my .md file currently.


[CSDiag] Fix crasher in KeyPathExpr diagnosis

Fixes @practicalswift's crasher 28756 (#9904). New KeyPathExpr diagnosis recently added in #9845 did not work for Obj-C key paths.

@swift-ci please smoke test

@swift-ci please smoke test


update to keys metadata caching and key validation

Update to keys metadata and key validation. Includes pseudo code to illustrate best practices.

#sign-off

Closing. the PR was transfered to entra-docs-pr: https://github.com/MicrosoftDocs/entra-docs-pr/pull/5700

#please-close


type number

How about implement general type number for backward compatibility with Typescript?
It may be just alias of float64.

That is a good idea, I was also thinking about it. TurboScript's ultimate goal is to compile pure typescript to WASM. right now i am implementing generic data types for array support which is more important in my readmap. after completing the generics i will add type number.
Thanks for the input. 👍

Is the goal really to be a proper super/subset of TypeScript? I think that also means Turbo is JavaScript. This is laudable goal and someone will do it, but is that really the long term goal?
I'd like to suggest creating a wiki page with the long term goals of the project defined up front. It will provide guidance for features and allow newbies to understand the project direction.

My personal goal for TurboScript is to be a superset of TypeScript and keep
the JavaScript like syntax.
On Wed 12. Apr 2017 at 4:44 PM, Wink Saville<EMAIL_ADDRESS>wrote:

Is the goal really to be a proper super/subset of TypeScript? I think that
also means Turbo is JavaScript. This is laudable goal and someone will do
it, but is that really the long term goal?
I'd like to suggest creating a wiki page with the long term goals of the
project defined up front. It will provide guidance for features and allow
newbies to understand the project direction.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/01alchemist/TurboScript/issues/10#issuecomment-293600115,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMGZogPWktPfwVv0zb3vPCipn4VLdNhks5rvOM7gaJpZM4Mml0g
.

Do you want to support prototypal object or class based objects. I'm
guessing that class based objects are faster because they are compiled time
generated. That would seem to be counter to the need for performance
orientation. Is it a requirement to support JavaScript syntax and semantics
too?
On Wed, Apr 12, 2017, 8:54 AM Nidin Vinayakan<EMAIL_ADDRESS>wrote:

My personal goal for TurboScript is to be a superset of TypeScript and keep
the JavaScript like syntax.
On Wed 12. Apr 2017 at 4:44 PM, Wink Saville<EMAIL_ADDRESS>wrote:

Is the goal really to be a proper super/subset of TypeScript? I think
that
also means Turbo is JavaScript. This is laudable goal and someone will do
it, but is that really the long term goal?
I'd like to suggest creating a wiki page with the long term goals of the
project defined up front. It will provide guidance for features and allow
newbies to understand the project direction.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/01alchemist/TurboScript/issues/10#issuecomment-293600115
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAMGZogPWktPfwVv0zb3vPCipn4VLdNhks5rvOM7gaJpZM4Mml0g
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/01alchemist/TurboScript/issues/10#issuecomment-293623837,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-hHGEYbbQfHhU_ZICS3dn-0DT9RsASks5rvPO_gaJpZM4Mml0g
.

Right now I am only thinking about class based objects. Keeping JavaScript dialect is a requirement. When WASM garbage collector ready, supporting pure JavaScript features are not a problem. There is also a typed object proposal for WASM. TurboScript should be able to compile GC code and non-GC code. for now keep everything lite as possible.


openmvs: bump version to latest release and fix build

Motivation for this change
openmvs-unstable was based on an old version of openmvs and has been broken for a long time.
Things done
This commit bumps openmvs to a stable release, bumps the CGAL dependency to a needed newer version and fixes the build.
https://github.com/cdcseacave/openMVS/issues/364#issuecomment-499842586

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@ofborg eval

@ofborg eval

Please fix evaluation
undefined variable 'cgal_5' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/applications/science/misc/openmvs/default.nix:14:45

Please fix evaluation
undefined variable 'cgal_5' at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/applications/science/misc/openmvs/default.nix:14:45

Closed by #211780.


ENHANCEMENT REQ: Learned Abilities

Could you implement, into your addon, the ability to read if a certain ability is learned?
Currently for this to "work," I need to set the level of my character, in the conditions, to list the same level that the ability is learned, but this doesn't take into account if I'm grinding mobs/finishing quests between the time of hitting that level and visiting the trainer to actually learn the spell.
The second part to this feature request would be the ability to enter in spell name on a toon that doesn't yet have the ability.  For example, on a lower level priest, being able to create a rotation starting with Shadowform when the spell/talent is not yet learned on THAT character.  If I use a high enough character (that has that spell/talent) I can input it and then export the information to my lower level alt.

There is already a condition of 'Spell is Available' - it should cover that case (among others).
That said, Rotation Master is already smart enough to check IsSpellKnown when evaluating a rotation step, so if you don't know it, the condition should be skipped, regardless of the conditions you use.
re: spells you don't know.  You could use 'Any Spell' instead of just 'Spell' (any spell lets you select any spell in the game).  There  are 3 kinds of spell actions/conditions.  "Spell" which specifically looks for spells in your spell book, "Pet Spell" which does what it says on the tin (though it will only show pet spells for pets you have summoned since last UI reload, this is a WoW restriction), and "Any Spell", which takes off the guard rails completely and lets you select any spell at all.  Even for a different class, or that an NPC would cast.
The any spell list might take some time to populate, though you can always just put in the spell ID (look it up on wowhead) and it will figure it out.
Does that answer everything in this ticket?  I believe that everything you are asking for is already part of the addon.

Yes that answered this ticket fully.  I did have to update to the current version (v1.4.1a) to get the any spell and apply the fix that was listed in #11.
Love the add-on and thank you for your help on this :)


Wrong price calculation with graduated pieces

Description
I have a product e.g wine. Due to the fact that a wine carton contains 6 bottles the min. amount for a purchase is 6 bottles. So I entered the graduation for the product in steps of six. Everything works fine if I add the product to my shopping cart via the product side.
The problem is when I add the product directly from the search result page via the Button, the total price in the shopping card is for one product (one bottle). Nevertheless it shows in the dropdown the selection of 6 bottles.
Additional context

Hello,
thank you for creating this issue.
I have opened a ticket on our Issue Tracker for you. See the ticket link: https://issues.shopware.com/issues/NEXT-6970
Please use this ticket to track the state of your issue.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Wrapper function around a gulp.series cant be called in another gulp.series

Using gulp 4.
Suppose theres a working gulp function (either of those, both produce the sam results):
function files () {
  return gulp.src('/images')
    .pipe(gulp.dest('/dist/images'))
}

/* OR */

function files () {
  return del('/images')
}

If this function gets called like so, all works fine:
gulp.task('init', gulp.series(files))

gulp.task('wrapper', gulp.series('init'))

however, registering it as a task via a string makes no sense to me if theres no need to register them globally. storing them in objects seems much cleaner.
theres the option of running functions inside gulp tasks like so
gulp.task('wrapper', gulp.series(files))

this works if the called function files returns a gulp.src (the del package works aswell).
but if the function thats called from gulp.series returns a gulp.series itself like so:
function init () {
  return gulp.series(files)
}

gulp.task('wrapper', gulp.series(init))

It gives the error message: Did you forget to signal async completion?

is it possible for gulp.series / gulp.parallel to have the same kind of behaviour as gulp.src or del?

gulp.series and gulp.parallel return a function that takes a callback so that they can be used as functions passed into .task like your first examples:
gulp.task('init', gulp.series(files));

If you want to use gulp.series instead of another task you need to execute the returned function passing it a callback:
function init (cb) {
  gulp.series(files)(cb);
}

gulp.task('wrapper', gulp.series(init));

Hope that helps.

Thank you, that achieves the behaviour i wanted!
But shouldn't it be default behaviour?
My point is that gulp.src doesnt need the callback either:
function files () {
  return gulp.src('/images')
   .pipe(gulp.dest('/dist/images'))
}

I don't know the internal magic of gulp too well to see if this is a design choice or an inconsistency.

Take a look at these gulp 4 docs. They should explain it a little better.

They return a function to execute. In your original example, you weren't calling the function. It's not recommended to wrap the methods though because composition is so powerful.


GH-43119: [CI][Packaging] Update manylinux 2014 CentOS repos that have been deprecated

Rationale for this change
Jobs are failing to find mirrorlist.centos.org
What changes are included in this PR?
Updating repos based on solution from: https://github.com/apache/arrow/issues/43119#issuecomment-2203534492
Are these changes tested?
Via archery
Are there any user-facing changes?
No

GitHub Issue: #43119

@github-actions crossbow submit wheel-manylinux-2014*

Testing if the above works. If it does I'll have to update also the java-jni jobs and the r-binary jobs

@github-actions crossbow submit wheel-manylinux-2014-cp310-arm64

It seems that vault.centos.org does not have aarch64, error:
failed to solve: process "/bin/sh -c yum install -y dnf" did not complete successfully: exit code: 1
#8 1.314 http://vault.centos.org/centos/7/sclo/aarch64/rh/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
#8 1.314 Trying other mirror.

See: https://vault.centos.org/centos/7/sclo/

@raulcd looks like the aarch64 packages are in a different place: https://vault.centos.org/altarch/

@github-actions crossbow submit wheel-manylinux-2014*

@github-actions crossbow submit java-jars

@github-actions crossbow submit r-binary-packages

@kou maybe we should add my last commit to your PR instead but I think is ok to have it here. From what I can see this Dockerfile is only used on the r-binary-packages job

@github-actions crossbow submit r-binary-packages

@github-actions crossbow submit r-binary-packages

@github-actions crossbow submit r-binary-packages

@github-actions crossbow submit r-binary-packages

@github-actions crossbow submit r-binary-packages

@github-actions crossbow submit r-binary-packages

@github-actions crossbow submit r-binary-packages


Read namespace from SA or ENV to place ConfigMap at proper place

Fixes #51
If you want to test upfront, santode/dapr-shared:latest is available :)

merged! Thanks!


test: add more tests for ERC20Ubiquity contract

This PR adds more tests for https://github.com/ubiquity/ubiquity-dollar/blob/development/packages/contracts/src/dollar/ERC20Ubiquity.sol
Test coverage before:
|-------------------------------------------------+-----------------+-----------------+----------------+-----------------|
| src/dollar/ERC20Ubiquity.sol                    | 68.42% (13/19)  | 61.90% (13/21) |  0.00% (0/4)  | 91.67% (11/12) |
|-------------------------------------------------+-----------------+-----------------+----------------+-----------------|

Test coverage after:
|-------------------------------------------------+-----------------+-----------------+----------------+-----------------|
| src/dollar/ERC20Ubiquity.sol                    | 100.00% (19/19) | 100.00% (21/21) | 100.00% (4/4)  | 100.00% (12/12) |
|-------------------------------------------------+-----------------+-----------------+----------------+-----------------|

@ryzhak thanks for the surprise test coverage. Unfortunately we didn't set up a bounty for 100% test coverage on our token contracts and I'm unsure we really need it enough to pay for it!
I'd like to request the input of @0xcodercrane and @sergfeldman on how to proceed here.

sure, my point is that the best way to get to know the project is write tests for it )

Its also free for developers to contribute to our open-source project. Thanks for your contribution @ryzhak. we can merge your PR.


Default FlightSqlService Implementations

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Noticed whilst working on https://github.com/apache/arrow-datafusion/pull/6374, this trait is now substantial and requires a significant amount of boilerplate to implement a service, that may not be interested in a significant portion of the API surface
Describe the solution you'd like

I would like default implementations that return Status::unimplemented for all the trait methods
Describe alternatives you've considered

We could only provide impls for some subset, but this is likely more confusing than just providing blanket implementations for all of them
Additional context

FYI @alamb @avantgardnerio

I think the trait in question is https://docs.rs/arrow-flight/41.0.0/arrow_flight/sql/server/trait.FlightSqlService.html (and it has 40 methods!)

SGTM.
Another potential cleanup avenue would be exposing higher level abstractions (i.e. the ability to provide an object representing over database structure), then the 20 of these are get_flight_info XXX might be consolidated into one, with less onerous demands on the implementer.

label_issue.py automatically added labels {'arrow'} from #4485


Component not showing up correctly

Using webpack and npm following the Getting Started guide.
The compoenent is not rendering correctly(only showing up a hyperlink), the code snippet has been attached.
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import vuetify from './plugins/vuetify'

import VueSocialSharing from 'vue-social-sharing'

Vue.use(VueSocialSharing);

Vue.config.productionTip = false

new Vue({
  router,
  vuetify,
  render: h => h(App)
}).$mount('#app')

 <v-col style="padding-left: 35px">
        <ShareNetwork
          network="facebook"
          url="https://news.vuejs.org/issues/180"
          title="Say hi to Vite! A brand new, extremely fast development setup for Vue."
          description="This week, I’d like to introduce you to 'Vite', which means 'Fast'. It’s a brand new development setup created by Evan You."
          quote="The hot reload is so fast it\'s near instant. - Evan You"
          hashtags="vuejs,vite"
        >
          Share on Facebook
        </ShareNetwork>
      </v-col>

Have the same problem with quasar 2.   used the @next install and 3.0.9 all the same. Older quasar version worked with 3.0.8
Code :
<template>
     <div class="row justify-center full-width text-center">
   <q-card>
      <ShareNetwork
            network="facebook"
            url="https://blah.com"
            title="title"
            description="description"
            media="url"
          >
            Share on facebook
          </ShareNetwork>
  </q-card>
  </div>
</template>
<script>
</script>

bootfile :
import Vue from 'vue';
import VueSocialSharing from 'vue-social-sharing'
Vue.use(VueSocialSharing);

Any updates on this? I've having same issue

Same here with latest Vue 2 and tailwind.


Smartling translations are updated for PR#5986 from feat/LIVE-10541-add-translated-ts-discover

Please review this translation file update. Changes in the source file have been applied. The relevant Smartling translation job may be empty - https://dashboard.smartling.com/app/accounts/d32c14dd/account-jobs/be90da906:a5duchyxixmy

Not sure we actually need this as we don't have i18n modifications anymore in the source branch


[rom_ctrl/dv] Add checking on outputs

This commit adds checking to the scoreboard for outputs sent to kmac,
keymgr and pwrmgr as well as updating expected values for the digest
csrs and reading them back in the smoke test.
Signed-off-by: Tom Roberts<EMAIL_ADDRESS>

Note that I changed the comment around digest registers in the HJSON. I believe these will never be checked in automatic csr tests (they do their own checking separate from the scoreboard) but could be wrong!


new snippets w/ descriptions, README modified

10 new snippets, with descriptions.
changed README.md, two badges, new list of snippets.

This is the first time i contribute on a snippets repository.
I found it and even used some of your snippets for one of my projects. Thought it was cool and i think i can help, even though, extremely new to PySimpleGUI.
@acezx-programer  What do you think about the descriptions? And the "${values}" on some of the snippets? Do you have a better idea on how to display the commands on the readme?

Hi there!
thanks for contributing, I made this extension as a side project and never thought anybody would contribute.
I think it is great because I never really know how to add good descriptions, thanks again!
I would like to add credits is that okay?

@acezx-programer most of the descriptions are from the documentation. don't know why you closed the pull request.

i mean, should i reopen it?

@acezx-programer well, now that you updated the repository, there is no use of opening the pull request (that had all those changes).
When someone wants to collaborate, you need to check the commits/changes and then confirm to merge the pull request.

I'm sorry, I'm extremely new to this stuff, I usually just browse and never deal with repos before