Capture not working

I tried to use the audio capture functionality (using open_capture from Alto) and it failed with the error
UnsupportedVersion { major: 0, minor: 0 }
I tested this on

Arch Linux with openal version 1.18.2
Debian with openal version 1.17.2
Fedora with openal version 1.18.0

Lets investigate further:
running cargo test on the alto repo also fails with the same error in the capture tests
by stepping trough alto in the debugger we find that the check_version function in alc.rs in line 221 seems to be the problem, but the code looks correct
https://github.com/jpernst/alto/blob/e22efe2e985fe064b24033cf6c7c01b8d587b5c5/src/alc.rs#L221-L234
stepping further into libopenal we arrive at the GetIntergerv function in line 3164 (current master)
https://github.com/kcat/openal-soft/blob/d7895db166fe77bbeb360201a65a11f99693a65d/Alc/ALc.c#L3164-L3183
The code in and beyond this line suggests that getting major and minor versions for capture devices is not supported and always produces an ALC_INVALID_ENUM error. So the major and minor in check_verison are initialized with 0 but never changed. This results in the error.
Not sure what the best fix is, but my first thought was to simply remove the version check from open_capture. (or we suggest a fix in openal, but not sure how easy that would be)

Thanks for digging into this. I agree that there's no great solution here, and that removing the version check on capture devices for now is probably just the best option, so I've published a new version that does that. The tests seem to pass now.

Quick followup, just mentioned this to kcat on IRC and he agrees it's probably an oversight and will fix it. I'll leave the version check stubbed out for a while though since it will be some time before the fix becomes mainstream.


SeLion Grid does not get shutdown after run when using runLocally=true

After the change with running locally the server is not getting shutdown correctly when the run is finished. When I run another grid is getting started which at some points leads to multiple running grid's which use up all system resources.

This issue only occurs when there is another SeLion Grid already started manually.

@renelux I don't follow. Are you first using SeLion-Grid-jar-with-dependencies to start a hub on the local machine and then ALSO running with runLocally=true on the SeLion "client" side? if so, then yes, I can see how this will create an issue -- it's not a scenario that we expect.

So the situation only occurs when there is another grid running on the machine. Problem is that the Grid gets started again (which does not work as port 4444 is already taken), but the process doesn't get killed and it ends up taking all CPU.
I know it is not an expected scenario, but can't you detect if there is a grid running and throw a error or a warning when that occurs? Or just connect to the Grid that someone already started.

@renelux will make a change to guard against port already in use.


Fix the rendering of basis blades in the printer

This introduces new sympy objects to represent the basis blades, so that we can define printers for these specifically.
It also implements the sympy "pretty" printer.
This fixes all the issues in #263 except the one requiring sympy/sympy#17926:

Still needs:

[x] Docstrings
[x] Gutting of the bits of printer intended to support this
[x] Support for sympy 1.3
[ ] Possibly better names?

Opened https://github.com/github/codeql/issues/3450 to track the LGTM failure, will delete the comments from now on unless they contain something different.

It’s a bit weird with the commit log: There’s only one commit and its commit log feels like only one of many commits.

What do you mean by that?

Oh, now I see what you mean. Will fix

Fixed, there are now two commits.
Failure on sympy master is because of my upstream change to sympy, will attempt to nbsanitize it


yarn add sqlite3 package failed to install

OS: Pop_OS 64bits
npm: 6.14.8
node: 12.19.0
yarn: 1.22.5
message error:
`npm install sqlite3
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported

<EMAIL_ADDRESS>install /media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v72 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/build'
CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
AR(target) Release/obj.target/../node-addon-api/nothing.a
COPY Release/nothing.a
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3320300/sqlite3.c
/bin/sh: 1: Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/build/Release/lib.host:/media/carlossantos/Arquivos/Carlos: not found
/bin/sh: 1: python: not found
make: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3320300/sqlite3.c] Error 127
make: Leaving directory '/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.8.0-7630-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/lib/binding/napi-v6-linux-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
gyp ERR! cwd /media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3
gyp ERR! node -v v12.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/lib/binding/napi-v6-linux-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
node-pre-gyp ERR! stack     at ChildProcess. (/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 5.8.0-7630-generic
node-pre-gyp ERR! command "/usr/bin/node" "/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.19.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/media/carlossantos/Arquivos/Carlos Eduardo/Documents/Cursos/Omnstack11/aulas/backend/node_modules/sqlite3/lib/binding/napi-v6-linux-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/carlossantos/.npm/_logs/2021-01-20T04_33_14_736Z-debug.log`

Just use 5.0.0, or install python-is-python3 so the build will work.
RANT_BEGIN
The whole point of semvar versioning is that a patch releases should never break an update.  Unfortunately due to the nature of binary builds this is not really the case.  5.0.1 was released over 4 months ago, so why there is no binary builds for this, I'm not sure.  The problem is even worse for Windows users, getting a build chain running is sometimes a right pain, and Linux or Windows expecting end users to have the build chains in place is not ideal.  Sorry for the rant, but it's things like this that really spoil the node/npm ecosystem.
RANT_END

Just use 5.0.0, or install python-is-python3 so the build will work.
RANT_BEGIN
The whole point of semvar versioning is that a patch releases should never break an update.  Unfortunately due to the nature of binary builds this is not really the case.  5.0.1 was released over 4 months ago, so why there is no binary builds for this, I'm not sure.  The problem is even worse for Windows users, getting a build chain running is sometimes a right pain, and Linux or Windows expecting end users to have the build chains in place is not ideal.  Sorry for the rant, but it's things like this that really spoil the node/npm ecosystem.
RANT_END

I have the same issue - downgrading to 5.0

I have the same issue - downgrading to 5.0

Coming back to confirm that downgrading to 5.0.0 fixed the issue kudos @KpjComp

Coming back to confirm that downgrading to 5.0.0 fixed the issue kudos @KpjComp

OK, @KpjComp  i'll try to install version 5.0

OK, @KpjComp  i'll try to install version 5.0

It's really only working with version 5.0.0. But thank you very much.

It's really only working with version 5.0.0. But thank you very much.

@Solrac23  are we sure we want to close this issue? I dont think a minor semver should have any breaking change.  Root cause still hasn't been found.

@Solrac23  are we sure we want to close this issue? I dont think a minor semver should have any breaking change.  Root cause still hasn't been found.

@maxwellsmart84 you're right, i will leave the issue open so that maybe they can find some solution.
But for hour version 5.0.0 has already helped me a lot.

@maxwellsmart84 you're right, i will leave the issue open so that maybe they can find some solution.
But for hour version 5.0.0 has already helped me a lot.

node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz

Installation has failed because the tars are not found. Any ways to fix them?

node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz

Installation has failed because the tars are not found. Any ways to fix them?

node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz

Installation has failed because the tars are not found. Any ways to fix them?

install manually npm install https://github.com/mapbox/node-sqlite3/tarball/master

node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz

Installation has failed because the tars are not found. Any ways to fix them?

install manually npm install https://github.com/mapbox/node-sqlite3/tarball/master

Can confirm install fails with yarn (using command yarn add sqlite3 to install) on Windows 10. Installing an older version 5.0.0 using yarn add<EMAIL_ADDRESS>works for me

Please update to the latest version, I have attempted to resolve the issues with 5.0.0 but it will take longer than expected.


code moved towards pep8 conventions for amss.rst

hey @jstac this lecture has timed out on travis-ci as well. The code changes don't appear to break any execution.

I will upate the .travis.yml to increase the individual lecture time allowed to 30 minutes.

@jstac this is now passing.

Thanks @mmcky :- )


refactor static app deployment

Right now we need to specify all files we're deploying individually in the config. It would be nice to just specify directories and deploy everything under.
This isn't completely simple as we need to state the content type for each file being served so HTTP responses get set right. This is easy for some file extensions, but if we have arbitrary things it could get hairy.
When we do this refactor, we also need to modify how we track the hosted paths we use to make ALB listener rules. This bookkeeping is in the iteration over the enumerated sa_files in _deploy_static_app. pathlib.Path.parent does not take into consideration things that happen with embedded relative paths (like a/b/c/../c2) and bad things could happen. If we switch to directories, this may not matter anyway.
Similarly, we add listener rules for all paths (not including filenames) for all files deployed for static apps.  We really only need paths that could be requested in a URL, like root paths for an app, not subs like _app (that is found in svelte apps)

This is OBE as of #180


Add arm specific syscalls to default seccomp profile

These were missing, sorry. See #19076
I need to double check if we should allow these, but I think they are fine.

Thank you!
ping @jfrazelle :+1:

@justincormack looks better now on Scaleway, but still an error:
I've built #19076 with this commit applied. My Jenkins job is configured like this:
Repository URL: git@github.com:tianon/docker
Branches to build: */multiarch
docker version

git config user.mail<EMAIL_ADDRESS>git config user.name foo
git remote add justincormack https://github.com/justincormack/docker || true
git fetch justincormack
git cherry-pick c2f6a09db116f2127e82dc970ed56500c33922e1

make test-integration-cli

---> Making bundle: .integration-daemon-setup (in bundles/1.10.0-dev/test-integration-cli)
---> Making bundle: .detect-daemon-osarch (in bundles/1.10.0-dev/test-integration-cli)
---> Making bundle: .ensure-emptyfs (in bundles/1.10.0-dev/test-integration-cli)
++++ tar -cC bundles/1.10.0-dev/test-integration-cli/emptyfs .
++++ docker load
---> Making bundle: .ensure-frozen-images (in bundles/1.10.0-dev/test-integration-cli)
++++ tar -cC /docker-frozen-images .
++++ docker load
++++ set +x
Untagged: armhf/busybox:latest
Untagged: armhf/debian:jessie
Untagged: armhf/hello-world:latest
Untagged: hello-world:latest
---> Making bundle: .ensure-httpserver (in bundles/1.10.0-dev/test-integration-cli)
---> Making bundle: .ensure-syscall-test (in bundles/1.10.0-dev/test-integration-cli)
Sending build context to Docker daemon 8.192 kB

Step 1 : FROM debian:jessie
 ---> c1f57d65a386
Step 2 : RUN apt-get update && apt-get install -y 	gcc 	libc6-dev 	--no-install-recommends 	&& rm -rf /var/lib/apt/lists/*
 ---> Running in 472d53dc4c4b
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://httpredir.debian.org jessie InRelease
Get:2 http://httpredir.debian.org jessie-updates InRelease [136 kB]
Get:3 http://httpredir.debian.org jessie Release.gpg [2373 B]
Get:4 http://httpredir.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main armhf Packages [224 kB]
Get:6 http://httpredir.debian.org jessie-updates/main armhf Packages [3589 B]
Get:7 http://httpredir.debian.org jessie/main armhf Packages [8836 kB]
Fetched 9414 kB in 55s (169 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils cpp cpp-4.9 gcc-4.9 libasan1 libatomic1 libc-dev-bin libcloog-isl4
  libgcc-4.9-dev libgmp10 libgomp1 libisl10 libmpc3 libmpfr4 libubsan0
  linux-libc-dev
Suggested packages:
  binutils-doc cpp-doc gcc-4.9-locales gcc-multilib make manpages-dev autoconf
  automake libtool flex bison gdb gcc-doc gcc-4.9-doc libgcc1-dbg libgomp1-dbg
  libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0-dbg libtsan0-dbg
  libubsan0-dbg libcilkrts5-dbg libquadmath-dbg glibc-doc
The following NEW packages will be installed:
  binutils cpp cpp-4.9 gcc gcc-4.9 libasan1 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libgcc-4.9-dev libgmp10 libgomp1 libisl10 libmpc3 libmpfr4
  libubsan0 linux-libc-dev
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 58.9 MB of additional disk space will be used.

(Reading database ...

Preparing to unpack .../libasan1_4.9.2-10_armhf.deb ...
Unpacking libasan1:armhf (4.9.2-10) ...
Selecting previously unselected package libatomic1:armhf.
Preparing to unpack .../libatomic1_4.9.2-10_armhf.deb ...
Unpacking libatomic1:armhf (4.9.2-10) ...
Selecting previously unselected package libgmp10:armhf.
Preparing to unpack .../libgmp10_2%3a6.0.0+dfsg-6_armhf.deb ...
Unpacking libgmp10:armhf (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libisl10:armhf.
Preparing to unpack .../libisl10_0.12.2-2_armhf.deb ...
Unpacking libisl10:armhf (0.12.2-2) ...
Selecting previously unselected package libcloog-isl4:armhf.
Preparing to unpack .../libcloog-isl4_0.18.2-1+b2_armhf.deb ...
Unpacking libcloog-isl4:armhf (0.18.2-1+b2) ...
Selecting previously unselected package libgomp1:armhf.
Preparing to unpack .../libgomp1_4.9.2-10_armhf.deb ...
Unpacking libgomp1:armhf (4.9.2-10) ...
Selecting previously unselected package libmpfr4:armhf.
Preparing to unpack .../libmpfr4_3.1.2-2_armhf.deb ...
Unpacking libmpfr4:armhf (3.1.2-2) ...
Selecting previously unselected package libubsan0:armhf.
Preparing to unpack .../libubsan0_4.9.2-10_armhf.deb ...
Unpacking libubsan0:armhf (4.9.2-10) ...
Selecting previously unselected package libmpc3:armhf.
Preparing to unpack .../libmpc3_1.0.2-1_armhf.deb ...
Unpacking libmpc3:armhf (1.0.2-1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.25-5_armhf.deb ...
Unpacking binutils (2.25-5) ...
Selecting previously unselected package cpp-4.9.
Preparing to unpack .../cpp-4.9_4.9.2-10_armhf.deb ...
Unpacking cpp-4.9 (4.9.2-10) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.9.2-2_armhf.deb ...
Unpacking cpp (4:4.9.2-2) ...
Selecting previously unselected package libgcc-4.9-dev:armhf.
Preparing to unpack .../libgcc-4.9-dev_4.9.2-10_armhf.deb ...
Unpacking libgcc-4.9-dev:armhf (4.9.2-10) ...
Selecting previously unselected package gcc-4.9.
Preparing to unpack .../gcc-4.9_4.9.2-10_armhf.deb ...
Unpacking gcc-4.9 (4.9.2-10) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.9.2-2_armhf.deb ...
Unpacking gcc (4:4.9.2-2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-18+deb8u1_armhf.deb ...
Unpacking libc-dev-bin (2.19-18+deb8u1) ...
Selecting previously unselected package linux-libc-dev:armhf.
Preparing to unpack .../linux-libc-dev_3.16.7-ckt20-1+deb8u2_armhf.deb ...
Unpacking linux-libc-dev:armhf (3.16.7-ckt20-1+deb8u2) ...
Selecting previously unselected package libc6-dev:armhf.
Preparing to unpack .../libc6-dev_2.19-18+deb8u1_armhf.deb ...
Unpacking libc6-dev:armhf (2.19-18+deb8u1) ...
Setting up libasan1:armhf (4.9.2-10) ...
Setting up libatomic1:armhf (4.9.2-10) ...
Setting up libgmp10:armhf (2:6.0.0+dfsg-6) ...
Setting up libisl10:armhf (0.12.2-2) ...
Setting up libcloog-isl4:armhf (0.18.2-1+b2) ...
Setting up libgomp1:armhf (4.9.2-10) ...
Setting up libmpfr4:armhf (3.1.2-2) ...
Setting up libubsan0:armhf (4.9.2-10) ...
Setting up libmpc3:armhf (1.0.2-1) ...
Setting up binutils (2.25-5) ...
Setting up cpp-4.9 (4.9.2-10) ...
Setting up cpp (4:4.9.2-2) ...
Setting up libgcc-4.9-dev:armhf (4.9.2-10) ...
Setting up gcc-4.9 (4.9.2-10) ...
Setting up gcc (4:4.9.2-2) ...
Setting up libc-dev-bin (2.19-18+deb8u1) ...
Setting up linux-libc-dev:armhf (3.16.7-ckt20-1+deb8u2) ...
Setting up libc6-dev:armhf (2.19-18+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
The command '/bin/sh -c apt-get update && apt-get install -y 	gcc 	libc6-dev 	--no-install-recommends 	&& rm -rf /var/lib/apt/lists/*' returned a non-zero code: 137
/go/src/github.com/docker/docker/hack/make.sh: line 255: local: can only be used in a function

Do you think that this may be related to #18125?
Could we test it at the same time? (to build it with go1.5)
/cc @tianon

@luxas seccomp was introduced for ARM with https://github.com/docker/docker/commit/43ee5643261f9b8741ab23a1749b3d55e13171c5 in December. The problem with go 1.5 also exists without the build tag.

This fixes not being able to run binaries at all with seccomp for me, still testing further.

looks like it needs a rebase, @justincormack

rebased.

Ok I removed two of the syscalls as obsolete (usr26, usr32) which tell you if you have a 26 bit arm, ie arm 1 or 2. I think you would know. https://en.wikipedia.org/wiki/26-bit#Early_ARM_processors

I think this is good now. @StefanScherer I think your issues are unrelated to this, I am also now getting unrelated issues. Perhaps we should create an arm specific issue and get this working.

@justincormack now it looks good!
---> Making bundle: .integration-daemon-setup (in bundles/1.10.0-dev/test-integration-cli)
---> Making bundle: .detect-daemon-osarch (in bundles/1.10.0-dev/test-integration-cli)
---> Making bundle: .ensure-emptyfs (in bundles/1.10.0-dev/test-integration-cli)
++++ tar -cC bundles/1.10.0-dev/test-integration-cli/emptyfs .
++++ docker load
---> Making bundle: .ensure-frozen-images (in bundles/1.10.0-dev/test-integration-cli)
++++ tar -cC /docker-frozen-images .
++++ docker load
++++ set +x
Untagged: armhf/busybox:latest
Untagged: armhf/hello-world:latest
Untagged: armhf/debian:jessie
---> Making bundle: .ensure-httpserver (in bundles/1.10.0-dev/test-integration-cli)
---> Making bundle: .ensure-syscall-test (in bundles/1.10.0-dev/test-integration-cli)
++++ '[' linux = linux ']'
++++ docker build -qt syscall-test contrib/syscall-test
++ bundle_test_integration_cli
++ TESTFLAGS=' -test.timeout=180m -check.v'
++ go_test_dir ./integration-cli
++ dir=./integration-cli
++ coverpkg=
++ testcover=()
++ '[' 1 ']'

and this build starts the integration-cli tests. Thanks!

Thanks! LGTM

@justincormack just tested this on a new scaleway machine
Linux scw-677a6e 4.1.6-249 #1 SMP Mon Aug 31 12:34:47 UTC 2015 armv7l GNU/Linux

Here's my branch that has this change + Tianon's - https://github.com/dave-tucker/docker/tree/arm_testing
Compiled with:
$ make binary
Docker info:
Containers: 2
Images: 45
Server Version: 1.10.0-dev
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.1.6-249
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 1.975 GiB
Name: scw-677a6e
ID: ADI4:PHVV:D427:2VPK:D5OO:GDSW:CX47:7CGO:RQVE:QB6F:C4PG:DRBB
Debug mode (server): true
 File Descriptors: 13
 Goroutines: 22
 System Time: 2016-01-11T16:35:42.4648453Z
 EventsListeners: 0
 Init SHA1:
 Init Path: /usr/bin/docker
 Docker Root Dir: /var/lib/docker
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support

Seccomp appears broken to me:
$ docker run -it armhf/busybox
error loading seccomp filter into kernel: invalid argument
docker: Error response from daemon: Cannot start container add95234d4714715fe1261a84b6a3c236b2ca74f13b9e87e7a7a2f23ae4b9414: [9] System error: error loading seccomp filter into kernel: invalid argument.

That command works ok on docker 1.9 though...

@dave-tucker works fine here:
Built a docker binary with PR #18176 (rebased to master an hour ago) + PR #19217.
git clone -b 17802-build-first-debian-package-for-arm https://github.com/hypriot/docker
git remote add justincormack https://github.com/justincormack/docker || true
git fetch justincormack
git cherry-pick 37d35f3c280dc27a00f2baa16431d807b24f8b92
make binary

And replaced this binary directly on the Scaleway machine:
root@scw-05:/var/lib# docker version
Client:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.4.3
 Git commit:   69037e4
 Built:        Mon Jan 11 16:47:59 2016
 OS/Arch:      linux/arm

Server:
 Version:      1.10.0-dev
 API version:  1.22
 Go version:   go1.4.3
 Git commit:   69037e4
 Built:        Mon Jan 11 16:47:59 2016
 OS/Arch:      linux/arm
root@scw-05:/var/lib# docker run -it armhf/busybox
Unable to find image 'armhf/busybox:latest' locally
latest: Pulling from armhf/busybox
15952ceb1f9f: Pull complete
Digest: sha256:d98a7343ac750ffe387e3d514f8521ba69846c216778919b01414b8617cfb3d4
Status: Downloaded newer image for armhf/busybox:latest
/ # uname -a
Linux b4d01054a41b 4.2.5-263 #1 SMP Wed Nov 4 17:03:17 UTC 2015 armv7l GNU/Linux

Ah, I see a difference. It seems that you use a different Scaleway image. We have created the Scaleway machines with the Scaleway image "Docker 1.9.0" in November. A uname -a shows this:
root@scw-05:/tmp# uname -a
Linux scw-05 4.2.5-263 #1 SMP Wed Nov 4 17:03:17 UTC 2015 armv7l armv7l armv7l GNU/Linux

So looks like my issue is down to the following:
# Kernel 4.2.5
root@scw-3fde42:~# cat config | grep SECCOMP
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_SECCOMP=y

# Kernel 4.1.6
root@scw-677a6e:~# cat config/config | grep SECCOMP
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
# CONFIG_SECCOMP is not set

So it turns out that error loading seccomp filter into kernel: invalid argument is a pretty crappy error message :hankey:
Tested on 4.2.5 on Scaleway and LGTM

CONFIG_SECCOMP is in contrib/check-kernel-blah-blah already so that might
help but ya
On Mon, Jan 11, 2016 at 9:54 AM, Dave Tucker<EMAIL_ADDRESS>wrote:

So looks like my issue is down to the following:
Kernel 4.2.5
root@scw-3fde42:~# cat config | grep SECCOMP
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_SECCOMP=y
Kernel 4.1.6
root@scw-677a6e:~# cat config/config | grep SECCOMP
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP is not set
So it turns out that error loading seccomp filter into kernel: invalid
argument is a pretty crappy error message [image: :hankey:]
Tested on 4.2.5 on Scaleway and LGTM
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/19217#issuecomment-170633377.

I can make a PR for the error, but this LGTM

Thanks!

:heart: thanks!


Feature/tabs

Tabs component, ready for use. Not fully documented yet
Checklist:

[ ] Documentation
[x] Tests
[ ] Ready to be merged

Deploy preview for govuk-react processing.
Building with commit 6bc3377559a5e5e2019e3934f11e326ed570f2a7
https://app.netlify.com/sites/govuk-react/deploys/5c795ae032cc3200093901d1

Codecov Report

Merging #582 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

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

Rebasing went a bit wrong - oops - closing in favour of #584


Split Functions in the Authentication Recipe

The current authentication recipe does a little too much.  Right now it:

installs authentication packages
creates /etc/ldap.conf and #{node['openldap']['dir']}/ldap.conf
adds ldap to nsswitch.conf
configures PAM to use ldap via /etc/pam.d/common-*
writes a login_access.conf file restricting access

This works, but in our situation this is a problem because we want kerberos authentication (provided by the krb5 cookbook) but need LDAP for user and group resolution.  With this current cookbook, we can't configure LDAP for user/group resolution without un-configuring kerberos authentication.
We need to split the auth recipe, leaving the authentication-centric pieces (packages, PAM, login_access) in the auth recipe and putting the resolution pieces (the ldap.conf and nsswitch.conf) in another recipe.

In version 2.2.3, fixed in commit 49da98


[Feature] Add the Setup Instructions

Feature :rocket:
Objective :pushpin:
List out the instructions for setting up the project to help new Contributors get started with this Project.
Features to be added / modified :ballot_box_with_check:

Add a Setup.md to allow new users to get started with knowing how to execute and see the output.
Add Screenshots wherever possible.
Mention the tools that are to be used while setting up the project
Include the links to setting up the same from here
Add instructions to virtual hosting the project

/assign


Incomplete implementation of Ctrl-C

When reading code of Trealla, I find that implementation of Ctrl-C is incomplete, comparing to behaviors in Erlang and several Prolog implementations.
I think you are aware of it, just create a issue to track it.

Correct. Will get around to.


It's possible to use with AD authentication?

It's possible to use with AD authentication?

Sorry, but i'm going to need a little more context? What are you actually trying to achieve?

Hi, I've configured identity in Umbraco ( see https://github.com/Shazwazza/UmbracoIdentity ) and configured for Active Directory authentication for backoffice. This step works. Now, I activated the OAuth integrated server, but I wish an OAuth server for Umbraco membership and user.
Into UmbracoIdentityStartup:
`app.ConfigureUserManagerForUmbracoBackOffice<BackOfficeUserManager, BackOfficeIdentityUser>(
ApplicationContext,
(options, context) =>
{
var membershipProvider = MembershipProviderExtensions.GetUsersMembershipProvider().AsUmbracoMembershipProvider();
var userManager = BackOfficeUserManager.Create(options,
ApplicationContext.Services.UserService,
ApplicationContext.Services.ExternalLoginService,
membershipProvider);
                // Call custom passowrd checker.
                userManager.BackOfficeUserPasswordChecker = new BackofficeMembershipProviderPasswordChecker();

                return userManager;
            });

`
Into a my class:
`public class BackofficeMembershipProviderPasswordChecker : IBackOfficeUserPasswordChecker
{
public Task CheckPasswordAsync(BackOfficeIdentityUser user, string password)
{
// Access provider.
if (Membership.Providers["BackofficeMembershipProvider"] == null)
{
throw new InvalidOperationException("Provider 'BackofficeMembershipProvider' is not defined.");
}
var adProvider = Membership.Providers["BackofficeMembershipProvider"];
        // Check the user's password.
        var validUser = adProvider.ValidateUser(user.UserName, password) ? Task.FromResult(BackOfficeUserPasswordCheckerResult.ValidCredentials) : Task.FromResult(BackOfficeUserPasswordCheckerResult.InvalidCredentials);

        return validUser;
    }
}

`
Into web.config:
<add          name="BackofficeMembershipProvider"          type="System.Web.Security.ActiveDirectoryMembershipProvider"          connectionStringName="ADConnectionString"          attributeMapUsername="sAMAccountName"          connectionUsername="DOMINIO\ABCXYZ"          connectionPassword="password"/>

Hi, Thanks for the extra info. I can't say I've really tried using AuthU with the UmbracoIdentity add on. The aim of AuthU was to be a simpler implementation not requiring the use of OWIN as IMO this just makes things really complicated (as you are finding).
AuthU does come with "UserService" for both Umbraco user and members, so it is possible to configure it for both (see the docs here https://github.com/mattbrailsford/umbraco-authu). If you want to connect AD though, then you have two options, either try and get UmbracoIdentity to work with AuthU so you can just call umbraco API's, or create a custom AuthU UserService to access AD directly. Unfortunately neither of these are out of the box and so would require you to do some custom development.
You'd need to implement the IOAuthUserService interface which you can find here https://github.com/mattbrailsford/umbraco-authu/blob/master/src/Our.Umbraco.AuthU/Interfaces/IOAuthUserService.cs, and you can find some example implementations here https://github.com/mattbrailsford/umbraco-authu/tree/master/src/Our.Umbraco.AuthU/Services.
Hopefully this will give you a good starting point.
Many thanks
Matt

And for socials?


Add rule to prevent deregistering scripts.

Added wp_deregister_script with a unit test.
Not sure if this is the way to do this, please let me know if it isnt!

Hi @Pross Thanks for this! Great to see the enthousiasm & willingness to contribute to this project.
In this case, your PR does need some work. Are you open for some coaching from me on this ?

Of course!
PM me on Slack.

As discussed on Slack - PR reviews will take place here on GH as that way it can also be used as a reference for future contributors.
As you're very quick to the party (quicker than I expected others to start contributing code), there will be a few start up hickups due to some changes we've initiated in the WPCS project.
There is a PR open in WPCS at the moment to start checking for code style. As we very much would like the theme review branch to comply, I intended to rebase the theme review branch once that was merged and then to rebase my own open PRs on the rebased theme review branch. Yeah, I know, a bit of a hassle, but this would mean we'd have a clean code base to start from and the means to keep it that way.
Once all the rebasing is done, we'll start merging PRs for items which have either been approved or are already well documented in the handbook.
I hope you don't mind, but that does imply that I will ask you to rebase your PR some time over the next few days as well (hoping the open PR will be merged soon). So please bear with me on that.
Having said all that, I'll now start leaving some feedback on the code ;-)
On one last note: you may want to consider using named feature branches forked from the feature/theme-review-sniffs branch. That way it'll be easier to contribute to different issues and keeping the code changes for each issue isolated.

Ok, review notes are inline. As a side-note: as mentioned above, WPCS will start checking for code style. The current files do not comply.
All the same, I wouldn't worry about it for now. Once the whole rebasing is done, you can check it yourself against the WPCS internal ruleset or wait for travis to tell you once the PR has been updated.

Updated the PR.
Moved sniff to the Theme folder as per PR10 Also renamed the classes/files and made the examples a bit more realistic.

P.S.: I've changed the issue title to better cover the PR. Hope you don't mind.

Closing for rewrite.

@Pross You don't need to close the PR. You can just reset the branch and start again.

Any idea how? Do I have to revert my commits?

The check failed because of these styling issues.
FILE: ...Standards/WordPress/Sniffs/Theme/NoDeregisterCoreScriptSniff.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
 50 | ERROR | [x] Functions must not contain multiple empty lines in a
    |       |     row; found 2 empty lines
    |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines)
 58 | ERROR | [x] Expected 1 space after IF keyword; 0 found
    |       |     (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
 58 | ERROR | [x] Space after opening control structure is required
    |       |     (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen)
 58 | ERROR | [x] No space before opening parenthesis is prohibited
    |       |     (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis)

Any idea how? Do I have to revert my commits?

@Pross Still need help with how to do this ? If so, feel free to ping me on Slack later today and I'll talk you through it.
Short answer would be: no to reverting. Just reset your branch to the original point where you split off from the theme-review-sniffs branch. Create a new commit which includes your previous changes and your new changes in one and then force push it to the branch on GH. As the branch is still the same, this PR will be updated with the fresh copy and previous commits will disappear as if they never existed ;-)
While you're at it, you may want to rebase the branch against the current state of the theme-review-sniff branch as well.
Warning: Only do this for a branch in which you are the only one working on it, otherwise things could get ugly ;-)

@Pross FYI - the FunctionsRestrictionsSniff has now been turned into a proper abstract WordPress_AbstractFunctionRestrictionsSniff to avoid the earlier confusion we had about this.
See: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/603

My travis build failed because of another PR
`FILE: ...Coding-Standards/WordPress/Sniffs/Theme/NoAddAdminPagesSniff.php
FOUND 1 ERROR AFFECTING 1 LINE
62 | ERROR | [x] Blank line found after control structure
|       |     (WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd)
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------`

My travis build failed because of another PR

@Pross I've solved this in the branch, if you rebase, you won't get the error anymmore.

Rebased, All good.

@Pross Looks like something went wrong with the rebase - this branch now contains commits which are already in the main theme-review-sniffs branch. Could you please check this ?
Let me know if you need help with straightening this out.

Was I supposed to do any different?

No... but the effect should have been different. Hang on... I'll check out your fork and have a look what's going on.

@Pross Something really weird is going on there. It did not rebase nor merge. The split off is still at the old point (14/7), but the commits which were added to the main branch have been added on top - totally not how a rebase should work.
Want me to help you sort it out ? If so, ping me on Slack or Skype, we'll take this off GH.

Hi @Pross Ok, so a lot has been happening in WPCS over the last few months and we're about ready to do a merge back into TRCS. We'd like to merge this PR before that, so I've had another look and have a couple more questions if you don't mind. Will add them inline.

@Pross Could you allow us maintainers to make changes to your PR. https://github.com/blog/2247-improving-collaboration-with-forks
I could then work on your PR to get it merged instead of needing to open a new PR.

Notes on what is needed for update:

Update for PHPCS 3.x
Update based on last review

If not, are you ok with me taking over & bringing it to the finish-line

Be my guest.

FYI: I've added one more commit to make the "dynamic handle" check yet more rigorous. This last commit can be squashed into the "update based on feedback" commit before merge.

FYI: And another commit updating the docblock for the script list. This one should probably be squashed into either or the last two commits before merge.

I've updated the PR based on @grappler's feedback (last commit) and squashed earlier commits which needed squashing. Just one open question left and this can be merged: https://github.com/WPTRT/WordPress-Coding-Standards/pull/26#discussion_r205975121

In the meeting an interesting point was raised by @joyously:

I think it's the combination that makes it unwanted because parent theme scripts can be deregistered.
Wouldn't it be okay to deregister a parent script? But not a plugin script? Or a core script?

So we should only forbid deregistering core scripts? Because we know which script is a core script (https://developer.wordpress.org/reference/functions/wp_enqueue_script/#default-scripts-included-and-registered-by-wordpress).

The sniff only looks at deregistering and only for core scripts, so the last two comments are - as far as I'm concerned - already addressed.

Actions needed

[ ] Someone needs to review to sniff and if so inclined, approve & merge it.

Action for later

[ ] Review and update the script list. @dingo-d has a good list available and will take on this action.

Ok, since nobody gave the advice about the core scripts, I'll assume that the list is ok. Also I ran the unit test with the wp_deregister_script( 'j' . 'query' ); example and it threw an error, so this seems to be covered/fixed.
Not really sure if something else needs to be done on it, so I'll approve it.


Update specs2-cats, specs2-core to 4.12.5

Updates

org.specs2:specs2-cats
org.specs2:specs2-core

from 4.6.0 to 4.12.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

labels: library-update, semver-minor

Superseded by #164.


Could not send message after 3 retries. Websocket not available

On my Windows machine, when I open a Flix project I now just see:
Could not send message after 3 retries. Websocket not available.
Could not send message after 3 retries. Websocket not available.

I just ran it getting the same results. Then I fully quit VSCode and ran it again and it worked fine. Could it be some faulty editor update that got patched?

I have seen it multiple times, but let me try to get confirmation.

This does seem to happen after standby

Would it be possible to:
(1) Show a notification saying that the connection has been lost and to restart Flix?
(2) Debounce this message so that it does not appear 3 or 100000 times?

Communication lost -> Do you want to restart?
(Ensure everything is cleared up)


Blur went from high to low quality

As the title says blur went from high to low quality. Now it doesn't look nearly as smooth as it used to. I opened old version of project where I knew it worked fine, but it's skewed there too. Any ideas what's happening ?

Hi @AnteDelic can you provide some more information about the issue you're experiencing? Screenshots or code snippets would be very helpful in diagnosing your issue. I'll reopen this issue then. Thanks!


Add Vulkan 1.3 version to Vulkan version validation and Add Spir-v 1.6

Description
I added Vulkan 1.3 version to Vulkan version validation. To prevent show breakpoint ("Invalid Vulkan minor version!") when using Vulkan 1.3 SDK.
Testing

TODO list:

Can one of the admins verify this patch?

@mhk2012 I need a DCO from you or some other form of licensing or copyright transfer to merge.


Add preferBlockStatements rule

This new lint rule enforces BlockStatement node over single statement nodes.

This rule could be improve when it encounters an EmptyStatement node by replacing it by a comment:
// before
while (x = x.next);

// after
while (x = x.next) {
  // empty
}

However, I did not find how to add a comment...
@sebmck Any suggestion?

To insert a comment you can use the commentInjector hook. Example of that is in<EMAIL_ADDRESS>const id = path.callHook(
  commentInjector,
  {
    type: 'CommentLine',
    value: ` empty`,
  },
);

({innerComments: [id]});

Looks good! The dedent tagged template function will be handy in a lot of other places too.

I added this helper because it produces better snapshot diff since the indentation issues are no longer present.


Configure project panel to not auto-focus opened files

Check for existing issues

[X] Completed

Describe the feature
When you focus a file in an editor through any means, it focuses that file in the project panel, by expanding the tree and scrolling to the item. I find this quite jarring, especially when I am quickly switching between open tabs.
I'm sure some people like this feature, so I think it would be great to have a configuration which can disable this.
If applicable, add mockups / screenshots to help present your vision of the feature
No response

Just linking this issue for internal organization - I realize it is not asking for the same thing:
https://github.com/zed-industries/community/issues/800

It's part of same thing.

It's part of same thing.

Yeah, you're right, closing this one out in favor of:

https://github.com/zed-industries/community/issues/800


Laravel docs site [https://laravel.com/docs/8.x] showing old version warning on version 8.

Laravel Version: 8.0.0
PHP Version: 7.4
Database Driver & Version:

Description:
Laravel docs website laravel.com/docs/8.x is showing
"WARNING You're browsing the documentation for an old version of Laravel. Consider upgrading your project to Laravel 7.x." on selecting version 8 of laravel documentation.

@aliadhillon this will go away when the docs are live next week. Just ignore it for now.


[Bug]: Cluster does not reload secret when rotatet

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
<EMAIL_ADDRESS>Version
1.21.0
What version of Kubernetes are you using?
1.28
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
Helm
What happened?
I used a broken SAS token to upload backups to a Azure Storage Account, this worked great for the first 5-6 hours, but then stopped working since the secret expired.
I have recreated the secret with a updated longer lived token, but the backups are still failing, and the logs shows clearly that its using the old secret:
Signature not valid in the specified time frame: Start [Thu, 02 Nov 2023 18:12:38 GMT] - Expiry [Fri, 03 Nov 2023 03:12:38 GMT] - Current [Fri, 03 Nov 2023 20:34:49 GMT]

But the updated secret is valid from this morning, until 1. january 2025.
 Make sure the value of Authorization header is formed correctly including the signature.","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"barman-cloud-wal-archive","msg":"RequestId:8d10e3a4-501e-0069-3295-0e695d000000","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"barman-cloud-wal-archive","msg":"Time:2023-11-03T20:34:49.0712359Z","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"barman-cloud-wal-archive","msg":"ErrorCode:AuthenticationFailed","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"barman-cloud-wal-archive","msg":"authenticationerrordetail:Signature not valid in the specified time frame: Start [Thu, 02 Nov 2023 18:12:38 GMT] - Expiry [Fri, 03 Nov 2023 03:12:38 GMT] - Current [Fri, 03 Nov 2023 20:34:49 GMT]","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"barman-cloud-wal-archive","msg":"Content: <?xml version=\"1.0\" encoding=\"utf-8\"?><Error>AuthenticationFailed<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"barman-cloud-wal-archive","msg":"RequestId:8d10e3a4-501e-0069-3295-0e695d000000","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"barman-cloud-wal-archive","msg":"Time:2023-11-03T20:34:49.0712359Z</Message><AuthenticationErrorDetail>Signature not valid in the specified time frame: Start [Thu, 02 Nov 2023 18:12:38 GMT] - Expiry [Fri, 03 Nov 2023 03:12:38 GMT] - Current [Fri, 03 Nov 2023 20:34:49 GMT]</AuthenticationErrorDetail></Error>","pipe":"stderr","logging_pod":"happydogs-db-2"}
{"level":"error","ts":"2023-11-03T20:34:49Z","msg":"Error invoking barman-cloud-wal-archive","logging_pod":"happydogs-db-2","walName":"pg_wal/00000002000000000000003F","currentPrimary":"happydogs-db-2","targetPrimary":"happydogs-db-2","options":["--gzip","--cloud-provider","azure-blob-storage","https://happydogssaprod.blob.core.windows.net/backup-prod/happydogs-prod","happydogs-db","pg_wal/00000002000000000000003F"],"exitCode":-1,"error":"exit status 2","stacktrace":"github.com/cloudnative-pg/cloudnative-pg/pkg/management/log.(*logger).Error\n\tpkg/management/log/log.go:128\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/log.Error\n\tpkg/management/log/log.go:166\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/barman/archiver.(*WALArchiver).Archive\n\tpkg/management/barman/archiver/archiver.go:186\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/barman/archiver.(*WALArchiver).ArchiveList.func1\n\tpkg/management/barman/archiver/archiver.go:131"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"wal-archive","msg":"Failed archiving WAL: PostgreSQL will retry","logging_pod":"happydogs-db-2","walName":"pg_wal/00000002000000000000003F","startTime":"2023-11-03T20:34:48Z","endTime":"2023-11-03T20:34:49Z","elapsedWalTime":0.391241473,"error":"unexpected failure invoking barman-cloud-wal-archive: exit status 2"}
{"level":"error","ts":"2023-11-03T20:34:49Z","logger":"wal-archive","msg":"failed to run wal-archive command","logging_pod":"happydogs-db-2","error":"unexpected failure invoking barman-cloud-wal-archive: exit status 2","stacktrace":"github.com/cloudnative-pg/cloudnative-pg/pkg/management/log.(*logger).Error\n\tpkg/management/log/log.go:128\ngithub.com/cloudnative-pg/cloudnative-pg/internal/cmd/manager/walarchive.NewCmd.func1\n\tinternal/cmd/manager/walarchive/cmd.go:95\ngithub.com/spf13/cobra.(*Command).execute\n\tpkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tpkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068\ngithub.com/spf13/cobra.(*Command).Execute\n\tpkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992\nmain.main\n\tcmd/manager/main.go:64\nruntime.main\n\t/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/proc.go:267"}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"postgres","msg":"record","logging_pod":"happydogs-db-2","record":{"log_time":"2023-11-03 20:34:49.123 UTC","process_id":"27","session_id":"65450ab6.1b","session_line_num":"1267","session_start_time":"2023-11-03 14:59:02 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"archive command failed with exit code 1","detail":"The failed archive command was: /controller/manager wal-archive --log-destination /controller/log/postgres.json pg_wal/00000002000000000000003F","backend_type":"archiver","query_id":"0"}}
{"level":"info","ts":"2023-11-03T20:34:49Z","logger":"postgres","msg":"record","logging_pod":"happydogs-db-2","record":{"log_time":"2023-11-03 20:34:49.123 UTC","process_id":"27","session_id":"65450ab6.1b","session_line_num":"1268","session_start_time":"2023-11-03 14:59:02 UTC","transaction_id":"0","error_severity":"WARNING","sql_state_code":"01000","message":"archiving write-ahead log file \"00000002000000000000003F\" failed too many times, will try again later","backend_type":"archiver","query_id":"0"}}

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @Richard87, can you run the plugin kubectl cnpg reload <cluster_name>, it requests the operator to trigger a reconciliation loop for a certain cluster.

Thanks, i will try that next time!

perhaps setting the label cnpg.io/reload could help? Source: https://cloudnative-pg.io/documentation/1.20/labels_annotations/
cnpg.io/reload
Available on ConfigMap and Secret resources. When set to true, a change in the resource will be automatically reloaded by the operator.


Depth of markets

Is there a function to get the market depth of a particular stock?  So far, only the best bid and ask price and quantities are available.  Is it possible to see the 2nd best, 3rd best price and quantities etc?

That would be considered "Level 2" market data:
https://www.thebalance.com/order-book-level-2-market-data-and-depth-of-market-1031118
I believe there would be an additional cost to Robinhood if they provided this level of data, so it makes sense that they wouldn't provide it.


DSOS-2919: correct RD Licensing server prod subnet

A reference to the issue / Description of it
New RD licence server cannot connect to Azure DCs
How does this PR fix the problem?
Puts the RD licence server in the correct subnet.  With a bit of luck it will re-create the EC2 in one pass. If not, I'll comment out and add back in, in two PRs.
How has this been tested?
Mirrors the devtest configuration which is working.
Deployment Plan / Instructions
Will this deployment impact the platform and / or services on it?
No
Checklist (check x in [ ] of list items)

[ ] I have performed a self-review of my own code
[ ] All checks have passed
[ ] I have made corresponding changes to the documentation
[ ] Plan and discussed how it should be deployed to PROD (If needed)

Additional comments (if any)
{Please write here}

Actually - I think it is correct as it is... Closing


buildah  build-using-dockerfile URL not work

$ sudo ./buildah  build-using-dockerfile  -f http://<IP_ADDRESS>/pub/Dockerfile
ERRO[0000] no context directory specified, and no dockerfile specified
$ sudo ./buildah  build-using-dockerfile   http://<IP_ADDRESS>/pub/Dockerfile
ERRO[0000] error prepping temporary context directory: Error processing tar file(exit status 1): unexpected EOF

If the dockerfile location is a remote URL, we don't do what we would if it was a file, which would be to assume that taking the filename off of the end would produce a useful default for the build context directory if one isn't explicitly specified.  http and https build contexts need to be a tarball of some kind, and it's unlikely that stripping off the final component of the URL and then attempting to fetch that would produce one, so we don't do that.  If there's an archive of the context directory, or a local filesystem path, you'll need to specify its location, too.  I'll update the card to note that.

 (8) [Buildah] Add "dockah build-using-dockerfile" aka "buildah bud"

sudo ./buildah bud http://<IP_ADDRESS>/pub/Dockerfile.tar.gz works,  but sudo ./buildah bud  -f http://<IP_ADDRESS>/pub/Dockerfile.tar.gz or sudo ./buildah bud -f http://<IP_ADDRESS>/pub/Dockerfile does not work.
@nalind Could you show me how buildah bud -f URL can work?

@gouyang If the dockerfile location is a remote URL (it can't be an archive), a context location has to be explicitly provided.  So your three examples would be

./buildah bud http://<IP_ADDRESS>/pub/Dockerfile.tar.gz
Accepted if the context, which in this case is an archive, contains a Dockerfile.
./buildah bud -f http://<IP_ADDRESS>/pub/Dockerfile.tar.gz
Rejected: the Dockerfile can't itself be an archive.
./buildah bud -f http://<IP_ADDRESS>/pub/Dockerfile
Rejected: no build context was provided, and because the Dockerfile is specified as a remote URL, we don't guess that the directory that it's in was intended to be used as the context.

@nalind I still could not make it work and don't know how it would work, all I want is an example for buildah bud -f URL.

Using just the -f flag with a URL isn't expected to work.  A build context has to be specified if the Dockerfile is a remote URL.

@nalind Should it?

@rhatdan I don't think it can unless we assume that the location that hosts the Dockerfile also supports something like webdav so that we can traverse the location without having to scrape through HTML representations of directory listings.  That's probably not a realistic assumption to make.

If the directory is not specified then no build context is specified.  Translation COPY/ADD will fail if used.
buildah from -f https://people.redhat.com/Dockerfile
buildah from -f https://people.redhat.com/Dockerfile .

buildah bud -f URL . works if the URL specify a Dockerfile.
[root@fedora buildah-ansible]# buildah bud -f http://<IP_ADDRESS>/pub/Dockerfile .
STEP 1: FROM fedora
STEP 2: RUN dnf -y update
Fedora 26 - x86_64 - Updates                                                                   16 MB/s |  12 MB     00:00
...

It not work with if the URL specify a tarball. I think it's the right behavior.
[root@fedora buildah-ansible]# buildah bud -f http://<IP_ADDRESS>/pub/Dockerfile.tar.gz .
ERRO[0000] error building: error determining starting point for build: no FROM statement found

Close the issue now, please re-open it if it's necessary.


Assertion Error when starting decomposition using Pipeline.py

I got the following error when trying the mansion.zip pipeline example provided in the readme.
Traceback (most recent call last):
File "G:\SAGNIK_Material_Palette\Material_Palette\MaterialPalette\pipeline.py", line 25, in
module = capture.get_inference_module(pt='model.ckpt')
File "G:\SAGNIK_Material_Palette\Material_Palette\MaterialPalette\capture\utils\model.py", line 41, in get_inference_module
assert Path(pt).exists()
AssertionError
I cant figure out what the model.ckpt is supposed to be referencing because there is no ckpt file in the capture directory itself.

Hi @Sagnik2810Sarkar, did you download the model checkpoint from here?

Sorry for the late reply, but yeah the model file actually downloaded in the wrong folder. Due to some hardware constraints further attempts at decomposition keep getting interrupted so I'll post an update as soon as it works or I get stuck somewhere else.

There are no logs from Lightning, the outputs should be located in the same directory as the LoRA checkpoint. For example, the outputs of the grass region in the mansion example will be in
mansion\weights\grass\an_object_with_azertyuiop_texture\checkpoint-800

There, you will find a outputs directory - and if renorm is enabled - a out_renorm directory.

Got it, I thought the outputs for decomposition would be in a separate folder so I didn't check these.

I will close this issue for now but don't hesitate to come back to me if you need more assistance.


Issues compiling with latest MSYS2 install

I just attempted to compile this on a new installation of MSYS2 and it failed with:

network.c:66:2: error: conflicting types for 'IP_MREQ'; have 'struct <anonymous>'

Looking at that file I find the conditional expression:
#if !defined __MINGW64_VERSION_MAJOR || __MINGW64_VERSION_MAJOR != 11
Looking at MSYS2 version for MINGW64 I see:

MinGW-w64 version 12.0.0

My solution was to change the conditional to:
#if !defined __MINGW64_VERSION_MAJOR || __MINGW64_VERSION_MAJOR < 11
For the files: network.c, sdrip.c, openhpsdr.c, afedri.c, and cloudiq.c

@bkt0031 - thanks for the fix; I just applied it to the main branch.
However the branch that is most current is called sm5bsz because it follows (it is actually just a copy of) Leif Åsbrink, SM5BSZ, latest subversion revision (currently 1022 from June 12th 2023) from here: svn checkout https://svn.code.sf.net/p/linrad/code/trunk linrad
I use his current code (that contains all my old changes) to build automatically the Windows executables under 'Releases'.
I just looked at his code, and the only reference I see there to __MINGW64_VERSION_MAJOR is the following in the file network.c:
#if !defined __MINGW64_VERSION_MAJOR || __MINGW64_VERSION_MAJOR < 9

which may work without any further changes.
Franco


Preface an example with * on every line

Let's say I have a three line example I want to put into the doc. How do I lead each link with *?
function hello(c){
 return c + 1
}

Sorry for the long wait! Currently Docblockr can't help you with that. But my approach would be to place the cursor at the end of the first line and the press shift+right arrow. Now the line break is selected an you can press ctrl+d until there is a cursor after every line of your example. With Home you can now position ever cursors a the beginnings of each line and insert the asterisk.
This may seam complicated, but if you get used to it it's pretty convenient.
In case this was still an issue, I hope this made things clear.


Pojo mapping declaration feature

Possibility to declare @Result and @ConstructorArgs in POJO models instead of mappers. Supports extending POJO classes and declaring mappings both on constructors and fields.
Relates to #157 and #1612

I really like this feature. Thanks for doing the PR @alex-pozdnyakov!

@alex-pozdnyakov sorry for the late response on this. Can you resolve this merge conflict?

Why not resolve the conflicts and merge the PR?
Thanks!

This cl looks great, why not resolve the conflicts and merge the PR?
Thanks!


Can I create Web Application in On-Premise with Common Data Service as backend to it ?

Can we create Web Application with any language in On-Premise with Common Data Service as backend to it ?

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

ID: 2684981b-c955-e943-8415-d03ca0634671
Version Independent ID: cd351e6c-68d0-58ec-e97a-c7ed64365902
Content: What is Common Data Service? - PowerApps
Content Source: powerapps-docs/maker/common-data-service/data-platform-intro.md
Service: powerapps
GitHub Login: @clwesene
Microsoft Alias: matp

No, you cannot integrate your on-premise application with the Common Data Service, and you can also find the official document to support this as below:
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/overview

@Mattp123 - Closes #829

@Jayesh040 Thanks for your feedback. For product-related feedback, visit https://ideas.powerapps.com.
Closing this issue.


Libraries missing from playonlinux's WINE

Describe the bug
When trying to install Ultima Underworld 1, I get as far as a window saying "Please wait while the virtual drive is being created…" which never finishes, presumably because of these errors:

Wine cannot find the ncurses library (libncurses.so.5).

and

Wine cannot find the FreeType font library.  To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.

Steps To Reproduce
Steps to reproduce the behavior:

Install pkgs.playonlinux
Run playonlinux
Try to install Ultima Underworld 1 from GOG

Expected behavior
The package should be installed.
Screenshots
The progress window which never finishes:

Additional context
Add any other context about the problem here.
Notify maintainers
@pasqui23
Metadata

system: "x86_64-linux"
host os: Linux 5.15.95, NixOS, 22.11 (Raccoon), 22.11.2912.d70f5cd5c3b
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.11.1
channels(root): "nixos-22.11, nixos-unstable"
channels(username): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Check if the latest plaayonlinux update did fix it. Run NIXPKGS_ALLOW_UNFREE=1 nix --experimental-features "nix-command flakes" run --impure nixpkgs#playonlinux and check if you can install it. I cannot check it myself as I do not have brought it.

@pasqui23 I'd rather wait until it's in a release branch. But where do you see that update? Looking through recently closed PRs mentioning "playonlinux" doesn't show anything that looks relevant.


make GetOrSet and GetAndDelete atomic

as it is stated in #97 GetOrSet and GetAndDelete are not atomic.
This PR tries to resolve this problem
I am not sure about the reasons (maybe performance), that the lock was initially made in getWithOpts. Also a good followup question is - do we need the metricsMu at all if this PR will be merged?

@swithek @davseby  Hi! Please check the latest version.

@davseby @swithek Please check when you have the time

@DoubleDi will do, later today/tomorrow.

@swithek when you have time please check

Thanks for your contribution @DoubleDi. Merging :)


Add Vehicle::MaxSpeed, Vehicle::MaxTraction & Vehicle::MaxBraking

Perhaps we should add an additional class of handling data for vehicle. There is more native functions which return values from a vehicle model hash.


Feature/explore sticky dropdowns

Add a new sticky bar for indicator selection on NDC and LTS explore.
Don't include the info Button

@fannycc do you mean overlapping the search input? The user won't be able to search then. I thought it was part of the table

yes, it is and we should show it (the search input). I understand then that you are making a fixed nav (white) and not only the 2 inputs. So the search input will cover by white fixed space


materilaize css tooltip not working correctly on ios

Hello I am facing a problem in ios. I have a tooltip when I click on it the message appears but it does not go aways I don't know what I am doing wrong. Can somebody tell me what is it that I am doing wrong ??
here is an image that I am sharing
The page has been loaded but the tooltip message is not going
http://screencast.com/t/mvvZX4UZmgj
and when I move to another tab the tooltip of the previous tab remains
http://screencast.com/t/dTZpmfcR
can you please tell me what is it that I am doing wrong. Thanks

I've made a codepen reproducing this issue http://codepen.io/mccraveiro/pen/yYKWgM
It looks like there is no support for mobile tooltips as Materialize uses only mouse events.
You could implement this yourself. Maybe a click event on the tooltip or a timer for closing the message.

@yaennuuh is currently forking for just this purpose, should be done by end of day.

I would like to see this problem fixed as well. :)

We fixed this problem locally (and ugly) by overriding the function from materialize and copy pasta of the code, introducing a timer to the tooltips. I can provide a pen if wanted (as I said, ugly but works for the moment).

See my comment here: https://github.com/Dogfalo/materialize/issues/1702


feat(iroh): disable docs by default

Breaking Changes

removed: iroh::node::Builder::disable_docs
added: iroh::node::Builder::enable_docs
by default iroh::node::Node::memory & persistent have docs disabled

iroh/examples/client.rs needs to be updated too


[ctsi-staking] new strategy for CTSI Staking

Changes proposed in this pull request:

new strategy for CTSI Staking

@tuler Looks good, can resolve conflicts?

Conflict resolved


Support operations for render layers

Objective
Allow combining render layers with a more-ergonomic syntax than RenderLayers::from_iter(a.iter().chain(b.iter())).
Solution
Add the or operation (and corresponding const method) to allow computing the union of a set of render layers. While we're here, also added and and xor operations. Someone might find them useful
Testing
Added a simple unit test.

if we can do https://github.com/bevyengine/bevy/pull/13317/files would mean these can't be const, not sure how const-ness affects their value for you


Make /digest page interactive

We have a /digest page that corresponds to what users will see in email digests that we send to users who have been away for a while.
We want to introduce a scoring system that is some linear combination of number of messages and number of senders (and maybe reactions).
We want to use the /digest page as a way to play with the parameters.
Once we get some good feedback on the parameters, we'll use those for emails.
The first coding task here will probably be to introduce a score() method on the DigestTopic class.  Then play around with the view.
More detail here: https://chat.zulip.org/#narrow/stream/3-backend/topic/topic.20ranks.20(digest)/near/1058698

This looks like something I would be able to handle. Can I work on this task?

Yes feel free to claim it.

@zulipbot claim

@zulipbot claim

@zulipbot unclaim

I might still work on this if I need another task, but I am going to tackle another one first.

@zulipbot claim

@maxner1 Could you please leave this task as I am planning on taking it.

@zulipbot unclaim

@maxrzaw Are you working on this?

@ashok-arora yes

@zulipbot claim

@maxrzaw are you working on this. If not I can take it up.

@maxrzaw are you working on this. If not I can take it up.

@maxrzaw are you working on this. If not I can take it up.

I’m not working on it anymore, feel free to use anything from my pull request although it needs a lot of work from where I left off. I think the comments in the pull request will be pretty useful.

@maxrzaw are you working on this. If not I can take it up.

I’m not working on it anymore, feel free to use anything from my pull request although it needs a lot of work from where I left off. I think the comments in the pull request will be pretty useful.

Thanks . I will start working on it

Thanks . I will start working on it


Feature: utilize command line variable(s) controlling which domains are processed during a playbook run.

This will add ability to skip domains (or only run specified domains) when running the playbook. Dependent on #11 getting merged in before starting.

note to self (just because I'm leaving work in progress and will be coming back to it).  In the local branch I'm currently working on the deploy role for testing this.


Editors

I don't see anything related to editors. Being able to use editors efficiently is an essentila part of a programmer's workflow.
Do you think it is a good idea to add content about vim/emacs/sublime/atom?

@bsvin33t yes, this is a vital point. Some courses should discuss about it, but I really don't see it as a thing to be added here, because this is too personal.
We need to keep this list as lean as possible.
Anyway, thanks for pointing that out! :smile:


Issue on creating session using provided script.

Thank for great cli app.
Using provided script that I have pasted in tmux.config seeing tmux popup window and able to search folders using fd, but after clicking enter on selected result app crashes, same is happening when I'm trying to select existing session.
I'm using fish shell and alacrity as terminal.
Could you please suggest any fix. Appreciate any help.

Do you have zoxide set up?

yes, have zoxide and it shows results in popup window.

Initially thought issue with wrong syntax, but seeing that you actually to using fish. BTW installed sesh using brew.

Okay, can you try running sesh connect {result} and tell me the exact error message? Unfortunately fzf doesn't do a good job presenting the actual error to the user.
I'm releasing a new version now so we'll see if that improves your experience.

Interesting that sesh connect {result} command is working correct. I even can select correct session in tmux pane with such command
❯ sesh connect $(sesh list -tz | fzf-tmux -p 55%,60%)

But it doesnt work for me when I have same one in tmux config.
bind-key "T" run-shell "sesh connect $(sesh list -tz | fzf-tmux -p 55%,60%)"

Used such command to have some logs
bind-key "T" run-shell "echo 'Before FZF'; sesh list -tz; echo 'After FZF'; sesh connect $(sesh list -tz 2>&1 | fzf-tmux -p 55%,60% > /tmp/fzf_tmux_log)"

logs:
sh: sesh: command not found

Sorry for confusion, long debugging session, but I have to just reload my machine and everything started working as expected.

Glad you got it figured out, sesh is a work-in-progress so let me know if anything else comes up.

Thank you, definitely will do. Full work day without any issues. Went ahead and replaced ThePrimeagen tmux-sessionizer that I have used for the same purpose.


Auto-increment frame_coords when keying

Follow-up to #32973
This might look like a hack, but I wasn't sure where to put this code. PROPERTY_USAGE_KEYING_INCREMENTS is rarely used.

Thanks!

Nice, great work on those 2 PRs ! :D


Update module URL

Changes proposed in this pull request

Looks like this repository was moved recently, so I was confused as to how to install the latest version.
$ go get github.com/gowarden/zflag
go: added github.com/gowarden/zflag v1.0.2

So this works thanks to the Go module cache. Looks like the tags were not moved along with the repository, so I don't know exactly what code v1.0.2 refers to (edit: it refers to e9475c9f929b0db0048acc49c5677765b4a9b114). https://github.com/gowarden/zflag gives me a 404 error.
Attempting to use the new URL results in an error:
$ go get github.com/zulucmd/zflag
go<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/gowarden/zflag
	        but was required as: github.com/zulucmd/zflag

After merging this PR, a tag probably has to be published for the above to work.
Checklist

[x] Tests have been added and/or updated
[x] make test has been run
[x] make lint has been run

A gif to brighten your reviewer's day and/or represents how you feel about this pull request

I didn't want to do this, but I forked the module: https://github.com/stefansundin/go-zflag
So far it only contains the module URL fix, documentation updates, and #1.

I had made these changes separately, as there were merge conflicts. But thanks either way!


[GSSoc 23'] Readme File Updation For Project

Hi, Please Let me Create a Readme File for your repo Describing your project more efficiently

please allow this issue to me, as I can make it more user-friendly and brief at the same time.


Fix formdata parameter validation for OAS3

Fixes #1020. Fixes #1160. Fixes #1340. Fixes #1343.
The previous fix which tries to catch a KeyError does not work since self.parameters is a defaultdict. Changed to an explicit if check instead.

Coverage increased (+0.07%) to 97.145% when pulling 5f5b3ca81115dd88b9679b58f78bc727e4ccaeb9 on bugfix/oas3-formdata into a141f8b5e9cb6b29f7941c46ef1c8b8e239e270f on main.


Modus NavBar - Add a Search Overlay

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the Modus style guidelines

Proposal
As part of e-Builder’s Navigation Project, we need a search overlay for the Modus Navbar component.

The user clicks on the search icon, and then an overlay takes over the entire header
All other elements are hidden, Including Logo and Profile.
The search input field and the X (close) icon are displayed

More details at https://docs.google.com/document/d/1Ym59OE7XdmaAgE38gAK5sv4EW9G06p16Fa-Q-nU54Pc/edit#heading=h.ec7cpa9qlyh9
Motivation and context
No response
What is the issue regarding ?
@trimble-oss/modus-web-components
Priority
High
What product/project are you using Modus Components for ?
AngryNerds
What is your team/division name ?
e-builder
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

@cjwinsor @soniakaukonen Please feel free to update this issue

Figma: tray for all sizes, component header search (no animation yet)
Style guide: section Styles > Search addressing X-Small size only. Should include any size?

@cjwinsor this issue is modus approved and ready to be worked on. Please let us know whom to assign this to


Publish more/better documentation

Should include documentation about the restrictions of the annotations when used with open functions/properties.
A.k.a. issues with multiple generated extensions for different subclasses.


Enable the Algorithm to Know its Runtime Mode

Expected Behavior
QCAlgorithm is aware of being used in live mode, optimization, and backtest (in QC Cloud or locally).
Actual Behavior
It's only possible to determine whether the algorithm is running in backtesting or live mode with the QCAlgorithm.LiveMode boolean member. Other runtime modes were not needed before the implementation of Optimization and Lean-CLI.
Potential Solution
N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

Solved by https://github.com/QuantConnect/Lean/pull/7337


[css] CSSLint - Support css-modules and its plugins

I'd like to see vscode support css-modules[1][2], and the syntax of its plugins. I know right now improvement on the css linter is on the backlog, but just putting this issue out there for thoughts and documentation.

Sounds like functionality that could be provided by an extension.

@kumarharsh I have wrote an extension for css modules.

Wow @clinyong. Great job. Do the modules support the import syntax instead of require('..')?

@kumarharsh import will be supported later.

I think this this issue is resolved with the plugin, so I'm closing this one.

Per this comment: https://github.com/clinyong/vscode-css-modules/issues/4#issuecomment-283922044 it seems that the CSS Modules extension does not add support for css modules to the CSS Linter... so not sure if this issue is really closed. I haven't yet found a way to add "compose" as a known CSS Property in VS Code

@polizz as a workaround, I've disabled vscode's css linting, and am using the vscode-stylelint with some custom .stylelintrc for allowing @value and composes:
Here's my config:
{
  "rules": {
    "at-rule-empty-line-before": [ "always", {
      "except": [
        "blockless-after-same-name-blockless",
        "first-nested"
      ],
      "ignore": ["after-comment"]
    } ],
    "at-rule-name-case": "lower",
    "at-rule-name-space-after": "always-single-line",
    "at-rule-semicolon-newline-after": "always",
    "at-rule-no-unknown": [true, {
      "ignoreAtRules": [
        "value"
      ]
    }],
    "block-closing-brace-empty-line-before": "never",
    "block-closing-brace-newline-after": "always",
    "block-closing-brace-newline-before": "always-multi-line",
    "block-closing-brace-space-before": "always-single-line",
    "block-no-empty": true,
    "block-opening-brace-newline-after": "always-multi-line",
    "block-opening-brace-space-after": "always-single-line",
    "block-opening-brace-space-before": "always",
    "color-hex-case": "lower",
    "color-hex-length": "short",
    "color-no-invalid-hex": true,
    "comment-no-empty": true,
    "custom-property-empty-line-before": [ "always", {
      "except": [
        "after-custom-property",
        "first-nested"
      ],
      "ignore": [
        "after-comment",
        "inside-single-line-block"
      ]
    } ],
    "declaration-bang-space-after": "never",
    "declaration-bang-space-before": "always",
    "declaration-block-no-duplicate-properties": [ true, {
      "ignore": ["consecutive-duplicates-with-different-values"]
    } ],
    "declaration-block-no-redundant-longhand-properties": true,
    "declaration-block-no-shorthand-property-overrides": true,
    "declaration-block-semicolon-newline-after": "always-multi-line",
    "declaration-block-semicolon-space-after": "always-single-line",
    "declaration-block-semicolon-space-before": "never",
    "declaration-block-single-line-max-declarations": 1,
    "declaration-block-trailing-semicolon": "always",
    "declaration-colon-newline-after": "always-multi-line",
    "declaration-colon-space-after": "always-single-line",
    "declaration-colon-space-before": "never",
    "declaration-empty-line-before": [ "always", {
      "except": [
        "after-declaration",
        "first-nested"
      ],
      "ignore": [
        "after-comment",
        "inside-single-line-block"
      ]
    } ],
    "font-family-no-duplicate-names": true,
    "function-calc-no-unspaced-operator": true,
    "function-comma-newline-after": "always-multi-line",
    "function-comma-space-after": "always-single-line",
    "function-comma-space-before": "never",
    "function-linear-gradient-no-nonstandard-direction": true,
    "function-max-empty-lines": 0,
    "function-name-case": "lower",
    "function-parentheses-newline-inside": "always-multi-line",
    "function-parentheses-space-inside": "never-single-line",
    "function-whitespace-after": "always",
    "indentation": 2,
    "keyframe-declaration-no-important": true,
    "length-zero-no-unit": true,
    "max-empty-lines": 1,
    "media-feature-colon-space-after": "always",
    "media-feature-colon-space-before": "never",
    "media-feature-name-case": "lower",
    "media-feature-name-no-unknown": true,
    "media-feature-parentheses-space-inside": "never",
    "media-feature-range-operator-space-after": "always",
    "media-feature-range-operator-space-before": "always",
    "media-query-list-comma-newline-after": "always-multi-line",
    "media-query-list-comma-space-after": "always-single-line",
    "media-query-list-comma-space-before": "never",
    "no-empty-source": true,
    "no-eol-whitespace": true,
    "no-extra-semicolons": true,
    "no-invalid-double-slash-comments": true,
    "no-missing-end-of-source-newline": true,
    "number-leading-zero": "always",
    "number-no-trailing-zeros": true,
    "property-case": "lower",
    "property-no-unknown": [ true, {
      "ignoreProperties": [
        "composes"
      ]
    } ],
    "selector-attribute-brackets-space-inside": "never",
    "selector-attribute-operator-space-after": "never",
    "selector-attribute-operator-space-before": "never",
    "selector-combinator-space-after": "always",
    "selector-combinator-space-before": "always",
    "selector-descendant-combinator-no-non-space": true,
    "selector-list-comma-newline-after": "always",
    "selector-list-comma-space-before": "never",
    "selector-max-empty-lines": 0,
    "selector-pseudo-class-case": "lower",
    "selector-pseudo-class-no-unknown": [ true, {
      "ignorePseudoClasses": [
        "export",
        "import",
        "global",
        "local"
      ]
    }],
    "selector-pseudo-class-parentheses-space-inside": "never",
    "selector-pseudo-element-case": "lower",
    "selector-pseudo-element-colon-notation": "double",
    "selector-pseudo-element-no-unknown": true,
    "selector-type-case": "lower",
    "selector-type-no-unknown": true,
    "shorthand-property-no-redundant-values": true,
    "string-no-newline": true,
    "unit-case": "lower",
    "unit-no-unknown": true,
    "value-list-comma-newline-after": "always-multi-line",
    "value-list-comma-space-after": "always-single-line",
    "value-list-comma-space-before": "never",
    "value-list-max-empty-lines": 0
  }
}


jinja2 template processing in wrong order for arm parameter files

Present order:

look for jinja2 template files
convert to puff yaml file
process file with puff to generate ARM template parameter files specific to an azure subscription

The problem with this is that the jinja context variables are also often subscription specific which means that a single generated puff yaml file cannot embody all the necessary data for the different subscription data from the template context. This results in ARM template parameter files with incorrect data.
Need to change the jinja processing to ensure that subscription specific template context data propagates to the correct subscription specific ARM template parameter file.

resolved by https://github.com/Food-X-Technologies/foodx_devops_tools/pull/95


[VS Code Remote] Can't start Live Share session when using dev container

This is a transfer of issue https://github.com/microsoft/vscode-remote-release/issues/323
logged by @ahayzen to the correct repository.

VSCode Version: 1.34.20-insider (57b550c559b945eb9d871dbf2b2e4cb9e31e2551)
Local OS Version: Ubuntu 18.04.2
Remote OS Version: Debian 9
Remote Extension/Connection Type: Docker

Steps to Reproduce:

Setup a dev container with ms-vsliveshare.vsliveshare in the list of extensions to install
Open the dev container
Notice that "Live Share" is available at the bottom of the app, click on it
This launches the web browser session, follow the instructions to sign in. Once this has been completed the browser states that the VSCode session is ready.
Go back to VSCode and notice how it is stuck on waiting for the code (when doing this locally this is automatic)

I tried copying the code from the url in the web browser and entering this but then VSCode states "Starting collaboration session: Could not connect to the server. Check that you are connected to the internet.".  However I do have a connection to the internet and from the containers terminal I am able to ping web addresses.

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: n/a

@ahayzen The Live Share team has plans to improve the remote experience over time. As mentioned in the other issue, right now you need to click the "Show Code" in the sign in page to get the code that is pasted in here.   That said, things should work from there.
Can you attach the verbose logs as follows:

Press F1 (or Ctrl+Shift+P / Cmd+Shift+P), type "export logs" and run the "Live Share: Export Logs" command.
2a. Drag and drop the zip to the issue on this screen and wait for it to upload before creating the issue.
2b. Alternatively, send the zip file to<EMAIL_ADDRESS>
//cc: @Priya91

@Chuxel Ah I didn't notice the "Having trouble? Click here for user code directions", I was instead trying to use the "code" in the URL which is different :')  OK, so copying this other code does then allow me to use live share :+1:
If there is already another issue tracking that the automatic code detection doesn't work (eg when you do this locally you don't need to manually copy the code) then please close this issue and sorry for the noise.

Looking forward to it.
I really need this feature.

:+1:

@Chuxel is this something that VS Online can now handle?

This problem should be solved by Codespaces. Please reopen if you have questions about that experience.

Codespaces are not available to users that aren't using GitHub (GH Enterprise, Gitlab, Bitbucket etc.). What's more, the feature isn't even yet available in GA for GitHub users today. This also means that user must push their code to a branch before they can collaborate on it when the selling point of LiveShare (as I see it) is the ability to pair-program in local development scenarios.
Based on the above, I believe the requested functionality is still very much need.

This problem should be solved by Codespaces. Please reopen if you have questions about that experience.

That is an entirely different use case. And does not at all solve the problem this ticket is about.

This problem should be solved by Codespaces. Please reopen if you have questions about that experience.

I would like to reopen the issue because I think developing collaboratively inside a docker container is a crucial usecase

How is using codespaces a solution to this feature / bug fix request?

I think the behavior of @fubaduba is kind of bad practice at this point.

Closing the issue without second guessing.
Then proposing that the community should reopen it - but without allowing the issue to be reopened.
And proposing to the community that they can ask questions - but without answering any

Right now, this seems to me that @microsoftopensource wants to make us to pay for this codespaces thing:

But I hope I am wrong and I would rather have this issue reopened.

Sorry to up an old post but I think the solution might be of interest to others not using Codespace.
https://stackoverflow.com/a/58736573/8376871
@Chuxel @haifeng-jin @tbrodbeck


Fixes initializing without DHT

Currently, a DHT instance is always created on Discovery, even when opts.dht is false. In WebTorrent, this means that private torrents still establish DHT connections. When I run this WebTorrent test, I see the following:
$ tape test/node/download-private-dht.js
TAP version 13
# private torrent should not use DHT
not ok 1 client announced to dht
  ---
    operator: fail
    at: Torrent.<anonymous> (.../webtorrent/test/node/download-private-dht.js:34:11)
  ...

This PR fixes this by simply checking the value of opts.dht before trying to create an internal DHT.

Thanks, I just broke this a few hours ago. Appreciated.

Nice. I've made this small change in WebTorrent's setTorrent, which just ensures that setTorrent is only called once. This should resolve the broken test in my OP.
I haven't yet submitted it as a PR since tests won't pass until these changes to torrent-discovery are released. I'm also not sure if this breaks anything else.

Thanks for looking into this. I also broke the opts.tracker option too.
The bug you described surfaced because we're not calling dht.lookup before dht.announce anymore and the announce is way faster. It wasn't working right before, but the problem was being masked.
I just put a fix in torrent-discovery. Will look at the fix you suggested to webtorren too. Tests pass now.
Released this as 5.3.1.

Perfect, looks like everything is green now! Thanks for the explanation, that makes a lot of sense.


No equivalent of Get-FileHash for text blobs, requires writing input to file to test output

Steps to reproduce
Try one of these to compare with test vector:
Write-Output "" | Get-FileHash -Algorithm SHA512
Get-FileHash -Algorithm SHA512 ""
Expected behavior
cmdlet for getting the hash of a blob without having to write to an intermediate file (does not need to be Get-FileHash, which would admittedly be confusing, but supporting input pipe would be nice and unambiguous.
Supporting this would be helpful for hashing generated text contents without necessarily having to write that file to disk.
Compare with shasum -a 512 -t "input-text" or empty-string input test vector (pipe from null) shasum -a 512 < /dev/null
Actual behavior
Unable to take the hash of anything other than a file.
Environment data
Name                           Value
----                           -----
PSVersion                      5.1.15063.296
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.296
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

@dilijev Thanks for you report!
Please see https://github.com/PowerShell/PowerShell-RFC/issues/65 and https://github.com/PowerShell/PowerShell/pull/3395


[Feature] Implementation of token buffer memory

Fixes Issue 2753(https://github.com/langchain-ai/langchainjs/issues/2753)
Hi, my team and I have implemented support for token buffer memory in the js repository. We've also came up with basic integration tests for the functionality.
Thanks in advance!

Thanks for this! Would you be up for adding some docs too? You can check out the example under e.g. docs/docs/modules/memory/how_to/buffer.mdx. If you don't have time, I can get to it tomorrow.

@jacoblee93 Thanks for the response! I've added a simple documentation page for buffer token memory. Let me know if you have any questions.

Thank you!


Release Google.Cloud.Iam.Credentials.V1 version 2.1.0

Changes in this release:
New features

Enable REST transport in C# (commit 0f8560c)

Created release for Google.Cloud.Iam.Credentials.V1-2.1.0


[MXNET-703] Add a TensorRT walkthrough

Description
This PR adds a basic walkthrough of the new TensorRT integration.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-label-bot can you please add [pr-awaiting-review]


Key events for macOS keys "rewind" and "fast forward" not received

Steps to reproduce
Run the following app on macOS using an Apple keyboard:
import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(
      title: 'Issue reproduction',
      home: IssueApp(),
    ),
  );
}

class IssueApp extends StatelessWidget {
  const IssueApp({
    super.key,
  });

  KeyEventResult _handleKeyEvent(FocusNode focusNode, KeyEvent event) {
    print(event);
    return KeyEventResult.handled;
  }

  @override
  Widget build(BuildContext context) {
    return Focus(
      // focusNode: focusNode,
      autofocus: true,
      onKeyEvent: _handleKeyEvent,
      child: const SizedBox.expand(),
    );
  }
}

Then once the app is running, hit any regular key and look for the console log messages to show that the key event is getting registered.  Then try hitting the "rewind" or "fast forward" key (also mapped to F7 and F9):

Expected behavior
You expect to receive key events for those keys. More generally, you expect to be able to register handlers for those keys in your Flutter app.
Actual behavior
Nothing gets printed to the console, showing that the key events are not firing for those keys.
Info
$ flutter doctor -v
[✓] Flutter (Channel main, 3.18.0-18.0.pre.46, on macOS 14.1 23B2073 darwin-arm64, locale en-US)
    • Flutter version 3.18.0-18.0.pre.46 on channel main at /Users/tvolkert/project/flutter/flutter
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision 7c9c1705e8 (2 days ago), 2023-12-29 07:40:37 -0500
    • Engine revision ea4fb2cb94
    • Dart version 3.3.0 (build 3.3.0-272.0.dev)
    • DevTools version 2.31.0-dev.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/tvolkert/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

FYI @dkwingsmt


Adding no_resources_to_run_userworkloadmonitoring.json

Adds a Service Log template to cover when a cluster's worker nodes have no resources available for UWM to properly run.

/lgtm /approve

/lgtm


Skip all the tests in TestMiInterpreterExec.py on Linux

They keep hitting timeouts

@swift-ci test and merge


Telegram

Anyway to implement this in telegram?

Hi @bestfriendai, yes you can also integrate Telegram in AWS using Amazon API Gateway + AWS Lambda. Using a Python Lambda function you can receive audio files from Telegram Bot and then process them using my code.
Also, if you only want to process text then check this repo: https://github.com/franalgaba/chatgpt-telegram-bot-serverless


Lowest price getting copied even if just viewing the marketboard normally (not via retainer)

Hey!
Is this intended?
From my understanding, if I want to get the lowest price - I only want it whenever I use my retainer to sell something?
Getting the same result with the version before the update today

/penny smart doesn't do anything regarding this

Do you have /penny toggled on? It should be toggled off (with /penny smart on) if you want to only copy from retainer

Ohh I see
Thanks!!