acl: @replication command group

Currently the documentation says:
# […]
# However this is not enough if you are using KeyDB ACLs (for Redis version
# 6 or greater), and the default user is not capable of running the PSYNC
# command and/or other commands needed for replication. In this case it's
# better to configure a special user to use with replication, and specify the
# masteruser configuration as such:
#
# masteruser <username>

Well, great but what are the "other commands needed for replication" ?
I dug a bit and found that needed commands are:

psync
ping
replconf

So I propose to create a group called @replication (or whatever) which would contain all the "needed commands for replication".
I also included the old command "sync" but I don't know if really necessary.
notes
I am not a keydb developer and build this list from what I understood of the code.
I may be wrong.
I also post this PR on the redis repo: https://github.com/antirez/redis/pull/7180

It makes sense.  I like it, and I don't understand why Antirez did not apply it.  I want to do a little followup before applying it.
Also the ARM cluster tests are unreliable, don't worry about those.

I can't see a reason not to apply this and it appears useful.  It will make it in to 6.0.


Add buildspec and dockerise API

Approved, but we should consider moving to esbuild in line with the other projects in the future


Trying to break or build in a claim causes items and durability to be changed client side, and updating the stack visually restores it

Expected behavior
Trying to build in a claim would not cause the blocks in my inventory to visually count down, and breaking things with a tool shouldn't cause the tool to lose durability client side.
Observed/actual behavior
Visually the stack count and durability decreases.
Steps/models to reproduce

Go in a claim
Try to build or break block with a tool

Version
Version 1.2.1
Agreements

[X] I am running the latest version of the mod.
[X] My version of Minecraft is supported.
[X] I have searched for and ensured there isn't already an open issue regarding this.

Other
No response

Hi, I'm aware of this issue and it is unintended behavior. However, I'm not entirely sure on the best way to go about solving this. If anyone knows how to send inventory update packets etc. I would love some input on this. Cheers for the issue


Update promapp-provisioning-tutorial.md

Please update the text as requested. Let me know if you need more details or clarifications.
Thanks,
Anu

@zchia Could you review this pull request? Thank you.

@zchia - I see a merge conflict in the PR that can't be resolved, but would you implement this customer change in the documentation if you approve it? Thanks!


Core update schematic should update Typescript

🚀 Feature request
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[X] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
Update schematic should update TypeScript dependency too. Changelog for current Angular Core says that TypeScript was updated to version 3.8 but the schematic is not taking care of that.

Describe the solution you'd like
Angular core schematic should update Typescript for the required version, update package.json and notify in update log. I don't know if the same approach for RxJS update it's better or not, something like: ng update typescript.
Describe alternatives you've considered
The only workaround is to update via npm but that could lead to some issues.

Using TypeScript 3.8 with Angular 9.1 is opt-in for existing projects.
In some cases update TypeScript to a different minor might cause a previously working project to break. This would not be ideal especially when updating from one minor to another of the Angular framework.
Angular 9.1 still supports TypeScript 3.7, so not updating TypeScript in this case is the better approach IMHO.

Closing as per above.


Unable to patch default config file spigot.yml

Describe the problem
Currently, it is not possible to patch default configuration files that are supposed to be located outside the /data/config directory, such as the spigot.yml file.
The spigot.yml file is downloaded as part of the default configuration files:
https://github.com/itzg/docker-minecraft-server/blob/05cbbfc9e3c15635d76368bf4e887fbcdc3a6dc1/scripts/start-deployPaper#L46-L48
Unfortunately, all default configuration files (so even if I add some more by providing the DOWNLOAD_DEFAULT_CONFIGS environment variable with additional files) are put in the /data/config directory:
https://github.com/itzg/docker-minecraft-server/blob/05cbbfc9e3c15635d76368bf4e887fbcdc3a6dc1/scripts/start-setupEnvVariables#L30-L38
However, only the paper-global.yml and paper-world-defaults.yml files belong to the /data/config directory. The spigot.yml file and all other default configuration files that you may want to patch must be put in the /data directory, which is not the case at the moment.
Container definition
docker run -d -e DEBUG=true -e EULA=true -e TYPE=PAPER -e VERSION=1.21.1 -e PATCH_DEFINITIONS=/patches -v ./patches:/patches itzg/minecraft-server

File patches/spigot.yml.patch.json:
{
  "file": "/data/spigot.yml",
  "ops": [
    {
      "$set": {
        "path": "$.settings.bungeecord",
        "value": true
      }
    }
  ]
}

This patch does not work because /data/spigot.yml does not exist.
File patches/spigot2.yml.patch.json:
{
  "file": "/data/config/spigot.yml",
  "ops": [
    {
      "$set": {
        "path": "$.settings.bungeecord",
        "value": true
      }
    }
  ]
}

This patch works because the default spigot.yml file is put in /data/config, but it remains there and is not used by the server. Instead, the server generates a new file at /data/spigot.yml, as can be seen here (check settings.bungeecord):
root@c97b65306078 ~
❯ cat spigot.yml
# This is the main configuration file for Spigot.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
# For a reference for any variable inside this file, check out the Spigot wiki at
# http://www.spigotmc.org/wiki/spigot-configuration/
#
# If you need help with the configuration or have any questions related to Spigot,
# join us at the Discord or drop by our forums and leave a post.
#
# Discord: https://www.spigotmc.org/go/discord
# Forums: http://www.spigotmc.org/

settings:
  debug: false
  bungeecord: false
  save-user-cache-on-stop-only: false
  sample-count: 12
  player-shuffle: 0
  user-cache-size: 1000
  moved-wrongly-threshold: 0.0625
  moved-too-quickly-multiplier: 10.0
  timeout-time: 60
  restart-on-crash: true
  restart-script: ./start.sh
  netty-threads: 4
  attribute:
    maxAbsorption:
      max: 2048.0
    maxHealth:
      max: 2048.0
    movementSpeed:
      max: 2048.0
    attackDamage:
      max: 2048.0
  log-villager-deaths: true
  log-named-deaths: true
messages:
  whitelist: You are not whitelisted on this server!
  unknown-command: Unknown command. Type "/help" for help.
  server-full: The server is full!
  outdated-client: Outdated client! Please use {0}
  outdated-server: Outdated server! I'm still on {0}
  restart: Server is restarting
commands:
  tab-complete: 0
  send-namespaced: true
  log: true
  spam-exclusions:
  - /skill
  silent-commandblock-console: false
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
world-settings:
  default:
    below-zero-generation-in-existing-chunks: true
    view-distance: default
    simulation-distance: default
    merge-radius:
      item: 0.5
      exp: -1.0
    mob-spawn-range: 8
    item-despawn-rate: 6000
    arrow-despawn-rate: 1200
    trident-despawn-rate: 1200
    zombie-aggressive-towards-villager: true
    nerf-spawner-mobs: false
    enable-zombie-pigmen-portal-spawns: true
    wither-spawn-sound-radius: 0
    end-portal-sound-radius: 0
    hanging-tick-frequency: 100
    thunder-chance: 100000
    unload-frozen-chunks: false
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      beetroot-modifier: 100
      carrot-modifier: 100
      potato-modifier: 100
      torchflower-modifier: 100
      wheat-modifier: 100
      netherwart-modifier: 100
      vine-modifier: 100
      cocoa-modifier: 100
      bamboo-modifier: 100
      sweetberry-modifier: 100
      kelp-modifier: 100
      twistingvines-modifier: 100
      weepingvines-modifier: 100
      cavevines-modifier: 100
      glowberry-modifier: 100
      pitcherplant-modifier: 100
    entity-activation-range:
      animals: 32
      monsters: 32
      raiders: 64
      misc: 16
      water: 16
      villagers: 32
      flying-monsters: 32
      wake-up-inactive:
        animals-max-per-tick: 4
        animals-every: 1200
        animals-for: 100
        monsters-max-per-tick: 8
        monsters-every: 400
        monsters-for: 100
        villagers-max-per-tick: 4
        villagers-every: 600
        villagers-for: 100
        flying-monsters-max-per-tick: 8
        flying-monsters-every: 200
        flying-monsters-for: 100
      villagers-work-immunity-after: 100
      villagers-work-immunity-for: 20
      villagers-active-for-panic: true
      tick-inactive-villagers: true
      ignore-spectators: false
    entity-tracking-range:
      players: 128
      animals: 96
      monsters: 96
      misc: 96
      display: 128
      other: 64
    ticks-per:
      hopper-transfer: 8
      hopper-check: 1
    hopper-amount: 1
    hopper-can-load-chunks: false
    dragon-death-sound-radius: 0
    seed-village: 10387312
    seed-desert: 14357617
    seed-igloo: 14357618
    seed-jungle: 14357619
    seed-swamp: 14357620
    seed-monument: 10387313
    seed-shipwreck: 165745295
    seed-ocean: 14357621
    seed-outpost: 165745296
    seed-endcity: 10387313
    seed-slime: 987234911
    seed-nether: 30084232
    seed-mansion: 10387319
    seed-fossil: 14357921
    seed-portal: 34222645
    seed-ancientcity: 20083232
    seed-trailruins: 83469867
    seed-trialchambers: 94251327
    seed-buriedtreasure: 10387320
    seed-mineshaft: default
    seed-stronghold: default
    hunger:
      jump-walk-exhaustion: 0.05
      jump-sprint-exhaustion: 0.2
      combat-exhaustion: 0.1
      regen-exhaustion: 6.0
      swim-multiplier: 0.01
      sprint-multiplier: 0.1
      other-multiplier: 0.0
    max-tnt-per-tick: 100
    max-tick-time:
      tile: 50
      entity: 50
    verbose: false
players:
  disable-saving: false
config-version: 12
stats:
  disable-saving: false
  forced-stats: {}

root@c97b65306078 ~
❯ cat /data/config/spigot.yml
messages:
  whitelist: You are not whitelisted on this server!
  unknown-command: Unknown command. Type "/help" for help.
  server-full: The server is full!
  outdated-client: "Outdated client! Please use {0}"
  outdated-server: "Outdated server! I'm still on {0}"
  restart: Server is restarting
settings:
  bungeecord: true
  netty-threads: 4
  attribute:
    maxAbsorption:
      max: 2048.0
    maxHealth:
      max: 2048.0
    movementSpeed:
      max: 2048.0
    attackDamage:
      max: 2048.0
  log-villager-deaths: true
  log-named-deaths: true
  player-shuffle: 0
  user-cache-size: 1000
  moved-wrongly-threshold: 0.0625
  moved-too-quickly-multiplier: 10.0
  timeout-time: 60
  restart-on-crash: true
  restart-script: ./start.sh
  save-user-cache-on-stop-only: false
  sample-count: 12
  debug: false
commands:
  tab-complete: 0
  send-namespaced: true
  log: true
  spam-exclusions:
  - /skill
  silent-commandblock-console: false
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
players:
  disable-saving: false
world-settings:
  default:
    below-zero-generation-in-existing-chunks: true
    view-distance: default
    simulation-distance: default
    thunder-chance: 100000
    merge-radius:
      item: 0.5
      exp: -1.0
    mob-spawn-range: 8
    item-despawn-rate: 6000
    arrow-despawn-rate: 1200
    trident-despawn-rate: 1200
    zombie-aggressive-towards-villager: true
    nerf-spawner-mobs: false
    enable-zombie-pigmen-portal-spawns: true
    wither-spawn-sound-radius: 0
    end-portal-sound-radius: 0
    hanging-tick-frequency: 100
    unload-frozen-chunks: false
    growth:
      cactus-modifier: 100
      cane-modifier: 100
      melon-modifier: 100
      mushroom-modifier: 100
      pumpkin-modifier: 100
      sapling-modifier: 100
      beetroot-modifier: 100
      carrot-modifier: 100
      potato-modifier: 100
      torchflower-modifier: 100
      wheat-modifier: 100
      netherwart-modifier: 100
      vine-modifier: 100
      cocoa-modifier: 100
      bamboo-modifier: 100
      sweetberry-modifier: 100
      kelp-modifier: 100
      twistingvines-modifier: 100
      weepingvines-modifier: 100
      cavevines-modifier: 100
      glowberry-modifier: 100
      pitcherplant-modifier: 100
    entity-activation-range:
      animals: 32
      monsters: 32
      raiders: 64
      misc: 16
      water: 16
      villagers: 32
      flying-monsters: 32
      wake-up-inactive:
        animals-max-per-tick: 4
        animals-every: 1200
        animals-for: 100
        monsters-max-per-tick: 8
        monsters-every: 400
        monsters-for: 100
        villagers-max-per-tick: 4
        villagers-every: 600
        villagers-for: 100
        flying-monsters-max-per-tick: 8
        flying-monsters-every: 200
        flying-monsters-for: 100
      villagers-work-immunity-after: 100
      villagers-work-immunity-for: 20
      villagers-active-for-panic: true
      tick-inactive-villagers: true
      ignore-spectators: false
    entity-tracking-range:
      players: 128
      animals: 96
      monsters: 96
      misc: 96
      display: 128
      other: 64
    ticks-per:
      hopper-transfer: 8
      hopper-check: 1
    hopper-amount: 1
    hopper-can-load-chunks: false
    dragon-death-sound-radius: 0
    seed-village: 10387312
    seed-desert: 14357617
    seed-igloo: 14357618
    seed-jungle: 14357619
    seed-swamp: 14357620
    seed-monument: 10387313
    seed-shipwreck: 165745295
    seed-ocean: 14357621
    seed-outpost: 165745296
    seed-endcity: 10387313
    seed-slime: 987234911
    seed-nether: 30084232
    seed-mansion: 10387319
    seed-fossil: 14357921
    seed-portal: 34222645
    seed-ancientcity: 20083232
    seed-trailruins: 83469867
    seed-trialchambers: 94251327
    seed-buriedtreasure: 10387320
    seed-mineshaft: default
    seed-stronghold: default
    hunger:
      jump-walk-exhaustion: 0.05
      jump-sprint-exhaustion: 0.2
      combat-exhaustion: 0.1
      regen-exhaustion: 6.0
      swim-multiplier: 0.01
      sprint-multiplier: 0.1
      other-multiplier: 0.0
    max-tnt-per-tick: 100
    max-tick-time:
      tile: 50
      entity: 50
    verbose: false
config-version: 12
stats:
  disable-saving: false
  forced-stats: {}

Container logs
+ export HOME=/data
+ HOME=/data
++ id -u
++ id -g
++ ls -lnd /data
+ log 'Running as uid=1000 gid=1000 with /data as '\''drwxr-x--- 1 1000 1000 0 Dec 14 21:39 /data'\'''
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2024-12-26 12:13:56+00:00 Running as uid=1000 gid=1000 with /data as 'drwxr-x--- 1 1000 1000 0 Dec 14 21:39 /data'
+ '[' '!' -e /data/eula.txt ']'
+ isTrue true
+ case "${1,,}" in
+ return 0
+ writeEula
++ date
+ echo '# Generated via Docker
# Thu Dec 26 12:13:56 PM UTC 2024
eula=true
'
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue true
+ case "${1,,}" in
+ return 0
+ set +x
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n '' ]]
+ fixJavaPath
+ which java
+ cd /data
+ export DECLARED_TYPE=PAPER
+ DECLARED_TYPE=PAPER
+ export DECLARED_VERSION=1.21.1
+ DECLARED_VERSION=1.21.1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ : ''
+ [[ -n '' ]]
+ case "${TYPE^^}" in
+ [[ -n '' ]]
+ log 'Resolving type given PAPER'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2024-12-26 12:13:56+00:00 Resolving type given PAPER
+ case "${TYPE^^}" in
+ exec /start-deployPaper
+ : paper
+ : ''
+ : default
+ : ''
+ : ''
+ : https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main
+ resultsFile=/data/.paper.env
+ [[ -n '' ]]
+ [[ -n '' ]]
+ args=(--output-directory=/data --results-file="$resultsFile" --project="$PAPER_PROJECT" --version="$VERSION" --channel="$PAPER_CHANNEL")
+ [[ -n '' ]]
+ mc-image-helper install-paper --output-directory=/data --results-file=/data/.paper.env --project=paper --version=1.21.1 --channel=default
[mc-image-helper] 12:13:57.116 DEBUG : Retrieving latest build for project=paper, version=1.21.1
[mc-image-helper] 12:13:57.385 DEBUG : JSON FETCH: uri=https://api.papermc.io/v2/projects/paper/versions/1.21.1/builds headers=[user-agent: itzg/mc-image-helper/1.40.6 (cmd=install-paper), x-fetch-session: f814b8de-1173-44d7-bfa3-17a6fe5ff227, accept: application/json, host: api.papermc.io]
[mc-image-helper] 12:13:57.562 DEBUG : JSON FETCH: uri=https://api.papermc.io/v2/projects/paper/versions/1.21.1/builds/132 headers=[user-agent: itzg/mc-image-helper/1.40.6 (cmd=install-paper), x-fetch-session: f814b8de-1173-44d7-bfa3-17a6fe5ff227, accept: application/json, host: api.papermc.io]
[mc-image-helper] 12:13:57.634 DEBUG : Downloading /data/paper-1.21.1-132.jar
[mc-image-helper] 12:13:57.634 DEBUG : FILE FETCH: uri=https://api.papermc.io/v2/projects/paper/versions/1.21.1/builds/132/downloads/paper-1.21.1-132.jar headers=[user-agent: itzg/mc-image-helper/1.40.6 (cmd=install-paper), x-fetch-session: f814b8de-1173-44d7-bfa3-17a6fe5ff227, host: api.papermc.io, accept: */*]
[mc-image-helper] 12:14:07.472 INFO  : Downloaded /data/paper-1.21.1-132.jar
[mc-image-helper] 12:14:07.476 DEBUG : Download of https://api.papermc.io/v2/projects/paper/versions/1.21.1/builds/132/downloads/paper-1.21.1-132.jar took 9s 842ms at 5017 KB/s
[mc-image-helper] 12:14:07.479 DEBUG : Writing SERVER="/data/paper-1.21.1-132.jar" to results file
[mc-image-helper] 12:14:07.479 DEBUG : Writing TYPE="PAPER" to results file
[mc-image-helper] 12:14:07.479 DEBUG : Writing VERSION="1.21.1" to results file
+ applyResultsFile /data/.paper.env
+ set -a
+ source /data/.paper.env
++ SERVER=/data/paper-1.21.1-132.jar
++ TYPE=PAPER
++ VERSION=1.21.1
+ set +a
+ for c in paper-global.yml paper-world-defaults.yml spigot.yml
+ DOWNLOAD_DEFAULT_CONFIGS+=,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-global.yml
+ for c in paper-global.yml paper-world-defaults.yml spigot.yml
+ DOWNLOAD_DEFAULT_CONFIGS+=,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-world-defaults.yml
+ for c in paper-global.yml paper-world-defaults.yml spigot.yml
+ DOWNLOAD_DEFAULT_CONFIGS+=,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/spigot.yml
+ export DOWNLOAD_DEFAULT_CONFIGS
+ export FAMILY=SPIGOT
+ FAMILY=SPIGOT
+ exec /start-spiget
+ : ''
+ : 5
+ : false
+ : ''
+ : '*.jar,*-version.json'
+ : '1 '
+ acceptArgs=(--accept application/zip --accept application/java-archive --accept application/octet-stream)
+ [[ -n '' ]]
+ exec /start-setupWorld
+ [[ world =~ ^/.*$ ]]
+ '[' PAPER = CURSEFORGE ']'
+ worldDest=/data/world
+ [[ -n '' ]]
+ exec /start-setupDatapack
+ out_dir=/data/world/datapacks
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ exec /start-setupModpack
+ CURSE_URL_BASE=https://minecraft.curseforge.com/projects
+ isTrue false
+ case "${1,,}" in
+ return 1
+ handlePackwiz
+ [[ -n '' ]]
+ handleModpackZip
+ [[ -n '' ]]
+ handleListings
+ usesMods
+ case "$FAMILY" in
+ return 1
+ usesPlugins
+ case "$FAMILY" in
+ return 0
+ outDir=/data/mods
+ usesPlugins
+ case "$FAMILY" in
+ return 0
+ outDir=/data/plugins
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ handleGenericPacks
+ : ''
+ : ''
+ : ''
+ [[ -n '' ]]
+ handleModrinthProjects
+ : ''
+ : release
+ : none
+ [[ -v MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES ]]
+ [[ -n '' ]]
+ usesMods
+ case "$FAMILY" in
+ return 1
+ usesPlugins
+ case "$FAMILY" in
+ return 0
+ handleCurseForgeFiles
+ args=()
+ usesMods
+ case "$FAMILY" in
+ return 1
+ usesPlugins
+ case "$FAMILY" in
+ return 0
+ usesMods
+ case "$FAMILY" in
+ return 1
+ args+=(--default-category bukkit-plugins)
+ case "${TYPE,,}" in
+ isFamily HYBRID
+ for f in "${@}"
+ [[ SPIGOT == \H\Y\B\R\I\D ]]
+ return 1
+ mc-image-helper curseforge-files --default-category bukkit-plugins
+ [[ -n '' ]]
+ exec /start-setupMounts
+ isTrue true
+ case "${1,,}" in
+ return 0
+ updateArg=--skip-newer-in-destination
+ isTrue true
+ case "${1,,}" in
+ return 0
+ subcommand=sync-and-interpolate
+ : /plugins
+ : /data/plugins
+ usesPlugins
+ case "$FAMILY" in
+ return 0
+ '[' -d /plugins ']'
+ : /mods
+ : /data/mods
+ usesMods
+ case "$FAMILY" in
+ return 1
+ : /config
+ : /data/config
+ '[' -d /config ']'
+ exec /start-setupServerProperties
[init] 2024-12-26 12:14:08+00:00 Creating server properties in /data/server.properties
[init] 2024-12-26 12:14:08+00:00 Disabling whitelist functionality
+ mc-image-helper set-properties --definitions /image/property-definitions.json /data/server.properties
[mc-image-helper] 12:14:08.431 DEBUG : Setting property enable-rcon to new value 'true'
[mc-image-helper] 12:14:08.431 DEBUG : Setting property rcon.password to new value '***'
[mc-image-helper] 12:14:08.431 DEBUG : Setting property rcon.port to new value '25575'
[mc-image-helper] 12:14:08.431 DEBUG : Setting property white-list to new value 'false'
[mc-image-helper] 12:14:08.431 INFO  : Created/updated 4 properties in /data/server.properties
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ exec /start-setupEnvVariables
+ : false
+ : /data
+ : yml,yaml,txt,cfg,conf,properties,hjson,json,tml,toml
+ : CFG_
+ : ''
+ : ''
+ : /patches
+ : true
+ : ,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-global.yml,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-world-defaults.yml,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/spigot.yml
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n ,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-global.yml,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-world-defaults.yml,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/spigot.yml ]]
+ log 'Downloading default configs, if needed'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2024-12-26 12:14:08+00:00 Downloading default configs, if needed
+ mc-image-helper mcopy --to /data/config --skip-existing --skip-up-to-date=false ,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-global.yml,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-world-defaults.yml,https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/spigot.yml
[mc-image-helper] 12:14:09.033 INFO  : Downloading /data/config/paper-global.yml from https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-global.yml
[mc-image-helper] 12:14:09.033 INFO  : Downloading /data/config/spigot.yml from https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/spigot.yml
[mc-image-helper] 12:14:09.033 INFO  : Downloading /data/config/paper-world-defaults.yml from https://raw.githubusercontent.com/dayyeeet/minecraft-default-configs/main/1.21.1/paper-world-defaults.yml
+ [[ -n /patches ]]
+ log 'Applying patch definitions from /patches'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2024-12-26 12:14:09+00:00 Applying patch definitions from /patches
+ mc-image-helper patch --patch-env-prefix=CFG_ /patches
[mc-image-helper] 12:14:09.743 DEBUG : patchSet=PatchSet(patches=[PatchDefinition(file=/data/spigot.yml, fileFormat=null, ops=[PatchSetOperation(path=$.settings.bungeecord, value=true, valueType=null)]), PatchDefinition(file=/data/config/spigot.yml, fileFormat=null, ops=[PatchSetOperation(path=$.settings.bungeecord, value=true, valueType=null)])])
[mc-image-helper] 12:14:09.747 WARN  : /data/spigot.yml is not an existing file
[mc-image-helper] 12:14:09.747 DEBUG : Detected file=/data/config/spigot.yml is yaml
+ exec /start-setupRbac
+ [[ -v APPEND_OPS ]]
+ [[ -v OVERRIDE_OPS ]]
+ [[ -v APPEND_WHITELIST ]]
+ [[ -v OVERRIDE_WHITELIST ]]
+ sharedArgs=(--version="$VERSION")
+ [[ -n '' ]]
+ sharedArgs+=(--output-directory=/data)
+ [[ -v OPS_FILE ]]
+ [[ -v OPS ]]
+ [[ -v WHITELIST_FILE ]]
+ [[ -v WHITELIST ]]
+ exec /start-finalExec
+ baseDataDir=/data
+ tmpServerIconPath=/tmp/icon.img
+ serverIconPath=/data/server-icon.png
+ mcHealthEnvPath=/data/.mc-health.env
+ bootstrapPath=/data/bootstrap.txt
+ '[' -n '' ']'
+ canUseRollingLogs=true
+ useFallbackJvmFlag=false
+ SERVER_DIR=/data
+ [[ -n '' ]]
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
+ false
+ versionLessThan 1.7
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
+ compare_version 1.21.1 lt 1.7
+ local left_version=1.21.1
+ local comparison=lt
+ local right_version=1.7
+ [[ -z 1.21.1 ]]
+ [[ -z 1.7 ]]
+ [[ 1.21.1 == a* ]]
+ [[ 1.21.1 == b* ]]
+ [[ 1.7 == a* ]]
+ [[ 1.7 == b* ]]
+ local left_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ left_version_channel=r
+ local right_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ right_version_channel=r
+ [[ lt == \l\t ]]
+ [[ r < r ]]
+ [[ lt == \l\t ]]
+ [[ r > r ]]
+ [[ lt == \g\t ]]
+ [[ lt == \g\t ]]
+ [[ lt == \l\e ]]
+ [[ lt == \l\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \e\q ]]
+ local result=1
+ case $comparison in
++ echo -e '1.21.1\n1.7'
++ sort -V
++ head -n1
+ [[ 1.7 == \1\.\2\1\.\1 ]]
+ return 1
+ versionLessThan 1.18.1
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
+ compare_version 1.21.1 lt 1.18.1
+ local left_version=1.21.1
+ local comparison=lt
+ local right_version=1.18.1
+ [[ -z 1.21.1 ]]
+ [[ -z 1.18.1 ]]
+ [[ 1.21.1 == a* ]]
+ [[ 1.21.1 == b* ]]
+ [[ 1.18.1 == a* ]]
+ [[ 1.18.1 == b* ]]
+ local left_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ left_version_channel=r
+ local right_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ right_version_channel=r
+ [[ lt == \l\t ]]
+ [[ r < r ]]
+ [[ lt == \l\t ]]
+ [[ r > r ]]
+ [[ lt == \g\t ]]
+ [[ lt == \g\t ]]
+ [[ lt == \l\e ]]
+ [[ lt == \l\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \e\q ]]
+ local result=1
+ case $comparison in
++ echo -e '1.21.1\n1.18.1'
++ sort -V
++ head -n1
+ [[ 1.18.1 == \1\.\2\1\.\1 ]]
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ versionLessThan 1.14
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
+ compare_version 1.21.1 lt 1.14
+ local left_version=1.21.1
+ local comparison=lt
+ local right_version=1.14
+ [[ -z 1.21.1 ]]
+ [[ -z 1.14 ]]
+ [[ 1.21.1 == a* ]]
+ [[ 1.21.1 == b* ]]
+ [[ 1.14 == a* ]]
+ [[ 1.14 == b* ]]
+ local left_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ left_version_channel=r
+ local right_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ right_version_channel=r
+ [[ lt == \l\t ]]
+ [[ r < r ]]
+ [[ lt == \l\t ]]
+ [[ r > r ]]
+ [[ lt == \g\t ]]
+ [[ lt == \g\t ]]
+ [[ lt == \l\e ]]
+ [[ lt == \l\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \e\q ]]
+ local result=1
+ case $comparison in
++ echo -e '1.21.1\n1.14'
++ sort -V
++ head -n1
+ [[ 1.14 == \1\.\2\1\.\1 ]]
+ return 1
+ [[ '' = false ]]
+ expandedDOpts=
+ '[' -n '' ']'
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ [[ -n 1G ]]
+ log 'Setting initial memory to 1G and max to 1G'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2024-12-26 12:14:09+00:00 Setting initial memory to 1G and max to 1G
+ [[ -n 1G ]]
+ JVM_OPTS='-Xms1G '
+ [[ -n 1G ]]
+ JVM_OPTS='-Xmx1G -Xms1G '
+ versionLessThan b1.8
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
+ compare_version 1.21.1 lt b1.8
+ local left_version=1.21.1
+ local comparison=lt
+ local right_version=b1.8
+ [[ -z 1.21.1 ]]
+ [[ -z b1.8 ]]
+ [[ 1.21.1 == a* ]]
+ [[ 1.21.1 == b* ]]
+ [[ b1.8 == a* ]]
+ [[ b1.8 == b* ]]
+ right_version=1.8
+ local left_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ left_version_channel=r
+ local right_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ right_version_channel=r
+ [[ lt == \l\t ]]
+ [[ r < r ]]
+ [[ lt == \l\t ]]
+ [[ r > r ]]
+ [[ lt == \g\t ]]
+ [[ lt == \g\t ]]
+ [[ lt == \l\e ]]
+ [[ lt == \l\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \e\q ]]
+ local result=1
+ case $comparison in
++ echo -e '1.21.1\n1.8'
++ sort -V
++ head -n1
+ [[ 1.8 == \1\.\2\1\.\1 ]]
+ return 1
+ versionLessThan 1.7
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
+ compare_version 1.21.1 lt 1.7
+ local left_version=1.21.1
+ local comparison=lt
+ local right_version=1.7
+ [[ -z 1.21.1 ]]
+ [[ -z 1.7 ]]
+ [[ 1.21.1 == a* ]]
+ [[ 1.21.1 == b* ]]
+ [[ 1.7 == a* ]]
+ [[ 1.7 == b* ]]
+ local left_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ left_version_channel=r
+ local right_version_channel=1
+ [[ 1 =~ [0-9] ]]
+ right_version_channel=r
+ [[ lt == \l\t ]]
+ [[ r < r ]]
+ [[ lt == \l\t ]]
+ [[ r > r ]]
+ [[ lt == \g\t ]]
+ [[ lt == \g\t ]]
+ [[ lt == \l\e ]]
+ [[ lt == \l\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \g\e ]]
+ [[ lt == \e\q ]]
+ local result=1
+ case $comparison in
++ echo -e '1.21.1\n1.7'
++ sort -V
++ head -n1
+ [[ 1.7 == \1\.\2\1\.\1 ]]
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ rm -f /data/.mc-health.env
+ mcServerRunnerArgs=(--stop-duration "${STOP_DURATION:-60}s")
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n '' ]]
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ [[ PAPER == \C\U\R\S\E\F\O\R\G\E ]]
+ [[ PAPER == \C\U\R\S\E\F\O\R\G\E ]]
+ [[ /data/paper-1.21.1-132.jar =~ run.sh ]]
+ '[' -f /data/bootstrap.txt ']'
+ log 'Starting the Minecraft server...'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2024-12-26 12:14:09+00:00 Starting the Minecraft server...
+ finalArgs=($JVM_XX_OPTS $JVM_OPTS $expandedDOpts)
+ [[ -n '' ]]
+ finalArgs+=(-jar "$SERVER")
+ finalArgs+=("$@" $EXTRA_ARGS)
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ exec mc-server-runner --stop-duration 60s java -Xmx1G -Xms1G -jar /data/paper-1.21.1-132.jar
Downloading mojang_1.21.1.jar

Since it is kind of related: Note that I explicitly specified VERSION=1.21.1 because dayyeeet/minecraft-default-configs does not host default configuration files for newer versions yet (@dayyeeet). I have created a pull request to add them, along with the configurations that are missing for some older Minecraft versions and automation to keep them up to date for future Paper releases: https://github.com/dayyeeet/minecraft-default-configs/pull/7
Apart from the bug I reported here, my goal would be to also be able to patch the configuration files paper.yml (Minecraft versions older than 1.19) and bukkit.yml, which I also added in my pull request. For example, to consistently enforce configuration settings in relation to Velocity and BungeeCord support. Those files are currently also not considered as default configuration files by this image, but it would be great to add them so they can also be patched right away 🙂

Sorry, there was too much to read. What's the problem to fix? Are you saying the defaults need to download some to non-config directory? Or are you saying patching seems to be limited to /data/config only? But using an absolute path worked around that?

What's the problem to fix? Are you saying the defaults need to download some to non-config directory

Yes. spigot.yml, and potentially other configuration files passed through DOWNLOAD_DEFAULT_CONFIGS, need to be downloaded to the root directory of the server (/data) instead of /data/config.

Or are you saying patching seems to be limited to /data/config only? But using an absolute path worked around that?

No, that is not the problem. I just wanted to demonstrate that there is currently no way to patch spigot.yml if it is not part of a mounted volume. You cannot patch /data/spigot.yml because it is downloaded to /data/config/spigot.yml. If you patch /data/config/spigot.yml, however, the server does not care as it is not in the server's root directory.

I just merged the workflow stuff in the config repo, this should at least resolve on some versions default configs are not being populated.

Thanks for clarifying @Krymonota
Ok yeah, I see now that I need to have it declare the resulting file name relative to /data yet download from the defaults repo using the flattened path.
FYI /data is the volume path and /data/config is just a subdirectory.


Use Universe.Unchanged in Alpha Example Algorithms

Description
In the Coarse Universe Selection of the following algorithms

ContingentClaimsAnalysisDefaultPredictionAlpha
GreenblattMagicFormulaAlpha
PriceGapMeanReversionAlpha
SykesShortMicroCapAlpha

Universe.Unchanged is now used when the universe is not changed instead of saving a list of Symbol and returning it.
Other minor refactoring.
Related Issue
N/A
Motivation and Context
Improve examples.
How Has This Been Tested?
Ran against the previous version. Same results, speed increase.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Maybe instead of requiring this we should detect its unchanged and override the list of symbols to be "unchanged" under the hood? Does the selection function take that much time or is it the creation of the enumerator stacks which slows it down?


Rearrange data in arrays

It should be possible to drag and drop(or similar) entries in an array to move them around

Supported added in RC-8, closing


tests/arch: arm_thread_swap: Increase flash requirement for no_optim ...

...configuration
On most targets, application flash size for no_optimization test
configuration is slightly higher than 128 Kbytes.
Updating requirement to the next upper flash size.
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>This fixes issue reported by shippable in https://github.com/zephyrproject-rtos/zephyr/pull/18806

How does the check patch pass with the commit title truncated?

The title is literally tests/arch: arm_thread_swap: Increase flash requirement for no_optim ... in the commit too, and that's just short enough to not trigger it.
Looks a bit weird though.

How does the check patch pass with the commit title truncated?

The title is literally tests/arch: arm_thread_swap: Increase flash requirement for no_optim ... in the commit too, and that's just short enough to not trigger it.
Looks a bit weird though.

Oh, I thought it was like this due to some truncation :)

This allows to execute the test for boards with exactly 192K, right? E.g. nRF52810_pca10040...

@ioannisg, this is min_flash, so filters out targets with lower flash size (this is used to work this way at least).

This allows to execute the test for boards with exactly 192K, right? E.g. nRF52810_pca10040...

@ioannisg, this is min_flash, so filters out targets with lower flash size (this is used to work this way at least).

Right, I was only unsure if the inequality is strict or not @erwango .
So if the SoCs with exactly 192 are filtered in or out.

@ioannisg, ok was surprised by the question. Get it better now.
So, I ran the following command:
./scripts/sanitycheck -T tests/arch/arm/arm_thread_swap/ -p nRF52810_pca10040
And actually the board is filtered out w/ or w/o the modification the board is filtered out anyway.
Addind the following in board yaml file, the board is tested even when min_flash: 192
testing:
  default: true

@ioannisg, ok was surprised by the question. Get it better now.
So, I ran the following command:
./scripts/sanitycheck -T tests/arch/arm/arm_thread_swap/ -p nRF52810_pca10040
And actually the board is filtered out w/ or w/o the modification the board is filtered out anyway.
Adding the following in board yaml file, the board is tested even when min_flash: 192
testing:
  default: true

So testing: default: true is required to include a board in SanityCheck testing?

@ioannisg, done


[Question]: Test reports

Your question
Is .NET Playwright capable of producing a report like this?
https://playwright.dev/docs/test-reporters#html-reporter
If so, could you give a few examples?
If not, is there any intention to implement that feature?
Do you know of any existing libraries for this? I am using NUnit as a testing framework.

HTML reporter is not available for Playwright for .NET.
You can use existing nunit/mstest reporters which will produce html, but they will have less functionality.

Has this issue been addressed? it wd be have been great to see these enhancement in playwright c# too.


Array#pack and String#unpack

Are these going to be implemented as part of the stdlib? If so, would we like it to work the same way as the Ruby one? I'm willing into look into porting this over.

Although I've personally never used it in Ruby and I can really never tell what that cryptic format string means.

I have not used it myself either, largely because I never understood it. There have, however had, other people using it. I am not sure how popular it is in Ruby, but it was used. I guess the underlying question is what the use case actually is, and then figure out if that use case applies to crystal as well or not.
Note that I found the issue tracker via this blog:
https://therubyist.org/2020/05/07/rewriting-rubys-pack-and-unpack-methods-in-crystal/
And I still don't understand #pack in ruby ...


How to enable multi dots paths?

Description
With OMZ I can write ... as alias of ../.. (and also .... etc), with Prezto I can't. How can I enable it?
Expected behavior
... should work
Actual behavior
It doesn't
Steps to Reproduce

type ...

Please refer to the documentation before creating an issue, It's mentioned on module documentation and commented on runcom,
https://github.com/sorin-ionescu/prezto/blob/5d7c990eec21e83c0735f6b8e7d1d669102cbb4f/runcoms/zpreztorc#L62-L63
modules/editor/README.md#dot-expansion

To enable the auto conversion of .... to ../.., add the following to zpreztorc.
zstyle ':prezto:module:editor' dot-expansion 'yes'

It's disabled by default. As mentioned on module documentation and commented on runcom,
https://github.com/sorin-ionescu/prezto/blob/5d7c990eec21e83c0735f6b8e7d1d669102cbb4f/runcoms/zpreztorc#L62-L63
modules/editor/README.md#dot-expansion

To enable the auto conversion of .... to ../.., add the following to zpreztorc.
zstyle ':prezto:module:editor' dot-expansion 'yes'

Also it would've been great if you referred to the documentation before creating an issue.

Thanks, I'm sorry but I didn't even know there was documentation in that folder. I checked the readme: no "doc" links, checked the wiki: not available, and I thought everything was on the root README file.

It's mentioned on sorin-ionescu/prezto#usage section

Prezto has many features disabled by default. Read the source code and accompanying README files to learn of what is available.

But agree on it's not prominent enough.


Add OIH Action: Read sheet

New OIH Action: Read sheet
Modification of Lookup Objects (Plural)
Config Fields

Spreadsheet (Dynamic dropdown, required): Same as other actions & triggers
Dimension (Static dropdown, required):
Use first row or column as a header (Static dropdown, required): Same as other actions & triggers
Emit Behavior (Static dropdown Emit All or Emit Individually, required):

Input Metadata

Worksheet (String enum, required): Worksheet to read

Output Metadata
The rows/columns on the sheet
Implementation Notes
Related API Documentation

@jhorbulyk Should 'worksheet' be in the input metadata or in the config as in the other actions?

Should 'worksheet' be in the input metadata or in the config as in the other actions?

It could be in the config section (as in other actions). The argument for putting it as a message input is that it doesn't alter the other inputs. However, if there is a difference between the system representation for a worksheet vs what the user sees, then we should keep the option in the config.


Updated premakes, Sol is now a static lib and not a dynamic lib

Make sure to copy and paste the new premake files from the premakes folder and regen project files


SF2 Soundfont using AKAppleSampler - Crash - DLSSample::GetMoreFrames

AudioKit: 4.9.5
Occurs mostly with 13.3.x and 13.4.x though I did get a couple with previous versions.
Recently, having switched to using AKAppleSampler in order to use a SF2 font, I started noticing errors related to this in about 3-4% of all sessions. It tends to happen after switching between playback and playAndRecord modes (we have a Karaoke app). After rebuilding the nodes and the node graph, and reloading the soundfont, including unloading the old sampler, detaching it, and then recreating it, loading the font, then attaching it, it doesn't seem to fix the issue, though it does occur a bit less frequently.
The crash occurs on playback or record as soon as a MIDI note is hit and we try to play it on the sampler. I'm handling interruption events, and media service reset events, and rebuilding the graph and reloading soundfonts. I've personally never been able to get the error to occur naturally on my device or simulator. I can force it to occur by simply not reloading the soundfont after switching modes from playback to play and record.
Crashed: AudioStreamerImpl::sIOWorkerProcess
0  libEmbeddedSystemAUs.dylib      0x1a79a76fc DLSSample::GetMoreFrames(unsigned long long, unsigned long long, void*)
1  libEmbeddedSystemAUs.dylib      0x1a79c2de0 AudioStreamerImpl::sIOWorkerProcess(void*)
2  libAudioToolboxUtility.dylib    0x1950104f8 CAPThread::Entry(CAPThread*) + 88
3  libsystem_pthread.dylib         0x189b73d8c _pthread_start + 156
4  libsystem_pthread.dylib         0x189b7776c thread_start + 8
I'm debating switching back to sfz, since I never had this issue using AKSampler, though there are multiple instruments in the sf2 (string quartet) so I will have to split them out into multiple sfz files, and then load them up into multiple samplers to get it to work.
I noticed a PR #1899 from October. It seems related.

Just to comment, we've had exactly the same bug bite us. Tried to open a radar, but Apple dismissed it because the "implementation made use of third party libraries" (ie. AudioKit).
So it's probably an internal bug with no workaround until someone can reproduce it with only basic CoreAudio units and send apple a proof of concept.

Given @ramonpoca's comments and a deep level of the error, I don't think we can do much about this from within AudioKit.

Damn! I'd better comment here!
WORKAROUND: Reset your sampler unit(s) after recording and before returning to playback.
This has fixed the problem for us.
        if let s = sampler.avAudioUnit {
            AudioUnitReset(s.audioUnit, kAudioUnitScope_Global, 0);
        }

@ramonpoca How about making a PR to AudioKit? It would be appreciated. :)

I haven't patched AudioKit, just used the fix in our code.
Patching Audiokit could go from adding a reset() method to AKAppleSampler (and documenting and hoping whoever uses it reads the docs), to resetting the audiounits when re-creating the audio graph (which would imply a deeper control of the audiounit state by AudioKit).
I'm not that deep into AudioKit to make that decision ;)

@ramonpoca Do you know if the code you provided is better than just doing sampler.samplerUnit.reset()?  Debating whether to add what you wrote or just:
    public func reset() {
        samplerUnit.reset()
    }

I'll close the issue but still would like to know your view on the other reset, @ramonpoca

I see there's no globally available exported function that does AudioUnitReset's job. It would be ok to add API to AudioKit for that.

This seems like something that should be filed with Apple, no?


Investigation of fork mode in Windows

As this PR is not worked on anymore, let's close it for now.


Feature Request: Single method to store new or fetch existing login with a given username and URL

In the Meetup iOS app, we support logging in through the new user registration form. This is so that returning users who have forgotten that they have an account can sign in with minimal friction.
Unfortunately, there's no way for us to prevent that friction for 1Password users.
I'd like to request a method for the 1Password extension to solve this issue. The method would open an editor for an entry with a given username and domain, and either present the existing password (if there's a saved password) or a password generator (if there isn't).
Since we know the user's requested username (they've just typed it) and the URL (meetup.com), we could use this new method to provide sign-in service through our sign-up form.

+1, something that possibly mirrors the storeLoginForURLString API with its options dictionaries for requesting that a "new login" button appear in the findByURL UIView for cases where the user knows the login and created it elsewhere but hasn't yet ingested it into 1P yet.

Thanks for the suggestion @rudyrichter :+1:

any joy?

Thanks for the followup @rudyrichter :wink:
This is still under consideration. The change would require changes in both the App Extension API as well as in 1Password.
Please stay tuned for updates. I'll make sure to comment on this issue as soon as we have more news.
Best,

Adding @gianpispi 's vote for this feature request (see #287).

Last week we released 1Password 6.3.1 which adds the ability to create a new Login in 1Password if no matching logins were found.
Closing this issue as done.

Awesome!! Thank you so much!!

:blush:


Added Admin Page

This PR Introduces the Addition of the Admin Page
Features Implemented
Temporary Swap:  Functionality to temporarily swap timetable periods.
Permanent Swap:  Functionality to permanently swap timetable periods.
Add Exams:  Admin can add exam schedules.
Add Assignments:  Admin can add assignment details.
Add Tutorial:  Admin can add tutorial details
Add Quiz:  Admin can create quizzes.
Add Evaluation:  Admin can add evaluation schedules.
Generate OTP:  Feature to generate OTP
Progress Bar:  Visual indicator to Sem progress.
Routing for Each Icon:  Separate routes implemented for each endpoints

TO DO

Build seprate pages to Implement the Functionality
Styling Improvements

Other than the above mentioned issues, a small suggestion to keep the file naming consistent. Any pages or components ought to be in TitleCase and other utilities / auxiliary functions can be in lowercase


Doesn't work without options

The source seems to imply that it will default to SUIT:
options = options || { preset: 'suit' };

However the plugin doesn't seem to even run unless I have at least the following:
module.exports = {
  plugins: ['stylelint-selector-bem-pattern'],
  rules: {
    'selector-bem-pattern': {}
  }
};

At which point options is set to {} and the default preset is never picked up. Is it correct that stylelint works this way and never calls a plugin unless you have some settings?
Cheers

The convention for stylelint is definitely to require an explicit expectation. So do think it makes sense to expect someone to include 'selector-bem-pattern': { present: 'suit' }. I didn't consider this actually when writing the plugin. Should probably

Remove the default option so that an error is thrown if no options are provided, or an empty object is.
Add documentation clarifying this.

Sound good?

Yeah a doc update sounds a good addition. :+1:

Docs are updated and code cleaned up in 0.2.2


[Task]: Update org.eclipse.jgit to more recent version to reduce CVE impact

What needs to happen?
update org.eclipse.jgit to <IP_ADDRESS>309021850-r
Issue Priority
Priority: 3
Issue Component
Component: Hop Gui

.take-issue


Merge feature/virtualbackground onto master

Contributing to Twilio

All third party contributors acknowledge that any contributions they provide will be made under the same open source license that the open source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

Pull Request Details
JIRA link(s):

VIDEO-6414

Description
Merge the virtual background feature onto master
Burndown
Before review

[x] Updated CHANGELOG.md if necessary
[ ] Added unit tests if necessary
[ ] Updated affected documentation
[x] Verified locally with npm test
[x] Manually sanity tested running locally
[ ] Included screenshot as PR comment (if needed)
[x] Ready for review

Before merge

[ ] Got one or more +1s
[ ] Re-tested if necessary

Also, when I run npm install, there is a change made to package-lock.json. Let's commit that change.


Windows cursor over the game window - game isn't working

cyber_engine_tweaks.zip
Your configuration file - in attachment
Your Cyber Engine Tweaks version and your Cyberpunk 2077 version - latest: CET - 1.9.2, game - 1.1
Your log file - in attachment
Your OS version - Winwows 10 pro 20h2
A description of your issue:
When i start the game, i see windows cursor over the game window, i can't do anything in game window, it does not respond to pressing on mouse and keyboard
Video

Is this first run with 1.9.2?

Is this first run with 1.9.2?

Ok, disregard that, almost certainly is...
Some overlay must be intercepting with our hooks. Usually, this is cause by GOG overlay or Rivatuner Statistics Server (you may not even know you have this one, is part of MSI Afterburner)
Try to run it without any overlays active, it should work properly then.

Ok, disregard that, almost certainly is...
Some overlay must be intercepting with our hooks. Usually, this is cause by GOG overlay or Rivatuner Statistics Server (you may not even know you have this one, is part of MSI Afterburner)
Try to run it without any overlays active, it should work properly then.

With 1.9.0 onwards, users have to set toggle key for overlay (just on first launch) so my best bet is our overlay tries to ask for bind, but some other overlay is causing it to not render.

With 1.9.0 onwards, users have to set toggle key for overlay (just on first launch) so my best bet is our overlay tries to ask for bind, but some other overlay is causing it to not render.

Ok, disregard that, almost certainly is...
Some overlay must be intercepting with our hooks. Usually, this is cause by GOG overlay or Rivatuner Statistics Server (you may not even know you have this one, is part of MSI Afterburner)
Try to run it without any overlays active, it should work properly then.

I was sure that I did not have any overlays, since the previous version worked. Thank you! Solved!

Ok, disregard that, almost certainly is...
Some overlay must be intercepting with our hooks. Usually, this is cause by GOG overlay or Rivatuner Statistics Server (you may not even know you have this one, is part of MSI Afterburner)
Try to run it without any overlays active, it should work properly then.

I was sure that I did not have any overlays, since the previous version worked. Thank you! Solved!

Can be closed then :P
You have to close it (or owner)

Can be closed then :P
You have to close it (or owner)


First class windows support

I need to make a datakit server which

has logging customised for Windows (probably though a custom log reporter)
listens on a named pipe
listens on Hyper-V sockets
is built on Windows in CI (e.g. on Appveyor)

What do you think is the best approach?

Closing this as datakit works now well on windows.


Youtube still blocking on Chrome 120.0.6099.110 and latest build 2.8

Describe the bug
Youtube still blocking on Chrome 120.0.6099.110 and latest build 2.8.  Just updated to latest version of Chrome and after a few moments of playing any video on YouTube it detects an ad blocker.  I have disabled both the ad blocker and "Remove Adblock Thing", and still comes up.  I have put Chrome in Developer Mode per Tampermonkey, and issue still present.  Only thing that has changed on the system is updating to latest build of Chrome.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 120.0.6099.110

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Common Issues
"Ad Blockers violate Youtube Terms Of Service" OR Just a black screen
This happens when there is an adblock other than the script running. Common ways you may be blocking ads accidentally on Youtube is:

Adblock extension: Disable or whitelist YouTube on your ad blocker extension.

Browser built-in adblock: Some browsers have built-in ad blockers. Disable or configure them.

Other Tampermonkey scripts: Scripts like YouTube enhancer may conflict. Disable them one by one to identify the issue.

Wi-Fi/DNS/Firewall adblock rules: Check network settings for any ad-blocking configurations.

Windows hosts file rules: Inspect the Windows hosts file (C:\Windows\System32\drivers\etc) for ad-blocking rules.


Support RTL animation direction

Support RTL animation direction
fix https://github.com/dvtng/react-loading-skeleton/issues/77

Hello Guys, when this PR going to merge??

@dvtng can we merge this?

Merged, thank you.


Support for Python 3

Python 2.7 is deprecated and no longer supported, but 2.7 is the only version supported by Ghidra.  Can you please add support for Python 3+?
Thanks!

Duplicate of #23


An exception of type 'System.DllNotFoundException' occurred in SkiaSharp.dll

An exception of type 'System.DllNotFoundException' occurred in SkiaSharp.dll
The issue is releated to #187. Unfortunately I wasn't fast enough to response and the case was closed. I am sorry about my delay.
Original message:
This exception occurs always when e.g. calling 'SKBitmap bitmap = new SKBitmap(frame.Size.Width, frame.Size.Height, SKColorType.Rgb565, SKAlphaType.Premul);' within an UWP Xamarin project and using any Windows 10 Mobile Emulator or a XBox One as device while running a debug session in Visual Studio.
Does it work in Release?
No it fails also.
Also, did you install the SkiaSharp NuGet into all the relevant projects (PCL/iOS/Android/UWP)?
Of course.
Finally, are you able to check if the samples build for v1.54.1:
https://github.com/mono/SkiaSharp/releases/tag/v1.54.1
For this, you should download the source using the "Source code (zip)" link at the bottom of the page. v1.55.0 is still in development.
The UWP sample don't work also in both debug and release mode when using a Mobile Emulator or a XBox One as device.
Moreover v1.54.1 uses eglGetProcAddress  in Binding/GRGlInterface.cs, what causes your app fails to pass the Windows Store certification process.
Any help is welcome. Thank you and sorry again.

@jaladaGmbH Sorry about that. You were right, there was an issue.
Basically, I was linking the Kernel32.lib (which is not needed) and I think that was causing issues on the emulator and Xbox. I uploaded a fixed version here: https://1drv.ms/f/s!AtbUuIrDNX_5acTHJGWlH8FYzeM
Let me know if this deploys to the Xbox. I was on the Xbox preview program, and it appears that I can't use dev program if I have the preview. I am waiting for it to in-enrol me (if it ever decides to). If it works on the Xbox, please let me know. It works on my 10586 and 14393 Windows 10 Mobile Emulators.
About the eglGetProcAddress and certification. I haven't had any issues - I actually have an app on the store that passed. Right now I updated the SkiaSharp sample app on the store to use the v1.55.0 NuGet. It passed my local certification test, and I am waiting on a response from the store.

Hello @mattleibow, thank you very much for your support. I will check it and will give you a feedback afterwards.

@jaladaGmbH Just to confirm, the v1.55 release was accepted by the Windows Store:
https://www.microsoft.com/en-za/store/p/skiasharp-for-xamarinforms/9nblggh51856

Hello @mattleibow, your fixed version works great on Xbox One. Thank you very much.
Also, we will try v1.55 for our next Windows Store release. However, we use v1.54 at the moment, so if it is possible, please add your fix to that version as well.

@jaladaGmbH Thanks for the great news! I will se about getting a fix in for v1.54.

@jaladaGmbH Here is the build for v<IP_ADDRESS> with the fix: https://1drv.ms/u/s!AtbUuIrDNX_5p6l2Z-sJluo56Q4UfQ

Hi Gents. I'm running into this issue on UWP as well only when using an emulator and I'm using the latest nuget (v.1.55.0). Any ideas? Here is the exception I was able to dig up:
System.DllNotFoundException: Unable to load DLL 'libSkiaSharp.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at SkiaSharp.SkiaApi.sk_surface_new_raster_direct(SKImageInfo& info, IntPtr pixels, IntPtr rowBytes, IntPtr propsZero)
   at SkiaSharp.SKSurface.Create(SKImageInfo info, IntPtr pixels, Int32 rowBytes)
   at SkiaSharp.Views.UWP.SKXamlCanvas.Invalidate()
   at SkiaSharp.Views.UWP.SKXamlCanvas.OnSizeChanged(Object sender, SizeChangedEventArgs e)

@czanbaka The fix was in the update v1.55.1. I just released that right now: https://github.com/mono/SkiaSharp/releases/tag/v1.55.1
If you have any issue with the update, please let me know.

Hi!
I have to reopen this, because I found this problem in version 1.59.1. The same exception is raising on my Windows 10 Mobile, but is working perfectly in Desktop.
I have installed version 1.55.1, and it works fine in my phone!
If you need something to thelp you track this down, please, tell me! :)
Thank you!

I just realized that I had to mention @mattleibow. I'm new to this :)

Hi @mchiz, are you able to provide the full stack trace?
Also, if you run SkiaSharpDemo or SkiaSharpNativeDemo from this repo, does it run at all?
https://github.com/mattleibow/SkiaSharpDemo

Both projects are working correctly in my mobile, using Visual Studio 2017 Community. I'm using Visual Studio 2015 in my project, which is where I'm seeing the error. I will try my project using Visual Studio 2017, just in case.
How can I get a full stack trace that I can send to you?
Thanks for your help!

@mattleibow I can confirm that my project works with Visual Studio 2017, but not with Visual Studio 2015.
Do you have any clue about it or can you point me to some resources to help me find the problem?
Thanks a lot!


Regularly yield to other zebrad async tasks

Motivation
tokio tasks can run for a long time before yielding to other tasks on the same thread. The executor attempts to compensate by adding extra yield points. But the defaults don't always work for Zebra.
This can cause some Zebra tasks to hang for long periods of time. So we might want to add some extra yield points to Zebra.
Tokio Documentation
Summary:
https://docs.rs/tokio/1.14.0/tokio/task/index.html#yield_now
Detailed yield_now documentation:
https://docs.rs/tokio/1.14.0/tokio/task/fn.yield_now.html#non-guarantees
Tasks
Decide where we should add yield points to Zebra.
Some alternatives are:
Network:

after sending every network request to the peer - is this too frequent?
after processing every network response in Zebra - is this too frequent?
after processing every syncer ObtainTips and ExtendTips

Verifiers:

after processing every verifier response in the sync downloader, inbound downloader, or mempool downloader
after verifying each mined transaction in a block - is this too frequent?

State:

after each expensive state operation

Completed Tasks
#3191:

after sending every request in a fanout

might be obsoleted by #2214

after every crawler DemandDrop

Related Work

#2201
#2202
#2188
#2163

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn

We should identify tasks that run without yielding using tokio-console, then fix those specific bugs.


Dropbox - access to subfolder only

Currently plugin asks permission to the whole Dropbox account. From security reasons it would be much better to get permission to subfolder only, e.g. "KeeAnywhere".

@vovodroid:
Please describe, what is the concrete security advantage with the folder method?
I see that both options are possible via Dropbox-API (https://www.dropbox.com/developers/reference/developer-guide#app-permissions).
I see some glitches:

Requirement of more documentation and/or more configuration options. Both lead to more complexity which I don't really want. The plugin simply should work (even for novices).
The folder name is not configurable, so it's always the plugins name (in this case "KeeAnywhere")
Can other Apps (with full permission) access this folder? Thsi is needed for sharing with other (mobile) Apps like KeePass2Android. What if KeePass2Android also only allows access to "his" folder in future?

what is the concrete security advantage with the folder method

Assuming some malware attacked computer and stole DropBox auth tokens it will get access to whole DropBox account.

and/or more configuration options

I guess hardcoded name can be used to keep it simple.

Can other Apps (with full permission) access this folder

I believe it can.

I see your point but I'm unsure about that. Currently I'm not willing to change something short-term: I won't restrict the plugin in this point. Maybe we find a better solution. I leave this issue open to collect some more opinions on that.
Here are my thoughts:
Isn't it a very theoretical scenario? Beneath the Auth Token you also need the App Key to get it to work (to be fair: the app key is not a real secret). And: your password database is maybe a more interesting target than your "other documents"? Wouldn't it be easyer to steal the Dropbox Client Auth Token than the token from this plugin? Wouldn't it be easyer to hack KeePass itself? Do you really store secrets like "other documents" unsecured (without any other encryption) in a cloud storage provider?
For me, cloud storage providers should be considered unsecure by default and the user is responsive for additionally protecting his data.
Btw: I can't change the app permission in Dropbox Developer Center at this time ... I need to create a new App Key (or revoke the current one).

your password database is maybe a more interesting target than your "other documents"

Sure. But it's not stored on computer.
And if computer is stolen, thief can extract DropBox credentials (and there is option to store them in KeePass xml file), and nevertheless a more bit of security never harms )

+1 for App folder permissions only

Try it youself with a preview (unstable) of KeeAnywhere 1.2.0:
https://dl.dropboxusercontent.com/u/68134839/KeeAnywhere-1.2.0-unstable.plgx
https://dl.dropboxusercontent.com/u/68134839/KeeAnywhere-1.2.0-unstable.zip

What do you think?
I think it's great, working like a charm!

What about other providers, like Google Drive? Does it have the same issue?

I haven't checked other providers so far. I just wanted to check out,
whether this idea is a suitable and accepted solution.
Vovodroid<EMAIL_ADDRESS>schrieb am Mo., 20. Juni 2016, 16:28:

What do you think?
I think it's great, working like a charm!
What about other providers, like Google Drive? Does it have the same issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Kyrodan/KeeAnywhere/issues/24#issuecomment-227158607,
or mute the thread
https://github.com/notifications/unsubscribe/AAVraitO2oeB67in7iEYPLFiwsOqIggzks5qNqOmgaJpZM4HulKL
.

whether this idea is a suitable and accepted solution.

Sure it is!

What do you think? Does this solve this issue for you all?

Thank you @Kyrodan... It's perfect...

Checked this for the other providers:

OneDrive: seems to be possible und usable. But the used library lacks this feature. Have another issue open to swap the library with the official one from Microsoft, see #2. Details can be found here: https://dev.onedrive.com/misc/appfolder.htm
Google Drive: is possible, but not usable: files could not be accessed by the user itself and files get deleted, if app is unliked from account. It's better used for config files etc. than data. See details here: https://developers.google.com/drive/v3/web/appdata?hl=de
hubIC: doesn't seems to be possible.

@vovodroid @namtab00 @0Derece,
I renamed "Dropbox-Secure" to "Dropbox-Restricted". I think this is a more intuitive name. You all need to re-add your accounts in final 1.2.0.


Provision to act on single file

Add a provision to accept single/multiple file/files as an argument instead of parsing the whole directory. Default behaviour could be invocation of --help. A flag --all could parse all pdf files in current working directory.

Added provision


Please create a new version to support svgo 2.x

The dev branch seems to support svgo 2.x now, could you please help build a new package to npm?

Please @visualfanatic

What I did for SVGO 2.x support is just chaining svgo-loader, before passing to vue-svg-loader, and set svgo: false for vue-svg-loader.

At that point the only thing this package does is wrap the SVG in <template></template>tags though, so you could write your own loader instead of relying on this unmaintained package. If you ignore all the vue checking, all you need is below.
module.exports = function vueSvgLoader(svg) {
  return `<template>${svg}</template>`;
};

@Excalibaard Can you please show exactly how you did it? Would like to do it your way so I can get rid of this package since @visualfanatic has stopped maintaining or responding for a long time3.

@Excalibaard is your solution for Vue2 or Vue3? Because looking at the latest dev branch for commit WIP SVGO 2.x, it seems that if you are supporting Vue2 you need to add:
  if (semverMajor(version) === 2) {
    svg = svg.replace('<svg', '<svg v-on="$listeners"');
  }

  return `<template>${svg}</template>`;

https://github.com/visualfanatic/vue-svg-loader/blob/dev/index.js#L16-L18

Easiest solution is to pick a different package that's actively maintained, though it has a different way to use it:
https://github.com/oliverfindl/vue-svg-inline-loader
Otherwise, you can still use this package, but without the svgo part. The below example shows importing SVG as component using the 'inline' query, for example import SVGIcon from '@/assets/SVGIcon.svg?inline'. This allows you to still use svg as an image when necessary.
webpack.config.js

module.exports = {
  ...,
  module: {
    rules: [
      {
        test: /\.svg$/,
        resourceQuery: /inline/,
        use: [
          {
            loader: 'vue-loader'
          },
          {
            loader: 'vue-svg-loader',
            options: {
              svgo: false,
            }
          },
          {
            loader: 'svgo-loader',
            options: {
              // configFile: false // uncomment if not using a svgo.config.js file in your project root
              .... // add your svgo options here
            }
          }
        ]
      },
      {
        test: /\.svg$/,
        use: [
          {
            loader: 'file-loader'
          },
          {
            loader: 'svgo-loader'
          },
        ]
      }
    ]
  }
}

or with VueCLI:
// vue.config.js

module.exports = {
  chainWebpack: (config) => {
    const svgRule = config.module.rule('svg');

    svgRule.uses.clear();

    svgRule
      .test(/\.svg$/)
        .oneOf('inline')
          .resourceQuery(/inline/)
          .use('vue-loader')
            .loader('vue-loader')
            .end()
          .end()
          .use('vue-svg-loader')
            .loader('vue-svg-loader')
            .options({
              svgo: false
            })
            .end()
          .end()
          .use('svgo-loader')
            .loader('svgo-loader')
            .options({
              // configFile: false // uncomment when you have no svgo.config.js at project root
              .....
            })
            .end()
          .end()
        .oneOf('normal')
          .use('file-loader')
            .loader('file-loader')
            .end()
          .end()
          .use('svgo-loader')
            .loader('svgo-loader')
            .end()
          .end()
  }
}

The solution I ended up using in that codebase was to make a folder specifically for my custom loaders, and making sure it's added to webpack's resolveLoader option.
// webpack.config.js

module.exports = {
  //...
  resolveLoader: {
    modules: [
      'node_modules',
      path.resolve(__dirname, 'loaders') // [workspaceRoot]/loaders
    ]
  }
};

Then, create the file [workspaceRoot]/loaders/vue-svg-loader.js.
// loaders/vue-svg-loader.js

const { getOptions } = require('loader-utils');
const { version } = require('vue');
const semverMajor = require('semver/functions/major')

module.exports = function vueSvgLoader(svg) {
  if (semverMajor(version) === 2) {
    svg = svg.replace('<svg', '<svg v-on="$listeners"');
  }

  return `<template>${svg}</template>`;
};

Then, add the vue-svg-loader rule as normal. Because webpack now looks in your loaders folder as well as node-modules, it will find a match with your own loader. Make sure you have removed the vue-svg-loader package from your dependencies, so it doesn't find one in node-modules.
Here's a gist of the loader I used that replaces both svgo-loader and vue-svg-loader..
@darrinmn9 You're correct, if you use Vue 2 you may need to add v-on="$listeners"to make sure any events within your SVG component are emitted to the parent. However, since there components are created within the webpack tool chain, I'm not quite sure what kind of events those may be, Clicking specific elements perhaps. Anyhow, my SVGs work fine without it, in both Vue 2 and Vue 3 (where v-on="$listeners" is deprecated, as listeners are automatically included in $attrs). I've included the version checker in my example above for completeness.

@Excalibaard vue-svg-inline-loader is not actively maintained.

@ChrisRoss5 You're correct. It has been updated more recently, but also uses SVGO 1.x. I'll remove that recommendation.


Update sqlalchemy orm declarative_base

MovedIn20Warning: The declarative_base() function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0)

This is a duplicate of https://github.com/tiangolo/fastapi/pull/10091

This is a duplicate of #10091

Okay, i'll close it then.


W-12626328-retention-rate

90 -> 30
Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Closing. The correct information of 90 -> 30 has already been updated in the docs


Barsic/ttlib unit tests 1

Add unit tests for non-working ttlib operations. Operations which are failing with low PCC values are:
eltwise_threshold
permute
transpose_cn
transpose_nw
transpose_hc
utilise_with_unpadding
sum_0
repeat_interleave

Please rebase and get rid of your taskflow change, similar to @nemanjagrujic 's issues with the other PR.

Hi @tt-rkim ,
I think everything is fine now. Thanks for your time.


Support automated thread spawn/bind for MPI SMP builds

Original issue: https://charm.cs.illinois.edu/redmine/issues/1182

No body.

Original date: 2016-08-23 23:13:58

Just realized, this may need a subtask of detecting hazardous non-uniformity as well.


How to use plugin AccountStats

Just enabled the plugin and getting an error:
unsupported operand type(s) for -: 'str' and 'str'
-------
Traceback (most recent call last):
  File "/home/blabla/polobot/poloniexlendingbot/lendingbot.py", line 79, in <module>
    Lending.lend_all()
  File "/home/blabla/polobot/poloniexlendingbot/modules/Lending.py", line 227, in lend_all
    usable_currencies += lend_cur(cur, total_lent, lending_balances, ticker)
  File "/home/blabla/polobot/poloniexlendingbot/modules/Lending.py", line 398, in lend_cur
    orders = construct_orders(active_cur, active_bal, active_cur_total_balance, ticker)  # Build all potential orders
  File "/home/blabla/polobot/poloniexlendingbot/modules/Lending.py", line 300, in construct_orders
    gap_diff = top_rate - bottom_rate
TypeError: unsupported operand type(s) for -: 'str' and 'str'

works fine. Never mind. I figured it was something else


MacroModel ForceField Calculators

This PR introduces MacroModel Force Field calculators to stko which can be used for performing single point energy calculations. It builds upon the pre-existing MacroModel framework from optimizers, reusing a lot of the functions from that code (in a little bit of a hacky way)

Very intrigued! Will review when you request it!

Going to close this PR as I think the changes required need multiple PRs to address


Bug in kalign_heap

Hello, thanks for the project, it very helps me to learn os development
I've found a little but quite severe bug in kalign_heap function
https://github.com/MQuy/mos/blob/8327ee4f139f01540e23d71245821cf26a173ef6/src/kernel/memory/malloc.c#L156
I think it should be
while (last->next)

https://github.com/MQuy/mos/blob/8327ee4f139f01540e23d71245821cf26a173ef6/src/kernel/memory/vmm.c#L171-L175
Also this code might return badly aligned address because kcallloc may choose one of free blocks in a list of kblocklist instead of allocating the new properly aligned one by kalign_heap function
To test it, you can put before the code
void* ptr = kcalloc(PMM_FRAME_SIZE, 1);  // make sure ptr is not properly aligned
kfree(ptr);

... kalign code ...  // it must return ptr which is not properly aligned


add: basic skeleton code

Based on the CH node starter: https://github.com/companieshouse/node-web-starter

Currently styles not working when running through docker


Systemd support

Hi there,
I just started to work on systemd support as I wanted to run uWSGI on my RHEL7 system.
Feel free to take a look and drop some comments before I feel ready to create a PR:
https://github.com/poikilotherm/puppet-uwsgi/tree/feature/systemd_support
By the way: this fixes some lints, too. Did some minor refactoring, too...
Still todo: do a 'systemctl daemon-reload'...

Sorry I haven't responded here -- I'm bad at checking github notifications and didn't see an email associated with this issue. Your commit looks mostly good, but it'll be easier to test/check with a proper PR.
That said, I wouldn't mind handing over the reigns of this project. I'm happy to push systemd support through a release, but then I'll probably look to hand off maintenance of this project to someone else if I can, and if there's interest.

@jarshwah, perhaps you can add @poikilotherm as an admin to the repository, so he can merge the changes.

@jarshwah, perhaps adding @poikilotherm as admin to the repository, will allow changes to be merged, and maybe he'd help with future changes?


fix a 'store occupied' error in jax_debug_nans

This code snippet could cause a 'store occupied' error:
@jit
def f(x):
  return x + np.nan

FLAGS.jax_debug_nans = True
f(1)

The reason is that in xla._xla_call_impl we would run a linear_util.WrappedFun twice, first via xla._xla_callable and then again directly (i.e. in op-by-op) if we got a nan on the output. Things would work fine if the second execution also raised a nan error, since then the WrappedFun wouldn't complete execution, but if the second execution does not raise an error (as in the above case, because 1 + np.nan doesn't involve any jax primitive executions) then we'd end up with a StoreOccupied error from running the WrappedFun twice.
This StoreOccupied error could crop up any time the de-optimized version didn't raise a nan issue, e.g. because of jit changing numerical behavior.
The fix is just to intentionally allow re-running the WrappedFun, since the whole point of jax_debug_nans is to re-run functions that in normal circumstances we would only want to execute exactly once.
Thanks @jblespiau for finding this!

Thanks, it makes sense.


Catch errors and OOM when decoding ID3 frames.

Invalid frames have no impact on ExoPlayer ability to play the media and should not fail on errors.
Some tools can add 100Mb images in the tags that will trigger recoverable OOM with this fix, previously the load would fail and the OOM caught too late.

I can provide a test asset in private but it's probably copyrighted including the image. (Got the file from an user). That file crash most of the id3 tools I have so can't even extract the tags. (The other tools refuse to read them)  So not sure how to be able to build one similar.

Bump on this one, I'm not able to generate the test asset with the tools I have at my disposal. I can still send the copyrighted file by mail if anyone is able to extract the tags and reproduce in a non copyrighted way.
If you can generate and send me the test asset then I can finish this PR.

After some further discussion we said it's probably alright not to have a test file for this case. We have other OOM error clauses that guard against invalid media without a unit test, so this doesn't feel a lot different.

I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback. Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks!


Issue #5447 After upgrade to 1.9 Widgets admin view renders very slow

Fixes https://github.com/OrchardCMS/Orchard/issues/5447

Thanks, already fixed by zoltan on 1.9.1 which was merged to 1.9.x and dev


Testing + code coverage for Elias review

Addresses #91
connection to codecov.io : https://codecov.io/gh/holgerteichgraeber/ClustForOpt.jl .
cleanup of some unused functions
replaced @error by error(msg). The former is used for logging, whereas the later throws an Exception. We want the latter.

The branch testing is based off documentation. Before evaluating this PR, please first review #96 .
In #91, there are several TODOs concerning which functions still need test coverage. Let's implement them after this PR.

Codecov Report

❗ No coverage uploaded for pull request base (documentation@d483c9e). Click here to learn what that means.
The diff coverage is 50%.

@@               Coverage Diff                @@
##             documentation      #97   +/-   ##
================================================
  Coverage                 ?   64.46%
================================================
  Files                    ?        9
  Lines                    ?      515
  Branches                 ?        0
================================================
  Hits                     ?      332
  Misses                   ?      183
  Partials                 ?        0

Impacted Files 	Coverage Δ
src/clustering/run_clust.jl 88.54% <100%> (ø)
src/utils/load_data.jl 71.42% <16.66%> (ø)
src/clustering/extreme_vals.jl 84.21% <33.33%> (ø)
src/utils/utils.jl 83.15% <50%> (ø)
src/utils/datastructs.jl 97.36% <75%> (ø)
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 d483c9e...c53c37c. Read the comment docs.

This happened because the documentation branch does not have coverage, that's to be expected..

Great testing overall! I added a few questions and suggestions to the code.
What would you think about a few comments explaining the main process that you use for testing?

Thanks. The comments for testing mostly in test/run_clust.jl or where would you think they are most appropriate?

Added some minor updates on testing and documentation. Already pushed to dev.

Great testing overall! I added a few questions and suggestions to the code.
What would you think about a few comments explaining the main process that you use for testing?

Thanks. The comments for testing mostly in test/run_clust.jl or where would you think they are most appropriate?

I thought about an explanation in test/runtests.jl In case someone else wants to expand the package with their own method and needs to know, how testing works in general.

Great testing overall! I added a few questions and suggestions to the code.
What would you think about a few comments explaining the main process that you use for testing?

Thanks. The comments for testing mostly in test/run_clust.jl or where would you think they are most appropriate?

I thought about an explanation in test/runtests.jl In case someone else wants to expand the package with their own method and needs to know, how testing works in general.

Sounds good. Opening an issue to be addressed after name change. #112

Thank you for your comments on this @YoungFaithful . Because this PR was previously merged #98 , closing it here.


Happy New Year greetings and request for new topics in the course

Good day @sanchit-gandhi , @MKhalusova and the whole course team! Congratulations on the new year 2024!
First of all, I would like to thank you and the entire course team once again for the work done. The course turned out to be very good and allowed many of us to immerse ourselves in the topic of working with sound, some of us even managed to find a job thanks to your course. Especially liked the practical orientation of the course and the good and quite accessible presentation of the theoretical material. On behalf of all the members of the course translation team - "Thank you so much for your work!".
Over the past two months, people who have taken the course in Russian have been leaving feedback on topics they would like to see covered in the course. Together with Sergey (@Lightmourne), we systematized this feedback, which eventually became our request in this issue. If possible, could you further address the following topics in the course?
List of topics:

Audio data preparation (broadly defined)
Finding partial duplicates (duplication by time-shifting the audio) and full duplicate audio (filtering the dataset before training classification models). A common case of filtering datasets of 1 second duration.
increasing the volume of audio data
determining the need for class balancing for different tasks and models in the audio domain. Examples of class balancing for audio data, methods and techniques.

Thank you for your feedback! At the moment, we do not have plans to extend the course, but some of these suggestions are really great! Is this something that you have expertise in? We welcome community contributions!

@MKhalusova Good afternoon, Maria. Uh, thank you. As soon as I finish working on the translation and getting the course translation in proper shape, I'd love to do something for the Transformers Audio course.


some demo about Beam Search with LM

thanks for this project.
I want to get the decoder result with"Beam Search with LM", can you give out some demo to show how to use it?

I extended the example in the Readme a bit.
https://github.com/ynop/py-ctc-decode#beam-search-with-lm
Hope it helps.
Otherwise just ask.

Thanks for your reply!
my test logits' shape  is (1, 131, 1224)(batch_size,time_step,V), the true result is a sentence with 20 words. But what I got from decode_batch has only one word.

Are you sure that the given sentence is predicted with the language model you use? Words not in the language model won't be predicted.
Have you used ' ' as space and '_' as blank in the vocabulary?
Have you used log probabilities?

Otherwise maybe try best-path to check if it works there.

Are you sure that the given sentence is predicted with the language model you use? Words not in the language model won't be predicted.
Have you used ' ' as space and '_' as blank in the vocabulary?
Have you used log probabilities?

Otherwise maybe try best-path to check if it works there.

Thanks for your reply!

yes, I use the same corpus to train the language model and the acoustic model
2.'_' is in my vocabulary, but ' ' is not
log probabilities? Are you mean when compute the ctc-loss,  transpose the logits with tf.log first? if so ,yes,I used it.
I have try the  best-path method. what I got is a bunch of words without blank in them. Then, I add the blank in BestPathDecoder.decode[line15] : pred = ' '.join(pred).replace('_', '') ,I got the reasonable result.
Should I retrain my acoustic model with a new vocabulary( the version which adds ' ')

The corpus I use is like this -->'zhe4 feng1 xin4 xie3 yu2 gong1 yuan2 yi1 liu4 wu3 si4 nian2 shi4 '
I would split the sentence and transform the words into ids, so, theoretically，space is not a part of the input data. In this case, can I use your in some way?

Hmm, the space is needed for since it is the point which triggers the language model.
If your input are word ids you would have to adapt the algorithm.

I seem to understand. I will try these two methods below

retrain the acoustic model with new data (add a space id in the middle of each word id )
when use the 【Beam Search with LM】,add space to each symbol I got.
Thank you for your patience. I'll reply this when I get results

I have try the second method. Add a space before symbol when calculate value. It works.
Thanks a lot


Excessive CPU usage while viewing page with paused video

Bug
When I open this page:
lbry://@rossmanngroup#a/a-rant-about-odysee-and-lbry#1
and pause video (or even do not start it) LBRY.exe begins consuming 7% of CPU resources.
Also sawtooth pattern for RAM usage appears. I checked disk and network usage - they are around zero.
It is too much CPU resource consumption for doing nothing.
For example, Vivaldi browser + the same paused video at https://www.youtube.com/watch?v=oLRl4WpXffg uses only 0.3% of CPU.
To Reproduce
Steps to reproduce the behavior:

Open URL with LBRY.exe;
Pause video (or do not start it);
Watch CPU load.

Expected behavior
< 1% of CPU load would be fine for me. Ideally, < 0.1%.
Screenshots

System Configuration

Additional context

cpu load on windows in my test to repro went to 1% or less if video was paused and mouse wasn't moving around interacting with hovers.
cpu is ~3% or less playing while minimized on windows.
Hopefully recent electron upgrades have improved this.


refactor(transformer): exponentiation transform: no cloning

#6338  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


[FEAT] Add some examples to docs of blocking rules without block_on

Is your proposal related to a problem?
#1568 highlighted potential confusion around how to specify blocking rules as the examples exclusively use block_on without any examples of explicit SQL conditions
Describe the solution you'd like
Reinstate some examples of other blocking rules

https://moj-analytical-services.github.io/splink/demos/examples/duckdb/transactions.html


Re-allow nameless resources

A potential fix for #3416. Probably check that ticket for discussion as to if this is the right approach.

To confirm, this does fix my failing tests in Poise and Poise Application.
Finished in 0.44149 seconds (files took 2.87 seconds to load)
21 examples, 0 failures

Why name.empty? Is that disallowing something that wasn't disallowed before?
What I would love is if the DSL could be overridden in provides, to take any arguments you want. Like provides :blah, invoke: proc { ... }.  Or perhaps something on the resource class, like MyResource.declare(parent, *args, &block). Obviously desiring to exactly what we do now. Then you could override yours with name=nil without affecting anyone else or forcing special checking.
But it shouldn't block this. Other than the name empty question, this looks good to me.

Yeah, currently package [] would be allowed I think, which could happen if you are trying to do a multi-package install but your code is wrong (or somesuch). That also checks for package '' which should similarly not be allowed for reasons of general sanity.
As to adding this to the DSL, my issue with that is I want this to work on all resources not just my own (in an optimal world at least). Allowing it to be a per-resource thing would solve it more cleanly for my own application_* resources but I would have to build more wrappers for core resources and 3rd party cookbooks to make them act the same way, certainly not the end of the world but the inconsistency would be frustrating.

If possible I'd rather not add more restrictions on things, both for backwards compatibility purposes, and for the fact that there can be genuine things whose identity is an empty string.

As for working on all resources, you mean if name is declared with a default value, honoring that when instantiating the resource? That seems like a great feature to add and I would totally support such a patch.

Though it would be super nice if we used some other method than a nil sentinel to detect the missing argument :)

I don't think it could be an upstream patch, the default name is a feature of the application resource's override of declare_resource. If it sees no name was provided, it fills one in there based on the application config.

Nuked the empty? check, though perhaps it should be done as a deprecation warning?

If there were lazy defaults, I bet it could ... :)

The default name is not a feature of the resource being named. It is part of the subresource DSL code https://github.com/poise/poise/blob/master/lib/poise/helpers/subresources/container.rb#L94-L111

Oh! This is all about nesting, gotcha. I'm still not resolved on the right way to get nesting onto mainline (only that I really, really want it).

Yahr, that situation I use this is stuff like
application '/path'
  rails do
     # some options
  end
end

rails gets a default name of '/path' so the author doesn't have to type it twice (or do something weird looking like rails name do.

@coderanger can you add a regression test somewhere?
:+1: from me on the fix itself.
@chef/client-core

@thommay BTW this looks like a regression that we should fix before 12.4 final

https://www.youtube.com/watch?v=zSAJ0l4OBHM

Added some specs, for Chef::DSL::Resources in general as well as this case.

Travis failure is unrelated, see https://github.com/chef/chef/pull/3454

:+1:

A rebase should fix up the travis tests


idea: fix app issue

To overcome problems with the app, I have an idea! Why don't you use firefox web browser as receiver software? so it can work like a webxr game...

hello this VR app is not actively dev anymore.
Please share your idea here https://github.com/alvr-org/ALVR


feat: add revenue tracking support

This adds revenue tracking support, which requires adding revenue to the script tag.
https://plausible.io/docs/ecommerce-revenue-tracking

This is super helpful, thank you very much @embedvr—works like a charm

Thank you for this. I've added this to #21 for now, but will likely back port to the main branch.


Using gnu_parallel to fuzzing directory issues with parallel calls to ffuf

I often use the gnu_parallel tool to parallelize my scanning tasks when writing simple shell scripts on Linux, but I recently encountered a problem when using this tool to call ffuf, I found that I can run ffuf through gnu_parallel normally, but there is always no scan result output at the end, I tried many methods, but still can't solve the problem, can anyone help me?
I tried both options in the shell script and neither output the results properly
└─# cat ffuf_paralle_test.sh
#!/bin/bash

# PUT=targets.txt
# DIR=

# cat $PUT |parallel "ffuf {}/FUZZ -o result_{//}.txt"UUPUT_TARGETS=/root/ffuf/wordlist.txt

PUT_DICC=/root/ffuf/wordlist.txt
PUT_TARGETS=/root/ffuf/targets.txt

# cat $PUT_TARGETS |parallel -j 32 "ffuf -w $PUT_DICC -u {}/FUZZ -mc all -fs 42 -c -of json -o /root/ffuf/result_{/}.json -v"
cat $PUT_TARGETS |parallel -j 32 "ffuf -w $PUT_DICC -u {}/FUZZ -mc all -fs 42 -c -of json -o result_{/}.json -v"

# for line in `cat $PUT_TARGETS`
# do
#       echo ${line}
#       echo "ffuf -w $PUT_DICC -u ${line}/FUZZ -mc all -fs 42 -c -of json -x /root/ffuf/restlt_${line}.json -v"
#       ffuf -w $PUT_DICC -u ${line}/FUZZ -mc all -fs 42 -c -of json -o /root/ffuf/restlt_${line}.json -timeout 3 -v
# done

I am having similar issues...

Hi everyone,
First of all, I recommend you to use rush since it is made in golang and it uses very low resources compared with GNU Parallel.
Second, running 32 threads of GNU/Parallel at the same time, means you need a lot ( A LOT ) of memory, if you are running from a VPS, the VPS itself will kill ffuf to keep the server alive.
Are you sure your server/computer is not killing ffuf instances?

Send stderr to a file so you can understand what is happening

ffuf command and args 2> error.log

Add -debug-log to your command, so you can see ffuf debug logs.

ffuf -debug-log ffuf-debug.log 2> error.log


Update aws-core, http-client-spi, ... to 2.18.10

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

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

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #1004.


Rebase release/latest on 1.0.0-preview12

release/latest contains 1 commit which is not in main, so I cannot simply reset it to the head of 1.0.0-preview12. Instead, I opened this PR.

It may be easier to cherry pick that 1 commit into main and preview 12 branches, so that we don't have to do this every time.
The preview12 and release/latest should also have the updated package versions in samples.


Gather all slideware from public conferences

Gather all the slide decks presented at various public conferences.
We can publish them on the helidon-site repository with an explanatory README.md.
We can also possibly have them available on the helidon.io domain.

Closing due to old and low priority.


Window pops up breifly

Sometimes when I save, the window at the bottom pops up very quickly, then immediately goes away and leaves me in a state of off-by-one in the parts that haven't redrawn yet. Doing a :redraw! fixes it or scrolling the code out of view and then back works too.

resolved by #40; this functionality is now provided via the LSP - see https://github.com/hhvm/vim-hack/blob/master/README.md for instructions.


HAWKULAR-916 : Have URL Response Time & Availability Charts react to drag range change

Merged #767


Code is Not Running

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
[Running] cd "c:\Users\santo\OneDrive\Documents\C++" && g++ Sample1.cpp -o Sample1 && "c:\Users\santo\OneDrive\Documents\C++"Sample1
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: cannot open output file Sample1.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
[Done] exited with code=1 in 0.432 seconds
Above one is the o/p i get for every run.
Can you please guide me.
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 x 2400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.84GB (3.87GB free)

Process Argv
--crash-reporter-id 1f0ca0e8-747e-4e7d-8a7e-cb17b96328e9

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

vscode-firefox-debug
fir
2.9.1

code-runner
for
0.11.1

cpptools
ms-
1.1.0-insiders3

Please help me guys

Try running as admin

After Running the app as an administrator then also i am facing the
same problem.
That the access is denied.
On Mon, 2 Nov 2020, 14:51 Hitesh-Patil-creator<EMAIL_ADDRESS>wrote:

Try running as admin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/109817#issuecomment-720347583,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTAXWYVYAH3NKBU2PRYXRDSNZ23DANCNFSM4TGW2F6Q
.

What shell are you using? And does this work when you run it in Windows Terminal?

Now I get the problem and solve it. Thank you for your kind concern.
Sent from Mail for Windows 10
From: Daniel Imms
Sent: 02 November 2020 18:35
To: microsoft/vscode
Cc: Santosh-Goyal; Author
Subject: Re: [microsoft/vscode] Code is Not Running (#109817)
What shell are you using? And does this work when you run it in Windows Terminal?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.