Fresh docker compose install not functional

Describe the bug
A clear and concise description of what the bug is.
Alright I've been trying to figure this out for a few days now, I've started fresh a few times and I can't get jellystat to consistently work.
I have a pretty standard jellyfin docker compose set up I think, with the base url of /jellyfin behind a NGINX subfolder reverse proxy. Jellyfin is using host networking mode in docker and so is jellystat
Environment Details (please complete the following information):

OS: [Ubuntu desktop]
Browser [Opera]
Jellystat Version [1.0.9]
Jellyfin Version [10.8.13]

To Reproduce
Steps to reproduce the behavior:
All I have to do is delete the DB and start fresh and make a user for jellystat, connect to the server which it seems to accept and then the libraries never show up.
Expected behavior
A clear and concise description of what you expected to happen.
I'm honestly not sure what I'm doing wrong. I have quite a few libraries and varied ones, maybe it doesn't like some of them?
Screenshots
If applicable, add screenshots to help explain your problem.

Task Logs
If applicable, add Task Logs for your problem.
Container Logs
If applicable, add Container Logs for your problem.
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:837:14',
jellystat-jellystat-1     |   Message: 'connect ECONNREFUSED <IP_ADDRESS>:80'
jellystat-jellystat-1     | }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:837:14',
jellystat-jellystat-1     |   Message: 'connect ECONNREFUSED <IP_ADDRESS>:80'
jellystat-jellystat-1     | }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:837:14',
jellystat-jellystat-1     |   Message: 'connect ECONNREFUSED <IP_ADDRESS>:80'
jellystat-jellystat-1     | }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:837:14',
jellystat-jellystat-1     |   Message: 'connect ECONNREFUSED <IP_ADDRESS>:80'
jellystat-jellystat-1     | }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:837:14',
jellystat-jellystat-1     |   Message: 'connect ECONNREFUSED <IP_ADDRESS>:80'
jellystat-jellystat-1     | }
Additional context
Add any other context about the problem here.
version: '3'
services:
jellystat-db:
image: postgres:15.2
network_mode: host
environment:
POSTGRES_DB: 'jfstat'
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ******
volumes:
- /opt/jellystat/postgres-data:/var/lib/postgresql/data # Mounting the volume
jellystat:
image: cyfershepard/jellystat:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ******
POSTGRES_IP: <IP_ADDRESS>
POSTGRES_PORT: 5432
JWT_SECRET: 'my-secret-jwt-key'
network_mode: host
ports:
- "3000:3000" #Server Port
volumes:
- /opt/jellystat/backup-data:/app/backend/backup-data # Mounting the volume
depends_on:
  - jellystat-db
restart: unless-stopped

Hey @Glynax , can you try using the unstable tag? There was a bug which was a fix was deployed for on unstable

Same exact error on unstable

I've tried starting fresh again on latest and here are all the logs, maybe something in here?
It also fails immediately when trying to sync with jellyfin
jellystat-jellystat-db-1  | The files belonging to this database system will be owned by user "postgres".
jellystat-jellystat-db-1  | This user must also own the server process.
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | The database cluster will be initialized with locale "en_US.utf8".
jellystat-jellystat-db-1  | The default database encoding has accordingly been set to "UTF8".
jellystat-jellystat-db-1  | The default text search configuration will be set to "english".
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | Data page checksums are disabled.
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | fixing permissions on existing directory /var/lib/postgresql/data ... ok
jellystat-jellystat-db-1  | creating subdirectories ...
jellystat-jellystat-db-1  | ok
jellystat-jellystat-db-1  | selecting dynamic shared memory implementation ... posix
jellystat-jellystat-db-1  | selecting default max_connections ...
jellystat-jellystat-db-1  | 100
jellystat-jellystat-db-1  | selecting default shared_buffers ...
jellystat-jellystat-db-1  | 128MB
jellystat-jellystat-db-1  | selecting default time zone ...
jellystat-jellystat-db-1  | Etc/UTC
jellystat-jellystat-db-1  | creating configuration files ...
jellystat-jellystat-db-1  | ok
jellystat-jellystat-db-1  | running bootstrap script ...
jellystat-jellystat-db-1  | ok
jellystat-jellystat-db-1  | performing post-bootstrap initialization ...
jellystat-jellystat-db-1  | ok
jellystat-jellystat-db-1  | syncing data to disk ...
jellystat-jellystat-db-1  | ok
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | Success. You can now start the database server using:
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  |     pg_ctl -D /var/lib/postgresql/data -l logfile start
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | initdb: warning: enabling "trust" authentication for local connections
jellystat-jellystat-db-1  | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
jellystat-jellystat-db-1  | waiting for server to start....
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.406 UTC [49] LOG:  starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.407 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.410 UTC [52] LOG:  database system was shut down at 2024-03-05 03:46:52 UTC
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.412 UTC [49] LOG:  database system is ready to accept connections
jellystat-jellystat-db-1  |  done
jellystat-jellystat-db-1  | server started
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | waiting for server to shut down....2024-03-05 03:46:52.518 UTC [49] LOG:  received fast shutdown request
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.518 UTC [49] LOG:  aborting any active transactions
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.519 UTC [49] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.520 UTC [50] LOG:  shutting down
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.520 UTC [50] LOG:  checkpoint starting: shutdown immediate
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.524 UTC [50] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.001 s, total=0.005 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB; lsn=0/14EAA70, redo lsn=0/14EAA70
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.526 UTC [49] LOG:  database system is shut down
jellystat-jellystat-1     |
jellystat-jellystat-1     | ><EMAIL_ADDRESS>start
jellystat-jellystat-1     | > cd backend && node server.js
jellystat-jellystat-1     |
jellystat-jellystat-1     |
jellystat-jellystat-db-1  |  done
jellystat-jellystat-db-1  | server stopped
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | PostgreSQL init process complete; ready for start up.
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  |
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.629 UTC [1] LOG:  starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.629 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.629 UTC [1] LOG:  listening on IPv6 address "::", port 5432
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.630 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.632 UTC [63] LOG:  database system was shut down at 2024-03-05 03:46:52 UTC
jellystat-jellystat-db-1  | 2024-03-05 03:46:52.635 UTC [1] LOG:  database system is ready to accept connections
jellystat-jellystat-1     | [JELLYSTAT] Database created
jellystat-jellystat-1     | FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
jellystat-jellystat-1     | FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
jellystat-jellystat-1     | [JELLYSTAT] Server listening on http://<IP_ADDRESS>:3000
jellystat-jellystat-1     | Activity Interval: 1000
jellystat-jellystat-1     | JsonWebTokenError: invalid signature
jellystat-jellystat-1     |     at /app/node_modules/jsonwebtoken/verify.js:171:19
jellystat-jellystat-1     |     at getSecret (/app/node_modules/jsonwebtoken/verify.js:97:14)
jellystat-jellystat-1     |     at module.exports [as verify] (/app/node_modules/jsonwebtoken/verify.js:101:10)
jellystat-jellystat-1     |     at authenticate (/app/backend/server.js:111:27)
jellystat-jellystat-1     |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
jellystat-jellystat-1     |     at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)
jellystat-jellystat-1     |     at /app/node_modules/express/lib/router/index.js:286:9
jellystat-jellystat-1     |     at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
jellystat-jellystat-1     |     at next (/app/node_modules/express/lib/router/index.js:280:10)
jellystat-jellystat-1     |     at compression (/app/node_modules/compression/index.js:220:5)
jellystat-jellystat-1     | JsonWebTokenError: invalid signature
jellystat-jellystat-1     |     at /app/node_modules/jsonwebtoken/verify.js:171:19
jellystat-jellystat-1     |     at getSecret (/app/node_modules/jsonwebtoken/verify.js:97:14)
jellystat-jellystat-1     |     at module.exports [as verify] (/app/node_modules/jsonwebtoken/verify.js:101:10)
jellystat-jellystat-1     |     at authenticate (/app/backend/server.js:111:27)
jellystat-jellystat-1     |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
jellystat-jellystat-1     |     at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)
jellystat-jellystat-1     |     at /app/node_modules/express/lib/router/index.js:286:9
jellystat-jellystat-1     |     at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
jellystat-jellystat-1     |     at next (/app/node_modules/express/lib/router/index.js:280:10)
jellystat-jellystat-1     |     at compression (/app/node_modules/compression/index.js:220:5)
jellystat-jellystat-1     | JsonWebTokenError: invalid signature
jellystat-jellystat-1     |     at /app/node_modules/jsonwebtoken/verify.js:171:19
jellystat-jellystat-1     |     at getSecret (/app/node_modules/jsonwebtoken/verify.js:97:14)
jellystat-jellystat-1     |     at module.exports [as verify] (/app/node_modules/jsonwebtoken/verify.js:101:10)
jellystat-jellystat-1     |     at authenticate (/app/backend/server.js:111:27)
jellystat-jellystat-1     |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
jellystat-jellystat-1     |     at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)
jellystat-jellystat-1     |     at /app/node_modules/express/lib/router/index.js:286:9
jellystat-jellystat-1     |     at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
jellystat-jellystat-1     |     at next (/app/node_modules/express/lib/router/index.js:280:10)
jellystat-jellystat-1     |     at compression (/app/node_modules/compression/index.js:220:5)
jellystat-jellystat-1     | INSERT INTO app_config ("APP_USER","APP_PASSWORD") VALUES ($1,$2)
jellystat-jellystat-1     | { isValid: true, errorMessage: '' }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at JellyfinAPI.getAdmins (/app/backend/classes/jellyfin-api.js:84:22',
jellystat-jellystat-1     |   Message: 'users.filter is not a function'
jellystat-jellystat-1     | }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at JellyfinAPI.getLibraries (/app/backend/classes/jellyfin-api.js:224:49',
jellystat-jellystat-1     |   Message: "Cannot read properties of undefined (reading 'filter')"
jellystat-jellystat-1     | }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at JellyfinAPI.getLibraries (/app/backend/classes/jellyfin-api.js:224:49',
jellystat-jellystat-1     |   Message: "Cannot read properties of undefined (reading 'filter')"
jellystat-jellystat-1     | }
jellystat-jellystat-1     | Error {
jellystat-jellystat-1     |   ErrorAt: 'at JellyfinAPI.getLibraries (/app/backend/classes/jellyfin-api.js:224:49',
jellystat-jellystat-1     |   Message: "Cannot read properties of undefined (reading 'filter')"
jellystat-jellystat-1     | }

I have the exact same issue. Fresh installation and also no results from the library. I only get the error "Error: No Libararies found to sync.". Can this please be fixed?

Hey @nickvk , can you try using the unstable tag and see if there are any changes, im constantly going over the code and fixing areas that may look like they could be issues. Unfortunately im not experiencing this issue myself so i wont know if its fixed until i get feedback. I haven't mentioned it yet because im not confident there has been a change that fixes the issue. But if you notice any different errors in the docker logs this may help.

Hi, great. Thanks guys! Going to the unstable tag fixed it.
Totally unrelated, but maybe you guys can help me with this: I am running the nightly version of Jellyfin. Is there some way to install the "Playback Reporting" plugin? I would like this data to be in Jellystat aswell. But I can't seem to install this plugin. I tried going to another tag for Jellyfin (latest) but that breaks my Jellyfin installation.
Hope you can help me with this aswell. Thanks in advance!

I'm not sure it's a hugely helpful point, but just in case: I can run the container without problem if I use the docker compose example that's on docker hub. However, just changing the jellystat-db container from 'postgres:15.2' to 'postgres' seems to break it. I'm back to 15.2, since everything works fine there.

Just wanted to tack on that unstable didn't fix it for me by itself, I had to specify the postgresDB version and start fresh again but we're up and running now thank you so much!

hey,
running into the same error even with the unstable tag, it still tells me "Error: No Libararies found to sync."
hope someone can help :)
Thank you!

hey @tomoffel85 , can you check in issue #163 , can you also provide docker logs so i can check this out? Some people reported adding http:// to the front of their jellyfin ip helps

hey @tomoffel85 , can you check in issue #163 , can you also provide docker logs so i can check this out? Some people reported adding http:// to the front of their jellyfin ip helps

Yeah! Thank you got it fixed with the "http://" infront of my Jellyfin IP :)
great support!

I have moved jellyfin and jellystat to another box, and I figured I'd try starting jellystat fresh to see if it cleared up any of the issues I've been having (issues already open here). No dice now I'm back to this with it never succeeding with syncing or importing or doing anything with the server even though it accepts the url and api key. Running on unstable, 1.1.0
`

<EMAIL_ADDRESS>start
cd backend && node server.js

[JELLYSTAT] Database created
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
[JELLYSTAT] Server listening on http://<IP_ADDRESS>:3000
http://<IP_ADDRESS>:8096 true
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getAdmins (/app/backend/classes/jellyfin-api.js:112:21',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:112:21'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: '/app/backend/classes/jellyfin-api.js:321:21'
},
{
TraceIndex: 4,
line: 'at async /app/backend/routes/proxy.js:158:27'
}
],
Message: 'users?.filter is not a function',
url: undefined
}
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getRecentlyAdded (/app/backend/classes/jellyfin-api.js:321:48',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:321:48'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: 'at async /app/backend/routes/proxy.js:158:27'
}
],
Message: "Cannot read properties of undefined (reading 'Id')",
url: undefined
}
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getAdmins (/app/backend/classes/jellyfin-api.js:112:21',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:112:21'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: 'at async /app/backend/routes/proxy.js:146:23'
}
],
Message: 'users?.filter is not a function',
url: undefined
}
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getAdmins (/app/backend/classes/jellyfin-api.js:112:21',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:112:21'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: 'at async /app/backend/routes/proxy.js:146:23'
}
],
Message: 'users?.filter is not a function',
url: undefined
}
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getAdmins (/app/backend/classes/jellyfin-api.js:112:21',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:112:21'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: 'at async /app/backend/routes/proxy.js:146:23'
}
],
Message: 'users?.filter is not a function',
url: undefined
}`
`The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
initdb: warning: enabling "trust" authentication for local connections
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start

waiting for server to start....2024-05-08 00:25:11.467 UTC [48] LOG:  starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-05-08 00:25:11.468 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-05-08 00:25:11.471 UTC [51] LOG:  database system was shut down at 2024-05-08 00:25:11 UTC
2024-05-08 00:25:11.473 UTC [48] LOG:  database system is ready to accept connections
done
server started
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
waiting for server to shut down....2024-05-08 00:25:11.589 UTC [48] LOG:  received fast shutdown request
2024-05-08 00:25:11.590 UTC [48] LOG:  aborting any active transactions
2024-05-08 00:25:11.591 UTC [48] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
2024-05-08 00:25:11.591 UTC [49] LOG:  shutting down
2024-05-08 00:25:11.592 UTC [49] LOG:  checkpoint starting: shutdown immediate
2024-05-08 00:25:11.596 UTC [49] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.001 s, total=0.005 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB
2024-05-08 00:25:11.598 UTC [48] LOG:  database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
2024-05-08 00:25:11.702 UTC [1] LOG:  starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-05-08 00:25:11.702 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2024-05-08 00:25:11.702 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-05-08 00:25:11.703 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-05-08 00:25:11.706 UTC [62] LOG:  database system was shut down at 2024-05-08 00:25:11 UTC
2024-05-08 00:25:11.708 UTC [1] LOG:  database system is ready to accept connections
2024-05-08 00:30:11.806 UTC [60] LOG:  checkpoint starting: time`

Hey @Glynax , can you provide the URL you entered aswell as the compose file you used when redeploying?

Sorry I knew I forgot something.
http://<IP_ADDRESS>:8096 this is also the same box jellystat is running from as well
`version: '3'
services:
jellystat-db:
image: postgres:15.2
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: filler
volumes:
- /opt/jellystat/postgres-data:/var/lib/postgresql/data # Mounting the volume
jellystat:
image: cyfershepard/jellystat:unstable
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: filler
POSTGRES_IP: jellystat-db
POSTGRES_PORT: 5432
JWT_SECRET: 'filler'
ports:
- "3000:3000" #Server Port
- "3004:3004" #websocket port
volumes:
- /opt/jellystat/backup-data:/app/backend/backup-data # Mounting the volume
depends_on:
  - jellystat-db
restart: unless-stopped

networks:
default:
`

Just wanted to say I'm still having issues, I tried a clean slate and deleted everything with this update. This is what I get currently, all tasks fail. And of course nothing ever works because it never really sees the server even though it seems to accept it on initial startup with http://<IP_ADDRESS>:8096
This is on a new box if you're wondering about the IP change.

`><EMAIL_ADDRESS>start

cd backend && node server.js

Error: connect ECONNREFUSED <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16)
[JELLYSTAT] Database exists. Skipping creation
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
Error: connect ECONNREFUSED <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432
}
Node.js v22.2.0
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice To update run: npm install -g<EMAIL_ADDRESS>npm notice

<EMAIL_ADDRESS>start
cd backend && node server.js

[JELLYSTAT] Database exists. Skipping creation
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
[JELLYSTAT] Server listening on http://<IP_ADDRESS>:3000
http://<IP_ADDRESS> true
[JELLYFIN-API] {
ErrorAt: 'at AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:837:14',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/node_modules/axios/dist/node/axios.cjs:837:14'
},
{
TraceIndex: 2,
line: '/app/node_modules/axios/dist/node/axios.cjs:3087:25'
},
{ TraceIndex: 3, line: 'node:events:520:28' },
{
TraceIndex: 4,
line: '/app/node_modules/follow-redirects/index.js:38:24'
},
{ TraceIndex: 5, line: 'node:events:520:28' },
{ TraceIndex: 6, line: 'node:_http_client:502:9' },
{ TraceIndex: 7, line: 'node:events:520:28' },
{ TraceIndex: 8, line: 'node:internal/streams/destroy:170:8' },
{ TraceIndex: 9, line: 'node:internal/streams/destroy:129:3' },
{ TraceIndex: 10, line: 'node:internal/process/task_queues:82:21' },
{
TraceIndex: 11,
line: '/app/node_modules/axios/dist/node/axios.cjs:3877:41'
},
{ TraceIndex: 12, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 13,
line: '/app/backend/classes/jellyfin-api.js:420:24'
},
{
TraceIndex: 14,
line: 'at async /app/backend/routes/proxy.js:205:22'
}
],
Message: 'connect ECONNREFUSED <IP_ADDRESS>:80',
url: undefined
}
http://<IP_ADDRESS>:8096 true
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getAdmins (/app/backend/classes/jellyfin-api.js:112:21',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:112:21'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: 'at async /app/backend/routes/proxy.js:146:23'
}
],
Message: 'users?.filter is not a function',
url: undefined
}`

This looks like a network issue as I see it fails to connect to the db at the top, which is strange since it shouldn't proceed from there. Can you confirm if both jellystat and jellystat-db are on the same docker-network?

It's on the same box in the same docker compose which you can see up a comment or two. I've even tried making both of them host networking just so I can explicitly use the IP of that machine and it's the same exact thing where jellystat loads but nothing actually works

Hi, same problem here. Suddenly, without updating anything, it stopped working. Same docker, network, container and can't connect to postgreSQL database.
The log file, in case it can help, says:
jellystat  | Node.js v21.5.0
jellystat  |
jellystat  | ><EMAIL_ADDRESS>start
jellystat  | > cd backend && node server.js
jellystat  |
jellystat  | [JELLYSTAT] Database exists. Skipping creation
jellystat  | Error: connect ECONNREFUSED <IP_ADDRESS>:5432
jellystat  |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
jellystat  | FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
jellystat  | FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
jellystat  | node:internal/process/promises:289
jellystat  |             triggerUncaughtException(err, true /* fromPromise */);
jellystat  |             ^
jellystat  |
jellystat  | Error: connect ECONNREFUSED <IP_ADDRESS>:5432
jellystat  |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
jellystat  |   errno: -111,
jellystat  |   code: 'ECONNREFUSED',
jellystat  |   syscall: 'connect',
jellystat  |   address: '<IP_ADDRESS>',
jellystat  |   port: 5432
jellystat  | }
jellystat  |
jellystat  | Node.js v21.5.0

hey @danisalgueiro , can you try stopping both the db and jellystat, start the db first, then jellystat?

Thanks for the reply. Tried, but still giving the same error. I'm going to try to check the database logs in case it gives any additional clues.

Yea this seems like a database issue, the logs are saying it cant connect to it, check to ensure both containers are on the same docker network, and that there are no errors in the db logs

I am also experiencing this issue. Anyone have a fix? I have jellyseer working fine w/ jellyfin.
The container van def connect to jellyfin,
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getAdmins (/app/backend/classes/jellyfin-api.js:118:21',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:118:21'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: '/app/backend/classes/jellyfin-api.js:327:21'
},
{
TraceIndex: 4,
line: 'at async /app/backend/routes/api.js:133:38'
}
],
Message: 'users?.filter is not a function',
url: undefined
}
[JELLYFIN-API] {
ErrorAt: 'at JellyfinAPI.getRecentlyAdded (/app/backend/classes/jellyfin-api.js:327:48',
ErrorLines: [
{
TraceIndex: 1,
line: '/app/backend/classes/jellyfin-api.js:327:48'
},
{ TraceIndex: 2, line: 'node:internal/process/task_queues:95:5' },
{
TraceIndex: 3,
line: 'at async /app/backend/routes/api.js:133:38'
}
],
Message: "Cannot read properties of undefined (reading 'Id')",
url: undefined
}


iOS 16 Black page Reports

umbrella issue to collect data on ios 16 issues. @stolinski can you link up anything you are seeing?

https://twitter.com/touwejan/status/1716505988155457875

I bet its related to this: https://syntax-fm.sentry.io/issues/4562245636/?environment=production&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=8
All ios safari

OK I removed the regex lookbeind. Can anyone on Safari < 16.4 test the new syntax.fm ?

looks like that fixed it! https://twitter.com/touwejan/status/1716521909091742000


Compatible Node.js versions

Hi, could you please tell me what version is the latest which gemini is compatible with?

last checked version - v6.x
but you can try any ;)

OK, I will see for myself and let you know of anything. Many thanks!

We have v7.x


Feature Request: API for FAE 2.0

It would be helpful to have an API for FAE 2.0 so that an instance of FAE could be set up in a development environment and fully streamlined into continuous integration testing. The ability to allow the test environment to execute one or more FAE rules and act based on the result is needed for this type of integration.

I you looking for more of a:

browser/DOM inspector plug-in (similar to aXe extension for Chrome) that will run against the current DOM?
Analyze a URL using FAE 2,0 and return results as a JSON or other object
or something else entirely?

Jon,
They’re not completely sure yet what they want to do yet.  There is talk of running using Selenium, which would simply need analyze the current DOM and return a JSON object to parse, I think. This is developing a bit slowly, so I’ll get back to you once I hear more.
The important part is the need to run or own instance and have parsable data for the testing scripts.
Thanks,
Keith
Keith Hays
Senior Information Design Specialist — Accessibility
Technology Services, University of Illinois at Urbana-Champaign
DCL RM1441   4-8519
From: Jon Gunderson <notifications<EMAIL_ADDRESS>Reply-To: opena11y/fae2 <reply<EMAIL_ADDRESS>Date: Thursday, June 23, 2016 at 12:00 PM
To: opena11y/fae2 <fae2<EMAIL_ADDRESS>Cc: Keith Hays <khays<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [opena11y/fae2] Feature Request: API for FAE 2.0 (#28)
I you looking for more of a:

browser/DOM inspector plug-in (similar to aXe extension for Chrome) that will run against the current DOM?
Analyze a URL using FAE 2,0 and return results as a JSON or other object
or something else entirely?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_opena11y_fae2_issues_28-23issuecomment-2D228114608&d=CwMCaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=EFkM7LiR-lEhUpzRY1ZAoY8snDLNry4-bfBwwitZLxI&m=mbNJR_CJn8AuU2pZ1-blOf5ucqxDDiHi9dUF1K8LzGY&s=c0odWv5vb6-Ucw_0oZSEpfh1CuAd7pFFbZ3i723xED8&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe_ADz-5Ffw1qnewYXYJqrwjXk6AXr2obhdOgks5qOrubgaJpZM4I9BJu&d=CwMCaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=EFkM7LiR-lEhUpzRY1ZAoY8snDLNry4-bfBwwitZLxI&m=mbNJR_CJn8AuU2pZ1-blOf5ucqxDDiHi9dUF1K8LzGY&s=q0-ZmerKz084ZXh4-pXuduZE0l4htCnuIrbf-llEzH0&e=.


Documentation

I really wish there was more documentation than a readme. Preferably a longer description of each command with a list of available options for each command (with a description) and examples for each. Sort of like csvkit has.

Sure, and I wish I had the time to do it. Each command does come with its own docs, even if they are a bit short.

I could spend some time to draft a more comprehensive documentation if you want @BurntSushi

Perhaps adding an exlicit mention of the xsv [command] help parameter into the readme somewhere near the top might be enough.
Concatetenating them together could also be the man page and it would be a very good one at that.
Each command has quite useful and concise explanations under xsv [command] -h or xsv [command --help and this is mentioned not only in the intial invocation from the cli, but also from the command invocations, though to my embarrassment I would say I used xsv for maybe a year before actually putting it together and starting to use them.  After using those help docs, 99% of my questions were answered.
Sample output for anyone who doesn't have the tool in front of them.
xsv join -h
Joins two sets of CSV data on the specified columns.

The default join operation is an 'inner' join. This corresponds to the
intersection of rows on the keys specified.

Joins are always done by ignoring leading and trailing whitespace. By default,
joins are done case sensitively, but this can be disabled with the --no-case
flag.

The columns arguments specify the columns to join for each input. Columns can
be referenced by name or index, starting at 1. Specify multiple columns by
separating them with a comma. Specify a range of columns with `-`. Both
columns1 and columns2 must specify exactly the same number of columns.
(See 'xsv select --help' for the full syntax.)

Usage:
    xsv join [options] <columns1> <input1> <columns2> <input2>
    xsv join --help

join options:
    --no-case              When set, joins are done case insensitively.
    --left                 Do a 'left outer' join. This returns all rows in
                           first CSV data set, including rows with no
                           corresponding row in the second data set. When no
                           corresponding row exists, it is padded out with
                           empty fields.
    --right                Do a 'right outer' join. This returns all rows in
                           second CSV data set, including rows with no
                           corresponding row in the first data set. When no
                           corresponding row exists, it is padded out with
                           empty fields. (This is the reverse of 'outer left'.)
    --full                 Do a 'full outer' join. This returns all rows in
                           both data sets with matching records joined. If
                           there is no match, the missing side will be padded
                           out with empty fields. (This is the combination of
                           'outer left' and 'outer right'.)
    --cross                USE WITH CAUTION.
                           This returns the cartesian product of the CSV
                           data sets given. The number of rows return is
                           equal to N * M, where N and M correspond to the
                           number of rows in the given data sets, respectively.
    --nulls                When set, joins will work on empty fields.
                           Otherwise, empty fields are completely ignored.
                           (In fact, any row that has an empty field in the
                           key specified is ignored.)

Common options:
    -h, --help             Display this message
    -o, --output <file>    Write output to <file> instead of stdout.
    -n, --no-headers       When set, the first row will not be interpreted
                           as headers. (i.e., They are not searched, analyzed,
                           sliced, etc.)
    -d, --delimiter <arg>  The field delimiter for reading CSV data.
                           Must be a single character. (default: ,)

Sample output

Is anyone writing the man files? I can help with it


Provide a working sample of setting Invoke-VstsTaskScript environment variables

Hi,
How do i use Invoke-VstsTaskScript?
I allways get
PS C:\Users\Administrator\Documents\Tasks\PSTask> C:\Users\Administrator\Documents\Tasks\PSTask\TestDummyTask.ps1 ##vso[task.setvariable variable=System.Culture;issecret=False]nl-be ##vso[task.debug]VstsTaskSdk 0.8.0 commit  ##vso[task.debug]Caught exception from task script. ##vso[task.logissue type=error]Cannot convert the "Microsoft.TeamFoundation.Client.TfsClientCredentials" value of type "System.String" to type "System.T ype". ##vso[task.complete result=Failed]
`Import-Module .\ps_modules\VstsTaskSdk
Set-VstsTaskVariable -Name 'System.Culture' -Value 'nl-be'
$ENV:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI = 'http://tfs.myserver.be:8080/tfs/myproject'
$env:INPUT_MYENDPOINT = 'SystemVssConnection'
$env:ENDPOINT_URL_SystemVssConnection = 'http://tfs.myserver.com:8080/tfs/myproject'
$env:ENDPOINT_AUTH_SystemVssConnection = '{ "Parameters": { "UserName": "SomeUser", "Password": "nicepwd" }, "Scheme": "UsernamePassword" }'
$env:ENDPOINT_DATA_SystemVssConnection = '{ "Key1": "Value1", "Key2": "Value2" }'
Invoke-VstsTaskScript -ScriptBlock { . .\DummyTask.ps1 } -Verbose`
Documentation is not really clear on how the get the data for the endpoint
https://github.com/Microsoft/vsts-task-lib/blob/master/powershell/Docs/TestingAndDebugging.md
The DummyTask contains:
$versionControlServer = Get-VstsTfsService -TypeName Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
if ($versionControlServer)
{
Write-Host "OK"
}
regards,

Here is a sample task: https://github.com/Microsoft/vsts-tasks/tree/master/Tasks/VSBuild
one min, i'll find one that uses endpoints...

Here is an example of how to get the selected endpoint input: https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/ServiceFabricDeploy/deploy.ps1#L26
And then working with it, you will need to know what properties you need from the endpoint. Either .Auth.Scheme or .Auth.Parameters (dictionary) or .Auth.Data (dictionary)

any updates on this? I have the same issue
Is it possible to add a working example to this thread how to connect to the TFS

@ericsciple  any suggestions? I dont get this working :( I am simply trying to get this line working
  $versionControlServer = Get-VstsTfsService -TypeName 'Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer'
but always get this error:

cannot convert the "[Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer]" value of type "System.String" to type "System.Type".

even when I try it on the agent

Hi,
Put the assembly needed for the class in the root of your task. (Don't
forget dependencies)
Get it from nuget team foundation extended client, extract needed assemblies
Regards,
Raf
On Wed, Feb 15, 2017 at 8:32 PM, aumanjoa<EMAIL_ADDRESS>wrote:

@ericsciple https://github.com/ericsciple any suggestions? I dont get
this working :( I am simply trying to get this line working
$versionControlServer = Get-VstsTfsService -TypeName
'Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer'
but always get this error:
cannot convert the "[Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer]"
value of type "System.String" to type "System.Type".
even when I try it on the agent
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-task-lib/issues/197#issuecomment-280114098,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APK09ykWDdDYfh2bhsEZtPqgK2LNgfRuks5rc1LngaJpZM4Lm69C
.

Hi @rvf148
thanks for the replay.
The Assemblies are already part of the agent. Can I not reuse thouse? I thought this is the benefit using this lib function.

No, that would create a dependency on the agent. Microsoft includes the
dependecies with each Task.
Regards,
Raf
Op 15 feb. 2017 10:05 p.m. schreef "aumanjoa"<EMAIL_ADDRESS>
Hi @rvf148 https://github.com/rvf148
thanks for the replay.
The Assemblies are already part of the agent. Can I not reuse thouse? I
thought this is the benefit using this lib function.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-task-lib/issues/197#issuecomment-280138418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APK093bLEG_Vf7NDa8IX-JkUbucu5SI7ks5rc2iEgaJpZM4Lm69C
.

that's correct, it's best to bundle the sdk with your task for reasons listed here

thanks so much that helped.
But needed to open a other issue. https://github.com/Microsoft/vsts-task-lib/issues/209 it seems the dlls not wirking with TFS2017 and TFS2015 in the same way

It looks like this has been resolved so I'm going to close. Please reopen if appropriate.


Getting Error /com.google.android.gms.drive.sample.demo E/CreateEmptyFileActivity: Unable to create file     com.google.android.gms.common.api.ApiException: 17: API: Drive.API_CONNECTIONLESS is not available on this device.

Getting an error 2019-05-16 15:33:52.451 13382-13382/com.google.android.gms.drive.sample.demo E/CreateEmptyFileActivity: Unable to create file
com.google.android.gms.common.api.ApiException: 17: API: Drive.API_CONNECTIONLESS is not available on this device.
when I try to create some files.

Some folks claim you can resolve the issue by making sure the Drive API is enabled in your project:
https://stackoverflow.com/a/49782012/702875
The Drive Android client is deprecated however, so you should probably not built something new on top of it.

Drive API was enabled still getting the error. maybe it happening because of depreciation.


Broken with Deno 1.42.1 and std 0.221.0

error: Relative import path "@std/fmt/colors" not prefixed with / or ./ or ../ and not in import map from<EMAIL_ADDRESS>at https://deno.land/x/progress@v1.4.7/mod.ts:1:49

Version 1.4.5 works fine

I test is ok.
import ProgressBar from<EMAIL_ADDRESS>import { delay } from<EMAIL_ADDRESS>// or JSR
// import ProgressBar from "@deno-library/progress";
// import { delay } from "@std/async";

const total = 100;

const progress = new ProgressBar({
  total,
  complete: "=",
  incomplete: "-",
  display: ":completed/:total hello :time [:bar] :percent",
});

let completed = 0;

async function download() {
  while (completed <= total) {
    await progress.render(completed++);

    await delay(20);
  }
}

await download();

or JSR , it is ok, too.
in bash
deno add @deno-library/progress

code
import ProgressBar from "@deno-library/progress";
import { delay } from "@std/async";

const total = 100;

const progress = new ProgressBar({
  total,
  complete: "=",
  incomplete: "-",
  display: ":completed/:total hello :time [:bar] :percent",
});

let completed = 0;

async function download() {
  while (completed <= total) {
    await progress.render(completed++);

    await delay(20);
  }
}

await download();

Can you show me your code?

1.4.9 fixed it.
Thanks!


Remove availability zone from extra_keys in SaveInventoryBlockStorage

While working with Amazon EBS provider block storage save inventory
failed to save the availability zone. This was due to the fact that
:availability_zone is given in the extra_keys list that defines the
set of hash keys that are removed from the hash we are trying to save.
For Cinder provider, a cross-linker is used to set the
availability_zone_id from the parent provider. With this patch, both EBS
and Cinder providers properly save the availability zone reference.
@miq-bot add_label providers/storage

EBS-related PR is available at https://github.com/ManageIQ/manageiq-providers-amazon/pull/116.
@roliveri looking at the history of save_inventory_block_storage I see that you have removed setting of the availability_zone_id key from the actual availability zone object. Can you please check this and the related EBS PR and help me understand whether a cross-linker for EC2 should also be implemented?

@gberginc I don't think you need a separate cross-linker for EBS. The need for separate cross-linkers for Cinder and Swift stems from the fact that those managers can be associated with different types of providers and can even be deployed as independent providers themselves. So we may need to cross-link Cinder inventory with OpenStack inventory, RHEV inventory or even multiple inventories.
Since there should always be a 1 to 1 correspondence between the EBS manager and the Amazon provider, the cross linking you've implemented should be OK.

@roliveri thanks! Are you also responsible for the OpenStack/Cinder work? If not, can you include one of them to check if this patch is ok with the team?
/cc @blomquisg

@jerryk55 Please review.

With https://github.com/ManageIQ/manageiq-providers-amazon/issues/116 merged I suspect the other PRs will start failing because the spec from that PR asserts availability zone.

Hi @blomquisg, have you reviewed this?

@gberginc can you add a test for this?  Or, maybe show it in the existing VCR tests?

@blomquisg In order for me to proved a spec, I'd need VCR from https://github.com/ManageIQ/manageiq-providers-amazon/pull/122. I can record my own VCR, but this would change everything so we discussed with @Ladas it'd be best if he provides a VCR based on his credentials and then I just update the specs that I need (and potentially few minor changes in existing code).


GitHub actions continuous build

This adds a GitHub actions continuous build that builds on the three main OS's and a Docker image. In a follow up PR, we can also set up creds and have it pushing to Docker Hub. In a similar follow up PR we can remove the Travis build too.
Currently, the published Docker Hub image has cgo enabled. cgo is mostly needed when using other c libraries, and otherwise may provide better DNS resolutions on not-so-well supported platforms, but on the major OSs it's basically not needed. OTel collector also doesn't use it to make building easier. So instead, we get a statically linked binary suitable for the scratch docker base image. This will be a good default for our next release.
I also removed a deployment section from travis, it hasn't been used yet and presumably we don't want to push docker images from Travis.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Runs here - https://github.com/anuraaga/aws-xray-daemon/actions


Register to template provides correct anat_to_template warping field but incorrect inverse

Data are located here: /Volumes/folder_shared/sct_issues/20150316_allan
To reproduce the issue:
sct_register_to_template -i t2r.nii.gz -l t2r-labels.nii.gz -m t2r_seg.nii.gz -s fast -r 0

The problem comes from sct_register_multimodal. It produces only the deformation field from straigth to template but not the inverse.

the warping field from template to straight anat seems to have only extremely high values (see screenshot below).

The problem does not happen when the initial label is slightly different from above (see file /Volumes/folder_shared/sct_issues/20150316_allan/t2r-labels_2.nii.gz)
sct_register_to_template -i t2r.nii.gz -l t2r-labels2.nii.gz -m t2r_seg.nii.gz -s fast -r 0

Results of template registration here:

THE ISSUE IS NOT FIXED YET!

The issue seemed to be caused by SliceReg when the segmentation did not covered the whole image. In some case, the generated warping field is nearly nul everywhere but some small values (~ e^-308) cause instabilities when inverting warping fields.
Solution: when registering to the template, make sure that the segmentation covers the whole image by cropping the segmentation image with sct_crop_image with the option -bzmax and -dim (0,1 or 2, is the dimensio of Z). sct_crop_image integrates -bzmax option since commit 715491a.

Cropping is not a solution as we do not want to provide an output image that is not in the same space than the input image.
Another solution would be to crop the image for template registration but compute the warping field in the input image space. It probably does not work...

will be fixed through sct_register_multimodal (issue #265)


Choose a new namespace for mtRHO installation

mtRHO and MTC both request to be installed in the openshift-migration namespace.
Due to a requirement for different OLM install modes to watch own vs all namespaces they cannot coexist in the one namespace.
MTC must be restricted to watching it's own namespace.
mtRHO must watch all namespaces so it can see some cluster scoped resources.

Closing as this is now fixed with #35


Add Action tab under dialogue to list actions and provide a better way to manage them

Creating actions for chaining by clicking the plus icon in the sayings input seems stupid. Also, trying to update a chained action requires finding the action where it is chained... that's annoying.

I was just about to create a similar ticket when I found this one. Here is a bit of a design:

Closed by https://github.com/samtecspg/articulate/commit/6687a6d8fd2694c4de1f7d245106851a58185f6b


Add .eslintrc to the template project

You could add a .eslintrc to the template.

This is already using eslint-config-react-app, which I think is already a great starting point for React JS/TS apps, and I don't think much else is needed for Redux. The template is also already formatted with Prettier to keep it consistent.

Yeah, CRA has its own linting config already, and documents how to add your own if desired.  Nothing for us to add here.


White screen on loading with black theme

Please is it possible to set the default background color to black? Cause with the black theme, when I open a new tab the white background appears first. and in the dark it's not really cool to be flashed like that

Unfortunately I do not know of a way to do that. It is a matter of how the browser loads a new page. Since it is the background color that displays before the extension has a chance to load at all, it is out of my control. I have compared with other "new tab" page extensions and have seen the same issue with those as well. If you know of one that does not do this let me know and I can investigate further.
I'd suggest you submit a bug report to Google Chrome asking them for when dark mode is enabled, change the default background that shows before a page is loaded.


[WIP] refactor: used requestAnimationFrame instead timeouts

added grunt to dev-dependencies

I'm not sure it this is what was described in #49 but requestAnimationFrame is much better and solid solution than timeout.
Based on informations from: https://gist.github.com/Warry/4254579 and http://www.html5rocks.com/en/tutorials/speed/scrolling/
Fixes: #49

Nice! I didn't know about that. Let me know when this is good to go and I'll test & merge.

Give me feedback before merge - maybe we can use it also for other function (where we listen on scroll).

it's  done.

:+1: Thanks!


Fix reference to saturated model

It seems to me that R's anova takes as reference the most complex model rather than the saturated model. Indeed, dropping the most complex model from the call changes p-values. Position of the most complex model does not have any effect.

Thanks for pointing out that!


[2.0] Scrapping fails when Content-Type header is not set on endpoint, should default to text/plain

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

Add a scrapper for a resource that does not properly reply with a content-type header:

eg.
http -h http://<IP_ADDRESS>:5054/metrics
HTTP/1.1 200 OK
content-length: 40138
date: Sun, 29 Nov 2020 19:45:14 GMT
server: Lighthouse/v1.0.2-f7183098e/x86_64-linux

Check logs and witness error:

ts=2020-11-29T19:47:10.200547Z lvl=error msg="Unable to gather" log_id=0QmNfc70000 error="mime: no media type"

Expected behavior:
Properly parse metrics and default to text/plain
Actual behavior:
Fails to scrape
Environment info:
docker v2.0.2

Looks like the issue is here: https://github.com/influxdata/influxdb/blob/master/gather/prometheus.go#L58

Hi, this happens for https://github.com/MindFlavor/prometheus_wireguard_exporter as well. It appears the exporter doesn't declare a Content-Type.
I'm curious on why this is still open. Why is it required a Content-Type be specified?

I provided a patch. Happy to receive any comments. Thanks!


Turn GC on for all end-to-end tests

GC (mark phase) should be turned on for all end-to-end tests. This will increase the coverage and validate GC in various scenarios.

Tracked internally AB#194


False-positive RSpec/RepeatedDescription when using rspec-its

Continuing https://github.com/rubocop/rubocop-rspec/issues/879. We're using rspec-its and have examples like this:
describe Service do
  describe 'returned values' do
    subject { service }

    before { service.call }

    its(:model) { is_expected.not_to be_valid }
    its(:model) { is_expected.not_to be_persisted }
  end
end

Rubocop raises this error on each its(:model) line: C: RSpec/RepeatedDescription: Don't repeat descriptions within an example group.
I believe this is not correct, since RSpec generated different descriptions for every example based on example's body:
Service
  returned values
    model
      is expected not to be valid
    model
      is expected not to be persisted

So ideally, in case of examples defined with rspec-its, example's body should be the source of this uniqueness check, but not the its(...) definitions which may look equal.

Fair enough, especially given that negated expectations are not trivial to combine into one.
Would you like to submit a PR?
I'd expect:

Taking parts from lib/rubocop/cop/rspec/repeated_example.rb that adds some unique example attribute (location?) for its to effectively ignore duplicate attribute names.
Add an example to spec/rubocop/cop/rspec/repeated_example_spec.rb to make sure duplicates are detected (passed with no changes required to the cop):

  it 'does not flag examples when different its arguments are used' do
    expect_offense(<<-RUBY)
      describe 'doing x' do
        its(:x) { is_expected.to be_present }
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Don't repeat examples within an example group.
        its(:x) { is_expected.to be_present }
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Don't repeat examples within an example group.
      end
    RUBY
  end

I withdraw my proposal of introducing IgnoreItsWithSameAttribute, as it seems to make sense to make this the default.

Note for the future researchers. Even though its accepts arbitrary arguments, the "docstring" of the generated example is explicitly set to nil, so all of those arguments can be treated as metadata.

Would you like to submit a PR fixing this, @arg ?

I will try to find some time, but can’t say when.
Best regards,
Andrii

On 26 May 2022, at 21:57, Phil Pirozhkov @.***> wrote:

Would you like to submit a PR fixing this, @arg ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Ping @arg

If you are still busy, I would like to work on this.

That would be great

On 24 Oct 2022, at 11:07, Yudai Takada @.***> wrote:
If you are still busy, I would like to work on this.
—
Reply to this email directly, view it on GitHub https://github.com/rubocop/rubocop-rspec/issues/1273#issuecomment-1288693965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH66NOCKHIHFPIA63YOFMTWEZGTJANCNFSM5WHSZ7EQ.
You are receiving this because you were mentioned.


Outline view for PHP broken since update

Issue Type: Bug
Outline view shows duplicate entry for all items (except plain attibutes by the look of it).  This was working prior to the Outline being added to the side-bar.

Open PHP based file with Class with methods
Select Outline view

VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.94GB (25.27GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
0.8.8

php-debug
fel
1.12.3

php-intellisense
fel
2.3.1

php-pack
fel
1.0.1

todo-tree
Gru
0.0.53

vs-keybindings
ms-
0.2.0

team
ms-
1.133.0

vscode-code-outline
pat
0.2.1

java
red
0.25.0

vscode-java-debug
vsc
0.9.0

vscode-java-pack
vsc
0.3.0

vscode-java-test
vsc
0.6.1

vscode-maven
vsc
0.8.0

(1 theme extensions excluded)

Do single entries show up if you start with --disable-extensions?

Yes, still happens with --disable-extentions
Also,  although I ran with --disable-extentions all the extentions seemed to still be active, so I disabled them manually individually.
The outline option disappeared when I disabled its extention, although I'm sure when I had previously disabled the Outline Extension on its own, it had made no difference.
When I re-enabled it on it's own the outline option appeared but it was showing empty.  I carried on enabling extensions and 'reload'ing  and at some point during this process the outline view populated (still with double entries).  I back-tracked through the extensions disabling again, but it made no difference so I must assume that the Outline view was simply taking time to parse before displaying.

I didn't notice this was an outline contributed by an extension. You'll have to open an issue on that extension.
My guess would be that since you have multiple extensions with PHP language support (intelephense and php-intellisense) they are both showing symbols in the tree.

Yes, it was the two separate language support extensions being active that caused it.  It would seem my earlier enabling/disabling didn't take effect without restarting Code.
However, prior to the VS Code update that moved Outline to the side-menu, having these both active didn't cause a problem.  i.e. when Outline was an expandable layer in the Explorer window the double entries did not appear even though I had all the same extensions active.

re https://github.com/Microsoft/vscode/issues/50110#issuecomment-390898668
@ant-g When having multiple extensions installed that provide an outline, then the name of the extension should become a root. In quick outline (the flat list overlay) they are all mixed...

Closing as I have checked the double register case and after checking some php outlines

@jrieken How to verify?

I checked the outline, esp quick outline, of the top 2 php extensions works

Thanks, verified.

@jrieken When having multiple extensions installed that provide an outline, then the name of the extension should become a root
Ok, I only have one extension providing the outline Code Outline (https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline), this uses symbol data from language specific extensions, of which I have two; IntelliSense and Intelephense.
When these are both active the duplication appears in the tree beneath the Code Outline root.
Therefore I believe this is an issue for the Code Outline extension and will raise it there.
Thanks.

Hm, now I actually understand. This isn't an issue with VS Code, the outline you are referring too is from that extension. I initially though that's an extension that provides data, not UI. So, is it that the extension has stopped working correctly? I doubt that is related to the changes we made and it might be an issue with the extension itself...

I'm pretty sure that it all worked ok with all the same extensions active when Outline (as provided by the extension) was included as a sandwich layer in the Explorer view, so there may have been an unintended consequence of how things are handled when moving away from that style; however I agree that this now seems like an extension issue.
I've raised an issue for it here https://github.com/patrys/vscode-code-outline/issues/141
In order for the extension to solve the problem there may be a call on the VS Code API for help?
Thanks for exploring the issue though, I'm a big fan of VS Code having used it for a few months now with Team Services and Git.


Plumb through custom weave domains.

Fixes #532

Any idea when this will be released?

We're hoping to do a release next week.
On Friday, 8 April 2016, Jorge Rodriguez (A.K.A. Tiriel) <
<EMAIL_ADDRESS>wrote:

Any idea when this will be released?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/weaveworks/scope/pull/1041#issuecomment-207240605

That would be great, I'm looking forward to that!
Thanks


Hardhat migration

This PR migrates the contracts from an Etherlime environment to a Hardhat one, including tests and deployment scripts.
All tests are currently passing with the exception of some tests on the EthBroker contract. There is also some other strange behaviour in those tests, which may have been introduced by use of the hardhat_setBalance call used to ensure testing accounts have sufficient ETH for the tests. Since not all tests are passing, the PR is marked as a draft.
The deployment script has been tested both locally and on a testnet.

I've marked the PR as ready for review - the previous issues have been remedied by @RyRy79261 , and all tests are now passing.
Note that as of these changes the active folder for the contracts is no longer bzzar-contracts/chain, but rather bzzar-contracts/packages/chain. In order to run the test suite, navigate to this directory, run Yarn to install dependencies, and run yarn hardhat test.

all conversations should be resolved now, feel free to give another look and see if there's anything I missed


Properly handle NaN

This issue exists to remind me that NaN is a thing and I ought to handle it.
Modify VM such as assert(typeof NaN == 'NaN')

After having to deal with quite a few NaNs, I Now understand why NaN exists and I'm closing this issue.
You'll be able to use Decimal.isNaN (see #17) to deal with NaNs.


Snark node fee minimum limit

Maybe you should put a minimum limit for the snark fee, presently we can see on the Snarketplace that the snarks is selled for free while the block producers get MINA rewards, it doesn't seem fair to those who want to invest in it.

This is already being  tracked in #5115


Fixed typo in spring-cloud-stream.adoc

Fixing typo in documentation that caused a broken view.
See https://docs.spring.io/spring-cloud-stream/docs/3.0.12.RELEASE/reference/html/spring-cloud-stream.html#_programmatic_way

@vxavictor513 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


[PATTERN] Add star pattern in JavaScript, Pattern47

Description
Task:
for the given input n the following pattern should print (n=5 for the below pattern):
Pattern Image

Filename
Pattern47.js

Hey can you assign this to me? i can do it

@AtharvePandey you can work on this issue.

please assign me this issue , i want to work on this code

@shivam0277 it's already assigned to @AtharvePandey

pr merged #191


Proposed PEP8 fixes

Fixes #15
Changes proposed to this pull request

Editions to the files to fix pep8 issues

@mbauman please review this pull request.

Thanks for the PEP8 fixes. Can you be able to deploy this branch @NdagiStanley?

Doing that ASAP @gitgik

And there we have it @gitgik https://etp-api-pr16.herokuapp.com/

LGMT 👍


Updated query_params and UI Refresh

st.experimental_get_query_params was deprecated in version 1.30.0. Use st.query_params instead.
Streamlit Documentation here
Updated UI Design:

Hegel AI Logo (top)
Github Link (bottom)

@NivekT @kacperlukawski May I get some eyes on this, please


slack: Allow legacy / proxy notification use-cases

With #368 (at least TTBOMK) we stop supporting notification use-cases like
--slack-hook-url=http://eventmanager.notification.svc.cluster.local./api/notification/slack/2/kured

which is what we use in our cluster(s) - it's essentially kind of a proxy for various kind of notifications.
@atighineanu was thinking we add a --custom-slack-url option.
We should at the very least let people know in the release notes that we are changing the behaviour ... :man_shrugging:

Relevant log output:
2021-11-29T15:57:52.684347460Z time="2021-11-29T15:57:52Z" level=warning msg="Deprecated flag(s). Please use --notify-url flag instead."
2021-11-29T15:57:52.684404989Z time="2021-11-29T15:57:52Z" level=warning msg="slack-hook-url is not properly formatted...no notification will be sent: <nil>\n"

I talked to our IT folks and they said they'd be happy to move away from the proxying use-case.
Question to the audience: does anyone of you use ^ this kind of custom Slack URL?

Maybe we un-milestone the issue for now to reduce the importance somewhat? WDYT?

I do not.
I think however it would be right to warn that the slack-hook-url is not rightfully formatted, and still try it. If shoutrrr works with it, then good. If not, let's fix shoutr?
If we are to implement our own library/behaviour/"alternative ways", then it doesn't make much sense to use an existing library for notifications ;)

:heavy_check_mark: There was a warning as you can see in the log output above.
It'll just be a bit hard to find out who might get surprised by this behaviour. In the case of our Dev environment, the Slack notifications just stopped happening. I'm willing to accept though that this is one of the few cases and everybody else just uses the Slack hook notation. :shrug:


Add syntax highlighting to Readme.md

Cool project, thank you for doing this. It is incredibly useful.
In the readme, all the examples look bland, like for e.g
Minimal usage:
from data_enum import DataEnum

class Currency(DataEnum):
    data_attributes = ('symbol', 'name')

Currency('CAD', symbol='$', name='Canadian dollar')
Currency('USD', symbol='$', name='United States dollar')
Currency('EUR', symbol='€', name='Euro')

Using the github markdown code tags, specifically,
\``` py
code_here
\```

it could look like this

from data_enum import DataEnum

class Currency(DataEnum):
    data_attributes = ('symbol', 'name')

Currency('CAD', symbol='$', name='Canadian dollar')
Currency('USD', symbol='$', name='United States dollar')
Currency('EUR', symbol='€', name='Euro')

Just a quick suggestion, it works for other languages too

Good idea. Feel free to submit a PR, or otherwise I'll make this update sometime this week.


Cannot read property '_icon' of undefined

I can't reproduce this bug, but I get notifications from time to time on Opbeat, when 'animationend' is fired in  L.MarkerClusterGroup.include.L.DomUtil.TRANSITION._animationEnd, and showMarker method tries to check if ((layer._icon || layer.__parent._icon) && !this._inZoomAnimation), and apparently __parent does not exist (see StackTrace at the bottom).
I'm not very familiar with Leaflet's code, but if the __parent is not always available, would it be worth checking if ((layer._icon || (layer.__parent && layer.__parent._icon)) && !this._inZoomAnimation)?
StackTrace:
L.MarkerClusterGroup.include.L.DomUtil.TRANSITION._animationEnd
L.Mixin.Events.fireEvent
showMarker
?

Hi,
It seems that you are using the zoomToShowLayer method?
Normally all point objects (this includes markers) within an MCG should always have their __parent property set.
Furthermore, within the zoomToShowLayer method, all ways that call showMarker already check for or use layer.__parent, so it would be strange that this property "disappears"...
Please have you checked whether the layer that is passed as argument of zoomToShowLayer is a child of the MCG?
Is there any chance that the layer is removed from the MCG at the same time?
Note that if you move it, it is actually removed and added back.
Hope this helps.

Maybe this is related to #530 and #397?

Thanks for you answer.
I don't really know if it might be related, because even on those issues it's not really clear what's the real issue.
I use zoomToShowLayer in two places on my code:
// triggered manually by pressing a button "zoom to feature"
if (child && mainLayer.getVisibleParent(child) instanceof L.MarkerCluster) {
  mainLayer.zoomToShowLayer(child, function () {});
}

So this does the check you mentioned (also not the callback function I must provide, the issue was opened here: https://github.com/Leaflet/Leaflet.markercluster/issues/503).
Also:
// triggered when accessing feature to show it on the map
if (child && mainLayer.getVisibleParent(child) instanceof L.MarkerCluster) {
  if (layer.feature.deflated && !landingWithCenter) {
    visualization.fitToLayerBounds(child);
  } else if (!landingWithCenter || zoom === 19) {
    leaflet.layers.mainLayer.zoomToShowLayer(child, function () {});
  }
}

It might be that the feature gets removed at the same time, because I use modified https://github.com/oliverroick/Leaflet.Deflate (modification is needed for this to work with clusters). So, when the method gets called, on a feature that is inside the cluster but is actually deflated polygon or polyline, when zooming to it, at the end it will be converted from marker to the actual shape.
For checking and converting to/from created marker I use on 'zoomend', which is also used by this plugin.

Hi,
Well you are probably on it with Leaflet.Deflate.
If you actually remove your marker from MCG (besides from the map or not),
then the marker loses
its __parent property, and it will not get a new one because it is
replaced by another object.
The showMarker callback does not know it should now refer to that other
object.
Furthermore, even if that object is added to MCG, since it is a non-point
feature, MCG will not be able to use (cluster) it and it will not assign a
__parent property to it.
Why not using the callback of zoomToShowLayer to implement your
conversion when triggering that method?
That way you would ensure the marker is untouched until MCG no longer needs
it.
You would need to temporarily remove your listener from zoomend however.
We could still add a check on the existence of the __parent property,
though.
Better (but more complicated), we might need to assume that markers can be
removed in the middle of an animation (as seems to be your case).
I think the places that would be affected are zoomToShowLayer and the
spiderfication animations.
Hope this helps.

Thanks for your ideas.
For now I will check myself for __parent before calling a method zoomToShowLayer. This should be the same as checking it inside the method, right? I will let you know if I'm still getting notifications after the change.

Guessing that fixed it for you?

This did the trick, yes.


tsed prisma generator creates ambiguous imports for enum types

Information

Version: 6.114.17
Packages: prisma

Prisma generate creates ts files that will not transpile with yarn build due to ts2308 error regarding ambiguous imports created by tsed generator. Specifically the index file in the generated directory has the import error. See my VSCode screenshot where I've positioned everything you need in view. In the project explorer you can see my directory structure and the index.ts file containing the error. In the code editor you can see the line number in the file that has the error and in the terminal you can see the errors returned by trying to build.
Please let me know if you have any questions. Thanks! Looking forward to using this feature - its one of the main draws to tsed for me.
Screenshot
Here is the relevant portion of of my schema.prisma file showing I export ts files outside of node_modules

and here is the screenshot that shows the details of the error and data structure

Acceptance criteria

The prisma generate command should produce files that transpile without errors.

Hello @str11ngfello
It should helpful if you can provide small repository with code example please.
See you
Romain

If you are not able to reproduce with a small repo, I can't help you. The problem is located on your repo and how you implement your code.
Your supposition is wrong ^^. @tsed/schema is a base of all others tsed module. It doesn't depend or import any other module expected @tsed/core.
The typescript error you have, shows a symbol problem exported twice or because typescript is incorrectly configured. On things is the generated typescript code is outside src. Which is probably incorrect, if you have used the tsconfig.json generated by the CLI.
See you
Romain

Hello !
I found a way to reproduce the bug with a simple example right here!
Definitly something related to the enum type.

Thanks. I’ll a look ^^

PR is ready: https://github.com/tsedio/tsed/pull/1960

:tada: This issue has been resolved in version 6.115.1 :tada:
The release is available on:

v6.115.1
GitHub release

Your semantic-release bot :package::rocket:

@tomapp It's released ;)

:tada: This issue has been resolved in version 7.0.0-beta.13 :tada:
The release is available on:

v7.0.0-beta.13
GitHub release

Your semantic-release bot :package::rocket:


Cache error when mixing string/unicode params in query

This bug was really hard to spot. It happens when doing a get() or filter() for the same CharField but mixing the types str and unicode. The method get_query_cache_key() will convert the query params to string:
default:SELECT [skipped...] WHERE "cachalot_test"."name" = %s:(u'test1',)

default:SELECT [skipped...] WHERE "cachalot_test"."name" = %s:('test1',)

As you can see, the representation of the unicode type has a u before, which the string doesn't. This means there are two different keys cached for the same query.
I have attached a test showing the bug. Any idea which is the best way to deal with this edge case?

Hi @jcugat, thanks for the report.
The best solution is to keep things as they are, for these reasons:

Having an extra SQL query in an edge case is a perfectly acceptable "problem"
This only applies to Python 2, so simply move your project to Python 3 and the issue disappears (you will have to do it one day or another…)
It would add a check for each param of each query and a str->unicode decode for each str, decreasing performance a little and increasing the amount of code for almost nothing
you can workaround this by simply being consistent with the types you put in your query

I think I didn't explain the implications of the bug in the context we discovered it. In our case both queries were cached, one with the object, and the other one without it, something like this:
>>> Test.objects.get(name=str("test1")).name
test1
>>> Test.objects.get(name=unicode("test1")).name
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  [...]
DoesNotExist: Test matching query does not exist.

We could reproduce this reliably (from the django shell) when it happened in production. The str/unicode was the difference that caused one get() to return the object and another one to fail.
The problem is that I don't know what caused the invalidation to fail. I'll try to dig our code a bit more and see what might have caused it.

This is weird, The tests don’t reproduce this, as you can see here: https://travis-ci.org/BertrandBordage/django-cachalot/jobs/97475423
All we see is an extra query.
Did you read Limits to check that you’re not facing one of these?

Coverage decreased (-60.6%) to 37.223% when pulling d2456bce2b43b7524b1561838dd2fcf779ce20d1 on jcugat:query_string_unicode_bug into 99e2aa37b835b7411987108cba4b689a3949d061 on BertrandBordage:master.


Lemma 5.2.10, Task 58

For the discussion on why BorelSpace X is needed in HardyLittlewood.lean see https://leanprover.zulipchat.com/#narrow/stream/442935-Carleson/topic/How.20to.20prove.20a.20ball.20is.20measurable/near/455002668

Great! Thanks!


build: uname is WinOS-compatible; move to 'Tier1' feature

nice to see you again @rivy :)

I think other programs should work on Windows too


adding non-cumulative capability to cart.add

I needed a way to add items such that the final quantity is equal to the amount specified in the add method, not the cumulative quantity of that and what is already stored in the db.
This capability is provided by a boolean fourth parameter, called cumulative. By default the method will behave as you initially coded it (because by default cumulative is set to true); however by passing false, cart_item.quantity will not be included.
I also added tests.

Merged! thanks!


Update composer.json

cleanup default repositories. i don't think there's need to register these

packagist is enabled by default in composer
jkphl/iconizr is present in packagist: https://packagist.org/packages/jkphl/iconizr

Thanks!


Generalize IO API to support any number of data / labels

[x] Modify MXDataIter interface
[x] Modify Model train to use extended API
[x] Modify MNIST example
[x] Modify Model predict to use extended API
[x] Modify array iterator
[x] Lint and clean up
[x] Fix unit-test

You might want to merge in my PR here:https://github.com/dmlc/mxnet/pull/456

@piiswrong Yes, please merge that PR and I will rebase later.

Do we need to differentiate between data and label?

The only difference is that during training data and label is copied into the network. But during prediction only data is copied. During evaluating on the validation set, data and label are copied into different places. I also found it a bit redundant but I did not have a better way to handle this in more general case.

I see.
What's the change to interface?
Could you summarize it and put it somewhere to make it easier for people working with old interface?

@piiswrong The main change is:

Originally, we use postfix _data and _label to detect which is data and which is label, and only support one data, one label for input.
Now there is no special naming convention. The user specify the names of the data in the data iterator, and those names should match the corresponding names (by default data and softmax_label, to keep maximum backward compatibility) in the symbol. And multiple data/label could be used if the data iterator provides.

I will make a more detailed document soon.

Now all the tests has passed, could this be reviewed and merged?

LGTM in general. One thing, the trick to use first batch to get data shape have a bit detail inside:
Because there is a multi-threaded prefetching. Doing reset next, reset of iterator can cause indeterminism in IO
- Because the thread eagerly produce samples, which will be discarded by reset
- This means when there is PRNG(random crop, resize), the IO is not reproducible.
- Which means slightly different result in different run
- Note we already have not producible result due to indeterminism in cuDNN, but the plain algorithm works
In the old setting

During training, we call next, but don't do reset(which is OK as we skip the first batch).
During prediction, a reset will be called after getting info from first batch, because there is no randomness

So maybe this could be considered, to not expose the shape information, but still do the shape getting trick in model, or provide a helper function in IO to do so, with awareness of train/pred

@tqchen Hmm, I did not notice that. I agree this is a potential problem with MXDataIter. I'm not familiar with the underlying data loading and prefetching implementation. But I think there might be a simple way (not making the code too messy) to wire with the Python iterator API so that the first mini-batch could be fetched to check the data shape and batch size without doing an explicit reset.

Yes, that will need some special treatment in python API, i.e. have a cached instance that will be returned in the call to the next, instead of calling MXIterNext, and support a function like peek to get the instance without advancing the iterator(in impl put that into cached inst)

Thanks for the summary!
With regard to shape check, probably implement a peek method?

I guess the peek method from python API might be a good idea, may need to implement peek, next on base-class, and ask the child class to implement a special _next method to get the data.

I think the current code is ready to be merged after we get the peek

k, I should be able to figure that out by the weekend

Actually I would like to propose to simplify of the current data iter base class. I think the idea is to have as less methods as possible so that the user should be able to write a customized data iter very easily, say by just writing a for loop with Python generator api. Common tools like shuffling within a large cached in-memory pre-loaded mini batches could be provided so that the users do not need to implement the same thing over and over again. But this requires more efforts and discussion about the interface.

As long as we have a fixed set of api, it is OK. For example, having a subclass Iter that can take a generator, while have default impl for all the other functions

@tqchen Yes, but writing default impl, for example, for iter_next, or getpad on the iterator object is not easy, if we assume all we know is a generator from the end user. My understanding is that those functions are there to help it easier to implement the wrapper MXDataIter (or maybe even array data iter). But there is no need to require all data iterators to implement those method because:

Those methods (e.g. next_iter, getdata, etc.) are never explicitly called, since all the usage of data iterator is for batch in data_iter: ... -- therefore, the only required interface is a python iterator interface, the user could implement it explicitly by writing the __iter__ and next function, or by just wrapping a generator. But I might be wrong. If there is other potential usage of data iterator that requires a richer interface, please let me know.
I think it is not true that under different implementation paradigm it is equally easy to implement all the interface functions. For example, if I simply provide a generator to iterate over all the data. In order to implement iter_next, I will need to call the underlying generator, cache the results, and catch the end-iter exception, etc. Similarly, in order to implement getdata on the iterator object, I will need to explicitly fetch data from the underlying iterator, and store it somewhere.

I get your point, yes I agree, iter and next are two things we need. The rest interface that are helpful(but not needed) is the getpad(to get number of padded instance, for predictor)

getpad, which was used for reporting number of padded data when data, but as you did in the update, it can readily be incorporated into the databatch

We might need the provide_data and provide_label, either as a list of functions. In that sense, I agree that the peek should be implemented in the subclass, to support provide_data and label for MXDataIter

Yes getpad is not being suggested to be removed, they now exists in the batch object, which is the object returned in each iteration that contains the data, label and other information (including the pad) for that minibatch.

Sounds good to me

Since we now support multiple data/label, the metrics interface probably should also be updated?

Yes that is one aspect that we also need to consider a bit. Currently I just replaced all existing metrics with one that naively deal with pred and label list of the same length, by evaluating them one by one and then accumulate. This should be backward compatible with existing behavior, but for long term, we need to think about what would be best interface.

Yes, I guess that should be addressed in a separate issue, let us first aim to get this merged

Please review and merge it. I added a simple cache for the first batch to avoid calling reset. The discussed simplification of base iter interface could wait later, otherwise accumulating conflicts with base could get quite complicated. I hope I did not overwrite something during merging.

I have one comment on support epoch_size parameter which is added by @mli for distributed training. Maybe need to add that back.
This is used when different machines have different batches on their local data, and we need to make sure each machine run the same number of batches in one epoch in distributed setting. Otherwise one machine will run additional batch, and hang because other machine did not send statistics over in BSP setting

Other parts LGTM

I tried to recover that part here.

cool, this is merged


enable node 18 on ci

Ìt seems a library is not compatible, needs further investigation, worth look into it.
packages/plugins/memory test: FAIL test/memory.spec.ts (9.385 s)
packages/plugins/memory test:   ● writing files › should abort while write a tarball
packages/plugins/memory test:     TypeError: Cannot set property closed of [object Object] which has only a getter
packages/plugins/memory test:       at class_2.Object.<anonymous>.FsReadStream.close (../../../node_modules/.pnpm/memfs@3.4.1/node_modules/memfs/lib/volume.js:2047:17)
packages/plugins/memory test:       at class_2.closeOnOpen (../../../node_modules/.pnpm/memfs@3.4.1/node_modules/memfs/lib/volume.js:2059:10)
packages/plugins/memory test:       at class_2.<anonymous> (../../../node_modules/.pnpm/memfs@3.4.1/node_modules/memfs/lib/volume.js:2107:14)
packages/plugins/memory test:       at Immediate.<anonymous>
``

done here https://github.com/verdaccio/verdaccio/pull/3100


Fix TypedArray toString method for all types.

Fixed the issue that caused typedarray's toString() to output [object type], where type is the called typedarray's type. Now it prints out elements just as normal arrays, and as expected.
JerryScript-DCO-1.0-Signed-off-by: Bela Toth<EMAIL_ADDRESS>

Additional extra note: this PR does not fix the toString method (well it does but it's akward) as there was no toString implementation before. Thus this PR implements the correct toString behaviour for the TypedArrays. Also not just the toString but the join method is also implemented here which should be mentioned in the commit message.


Collect global Envvars

Compose a list of envvars living in more than 1 service

We need to change in the adoc template file two things:

[width="100%",cols="30%,20%,~,~,~",options="header"]
the first two columns need a fixed width
for the xref column only, a| [subs=attributes+]
-attributes --> attributes+

Then, as you can see, we need, if possible two sortings 🙈

all services listed should be sorted alphabetical ascending
see in the image above that the app-provider service is "somewhere" in the middle and therefore hard to identify. the list is usually looong.
if possible, the names of the envvars should be sorted ascending

@mmattel yes good point :+1:  I was not 100% what you mean by
if possible, the names of the envvars should be sorted ascending

so I sorted them alphabetically. Should I sort by number of services?
Rest is implemented as requested.

When merged, I will backport the global adoc file to the stable docs branch.


Make CI run on the appropriate branch

Slow CI was (is currently) only running on main, even if you triggered it with a comment inside a PR. This PR fixes that.

Summary by CodeRabbit

Refactor

Enhanced the continuous integration process to dynamically handle pull requests, ensuring more robust and efficient testing workflows.

@coderabbitai review

Slow CI run: https://github.com/zenml-io/zenml/actions/runs/7643993247


[Feature Request] Full circle stroke

Hi, thanks for this great card.
Is it posible add a parameter to choose to fill the full circle with the stroke, but setting max and min values, with color stop, just like the actual one?
Something like this:

Thanks!!

Yeah, that should be simple enough


Can't install hover on OSX 10.14

Flutter version
Flutter 1.3.8 • channel beta • https://github.com/flutter/flutter.git
Framework • revision e5b1ed7a7f (4 weeks ago) • 2019-03-06 14:23:37 -0800
Engine • revision f4951df193
Tools • Dart 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)

Golang errors (Optional)
../../../go/src/github.com/go-flutter-desktop/hover/cmd/run.go:48:31: cmdApp.ProcessState.ExitCode undefined (type *os.ProcessState has no field or method ExitCode)

Golang version
 go version go1.10.8 darwin/amd64
Steps to Reproduce
tried to run
go get -u github.com/go-flutter-desktop/hover

Please update your version of Go. Version 1.10.8 is quite old and doesn't support that field.

thanks for the heads up.
For future reference, I think the current version of go on homebrew is outdated.
uninstalling it and installing from the official site fixed the problem.

Yes it succeeded
thank you very mutch


http-equiv="X-UA-Compatible" in 2018

Do we still need
<meta http-equiv="X-UA-Compatible" content="ie=edge">
that ships with Emmet => ! tab ?

We use the emmet snippets from an upstream emmet project.
Please log the issue at https://github.com/emmetio/snippets.
Once it is resolved there, we can absorb the changes in VS Code

There's no "Issues" tab on that repo.

@web2033 Try https://github.com/emmetio/expand-abbreviation


ORC-1223: Move DirectDecompressWrapper to org.apache.orc.impl

What changes were proposed in this pull request?
This PR aims to move DirectDecompressWrapper to org.apache.orc.impl
Why are the changes needed?
To clean up old Hadoop support
How was this patch tested?
Pass the CIs.

cc: @dongjoon-hyun

Merged to main and 1.8.0.


install of dotnet-ef fails in tutorial code

Hello! The code that is part of this tutorial no longer works due to dot net tool version changes.
The error I get in the "Update Database" step is:

error NU1202: Package dotnet-ef 6.0.7 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1) / any. Package dotnet-ef 6.0.7 supports: net6.0 (.NETCoreApp,Version=v6.0) / any
The tool package could not be restored.
Tool 'dotnet-ef' failed to install. This failure may have been caused by:

You are attempting to install a preview release and did not use the --version option to specify the version.
A package by this name was found, but it was not a .NET Core tool.
The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

While I'm going to troubleshoot and work through it, I wanted to let you know so others aren't frustrated with this tutorial. thank you.

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

ID: e681994f-3143-0a17-9512-02156829c173
Version Independent ID: 5bcc84f1-07a5-1fe1-c644-9fa16566d4b5
Content: Tutorial: Use GitHub Actions to deploy to an App Service custom container and connect to a database - Azure App Service
Content Source: articles/app-service/app-service-sql-github-actions.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: jukullam

@vml-aledonne Thanks for the feedback! We are currently investigating and will update you shortly.

@vml-aledonne Thanks for reaching here! We typically try to keep the Azure-Docs channel scoped to feedback directly about the docs. Since your question goes beyond what is discussed in the doc, we kindly invite you to raise your query here.
https://github.com/dotnet/docs/labels/dotnet-core%2Fprod
Thank you for your understanding in this.


ci: bump canary publish cache

This seems to fix the issue that @andrewgordstewart where his canary publish failed. I have verified this by making the same change on the regular publish, and observing the publish succeed (where it also previously failed with the same error). I made that change in the actions editor on github, which ended up pushing the change directly to master 😳 .
The fact that this works seems to imply that the github actions cache became corrupted somehow. Both the failed builds had an exact cache hit. That cache would presumably have been written @snario's canary publish from a non-master branch.
I suggest we merge this fix and see if the problem re-occurs in the future.

https://github.com/statechannels/statechannels/pull/2769


Update CI config

add FORCE_COLOR: 2 so that we get colored output
update to actions/setup-node@v2
fix formatting

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[x] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[ ] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Please checkout the non-whitespace diff: https://github.com/zenorocha/clipboard.js/pull/752/files?w=1
The build step seems unneeded since it already runs on ci, but maybe it's as a precaution
The lint step could be a separate workflow assuming there's npm caching, so that it runs only once
The test:types script does not run on CI ATM

Ah, Node.js 16 was released since I made the PR, someone should replace 15 with 16.


Delete confirmation when deleting a definition

Description:
User should have a delete confirmation prompted when an action like delete is done.

I don't think this is necessary. Because user can always undo or redo stuff as this is an IDE. It's a normal thing in a IDE to delete stuff and undo the delete. it is annoying to get a confirmation every time we delete something. WDYT?

Agree with @NipunaMarcus. We don't need ask for delete confirmation since undo option is available.


cigien: Blacklist webuniversal.pe

cigien requests the blacklist of the website webuniversal\.pe. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

webuniversal\.pe has been seen in 5 true positives, 0 false positives, and 0 NAAs.

webuniversal\.pe has been seen in 5 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ

Approved by Spevacus in Charcoal HQ


116th Congress district offices

New members' websites are starting to list district offices, though most do not have phone numbers yet.
In the coming weeks, TheWalkers will collect these either through scraping or manual processes, and will track the work in this issue. Help welcome!

See PR #670.

Build currently fails validation of district offices with "ERROR: No offices" for these members:
M001208 [GA rep] Lucy McBath (https://mcbath.house.gov/)
A000376 [TX rep] Colin Z. Allred (https://allred.house.gov/)
H001089 [MO sen] Josh Hawley (https://www.hawley.senate.gov)
K000395 [PA rep] Fred Keller (no url)
W000827 [TX rep] Ron Wright (https://wright.house.gov/)
T000484 [NM rep] Xochitl Torres Small (http://torressmall.house.gov)


Executable and Log Failed

Hi i'm having some trouble running webception, I did all the things on the readme but with no success.
I am having the following problem. At the browser console shows me this
.
Hope you can help me.

check this:
https://github.com/jayhealey/Webception/issues/20

Is mod_rewrite enabled on your server?

yes, we are trying to use this with moodle 2.8.5

RewriteBase helped me.

That helped! Somehow my .htaccess was empty :D

Can someone show what to write with the RewriteBase in .htaccess? Thanks.


fix: create a module hook space for devspace patches

Please read CONTRIBUTING.md for additional information on contributing to this repository!

What this PR does / why we need it
Fixing of #551  - graphql should not be here.
Add module hook definition

Jira ID
DT-4541

Notes for your reviewers

Replaced by #553


MAMP Support?

I tried this out in a MAMP environment and received a #2002 MySQL error.
Traced it to the fact the MAMP php.ini was not being loaded, therefore the ini setting for mysql.default_socket is set to "/var/mysql/mysql.sock", not "/Applications/MAMP/tmp/mysql/mysql.sock".
Thoughts on support for MAMP? Not sure how MAMP detection might work, we'd have to also detect which version of MAMP the user is running and load the appropriate php.ini file.

Similar: #49

Although MAMP is very popular, anybody using wp-cli should know that they can use Mac OS X's built in apache and php packages along with downloading MySQL instead of using MAMP, as I just did.
Closing out as not too important, if anyone replies to me in the MAMP support forums about an easy way to test if MAMP is running via cli maybe I'll write a patch.