Deployment issue

Hey,
I have problems with mup deploy. Any idea what to fix here?
-----------------------------------STDERR-----------------------------------
t_dir=/root/.node-gyp/0.10.36',
gyp info spawn args   '-Dmodule_root_dir=/opt/hashtagteachers/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 80: Connection refused
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
ctory `/opt/hashtagteachers/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'
><EMAIL_ADDRESS>install /opt/hashtagteachers/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
<EMAIL_ADDRESS>node_modules/underscore

<EMAIL_ADDRESS>node_modules/semver

<EMAIL_ADDRESS>node_modules/chalk
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/eachline
└──<EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/fibers

<EMAIL_ADDRESS>node_modules/source-map-support
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>Waiting for MongoDB to initialize. (5 minutes)
connected
hashtagteachers stop/waiting
hashtagteachers start/running, process 2750
Waiting for 250 seconds while app is booting up
Checking is app booted or not?
hashtagteachers stop/waiting
hashtagteachers start/running, process 3218
----------------------------------------------------------------------------

+1, same kind of problem since a few days too when trying to deploy on DO :
Invoking deployment process: FAILED

	-----------------------------------STDERR-----------------------------------
	cal/lib/node_modules/node-gyp/addon.gypi',
	gyp info spawn args   '-I',
	gyp info spawn args   '/root/.node-gyp/0.10.36/common.gypi',
	gyp info spawn args   '-Dlibrary=shared_library',
	gyp info spawn args   '-Dvisibility=default',
	gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/0.10.36',
	gyp info spawn args   '-Dmodule_root_dir=/opt/speakactive/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt',
	gyp info spawn args   '--depth=.',
	gyp info spawn args   '--no-parallel',
	gyp info spawn args   '--generator-output',
	gyp info spawn args   'build',
	gyp info spawn args   '-Goutput_dir=.' ]
	gyp info spawn make
	gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
	gyp info ok
	npm WARN package.json<EMAIL_ADDRESS>No description
	npm WARN package.json<EMAIL_ADDRESS>No repository field.
	npm WARN package.json<EMAIL_ADDRESS>No README data
	npm WARN package.json<EMAIL_ADDRESS>No license field.
	bash: line 127: wait-for-mongo: command not found
	-----------------------------------STDOUT-----------------------------------
	t.o
	  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
	  SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
	  SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node: Finished
	  COPY Release/bcrypt_lib.node
	make: Leaving directory `/opt/speakactive/tmp/bundle/programs/server/npm/npm-bcrypt/node_modules/bcrypt/build'

	><EMAIL_ADDRESS>install /opt/speakactive/tmp/bundle/programs/server/node_modules/fibers
	> node ./build.js

	`linux-x64-v8-3.14` exists; testing
	Binary is fine; exiting
<EMAIL_ADDRESS>node_modules/underscore

<EMAIL_ADDRESS>node_modules/semver

<EMAIL_ADDRESS>node_modules/fibers

<EMAIL_ADDRESS>node_modules/eachline
	└──<EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/chalk
	├──<EMAIL_ADDRESS>	├──<EMAIL_ADDRESS>	├──<EMAIL_ADDRESS>	├──<EMAIL_ADDRESS><EMAIL_ADDRESS>	└──<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/source-map-support
	└──<EMAIL_ADDRESS><EMAIL_ADDRESS>	Waiting for MongoDB to initialize. (5 minutes)
	----------------------------------------------------------------------------

npm i -g node-gyp && node-gyp clean
/.../
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp info ok

When I try to deploy, everything works fine, except the invoking deployment process.
Has anybody an idea what I need to to do to fix it?
x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
ndle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
sudo: stop: command not found
sudo: start: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) couldn't connect to host
sudo: stop: command not found
sudo: start: command not found
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
e/obj.target/node_aes_gcm.node
SOLINK_MODULE(target) Release/obj.target/node_aes_gcm.node: Finished
COPY Release/node_aes_gcm.node
make: Leaving directory `/opt/koofen/tmp/bundle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm/build'
><EMAIL_ADDRESS>install /opt/koofen/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
<EMAIL_ADDRESS>node_modules/underscore

<EMAIL_ADDRESS>node_modules/eachline
└──<EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/semver

<EMAIL_ADDRESS>node_modules/chalk
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/fibers

<EMAIL_ADDRESS>node_modules/source-map-support
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>Waiting for MongoDB to initialize. (5 minutes)
connected
Waiting for 15 seconds while app is booting up
Checking is app booted or not?

There is a new version of available in the mupx branch. You can install it
from Npm as well.
It will give more verbosity into this issue.
On 2015 මැයි 20, බදාදා at ප.ව. 4.18 nihiels<EMAIL_ADDRESS>wrote:

When I try to deploy, everything works fine, except the invoking
deployment process.
Has anybody an idea what I need to to do to fix it?
x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
ndle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
sudo: stop: command not found
sudo: start: command not found
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) couldn't connect to
host
sudo: stop: command not found
sudo: start: command not found
Latest deployment failed! Reverted back to the previous version.
-----------------------------------STDOUT-----------------------------------
e/obj.target/node_aes_gcm.node
SOLINK_MODULE(target) Release/obj.target/node_aes_gcm.node: Finished
COPY Release/node_aes_gcm.node
make: Leaving directory
`/opt/koofen/tmp/bundle/programs/server/npm/npm-node-aes-gcm/node_modules/node-aes-gcm/build'

<EMAIL_ADDRESS>install /opt/koofen/tmp/bundle/programs/server/node_modules/fibers
node ./build.js

linux-x64-v8-3.14 exists; testing
Binary is fine; exiting
<EMAIL_ADDRESS>node_modules/underscore
<EMAIL_ADDRESS>node_modules/eachline
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules/semver
<EMAIL_ADDRESS>node_modules/chalk
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>)
<EMAIL_ADDRESS>node_modules/fibers
<EMAIL_ADDRESS>node_modules/source-map-support
└──<EMAIL_ADDRESS><EMAIL_ADDRESS>Waiting for MongoDB to initialize. (5 minutes)
connected
Waiting for 15 seconds while app is booting up
Checking is app booted or not?
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/435#issuecomment-103841144.

with mupx it raises this error:
x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
time="2015-05-20T14:10:05+02:00" level=fatal msg="Error: failed to remove one or more containers"
dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
time="2015-05-20T14:10:05+02:00" level=fatal msg="Error: failed to remove one or more containers"
time="2015-05-20T14:10:05+02:00" level=fatal msg="Post http:///var/run/docker.sock/v1.18/images/create?fromImage=meteorhacks%2Fmeteord%3Abase: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?"
-----------------------------------STDOUT-----------------------------------
----------------------------------------------------------------------------

What's the server's OS?

Debian 7 64bit
2015-05-20 14:27 GMT+02:00 Arunoda Susiripala<EMAIL_ADDRESS>
What's the server's OS?
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/435#issuecomment-103862706.

--
Nils Pfeifenberger
Weisestraße 54
12049 Berlin
+49 176 61 829 858

I got this error
x Verifying deployment: FAILED
-----------------------------------STDERR-----------------------------------
 (/bundle/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
    at /bundle/bundle/programs/server/boot.js:117:5
    - - - - -
    at [object Object].<anonymous> (/bundle/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/server.js:556:74)
    at [object Object].emit (events.js:106:17)
    at [object Object].<anonymous> (/bundle/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
    at [object Object].emit (events.js:98:17)
    at Socket.<anonymous> (/bundle/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
    at Socket.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:442:13)
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
=> Starting meteor app on port:80
-----------------------------------STDOUT-----------------------------------

Hi there,
I just started using mupx and I am getting this error when I deploy to DigitalOcean. Everything except invoking deployment seems to work.
Started TaskList: Deploy app 'base2industries' (linux)
[<IP_ADDRESS>] - Uploading bundle
[<IP_ADDRESS>] - Uploading bundle: SUCCESS
[<IP_ADDRESS>] - Sending environment variables
[<IP_ADDRESS>] - Sending environment variables: SUCCESS
[<IP_ADDRESS>] - Initializing start script
[<IP_ADDRESS>] - Initializing start script: SUCCESS
[<IP_ADDRESS>] - Invoking deployment process
[<IP_ADDRESS>] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
Error response from daemon: no such id: base2industries-frontend
time="2015-05-20T12:42:06-04:00" level=fatal msg="Error: failed to remove one or more containers"
time="2015-05-20T12:42:12-04:00" level=fatal msg="Error response from daemon: Cannot start container 5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e: Error starting userland proxy: listen tcp <IP_ADDRESS>:80: bind: address already in use"
-----------------------------------STDOUT-----------------------------------
base2industries
base: Pulling from meteorhacks/meteord
21e4345e9035: Already exists
b3d362b23ec1: Already exists
56031332072b: Already exists
f88e209e7818: Already exists
b3f51d93defe: Already exists
70ab8c255ca1: Already exists
8fa54b9a2ceb: Already exists
ff09945665bb: Already exists
ff09945665bb: Already exists
Digest: sha256:c55af1fa3b77ca37058e806ecd947f45f8df7579bd1fa8bf28d5169062f4fc12
Status: Image is up to date for meteorhacks/meteord:base
5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e
----------------------------------------------------------------------------

That means, there is another process running on port 80.
On Wed, May 20, 2015 at 10:20 PM MHerszak<EMAIL_ADDRESS>wrote:

Hi there,
I just started using mupx and I am getting this error when I deploy to
DigitalOcean. Everything except invoking deployment seems to work.
Started TaskList: Deploy app 'base2industries' (linux)
[<IP_ADDRESS>] - Uploading bundle
[<IP_ADDRESS>] - Uploading bundle: SUCCESS
[<IP_ADDRESS>] - Sending environment variables
[<IP_ADDRESS>] - Sending environment variables: SUCCESS
[<IP_ADDRESS>] - Initializing start script
[<IP_ADDRESS>] - Initializing start script: SUCCESS
[<IP_ADDRESS>] - Invoking deployment process
[<IP_ADDRESS>] x Invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
Error response from daemon: no such id: base2industries-frontend
time="2015-05-20T12:42:06-04:00" level=fatal msg="Error: failed to remove one or more containers"
time="2015-05-20T12:42:12-04:00" level=fatal msg="Error response from daemon: Cannot start container 5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e: Error starting userland proxy: listen tcp <IP_ADDRESS>:80: bind: address already in use"
-----------------------------------STDOUT-----------------------------------
base2industries
base: Pulling from meteorhacks/meteord
21e4345e9035: Already exists
b3d362b23ec1: Already exists
56031332072b: Already exists
f88e209e7818: Already exists
b3f51d93defe: Already exists
70ab8c255ca1: Already exists
8fa54b9a2ceb: Already exists
ff09945665bb: Already exists
ff09945665bb: Already exists
Digest: sha256:c55af1fa3b77ca37058e806ecd947f45f8df7579bd1fa8bf28d5169062f4fc12
Status: Image is up to date for meteorhacks/meteord:base
5dcad6e12718cd902953c2c17cb9e51cde734149c604cc7f4eb44666d3d6014e
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/435#issuecomment-103956550.

Hi, I am trying to deploy to an AWS EC2 Instance running Ubuntu 14.04 64-bit. But I'm getting this error
✘ Invoking deployment process: FAILED

	-----------------------------------STDERR-----------------------------------
	 args   'build',
	gyp info spawn args   '-Goutput_dir=.' ]
	gyp info spawn make
	gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
	In file included from ../lib/kerberos.cc:1:0:
	../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
	 #include <gssapi/gssapi.h>
	                           ^
	compilation terminated.
	make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
	gyp ERR! build error
	gyp ERR! stack Error: `make` failed with exit code: 2
	gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:269:23)
	gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
	gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
	gyp ERR! System Linux 3.13.0-48-generic
	gyp ERR! command "node" "/usr/bin/node-gyp" "rebuild"
	gyp ERR! cwd /opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/kerberos
	gyp ERR! node -v v0.10.33
	gyp ERR! node-gyp -v v1.0.3
	gyp ERR! not ok
	-----------------------------------STDOUT-----------------------------------
	=> re-installing binary npm module 'bson' of package 'cfs_gridfs'
	make: Entering directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson/build'
	  CXX(target) Release/obj.target/bson/ext/bson.o
	  SOLINK_MODULE(target) Release/obj.target/bson.node
	  SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
	  COPY Release/bson.node
	make: Leaving directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/bson/build'
	=> re-installing binary npm module 'kerberos' of package 'cfs_gridfs'
	make: Entering directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/kerberos/build'
	  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
	make: Leaving directory `/opt/funeticsApp/tmp/bundle/programs/server/npm/cfs_gridfs/node_modules/mongodb/node_modules/kerberos/build'
	----------------------------------------------------------------------------

Just wondering what I need to do.
Cheers!

@arunoda  I'm also facing same issue. please refer issue #1151


Avoid overfilling buffer when reading from Azure

Title
when read size > chunk size, return read size and not chunk size.
bugfix: read(MAX_READ_SIZE) returns read(CHUNK_SIZE) when read size > chunk size

Motivation
The read function expects to return the maximum size it can read from a stream and not the chunk size. This causes serious bugs when reading with a parameter such as x.read(MAX_READ_SIZE), which does not expect you to re-read the buffer until you get to MAX_READ_SIZE.
This bug does not happen when the read size is not specified.
If you're fixing a bug, link to the issue number like so:
- Fixes #{issue_number}

If you're adding a new feature, then consider opening a ticket and discussing it with the maintainers before you actually do the hard work.
Tests
If you're fixing a bug, consider test-driven development:

Create a unit test that demonstrates the bug. The test should fail.
Implement your bug fix.
The test you created should now pass.

If you're implementing a new feature, include unit tests for it.
Make sure all existing unit tests pass.
You can run them locally using:
pytest smart_open

If there are any failures, please fix them before creating the PR (or mark it as WIP, see below).
Work in progress
If you're still working on your PR, include "WIP" in the title.
We'll skip reviewing it for the time being.
Once you're ready to review, remove the "WIP" from the title, and ping one of the maintainers (e.g. mpenkov).
Checklist
Before you create the PR, please make sure you have:

[ ] Picked a concise, informative and complete title
[ ] Clearly explained the motivation behind the PR
[ ] Linked to any existing issues that your PR will be solving
[ ] Included tests for any new functionality
[ ] Checked that all unit tests pass

Workflow
Please avoid rebasing and force-pushing to the branch of the PR once a review is in progress.
Rebasing can make your commits look a bit cleaner, but it also makes life more difficult from the reviewer, because they are no longer able to distinguish between code that has already been reviewed, and unreviewed code.

Thank you @ronreiter !


Unique id is broken since v3

Describe the bug
I need unique ids when multiple SVGs have <defs>. With v2.8 I was using the following code and it works well.
{
    name: 'preset-default',
    params: {
        overrides: {
            cleanupIDs: {
                prefix: {
                    toString() {
                        return crypto.randomBytes(20).toString('hex').slice(0, 4)
                    }
                }
            }
        }
    }
}

But in v3 the prefix parameter of cleanupIDs is removed replacing prefixIds. I can't get the same rendering for the IDs.
I've tested this code but it breaks the <defs>.
{
    name: 'prefixIds',
    params: {
        delim: '',
        prefix: function (node, info) {
            return crypto.randomBytes(20).toString('hex').slice(0, 4)
        }
    }
}

In input there are 2 svgs
gradient.svg
<svgxmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="MyGradient"><stop offset="5%" stop-color="green"/><stop offset="95%" stop-color="gold"/></linearGradient></defs><rect fill="url(#MyGradient)" width="100%" height="100%"/></svg>

delete-alert.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 19"><defs><linearGradient id="a" x1="0%" x2="100%" y1="9.5%" y2="90.5%"><stop offset="0%" stop-color="#FF0053"/><stop offset="100%" stop-color="#EE5B35"/></linearGradient></defs><g fill="none"><path fill="url(#a)" d="M15 8a5 5 0 110 10 5 5 0 010-10zm-9.81 7L9 16.36c-.48 1.27-1.72 1.9-2.77 1.54-1.04-.36-1.52-1.63-1.04-2.9zM11.2.84c.2-.68.92-.98 1.63-.78.71.2 <IP_ADDRESS> 1.56l-.41.98A5.87 5.87 0 0116 6.4h-.2c-3.98 0-7.14 3.03-7.14 6.84 0 .59 0 1.17.2 1.76L0 11.88l.3-.79 2.25-.97 1.73-4.69a6.1 6.1 0 016.62-3.71z" transform="translate(0 .5)"/><path fill="#FFF" d="M12 13h6v1h-6z"/></g></svg>

In output, with the prefixIds plugin, it produced
<svg aria-hidden="true" style="position: absolute; width: 0; height: 0; overflow: hidden;"><defs/><symbol id="gradient"><rect width="100%" height="100%" fill="url(#69452d92ac6ca)"/></symbol><symbol id="delete-alert" viewBox="0 0 20 19"><g fill="none"><path fill="url(#5fcf12e19c5fa)" d="M15 8a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm-9.81 7L9 16.36c-.48 1.27-1.72 1.9-2.77 1.54-1.04-.36-1.52-1.63-1.04-2.9zM11.2.84c.2-.68.92-.98 1.63-.78.71.2 <IP_ADDRESS> 1.56l-.41.98A5.87 5.87 0 0 1 16 6.4h-.2c-3.98 0-7.14 3.03-7.14 6.84 0 .59 0 1.17.2 1.76L0 11.88l.3-.79 2.25-.97 1.73-4.69a6.1 6.1 0 0 1 6.62-3.71z" transform="translate(0 .5)"/><path fill="#FFF" d="M12 13h6v1h-6z"/></g></symbol></svg>

I've also tested the solution from https://github.com/svg/svgo/issues/674#issuecomment-1353701782 but there is always ids conflics. It produces the following output:
<svg aria-hidden="true" style="position: absolute; width: 0; height: 0; overflow: hidden;"><defs><linearGradient id="1qorephmpqg__a"><stop offset="5%" stop-color="green"/><stop offset="95%" stop-color="gold"/></linearGradient><linearGradient id="1qorephmpqg__a" x1="0%" x2="100%" y1="9.5%" y2="90.5%"><stop offset="0%" stop-color="#FF0053"/><stop offset="100%" stop-color="#EE5B35"/></linearGradient></defs><symbol id="gradient"><rect width="100%" height="100%" fill="url(#1qorephmpqg__a)"/></symbol><symbol id="delete-alert" viewBox="0 0 20 19"><g fill="none"><path fill="url(#1qorephmpqg__a)" d="M15 8a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm-9.81 7L9 16.36c-.48 1.27-1.72 1.9-2.77 1.54-1.04-.36-1.52-1.63-1.04-2.9zM11.2.84c.2-.68.92-.98 1.63-.78.71.2 <IP_ADDRESS> 1.56l-.41.98A5.87 5.87 0 0 1 16 6.4h-.2c-3.98 0-7.14 3.03-7.14 6.84 0 .59 0 1.17.2 1.76L0 11.88l.3-.79 2.25-.97 1.73-4.69a6.1 6.1 0 0 1 6.62-3.71z" transform="translate(0 .5)"/><path fill="#FFF" d="M12 13h6v1h-6z"/></g></symbol></svg>

To Reproduce
I don't think it's necessary, tell me if necessary
Expected behavior
Unique ids should be possible as in v.2.8.
Screenshots
Desktop (please complete the following information):

SVGO : 3.0.2
NodeJs : 14.21.2
OS: macOS 12.6

Additional context
The package is used inside the svg-chunk-webpack-plugin. All SVGO options are transmitted from plugin users.
The question was posted on the SVGO Discord channel, without response (See question on SVGO Discord).
This issue is linked to https://github.com/svg/svgo/issues/674

Hello
Exactly the same issue.
It fail when the returned value is computed 😕
Work:
      svgoConfig: {
        plugins: [
          {
            name: "prefixIds",
            params: {
              prefixIds: true,
              prefixClassNames: false,
              prefix(node, info) {
                return `toto`;
              },
              delim: "-",
            },
          },
          {
            name: "cleanupIds",
            params: {
              minify: false,
            },
          },
        ],
      }

Doesn't work:
      svgoConfig: {
        plugins: [
          {
            name: "prefixIds",
            params: {
              prefixIds: true,
              prefixClassNames: false,
              prefix(node, info) {
                return `toto${Math.random().toString()}`;
              },
              delim: "-",
            },
          },
          {
            name: "cleanupIds",
            params: {
              minify: false,
            },
          },
        ],
      }

Try to put prefixIds after cleanupIds

With prefixIds after cleanupIds there are ids conflics.
With prefixIds before cleanupIds the prefix is not applied.

@TrySound can you help us on this please?
The decision to remove the cleanupIds prefix plugin was made in the v3 release so I imagine you have an alternative solution? Thanks

Running into this issue as well. Without any changes to the source SVG, previously I would get an ID like youtube_svg__cls-1. Now, the exact same SVG ends up with an ID of prefix__cls-1.
This is my config:
module.exports = {
  js2svg: {
    indent: 2,
    pretty: true,
  },
  plugins: [
    {
      name: 'preset-default',
      params: {
        overrides: {
          removeViewBox: false,
        },
      },
    },
    'convertStyleToAttrs',
    'prefixIds',
    'removeDimensions',
  ],
};

Any suggestions on how to fix this please? @TrySound

@botmaster

Try to put prefixIds after cleanupIds

TrySound is correct, prefixIds must be after cleanupIds. Doing it the other way around would make cleanupIds undo prefixIds.

@yoriiis

so I imagine you have an alternative solution? Thanks

The alternate solution was to use prefixIds, however it had a bug. Turns out the same bug I noticed and documented in https://github.com/svg/svgo/pull/1763#issuecomment-1742810271 was the bug that was causing you grief here as well.
I've opened the following PR:

https://github.com/svg/svgo/pull/1814

With this, I've tested both your examples using the following configuration, and can confirm they no longer break.
const crypto = require('crypto');

module.exports = {
  plugins: [
    'preset-default',
    {
      name: 'prefixIds',
      params: {
        delim: '',
        prefix: () => crypto.randomBytes(20).toString('hex').slice(0, 4)
      }
    }
  ],
};

Sorry for the headache, and thanks for being patient with this. Hopefully the fix for this will be released in either v3.0.3 or v3.0.4.

Thanks so much @SethFalco 🙌  Can confirm this works in our project 👍

Here's a modern ES Modules + JSDoc version of the randomBytes config:
import { randomBytes } from 'node:crypto';

/** @type {import('svgo').Config} */
const svgoConfig = {
  plugins: [
    'preset-default',
    {
      name: 'prefixIds',
      params: {
        delim: '',
        prefix: () => randomBytes(20).toString('hex').slice(0, 4),
      },
    },
  ],
};

export default svgoConfig;

A simpler alternative which does not rely on any imports is a simple counter, can also confirm this works in our project:
let svgoPrefixIdsCount = 0;

/** @type {import('svgo').Config} */
const svgoConfig = {
  plugins: [
    'preset-default',

    // Avoid collisions with ids in other SVGs,
    // which was causing incorrect gradient directions
    // https://github.com/svg/svgo/issues/1746#issuecomment-1775464096
    //
    // Previously, this was a problem where unique ids
    // could not be generated since svgo@3
    // https://github.com/svg/svgo/issues/674
    // https://github.com/svg/svgo/issues/1746
    {
      name: 'prefixIds',
      params: {
        delim: '',
        prefix: () => svgoPrefixIdsCount++,
      },
    },
  ],
};

export default svgoConfig;


Look into posibility for utilizing the internal DNS to allow access to infrastructure components

Currently every auto generated address used throughout the cluster is manual manage on the vms outside the cluster. It would be more suitable to at least use Kubernetes own DNS if possible to resolve the IPs.
If this doesn't work, it could be needed with gateway or reserves proxy to for allowing automatic configuration of routes and updates to routes in case stuff is moved around within the cluster.

Remember to clean up the hack currently used to resolve addresses on ws, apicache, cli and in dev2 and builds

After this issue: https://github.com/stackabletech/issues/issues/436 is resolved, we would be able to move the cluster to another domain like gbif.org or gbif.net rather than the default cluster.local


Error when using typed version with version = "literal: [...]"

Loving scriv... thanks a lot.
In my case scriv errors out with the following exception when issuing scriv collect:
scriv.exceptions.ScrivException: Couldn't find literal: 'literal: src/fedinesia/__init__.py: __version__'
The file exists and has a valid definition for the version variable. The one thing "special" in my case is that I have the variable typed. Below is an abbreviated version of my init.py file:
from typing import Final

__version__: Final[str] = "2.4.0"

If I remove the typing and write the version definition like __version__ = "2.4.0" collect works as expected.
Is it possible to make scriv work with typed variables to determine the version?

Good catch! This is fixed in commit 801fb4e68b7e8b30fca45f6cccf51a2c3ddefd05.

This is now released as part of scriv 1.2.1.

Thanks... just updated and works with my "fancy" setup now... awesome!


usage with imagesLoaded

Hello,
Firstly, thanks for your amazing work here. This is a must use plugin...
Anyhow, I've tried to use it in conjunction with imagesLoaded, but alas it is not working.  Essentially I have a grid of images (masonry type layout) that I can only initialize once all of the images have been loaded.  The Aspect ratio css trick isn't going to work as all of the images are different sizes.
Any thoughts.
Thanks

I've done this... I never used MutationObservers before, so not 100% this is the best way to do this
function lazyLoadedImagesLoaded(el, each, complete) {
	const $tag = $(el)
	const config = {
		attributes: true,
		childList: false,
		characterData: false,
		subtree: true,
		attributeFilter: ['class']
	}

	const images = el.querySelectorAll('img')
	const total = images.length

	let previous = ''
	const observer = new MutationObserver((mutations) => {
		mutations.filter((mutation) => mutation.target.tagName.toUpperCase() === 'IMG')
						.forEach((mutation) => {
							if(previous === mutation.target.currentSrc && typeof each === 'function') {
								each(mutation.target)
							}
							previous = mutation.target.currentSrc
							if($tag.find('.lazyloaded').length >= total) {
								observer.disconnect()
								if(typeof complete === 'function') {
									complete()
								}
							}
						})
	})
	observer.observe(el, config)
}

@magicspon
This is a possible solution.
Other ones:
1.re-Update your layout (https://github.com/aFarkas/lazysizes#updating-layout-of-js-widgets): http://codepen.io/aFarkas/pen/JdrXjm

If an image is loaded there is always a load event. lazySizes adds/removes classes only inside a rAf so. So if you check after load + rAF you can see wether there are still .lazyloading, ..lazyload classes in your DOM. Or you can filter .lazyloadingwithimage.complete` to remove loaded images, without a rAF. (See also: https://github.com/aFarkas/lazysizes/issues/329)

You can also lighten your test with the detect above.

function lazyLoadedImagesLoaded(el, each, complete) {
	const $tag = $(el)
	const config = {
		attributes: true,
		childList: false,
		characterData: false,
		subtree: true,
		attributeFilter: ['class']
	}

	const observer = new MutationObserver((mutations) => {
		if($tag.find('.lazyloading, .lazyload').length){
			observer.disconnect()
			if(typeof complete === 'function') {
				complete()
			}
		}
	})

	observer.observe(el, config)
};

Hi Thanks for your reply.
I'm using this in conjunction with packery so I've filtered out any mutations on non image elements.
And then this bit:
if(previous === mutation.target.currentSrc && typeof each === 'function') {
   each(mutation.target)
}
previous = mutation.target.currentSrc

ensures that the each function is only called once per image.
const pkr = new Packery(el, {
			itemSelector: '.js-cell',
			resize: true,
			gutter: 10,
			percentPosition: true,
			initLayout: false
		})
		lazyLoadedImagesLoaded(el, pkr.layout.bind(pkr), log.bind(null, 'all finished'))


Theme Tabler started throwing error on every request.

Error being logged on every request:
Could not find config key: classes.body. Neither in the Backpack theme, nor in the fallback theme, nor in ui.

Good catch Karan! Fixed in https://github.com/Laravel-Backpack/theme-tabler/pull/92


feat: Add release workflow and configuration

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Weird error when trying to get started

Dunno if this belongs here but I was trying to run this on my Mac:

But I just get:
➜ $ deno run -A -r https://fresh.deno.dev
Download https://fresh.deno.dev/
Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>error: Unexpected token `cause`. Expected * for generator, private key, identifier or async at https://deno.land/std@0.193.0/fs/walk.ts:15:11

I Googled the issue but found nothing... Sorry if this is not the right place to post this

Which version of Deno are you using. Have you upgraded to the newest version? You can check with deno upgrade

I'm was on the latest, I installed deno just before running deno run -A -r https://fresh.deno.dev
But it seems that doing deno upgrade did fix it.

Happy to hear that you found a solution. If running deno upgrade fixed it, then it's likely that the installed deno version was a bit older.


Add in method setting for webhooks

Some webhooks utilise PUT instead of strictly POST, in order to support them I've added in the ability to specify which method the webhook should allow in order to allow for these cases
Let me know if you want any changes to this, it's my first time touching the project so suggestions are more than welcome

Sorry for the extra force, after a bit more time to think on it I wasn't quite happy with my handling of getHttpMethod, I'm still quite, getEndpointPath only returns the first instance of the output it finds in the logs, this leads to only finding the first method set.
Due to the promise required outputs() from AwsConstruct I can't just return this.methods.join(', ') nor can I use the stack output due to it only returning the first instance
I'd very happily get your opinion on hows best to handle this

Yep that'd make a lot of sense, I've just got those changes pushed up

@fredericbarthelet WDYT?

I'd like to get @fredericbarthelet's opinion on this. I think this PR makes sense.
In any case we'd need tests to cover the new feature.

I've rebased everything, added in the changes to the docs and unit tests. Let me know if you want anything further done!

Thanks for your contribution @SludgeGirl :) ! Will be releasing a new Lift version right away for you to be able tu use this feature.


problems when debug

I have executed the npm i -S ng-simple-slideshow and I have added it to app.module.ts but when in my HTML I place <slideshow [imageUrls] = "imageUrlArray"> </ slideshow> does not execute the images

what is your imageUrlArray variable?

I will try to explain .. when I made the npm I did not install the modules / IImage interface, but import it in import {IImage} from 'node_modules / ng-simple-slideshow / src / app / modules / slideshow / IImage'; and when I call the interface with imageUrls: (string | IImage) [] = [
    {url: 'https://cdn.vox-cdn.com/uploads/chorus_image/image/56748793/dbohn_170625_1801_0018.0.0.jpg', caption: 'The first slide', href: '#config'}
  ]; does not load the image

I'm not at sea because I'm using angular 8.0.3 and it's not yet compatible

try using 1.3.0-beta.1


i18n(it): Update guides/deploy/cloudflare.mdx

Description (required)
Updated guides/deploy/cloudflare.mdx

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

it
guides/deploy/cloudflare.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Thanks @casungo, could you apply the changes from #8167 so we can merge this one? 🙌

Thanks @casungo, could you apply the changes from #8167 so we can merge this one? 🙌

done, sorry for the wait! :)


[FEATURE] Tool development for Search Monitor Tool

Is your feature request related to a problem?
Agent framework (https://github.com/opensearch-project/ml-commons/issues/1161 ) needs tools to extend functionality. This issue propose to add search monitor and alert tools to it.
Search Alerting Monitors By Index: use this tool to search alerting monitors by index name in the OpenSearch cluster. This tool takes the index name as input
What solution would you like?
Agent framework (https://github.com/opensearch-project/ml-commons/issues/1161 ) will provide a general tool framework. We can build search monitor/alerts tools with that framework.

Build against the Tool interface on the agent_framework_dev branch: https://github.com/opensearch-project/ml-commons/blob/feature/agent_framework_dev/spi/src/main/java/org/opensearch/ml/common/spi/tools/Tool.java
Review example tools in the Agent Framework POC commit: https://github.com/opensearch-project/ml-commons/commit/1b85cffb07977a3aedb61a41637cb1b24f6cd016 where there are 6 tools under ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/. A good example is the CatIndices tool: https://github.com/opensearch-project/ml-commons/blob/feature/agent_framework_dev/ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/CatIndexTool.java which shows how to use the NodeClient (IndicesAdminClient) to fetch Cluster Health statistics.
Implement a similar tool using OpenSearch search functionality for Alerting Monitors by index name.

What alternatives have you considered?
N/A
Do you have any additional context?
#1161

Sample json body to search monitors API:
{
    "query": {
        // list of clauses under the bool.must array
        // will omit all of below if all of triggers / monitor name pattern / monitor name / monitor enabled / input indices are null
        // if so, it is ok if the must array is empty, will just return everything
        "bool": {
            "must": [
                // triggers - will omit if nothing, else use must / must_not for triggers / no triggers, respectively
                {
                    "bool" : {
                        "must": [ // swap out must or must_not to include/exclude populated triggers or not
                            {
                                "nested": {
                                    "path": "monitor.triggers",
                                    "query": {
                                        "exists": {
                                            "field": "monitor.triggers"
                                        }
                                    }
                                }
                            }
                        ]
                    }
                },
                // monitor name pattern / wildcard - will omit if nothing
                {
                    "wildcard": {
                        "monitor.name": {
                            "value": "*"
                        }
                    }
                },
                // explicit monitor name - will omit if nothing
                {
                   "term": {
                       "monitor.name.keyword": "ztest-monitor"
                   }
                },
                // monitor enabled or not - will omit if nothing
                {
                    "term": {
                        "monitor.enabled": true
                    }
                },
                // monitor input indices - will omit if nothing
                {
                    "nested": {
                        "path": "monitor.inputs",
                        "query": {
                            "wildcard": {
                                "monitor.inputs.search.indices": {
                                    "value": "movies"
                                }
                            }
                        }
                    }
                }
            ]
        }
    },
    "size": 20,
    "from": 0,
    "sort": {
        "monitor.name.keyword": "asc"
    }
}

Closing this issue as we already developed this tool in skill plugin.


spaces-streamlit: no default port override

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


fix: Update Build Flag

Proposed changes

PlatformIO projects--where Cpp-Crypto is an external dependency--will not find find this directory and will fail to build.
This PR adds src/lib to the build flags in library.json and resolves this issue.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improve a current implementation without adding a new feature or fixing a bug)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Build (changes that affect the build system)
[ ] Docs (documentation only changes)
[ ] Test (adding missing tests or fixing existing tests)
[ ] Other... Please describe:

Checklist

[x] I have read the CONTRIBUTING documentation
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

@air1one @faustbrian - please review this in the next few days. Be sure to explicitly select labels so I know what's going on.
If no reviewer appears after a week, a reminder will be sent out.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   87.82%   87.82%
=======================================
  Files          29       29
  Lines         805      805
=======================================
  Hits          707      707
  Misses         98       98

Continue to review full report at Codecov.

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


Fix issues when referencing as a dependency in another typescript project

Problem 1:
The changes made in commit f080f264256857093714116d7c4ecd8be51bfe67 will cause another typescript phaser project that references phaser-input to fail to compile if that project uses requirejs, webpack, or browserify. This is because of the duplicate ambient declaration of define  and module.
In order to still load phaser-input in a webpack project, take the following steps:

Install the exports-loader with npm i exports-loader --save-dev
Add the following line to the module.loaders config in webpack.config.js: {test: /phaser\-input\.js$/, loader: 'exports?Fabrique=true'}
Import the Fabrique namespace with var Fabrique = require("phaser-input");
Add the plugin with game.add.plugin(Fabrique.Plugins.InputField) or game.add.plugin(new Fabrique.Plugins.InputField(game, game.plugins));

There is no clean solution to include proper Webpack support without rewriting the code to use external modules instead of internal modules.
Problem 2:
Another issue is that while Phaser v2.6.1 support is indicated, in reality, the typescript declarations clash because the Plugin constructor typings are different between phaser.d.ts and what is used in Plugin.ts.

Indeed, I have no experience with Webpack myself, but the official documentation seems to advice such a construction as well, https://webpack.github.io/docs/shimming-modules.html

Yeah thanks! :)


[FEATURE] - encrypting the clear text password

Hello
I want to use this tool to sync the network log events from. Guardicore Cetra but I've noticed that the password is stored in clear text in the .edgerc file.
Is there an option to store hashed password or encrypt the password somehow?
we received this requirement from a customer to use our tools (guardicore solution center tools) and I can point you to the engineer that changed it in all of out tools.

Hi @ShlomiSalman,
To be able to login against the API, ULS somehow needs to access (read) the clear text password.
So, here are a couple of thoughts from my end, but happy to have a conversation on how the issue got solved on the solution center tools side.
So here we go:

Use environmental variables (a very common way to solve this issue) - the good thing is, the value can come out of encrypted VAULT or other tools and be only provided at runtime
base64 encoding (well .. no security added with this, just obscurity :D and I would not use it as a solution at all)
encrypted .edgerc file but ULS (and the CLIs) somehow need to access the unencrypted token and this is where the weakness comes in :$
Embedded VAULT client to manage passwords directly inline (probably a code change and requires VAULT infrastructure on the customer side)

Right now, our recommendation is to use strict RBAC to minimize the capabilities (=authorization) of the regarding token to only allow retrieval of logs.
Feel free to plunge me a meeting invite into my calendar so we can have a discussion and also feel free to point me to the eng. that solved it towards the other tool (find me on teams slack mail ... )
best
Mike Schiessl

@ShlomiSalman,
as discussed the GC-LOGS is now supporting "ENV VARS" in order to receive the credentials

Variable
Default
Description

CENTRA_MANAGEMENT_HOSTNAME
none
Alternative to EDGERC - put the CENTRA management hostname here

CENTRA_MANAGEMENT_PORT
443
Alternative to EDGERC - put the CENTRA management port here

CENTRA_MANAGEMENT_USERNAME
none
Alternative to EDGERC - put the CENTRA username here

CENTRA_MANAGEMENT_PASSWORD
none
Alternative to EDGERC - put the CENTRA password here


New game idea

How can I write code for a game like chess
Consists of 42 slots and 36 stones
So that it is played by two players. Each player has 18 stones and has complete freedom to place them wherever he wants, provided that he does not place three stones in a horizontal or vertical shape.
the way of playing
The player moves his stones until he gets three of his stones arranged horizontally or vertically, and then he raises one of the opponent’s stones
#game
#apple
#swift

Hi, I am pretty sure this issue section is not meant for game ideas.
However, I have an idea for some more features:

Persist the game state when the app is closed
Add speed and intelligence settings for AI
Detect draw conditions such as dead positions, insufficient material, repetition, etc
Standard openings

Hope that helps you anyway!

On Thu, 16 Jun 2022 at 2:36 PM npcs @.***> wrote:

Hi, I am pretty sure this issue section is not meant for game ideas.
However, I have an idea for some more features:

Persist the game state when the app is closed
Add speed and intelligence settings for AI
Detect draw conditions such as dead positions, insufficient
material, repetition, etc
Standard openings

Hope that helps you anyway!
—
Reply to this email directly, view it on GitHub
https://github.com/apple/swift/issues/59485#issuecomment-1157609974, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZSZ3OIV33NO6MDGLPO7GDDVPMNTDANCNFSM5Y6GRRNA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I appreciate your kind consideration of my question
Of course there will be updates to the game in the future
But I am a newbie in programming and I need help
Thanks again


Update Azure extension to include 0.8.4 keptn workflow events

Previously with keptn you will use a deployment event to trigger a new jmeter execution. With the new implementation the type of event has changed and now you need to trigger a customize event to run the jmeter load test.
More info and an example about the deployment event here link

@heydenb could you please have a look?

Just to add some additional context and guidance.
Currently the extension sends start-evaluation, deployment-finished and configuration-changed events. These are the old events Keptn used to use to trigger Keptn automation.
As Diego pointed out - to truly support Keptn 0.8.x the extension needs to send the new SEQUENCE.TRIGGERED events.
The best would be to support at least evaluation and deployment triggered. Here are two example events showing the new event type and the data block
Triggering a Delivery Sequence
{
  "data": {
    "configurationChange": {
      "values": {
        "image": "grabnerandi/simplenodeservice:3.0.0"
      }
    },
    "deployment": {
      "deploymentURIsLocal": null,
      "deploymentstrategy": ""
    },
    "project": "delivery-demo",
    "service": "tnt-angr-svc",
    "stage": "staging"
  },
  "id": "8deb895e-ab9b-44a6-b00b-bab9efaffbf2",
  "source": "https://github.com/keptn/keptn/cli#configuration-change",
  "specversion": "1.0",
  "time": "2021-07-28T13:02:29.359Z",
  "type": "sh.keptn.event.staging.delivery.triggered",
  "shkeptncontext": "a4f2e373-d63c-4ef7-8fa6-cf81205bbfe8",
  "shkeptnspecversion": "0.2.1"
}

Triggering an Evaluation Sequence
{
  "data": {
    "evaluation": {
      "end": "2021-07-28T14:02:49.230Z",
      "start": "2021-07-28T13:52:49.192Z"
    },
    "image": "Cloud Automation Quality Gates",
    "labels": {
      "buildId": "10",
      "buildNumber": "10",
      "jobname": "Cloud Automation Quality Gates",
      "joburl": "https://myjenkins/job/Cloud%20Automation%20Quality%20Gates/10/"
    },
    "monitoring": null,
    "project": "dynatrace",
    "result": "pass",
    "service": "journeyservice",
    "stage": "quality-gate",
    "status": "succeeded",
    "tag": "10",
    "teststrategy": "manual"
  },
  "id": "96af60bb-08a3-4b11-bf95-4c6cb9f17c74",
  "source": "Jenkins",
  "specversion": "1.0",
  "time": "2021-07-28T14:03:49.819Z",
  "type": "sh.keptn.event.evaluation.triggered",
  "shkeptncontext": "39981cd8-47d2-4fd3-baaa-ca14908e5d62",
  "shkeptnspecversion": "0.2.1"
}

I hope this helps

Two new event types were introduced. delivery and generic. Delivery allows you to define a sequence, an image and so on. While generic allows you to specifiy the entire body of the event. See the updated readme for more info


🚀 :  First deploy

Overview
Deploy version 0.0.1.
Type

[ ] bug fix
[x] feature
[ ] code refactor
[x] docs update
[x] core update

Difference

Interactive CLI

Normal mode
Clipboard mode
Message mode
Template mode

Features

Store use history and recommend
Cleanable use history


Chat with past Summarized Meeting Notes

Option 1: Vectorization:
Objective
To build and deploy a vector database that stores summarized meeting notes, making them easily searchable and retrievable for chatbot integration.
Project Phases
Phase 1: Research and Planning
Technology Selection: Research FAISS, Annoy, Elasticsearch with a vector plugin.
Requirements Analysis: Define database features, focusing on fast nearest-neighbor search, scalability, and high-dimensional vector support.
Data Schema: Decide on the schema for storing vectors and metadata like meeting date and participants.
Phase 2: Local Development
Environment Setup: Local development environment for the chosen technology.
Data Ingestion: Convert summarized meeting notes into vectors.
Database CRUD Operations: Implement CRUD operations.
Testing: Unit tests for CRUD operations.
Phase 3: Integration
GitHub Actions Workflow: Extend existing workflow to populate the vector database.
API Integration: Integrate vector database API with existing Python script.
Data Validation: Implement checks for data insertion.
Phase 4: Deployment
Dockerization: Containerize the vector database.
Cloud Deployment: Deploy to AWS, GCP, or Azure.
Monitoring and Logging: Implement monitoring and logging.
Phase 5: Documentation and Review
Documentation: Comprehensive setup and usage guide.
Code Review: Ensure best practices.
Performance Evaluation: Run benchmarks.
Phase 6: Future Enhancements
Advanced Features: REST API, frontend dashboard.
Machine Learning: Implement ML algorithms for clustering or classification.
User Feedback: Collect feedback for improvement.

Alternative: Functionality to  inquire about specific meetings, transcripts compressed into context window size.


Record .NET Aspire video for Azure Developers day

Describe the issue or suggestion
Record .NET Aspire video for Azure Developers day

Associated WorkItem - 308081

Done, recorded and passed off to the production team.


WG529 Auth styling and flags improvements

Closes:

https://app.zenhub.com/workspaces/weave-gitops-enterprise-6127680175876a0014fc5657/issues/weaveworks/weave-gitops-enterprise/529
https://app.zenhub.com/workspaces/weave-gitops-enterprise-6127680175876a0014fc5657/issues/weaveworks/weave-gitops-enterprise/528

What changed?

Styling: updated background / welcome screen and user settings section
Introduced username input (with validation)
sign_in route redirects to applications page if auth flag is not switched on
sign in error does not persist anymore when user navigates away
If the user hasn't set up a password and / or OIDC we don't show the option to log in using that
Add link to docs on Welcome Screen
Default to CLI params for OIDC if config not present in Cluster

Documentation Changes
Added in: https://github.com/weaveworks/weave-gitops/pull/1599
Use to log in with username/password (admin/my-secret-password):
apiVersion: v1
kind: Secret
metadata:
  name: cluster-user-auth
  namespace: wego-system
type: Opaque
data:
  password: JDJhJDEwJExLeXBUSUpFYlpkT0ZYMmJyQ29HN2Vta1QydjBwSkJ5UzRoSnFZdlFKWmRzQzdyN2NFWE15
  username: YWRtaW4=

Use to log in with OIDC (if this is not added to the cluster you can pass the CLI params in e.g: --oidc-issuer-url https://dex-01.wge.dev.weave.works/ --oidc-client-id weave-gitops --oidc-client-secret ZXhhbXBsZS1hcHAtc2VjcmV0 --oidc-redirect-url https://<IP_ADDRESS>:9001/oauth2/callback):
apiVersion: v1
data:
  ClientID: d2VhdmUtZ2l0b3Bz
  ClientSecret: WlhoaGJYQnNaUzFoY0hBdGMyVmpjbVYw
  IssuerURL: aHR0cHM6Ly9kZXgtMDEud2dlLmRldi53ZWF2ZS53b3Jrcw==
  RedirectURL: aHR0cHM6Ly9sb2NhbGhvc3Q6NDU2Ny9vYXV0aDIvY2FsbGJhY2s=
kind: Secret
metadata:
  name: oidc-auth
  namespace: wego-system

@foot Hey Simon! Got one issue here which seems to have to do with the proxy but not sure how to fix. If you log in with OIDC, you start with http://localhost:4567 go through the flow but the callback/redirect doesn't work as expected as it's still using https rather than coming back to http.

Can you change to --oidc-redirect-url=http://localhost:4567?

Yup sorry I left 9001 in the example, I am testing with WEAVE_GITOPS_AUTH_ENABLED=true go run ./cmd/gitops/main.go ui run --oidc-issuer-url https://dex.dev.wkp.weave.works --oidc-client-id weave-gitops --oidc-client-secret ZXhhbXBsZS1hcHAtc2VjcmV0 --oidc-redirect-url http://localhost:4567/oauth2/callback --log. In the above example aHR0cDovL2xvY2FsaG9zdDo0NTY3L29hdXRoMi9jYWxsYmFjaw== is also the encoding of http://localhost:4567/oauth2/callback. I will adjust the port now in the PR description too


added _animation for fade away for typing_notice

https://github.com/user-attachments/assets/f1e2f667-957d-4a8b-9625-c4b9cd0de007
Fixed 3rd task of this issue
https://github.com/project-robius/robrix/issues/155

@alanpoon
The vertical height of the notification background is a bit too large, can it be adjusted to be narrower?
Also, resolve the conflict.

@alanpoon The vertical height of the notification background is a bit too large, can it be adjusted to be narrower?
Also, resolve the conflict.

Done.

Nice job, looks really good!
Can you also make it sliding upwards when showing it too? That way the animation is symmetric when being shown and when being hidden.
I also think it'd look nicer if the animation was a little bit faster (like 25% faster), but that's ultimately up to you.

Added Sliding upwards when showing.
Sped up the animation
Height of typing_notice made narrower

https://github.com/user-attachments/assets/8dbc8eb2-3e45-4c41-a2ab-7a26cc09f94c

resolved conflict and merged main


Changes to upgrade to Apollo Server v4 | apollo-datasource deprecated

Hi @andrejpk ,
Noticed that with Apollo Server v4, apollo-datasource package has been deprecated and will hit EOL on 22 October 2024.
Reference - https://www.npmjs.com/package/apollo-datasource
Could you please consider making the required changes to remove the apollo-datasource dependency?
Thanks

Hi @stpru24 , I noticed that in my last push of dependency updates. I'd like to make that change. I only spent about 5 min looking into it so far. Is that's a backward -compatible change or would that require a major version change in this library?
Also happy to accept a PR or collaborate if to have some time to try this. It would speed this up.

Hi @andrejpk , looks like there are some major changes, below dependencies are deprecated with Apollo Server V4 -
"apollo-datasource": "^3.3.2"
"apollo-server-caching": "^3.3.0"
"apollo-server-errors": "^3.3.1"
The KeyValueCache interface has been moved and is now in the @apollo/utils.keyvaluecache package.
The InMemoryLRUCache class has also moved to the @apollo/utils.keyvaluecache package.
https://www.apollographql.com/docs/apollo-server/v3/performance/cache-backends#legacy-caching-implementation


[Docs] Custom chart option

Describe the problem
Describe how to use fusioncharts custom charts in the chart widget.
We also need to link to this page inside the property pane.

Updated docs with examples, do check: https://docs.appsmith.com/widget-reference/chart


[Snippet] OGL License Text

A snippet that contains the text of the Open Game License would be a useful shortcut, aiding those users who would like to release their content on sites like the DMs Guild or similar. I would envisage that such a snippet would follow a similar approach to sites like Roll20, and may help clear up users with issues like those raised in #723.
Due to the length of the OGL license text, it may be useful to append the text on it's own page at the end of the current Brew.

Link to SRD & OGL information: https://dnd.wizards.com/articles/features/systems-reference-document-srd
Roll20.net replicates the entire text of the OGL License, as can be seen here and is duplicated below:

OGL License
Permission to copy, modify and distribute the files collectively known as the System Reference Document 5.1 (“SRD5”) is granted solely through the use of the Open Gaming License, Version 1.0a. This material is being released using the Open Gaming License Version 1.0a and you should read and understand the terms of that License before using this material.
The text of the Open Gaming License itself is not Open Game Content. Instructions on using the License are provided within the License itself. The following items are designated Product Identity, as defined in Section 1(e) of the Open Game License Version 1.0a, and are subject to the Conditions set forth in Section 7 of the OGL, and are not Open Content: Dungeons & Dragons, D&D, Player’s Handbook, Dungeon Master, Monster Manual, d20 System, Wizards of the Coast, d20 (when used as a trademark), Forgotten Realms, Faerûn, proper names (including those used in the names of Spells or items), places, Underdark, Red Wizard of Thay, the City of Union, Heroic Domains of Ysgard, EverChanging Chaos of Limbo, Windswept Depths of Pandemonium, Infinite Layers of The Abyss, Tarterian Depths of Carceri, Gray Waste of Hades, Bleak Eternity of Gehenna, Nine Hells of Baator, Infernal Battlefield of Acheron, Clockwork Nirvana of Mechanus, Peaceable Kingdoms of Arcadia, Seven Mounting Heavens of Celestia, Twin Paradises of Bytopia, Blessed Fields of Elysium, Wilderness of The Beastlands, Olympian Glades of Arborea, Concordant Domain of the Outlands, Sigil, Lady of Pain, Book of Exalted Deeds, Book of Vile Darkness, Beholder, gauth, Carrion Crawler, tanar’ri, baatezu, Displacer Beast, Githyanki, Githzerai, Mind Flayer, illithid, Umber Hulk, Yuan-ti.
All of the rest of the SRD5 is Open Game Content as described in Section 1(d) of the License. The terms of the Open Gaming License Version 1.0a are as follows:
OPEN GAME License Version 1.0a The following text is the property of Wizards of the Coast, LLC. and is Copyright 2000 Wizards of the Coast, Inc ("Wizards"). All Rights Reserved.

Definitions: (a)"Contributors" means the copyright and/or trademark owners who have contributed Open Game Content; (b)"Derivative Material" means copyrighted material including derivative works and translations (including into other computer languages), potation, modification, correction, addition, extension, upgrade, improvement, compilation, abridgment or other form in which an existing work may be recast, transformed or adapted; (c) "Distribute" means to reproduce, License, rent, lease, sell, broadcast, publicly display, transmit or otherwise distribute; (d)"Open Game Content" means the game mechanic and includes the methods, procedures, processes and routines to the extent such content does not embody the Product Identity and is an enhancement over the prior art and any additional content clearly identified as Open Game Content by the Contributor, and means any work covered by this License, including translations and derivative works under copyright law, but specifically excludes Product Identity. (e) "Product Identity" means product and product line names, logos and identifying marks including trade dress; artifacts; Creatures characters; stories, storylines, plots, thematic elements, dialogue, incidents, language, artwork, Symbols, designs, depictions, likenesses, formats, poses, concepts, themes and graphic, photographic and other visual or audio representations; names and descriptions of Characters, Spells, enchantments, personalities, teams, personas, likenesses and Special abilities; places, locations, environments, Creatures, Equipment, magical or supernatural Abilities or Effects, logos, Symbols, or graphic designs; and any other trademark or registered trademark clearly identified as Product identity by the owner of the Product Identity, and which specifically excludes the OPEN Game Content; (f) "Trademark" means the logos, names, mark, sign, motto, designs that are used by a Contributor to Identify itself or its products or the associated products contributed to the Open Game License by the Contributor (g) "Use", "Used" or "Using" means to use, Distribute, copy, edit, format, modify, translate and otherwise create Derivative Material of Open Game Content. (h) "You" or "Your" means the licensee in terms of this agreement.

The License: This License applies to any Open Game Content that contains a notice indicating that the Open Game Content may only be Used under and in terms of this License. You must affix such a notice to any Open Game Content that you Use. No terms may be added to or subtracted from this License except as described by the License itself. No other terms or Conditions may be applied to any Open Game Content distributed using this License.

Offer and Acceptance: By Using the Open Game Content You indicate Your acceptance of the terms of this License.

Grant and Consideration: In consideration for agreeing to use this License, the Contributors grant You a perpetual, worldwide, royalty-free, nonexclusive License with the exact terms of this License to Use, the Open Game Content.

Representation of Authority to Contribute: If You are contributing original material as Open Game Content, You represent that Your Contributions are Your original Creation and/or You have sufficient rights to grant the rights conveyed by this License.

Notice of License Copyright: You must update the COPYRIGHT NOTICE portion of this License to include the exact text of the COPYRIGHT NOTICE of any Open Game Content You are copying, modifying or distributing, and You must add the title, the copyright date, and the copyright holder's name to the COPYRIGHT NOTICE of any original Open Game Content you Distribute.

Use of Product Identity: You agree not to Use any Product Identity, including as an indication as to compatibility, except as expressly licensed in another, independent Agreement with the owner of each element of that Product Identity. You agree not to indicate compatibility or co-adaptability with any Trademark or Registered Trademark in conjunction with a work containing Open Game Content except as expressly licensed in another, independent Agreement with the owner of such Trademark or Registered Trademark. The use of any Product Identity in Open Game Content does not constitute a Challenge to the ownership of that Product Identity. The owner of any Product Identity used in Open Game Content shall retain all rights, title and interest in and to that Product Identity.

Identification: If you distribute Open Game Content You must clearly indicate which portions of the work that you are distributing are Open Game Content.

Updating the License: Wizards or its designated Agents may publish updated versions of this License. You may use any authorized version of this License to copy, modify and distribute any Open Game Content originally distributed under any version of this License.

Copy of this License: You MUST include a copy of this License with every copy of the Open Game Content You Distribute.

Use of Contributor Credits: You may not market or advertise the Open Game Content using the name of any Contributor unless You have written permission from the Contributor to do so.

Inability to Comply: If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Open Game Content due to statute, judicial order, or governmental regulation then You may not Use any Open Game Material so affected.

Termination: This License will terminate automatically if You fail to comply with all terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses shall survive the termination of this License.

Reformation: If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable.

COPYRIGHT NOTICE Open Game License v 1.0a Copyright 2000, Wizards of the Coast, LLC. System Reference Document 5.1 Copyright 2016, Wizards of the Coast, LLC.; Authors Mike Mearls, Jeremy Crawford, Chris Perkins, Rodney Thompson, Peter Lee, James Wyatt, Robert J. Schwalb, Bruce R. Cordell, Chris Sims, and Steve Townshend, based on original material by E. Gary Gygax and Dave Arneson.

Looks good, though I would also recommend adding an extra bit to the snippet, such as
{{note
**HEY AUTHOR, DON'T FORGET TO UPDATE SECTION 15** — SEE SECTION 5 FOR WHAT YOU MUST DO. *(Then delete this note, obviously)*
}}

Well MAYBE this should wait until the O.G.L. 1.1 comes out, or Paizo beats WotC in court.

It's a simple thing to add, just no one has got to it in the past year... Now it's the subject of a legal battle, so it will either become incredibly relevant or incredibly moot.
Although it may be useful to add an ORC snippet once Paizo releases it. I think I read somewhere that Kobold Press was also onboard with Paizo? Although their press release was before Paizo's... So maybe there won't be a need for a separate Kobold Press Project Black Flag snippet, or a MCDM license snippet...
All we can do is wait and see, at this point.
But we can attach a license text snippet to each individual theme, so the Pathfinder theme has the Paizo ORC license snippet, while 5E has whatever OGL/Fan Content license, etc.

I think a dropdown of all licenses should be considered, regardless of theme.

I think a dropdown of all licenses should be considered, regardless of theme.

That is probably a better idea - just because you're using a PF2E theme doesn't mean we can assume that the user wants the ORC license over OGL, or even a CC.

I think a dropdown of all licenses should be considered, regardless of theme.

A drop down with references to various licences, or the actual content of those licences?
The former is supported (though not filled out) with the tags system. license:OGL1.0a, licence:ORC1.0, licence:CC4.0 BY-SA-NC, etc.

I think what Gazook suggests is a dropdown of all the possible licenses, with just the name, and by clicking on it you would add another page with the full license.
Another thing to consider would be the GM Binder style: "This is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used
are property of Wizards of the Coast. ©Wizards of the Coast LLC." at the end of every page.

The intent of the original (has it already been a year?) was to add a snippet that allowed the text of the OGL1.0a to be added in a couple of clicks. With the current drama and announcement of new licenses, once they have boilerplate that needs to be added, they could also be added as options.
As Homebrewery is currently moving to a more system-agnostic stance, putting the license text snippets into their own menu (or a single snippet that presents a drop down list for selection prior to text insertion) seems like the best option. However, for exactly that same reason, because we are moving to be system-agnostic, the Fan Content Policy text should NOT be automatically added to each page but rather be another option for the snippet.
Snippet Text Options:

WotC Fan Content Policy disclaimer
OGL1.0a
OGL1.1/2.0*
ORC*
CC/MIT
GPL

I'm not 100% familiar with Creative Commons licenses, the text to insert may just be a link to the license on the CC website.

* When finalized and exact text to identify the license in use is confirmed.

I imagine it just drops in a div with the license text. Then the themes themselves can style/position those license elements however they want.

Given the latest news drop, it looks like CC-BY-4.0 is the winner for D&D licenses.


Remove glyph references outside range of avaialable glyphs

From #881 corpus report
"free culture" downloaded from http://www.free-culture.cc/freeculture.pdf. Distributed under http://creativecommons.org/licenses/by-nc/1.0/

@pdfjsbot test

Looks great! Page 2 is fixed, and Page 1 looks better than Preview :)
@pdfjsbot makeref


poor performance

Hi, I tried your system - and maybe i am doing something wrong, but this system seems to give rather poor results. How were you able to get the results you describe?
I am using your implementation directly, so it should be same code i am running as you.
See example of poor result here:

Maybe you used some special model which you have not shared?

Please see #8.
You can also try the new UNet model implemented in PyTorch here.


First beta version of Babylon.js inspector

New folder added : inspector, with its own dependencies and gruntfile.
Class Tools updated to load a script by calling a specific URL
Class DebugLayer entirely removed and replaced by this code in the 'show' method :

Check if namespace inspector exist.

If not, load the script set at http://www.babylonjs.com/inspector.js

Create a new inspector with the current scene

Yes it's being implemented !

Can you check with @sevan to use gulp and merge it into the main gulpfile(same for distribution folder as we merged all in /dist

Could we change namespace to Babylon.inspector?

Beside that I love everything

I can change the namespace, no problem.
And we can use gulp-grunt to run the inspector grutn task from the gulp file. I'll check with Seb.

any news on this guys?


Add support for addons

See: https://getbootstrap.com/docs/5.0/forms/input-group/

Bootstrap 5 no longer uses the word "addon".

Let's first replicate the functions and parameters from django-bootstrap4. And document that this behavior may change in the future.


HOCS-2005: rework Axios error handling

When an error is thrown within the express middleware there were a lot of instances of logging the entire Axios object. This isn't useful, and ends up spamming our SIEM.
This change removes this instances and adds a axios error middleware that transposes this error into a GenericError.

You've put a significant number otherwise unrelated cosmetic changes into the same commit as everything else. Consider splitting them into two commits (you can use git add -p for this) so that we can review the substantive changes more easily.

You've put a significant number otherwise unrelated cosmetic changes into the same commit as everything else. Consider splitting them into two commits (you can use git add -p for this) so that we can review the substantive changes more easily.

While I would normally agree, this is an IDE setting that formats on every save. We even have a pre-commit lint check that would throw errors and force a correction. I don't think it's reasonable to disable that.
You can toggle the whitespace diff in the files changed tab that will remove all of this for you.


[DPE-2904] Switch to self hosted runners

Switch to Canonical hosted runners.

@carlcsaposs-canonical, is canonical/data-platform-workflows#94 related to https://github.com/canonical/mysql-operator/pull/354/files?

No, mysql-operator#354 uses github-hosted runners (with the reusable integration workflow). dpw#94 adds a self-hosted runner reusable integration workflow that has the same API as the github-hosted integration workflow
does that answer what you were asking?

Cool. Thanks for the explanation, Carl!

LGTM, but tox run -e integration # integration tests is still wrong in CONTRIBUTION.md, isn't it?

I tried and tox -e integration still collects all the tests. We should most probably add a HOWTO run individual suites, but that's out of scope IMHO.


[R-package] R build for CUDA

https://lightgbm.readthedocs.io/en/latest/R/index.html
There does not seem any option to build a CUDA version for R package. Is it possible to have multiple GPU support via CUDA build?

There does not seem any option to build a CUDA version for R package

That's correct, there isn't currently a CUDA build for the R package. We have an existing feature request for adding such support in the CRAN-style package (#3465) but don't have an equivalent feature request for the CMake-based build.
I've added this request to #2302, where we track feature requests for this repo. Per our policy on feature requests, I'll close this in a few days whenever the active conversation on it stops.
It would be great to have support for building the CUDA-based version of the R package using a similar approach to the one documented at https://lightgbm.readthedocs.io/en/latest/R/index.html#installing-a-gpu-enabled-build for the OpenCL-based builds. Are you interested in trying to contribute such a feature?
If not, you can subscribe to this issue to watch for updates, in case someone attempts to add it in the future.

Sorry, this was locked accidentally. Just unlocked it. We'd still love help with this feature!


OSSM-8185: Add docs for Running OSSM 2 and OSSM 3 side by side

/retest

/retest

Fixed by https://github.com/openshift/release/pull/57740


Vector cryptographic instruction tests

Are there any tests for the vector cryptographic instructions in this repository or elsewhere? I've floundered around for a while but can't see anything like this.
Thanks.

Are you asking about ACTs or code that implements the algorithms (e.g, AES-128) using the instructions and then compares the results to known answers? We are working on making the latter publicly available in the next week or two.

Those tests sound exactly what I want. Thanks.
Perhaps when the tests are ready you could close this issue with a pointer to them?

While I was hoping that we would have some basic ACT-like tests soon, the lack of vector support in the ACT infrastructure has been a major impediment that we have not been able to work around. My estimation of when these tests will be available was overly optimistic. At this point I do not have an ETA of when they will be available.

You can ask questions at the 4pm PT special arch-test SIG session
next Wednesday.
I'll send you the invite. I'll send it to the group, actually.
On Thu, Dec 1, 2022 at 12:57 PM Ken Dockser @.***>
wrote:

While I was hoping that we would have some basic ACT-like tests soon, the
lack of vector support in the ACT infrastructure has been a major
impediment that we have not been able to work around. My estimation of when
these tests will be available was overly optimistic. At this point I do not
have an ETA of when they will be available.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-crypto/issues/239#issuecomment-1334434208,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJXQ2JJKPOKUVGWBLNTWLEGLNANCNFSM6AAAAAASKRTDUA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Special ACT meeting: Vector spec testing
Wednesday Dec 7, 2022 ⋅ 4pm – 5pm
Pacific Time - Los Angeles
Location
https://zoom.us/j/95412060804?pwd=REdXVFNtZElZUk9IUU9ESUM0QndFUT09
https://www.google.com/url?q=https%3A%2F%2Fzoom.us%2Fj%2F95412060804%3Fpwd%3DREdXVFNtZElZUk9IUU9ESUM0QndFUT09&sa=D&ust=1670397480000000&usg=AOvVaw0WZMAPTaYlqKzAXxfSkM77
This is an off-cycle arch_test SIG meeting at a different time and day to
accommodate China time-zones (sorry Europe).The meeting is being called to
discuss vector spec tests. The preliminary agenda is:1. RVV ATG Status
& Coverage2. RISC-V ISAC extension for RVV3. PR submissionThe usual 2nd
week arch_test SIG meeting will be held on the following day, Dec. 8 at the
usual time (8am Pacific time)The agenda will be to continue reviewing open
issues
Organizer
@.***
@.***
Guests
@.*** - organizer
@.***
@.***
@.***
@.***
Alexander Podoplelov
Li, Pan2
@.***
@.***
View all guest info
https://calendar.google.com/calendar/event?action=VIEW&eid=NGtqcmVwcGFmZDFlcXF2cTg0djkzMWEwMWggcmVwbHkrYWhweHZqc3g1ZG1oZ2hzcG0yZG4zNW9ic3pkM25ldmJuaGhmb3BhdmttQHJlcGx5LmdpdGh1Yi5jb20&tok=MjgjYWxsZW4uYmF1bUBlc3BlcmFudG90ZWNoLmNvbTUzZDk2NmY1YmE0ODAxYjU0MmY0ZDc2YmFiMTk2ZWI2MDg3NjE0MDY&ctz=America%2FLos_Angeles&hl=en&es=0
Reply for @.***
and view more details
https://calendar.google.com/calendar/event?action=VIEW&eid=NGtqcmVwcGFmZDFlcXF2cTg0djkzMWEwMWggcmVwbHkrYWhweHZqc3g1ZG1oZ2hzcG0yZG4zNW9ic3pkM25ldmJuaGhmb3BhdmttQHJlcGx5LmdpdGh1Yi5jb20&tok=MjgjYWxsZW4uYmF1bUBlc3BlcmFudG90ZWNoLmNvbTUzZDk2NmY1YmE0ODAxYjU0MmY0ZDc2YmFiMTk2ZWI2MDg3NjE0MDY&ctz=America%2FLos_Angeles&hl=en&es=0
Your attendance is optional.
//
Invitation from Google Calendar: https://calendar.google.com/calendar/
You are receiving this email because you are an attendee on the event. To
stop receiving future updates for this event, decline this event.
Forwarding this invitation could allow any recipient to send a response to
the organizer, be added to the guest list, invite others regardless of
their own invitation status, or modify your RSVP.
Learn more https://support.google.com/calendar/answer/37135#forwarding

Closing as there is a waiver for Vector Crypto ACT at this time.


Stream VODs only in low quality (360p) / Can't play certain videos

Right now we are specifically checking for webm and opus for the video and audio streams.
This works fine on most videos - in fact, we are even able to get 4k60fps videos as a result.
However, this does not seem to be the case for stream VODs as those are only available in 144p and 360p in WEBM.
They do offer AVC/MP4 for everything higher (kinda makes sense since it was probably streamed in x264/H264)
Unfortunately, the current AVMerge script is not working correctly when we try to use the AVC video and MP4/M4A audio streams together.
Another option I thought of was to perhaps use ffmpeg-wasm to just merge the 2 streams in a passthrough mode.
This would prevent a seeking functionality though from what I can tell. Haven't tested it yet though.

So the current way of playing the video and audio is to use a CORS proxy and then routing the YouTube URLs through that.
If we don't do that we get a CORS error through the XMLHttpRequest method inside AVMerge.
What I simply don't understand is how both youtube-local and invidious are able to do it without the need for one.
Having had a quick glance it seemed like they were fetching the stream formats through a /youtubei/v1/player?key= endpoint here (youtube-local) and here (invidious).
The distube/ytdl-core package we're using is not adding any Android-based headers so we might be getting encrypted / invalid links?
I've fiddled around with a basic implementation to copy what youtube-local is doing but the result was unfortunately the same (both AVC not playing and XMLHttpRequest throwing a CORS error without the proxy)

Proxying finally works through a custom endpoint and got.stream!
Now we just need to wait for ~6h to see what error we're getting when one of the YouTube playback URLs is expired and we should request a new one...

Fixed by The Big Push


Endpoint URL Not Respected By AssumeRoleProvider

Describe the bug
The AssumeRoleProvider created as part of loading credentials from a profile does not appear to respect the endpoint URL overrides, and continues to talk to sts.amazonaws.com
Expected Behavior
It should talk to the configured endpoint URL
Current Behavior
It talks to the default STS endpoint
Reproduction Steps
Create a file at /tmp/aws-config with the following content
[profile default]
aws_access_key_id = test
aws_secret_access_key = test

[profile messaging]
role_arn = arn:aws:iam::000000000000:role/messaging
role_session_name = messaging
source_profile = default

Then create a new Rust project with
Cargo.toml
[package]
name = "temp"
version = "0.1.0"
edition = "2021"

[dependencies]
aws-config = "1.5.6"
aws-credential-types = "1.2"
tokio = { version = "1.0", features = ["full"] }

src/main.rs
use aws_credential_types::provider::ProvideCredentials;

#[tokio::main]
async fn main() {
    let aws_config = aws_config::defaults(aws_config::BehaviorVersion::latest()).load().await;
    aws_config.credentials_provider().unwrap().provide_credentials().await.unwrap();
}

Run it with
export AWS_ENDPOINT_URL=http://<IP_ADDRESS>:4566
export AWS_CONFIG_FILE=/tmp/aws-config
export AWS_PROFILE=messaging
cargo run

Get the following error
called `Result::unwrap()` on an `Err` value: ProviderError(ProviderError { source: ProviderError(ProviderError { source: ServiceError(ServiceError { source: Unhandled(Unhandled { source: ErrorMetadata { code: Some("InvalidClientTokenId"), message: Some("The security token included in the request is invalid."), extras: Some({"aws_request_id": "64665aaf-2926-429c-999d-6f22f439d5e3"}) }, meta: ErrorMetadata { code: Some("InvalidClientTokenId"), message: Some("The security token included in the request is invalid."), extras: Some({"aws_request_id": "64665aaf-2926-429c-999d-6f22f439d5e3"}) } }), raw: Response { status: StatusCode(403), headers: Headers { headers: {"x-amzn-requestid": HeaderValue { _private: H0("64665aaf-2926-429c-999d-6f22f439d5e3") }, "content-type": HeaderValue { _private: H0("text/xml") }, "content-length": HeaderValue { _private: H0("306") }, "date": HeaderValue { _private: H0("Thu, 19 Sep 2024 16:19:07 GMT") }} }, body: SdkBody { inner: Once(Some(b"<ErrorResponse xmlns=\"https://sts.amazonaws.com/doc/2011-06-15/\">\n  <Error>\n    <Type>Sender</Type>\n    InvalidClientTokenId\n    <Message>The security token included in the request is invalid.</Message>\n  </Error>\n  <RequestId>64665aaf-2926-429c-999d-6f22f439d5e3</RequestId>\n</ErrorResponse>\n")), retryable: true }, extensions: Extensions { extensions_02x: Extensions, extensions_1x: Extensions } } }) }) })

Crucially this does not require localstack to be running, as it completely ignores the configured endpoint URL
Possible Solution
No response
Additional Information/Context
https://github.com/awslabs/aws-sdk-rust/issues/921 is related, but it would appear https://github.com/smithy-lang/smithy-rs/pull/3014 was only a partial fix
Version
aws-config = 1.5.6
aws-credential-types = 1.2.1

Environment details (OS name and version, etc.)
x86_64 GNU/Linux
Logs
No response

Thanks for the short repro example, I've been able to reproduce this, looking into it.

Fix for this should be available from Oct 25 2024 release and after.


Stackoverflow in transform

using Tilde
model = @model (y, L) begin
    n = length(y)
    η ~ Tilde.MvNormal(μ=zeros(n), σ=L)
    for j in 1:n
        y[j] ~ Tilde.Bernoulli(logitp = η[j])
    end
end
y1 = rand(Bool, 10)
L1 = randn(10,10)
post = model(y1, L1) | (;y1)
ℓ1(θ) = logdensityof(post, (;η=θ))
ℓ1(rand(10))

works. But
ℓ(θ) = logdensityof(post, transform(as(post), θ))
ℓ(rand(10))

gives
ERROR: StackOverflowError:
Stacktrace:
 [1] testvalue(μ::MeasureTheory.OrthoLebesgue{(:μ, :σ), Tuple{Vector{Float64}, Matrix{Float64}}}) (repeats 79984 times)
   @ MeasureBase ~/.julia/packages/MeasureBase/uCYyk/src/utils.jl:12

Thanks @mschauer . The problem is here:
julia> testvalue(MvNormal(σ=[1 0; 0 1]))
ERROR: StackOverflowError:
Stacktrace:
 [1] testvalue(μ::MeasureTheory.OrthoLebesgue{(:σ,), Tuple{Matrix{Int64}}}) (repeats 79984 times)
   @ MeasureBase ~/.julia/packages/MeasureBase/uCYyk/src/utils.jl:12

runtests.jl has this function
function test_measure(μ)
    logdensity_def(μ, testvalue(μ)) isa AbstractFloat
end

that would check for this, but MvNormal is currently missing. That's how this slipped through the cracks.
Working on a fix now.


EventVIewer should show applied modifier keys

As I understand, if a device is not being modified (unchecked in KE> Devices), then modifier keys from other devices do not apply to key presses on the unchecked device.  For example, if the Touchbar is unchecked, then the modifier keys cannot apply to the F# keys.
However, this is impossible to detect in the current EventViewer.  The sequence of key events (modifier key down, key down, key up, modifier key up) looks like the modifier key applied to the key press on the unchecked device.  An additional column, showing which modifier keys apply to each event, would clarify this.

EventViewer shows modifier keys since the latest release (v12.6.0).
Please check for updates.
https://pqrs.org/osx/karabiner/document.html#check-for-updates

Wicked!  Difficulty solved beautifully.


Remove invalid link

Thanks. but the link is not dead it has been updated. I have updated it with the new docs.


feat: set up page object doc generation

@HellWolf93 let's add the cypress/docs generated to the .gitignore


Grant Table problem mapping dom0 mem to domU

From xen devel mailing list :http://lists.xen.org/archives/html/xen-devel/2007-07/msg00787.html,
Dom0 memory cann't be mapped to domU. So did you change some xen code to mapping dom0 mem to domU? which version is your xen hypervisor?

Hi,
Sorry for the delay in response.
I believe that the issue pointed out in that email no longer applies in today's Xen.
No changes were made to hypervisor, but only to network backend and frontend. There are no issues in mapping Domain-0 memory to Domain-U.

which version is your xen hypervisor?  4.2 or 4.4 or other?
which version is your linux kernel version for dom0?

Any version of Xen should work (mainly tested with 4.3 and 4.4) and linux kernel up to 3.14.

Hi,
I have tested again with the same xen and kernel version, but failed. I think the reason is the domain-0 memory can not mapped to domain-U. And I write a simple test application about grant table, it exactly proves that my thoughts， i.e. the same application, make the memory from domain-U be mapped to domain-0, but mapped domain-0 memory to domain-U failed. I think the fundamental cause is that domain-0 is  privileged domain.

I test with other way.  I run xennet in driver domain, not domain-0(privileged domain).  It runs successfully, and the memory of driver domain can be mapped to other domain-U. But the performance is very low, I am debugging, please give me some advise.