netlify deployment error

After clicking the button to deploy in netlify, configure the URL of my backend and deploy, I get this error during the build

@Holvert-P Could you please share the error that you are receiving? 🙂

this is the error i get
12:07:53 PM: Build ready to start
12:07:58 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
12:07:58 PM: build-image tag: v4.10.1
12:07:58 PM: buildbot version: 67e75f1ba713a8213d4b5a8ccf9708af751e2390
12:07:58 PM: Fetching cached dependencies
12:07:58 PM: Failed to fetch cache, continuing with build
12:07:58 PM: Starting to prepare the repo for build
12:07:58 PM: No cached dependencies found. Cloning fresh repo
12:07:58 PM: git clone https://github.com/medusajs/nextjs-starter-medusa
12:07:59 PM: Preparing Git Reference refs/heads/main
12:07:59 PM: Parsing package.json dependencies
12:08:00 PM: Starting build script
12:08:00 PM: Installing dependencies
12:08:00 PM: Python version set to 2.7
12:08:00 PM: Downloading and installing node v16.17.0...
12:08:01 PM: Downloading https://nodejs.org/dist/v16.17.0/node-v16.17.0-linux-x64.tar.xz...
12:08:01 PM: Computing checksum with sha256sum
12:08:01 PM: Checksums matched!
12:08:03 PM: Now using node v16.17.0 (npm v8.15.0)
12:08:03 PM: Started restoring cached build plugins
12:08:03 PM: Finished restoring cached build plugins
12:08:03 PM: Attempting ruby version 2.7.2, read from environment
12:08:04 PM: Using ruby version 2.7.2
12:08:04 PM: Using PHP version 8.0
12:08:04 PM: Started restoring cached yarn cache
12:08:04 PM: Finished restoring cached yarn cache
12:08:04 PM: No yarn workspaces detected
12:08:04 PM: Started restoring cached node modules
12:08:04 PM: Finished restoring cached node modules
12:08:04 PM: Installing NPM modules using Yarn version 1.22.10
12:08:05 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
12:08:05 PM: npm WARN config location in the cache, and they are managed by
12:08:05 PM: npm WARN config     cacache.
12:08:05 PM: yarn install v1.22.10
12:08:05 PM: [1/4] Resolving packages...
12:08:05 PM: [2/4] Fetching packages...
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
12:08:20 PM: info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
12:08:20 PM: info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
12:08:20 PM: [3/4] Linking dependencies...
12:08:20 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>12:08:20 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>12:08:20 PM: warning "@medusajs/medusa ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>12:08:20 PM: warning " ><EMAIL_ADDRESS>has unmet peer dependency "algoliasearch@>= 3.1 < 5".
12:08:20 PM: warning "react-instantsearch-hooks-web ><EMAIL_ADDRESS>has unmet peer dependency "algoliasearch@>= 3.1 < 5".
12:08:20 PM: warning "react-instantsearch-hooks-web ><EMAIL_ADDRESS>has unmet peer dependency "algoliasearch@>= 3.1 < 5".
12:08:20 PM: warning "react-instantsearch-hooks-web > instantsearch.js ><EMAIL_ADDRESS>has unmet peer dependency "algoliasearch@>= 3.1 < 5".
12:08:27 PM: [4/4] Building fresh packages...
12:08:37 PM: Done in 32.21s.
12:08:37 PM: NPM modules installed using Yarn
12:08:37 PM: Started restoring cached go cache
12:08:37 PM: Finished restoring cached go cache
12:08:37 PM: Installing Go version 1.17 (requested 1.17)
12:08:41 PM: unset GOOS;
12:08:41 PM: unset GOARCH;
12:08:41 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64';
12:08:41 PM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}";
12:08:41 PM: go version >&2;
12:08:41 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env"
12:08:41 PM: go version go1.17 linux/amd64
12:08:41 PM: Installing missing commands
12:08:41 PM: Verify run directory
12:08:42 PM:
12:08:42 PM: ────────────────────────────────────────────────────────────────
12:08:42 PM:   Netlify Build
12:08:42 PM: ────────────────────────────────────────────────────────────────
12:08:42 PM:
12:08:42 PM: ❯ Version
12:08:42 PM:   @netlify/build 27.16.1
12:08:42 PM:
12:08:42 PM: ❯ Flags
12:08:42 PM:   baseRelDir: true
12:08:42 PM:   buildId: 63163af97f1ade24376d8368
12:08:42 PM:   deployId: 63163af97f1ade24376d836a
12:08:42 PM:
12:08:42 PM: ❯ Current directory
12:08:42 PM:   /opt/build/repo
12:08:42 PM:
12:08:42 PM: ❯ Config file
12:08:42 PM:   /opt/build/repo/netlify.toml
12:08:42 PM:
12:08:42 PM: ❯ Context
12:08:42 PM:   production
12:08:43 PM:
12:08:43 PM: ❯ Installing plugins
12:08:43 PM:    -<EMAIL_ADDRESS>12:08:49 PM:
12:08:49 PM: ❯ Loading plugins
12:08:49 PM:    -<EMAIL_ADDRESS>from Netlify app
12:08:50 PM:
12:08:50 PM: ────────────────────────────────────────────────────────────────
12:08:50 PM:   1. @netlify/plugin-nextjs (onPreBuild event)
12:08:50 PM: ────────────────────────────────────────────────────────────────
12:08:50 PM:
12:08:50 PM: No Next.js cache to restore.
12:08:50 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
12:08:50 PM:
12:08:50 PM: (@netlify/plugin-nextjs onPreBuild completed in 18ms)
12:08:50 PM:
12:08:50 PM: ────────────────────────────────────────────────────────────────
12:08:50 PM:   2. Build command from Netlify app
12:08:50 PM: ────────────────────────────────────────────────────────────────
12:08:50 PM:
12:08:50 PM: $ yarn build
12:08:50 PM: yarn run v1.22.10
12:08:51 PM: $ next build
12:08:51 PM: next.config.js {
12:08:51 PM:   "reactStrictMode": true,
12:08:51 PM:   "images": {
12:08:51 PM:     "domains": [
12:08:51 PM:       "medusa-public-images.s3.eu-west-1.amazonaws.com",
12:08:51 PM:       "localhost"
12:08:51 PM:     ]
12:08:51 PM:   },
12:08:51 PM:   "env": {}
12:08:51 PM: }
12:08:51 PM: warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
12:08:51 PM: info  - Linting and checking validity of types...
12:08:59 PM: info  - Creating an optimized production build...
12:09:06 PM: Browserslist: caniuse-lite is outdated. Please run:
12:09:06 PM:   npx browserslist@latest --update-db
12:09:06 PM:   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
12:09:18 PM: info  - Compiled successfully
12:09:18 PM: info  - Collecting page data...
12:10:24 PM: warn  - Restarted collecting page data for /collections/[id] because it took more than 60 seconds
12:10:24 PM: warn  - See more info here https://nextjs.org/docs/messages/static-page-generation-timeout
12:10:24 PM: warn  - Restarted collecting page data for /products/[handle] because it took more than 60 seconds
12:11:25 PM: > Build error occurred
12:11:25 PM: Error: Collecting page data for /collections/[id] is still timing out after 2 attempts. See more info here https://nextjs.org/docs/messages/page-data-collection-timeout
12:11:25 PM:     at onRestart (/opt/build/repo/node_modules/next/dist/build/index.js:553:35)
12:11:25 PM:     at Worker.isPageStatic (/opt/build/repo/node_modules/next/dist/lib/worker.js:48:40)
12:11:25 PM:     at processTicksAndRejections (node:internal/process/task_queues:96:5)
12:11:25 PM:     at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
12:11:25 PM:     at async /opt/build/repo/node_modules/next/dist/build/index.js:625:52
12:11:25 PM:     at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
12:11:25 PM:     at async Promise.all (index 11)
12:11:25 PM:     at async /opt/build/repo/node_modules/next/dist/build/index.js:599:17
12:11:25 PM:     at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
12:11:25 PM:     at async /opt/build/repo/node_modules/next/dist/build/index.js:577:170
12:11:25 PM: error Command failed with exit code 1.
12:11:25 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
12:11:25 PM:
12:11:25 PM: ────────────────────────────────────────────────────────────────
12:11:25 PM:   "build.command" failed
12:11:25 PM: ────────────────────────────────────────────────────────────────
12:11:25 PM:
12:11:25 PM:   Error message
12:11:25 PM:   Command failed with exit code 1: yarn build
12:11:25 PM:
12:11:25 PM:   Error location
12:11:25 PM:   In Build command from Netlify app:
12:11:25 PM:   yarn build
12:11:25 PM:
12:11:25 PM:   Resolved config
12:11:25 PM:   build:
12:11:25 PM:     command: yarn build
12:11:25 PM:     commandOrigin: ui
12:11:25 PM:     environment:
12:11:25 PM:       - NEXT_PUBLIC_MEDUSA_BACKEND_URL
12:11:25 PM:       - NEXT_PRIVATE_TARGET
12:11:25 PM:     publish: /opt/build/repo/.next
12:11:25 PM:     publishOrigin: ui
12:11:25 PM:   plugins:
12:11:25 PM:     - inputs: {}
12:11:25 PM:       origin: ui
12:11:25 PM:       package: '@netlify/plugin-nextjs'
12:11:26 PM: Caching artifacts
12:11:26 PM: Started saving node modules
12:11:26 PM: Finished saving node modules
12:11:26 PM: Started saving build plugins
12:11:26 PM: Finished saving build plugins
12:11:26 PM: Started saving yarn cache
12:11:31 PM: Finished saving yarn cache
12:11:31 PM: Started saving pip cache
12:11:31 PM: Finished saving pip cache
12:11:31 PM: Started saving emacs cask dependencies
12:11:31 PM: Finished saving emacs cask dependencies
12:11:31 PM: Started saving maven dependencies
12:11:31 PM: Finished saving maven dependencies
12:11:31 PM: Started saving boot dependencies
12:11:31 PM: Finished saving boot dependencies
12:11:31 PM: Started saving rust rustup cache
12:11:31 PM: Finished saving rust rustup cache
12:11:31 PM: Started saving go dependencies
12:11:31 PM: Finished saving go dependencies
12:11:33 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:11:33 PM: Creating deploy upload records
12:11:34 PM: Failing build: Failed to build site
12:11:34 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
12:11:34 PM: Finished processing build request in 3m36.139703252s


improv: Refuse to run MemoryBackend under WSGI

This adds an overridable sanity check to ensure that uses don't try to
use the MemoryBackend under WSGI since the data won't be shared
between independent workers.

Codecov Report

Merging #134 into master will decrease coverage by 0.15%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
- Coverage   92.54%   92.38%   -0.16%
==========================================
  Files          21       21
  Lines        2186     2154      -32
==========================================
- Hits         2023     1990      -33
- Misses        163      164       +1

Impacted Files
Coverage Δ

medallion/backends/memory_backend.py
91.80% <66.66%> (-0.25%)
:arrow_down:

medallion/views/collections.py
89.47% <0.00%> (-1.01%)
:arrow_down:

medallion/__init__.py
79.51% <0.00%> (-0.95%)
:arrow_down:

medallion/backends/mongodb_backend.py
91.66% <0.00%> (-0.44%)
:arrow_down:

medallion/views/objects.py
87.73% <0.00%> (-0.34%)
:arrow_down:

medallion/views/discovery.py
96.66% <0.00%> (-0.31%)
:arrow_down:

medallion/filters/basic_filter.py
93.92% <0.00%> (-0.17%)
:arrow_down:

medallion/test/test_backends.py
99.21% <0.00%> (-0.01%)
:arrow_down:

medallion/views/manifest.py
100.00% <0.00%> (ø)

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 1069519...e2e831b. Read the comment docs.

I don't see any glaring issues with the proposed changes here. Do you have any supporting documentation/link that talk about the data won't be shared between independent workers? Is this implementation specific with Flask or just in general with any WSGI server?

That would be a general expectation of running under any WSGI server which implements forked workers. Since we're in Python, forking makes the most sense since for CPU bound applications using threads will still be impacted by the GIL. Given that the memory backend would be CPU bound since there is no external I/O, that would mean we should fork and then the actual in-memory store would not be shared between the workers, resulting in drift between the workers and surprising request results.

Thanks @emmanvg


Compile Error

[ 83%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir////modules/mod-bountyhunter/src/BountyHunter.cpp.o
In file included from /home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:1:
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:69:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetTokenId() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:70:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetTokenMaxAmount() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:71:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetGoldMaxAmount() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:72:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetHonorMaxAmount() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:91:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetBountyPriceAmount(ObjectGuid playerGuid);
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:23:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 BountyHunter::GetTokenId() const
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:28:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 BountyHunter::GetTokenMaxAmount() const
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:33:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 BountyHunter::GetGoldMaxAmount() const
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:38:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 BountyHunter::GetHonorMaxAmount() const
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:121:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 BountyHunter::GetBountyPriceAmount(ObjectGuid playerGuid)
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:149:17: warning: enumeration value 'NONE' not handled in switch [-Wswitch]
switch (m_BountyContainer[bounty->GetGUID()].type)
^
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:283:21: warning: enumeration value 'NONE' not handled in switch [-Wswitch]
switch (bountyInfo.type)
^
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.cpp:309:13: warning: enumeration value 'NONE' not handled in switch [-Wswitch]
switch (m_BountyGossipContainer[player->GetGUID()].priceType)
^
[ 84%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir////modules/mod-bountyhunter/src/BountyHunter_Loader.cpp.o
[ 84%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir///__/modules/mod-bountyhunter/src/BountyHunter_SC.cpp.o
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter_SC.cpp:7:1: warning: '/' within block comment [-Wcomment]
/****************************/
^
In file included from /home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter_SC.cpp:9:
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:69:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetTokenId() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:70:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetTokenMaxAmount() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:71:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetGoldMaxAmount() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:72:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetHonorMaxAmount() const;
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter.h:91:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const uint32 GetBountyPriceAmount(ObjectGuid playerGuid);
^~~~~~
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter_SC.cpp:24:35: warning: enumeration value 'NONE' not handled in switch [-Wswitch]
switch(sBountyHunter->GetBountyPriceType(bounty->GetGUID()))
^
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter_SC.cpp:120:68: warning: unused parameter 'sender' [-Wunused-parameter]
bool OnGossipSelect(Player player, Creature creature, uint32 sender, uint32 action) override
^
/home/azerothcore-wotlk/modules/mod-bountyhunter/src/BountyHunter_SC.cpp:181:17: warning: enumeration value 'NONE' not handled in switch [-Wswitch]
switch (action)
^

Hey buddy, maybe it needs to be updated

Fixed in: https://github.com/lineagedr/mod-bountyhunter/commit/c17d3f7430fd817ec411e6db3e53bd2092b5ba75


Trampolining draft

I was wondering if such trampolining could be viewed as tail-call optimization in the interpreter. Thanks!
#46

I was wondering if such trampolining could be viewed as tail-call optimization in the interpreter.

Sadly no, this is the same issue as #514. Tail-call optimization in the interpreter would mean that the loop in exec::Thread::run() would need to disappear (and simply be the result of recursive tail-calls).


Repeat all pending events, to prevent axis sticking

I found this issue when testing some code derived from yours. It would be really easy to get the axes on the virtual device to stick by rapidly releasing the real pedals. By looping until all pending events are read, the issue goes away.

Thanks for this. I think it would be tidier to put the libevdev_next_event call in the while condition. It also looks like LIBEVDEV_READ_FLAG_NORMALshould be included in the flags.
while (libevdev_next_event(real, LIBEVDEV_READ_FLAG_NORMAL | LIBEVDEV_READ_FLAG_BLOCKING, &ev) == 0) {
	write(uifd, &ev, sizeof(ev));
}

I'm currently unable to test if this but I've pushed the commit to https://github.com/sambazley/virtjs/tree/StelardActek-master

Agreed, that is much neater.


Research

Description
SPSS is a software platform for statistical analysis. It is closed source. It is very commonly encountered in academic research.
SPSS saves data to disk in the .sav file format. .sav files store tabular data.
Being a closed computation environment, and one with expensive licensing fees, it is desirable for some of our piloting partners to be able to read data out of .sav and into Data Package or a CSV backed with Table Schema. It would also be useful to roundtrip data, from Data Package / Table Schema back to .sav.
Specification
I have not yet found a formal specification for .sav files. However, one can reverse engineer it from viewing the reports possible using the savReaderWriter library in Python.
There may be a published spec somewhere. And, it may be possible to understand the spec by closer analysis of the savReaderWriter code.
Examples
There are a bunch of places to get some example .sav files:

https://cehd.gmu.edu/book/dimitrov/spss
http://spss.allenandunwin.com.s3-website-ap-southeast-2.amazonaws.com/data-files.html#.WUk-dsZL2RE
http://staff.bath.ac.uk/pssiw/stats2/page16/page16.html

savReaderWriter
savReaderWriter seems a mature enough library for working with .sav files in Python. I had trouble installing on macOS due to missing dependencies. I had no trouble installing on Debian, once I ensured that I had an active locale configured.

Code
Docs

# prep

import urllib
import savReaderWriter

SOURCE = 'example.sav'
urllib.retreive('https://cehd.gmu.edu/assets/dimitrovbook/EX%2010_1.sav', SOURCE)

# stream data out of a .sav file
with savReaderWriter.SavReader(SOURCE, returnHeader=True) as reader:
    header = next(reader)
        for line in reader:
            print(line)

# inspect the metadata of a .sav file
with savReaderWriter.SavHeaderReader(SOURCE) as header:
    metadata = header.all()
    report = str(header)

print(metadata.valueLabels)
print(report)

@roll @amercader @akariv @jobarratt

closing.


[prim_otp] Update interface

The OTP interface has to change slightly, to accommodate additional signals for the closed source OTP wrapper.
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

Ah no the third one slipped into this one. Let me remove it.


Release Devise 5

What is blocking the release?
CI testing for Rails 8?

What is blocking the release?
CI testing for Rails 8?

i didnt undrestand well does it say 5 devices r active in my accounts ?

I'd love a fresh release now that https://github.com/heartcombo/devise/issues/5705 is fixed!


Ch 10 pg 278 - 280 Schema.org semantics

I am having a problem understanding how use of RDFS Range defers from schema: rangeIncludes. I am guessing that use of rdfs:range works across multiple ontology domains where schema:rangeIcludes works within a single ontology domain.
Second unrelated question:  We have discussed using Construct to build triples through inference which facilitates identifying relationships that have not been stated explicitly.  How do someone then extract the related data they are looking?
Does someone run a Select query at the end of the Construct statement.  I think my question has to do with data persistence and my relational db experience and inexperience with semantic data capability.

To your second question, unfortunately, while you can have SELECTs within CONSTRUCTs you can't do it the other way around. On my project, when we use CONSTRUCTs in the manner described the CONSTRUCT is either the end goal (i.e., we wanted a query with a graph result), or we use such a CONSTRUCT to prototype a subsequent INSERT statement to implement forward-chaining (where inferences are persisted in the triplestore, as opposed to backward-chaning, where inferences are made at query time by the reasoner). This is just what I've learned over the past year or so--like you, I come from a relational background. I'm re-tooling for my second act ;-).

We seem to have lost your schema:rangeIncludes question.    As we have seen in the book. multiple ranges interact in a surprising way:
p rdfs:range  C .
p rdfs:range D .
imples that
p rdfs:range C INTERSECT D .
This is pretty odd; in most modeling, you want to be able to expand the range (respectively domain) of a property.   Hence, schema introduced its own notion of range that behaves this way.  The name rangeIncludes  was chosen to indicate that.
p schema:rangeIncludes D .
p schema:rangeIncludes C .
implies
p schema:rangeIncludes C UNION D .
The problem with this approach has to do with the open world assumption.  For example:
p rdfs:range  C .
s p x .
you can infer that
x a C
This continues to be true, even if someone tells you more things about p, e.g., if they tell you that
p rdfs:range D .
you don't have to re-evaluate what you inferred about x.
Contrast to schema:rangeIncludes
p schema:rangeIncludes C .
s p x
Can you infer that
x a C
?
No, you can't; after all, someone might later on tell you that
p schema:rangeIncludes D .
and in fact, all along, x was a member of D, but not C.
x a D .
This is why rdfs:range is the way it is; it needs to operate in the open world of a distributed system.


DEC-511: Google test

I'd like for you guys to pull this and get a feel for how it works before I go any further. I don't intend to merge this just yet, since I still need to add tests and handle specific errors, but I want everyone to understand the flow of this and sign off on it before I spend much more time on it.
The first thing you'll have to do is edit the secrets.yml and populate the client id/secret with the codes from the google dev portal. Once that's done, you should be able to go to collections/:id/import_google_sheet, copy/paste a url to a valid worksheet in your google docs, then click the button. If successful, it should print out the data in the sheet.

I'm okay with this in general.  Is there a way we can configure access so we're not requesting write permission to the entire Drive account?
Also, if we're going the route of Drive integration, then I think we need to implement their Picker API to give users a browse button: http://googleappsdeveloper.blogspot.com/2012/08/allowing-user-to-select-google-drive.html

@jaronkk yes to both, I've added some of these details to the import ticket. Closing this PR since we all seem to be ok with moving forward on this.


Introduce deployment helper

The Shopware deployment-helper should be introduced to this docker image.
This should be done before working on #89
The current setup script should be deprecated.
Check if the helper is present and then use it. If it is not yet available, use current setup script

What do you think this issue's priority should be for the Private Beta?

before and it's not much work 30m or so

fixed by https://github.com/shopware/docker/pull/98


Mythras: Add some missing i18n keys

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.

[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).

[x] The pull request makes changes to files in only one sub-folder.

[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

[ ] This sheet has been made on behalf of, or by, the game's publisher.

[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >

[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
Added a handful of i18n keys that are used in the v2 to v3 conversion code.  This fixes a bug cause some of the magic skills to get converted and loosing the name in the process.

Character Sheet Info Roll20 Internal Use only.


Preparation of meeting and guide for guidelines for writing chapters in diploma thesis and academic research reports - 2024#1

The following actions are to do, in order to prepare the meeting and the guide:

[x] #1004

[x] #1005

[x] #1006

All done.


Resource to add: https://2.flexiple.com/scale/all-illustrations

URL: https://2.flexiple.com/scale/all-illustrations
Message: One new high-quality, open-source illustration each day
This issue was automatically generated from the website.

Added.


Unused imports are not shown

The plugin doesn't display unused Python import.
If I manually call flake8 on my files, unused imports are shown so I don't think is an issue of the executable itself.

I would imagine this will be handled in #81 when it gets merged in. Closing for now but if that doesn't actually cover this please re-open the issue.


Add modal transition systems and associated algorithms to automatalib

That's good to hear. I will respond to all your annotations in the next few days.
As for the failed tests in automata-serialization-dot, I think these are related to the discussed changes in the DOTParser (added comperator).

Ok, I'll look into it then with the serialization rework.

One more general question (not directly related to this PR but the previous import): Is the BidirectionalGraph interface on the AbstractCompactMTS still required? Other than in the tests, I don't see it used.
And regarding the next steps: Once the last questions are resolved, I will probably merge this PR without any further changes, so that your fork can remain as-is and you have a version working with your current private project. I will then refactor things on the mts branch of AutomataLib so that you can gradually adjust/refactor your private code and see, if I broke anything essential. Once all lights are green, I'll merge the mts branch back into develop.

BidirectionalGraph is no longer needed :)


The markdown syntax for code is kinda broken

In our pages, this gets properly formatted:
#id .class {} /* comment */

but this does not:
.class {} /* comment */

The problem is not related to CSS syntax though, I notice this issue with html too.

@src-code Just want to give a shout-out for the awesome work on refactoring the docs. I ran it locally and it looks a lot better. However, this issue that Thierry reported is quite noticeable right in the landing page: the first example does not correctly apply the colors for the HTML. I believe this might be related to this: https://github.com/yahoo/acss-site/blob/master/app/services/docs.js#L20
The auto highlight might not be picking it up correctly. I believe there's a way to pass the correct language, be more explicit about which language it is being used.

@renatoi Actually I broke the examples, I think - I had gone in and removed the $ prefix on some variables in our examples (I think they're confusing for developers) but didn't realize the examples were actually relying on the same style config as the site itself.  I'm about to push a fix for this!

But this was broken even before any changes you recently did.

@renatoi Ah, you mean the code snippets?  As far as I can see, those snippets are styled manually with spans and classes, I don't think they're auto-styled?

@renatoi Updated master, check it out and see if it looks better!

Looks really good. I guess this can be closed then.


osmosis - resync from scratch

Overview
The public snapshots we have been using have been pruned resulting in incomplete tx history. Resync a new node from scratch and maintain our own snapshots moving forward.
References and additional details

init from fresh volume

Acceptance Criteria

osmosis full node

Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Struggling with full sync from scratch. Starting off works well but keep on ending up mismatch block header hash state. going to keep trying in the background. As of now best case is stable osmosis nodes with some missing tx history due to pruned state

osmosis has been removed at this time


Recent change you made to the package was not deployed

This PR: Fix duplicate tenant-router import #33 #34 does not reflect in the recent version

Hi @Tomas-Studio please update<EMAIL_ADDRESS>


[ENHANCEMENT] - Hyperlink default color

Describe the solution you'd like
Is it possible to have a hyperlink show up as blue or some other color? Right now it's an off gray which makes it hard to stand out from the default text color.
An example of this can be seen in my latest episode where the word blog is the hyperlink.
I tried some googling and I know it's a theme setting and I assumed it would be in the layout/partials area but can't really find anything obvious.

You can override any of the CSS classes by setting the custom_css value in your config.toml file. This is documented (not super clear, I realize) in REFERENCE.md under General Parameters

Array of custom CSS files for over-riding theme settings or adding your own classes. These files should be put into your static directory (not the static directory of the theme).

You can set it looking something like this: ["my_custom.css", "other_custom.css"]

Interesting. So in my toml i put in custom_css= lemming.css and created a file, lemming.css in the static folder of the project (not the theme) and when I launch the local server I got this error
Change of config file detected, rebuilding site.
2021-04-06 13:24:18.088 -0500
ERROR 2021/04/06 13:24:18 render of "page" failed: execute of template failed: template: _default/single.html:4:3: executing "_default/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: template: partials/head.html:12:3: executing "partials/head.html" at <partial "head_includes.html" .>: error calling partial: "/home/rastacalavera/git/ll-dev/linuxlemming/themes/castanet/layouts/partials/head_includes.html:34:14": execute of template failed: template: partials/head_includes.html:34:14: executing "partials/head_includes.html" at <.Site.Params.custom_css>: range can't iterate over custom.css

I might try a fresh deploy and see if the same error occurs.

you need to specify it as an array, so it should be like this:
custom_css = ["lemming.css"]


add a screenshot on the popup to show how to unlock the wallet

Description
When user clicked on a login button in the website while the wallet is locked, it shows a popup like this

Expected
Better to add a screenshot to tell the user how to unlock the wallet

closed via 9c1c65790d2e5eddd296e0935d4acf5becda8b18


ASP bugfixes

remove mode which is triggered by solve and not by the ASP constructor
make traceFlag = true not just an option but always on
add and modify a few unit tests

this seems fine now so I'm merging but maybe I won't register a new version until @tinatorabi makes her final changes as well.


only continues single player 1.20

i have tried everything to get it to save my multiplayer server and it just resets the config to single player

I have the same problem, could not find any fix

Please ensure you're using 0.1.1

I am using the Version 0.1.1 downloaded from modrinth

Same issue here, Using 1.1.1+1.20 and the continue button only works for singleplayer worlds
The 1.19.3 version worked fine

This is what shows after connecting to a server (it just opens the last opened singleplayer world)

I will be debugging this on the weekend. I am really busy at the moment with my studies.

Fixed.


docs: Update RULES.md

Describe the problem or feature in addition to a link to the issues.
The RULES.md file got out of date. Reiterating something we all know, this isn't a sustainable documentation solution. Not sure the exact priority for updating sprocket.bio with pages for each rule, but that is the end-game here.
Before submitting this PR, please make sure:

[x] You have added a few sentences describing the PR here.
[x] You have added yourself or the appropriate individual as the assignee.
[x] You have added at least one relevant code reviewer to the PR.
[x] Your code builds clean without any errors or warnings.
[x] You have added tests (when appropriate).
[x] You have updated the README or other documentation to account for these
changes (when appropriate).
[x] You have added an entry to the relevant CHANGELOG.md (see
"keep a changelog" for more information).

At this point, can we consider removing this file? Or at least making it auto-generated? I'd much rather see a CI step (or something) that loads the wdl-lint package, gets the rules, and writes them to a file if we want to have a textual version.

That seems doable. I don't have an exact vision for what it looks like though. Spitballing: It could be written into the ci crate as a command. Something like cargo run --bin ci -- lint-docs. It could recreate the RULES.md file pretty easily. IDK how that then gets integrated into docs.rs or otherwise displayed though.

I agree that having this automated would be ideal and putting it in the ci crate makes sense to me.
I think we can keep the RULES.md file committed in git so that we generate docs like we do now, but have a CI job that also passes a --check flag to the ci command that will fail if the generated RULES.md doesn't match what's on disk.

There should be a BLESS mechanism that will create the RULES.md file from scratch. That way we don't have to bother with writing it by hand or pretty-formatting the file.

I'm leaning towards having it in wdl-lint and operating similar to our other tests, as opposed to the ci crate.

Do we want to merge this PR or not? It probably doesn't make a difference, as I would hope this automation could be completed in time for the next release (whenever that is).


jsk_3rdparty: 2.0.1-0 in 'hydro/distribution.yaml' [bloom]

Increasing version of package(s) in repository jsk_3rdparty to 2.0.1-0:

upstream repository: https://github.com/jsk-ros-pkg/jsk_3rdparty.git
release repository: https://github.com/tork-a/jsk_3rdparty-release.git
distro file: hydro/distribution.yaml
bloom version: 0.5.19
previous version for package: 2.0.0-0

assimp_devel

No changes

bayesian_belief_networks

No changes

collada_urdf_jsk_patch

No changes

downward

No changes

ff

No changes

ffha

No changes

jsk_3rdparty
* jsk_patch is not releasesd on indigo
* Contributors: Kei Okada

julius

No changes

laser_filters_jsk_patch

No changes

libsiftfast

No changes

mini_maxwell

No changes

nlopt

No changes

opt_camera

No changes

rospatlite

No changes

rosping

No changes

rostwitter

No changes

sklearn

No changes

voice_text

No changes

you need to rebase as you would overwrite the changes in pr2_ethercat_drivers

Thanks, fixed

thx !


Favicon uses old logo

Favicon in Google Chrome uses the old logo
I can't find the press kit online otherwise I would have created a PR

Seems to be fixed so this can be closed


Undefined name: Error --> VergeMLError

Error is an undefined name in this context which can raise a NameError instead of the desired error.  This PR advocates changing Error() --> VergeMLError().  Another alternative would be Exception().
flake8 testing of https://github.com/vergeml/vergeml on Python 3.7.1
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./vergeml/data.py:46:23: F821 undefined name 'Environment'
                 env: 'Environment' = None,
                      ^
./vergeml/sources/mnist.py:65:23: F821 undefined name 'Error'
                raise Error("File not found in samples_dir: {}".format(
                      ^
./vergeml/sources/mnist.py:104:31: F821 undefined name 'Error'
                        raise Error("number of test samples is greater than number of available samples.")
                              ^
./vergeml/sources/mnist.py:116:31: F821 undefined name 'Error'
                        raise Error("number of test samples is greater than number of available samples.")
                              ^
4     F821 undefined name 'Environment'
4

Thank you :thumbsup:!
(I did not merge the change to data.py because it could create a circular dependency)


Record or save simulations

Is there any way to save or record the simulations? As we did not find any option on the gui to do the same, we were wondering if there is an option in the code where this can be enabled.

In the GUI there are options for exporting partio, VTK and rigid body data. Partio contains all particle information and can be rendered by Maya, Blender or Houdini. You can also use the PartioViewer of the project to visualize the exported data.
In the new version there is also an option to save a state of the simulation. A state contains everything and can be used to stop a simulation and continue later.


[New chain]: Taiko Mainnet 1.3.0 safe contracts deployed via safe singleton factory

Summary
1.3.0 safe contracts deployed via safe singleton factory
Chain ID
167000
Chain detail URL
https://chainlist.org/chain/167000
RPC URL
https://rpc.mainnet.taiko.xyz
Blockscout Client URL
No response
Etherscan Client URL
https://taikoscan.io
Etherscan Client API URL
https://api.taikoscan.io
Version
1.3.0
Address (Master copy)
0x69f4D1788e39c87893C980c06EdF4b7f686e2938
Deployment Tx hash (Master copy)
0x9b086c1c141cbed286ae985257a05240b6d026b2c41e8035e7c6f31ffad2e619
Block explorer URL (Master copy)
No response
Address (Master copy L2)
0xfb1bffC9d739B8D520DaF37dF666da4C687191EA
Deployment Tx hash (Master copy L2)
0x9c69736cce380aa76ace3e6905cadce10a64a91b94b0f7f4f1d63c0d5478f5ec
Block explorer URL (Master copy L2)
No response
Address (Proxy factory)
0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC
Deployment Tx hash (Proxy factory)
0x9e6c6d8e2c689bedc359b5cd024335b8bee2ad7fca1c96b922823cd69bd63495
Block explorer URL (Proxy factory)
No response

/execute


Less_Cache filemtime(): stat fails on deleted files

When I delete a file, even though I have removed it from any @import statements, I get this crash:

filemtime(): stat failed for .../src/_less/gone.less

Should maybe be added a if(file_exists( ...  or something somewhere? 🤔

Hi, I fixed this bug in my fork, could you try to require kylekatarnls/less.php instead of oyejorge/less.php and tell me if it works for you?
Thanks.

@kylekatarnls Wow, that's lot of changes in that commit... have you changed all the whitespace or something?

Yep, it's the Ctrl + Alt + L of PhpStorm (very close to what StyleCI check). I plan progressively to apply the coding style standards in the fork to unify the code.

Anyways, just replaced the Cache.php file with the one from your fork, removed an @import and the file, and it did not crash. 👍 So this one seems to be a win .😀

But will this fix get merged back into this one though?

The last code change in this project is quite old. I propose many changes but still no answer from the owner. I'm not sure he's still interested in maintaining this. But there is absolutely no problem with using my fork instead and replace it with the original project if it's updated later. That's the git spirit and the licence allows it.


QEA-1180

Rescue errors when saving files to s3.
mako ui p1 jobs are really crudded up with errors like this:
Seahorse::Client::NetworkingError:
  Failed to open TCP connection to sg-qe-artifacts.s3.amazonaws.com:443 (getaddrinfo: Temporary failure in name resolution)

Not to mention when I invalidated the credentials recently and the same jobs caught on fire.
Also some whitespace that I cleaned up.
I don't have a test for the TCP error, but there is one for bad credentials which works. The rescue is in the same place so I'm confident it will work.
I want to revisit this and figure out how to force that error to happen in a test.

Totally agree on standardizing logging. Like have the logger prefix all messages with the name of the module/class sending them. I see something called progname that goes unused in the logger.formatter that we may be able to repurpose.
I'm of two minds on the versioning. On one side, I really like separating concerns with smaller more locally scoped and atomic changes. On another side, I don't like clogging the pipes with tons of new gems. Open questions I guess: what version velocity is too high and what change set size is too small to get published alone.


Any tips on running it under CoreOS ?

Seeing as the database is in the consumer as well as the config, view do you run out in a "production" environment? I'm new to docker so... 😉

@lebel Addding those volumes for persistency is really helpful. Thanks!


Title and meta tags on all website pages

In order to increase the visibility in google searches and drive traffic:
Please make sure we have proper title and meta tags on all web pages:

[ ] taxon / genome and gene level pages
[ ] services
[ ] tools

Front matter is being addressed elsewhere.


Certificate Generation

Hi All,
I generated a manual certificate and i am getting below information
Using cached order. To force issue of a new certificate within 1 days, run with the --force switch. Be ware that you might run into rate limits doing so.
Cached authorization result for api.financier.uat-mqf.co.za: valid
Using cached certificate for [Manual] api.financier.uat-mqf.co.za. To force a new request of the certificate within 1 days, run with the --force switch.
Store with CertificateStore...
Certificate with thumbprint 24EE3284530A4CDE976A255387AE690CB5015187 is already in the store
Installing with None...
Scheduled task looks healthy
Next renewal scheduled at 2020 7 28 11:19:20
Certificate [Manual] api.financier.uat-mqf.co.za created
So my question is from where i can download the certificate ?

@WouterTinus
Please guide me

Right now it looks like it's in the Windows Certificate Store. If you need it elsewhere or in another form, please read up on the different store plugins that you can use to output the certificate:
https://www.win-acme.com/reference/plugins/store/


make SplunkPostDocLoadResourceInstrumentation aware of upstream context (#357)

add a mutation observer for the document head to capture added

@t2t2 / @mhennoch sorry about this, i made a mess of https://github.com/signalfx/splunk-otel-js-web/pull/364 trying to sign the commits and it was easier to just create a new PR
@t2t2 i'm not sure why there are commits from you in this branch that aren't in main, were you just trying to fix my test failures?

hmm looks like i still didn't get the signing right, will take another look Monday


Documentation for md-autocomplete still uses patched RxJS Observable

Bug, feature request, or proposal:
The documentation for autocomplete includes:
   ngOnInit() {
      this.filteredOptions = this.myControl.valueChanges
         .startWith(null)
         .map(val => val ? this.filter(val) : this.options.slice());
   }

This uses the startWith method on an Observable, which was removed in the latest release (2.0.0-beta.8) to fix https://github.com/angular/material2/issues/2622.
What is the expected behavior?
The example should compile properly.
What is the current behavior?
The example code does not compile and gives the following error:
ERROR in example.ts (34,8): Property 'startWith' does not exist on type 'Observable<any>'.

What are the steps to reproduce?
Copy code from the documentation and try to build.
What is the use-case or motivation for changing an existing behavior?
Documentation should provide working code samples.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.2.6, material 2.0.0-beta.8, typescript 2.4.1.

My bad, it seems the example source code does include the necessary import statements.


OADP-4137: updated for velero 1.14 (#1398)

updated for velero 1.14

go.mod changes for Velero 1.14 (including golang 1.22) velero CRD changes for 1.14
some oadp operator code changes to cope with controller-runtime upgrade to 0.17.2

fix tests

use go 1.22.2

update tags to 1.4

update to controller-gen 0.14.0

fix deploy-olm for 4.16

make bundle diff for operator-sdk 1.34

leaderelection: Warning->Warningf

run go fmt/generate

Remove createdAt only change

fix OADP-3775: Investigate and make OADP Operator ready for CSI plugin as an internal Velero plugin

remove irrelevant comments

remove line number from leaderelection lease check

don't check for CSI plugin initcontainer

filter out repo-maint job pods from Velero pod query

account for restore Finalizing in e2e

Why the changes were made

How to test the changes made

/retest

/override ci/prow/4.14-e2e-test-kubevirt-aws
/override ci/prow/4.13-e2e-test-aws
flake: restore succeeds, but application not working

nice work all :)  Have a great weekend 0/

/lgtm


Read max_trials and reward_metric from config file

Here is an example of how to set max_trials and  reward_metric in benchmark config file:
https://github.com/DataCanvasIO/TSBenchmark/blob/7ce66be3cde22091505304afea8a984cda440bc4/tsbenchmark/tests/benchmark_example_local.yaml#L19-L22


03/31/2018 02:48 : Create Pull Request for branch prTesting_2018033102 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


iOS build does not see provision profile from match

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I am trying to build flutter app on GitHub Actions. Using match and build_ios_app. The build does not register the downloaded profiles by match.
default_platform(:ios)

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
    api_key = app_store_connect_api_key(
      key_id: ENV["APPSTORE_KEY_ID"],
      issuer_id: ENV["APPSTORE_KEY_ISSUER_ID"],
      key_filepath: "./AuthKey.p8",
      duration: 1200,
      in_house: false
    )

    match(type: 'development')

    build_ios_app(
      clean: true,
      scheme: "Runner",
      workspace: 'Runner.xcworkspace',
      output_directory: '../output/',
      output_name: 'tlappka',
      include_symbols: false,
    )

    upload_to_testflight(
      api_key: api_key,
      ipa: '../output/tlappka.ipa',
      submit_beta_review: false,
      distribute_external: false,
    )
  end
end

Command executed
bundle exec fastlane beta
Complete output when running fastlane, including the stack trace and command used
9_Build & upload.txt
Environment
✅ fastlane environment ✅
### Stack
| Key                         | Value                                              |
| --------------------------- | -------------------------------------------------- |
| OS                          | 11.6.8                                             |
| Ruby                        | 2.7.6                                              |
| Bundler?                    | true                                               |
| Git                         | git version 2.37.1                                 |
| Installation Source         | /usr/local/lib/ruby/gems/2.7.0/bin/fastlane        |
| Host                        | macOS 11.6.8 (20G730)                              |
| Ruby Lib Dir                |<EMAIL_ADDRESS>             |
| OpenSSL Version             | OpenSSL 1.1.1n  15 Mar 2022                        |
| Is contained                | false                                              |
| Is homebrew                 | false                                              |
| Is installed via Fabric.app | false                                              |
| Xcode Path                  | /Applications/Xcode_[13](https://github.com/Buddyvet/app/runs/7767726382?check_suite_focus=true#step:6:14).2.1.app/Contents/Developer/ |
| Xcode Version               | 13.2.1                                             |
| Swift Version               | 5.5.2                                              |
### System Locale
| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   | en_US.UTF-8 | ✅ |
| LANGUAGE |             |   |
### fastlane files:
`./fastlane/Fastfile`
```ruby
default_platform(:ios)
platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
    api_key = app_store_connect_api_key(
      key_id: ENV["APPSTORE_KEY_ID"],
      issuer_id: ENV["APPSTORE_KEY_ISSUER_ID"],
      key_filepath: "./AuthKey.p8",
      duration: 1200,
      in_house: false
    )
    match(type: 'development')
    build_ios_app(
      clean: true,
      scheme: "Runner",
      workspace: 'Runner.xcworkspace',
      output_directory: '../output/',
      output_name: 'tlappka',
      include_symbols: false,
    )
    upload_to_testflight(
      api_key: api_key,
      ipa: '../output/tlappka.ipa',
      submit_beta_review: false,
      distribute_external: false,
    )
  end
end
```

`./fastlane/Appfile`
```ruby
app_identifier("com.buddyvet.buddy")
<EMAIL_ADDRESS>itc_team_id("123930078")
team_id("X2UMSQC6LQ")
```

### fastlane gems
| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.208.0 | ✅ Up-To-Date  |
### Loaded fastlane plugins:
**No plugins Loaded**
Loaded gems
| Gem                             | Version      |
| ------------------------------- | ------------ |
| did_you_mean                    | 1.4.0        |
| bundler                         | 2.2.27       |
| rake                            | 13.0.6       |
| rexml                           | 3.2.5        |
| CFPropertyList                  | 3.0.5        |
| concurrent-ruby                 | 1.1.10       |
| i18n                            | 1.12.0       |
| minitest                        | 5.16.2       |
| tzinfo                          | 2.0.5        |
| zeitwerk                        | 2.6.0        |
| activesupport                   | <IP_ADDRESS>      |
| public_suffix                   | 4.0.7        |
| addressable                     | 2.8.0        |
| httpclient                      | 2.8.3        |
| json                            | 2.6.2        |
| algoliasearch                   | 1.27.5       |
| artifactory                     | 3.0.15       |
| atomos                          | 0.1.3        |
| aws-eventstream                 | 1.2.0        |
| aws-partitions                  | 1.616.0      |
| aws-sigv4                       | 1.5.1        |
| jmespath                        | 1.6.1        |
| aws-sdk-core                    | 3.132.0      |
| aws-sdk-kms                     | 1.58.0       |
| aws-sdk-s3                      | 1.1[14](https://github.com/Buddyvet/app/runs/7767726382?check_suite_focus=true#step:6:15).0      |
| babosa                          | 1.0.4        |
| claide                          | 1.1.0        |
| fuzzy_match                     | 2.0.4        |
| nap                             | 1.1.0        |
| netrc                           | 0.11.0       |
| ffi                             | 1.[15](https://github.com/Buddyvet/app/runs/7767726382?check_suite_focus=true#step:6:16).5       |
| ethon                           | 0.15.0       |
| typhoeus                        | 1.4.0        |
| cocoapods-core                  | 1.11.3       |
| cocoapods-deintegrate           | 1.0.5        |
| cocoapods-downloader            | 1.6.3        |
| cocoapods-plugins               | 1.0.0        |
| cocoapods-search                | 1.0.1        |
| cocoapods-trunk                 | 1.6.0        |
| cocoapods-try                   | 1.2.0        |
| colored2                        | 3.1.2        |
| escape                          | 0.0.4        |
| fourflusher                     | 2.3.1        |
| gh_inspector                    | 1.1.3        |
| molinillo                       | 0.8.0        |
| ruby-macho                      | 2.5.1        |
| nanaimo                         | 0.3.0        |
| xcodeproj                       | 1.22.0       |
| cocoapods                       | 1.11.3       |
| colored                         | 1.2          |
| highline                        | 2.0.3        |
| commander                       | 4.6.0        |
| declarative                     | 0.0.20       |
| digest-crc                      | 0.6.4        |
| unf_ext                         | <IP_ADDRESS>      |
| unf                             | 0.1.4        |
| domain_name                     | 0.5.20190701 |
| dotenv                          | 2.8.1        |
| emoji_regex                     | 3.2.3        |
| excon                           | 0.92.4       |
| faraday-em_http                 | 1.0.0        |
| faraday-em_synchrony            | 1.0.0        |
| faraday-excon                   | 1.1.0        |
| faraday-httpclient              | 1.0.1        |
| multipart-post                  | 2.0.0        |
| faraday-multipart               | 1.0.4        |
| faraday-net_http                | 1.0.1        |
| faraday-net_http_persistent     | 1.2.0        |
| faraday-patron                  | 1.0.0        |
| faraday-rack                    | 1.0.0        |
| faraday-retry                   | 1.0.3        |
| ruby2_keywords                  | 0.0.5        |
| faraday                         | 1.10.1       |
| http-cookie                     | 1.0.5        |
| faraday-cookie_jar              | 0.0.7        |
| faraday_middleware              | 1.2.0        |
| fastimage                       | 2.2.6        |
| jwt                             | 2.4.1        |
| memoist                         | 0.[16](https://github.com/Buddyvet/app/runs/7767726382?check_suite_focus=true#step:6:17).2       |
| multi_json                      | 1.15.0       |
| os                              | 1.1.4        |
| signet                          | 0.[17](https://github.com/Buddyvet/app/runs/7767726382?check_suite_focus=true#step:6:18).0       |
| googleauth                      | 1.2.0        |
| mini_mime                       | 1.1.2        |
| trailblazer-option              | 0.1.2        |
| uber                            | 0.1.0        |
| representable                   | 3.2.0        |
| retriable                       | 3.1.2        |
| webrick                         | 1.7.0        |
| google-apis-core                | 0.7.0        |
| google-apis-androidpublisher_v3 | 0.25.0       |
| google-apis-playcustomapp_v1    | 0.10.0       |
| google-apis-iamcredentials_v1   | 0.13.0       |
| google-apis-storage_v1          | 0.17.0       |
| google-cloud-env                | 1.6.0        |
| google-cloud-errors             | 1.2.0        |
| google-cloud-core               | 1.6.0        |
| google-cloud-storage            | 1.38.0       |
| mini_magick                     | 4.11.0       |
| naturally                       | 2.2.1        |
| optparse                        | 0.1.1        |
| plist                           | 3.6.0        |
| rubyzip                         | 2.3.2        |
| security                        | 0.1.3        |
| simctl                          | 1.6.8        |
| terminal-notifier               | 2.0.0        |
| unicode-display_width           | 1.8.0        |
| terminal-table                  | 1.8.0        |
| tty-screen                      | 0.8.1        |
| tty-cursor                      | 0.7.1        |
| tty-spinner                     | 0.9.3        |
| word_wrap                       | 1.0.0        |
| rouge                           | 2.0.7        |
| xcpretty                        | 0.3.0        |
| xcpretty-travis-formatter       | 1.0.1        |

*generated on:* **[20](https://github.com/Buddyvet/app/runs/7767726382?check_suite_focus=true#step:6:21)[22](https://github.com/Buddyvet/app/runs/7767726382?check_suite_focus=true#step:6:23)-08-10**

Can anyone please help?

Does your Matchfile exist with the valid values? What does match say during output? It is pretty explicit in the things its setting.
After that, I don't see anything between match and build_is_app, which means you either expect the configurations in your project to match what match would have downloaded. Or it isn't and thus a problem.
Like normally after I run match, I tend to use:

update_code_signing_settings  - fix up profile name
update_project_team - ensure team is the right one

Oh , so sorry but i m not sure about that.


Can't find variable: exports

After version 2.9.2, each time we use dist or src tiny-slider.js, there following error is on console:
Can't find variable: exports
CDN is 2.9.2 so I cannot compare.
Any ideas?

Looks like exports are in a file called browserstack.conf.js.
You can try loading that first however I just added this to the top of the js file.  Not 100% sure the consequences to this so I don't recommended it.
var exports = {};

I’m sorry I haven’t understood. Following the simple install steps with npm, without any other dependencies tns won’t be useable and we will have to put that initialization array before import?
https://github.com/ganlanyuan/tiny-slider#install

Try to use tiny-slider.js from dist/min directory

I had the same, it was because I was instantiating the slider carousel inside a jQuery document.ready. Try moving this outside of jQuery.

I see.
But jQuery is widely spread (still) so there should be another workaround.
For the time being, I use webpack with dist folder

Try to use tiny-slider.js from dist/min directory

this is solved my issue thanks

Yes using the tiny-slider.js from dist/min directory works, but ...
it's the minified version and sometime for debugging the non minified version is useful.


regex based filter in asset-import-meta-url ignores actual code in some cases

Describe the bug
Hey!
When using new URL(..., import.meta.url), for some cases vite does not transform the URLs to point to bundled assets (only when building though, works fine in dev 🧑💻)
Reproduction
Go to repro and in the terminal do
npm run build
npm run preview

Browser console should show (notice the second URL isn't transformed)

Why?
It seems these regex filters are at fault
https://github.com/vitejs/vite/blob/4433df4c6b278d5a2f4d2ca14f0a7930ed647e80/packages/vite/src/node/plugins/assetImportMetaUrl.ts#L34-L37
// before

import "./App.css";
import { jsx as _jsx } from "react/jsx-runtime";
import { Fragment as _Fragment } from "react/jsx-runtime";
console.log("1", new URL("./logo.svg", import.meta.url).href);
console.log("2 //", new URL("./logo.svg", import.meta.url).href);
function App() {
  return /* @__PURE__ */ _jsx(_Fragment, {
    children: /* @__PURE__ */ _jsx("img", {
      src: new URL("./logo.svg", import.meta.url).href
    })
  });
}
export default App;

// after filtering with regexes

import '';
import { jsx as _jsx } from '';
import { Fragment as _Fragment } from '';
console.log('', new URL('', import.meta.url).href);
console.log(''img''./logo.svg", import.meta.url).href
    })
  });
}
export default App;

More importantly, the order in which they are applied seems to be the problem
i.e. since singlelineCommentsRE is quite broad, removing line comments before strings messes the code in weird ways 🐞
How do we fix? 🔨
AFAICT removing strings before line comments fixes such problems (shouldn't create new bugs either?)
 const noCommentsCode = code
   .replace(multilineCommentsRE, blankReplacer)
-  .replace(singlelineCommentsRE, blankReplacer)
-  .replace(stringsRE, (m) => `'${'\0'.repeat(m.length - 2)}'`)
+  .replace(stringsRE, (m) => `'${'\0'.repeat(m.length - 2)}'`)
+  .replace(singlelineCommentsRE, blankReplacer)

PS: I stumbled across this when trying to consume Emscripten's release build (-Oz) from vite. In release emcc minifies all JS and puts it in single line, that line had // somewhere in the middle, and everything went kaboom 💥 🤣
Reproduction
https://stackblitz.com/edit/vitejs-vite-vc6p2d?file=src%2FApp.tsx&terminal=dev
System Info
System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 84.89 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.2 - ~/.asdf/shims/node
    Yarn: 1.22.17 - ~/.asdf/shims/yarn
    npm: 8.1.2 - ~/.asdf/shims/npm
  Browsers:
    Chrome: 99.0.4844.84
    Safari: 15.2
  npmPackages:
    @vitejs/plugin-react: ^1.0.7 => 1.1.4
    vite: ^2.7.2 => 2.7.10

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

AFAICT removing strings before line comments fixes such problems (shouldn't create new bugs either?)
 const noCommentsCode = code
   .replace(multilineCommentsRE, blankReplacer)
-  .replace(singlelineCommentsRE, blankReplacer)
-  .replace(stringsRE, (m) => `'${'\0'.repeat(m.length - 2)}'`)
+  .replace(stringsRE, (m) => `'${'\0'.repeat(m.length - 2)}'`)
+  .replace(singlelineCommentsRE, blankReplacer)

scratch that, it'll mess stuff up even more 😞, stringsRE matches across lines
maybe singlelineCommentsRE could be toned down a bit, to not match // that are within quotes?

Thank you very much for your correction 😊

maybe singlelineCommentsRE could be toned down a bit, to not match // that are within quotes?

Could be worth a shot, but we had tried something similar (in a different area) in the past, and it opened up more edge cases. But would be nice if you can find a robust regex for it.

FYI, I think there is also a problem with this replacement. There will be a matching error if there are sub-strings of the same length in the same string. I also try to solve this problem normally, it's not just assetImportMetaUrl plugins that need to be changed. https://github.com/vitejs/vite/issues/7549

maybe singlelineCommentsRE could be toned down a bit, to not match // that are within quotes?

// "

const a = 1

// "

It also bad

I also try to solve this problem normally, it's not just assetImportMetaUrl plugins that need to be changed. https://github.com/vitejs/vite/issues/7549

@poyoho really nice idea of having general utils for regexes, should make the code lot nicer to read 🚀

There will be a matching error if there are sub-strings of the same length in the same string.

hmm, I don't think I totally understand, can you pls share some example code where it can break?

maybe singlelineCommentsRE could be toned down a bit, to not match // that are within quotes?

// "

const a = 1

// "

It also bad

agreed, improving singlelineCommentsRE is very tricky
which is why was thinking of that second approach

I test my case in your provide regexp is well
https://regex101.com/r/VikP6f/1

there a error in nested string template https://regex101.com/r/0GKkgF/1 😅

https://regex101.com/r/JSS4XV/1. but javascript regexp don't support nested syntax.

thanks @poyoho!


[Bug] Parse error caused by FROM instruction with digest

Describe the bug
When the expression FROM <image>@digest is included, a parse error occurs.
It also gives an error when I use FROM <image>:tag@digest.
dprint-plugin-dockerfile version: 0.3.0
Input Code
FROM ghcr.io/jqlang/jq@sha256:12f998e5a6f3f6916f744ba6f01549f156f624b42f7564e67ec6dd4733973146 as fetch-jq

Expected Output
FROM ghcr.io/jqlang/jq@sha256:12f998e5a6f3f6916f744ba6f01549f156f624b42f7564e67ec6dd4733973146 AS fetch-jq

Actual Output
$ dprint check Dockerfile
Error formatting /home/mogyuchi/prj/fixup-twitter-link/Dockerfile. Message: could not parse Dockerfile:  --> 1:23
  |
1 | FROM ghcr.io/jqlang/jq@sha256:12f998e5a6f3f6916f744ba6f01549f156f624b42f7564e67ec6dd4733973146 as fetch-jq␊
  |                       ^---
  |
  = expected EOI
Had 1 error(s) formatting.

This is https://github.com/HewlettPackard/dockerfile-parser-rs/issues/7

It looks like there are a couple of PRs (15 and 31) that try to fix this, but there hasn't been any response in a while. I'm wondering if the plugin use a patched fork while upstream gets to any of those PRs?


Remove/hide brand icons

Font-awesome advises not to use brand icons except to "represent the represent the company, product, or service to which they refer." So it might be safer to remove or hide all of them so nobody gets in trouble!
I personally was looking at using the superpowers one, but that's apparently a brand logo :(.
thanks,
Stephen

Thanks for pointing this out. Is fixed now :)


Package request: DeepFilterNet (LADSPA plugin)

Project description
RNNoise but better (i.e. background noise removal for speech). The repo contains a python module, a CLI and a LADSPA plugin. The latter is by far the most interesting part and probably warrants packaging separately from the rest of the tools so it can be pulled in for use with pipewire's filter-chain module.
Metadata

homepage URL: https://github.com/Rikorose/DeepFilterNet
source URL: https://github.com/Rikorose/DeepFilterNet
license: mit or apache2.0
platforms: any(?)

+1, and adding a request for a nixos module or addition to the pipewire module. (not sure what this would look like, I haven't messed much with pipewire extensibility from a declarative standpoint)

The nix side should be relatively easy, I have been using RNNoise like that:

RNNoise filter-chain config
let
  json = pkgs.formats.json {};
  pw_rnnoise_config = {
    "context.properties" = {
      "log.level" = 0;
    };
    "context.spa-libs" = {
      "audio.convert.*" = "audioconvert/libspa-audioconvert";
      "support.*" = "support/libspa-support";
    };
    "context.modules" = [
      {
        name = "libpipewire-module-rtkit";
        args = {
          #"nice.level"   = -11;
          #"rt.prio"      = 88;
          #"rt.time.soft" = 2000000;
          #"rt.time.hard" = 2000000;
        };
        flags = [ "ifexists" "nofail" ];
      }
      { name = "libpipewire-module-protocol-native"; }
      { name = "libpipewire-module-client-node"; }
      { name = "libpipewire-module-adapter"; }

      {
        name = "libpipewire-module-filter-chain";
        args = {
          "node.name"        = "effect_input.rnnoise";
          "node.description" = "Noise Canceling source";
          "media.name"       = "Noise Canceling source";
          "filter.graph" = {
            nodes = [
              {
                type   = "ladspa";
                name   = "rnnoise";
                plugin = "librnnoise_ladspa";
                label  = "noise_suppressor_mono";
                control = {
                  "VAD Threshold (%)" = 50.0;
                 };
              }
            ];
          };
          "capture.props" = {
            "node.passive" = true;
        "node.target" = "alsa_input.usb-M-Audio_Fast_Track-00.pro-input-0"; # auto-link this source
        "audio.position" = [ "AUX0" ];
        "audio.rate" = 48000;
          };
          "playback.props" = {
        "audio.position" = [ "MONO" ];
        "audio.rate" = 48000;
            "media.class" = "Audio/Source";
          };
        };
      }
    ];
  };
in
{
  environment.etc."pipewire/source-rnnoise.conf" = {
      source = json.generate "source-rnnoise.conf" pw_rnnoise_config;
  };
  systemd.user.services."pipewire-source-rnnoise" = {
    environment = { LADSPA_PATH = "${pkgs.rnnoise-plugin}/lib/ladspa"; };
    description = "Noise canceling source for pipewire";
    wantedBy = ["pipewire.service"];
    script = "${pkgs.pipewire}/bin/pipewire -c source-rnnoise.conf";
    enable = true;
    path = with pkgs; [pipewire rnnoise-plugin];
  };
}

That can probably be simplified a bit, AFAIK pipewire recently sprouted support for config fragments.

I have implemented the package and the module, but I'm still having problems to get it to work as expected.
Package
{
  lib,
  pkgs,
  fetchurl,
  fetchFromGitHub,
  rustPlatform,
}:
with lib;
  rustPlatform.buildRustPackage rec {
    pname = "deep-filter-ladspa";
    version = "0.5.0";

    src = fetchFromGitHub {
      owner = "Rikorose";
      repo = "DeepFilterNet";
      rev = "a76dbcb540e177ba94dd560809fd6af496b18913";
      sha256 = "sha256-q+SB6lxDd7V+UJW5WCGu0xfDIq4IFUQR6l4R4/lozmE=";
    };

    cargoLock = let
      baseUrl = "https://raw.githubusercontent.com/Rikorose/DeepFilterNet";
      sha256 = "sha256-vf5l44eg7QFEdrnqSjgvaf/iiXeBjbK4SceAaMGltyk=";
      url = "${baseUrl}/${src.rev}/Cargo.lock";
    in {
      lockFile = fetchurl {inherit url sha256;};
      outputHashes = {
        "hdf5-0.8.1" = "sha256-TQaIgu2ww/2HTaJC7q/lLWjTdSwIJ2G2RvO0WS5mfcM=";
      };
    };

    buildAndTestSubdir = "ladspa";
    postInstall = ''
      mv $out/lib $out/ladspa
      mkdir $out/lib
      mv $out/ladspa $out/lib
    '';

    nativeBuildInputs = with pkgs; [alsa-lib cmake pkg-config python3];
    patches = [./patches/remove-nightly-req.patch];

    meta = {
      description = "DeepFilterNet LADSPA Plugin";
      platform = platforms.all;
      license = licenses.mit;
    };
  }

Module
{
  config,
  lib,
  pkgs,
  ...
}:
with lib; let
  cfg = config.services.deep-filter-ladspa;
  pkg = pkgs.deep-filter-ladspa;
  conf-prefix = "pipewire/pipewire.conf.d";
  sink-file = "deep-filter-stereo-sink.conf";
  source-file = "deep-filter-mono-source.conf";
in {
  options.services.deep-filter-ladspa = {
    enable = mkEnableOption (mdDoc "deep-filter-ladspa");

    sink = {
      enable = mkEnableOption (mdDoc ''
        Enables the DeepFilter Stereo Sink.
      '');

      attenuation = mkOption {
        description = mdDoc ''
          Defines the attenuation limit (in dB).
        '';
        type = types.float;
        default = 100.0;
      };
    };

    source = {
      enable = mkEnableOption (mdDoc ''
        Enables the DeepFilter Mono Source.
      '');

      attenuation = mkOption {
        description = mdDoc ''
          Defines the attenuation limit (in dB).
        '';
        type = types.float;
        default = 100.0;
      };
    };
  };

  config = mkIf cfg.enable {
    environment.systemPackages = [pkg];
    environment.etc."${conf-prefix}/${sink-file}" = mkIf cfg.sink.enable {
      source = (pkgs.formats.json {}).generate sink-file {
        "context.modules" = [
          {
            "name" = "libpipewire-module-filter-chain";
            "args" = {
              "node.description" = "DeepFilter Noise Cancelling Sink";
              "media.name" = "DeepFilter Noise Cancelling Sink";
              "filter.graph" = {
                "nodes" = [
                  {
                    "type" = "ladspa";
                    "name" = "DeepFilter Stereo";
                    "plugin" = "${pkg}/lib/ladspa/libdeep_filter_ladspa.so";
                    "label" = "deep_filter_stereo";
                    "control" = {
                      "Attenuation Limit (dB)" = cfg.sink.attenuation;
                    };
                  }
                ];
              };
              "audio.rate" = 48000;
              "capture.props" = {
                "node.name" = "deep_filter_stereo_output";
                "node.passive" = true;
              };
              "playback.props" = {
                "node.name" = "deep_filter_stereo_input";
                "media.class" = "Audio/Sink";
              };
            };
          }
        ];
      };
    };

    environment.etc."${conf-prefix}/${source-file}" = mkIf cfg.source.enable {
      source = (pkgs.formats.json {}).generate source-file {
        "context.modules" = [
          {
            "name" = "libpipewire-module-filter-chain";
            "args" = {
              "node.description" = "DeepFilter Noise Cancelling Source";
              "media.name" = "DeepFilter Noise Cancelling Source";
              "filter.graph" = {
                "nodes" = [
                  {
                    "type" = "ladspa";
                    "name" = "DeepFilter Mono";
                    "plugin" = "${pkg}/lib/ladspa/libdeep_filter_ladspa.so";
                    "label" = "deep_filter_mono";
                    "control" = {
                      "Attenuation Limit (dB)" = cfg.source.attenuation;
                    };
                  }
                ];
              };
              "audio.rate" = 48000;
              "capture.props" = {
                "node.name" = "deep_filter_mono_input";
                "node.passive" = true;
              };
              "playback.props" = {
                "node.name" = "deep_filter_mono_output";
                "media.class" = "Audio/Source";
              };
            };
          }
        ];
      };
    };
  };
}

FYI https://github.com/NixOS/nixpkgs/pull/240048

The package was added in #276460


JBPM-5423: remove singleResult flag from QueryFilter

@rsynek there was compilation failure in jbpm after applying this, I created PR to fix it https://github.com/droolsjbpm/jbpm/pull/690

@mswiderski thanks, once https://github.com/droolsjbpm/jbpm/pull/690 is merged, I will update the original https://github.com/droolsjbpm/jbpm/pull/682.


258 security issue

アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:46]
We won’t custody partner funds
アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:46]
Don’t want that liability
アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:47]
Technically if they mint our stablecoin we will do a version of custody but that’s beyond the scope of this conversation lol
アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:48]
Whitelist is not a good approach that doesn’t scale
アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:49]
We should think of an architecture that allows people to use devpool permissionlessly
アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:49]
I mean, sure it could be a temporary fix but we should have a discussion and come up with a better idea. I’m sure it won’t be complicated to implement; just requires a little research
アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:51]
I made the tutorial page for permits for the reason that partners should be able to set up their own automated payments
アレクサンダー.eth | U B I Q U I T Y, [Apr 12, 2023 at 08:51]
Automatic payments in pretty sure was only in the alpha milestone of the bot


Running out of Gas when attempting to bond

Used the gas limit(650K) and gas price suggested by metamask and ran out of gas.

Only thing I can think of is maybe the gas limit calculation is off because it includes 20rounds of claims?
Edit: Nope, manually raised the gas limit to 750,000 and that worked and it used fewer gas than the previous

I also saw that we have run out of gas on the default initializeRound() txn lately, despite it using slightly less than the offered gas. I think we should address this by increasing the default offered gas for:

bond(): 750000
initializeRound(): 3200000

@dob PR #237 fixes this so I'm closing.


GH-37568: [MATLAB] Implement isequal for the arrow.tabular.Schema MATLAB class

Rationale for this change
Following on to https://github.com/apache/arrow/pull/37474, https://github.com/apache/arrow/pull/37446, and https://github.com/apache/arrow/pull/37525, we should implement isequal for the arrow.tabular.Schema MATLAB class.

What changes are included in this PR?

Updated arrow.tabular.Schema class to inherit from matlab.mixin.Scalar.
Added isequal method to arrow.tabular.Schema.

Are these changes tested?
Yes. Added isequal unit tests to tSchema.m
Are there any user-facing changes?
Yes. Users can now compare two arrow.tabular.Schema objects via isequal.
Example
>> schema1 = arrow.schema([arrow.field("A", arrow.uint8), arrow.field("B", arrow.uint16)]);
>> schema2 = arrow.schema([arrow.field("A", arrow.uint8), arrow.field("B", arrow.uint16)]);
>> schema3 = arrow.schema([arrow.field("A", arrow.uint8)]);

>> isequal(schema1, schema2)

ans =

  logical

   1

>> isequal(schema1, schema3)

ans =

  logical

   0

Future Directions

#37570

Closes: #37568

+1


API output best Torrent for selected quality

Maybe make the API select only the best torrent for the selected episode / quality instead of showing multi provider and let Popcorn Time select the torrent

Fixed as of 5d710b3d33ef1d0a0bf5cf11345b1043bb46fccc.


Migrate federalist app deployment pipeline to Concourse

In order to complete the Pages SCR, we need to migrate the deployment pipeline from CircleCI to Concourse for the federalist
Acceptance Criteria

[x] Given the federalist app has a PR, it will run all CI/CD jobs and tasks from concourse, not CircleCI
[x] Given a PR is merged into staging branch, it will run the test suite and deploy the app as Pages to staging
[x] Given a PR is merged into main branch, it will run the test suite and deploy the app to production as Federalist
[x] The CircleCi pipeline and configuration is removed

Security considerations
Needed for SCR
Implementation sketch

[x] Create Concourse pipeline in production Concourse and remove pipeline from staging Concourse (https://github.com/18F/federalist/pull/3894)
[x] Add metrics deployment to staging (https://github.com/18F/federalist/blob/staging/apps/metrics/ci/pipeline.yml)
[x] Deploy Pages staging to Concourse (https://github.com/18F/federalist/pull/3894)
[x] Remove the staging Circle CI (https://github.com/18F/federalist/pull/3894)
[x] Deploy Federalist production to Concourse
[x] Remove the .circleci directory from the source code and remove the pipeline from CircleCI app

Closed by https://github.com/18F/federalist/pull/3903 and https://github.com/18F/federalist/pull/3901


Add lint to workflows

Describe the task
Add frontend lint analysis to PRs;
Acceptance Criteria

[ ] lint task added.

Additional context

None;

@DerekRoberts maybe we can teamup for this one?

low priority, will do post release


ERROR   tls.obtain  could not get certificate from issuer

I used this module and when i run caddy with my Caddyfile, i creates the _txt file alright but errors out
> 2023/11/20 15:12:16.620 ERROR   tls.obtain      could not get certificate from issuer   {"identifier": "apps.FOO.com", "issuer": "acme-staging-v02.api.letsencrypt.org-directory", "error": "[apps.FOO.com] solving challenges: waiting for solver certmagic.solverWrapper to be ready: timed out waiting for record to fully propagate; verify DNS provider configuration is correct - last error: <nil> (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/126120754/12404642644) (ca=https://acme-staging-v02.api.letsencrypt.org/directory)"}
my Caddyfile (redacted)
{
    # email to use on Let's Encrypt
    email<EMAIL_ADDRESS>
    # Uncomment for debug
    acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
    acme_dns godaddy 123456
    debug
}

apps.FOO.com {
   reverse_proxy http://<IP_ADDRESS>:8069
}

Having the same problem. Only with the godaddy implementation.
Other dns-challenge plugins work perfectly fine

adding a resolver to the tls block did not help as well

Having the same issue

Godaddy one isn't reliable, i'm just gonna switch over to cloudflare


instead of .csv us a .shp format

We just need to change format identifier to .shp to get the result in .shp format
I am getting some error when debugging.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~/sdg_indicators_module/component/tile/sdg_15_3_1.py in start_process(self, widget, data, event)
     75         # create the csv result
     76         stats = cs.compute_zonal_analysis(self.aoi_io, self.io, self.output)
---> 77         self.result_tile.csv_btn.set_url(str(stats))
     78
     79         # get the result map

AttributeError: 'DownloadBtn' object has no attribute 'set_url'

We just need to change format identifier to .shp to get the result in .shp format
I am getting some error when debugging.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~/sdg_indicators_module/component/tile/sdg_15_3_1.py in start_process(self, widget, data, event)
     75         # create the csv result
     76         stats = cs.compute_zonal_analysis(self.aoi_io, self.io, self.output)
---> 77         self.result_tile.csv_btn.set_url(str(stats))
     78
     79         # get the result map

AttributeError: 'DownloadBtn' object has no attribute 'set_url'

It's because your version of sepal_ui is outdated. Thats why I was assigning this task to me. I am currently working on it so please just comment the output.

It's because your version of sepal_ui is outdated. Thats why I was assigning this task to me. I am currently working on it so please just comment the output.


Delete all temporary cookies & user-associated temporary session data on logout

/logout now:

responds with JSON if requested

note JSON implies the UI is handling cookie management and so will not remove the login cookie like HTML does

deletes all user-associated temporary session data (e.g. account linking data. Login data isn't associated with a particular user and so is not deleted).
removes all temporary link and login cookies

Additionally all temporary login and link cookies are now session cookies so they're removed when the browser is closed. The server side expiration times remain unchanged.

@eapearson

Codecov Report

Merging #225 into develop will increase coverage by <.01%.
The diff coverage is 94.87%.

@@              Coverage Diff              @@
##             develop     #225      +/-   ##
=============================================
+ Coverage      88.39%   88.39%   +<.01%
- Complexity      1884     1886       +2
=============================================
  Files            118      118
  Lines           6696     6715      +19
  Branches        1079     1078       -1
=============================================
+ Hits            5919     5936      +17
- Misses           713      715       +2
  Partials          64       64