On a fresh install docker-compose up is failing. Something went wrong installing the "sharp" module

I'm on macOS 12.6
I've got a VM running Ubuntu.
installing latest straps app using npx create-strapi-app. No quick install -- using mysql.
Strapi is running fine locally. But problems start using the dockerize tool.
running yarn build
running npx dockerize.
running docker-compose up:
`docker-compose up --build
Building strapi
[+] Building 2.9s (13/13) FINISHED
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 37B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/library/node:16-alpine                                                                                0.5s
=> [internal] load build context                                                                                2.3s
=> => transferring context: 4.58MB                                                                                2.2s
=> [1/8] FROM docker.io/library/node:16-alpine@sha256:88d9d8da697877a4a771a40e5cbc10a12c2ad959e82f3b0f36ef35635e17f693                                                                                0.0s
=> => resolve docker.io/library/node:16-alpine@sha256:88d9d8da697877a4a771a40e5cbc10a12c2ad959e82f3b0f36ef35635e17f693                                                                                0.0s
=> CACHED [2/8] RUN apk update && apk add  build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev                                                                                0.0s
=> CACHED [3/8] WORKDIR /opt/                                                                                0.0s
=> CACHED [4/8] COPY ./package.json ./yarn.lock ./                                                                                0.0s
=> CACHED [5/8] RUN yarn config set network-timeout 600000 -g && yarn install                                                                                0.0s
=> CACHED [6/8] WORKDIR /opt/app                                                                                0.0s
=> CACHED [7/8] COPY ./ .                                                                                0.0s
=> CACHED [8/8] RUN yarn build                                                                                0.0s
=> exporting to image                                                                                0.0s
=> => exporting layers                                                                                0.0s
=> => writing image sha256:a0239d571785e36e3e7e29d4fb7e66499989e8b06a862b146f951f2301088be4                                                                                0.0s
=> => naming to docker.io/library/strapi:latest                                                                                0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Starting strapiDB ... done
Recreating strapi ... done
Attaching to strapiDB, strapi
strapiDB    | 2022-09-28 11:11:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.39-1.el7 started.
strapiDB    | 2022-09-28 11:11:17+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
strapiDB    | 2022-09-28 11:11:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.39-1.el7 started.
strapiDB    | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
strapiDB    | 2022-09-28T11:11:17.710200Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
strapiDB    | 2022-09-28T11:11:17.711503Z 0 [Note] mysqld (mysqld 5.7.39) starting as process 1 ...
strapiDB    | 2022-09-28T11:11:17.714134Z 0 [Note] InnoDB: PUNCH HOLE support available
strapiDB    | 2022-09-28T11:11:17.714169Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
strapiDB    | 2022-09-28T11:11:17.714177Z 0 [Note] InnoDB: Uses event mutexes
strapiDB    | 2022-09-28T11:11:17.714180Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
strapiDB    | 2022-09-28T11:11:17.714183Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
strapiDB    | 2022-09-28T11:11:17.714185Z 0 [Note] InnoDB: Using Linux native AIO
strapiDB    | 2022-09-28T11:11:17.714361Z 0 [Note] InnoDB: Number of pools: 1
strapiDB    | 2022-09-28T11:11:17.714479Z 0 [Note] InnoDB: Using CPU crc32 instructions
strapiDB    | 2022-09-28T11:11:17.715711Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
strapiDB    | 2022-09-28T11:11:17.721314Z 0 [Note] InnoDB: Completed initialization of buffer pool
strapiDB    | 2022-09-28T11:11:17.723259Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
strapiDB    | 2022-09-28T11:11:17.735731Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
strapiDB    | 2022-09-28T11:11:17.737457Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 12139546
strapiDB    | 2022-09-28T11:11:17.737516Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 12139555
strapiDB    | 2022-09-28T11:11:17.737526Z 0 [Note] InnoDB: Database was not shutdown normally!
strapiDB    | 2022-09-28T11:11:17.737530Z 0 [Note] InnoDB: Starting crash recovery.
strapi      | yarn run v1.22.19
strapiDB    | 2022-09-28T11:11:17.848065Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
strapiDB    | 2022-09-28T11:11:17.848115Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
strapiDB    | 2022-09-28T11:11:17.848149Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
strapiDB    | 2022-09-28T11:11:17.863636Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
strapiDB    | 2022-09-28T11:11:17.864288Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
strapiDB    | 2022-09-28T11:11:17.864317Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
strapiDB    | 2022-09-28T11:11:17.864789Z 0 [Note] InnoDB: 5.7.39 started; log sequence number 12139555
strapiDB    | 2022-09-28T11:11:17.864934Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
strapiDB    | 2022-09-28T11:11:17.865121Z 0 [Note] Plugin 'FEDERATED' is disabled.
strapiDB    | 2022-09-28T11:11:17.867506Z 0 [Note] InnoDB: Buffer pool(s) load completed at 220928 11:11:17
strapiDB    | 2022-09-28T11:11:17.869538Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
strapiDB    | 2022-09-28T11:11:17.869566Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
strapiDB    | 2022-09-28T11:11:17.869571Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
strapiDB    | 2022-09-28T11:11:17.869573Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
strapiDB    | 2022-09-28T11:11:17.870132Z 0 [Warning] CA certificate ca.pem is self signed.
strapiDB    | 2022-09-28T11:11:17.870191Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
strapiDB    | 2022-09-28T11:11:17.870419Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
strapiDB    | 2022-09-28T11:11:17.870474Z 0 [Note] IPv6 is available.
strapiDB    | 2022-09-28T11:11:17.870486Z 0 [Note]   - '::' resolves to '::';
strapiDB    | 2022-09-28T11:11:17.870515Z 0 [Note] Server socket created on IP: '::'.
strapiDB    | 2022-09-28T11:11:17.872241Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
strapiDB    | 2022-09-28T11:11:17.881144Z 0 [Note] Event Scheduler: Loaded 0 events
strapiDB    | 2022-09-28T11:11:17.881396Z 0 [Note] mysqld: ready for connections.
strapiDB    | Version: '5.7.39'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
strapi      | $ strapi develop
strapi      | [2022-09-28 11:11:22.741] debug: ⛔ Server wasn't able to start properly.
strapi      | [2022-09-28 11:11:22.743] error: Could not load js config file<EMAIL_ADDRESS>strapi      | Something went wrong installing the "sharp" module
strapi      |
strapi      | Cannot find module '../build/Release/sharp-linuxmusl-x64.node'
strapi      | Require stack:
strapi      | - /opt/app/node_modules/sharp/lib/sharp.js
strapi      | - /opt/app/node_modules/sharp/lib/constructor.js
strapi      | - /opt/app/node_modules/sharp/lib/index.js
strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      |
strapi      | Possible solutions:
strapi      | - Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
strapi      | - Install for the current linuxmusl-x64 runtime: "npm install --platform=linuxmusl --arch=x64 sharp"
strapi      | - Consult the installation documentation: https://sharp.pixelplumbing.com/install
strapi      | Error: Could not load js config file<EMAIL_ADDRESS>strapi      | Something went wrong installing the "sharp" module
strapi      |
strapi      | Cannot find module '../build/Release/sharp-linuxmusl-x64.node'
strapi      | Require stack:
strapi      | - /opt/app/node_modules/sharp/lib/sharp.js
strapi      | - /opt/app/node_modules/sharp/lib/constructor.js
strapi      | - /opt/app/node_modules/sharp/lib/index.js
strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      |
strapi      | Possible solutions:
strapi      | - Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
strapi      | - Install for the current linuxmusl-x64 runtime: "npm install --platform=linuxmusl --arch=x64 sharp"
strapi      | - Consult the installation documentation: https://sharp.pixelplumbing.com/install
strapi      |     at loadJsFile (/opt/app/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:20:11)
strapi      |     at loadFile (/opt/app/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:37:14)
strapi      |     at Object.loadPlugins (/opt/app/node_modules/@strapi/strapi/lib/core/loaders/plugins/index.js:95:26)
strapi      |     at async Strapi.loadPlugins (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:321:5)
strapi      |     at async Promise.all (index 2)
strapi      |     at async Strapi.register (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:357:5)
strapi      |     at async Strapi.load (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:458:5)
strapi      |     at async Strapi.start (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:200:9)
strapi      | error Command failed with exit code 1.
strapi      | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

Are you by any chance binding node_modules ? As it seems it tries to build a different module then what you are using on your host system

Did you manage to find a solution exotexot?
I ran into the same issue on Windows 11, with the same shell output as exotexot.
Steps to reproduce:
yarn create strapi-app my-project
cd my-project
npx @strapi-community/dockerize
docker compose up

I looked into the node_modules folder mentioned in the error message (node_modules/sharp/build/Release) in the container looking for the needed sharp-linuxmusl-x64.node file. The contents were these files:
libglib-2.0-0.dll
libgobject-2.0-0.dll
libvips-42.dll
libvips-cpp.dll
sharp-win32-x64.node

Which is the same as the contents of the same folder in my local strapi node_modules.
I checked the Dockerfile and docker-compose.yml files, and from what I can see, they are generated according to the Strapi docs guide.
Dockerfile:
FROM node:16-alpine
# Installing libvips-dev for sharp Compatability
RUN apk update && apk add  build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev
ARG NODE_ENV=development
ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/
COPY ./package.json ./yarn.lock ./
ENV PATH /opt/node_modules/.bin:$PATH
RUN yarn config set network-timeout 600000 -g && yarn install
WORKDIR /opt/app
COPY ./ .
RUN yarn build
EXPOSE 1337
CMD ["yarn", "develop"]

docker-compose.yml:
version: "3"
services:
  strapi:
    container_name: strapi
    build: .
    image: strapi:latest
    restart: unless-stopped
    env_file: .env
    environment:
      DATABASE_CLIENT: ${DATABASE_CLIENT}
      DATABASE_HOST: strapiDB
      DATABASE_NAME: ${DATABASE_NAME}
      DATABASE_USERNAME: ${DATABASE_USERNAME}
      DATABASE_PORT: ${DATABASE_PORT}
      JWT_SECRET: ${JWT_SECRET}
      ADMIN_JWT_SECRET: ${ADMIN_JWT_SECRET}
      DATABASE_PASSWORD: ${DATABASE_PASSWORD}
      NODE_ENV: ${NODE_ENV}
    volumes:
      - ./config:/opt/app/config
      - ./src:/opt/app/src
      - ./package.json:/opt/package.json
      - ./yarn.lock:/opt/yarn.lock
      - ./.env:/opt/app/.env
      - ./public/uploads:/opt/app/public/uploads
    ports:
      - "1337:1337"
    networks:
      - strapi
    depends_on:
      - strapiDB

  strapiDB:
    container_name: strapiDB
    platform: linux/amd64 #for platform error on Apple M1 chips
    restart: unless-stopped
    env_file: .env
    image: postgres:12.0-alpine
    environment:
      POSTGRES_USER: ${DATABASE_USERNAME}
      POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
      POSTGRES_DB: ${DATABASE_NAME}
    volumes:
      - strapi-data:/var/lib/postgresql/data/ #using a volume
      #- ./data:/var/lib/postgresql/data/ # if you want to use a bind folder

    ports:
      - "5432:5432"
    networks:
      - strapi

volumes:
  strapi-data:

networks:
  strapi:
    name: Strapi
    driver: bridge

Some posts mentioned it could be a problem with different Node and npm versions, but from what I can see, my versions don't  differ that much:
My local Node and npm versions: 16.16.0 and 8.11.0
Container Node and npm versions: 16.17.1 and 8.15.0
My Docker Desktop version: 4.12.0, Docker Engine: 20.10.17, Docker Compose 2.10.2
If the node_modules are binding for some reason, is there a way to unbind them?

I'm on macOS 12.6
I've got a VM running Ubuntu.
installing latest straps app using npx create-strapi-app. No quick install -- using mysql.
Strapi is running fine locally. But problems start using the dockerize tool.
running yarn build
running npx dockerize.
running docker-compose up:
`docker-compose up --build
Building strapi
[+] Building 2.9s (13/13) FINISHED
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 37B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/library/node:16-alpine                                                                                0.5s
=> [internal] load build context                                                                                2.3s
=> => transferring context: 4.58MB                                                                                2.2s
=> [1/8] FROM docker.io/library/node:16-alpine@sha256:88d9d8da697877a4a771a40e5cbc10a12c2ad959e82f3b0f36ef35635e17f693                                                                                0.0s
=> => resolve docker.io/library/node:16-alpine@sha256:88d9d8da697877a4a771a40e5cbc10a12c2ad959e82f3b0f36ef35635e17f693                                                                                0.0s
=> CACHED [2/8] RUN apk update && apk add  build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev                                                                                0.0s
=> CACHED [3/8] WORKDIR /opt/                                                                                0.0s
=> CACHED [4/8] COPY ./package.json ./yarn.lock ./                                                                                0.0s
=> CACHED [5/8] RUN yarn config set network-timeout 600000 -g && yarn install                                                                                0.0s
=> CACHED [6/8] WORKDIR /opt/app                                                                                0.0s
=> CACHED [7/8] COPY ./ .                                                                                0.0s
=> CACHED [8/8] RUN yarn build                                                                                0.0s
=> exporting to image                                                                                0.0s
=> => exporting layers                                                                                0.0s
=> => writing image sha256:a0239d571785e36e3e7e29d4fb7e66499989e8b06a862b146f951f2301088be4                                                                                0.0s
=> => naming to docker.io/library/strapi:latest                                                                                0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Starting strapiDB ... done
Recreating strapi ... done
Attaching to strapiDB, strapi
strapiDB    | 2022-09-28 11:11:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.39-1.el7 started.
strapiDB    | 2022-09-28 11:11:17+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
strapiDB    | 2022-09-28 11:11:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.39-1.el7 started.
strapiDB    | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
strapiDB    | 2022-09-28T11:11:17.710200Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
strapiDB    | 2022-09-28T11:11:17.711503Z 0 [Note] mysqld (mysqld 5.7.39) starting as process 1 ...
strapiDB    | 2022-09-28T11:11:17.714134Z 0 [Note] InnoDB: PUNCH HOLE support available
strapiDB    | 2022-09-28T11:11:17.714169Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
strapiDB    | 2022-09-28T11:11:17.714177Z 0 [Note] InnoDB: Uses event mutexes
strapiDB    | 2022-09-28T11:11:17.714180Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
strapiDB    | 2022-09-28T11:11:17.714183Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
strapiDB    | 2022-09-28T11:11:17.714185Z 0 [Note] InnoDB: Using Linux native AIO
strapiDB    | 2022-09-28T11:11:17.714361Z 0 [Note] InnoDB: Number of pools: 1
strapiDB    | 2022-09-28T11:11:17.714479Z 0 [Note] InnoDB: Using CPU crc32 instructions
strapiDB    | 2022-09-28T11:11:17.715711Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
strapiDB    | 2022-09-28T11:11:17.721314Z 0 [Note] InnoDB: Completed initialization of buffer pool
strapiDB    | 2022-09-28T11:11:17.723259Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
strapiDB    | 2022-09-28T11:11:17.735731Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
strapiDB    | 2022-09-28T11:11:17.737457Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 12139546
strapiDB    | 2022-09-28T11:11:17.737516Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 12139555
strapiDB    | 2022-09-28T11:11:17.737526Z 0 [Note] InnoDB: Database was not shutdown normally!
strapiDB    | 2022-09-28T11:11:17.737530Z 0 [Note] InnoDB: Starting crash recovery.
strapi      | yarn run v1.22.19
strapiDB    | 2022-09-28T11:11:17.848065Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
strapiDB    | 2022-09-28T11:11:17.848115Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
strapiDB    | 2022-09-28T11:11:17.848149Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
strapiDB    | 2022-09-28T11:11:17.863636Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
strapiDB    | 2022-09-28T11:11:17.864288Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
strapiDB    | 2022-09-28T11:11:17.864317Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
strapiDB    | 2022-09-28T11:11:17.864789Z 0 [Note] InnoDB: 5.7.39 started; log sequence number 12139555
strapiDB    | 2022-09-28T11:11:17.864934Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
strapiDB    | 2022-09-28T11:11:17.865121Z 0 [Note] Plugin 'FEDERATED' is disabled.
strapiDB    | 2022-09-28T11:11:17.867506Z 0 [Note] InnoDB: Buffer pool(s) load completed at 220928 11:11:17
strapiDB    | 2022-09-28T11:11:17.869538Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
strapiDB    | 2022-09-28T11:11:17.869566Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
strapiDB    | 2022-09-28T11:11:17.869571Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
strapiDB    | 2022-09-28T11:11:17.869573Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
strapiDB    | 2022-09-28T11:11:17.870132Z 0 [Warning] CA certificate ca.pem is self signed.
strapiDB    | 2022-09-28T11:11:17.870191Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
strapiDB    | 2022-09-28T11:11:17.870419Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
strapiDB    | 2022-09-28T11:11:17.870474Z 0 [Note] IPv6 is available.
strapiDB    | 2022-09-28T11:11:17.870486Z 0 [Note]   - '::' resolves to '::';
strapiDB    | 2022-09-28T11:11:17.870515Z 0 [Note] Server socket created on IP: '::'.
strapiDB    | 2022-09-28T11:11:17.872241Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
strapiDB    | 2022-09-28T11:11:17.881144Z 0 [Note] Event Scheduler: Loaded 0 events
strapiDB    | 2022-09-28T11:11:17.881396Z 0 [Note] mysqld: ready for connections.
strapiDB    | Version: '5.7.39'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
strapi      | $ strapi develop
strapi      | [2022-09-28 11:11:22.741] debug: ⛔ Server wasn't able to start properly.
strapi      | [2022-09-28 11:11:22.743] error: Could not load js config file<EMAIL_ADDRESS>strapi      | Something went wrong installing the "sharp" module
strapi      |
strapi      | Cannot find module '../build/Release/sharp-linuxmusl-x64.node'
strapi      | Require stack:
strapi      | - /opt/app/node_modules/sharp/lib/sharp.js
strapi      | - /opt/app/node_modules/sharp/lib/constructor.js
strapi      | - /opt/app/node_modules/sharp/lib/index.js
strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      |
strapi      | Possible solutions:
strapi      | - Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
strapi      | - Install for the current linuxmusl-x64 runtime: "npm install --platform=linuxmusl --arch=x64 sharp"
strapi      | - Consult the installation documentation: https://sharp.pixelplumbing.com/install
strapi      | Error: Could not load js config file<EMAIL_ADDRESS>strapi      | Something went wrong installing the "sharp" module
strapi      |
strapi      | Cannot find module '../build/Release/sharp-linuxmusl-x64.node'
strapi      | Require stack:
strapi      | - /opt/app/node_modules/sharp/lib/sharp.js
strapi      | - /opt/app/node_modules/sharp/lib/constructor.js
strapi      | - /opt/app/node_modules/sharp/lib/index.js
strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      | -<EMAIL_ADDRESS>strapi      |
strapi      | Possible solutions:
strapi      | - Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
strapi      | - Install for the current linuxmusl-x64 runtime: "npm install --platform=linuxmusl --arch=x64 sharp"
strapi      | - Consult the installation documentation: https://sharp.pixelplumbing.com/install
strapi      |     at loadJsFile (/opt/app/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:20:11)
strapi      |     at loadFile (/opt/app/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:37:14)
strapi      |     at Object.loadPlugins (/opt/app/node_modules/@strapi/strapi/lib/core/loaders/plugins/index.js:95:26)
strapi      |     at async Strapi.loadPlugins (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:321:5)
strapi      |     at async Promise.all (index 2)
strapi      |     at async Strapi.register (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:357:5)
strapi      |     at async Strapi.load (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:458:5)
strapi      |     at async Strapi.start (/opt/app/node_modules/@strapi/strapi/lib/Strapi.js:200:9)
strapi      | error Command failed with exit code 1.
strapi      | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

According to the logs your node modules are inside app hence the issue is node_modules part of .dockerignore etc?

Adding node_modules to .dockerignore helped, thanks. Would it be possible to mention it in the README?
Anyway, thanks!

Adding node_modules to .dockerignore helped, thanks. Would it be possible to mention it in the README? Anyway, thanks!

It should be added automatically but will add a warning :)


Add Youtube Nocookie component

Hey @spacecowb0y thanks for the PR, can you give a bit of detail on what this is for please?
My understanding was that the nocookie url was already used in the YouTube component, is this something additional to that?

Hi @spences10 , thank you for your fast reply. As far as I saw the YouTube component use the standard URL when embbeding the video. That's why I implemented a new one pointing to the no-cookie URL.

@spacecowb0y hey. Thanks for the PR. I wonder if exposing a prop to switch the urls might be a better approach than duplicating the component. If the url is the only difference I'd suggest a useNoCookie optional boolean prop then a condition on the IFrame src url. What do you think?

I thought about that too. Let me re-write it and fix the PR.

@spacecowb0y Yep! This looks a lot better! Thanks. I'll merge. I think that failing test has been resolved in another PR.


🐛 Bug Report: gropu resolver of  CodeOwnersProcessor does not work well

📜 Description
I  tried to map CODEOWNERS for the catalog-info owner.
But the group resolver of CodeOnwersProcessor does not work well.

👍 Expected behavior
Group owner should be namespace(github-org)/team if app is integrated with github
👎 Actual Behavior with Screenshots
Raw entity of catalog is like this
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  namespace: default
  annotations:
    ...
  name: codeowners-sample
  description: experimental repository for codeowners
spec:
  type: website
  lifecycle: experimental
  owner: github-team

👟 Reproduction steps

Use github org plugins and does not specified catalog.providers.githubOrg.orgs (or specifild multiple organizations at orgs
CODEOWNERS on github is like this

*       @github-org/github-team

catalog-entity does not have owner and namespace

Then import this catalog-info
📃 Provide the context for the Bug.
my app-config is below.
catalog:
  providers:
    githubOrg:
      id: 'github'
      githubUrl: 'https://github.com'

I did not specify the catalog.providers.githubOrg.orgs, so my githhub team was create in 'github-org' namespace in Backstage.
But CodeOnwersProcessor does not care the organization name, so backstage app tried to find the group in 'default' namespae.

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

Hey @apc-kamezaki,
In this scenario all u need to change is the namespace to the entity. It might be a bit of an unspoken rule as I can't find any docs on it specifically but  your namespace in most cases should align with your github org name like it does in your groups your map from it. So if u update the component entity to be
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  namespace: github-org
  name: codeowners-sample
  description: experimental repository for codeowners
spec:
  type: website
  lifecycle: experimental

The catalog will resolve the group name from the CODEOWNERS file to the group entity in backstage with the namespace from the component entity.
Not 100% sure of the logic around why the CODEOWNER processor doesn't just take in org name from the CODEOWNER group it finds and puts it as an entityRef. Though it might have something to do with the way that the GithubOrg provider works for single orgs specified, resolving to the default namespace. DOCS

@pguppy
Thank you for your comment.
I also thought of a workaround you suggested.
This workaround worked for the case of group. But it does not work for the case of user.
Because GitHub Org plugins create the user in the 'default' (fixed) namespace.
I coundn't find a wokraround that would solve both cases.

To be honest, I think we might want to revisit how both these providers and the codeowners processor work a little bit.
Should there really be namespace separation in the first place? Should the codeowners processor include the a namespace if at all to the final entity? I think there's a bit of incompatibility between them both at the minute.

 The way it functions is a bit iffy (the name / namespace mapping you mention), and the way that it makes requests to the version control system is overly expensive (in terms of slowing down the processing loop and eating  rate limits). In catalog 2.0, whenever that happens, the processor definitely will be torn out of the catalog core.
Id recommend not using it at all, or making a copy of your own that replaces the builtin and functions just like you need it to for your particular org.

As a workaround, I'll try to specify the owner explicitly
And I want to disable the CodeOwnerProcccor feature in case the user forgots to specify the owner.
Is there any way to disable this feature?


Comprehensive New Update Available - Update Your Folder Now

A new update is now available
CardCraftableList.json
CardList.json
ItemID.json
Regulation.json
RegulationIcon.json
RegulationInfo.json
Shop.json
StructureDecks.json
TitleLoop.json
YdkIds.txt
Download the update from zip file.
Extract and copy the contents to your game folder, replacing the old files.
Restart your game to apply the update.
Ensure to backup your game folder before updating. Enjoy the new card data!

If you want to play PvP, please download this folder. https://mega.nz/folder/V211GDRA#6nbt5JtaRDANnEZIuDBGCQ

This is all sorts of broken. Store doesn't work, isn't in the right format. Not even all the new cards.

store.json file doesn't work since it isn't in the correct format


longdesc tab if and only if longdesc attrib not empty

if longdesc attribute longer than 0 then generate a longdesc tab - otherwise don't.
code off the top of my head, cannot test it right now, pushing 'as is'.

Can you rewrite this with an early return instead of indenting everything ?


SimpleXLSXGen.php:326

PHP Warning:  Cannot modify header information - headers already sent by (output started at
I am using SimpleXLSXGen for download file excel but it error
Error : SimpleXLSXGen.php:326
https://prnt.sc/67JDtPviNt0l
https://prnt.sc/K2RalM6jD1nS
Please check this issue
Thanks

https://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php
use exit()


Editor: With an input/output port on a node, give the icon more space.

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Proposed changes
With a port-connector in place icons don't really look centered anymore. Some even touch the port symbol. I have just moved it 2px to the left. Even though the port-connector has a 3px radius, 2px seem enough.
For right-aligned I couldn't find a node with an icon and an output port, so it might not work...
The text is now a little closer to the shade-border, but it looks good enough this way to present to my customer ;)
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[ ] I have run grunt to verify the unit tests pass
They seem to fail, but not because of this change.
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage decreased (-0.05%) to 68.142% when pulling 21ac30b557cb79f5290e172a92cdf5ab70f799c0 on dreamair:feature/more-icon-space into 30ea300f65c7bdb880339601461e4001d4fbc0df on node-red:dev.

/easycla

Sorry for the delay coming back to this. As I fed back on your original PR, when it comes to making visual changes to the editor, a simple screenshot of before/after with this PR would make it so much easier to understand exactly what you are proposing. As it stands, I have to review your code changes, figure out what conditions it applies, recreate that locally and then compare the visual changes.

Sorry, this PR I shouldn't have made in the first place. It's visually only minor and subjective. Also I was just "hacking" the code until it looked like I wanted. There is even more now in my master branch ;) So someone looking into the code having more insight into the design and structure would probably be needed.
Would you like me to close this PR? If you are happy with the node icon spacing, it's all good. My presentation for the customer is over anyway (and I don't think he even noticed the "nicer" spacing ;) .

It is up to you. If you think this PR improves it, then I'd like to take a look to see what improvement it brings. It can be quite hard to spot small pixel changes unless you know exactly where you're meant to be looking. So even just a single screenshot showing a node with an arrow showing where to look would help. Otherwise I'll run your code alongside an existing editor and try to play spot the difference :)

now:

on my master:

there are visually more extreme examples, but with my customer's logo...
Also on my master the whole box also gets bigger. Some of the nodes didn't show a label and there was still more space needed...

What do they look like when in no-label (1x1 mode ?

with a wider box

but only on my master branch (I remember having some difficulties running the dev branch at that time)

Oh no. Don't like that at all :-(

With text a node seems to get about the same width, but no-label ones are wider.
But it's not a big issue, visuals of the icon just sometimes looks too constricted, uncentered, kind of unfinished.
Maybe time is better spent on the other two PRs. I really got used to these added functionality ;)


Update README.md for JuMP documentation

I'm planning to add GAMS.jl README to the JuMP documentation: https://github.com/jump-dev/JuMP.jl/pull/3357
This is how it currently looks: https://jump.dev/JuMP.jl/previews/PR3357/packages/GAMS/.
As part of that, we run a linter to detect typos etc. Here are a couple of problems it found: https://github.com/jump-dev/JuMP.jl/actions/runs/4999444928/jobs/8955840737?pr=3357#step:7:22

Hi, looks great! Thanks for your efforts! Sorry for responding so late, I am currently in parental leave and don't check my mails too often. The only real issue I see is "exlicitly". Do I simply have to update our README and that's it? Or is there something else to consider?

I am currently in parental leave and don't check my mails too often

Congratulations! This isn't urgent.

@odow Sorry, last time I checked my mails and wrote the comment above I didn't realize that you prepared this nice pull request and just looked at the links provided in your first comment. I fixed the README and also updated the list of solvers in it (which was a bit outdated). Thanks a lot for your work!


Automating the test association

Is there any way to automate (script) the association of tests with test cases? With PowerShell I was able to create new test cases in TFS but have not yet found a way to make the association between the TFS test cases and Selenium test written for that purpose.

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

ID: 7d8a7e40-73d6-795f-7b8c-77104ef606e8
Version Independent ID: 8f15995b-bd94-8d9f-1e8b-82f1f364d221
Content: Associate an automated test with a test case
Content Source: docs/test/associate-automated-test-with-test-case.md
Product: devops
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

Thank you for your feedback. I have passed this on to the product team for advice.

Actually you can use the VSTS REST API. Below code works fine for me.
    private void AddTestCaseLinkToVSTSTest(MethodBase methodBase)
    {
        using (HttpClient client = new HttpClient())
        {
            client.DefaultRequestHeaders.Accept.Add(
                new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json-patch+json"));

            client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
                "Basic", this.authString);

            var method = new HttpMethod("PATCH");

            string fullMethodName = methodBase.DeclaringType.FullName + "." + methodBase.Name;

            JArray operationsArray = new JArray();
            this.AddAddFieldToOperationsArray(operationsArray, "add", "/fields/Microsoft.VSTS.TCM.AutomatedTestName", fullMethodName);
            this.AddAddFieldToOperationsArray(operationsArray, "add", "/fields/Microsoft.VSTS.TCM.AutomatedTestStorage", System.Reflection.Assembly.GetExecutingAssembly().GetName().Name + ".dll");
            this.AddAddFieldToOperationsArray(operationsArray, "add", "/fields/Microsoft.VSTS.TCM.AutomatedTestId", Guid.NewGuid().ToString());
            this.AddAddFieldToOperationsArray(operationsArray, "add", "/fields/Microsoft.VSTS.TCM.AutomatedTestType", "Unit Test");
            this.AddAddFieldToOperationsArray(operationsArray, "add", "/fields/Microsoft.VSTS.TCM.AutomationStatus", "Automated");

            JavaScriptSerializer serializer = new JavaScriptSerializer();

            string body = operationsArray.ToString();
            string url = VSTSTestExecutor.GetConfigParam(this.options, "vsts.workItemUpdateUrl", "https://XXXXXX.visualstudio.com/DefaultCollection/_apis/wit/workitems/");
            var request = new HttpRequestMessage(method, $"{url}{this.workitemID}?api-version=1.0")
            {
                Content = new StringContent(body, Encoding.UTF8, "application/json-patch+json")
            };

            HttpResponseMessage response = new HttpResponseMessage();
            response = client.SendAsync(request).Result;

            response.EnsureSuccessStatusCode();
        }
    }

@wurzelkuchen What you have done would work for MSTest framework. The FQN (fullyqualifiedname) implementation today is specific to a test adapter and framework. It varies between NUnit, xUnit and MSTest. Are you looking to automate the association ? Also there's association is not a pre-requisite to run tests in the pipeline.

If we can insert parameters to run different scenarios into a test case, shouldn't it be possible to associate more than one test method to a test case?

I have few questions.
I use TFS and I can not see same Test Explorer screen when I click Test.
I want to Associate a coded UI to my test but I can not see that option when I right click to test.
I connected to a project but dont know which branch fetched, how can I know ?
Shoul I code the coded ui test in same project and main branch ?
Is it possible to associate test to a coded ui test that is in my local ?

@rasimavci - which version of VS are you on? Association is available only through VS, not in the TFS / VSTS web-access.


fs.openFile() not working

Problem description
Calling fs.openFile() function return an error like TypeError: fs.openFile is not a function
Expected behavior
Open the file picker Ui
Environment

Tabris.js version: 3.6.0
Device: Huawei P10 lite
OS: Android 8

Code snippet

const{permission, contentView, Button, fs} = require("tabris");
permission.requestAuthorization('storage')
    .then(status => {
        if (status != 'granted'){
            console.error('No permissions!')
        }
        else {
            new Button({centerX:0, centerY:0, text:"Take an image",background:"blue"})
            .onTap(()=>{
              fs.openFile({type:"image/*"}).then((response)=>{
                 console.log(response);
              });
            }).appendTo(contentView);
        }
    });

@elshadsm , @mpost  have you seen this bug?

have you run npm install to fetch 3.6?

No, I'll do it immediately.

it's works thank you

@mpost  according to the documentation
Once the picker ui is closed the returned promise resolves with an array of File objects or an empty array if no file has been selected

but if i open the picker ui and i close it without taking any file i've this error
Uncaught promise rejection (id: 0) Error: uri
   Error: uri
       at onError (./node_modules/tabris/tabris.min.js:1:151592)

That is because you have to catch the rejected promise.

You're absolutely right, thank you

Hello @mpost  @elshadsm  right now fs.openFile return for example a file like that File { [Symbol(bytes)]: ArrayBuffer { byteLength: 60669 } }
with name equal to the name of the file, how can i get the full path of the file(uri path)?

That is not possible since the file could be eg on a cloud drive.

OK, you're right, but it brings up another problem, which I'm currently facing. I need to work with absolute paths, so every time I fetch a file with fs I have to copy the arraybuffer to a new file to get its absolute path, it quickly becomes problematic because if I have to copy multiple videos, or a large video it crashes the application and duplicates the files.

i found a solution thank you again


fix: blocks actions on inputs for non-interactive and/or non-active i…

…tems/objects
Fixes https://github.com/godot-escoria/escoria-issues/issues/269

Looks good to me now :)


How to use Donut Model encoders as embeddings?

Hi,
First of all amazing work!
I wanted to use pre-trained donut model to generate embeddings for my documents, is there any easy way to do?
or I would need to make some changes in forward function?
Thank you!

Just use the last_hidden_state from inside the inference call of the Donut model inside donut/model.py.  These are the Document Image embeddings from the Swim Transformer encoder.
454        last_hidden_state = self.encoder(image_tensors)
455        if self.device.type != "cuda":
456           last_hidden_state = last_hidden_state.to(torch.float32)

Thanks! used this only


Resolve merge conflicts

Or you can rebase the PR... selecting merge here is probably much faster :wink:


Context menu - show file in file explorer

Add asset browser feature: context menu - show file in file explorer

Fixed in next version 0.0.6.


backup current checks

looks like its been a while since last backup

pls get rid of the monitors that are part of our teams'.

@ShellyXueHan I have applied our team filter on search results this time. Thanks for reminding me.

I delete last comment as well because credential can still be seen there. @ShellyXueHan


Create a new method to move on a specific area?

Hey. Frist of all thank you for this plugin, I'm using it a lot this year to learn about Phaser.
I have a situation where I'd like to move a character, but move it only in a certain area, to do something like:

Do you think you will want to add this to your plugin? Because I know ways to work around it, but maybe if you have this as a feature, my code would be cleaner :grimacing:
Thanks

Hey @blopa, great to hear that you like GridEngine! :)
I am not sure that I understand what you want the method to do.  What would the input parameters of the method be and what should it do exactly?

Hey. Sorry. Let me elaborate.
Let's say we have this situation where I have a character and I want it to go to the X location:

So usually, it would take this path:

But I want to be able to on the fly, set which blocks it is allowed to move on, like this:

So in this case, the path to the marked location would be something like:

So I was thinking to maybe add a custom property to the moveTo method.

Now I understand. I think that would be useful feature for the plugin. I have to think about the best way to enable it.
One idea is to be able to pass a function as an argument to moveTo that specifies whether a certain grid position is allowed for pathfinding or not.

Closed with v2.19.0


fix advancedWordWrap concatenate when wrapping

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Fixes a bug

Describe the changes below:
advancedWordWrap function merges current and next lines when wrapping words
Issue link: https://github.com/photonstorm/phaser/issues/6187

👍


Fix language file to use prefix

Currently ignores the prefix key in the language file. Woops :p

Fixed in 9cbdf078eeb64535ed4a8ba26e1d7268ffb802a5.


Features

its probably would be really helpful!

in Virtualmin when switch between virtual servers it would be cool if support  File Manager,.. Apache Access/Error Logs  that change.
Exp. (which currently when switch virtual domain and on Bandwidth Graph it will change to chosen vhot Bandwidth Graph page)

Disable Auto Zoom input focus on mobile devices when client username in login page or in file editor or any inputs that it page will zoomed.

Add (Bandwidth Usage) in Virtualmin Configuration --> User Interface Setting --> Columns to show

Auto Save "Toggle Soft Wrap" setting when Virtualmin user make on/off or an option make alway off / on

Editor Keyboard Shortcuts with file editor, the replace keys (Ctrl + H) = Replace and  (Ctrl + ⇧ + R) = Replace all.
it should be changed as MacOS it doesn't work..
Command + h (Ctrl + H) = Window Hide the window,
Command + shift + r (Ctrl + ⇧ + R) = homepage url.

Shortcut icon for Edit file in File Manager  btn group top right menu.

@iliajie these sound like good theme / UI suggestions?

Can do.
Although, I didn't understand about bandwidth and short icon?

Hello @iliajie

Columns to show "user bandwidth used"  which is at System Settings -> Virtualmin Configuration --> User Interface setting.
that to shows "bandwidth Usage" in  List Virtual Servers

Short icon for Edit file in  File Manager
when select a file like .html or any editing extension.. it would be great Edit icon appear in top right.

Columns to show "user bandwidth used"  which is at System Settings -> Virtualmin Configuration --> User Interface setting.
that to shows "bandwidth Usage" in  List Virtual Servers

This is Virtualmin feature request. @jcameron Jamie, do you intentionally not adding bandwidth column?

Short icon for Edit file in File Manager when select a file like .html or any editing extension.. it would be great Edit icon appear in top right.

That I won't do. There is F4 (edit) and F3 (view) hotkeys for that already. And context menu (right click) is faster than reaching up .. and file manager don't do it either ..
The rest of the features request will do after Virtualmin 7 release.

Number 1 requested feature was implemented (when switch domains). It adds support for all virtualmin-* modules, for File Manager, and various logs and web services too.

Disable Auto Zoom input focus on mobile devices when client username in login page or in file editor or any inputs that it page will zoomed.

There is no good cross-platform solution for this, sorry. I would suggest to try Chrome on iOS.

Disable Auto Zoom input focus on mobile devices when client username in login page or in file editor or any inputs that it page will zoomed.

There is no good cross-platform solution for this, sorry. I would suggest to try Chrome on iOS.

We usually used to disable Safari from automatically zooming in on fields

We usually used to disable Safari from automatically zooming in on fields
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

Yeah, I know. This however will prevent any zoom on other mobile devices. This is undesirable.

Auto Save "Toggle Soft Wrap" setting when Virtualmin user make on/off or an option make alway off / on

This is already remembered across the browser.

Editor Keyboard Shortcuts with file editor, the replace keys (Ctrl + H) = Replace and  (Ctrl + ⇧ + R) = Replace all.

We use Sublime keymap and thus there is no need to use Ctrl + H.
For replace on Mac you can already use Shift-Cmd-F or Shift-Ctrl-F.

Better support for hotkeys on Mac was implemented!  I really wanted to do it a long time ago but never got down to it.
Finally, it was improved:

All hotkeys are now named properly across interface (titles, tooltips and popovers)
Hotkeys on Mac are flipped as they meant to be for most actions, for example Command + C and Command + V will actually copy/paste files and File Manager and Command + S and Command + Shift + S will save as
Some hotkeys were shortened in file editor/viewer, for example to toggle wrap now is Option + W (Alt + W), file refresh is Option + R or F2, switching between tabs in file manager is ⌘ + arrow left and ⌘ + arrow right (For Linux/Windows users it's Ctrl + arrow left and Ctrl + arrow right)
As bonus added new hotkeys to access module configuration (when possible) by clicking ⌘ + , or accessing theme configuration page by clicking ⌘ + ⇧ + ,
Added hotkeys to navigate inside module config and switch from next to previous config page by clicking ⌘ + arrow left and ⌘ + arrow right.

Give it a try and tell me if you find anything that was left off.
Example:

I consider this ticket as solved. Please open a new ticket at Virtualmin repo about adding Bandwidth Usage column.


New API "checkVolume" to check and repair any leaks or issues reported by qemu-img check

Description
This PR introduces a new API "checkVolume" that allows users or admins to check and repair if any leaks observed. Currently this is supported only for KVM
Doc PR link : https://github.com/apache/cloudstack-documentation/pull/380
There are few cases when VMs shutdown uncleanly, particularly those using qcow2, they can leak clusters. This may sometimes lead to volumes taking up much more space than they are supposed to. When we use qcow2 format to thin provision, and the volume size is pretty close to the actual formatted size, leaked clusters can run us out of space, so we need a way to check/repair.
To address this, we have introduced a new API "checkVolume" API which takes parameters volume id and repair (possible values are leaks/all)
API name: checkVolume
Parameters:

id : volume ID
repair : parameter to repair the volume, leaks or all are the possible values

There is also option to repair the volume during VM start or while attaching the volume to VM. Introduced a new boolean global setting
volume.check.and.repair.leaks.before.use  with a default false.
STEPS TO REPRODUCE:

Create a VM on local storage, or NFS storage.

attach a data disk

run a write benchmark on data disk in guest. e.g.:
    fio --filename=/dev/vdb --direct=1 --rw=randwrite --bsrange=512-4k --ioengine=libaio --iodepth=32 --runtime=120 --numjobs=8 --time_based --group_reporting --name=iops-test-job --norandommap

immediately kill the VM (from host try virsh shutdown or "kill -9" of qemu process

run a check on the underlying qcow2 file, observe "leaks" count

# qemu-img check /var/lib/libvirt/images/26be20c7-b9d0-43f6-a76e-16c70737a0e0 --output=json 2>/dev/null
{
    "image-end-offset":<PHONE_NUMBER>,
    "total-clusters": 163840,
    "check-errors": 0,
    "leaks": 124,
    "allocated-clusters": 98154,
    "filename": "/var/lib/libvirt/images/26be20c7-b9d0-43f6-a76e-16c70737a0e0",
    "format": "qcow2",
    "fragmented-clusters": 96135
}

repair leaks

# qemu-img check /var/lib/libvirt/images/26be20c7-b9d0-43f6-a76e-16c70737a0e0 --output=json -r leaks 2>/dev/null
{
    "image-end-offset":<PHONE_NUMBER>,
    "total-clusters": 163840,
    "check-errors": 0,
    "leaks-fixed": 124,
    "allocated-clusters": 98154,
    "filename": "/var/lib/libvirt/images/26be20c7-b9d0-43f6-a76e-16c70737a0e0",
    "format": "qcow2",
    "fragmented-clusters": 96135
}

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[x] Major
[ ] Minor

Screenshots (if appropriate):
How Has This Been Tested?

(localcloud) 🐱 > check volume id=55937826-2f08-414a-9eef-4c6b7d6fd3b1
{
.
.
"volumecheckresult": {
"allocated-clusters": "110",
"check-errors": "0",
"leaks": 73,
"filename": "/mnt/e72364b6-eab0-369f-af0b-2ec8bed9d8ac/55937826-2f08-414a-9eef-4c6b7d6fd3b1",
"format": "qcow2",
"fragmented-clusters": "32",
"image-end-offset": "7995392",
"total-clusters": "131072"
},
(localcloud) 🐱 > check volume id=55937826-2f08-414a-9eef-4c6b7d6fd3b1 repair=leaks
{
"volumecheckresult": {
"allocated-clusters": "110",
"check-errors": "0",
"leaks": 73,
"filename": "/mnt/e72364b6-eab0-369f-af0b-2ec8bed9d8ac/55937826-2f08-414a-9eef-4c6b7d6fd3b1",
"format": "qcow2",
"fragmented-clusters": "32",
"image-end-offset": "7995392",
"total-clusters": "131072"
},
"volumerepairresult": {
"allocated-clusters": "110",
"check-errors": "0",
"leaks-fixed": 73,
"filename": "/mnt/e72364b6-eab0-369f-af0b-2ec8bed9d8ac/55937826-2f08-414a-9eef-4c6b7d6fd3b1",
"format": "qcow2",
"fragmented-clusters": "32",
"image-end-offset": "7995392",
"total-clusters": "131072"
},
}
How did you try to break this feature and the system with this change?

@blueorangutan package

@blueorangutan package

@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8476

@blueorangutan package

@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8478

@blueorangutan package

@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8487

@harikrishna-patnala I might be missing something, but how will this new API be handled when called in a xen or vmware env? as you state "Currently this is supported only for KVM" I am sure you implemented this somewhere, but all I can find is an implicit error and no graceful message
see https://github.com/apache/cloudstack/pull/8577/files#diff-63d1a7ba0fc6bbd393feffaaf961d192431e8d343280b7cdc8d3817c2d6b7f1cR2801

@harikrishna-patnala I might be missing something, but how will this new API be handled when called in a xen or vmware env? as you state "Currently this is supported only for KVM" I am sure you implemented this somewhere, but all I can find is an implicit error and no graceful message
see https://github.com/apache/cloudstack/pull/8577/files#diff-63d1a7ba0fc6bbd393feffaaf961d192431e8d343280b7cdc8d3817c2d6b7f1cR2801

Kept a check in the validate method @DaanHoogland
https://github.com/shapeblue/cloudstack/blob/353b2f4f0d938f9fab91c42358859a430dcc1c14/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java#L1909-L1911
is this what you are trying to refer ?

Kept a check in the validate method @DaanHoogland https://github.com/shapeblue/cloudstack/blob/353b2f4f0d938f9fab91c42358859a430dcc1c14/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java#L1909-L1911
is this what you are trying to refer ?

yes, thanks @harikrishna-patnala , totaly read over that.

@blueorangutan package

@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8517

@blueorangutan package

@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8586

@blueorangutan package

@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el7 ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 8719

@blueorangutan package

@blueorangutan package

@harikrishna-patnala a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8729

@blueorangutan test

@harikrishna-patnala a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-9314)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46931 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8577-t9314-kvm-centos7.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_condensed_drs_algorithm
Failure
164.54
test_cluster_drs.py

test_02_trigger_shutdown
Failure
336.65
test_safe_shutdown.py

@blueorangutan package

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8738

@JoaoJandre is this ok for you now?
@kiranchavala do you have any qa work for this planned?

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8753

@blueorangutan test

@rohityadavcloud a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-9332)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43396 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8577-t9332-kvm-centos7.zip
Smoke tests completed. 129 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

I just realised after merging the base branch of the PR is 4.19 and not main, is that an issue - should we revert @harikrishna-patnala @DaanHoogland @kiranchavala ?

I just realised after merging the base branch of the PR is 4.19 and not main, is that an issue - should we revert @harikrishna-patnala @DaanHoogland @kiranchavala ?

It is a new API, but no backwards incompatibility and it is also an improvement. Not ideal, but I think it is fine. cc @sureshanaparti @JoaoJandre


Admin SDK UI 1.2.0 docs

Purpose of this pull request
This pull request (PR) adds the documentation for the Admin UI SDK 1.2.0.
Affected pages

...

Links to Magento Open Source code

...

@keharper It might make more sense to link to the describe command, which provides more info about the mesh without printing the configuration. This command also contains the API key (appended to the Mesh Endpoint URL). So you could do the entire process in the CLI. However, the response in the Mesh docs appears to be inaccurate now. I'll update it.
https://developer.adobe.com/graphql-mesh-gateway/gateway/command-reference/#aio-api-meshdescribe


GafferUI : Removed SectionedCompoundPlugValueWidget.

This isn't used anywhere in Gaffer any more, and is completely replaced by LayoutPlugValueWidget. I'm only aware of one other spot it's in use, which is here :
https://github.com/ImageEngine/rendering/blob/5263028f51dfafb44b79bac5bab1bfdcce59c583/python/IEGafferRenderingUI/IERenderPassSettingsUI.py#L997
@danieldresser seemed to think this file was due an overhaul, but also that it might not be totally straightforward. There's no rush on getting this merged, but I wanted to get it up here to keep pushing the UI reforms along.

Just took a look at that IERenderPassSettingsUI file, and I noticed that it also uses CompoundPlugValueWidget - that's the next one for the chop, so it'd be good to stop using that too. LayoutPlugValueWidget and some metadata should be sufficient to replace it entirely - let me know if there are any problems with that. Again, no rush...


:Tappx bidder not shown in bidders list

Hello,
we have seen that we do not appear on the bidders list at https://docs.prebid.org/dev-docs/bidders.html.
We only appear if we add ":tappx" in the search engine.
How can we solve this?
Thank you

The problem is with the colon at the beginning of your company name and the way the page is generated. In the markdown file (https://raw.githubusercontent.com/prebid/prebid.github.io/master/dev-docs/bidders/tappx.md) it's getting confused by this:
title: :tappx
I tried various ways of escaping that character but haven't found one yet that works. If you remove the colon entirely it shows up in the list as "tappx":
title: tappx


fix : Fix redundant location icon vieiwing

Fixes #137

We might be showing previous events, most probably won't happen in the latest events :+1:


Update quickstart.md

no need to fork pwd when you can just pull the ${PWD} env ;-)

i'm wrong. disregard.


Add List Tasks by Category Functionality

Users should be able to list tasks by category (All - Complete - Incomplete)

Hey !
This is my very first time contributing to open source. How exactly should I contribute to this project ? I am new to Open Source , it would be great if you could help.

Glad to hear @codegoggins .
Welcome to the Open-Source Community 🎉
Do you usually code in react ?
And are you familiar with JavaScript ?

Thanks @SauveJeanLuc
I am familiar with JavaScript and have done some basic projects in React. But would love to learn new stuff and implement them.

Wow, That's exciting @codegoggins.
You can take reference to this article  if you are to make your first contribution then.
If you will, you can start with this task for your very first trial.
And I'll be there to assist wherever needed.

@SauveJeanLuc Thanks for the task👍 . Will start implementing the feature .

Great, I'm assigning it to you then 🙂

Can i also take part in this?

@aadi58002 .
Take it, no worries


Added a book recommendation.

I added one book that contains articles on functional programming in 5 languages, including Haskell.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for opening this pull request.
Book recommendations are beyond the scope of the freeCodeCamp Guide, so we've decided to go ahead and remove these book recommendation articles.
I encourage you to review this book in the ratings category of the freeCodeCamp forum. Your recommendation will reach way more people there.
Thanks again recommending this book, and for contributing to the freeCodeCamp Guide.


removing classname before the json structure

Context
This PR remove the classname that had been added in front of json structure in ServiceOutputParser as discusser here : https://github.com/langchain4j/langchain4j/pull/625#discussion_r1540700157
Change
just removing the unwanted classname

@tenpigs267 thanks a lot! I guess we should also make parsing JSON more robust, like extracting json from backticks (if present), removing garbage before/after curly braces, etc

yes removing backticks and unwanted comment around the doc could be a nice enhancement. I mainly use OpenAI and not sure if backticks is a common llm usage. That kind of code should be highly customisable for the library users so that it can adapt to a lot of situations...
From the prompt side we can also increase reliability by adding a JSON output example (OpenAI works well without it but it is a common technique to improve reliability of the output)


Bug-2 in side Navbar

Describe the bug
A clear and concise description of what the bug is.
The Twitter button on the side navbar is not redirecting us to the Twitter signup page.
To Reproduce
Steps to reproduce the behavior:
1.
2.
3.
4.
Expected behavior
A clear and concise description of what you expected to happen.
It should redirect us to the Twitter signup page.
Logs
If applicable, add logs to help explain your problem (e.g. the error message and/or exception traceback).
Environment (please complete the following information):

OS:
Browser:

Additional context
Add any other context about the problem here.

Hi @Vishal-raj-1, Please assign this to me. I would like to work on this.

Can i work on this @Ankita297

@Ayonijakaushik19 & @Atif0604 anyone can work on this issue

yeah sure @Vishal-raj-1
please give your twitter handle @Vishal-raj-1

Twitter handle : https://twitter.com/vishalraj_1


project status

hi @bruce-szalwinski ,
Project seems great to me, and I was planning to use it, but the repo seems abandoned.
Is it actively used or you would recommend iskng mkdocs-click on top of click object that can be taken from Typer?

I'm actively using mkdocs-typer.  Just haven't needed to add any features to it, thus the lack of activity.

Is there any chance to add colors to the output ?  Currently all generated output is plain text.


Use serde_dynamo for dynamodb::Event items

Use serde_dynamo::Item instead of HashMap<String, AttributeValue> to represent the keys, old_image, and new_image in a dynamodb::Event.
This consolidates the Rust/DynamoDB ecosystem around fewer representations of DynamoDB items.
Note that serde_dynamo::AttributeValue and
aws_lambda_events::dynamodb::attributes::AttributeValue are slightly different (especially with regards to the Number enumeration) so this is a breaking change that would either need to go behind a feature flag or a major version bump.

I feel like this might be of interest to the wider community because

I see lots of instances in GitHub search of dynamodb::Event and serde_dynamo used together already, and
Like using serde_json, this helps prompt users to convert to a typed representation of their entity earlier.

I'm curious whether you think this is useful for aws-lambda-events and the wider Rust+AWS ecosystem.

can you add some additional tests?

Absolutely! What sorts of tests would you like to see? Parsing from DynamoDB's JSON format to serde_dynamo::Item/serde_dynamo::AttributeValue is well tested in serde_dynamo itself, but I can certainly reproduce some of those here, too.
Or are there other aspects that would help increase confidence that this will work?

I just added the existing AttributeValue tests back in and confirmed they pass.


[OpenAI-Assistant] Make Assistant works for Non Azure OpenAI endpoint

Making Assistant package work for Non-Azure OpenAI endpoint.
Starting with a few samples, test will be implemented in another PR.
TODO: some APIs turns to be a non-public API with latest generated. Need to investigate and fix it.

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-ai-openai-assistants


update ex_plasma to the latest version

Overview
Currently, elixir-omg uses not the latest version of ex_plasma
Changes
Describe your changes and implementation choices. More details make PRs easier to review.

update ex_plasma to the latest version

Coverage decreased (-20.6%) to 57.627% when pulling 163d9c3ed5298ae2e6137f69105d014f7d4d2bcb on ayrat555/update-ex-plasma-to-the-latest-version into a486853e8e5b10b894c5e59109de7871c6b188d4 on master.


Check for existence of screen global

Changes Proposed:
Check for existence of screen global before accessing it
Fixes:
Fixes #322
Checklist:

[x] Tested on the following platforms: node 8.4.0
[x] I've read CONTRIBUTING.md
[ ] signed the CLA (how?)
[x] This PR does not contain built changes in dist/\* (required)
[x] This PR only contains one commit (required)

How does this work without screen, what is the expected behavior? I don't know much about ember-cli either. Could you open this PR up in cardboard-vr-display, rather than modify the build artifact? screen is used in PoseSensor as well as base, but depending on what the goals are here, maybe there's a solution that'd handle it in both cases.
Closing this, but will follow along in cardboard-vr-display; thanks!

This has landed?


can we add a search bar for our room messages

we can use a package vue-text-highlight for this

It's not that simple as there is probably backend pagination to load messages, so we also need to add a way to trigger pagination programmatically when searching messages.
This is a good idea, but not easy to implement.

It's not that simple as there is probably backend pagination to load messages, so we also need to add a way to trigger pagination programmatically when searching messages. This is a good idea, but not easy to implement.

How about we implement the Agonia plugin in firebase to do the search?


how to get

train_crops.txt   # created by script
I do not know by which script

create_crops.py

Thanks for your timely reply, thanks so much


npm-publish: Prefix script w/ github.action_path

actions/checkout clones the calling repo not vip-actions. However, our publish script is located in a separate location and this can lead to a line 1: ./bin/publish.sh: No such file or directory error.
We switch to use ${{ github.action_path }} to reference the location and avoid the error.
See https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsrun
The alternate approach is to download the script and execute (e.g. https://stackoverflow.com/a/72144907)

Confirmed in a test repo that this works.


Make Klockwork Happy Again : Dynamic to Static pointer_casts (ngraph/src/pass, part 1)

@Krovatkin There were two similar-looking places where we still need dynamic_pointer_cast, but your last push only fixed one of them. See the other comment above on like_replacement.cpp.


test and eval data shouldn't be used in data_initialization

The data initialization of eval and test data is only used to give a convenient evaluation. It will not affect the system performance.


[2.0] Remove the dependency on Zend Diactoros

Zend is now officially the Laminas project and we have to redo the dependency. This will be addressed in the next major release. Currently, we are thinking about removing Zend dependency entirely and replace it with https://github.com/Nyholm/psr7.
Note, you will experience BC break if you use Zend dependencies indirectly.

Agreed

I'm trying to pick the best approach currently. Either do it in 2.0 (will take a while) or 1.6.0. Later will cause issues for the users who use Zend indirectly... won't affect frameworks and bridges.

Maybe it's better yo just copy one of the solutions and just embed it to our repo? We will kill a lot of conflicts problems with that...

It won’t solve the problem for people with indirect decencies unfortunately. Ideally I would like to remove PSR-7 implementation from this repository completely and depend on the standard only.

It won’t solve the problem for people with indirect decencies unfortunately. Ideally I would like to remove PSR-7 implementation from this repository completely and depend on the standard only.

Can you name an example of the situation? If we copy code and change namespace to ours - no conflicts will occur.

See the example at README.md, it will stop working after removing zend dependency. :(

See the example at README.md, it will stop working after removing zend dependency. :(

Well, just release a new version and mention that it has a BC breaker. Or tell that you can manually add zend library to your deps if you want to stay with them.

IMHO, do it in 2.0

public function __construct(
    Worker $worker,
    ServerRequestFactoryInterface $requestFactory = null,
    StreamFactoryInterface $streamFactory = null,
    UploadedFileFactoryInterface $uploadsFactory = null
);

why? why don’t you give me the right to install any others PSR-7 implementations?
public function __construct(
    Worker $worker,
    ServerRequestFactoryInterface $requestFactory,
    StreamFactoryInterface $streamFactory,
    UploadedFileFactoryInterface $uploadsFactory
);

why not? i don't use no zend/diactoros no nyholm/psr7.
please let us decide for ourselves which PSR-7 implementations to use.

It won’t solve the problem for people with indirect decencies unfortunately. Ideally I would like to remove PSR-7 implementation from this repository completely and depend on the standard only.

please listen to yourself, you say the right thing!

It won’t solve the problem for people with indirect decencies unfortunately. Ideally I would like to remove PSR-7 implementation from this repository completely and depend on the standard only.

please listen to yourself, you say the right thing!

Well, you still can do your own implementation using just RAW client.

It won’t solve the problem for people with indirect decencies unfortunately. Ideally I would like to remove PSR-7 implementation from this repository completely and depend on the standard only.

please listen to yourself, you say the right thing!

Well, you still can do your own implementation using just RAW client.

I understand all this. I'm against it:
https://github.com/spiral/roadrunner/blob/4016bdf2d53faca43408dd28b0809a45d508d338/composer.json#L22

RR won’t include any concrete PSR-7 implementation in 2.0. This question is more about 1.*

RR won’t include any concrete PSR-7 implementation in 2.0. This question is more about 1.*

https://github.com/middlewares/utils
https://github.com/middlewares/utils/blob/master/src/FactoryDiscovery.php
this implementation could help... at least 5 other implementations are listed there.

The best way forward here to me seems to be to require psr/http-message-implementation, which is a virtual package.
It's a way for packages to declare they support this and a bunch of them do (including Zend and Nyholm). This means the developer would be free to wire any implementation they see fit.

laminas/laminas-diactoros is used instead of zend dictators


Add publishing a bundle via API over Gradle.

This adds the capability to publish a bundle using the API directly
rather than depending on a gradle task.

This is still tracking the playExperiement branch so we can merge this into the main branch all at once

@PEConn & @andreban - Do you both want to give it a once over again?


Create lposd.txt

@DeathShadow8123 First stage of verification passed, official domain is lposd.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@DeathShadow8123 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


DebugAdapterExecutable does not support passing shell: true so .bat-based debug adapters are broken in current Insiders

In current Insiders (and presumably the upcoming release), spawning a .bat file on Windows without shell: true fails due to a breaking change in NodeJS:
https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2

It is important to note that there has been a breaking change for Windows users who utilize child_process.spawn and child_process.spawnSync. Node.js will now error with EINVAL if a .bat or .cmd file is passed to child_process.spawn and child_process.spawnSync without the shell option set.

It appears that there's no way to signal this to DebugAdapterExecutable and therefore any .bat-based debug adapters launched this way fail in current Insiders (and will presumably fail in stable soon).
Could shell: bool? be added to DebugAdapterExecutableOptions? I don't know enough to contribute this, but this seems quite important.

I started trying to fix this here:
https://github.com/DanTup/vscode/commit/750a66d8f62a59fb027ea487c2484f0d749c63e2
However I'm unable to get VS Code compiling locally, it spews lots of errors that don't make much sense to me:
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/.vscode/extensions/vscode-selfhost-test-provider/src/importGraph.ts(8,26): Cannot find module 'cockatiel' or its corresponding type declarations.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/css-language-features/client/src/browser/cssClientMain.ts(22,40): Type 'Worker' has no properties in common with type 'LanguageClientOptions'.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/html-language-features/client/src/browser/htmlClientMain.ts(21,40): Type 'Worker' has no properties in common with type 'LanguageClientOptions'.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/git/src/encoding.ts(83,83): Argument of type '{ detectEncodings: string[]; } | undefined' is not assignable to parameter of type '{ minimumThreshold: number; } | undefined'.
[watch-extensions]   Object literal may only specify known properties, and 'detectEncodings' does not exist in type '{ minimumThreshold: number; }'.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/json-language-features/client/src/browser/jsonClientMain.ts(21,40): Type 'Worker' has no properties in common with type 'LanguageClientOptions'.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/vscode-api-tests/src/singlefolder-tests/proxy.test.ts(9,21): Cannot find module 'node-forge' or its corresponding type declarations.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/vscode-api-tests/src/singlefolder-tests/proxy.test.ts(13,45): Cannot find module 'straightforward' or its corresponding type declarations.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/vscode-api-tests/src/singlefolder-tests/proxy.test.ts(88,27): Parameter 'context' implicitly has an 'any' type.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/vscode-api-tests/src/singlefolder-tests/proxy.test.ts(88,36): Parameter 'next' implicitly has an 'any' type.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/vscode-api-tests/src/singlefolder-tests/proxy.test.ts(94,23): Binding element 'clientSocket' implicitly has an 'any' type.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/typescript-language-features/src/languageFeatures/fileConfigurationManager.ts(194,4): Object literal may only specify known properties, and 'preferTypeOnlyAutoImports' does not exist in type 'UserPreferences'.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/typescript-language-features/src/typescriptService.ts(79,20): 'ts.server.protocol' has no exported member named 'MapCodeRequestArgs'. Did you mean 'CodeFixRequestArgs'?
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/typescript-language-features/src/typescriptService.ts(79,46): 'ts.server.protocol' has no exported member named 'MapCodeResponse'. Did you mean 'CodeFixResponse'?
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/typescript-language-features/src/typescriptService.ts(80,26): Namespace 'ts.server.protocol' has no exported member 'GetPasteEditsRequestArgs'.
[watch-extensions] [14:54:13] Error: C:/Dev/Microsoft/vscode/extensions/typescript-language-features/src/typescriptService.ts(80,58): Namespace 'ts.server.protocol' has no exported member 'GetPasteEditsResponse'.

I'm happy for someone else to fix this if it's faster :-)

I managed to solve my build errors (I was missing spectre-mitigated libraries from the VS installer), however I'm still unable to run from sources - it claims a file doesn't exist that definitely does:

I have a fix in a PR at https://github.com/microsoft/vscode/pull/224204
Although because I sneakily have a space in the path to my DA, I also noticed that enabling shell: true also changes behaviour, and the path to the executable will need quoting/escaping. I've called this out on the doc for shell because it's something extension authors will need to consider when switching to use this.

@roblourens I noticed you assigned this to the August milestone - does this mean that the next stable will ship without a fix for this? It breaks debug adapters that use .bat like Flutter, which will affect a considerable number of users.

Well, I can't take the PR for the next Stable because it adds extension API and we can't add that two days before we release. I'll take a look at this.
Maybe you could wrap your .bat in a node script where you can call spawn yourself, and vscode can run the node script?

Please see https://github.com/gitkraken/vscode-gitlens/issues/3387 for guidance -- that was the issue template we automated posting on on extensions that contained bat files.
This is not really related to DAP. DAP does not know anything about the runtime that debug adapters are executed in.

@roblourens

Well, I can't take the PR for the next Stable because it adds extension API and we can't add that two days before we release. I'll take a look at this.

The Flutter extension has almost 9m installs and this issue breaks starting debug sessions for all of them on Windows. Surely if a critical issue like this is discovered right before a release, some solution should be looked at? The change could be made without an API change by having VS Code just check for .bat on the end of the DA executable, but I'm not sure if that's a better fix.

Maybe you could wrap your .bat in a node script where you can call spawn yourself, and vscode can run the node script? You just have to connect the stdin and stdout pipes.

This might work, but I suspect there are edge cases (like handling termination of additional processes) that IMO make this a riskier fix to ship the day before a release than adding shell: true.
@connor4312

Please see https://github.com/gitkraken/vscode-gitlens/issues/3387 for guidance

Dart-Code never got this template. If I did, I could've sent the PR weeks ago :-(
But I think you have misunderstood the issue. I am familiar with the breaking change - this is a process being spawned by VS Code, not the extension. All my extension code has always used shell: true where necessary, but this is code where we provide the executable and args to VS Code and it spawns the process - it does not use (and gives us no ability to pass) shell: true. Please see my linked PR which fixes the issue.

I just discussed this with Connor, and we agree that this is different than the other issues. We can likely check for a DebugAdapterExecutable command that ends in .bat and set the shell flag ourselves (and escape spaces). We can do that on vscode's end without new API. And maybe can get that in before the next stable release. I will try that out today.

/closedBy 3bb1578


error: Can't convert 'bytes' object to str implicitly

I am porting my script from python27 to python33.
When I run the code pdf = PdfFileReader(open('xxxx.pdf', 'rb')), the error message appears:
Traceback (most recent call last):
File ..., in <module>raw_content = pdf.getPage(0).extractText()
File "C:\Python33\lib\site-packages\PyPDF2\pdf.py", line 1718, in extract Textcontent = ContentStream(content, self.pdf)
File "C:\Python33\lib\site-packages\PyPDF2\pdf.py", line 1797, in __init__data += s.getObject().getData()
TypeError: Can't convert 'bytes' object to str implicitly

On the other hand, I cannot open the file with
pdf = PdfFileReader(open('xxxx.pdf', 'r'))

otherwise, it comes the following messages:
io.UnsupportedOperation: can't do nonzero end-relative seeks

What's going wrong?

Same problem, you need to open your file as pdf = PdfFileReader(open('xxxx.pdf', 'rb')) but then you might have byte to string issues too.

same problem


Issue with response data while reading scriptElement.src after loading with Yett

Hello Team, Cheers to all the contributors for making this simple and powerful library. We have recently implemented this library to our website for GDPR compliance across the globe.
After integrating we have found one particular issue with Google IMA SDK Library.

After debugging I found that the IMA SDK script internally validates how the script has been loaded. Basically they iterate over all script elements present and read their src property and compare with actual script URL using Regex.
With Yett Script

As you can see script.src returns //imasdk.googleapis.com/js/sdkloader/ima3.js which we have passed while loading.
Without Yett Script

As you can see script.src returns https://imasdk.googleapis.com/js/sdkloader/ima3.js with the protocol.
It seems that monkey.js src get method is not working as expected. So for testing, I have forked the repo and modified to use originalDescriptors approach(which I found from your git history).
You can see the working branch code at https://github.com/dhruvppatel/yett/tree/fix/get-src
For testing, you can add the following snippet in doc index.html below dynamic.js script loading code and verify.
        (function() {
            var script = document.createElement('script')
            script.src = '//imasdk.googleapis.com/js/sdkloader/ima3.js'
            document.head.appendChild(script)
            setTimeout(function() {
                console.log(script.src);
            }, 1000);
        })();

@elbywan let me know your thoughts on this issue.

Hi @dhruvppatel,

@elbywan let me know your thoughts on this issue.

You're absolutely right, the behaviour from the originalDescriptors src getter is slightly different than just calling script.src for urls starting with //. Thanks a bunch for reporting this 👍 !
I restored the old way of doing things and published version 0.1.12 of the package with the fix 📦.

Superb!! Thanks for the update.


Set output.charset to false if experiments.futureDefaults is set

Feature request

What is the expected behavior?
What is motivation or use case for adding/changing the behavior?
How should this be implemented in your opinion?
Are you willing to work on this yourself?
yes

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.


Windows support

This is a WIP, trying to build the code and run the tests on Windows, using the MSVC compiler since that's the one Python requires.

Closing for now, we can re-open when we have time for it.


prepare  pretrain datasets

Great work!
I've been trying to reproduce this work.
If I want to pretrain a model on the Coco Caption dataset, how do I prepare the Coco Caption datasets format? What's image_tsv_file and text_tsv_file? How do I convert Coco Caption datasets into them?

Hi @lattens, the inputs are simply image pixels and sentence strings. I'd suggest you write the data loading part for your own usage. The tsv files we used are special internal format.


Sure, but this one was new! 😆


feat(atomic): exposes numberOfFoldedResults

https://coveord.atlassian.net/browse/KIT-2985

SHould prolly do some e2e

Were there any customer requests to expose this property in Atomic?

Yep 👍


Proto requirements fix

Pogoapi dev branch is updated to 0.53 and has PRT8 support now.  So this PR is to switch to the branch plus docs/scripts change.
Closes #5868

Please let us/me know, if we can PR to master branch :-)

Looks fine to me, any objections?

thank you @BreezeRo , but......   There is a rule that PR should be done againt DEV branch.
I've created this PR as merge to Master, realized the mistake and changed it to merge to Dev.
But couple of  previous PRs were merged to Master directly ,... :-)
So, at this moment , dev is  1 commit ahead and 4commits behind master.... :-)


Fixed bug in substract

I fixed a little bug in the subtract function :-) now all the tests should pass

closes #1


[Feature Request ] Donation link to support the Jellyseerr project's further development

Description
I'm loving the work you all are doing, and I'd like to be able to support the project directly.
Desired Behavior
A donation URL within the github would be great!
Additional Context
No response
Code of Conduct

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

There is a donation link in the dockerhub. I probably should add it to github as well 🤔


Team Ekatra-Challenge 4 - Submission

Team: Ekatra
Challenge 4
Repository: https://github.com/ekatraone/Ekatra-QnA-System

No, I have deleted the old file and created a new one as per the naming convention.
https://github.com/ekatraone/.github/blob/main/Ekatra-Challenge-4.md


Sb 11532 multi index changes

Codecov Report

Merging #444 into release-1.15 will increase coverage by 0.19%.
The diff coverage is 0%.

@@                Coverage Diff                 @@
##             release-1.15     #444      +/-   ##
==================================================
+ Coverage           35.74%   35.94%   +0.19%
  Complexity            684      684
==================================================
  Files                 110      110
  Lines                7668     7626      -42
  Branches              874      859      -15
==================================================
  Hits                 2741     2741
+ Misses               4630     4588      -42
  Partials              297      297

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/org/sunbird/common/ElasticSearchUtil.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


fixed run_context issue

Fixes #38
The slack_handler was broken here. run_context needs to be called on Chef.
I've tested this myself and it fixes issue #38.

This reverts https://github.com/rackspace-cookbooks/chef-slack_handler/commit/81cb4459394a98e39b7428eaa0660503e6861c0b#diff-a958532b6fb029dca72a349ce64335ecR53
@glensc Can you comment as well?

Also, I think this probably breaks support for older versions of Chef (Chef.run_context is relatively new), which were the exact versions that were seeing the bug. So this is probably unlikely to fix this for anyone who's currently having a problem, right?

it's lame just to revert previous fix. why not check for compatibility:
if object.respond_to?(:method) ...

Will this be merged soon?

@jazaval waiting for the original author to reply to a few questions; this PR reverts other fixes.

Fixed via #52


3-finger and 4-finger gestures don't work on 404s

If I end up on a 404 page, the gestures stop working.

Hi @ptarjan,
This is a known issue and is related to https://github.com/phonegap/phonegap-app-developer/issues/94. Basically, the gesture js files which are sent from the server to the phone won't be sent in the case of a 404. Right now, there is no fix other than reseting the app (ie, quit and re-open).
We're currently working on a new method of serving the files (https://github.com/phonegap/phonegap-plugin-contentsync/) to the app so that approach could fix this problem but won't be out for a bit. We will let you know once we have a fix!

@timkim why can't you just poll in case of 404 ?

this is a challenging issue.
In the near future we are re-architecting to address a whole category of issues, including this one.


Add helper function to list schema ids

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


CASSANDRA-18662: Fix cassandra-analytics-core-example

This commit fixes the SampleCassandraJob available under the cassandra-analytics-core-example subproject.

Closed via https://github.com/apache/cassandra-analytics/commit/69766bca399cc779e0f2f8e859e39f7e29a17b7a


feat(subscription): skip permission requests for another CDN

This improves the workaround for Firefox on Android to support GitLab
and BitBucket.
Services considered:

https://raw.githack.com/

supports GitHub, GitLab, BitBucket and SourceHut
uses multiple domains (rawcdn.githack.com, glcdn.githack.com, bbcdn.githack.com)
apparently SourceHut support is broken (cannot parse URL)

https://rawgit.org/

supports GitHub, GitLab and BitBucket
uses multiple domains (ghcdn.rawgit.org, glcdn.rawgit.org, bbcdn.rawgit.org)
apparently GitLab and BitBucket support are broken (404)

https://statically.io/

suuports GitHub, GitLab and BitBucket
uses single domain (cdn.statically.io)

I pick the last one to make PERMISSION_PASSLIST shorter.
See #117

@yan12125
You don't need to keep PERMISSION_PASSLIST very short. I don't think hundreds or thousands of URL patterns will cause a performance problem.
Do you add the other 2 services?

I don't think hundreds or thousands of URL patterns will cause a performance problem.

Yep. My reason for a shorter list is readability instead of performance. As an extreme example, if the list grows to contain hundreds of patterns one day, this file will be messy.

Do you add the other 2 services?

Nope. One service is good enough :)

Got it. Merged.

Thanks!


Add follow sym link and option to append template to existing .bashrc

As per Issue #621 I added an option to let the user to keep his .bashrc and just append the general template of bashrc at the end. Also, in the normal flow I simply add the cp -aL options as suggested by @naught101 to let the installation process follow symlink in case .bashrc is one of them. First pull request for me here so, I hope it's all ok. In other case, please be patient :)

I've added a couple of comments.
Please leave a comment here once you have had a look and fixed them.

Thanks for the comments. I'm gonna fix these hopefully today.

Hi, I made all the changes you suggested. Hope it's all going well, now. Thanks again.

Cool - thanks for the note - I'll take a look now.

Thanks again for the changes. I gave this a try now and have noticed two issues - see my new comments.
Let's fix these and then we should be good (after another final test) :smile:

Ok, I'll do the changes asap

Should be done. Test it and tell if there's something wrong. :)  Thanks again

Great - works fine now. Thanks for the hard work on this - and sorry for the back and forth...
Looking forward to further contributions from you!