Adding Litecoin does not work

I use the following instructions: https://academy.particl.io/en/latest/basicswap-guides/basicswapguides_addremovecoins.html
So first stop the container, then export the path again and finally:
docker run --rm -t --name swap_prepare -v $COINDATA_PATH:/coindata i_swapclient basicswap-prepare --datadir=/coindata --addcoin=litecoin
Problem is now:
INFO:root:BasicSwap prepare script 0.13.0
INFO:root:Python version: 3.10.12
INFO:root:Data dir: /coindata
INFO:root:Bin dir: /coindata/bin
INFO:root:Chain: mainnet
INFO:root:WALLET_ENCRYPTION_PWD is not set
INFO:root:Adding coin: litecoin
2024-05-20 22:06:18 INFO : Network: mainnet
INFO:root:Starting node /coindata/bin/particl/particld -datadir=/coindata/particl
2024-05-20 22:06:18 DEBUG : Reading PART rpc credentials from auth cookie /coindata/particl/.cookie
2024-05-20 22:06:18 WARNING : Error, iteration 0: [Errno 2] No such file or directory: '/coindata/particl/particl.pid'
2024-05-20 22:06:18 WARNING : Can't connect to PART RPC: RPC error {'code': -28, 'message': 'Loading block index…'}.  Trying again in 1 second/s, 1/21.
2024-05-20 22:06:19 WARNING : Can't connect to PART RPC: RPC error {'code': -28, 'message': 'Loading block index…'}.  Trying again in 2 second/s, 2/21.
2024-05-20 22:06:21 WARNING : Can't connect to PART RPC: RPC error {'code': -28, 'message': 'Loading block index…'}.  Trying again in 3 second/s, 3/21.
2024-05-20 22:06:24 WARNING : Can't connect to PART RPC: RPC error {'code': -28, 'message': 'Loading block index…'}.  Trying again in 4 second/s, 4/21.
2024-05-20 22:06:28 WARNING : Can't connect to PART RPC: RPC error {'code': -28, 'message': 'Loading block index…'}.  Trying again in 5 second/s, 5/21.
INFO:root:Particl Wallet is encrypted
2024-05-20 22:06:33 INFO : Finalise
INFO:root:Interrupting 14
Traceback (most recent call last):
  File "/usr/local/bin/basicswap-prepare", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/bin/basicswap_prepare.py", line 1790, in main
    test_particl_encryption(data_dir, settings, chain, use_tor_proxy)
  File "/usr/local/lib/python3.10/dist-packages/bin/basicswap_prepare.py", line 1164, in test_particl_encryption
    raise ValueError('Must set WALLET_ENCRYPTION_PWD to add coin when Particl wallet is encrypted')
ValueError: Must set WALLET_ENCRYPTION_PWD to add coin when Particl wallet is encrypted

change this step
export COINDATA_PATH=/var/data/coinswaps

to
export COINDATA_PATH=/var/data/coinswaps
 WALLET_ENCRYPTION_PWD="YourPasswordHere"

Make sure to include a space before the word "export" for the password line

It still shows
INFO:root:BasicSwap prepare script 0.13.0 INFO:root:Python version: 3.10.12 INFO:root:Data dir: /coindata INFO:root:Bin dir: /coindata/bin INFO:root:Chain: mainnet INFO:root:WALLET_ENCRYPTION_PWD is not set

?

Try adding it to the .env file

@Shadow27374
apologies.
the correct syntax should be adding the variable inside of the docker command. Something like:
docker-compose run --rm -e $COINDATA_PATH:/coindata WALLET_ENCRYPTION_PWD=passwordhere swapclient basicswap-prepare --datadir=/coindata --addcoin=litecoin


tfctl replan timeouts

Hi I noticed that, when a Terraform resource didn't drift, I got a timeout error:

tfctl get | grep route
flux-system     route53-cloud-hostedzone        True    Outputs written: main@sha1:0b5949a0bea0d5ddf90094b7b6aeb58b7250cd7f                                                     false           31 minutes

tfctl replan route53-cloud-hostedzone
 Replan requested for flux-system/route53-cloud-hostedzone
Error: timed out waiting for the condition

Helm chart version: 0.12.0
tf-controller version: v0.15.0-rc.1

I've upgraded up to v0.15.0 tf-controller using chart 0.15.0 and flux v2.0.0-rc.5 and I detected the same issue. I'm trying to replan in order to fix Terraform Jobs with issue https://github.com/weaveworks/tf-controller/issues/599.
I can not force to replan any Terraform Job.
I also tried without lucky delete the pod of tf-controller.
Let me share some log of tf-controller pod filtering by 1 reconciliation of  1Terraform object with issues https://github.com/weaveworks/tf-controller/issues/709 and https://github.com/weaveworks/tf-controller/issues/599
{"level":"info","ts":"2023-07-05T09:05:58.779Z","msg":"getting source","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:05:58.779Z","msg":"before lookup runner: checking ready condition","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z","ready":"&Condition{Type:Ready,Status:False,ObservedGeneration:0,LastTransitionTime:2023-07-05 09:04:24 +0000 UTC,Reason:ReplanRequested,Message:Replan requested,}"}
{"level":"info","ts":"2023-07-05T09:05:58.779Z","msg":"before lookup runner: updating status","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z","ready":"&Condition{Type:Ready,Status:False,ObservedGeneration:0,LastTransitionTime:2023-07-05 09:04:24 +0000 UTC,Reason:ReplanRequested,Message:Replan requested,}"}
{"level":"info","ts":"2023-07-05T09:05:58.796Z","msg":"before lookup runner: updated status","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z","ready":"&Condition{Type:Ready,Status:Unknown,ObservedGeneration:0,LastTransitionTime:2023-07-05 09:05:58.780030402 +0000 UTC m=+3164.471449690,Reason:Progressing,Message:Reconciliation in progress,}"}
{"level":"info","ts":"2023-07-05T09:05:58.797Z","msg":"trigger namespace tls secret generation","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:05:58.797Z","msg":"show runner pod state: ","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z","name":"account-liligo","state":"not-found"}
{"level":"info","ts":"2023-07-05T09:06:13.853Z","msg":"runner is running","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:13.853Z","msg":"setting up terraform","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:13.881Z","msg":"write backend config: ok","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:13.882Z","msg":"new terraform","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z","workingDir":"/tmp/fluxcd-cloudflare-account-liligo"}
{"level":"info","ts":"2023-07-05T09:06:13.914Z","msg":"generate vars from tf: ok","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:13.914Z","msg":"generated var files from spec","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:13.916Z","msg":"generate template: ok","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:13.916Z","msg":"generated template","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:19.289Z","msg":"init reply: ok","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:19.291Z","msg":"tfexec initialized terraform","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:19.813Z","msg":"workspace select reply: ok","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:19.813Z","msg":"calling plan ...","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:21.907Z","msg":"plan: ok, found drift: false","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"info","ts":"2023-07-05T09:06:22.235Z","msg":"save tfplan: ok","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"error","ts":"2023-07-05T09:06:22.271Z","msg":"error applying","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z","error":"rpc error: code = Unknown desc = error pending plan and plan's name in the secret are not matched:  != plan-main-9088739014"}
{"level":"info","ts":"2023-07-05T09:06:22.279Z","msg":"clean up dir: ok","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z"}
{"level":"error","ts":"2023-07-05T09:06:22.296Z","msg":"Reconciliation failed after 23.516497018s, next try in 2h0m0s","controller":"terraform","controllerGroup":"infra.contrib.fluxcd.io","controllerKind":"Terraform","Terraform":{"name":"account-liligo","namespace":"fluxcd-cloudflare"},"namespace":"fluxcd-cloudflare","name":"account-liligo","reconcileID":"4a315f3f-a832-4c90-8221-4fa81d48b989","reconciliation-loop-id":"4d002dfb-0ab1-4609-a2ed-9a026333caa8","start-time":"2023-07-05T09:05:58.779Z","revision":"main@sha256:9088739014c396293cfb9f15ecad828b98b340c350c691e64cc642315c9f9f4a","error":"rpc error: code = Unknown desc = error pending plan and plan's name in the secret are not matched:  != plan-main-9088739014"}```


[AutoPR sql/resource-manager] Updated managed instance swagger and examples

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5138

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4057


creating new formders in github repo, changes dont show in sourcecontrole

VS Code Version:
OS Version:

Steps to Reproduce:

no clue how it happend

Does this issue occur when all extensions are disabled?: Yes/No
Yes

it still happens on a reinstall, also the problem is i have github repo connected and its in my souce panel. now when i use composer or create a folder inside of my vendor folder the folder and or its files changes or info of its creation dont show up in the source panel therefor thos folders are not staged and commited

vs code version: latest
windows 8.1 latest pro

some oreupdates, so when i create php dependencies and install thm. vscode thinks there a repo and make a git folder in the dependecies,so i gota go in the work spac and delet the hidden ffffffolder then it updates


Adding common assets for offline strategies recipes

This is the root for all cache strategies recipes. The assets are needed to avoid delays introduced by proxing from other sites.
@marco-c or @potch do you mind to take a quick look?

This is the complete lists of strategies-related PR so far:

Cache only
Network or cache
Cache and update
Cache, update and refresh
Offline fallback

Kind of review I'm looking for is from the usability point of view. Are demos demonstrating each strategy? Is it confusing? Are the annotated sources well commented? Those kind of things mainly.

Question - what is the license of the images?
I reviewed the five PRs code, I haven't run them but only focused on usability and readability. Left single comments on each line.

The images come from http://lorempixel.com According to them:

The provided images are for layout purposes and each image we use for this project is released under the creative commons license (CC BY-SA). For more information visit http://creativecommons.org/licenses/
So, if you want to use the images for more than just layouts, you have to double check the license and ask the author. For this we will link to each photographer's flickr page. Furthermore, we assume no liability.

Actually, I'm not totally sure if this is more than just layouts purposes. Since normal use (API examples: https://lorempixel.com/400/400) was not showing the author, I thought it was not necessary I'm wondering now if we should list the authors. Perhaps is better to use another source. What do you think?

Other recipes from the cookbook use the http://lorempixel.com API but I could not use them directly due to the latencies involved but perhaps adding a clarification notice such as "Attributions of the images can be found on lorempixel.com" and asking them directly could help. I'm happy to revert this PR if neccessary.

hey, I was just curious about the source of the images. I think if you very clearly link where they come from on the README or anywhere prominent, you should be fine. You're using them for layout/demo purposes.

The attributions section looks like the ideal place for the image credits: https://github.com/mozilla/serviceworker-cookbook/blob/master/README.md#attributions

Done. I pushed the small modification directly to the master branch.


textlint 9.0.0 Release Notes

(FUTURE) CHANGELOG
♻ Refactor
textlint-kernel: Convert JavaScript to TypeScript #248 #301
Convert @textlint/kernel from JavaScript to Typescript.
If you instersting in TypeScript support, please see #248 .
Currently, Type definition is unstable. It means that break change in minor version.
🆕 Feature
Plugins can be initialized with plugin options #296
Allow to specify following options.
{
  "plugins": {
     "text": { "custom": "value" }
  }
}

For mode details, See document of plugin.
🐛 Bug Fixes
textlint: don't use error.code when catch error #323
Fix to use correct exit code. Thanks to @buzztaiki
🔥 BREAKING CHANGE
These breaking change is for plugin/rule author.
Remove context.config #294 #295
You can use context.getConfigBaseDir() instead of it.

getConfigBaseDir() return config base directory path that is the place of .textlintrc

e.g.) /path/to/dir/.textlintrc
getConfigBaseDir() return "/path/to/dir/".

Related rules changes:

fix(rule): support textlint 8.2.0 by azu · Pull Request #15 · azu/textlint-rule-prh
fix(textlint): support config.getConfigBaseDir() by azu · Pull Request #8 · azu/textlint-rule-eslint

Drop "rules" and "rulesConfig" from plugin #291 #313
You can user preset feature instead of plugin.
The textlint plugin forcus on processor.
Disallow to use  3rd argument of context.report function #316
It prevent wrong usage of report function:
NG:
report(node,
  new RuleError(`using "please" in a set of instructions is overdoing the politeness.`), {
    index,
    fix: fixer.replaceTextRange(range, result.replace)
  }
)

OK:
report(node,
  new RuleError(`using "please" in a set of instructions is overdoing the politeness.`, {
    index,
    fix: fixer.replaceTextRange(range, result.replace)
  });
)

You can try
npm install<EMAIL_ADDRESS>

We will release textlint@9 in this week.

We have released (finial) beta :shipit:
You can try it.
npm install textlint<EMAIL_ADDRESS>

Release https://github.com/textlint/textlint/releases/tag/textlint%409.0.0 🎉


Can't run docker headless-shell on arm64 kylin server os

Kylin V10 is a Chinese operating system supporting arm64:
# cat /etc/os-release
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Halberd)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Halberd)"
ANSI_COLOR="0;31"

The container just exit when running:
# docker run --rm -it chromedp/headless-shell:127.0.6533.89
+ exec /headless-shell/headless-shell --no-sandbox --use-gl=angle --use-angle=swiftshader --remote-debugging-address=<IP_ADDRESS> --remote-debugging-port=9223
+ exec socat TCP4-LISTEN:9222,fork TCP4:<IP_ADDRESS>:9223
[root@9071fb8c-3b23-4984-89aa-4317a6882330 ~]# echo $?
133

Here is the docker info
# docker info
Containers: 45
 Running: 17
 Paused: 0
 Stopped: 28
Images: 28
Server Version: 18.09.0
Storage Driver: overlay2
 Backing Filesystem: xfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Hugetlb Pagesize: 2MB, 512MB (default is 512MB)
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version: N/A
init version: N/A (expected: )
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.19.90-89.11.v2401.ky10.aarch64
Operating System: Kylin Linux Advanced Server V10 (Halberd)
OSType: linux
Architecture: aarch64
CPUs: 64
Total Memory: 126.2GiB
Name: 9071fb8c-3b23-4984-89aa-4317a6882330
ID: UEID:MW6S:GXON:KSFE:RILE:W7SU:NS7S:U6LA:VNI5:IYD2:HJ5V:M2DI
Docker Root Dir: /home/win/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 dr.z
 <IP_ADDRESS>/8
Live Restore Enabled: true

This os has a special 64k PAGESIZE causing redis docker container not start, I don't know if this is related:
# getconf PAGESIZE
65536

When running manually inside docker, I get core dumped:
# docker run --rm -it --entrypoint /bin/bash dr.z/chromedp/headless-shell:127.0.6533.89
root@47b372fcf761:/# /headless-shell/headless-shell --no-sandbox --use-gl=angle --use-angle=swiftshader --remote-debugging-address=<IP_ADDRESS> --remote-debugging-port=9223
Trace/breakpoint trap (core dumped)

Are there debug symbols of headless-shell so I can find what's causing this issue?

It should be an issue of 64K pagesize: https://github.com/electron/electron/issues/25387#issuecomment-1193169058.
And it's hard to fix it frrom chromium side.


test: Add test for partial export

Description
Tests for partial export flow
PR fixes following issue(s)

Summary by CodeRabbit

Tests

Introduced a new test suite for partial export functionality, ensuring resources like datasources and actions can be exported correctly under various configurations.

/ok-to-test


feat: Support Cloud Logging in Java via Logback

Background

Logback is one of the most popular logging Java framework. It's a successor to Log4j (also a popular Java logging framework).
According to cloud.google.com:

You can write logs to Cloud Logging from Java applications by using
the Logback appender
or a java.util.logging handler,
or by using the Cloud Logging library for Java directly.

An "appender" is a Logback concept. Appenders can be used to direct logs to services such as Cloud Logging.

Summary of changes

These changes add support for Google Cloud Logging by using Logback and the Google Cloud "Logback appender".
This change uses something called Spring Boot "Profiles" to switch between local logging and Cloud Logging. See docs about Profiles.

The default Profile will use Cloud Logging.
The locallogging Profile (which is a custom profile I've introduced) will use local logging.
For some mvn commands, the Profile will be set to default by default. See docs.

The failing lint Check will be addressed via https://github.com/GoogleCloudPlatform/terraform-cloud-client-api/pull/86/files/1a607580b18a04ea446ad9c49e041c726e44c8b6#diff-4b122024a3a28ded65da76a2f1bface1f3a27328374438d1298d25585fe0603b.


Meet problems when loading checkpoint

I met some problems when loading checkpoint. It seems that there is no norm0, norm2, norm4, norm6 in checkpoint and the fea_pos, norm.weight, norm.bias, head.weight, head.bias in the checkpoint seems not be used in model.

Thanks for your reply!

@SUSTech-lzl
Thanks for your patience. The updated checkpoints are updated, with slightly improvements. Mainly two updates: 1) fix a bug mask.sum to sim.sum; 2) conv1x1 to Linear implementation.

Closed no further discussions. Feel free to reopen it if any further questions.


search limit has a default of 25 even if no search limit attribute is set, and function on span tag is frustrating

b.searchLimit||25
The multiselect seems to default to a dropdown list of only the first 25 results unless the attribute, search-limit, is set - regardless of whether or not show-search was being used.  I had not added the search option, yet my list was only displaying 25 items.  When I added the attribute, search-limit="1000" or some other high number, only then did I see all my results.
It's odd that it defaults to 25 without having the search or any other options set anywhere.  The default should preferably be ceiling.
Another issue is that the select function, toggleItem(), is set on the span tag, instead of the li.  This means that if someone tries selecting the item sightly outside on the li where the padding is, the selection cannot be triggered.  It would be nice if the library added the function to the li instead of the span tag.

b.searchLimit !== undefined ? b.searchLimit : <your_preferred_default_value>
<li @click="toggleItem(item)">{{ item.text }}</li>


KaTeX auto-render appears to be incompatible with strict Content-Security-Policy settings

KaTeX auto-render appears to be incompatible with strict Content-Security-Policy settings.
Because of the onload handler for auto-render.min.js, 'unsafe-inline' is required in the Content-Security-Policy header sent by the server (instead of just 'self' for self-hosted KaTeX and, if using a CDN, said CDN).
To Reproduce:
Steps to reproduce the behavior:

Set up a server with a strict Content-Security-Policy that allows loading the javascript files for KaTeX but not unsafe-inline.
Use auto-render plugin.
Observe it not working & error in browser console.

Expected behavior:
One of the following:

Unsafe-inline should not be needed.
It should be documented that unsafe-inline is required for auto-render.

I tried to get it working using the described here, but that doesn't seem to work for onload, or I did something wrong. That could be another option to document (if it is possible to get it to work). Though this stackoverflow post seems to suggest that won't work? (I'm not a JS guru.)
Environment (please complete the following information):

KaTeX Version: 0.10.1
Device: Desktop
OS: Ubuntu 18.04
Browser: Chromium and Firefox both tested
Version: Chromium 73.0.3683.86 & Firefox 66.0.3

This is a server configuration issue.  Since the server is configured without unsafe-inline it shouldn't allow any javascript files loaded from a CDN to run.  I had a look at the MDN page you linked to and nonce seems like it might do the trick but I've never used it before.

I actually had a heck of a time getting this setup in a way that did not cause a security violation with strict CSP.
For anyone that finds this issue, I have resolved it.
First things first, the example documentation: https://katex.org/docs/browser.html
Look at the "Starter template" it uses onload=, that is the first thing you must Avoid, do NOT use onload= anywhere.
What I did instead was set a class for the script element class=".prestyle"
I then use a js file to process these, thereby making that onload event no longer inlined.
here is my prestyle.js file:
!function(){
    const items = document.querySelectorAll('.preStyle');
    items.forEach(item => {
      item.rel = 'stylesheet';
    });
}();

Then for the autorender example: https://katex.org/docs/autorender.html
You will see that they are not loading those options through a script, this is infact unsafe-inline script, Even if you place it in the head. what you should do instead is place this into a file: https://github.com/Jieiku/abridge/blob/master/static/katexoptions.js
So long as you dont actually use any unsafe-inline then KaTeX will work with a strict CSP in place, unfortunately those without a lot of knowledge HTML, javascript, and CSP will use the examples from the katex.org documentation and wonder why KaTeX is violating their CSP policy.
For a full working example look here: https://abridge.netlify.app/overview-math/
The repository: https://github.com/Jieiku/abridge
Also you can see that this site gets a perfect observatory score:  https://observatory.mozilla.org/analyze/abridge.netlify.app

I am thinking maybe you did not click on the link to the site that shows me having it working? You could right click on the page and view source and see that I am already doing that:
<script defer src="https://abridge.netlify.app/katex.min.js?h=227b0d7444756f6c547b03fea4a0942699218aac0782a88f5c394893b1b306ee" integrity="sha384-ljao5I1l+8KYFXG7LNEA7DyaFvuvSCmedUf6Y6JI7LJqiu8q5dEivP2nDdFH31V4"></script>
  <script defer src="https://abridge.netlify.app/mathtex-script-type.min.js?h=77e47ddc5b3af990445375441fbbbfab3f9bd368823ca10f98b2448117f6f8c5" integrity="sha384-jiBVvJ8NGGj5n7kJaiWwWp9AjC+Yh8rhZY3GtAX8yU28azcLgoRo4oukO87g7zDT"></script>
  <script defer src="https://abridge.netlify.app/auto-render.min.js?h=cb7f4ca60ed5dc3e258415f8c7a3b46d4a93578a52adf83011f18a7f190e7602" integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR"></script>
  <script defer src="https://abridge.netlify.app/katexoptions.js?h=985b3e06694b8dcc88803ccd09b98d90d6300b1d9e2139c6ea3a2ffb20b128b3" integrity="sha384-0p9nuTTppSkKuNOiOLPLTG+Nu49i2qUHVtd5/vtGH3ntJyxh7cTZ2ZgDul8b0RiQ"></script>

however..... This is the line in question where I use class="preStyle" to change rel="preload" to rel="stylesheet" after the page has loaded.
<link rel="preload" as="style" class="preStyle" href="https://abridge.netlify.app/katex.min.css" integrity="sha384-ZPe7yZ91iWxYumsBEOn7ieg8q/o+qh/hQpSaPow8T6BwALcXSCS6C6fSRPIAnTQs" crossorigin="anonymous" />

If you look at this line you will see that it shows rel="preload", this is good for downloading the file in a non render blocking manner (my site also has a perfect lighthouse score)
Using the prestyle.js script that adds rel="stylesheet" alows you to use the downloaded css file after the page has loaded (non render blocking.)
You could technically simplify it by changing the line to this, but it wont be deferred (It will be a render blocking element):
<link rel="stylesheet" href="https://abridge.netlify.app/katex.min.css" integrity="sha384-ZPe7yZ91iWxYumsBEOn7ieg8q/o+qh/hQpSaPow8T6BwALcXSCS6C6fSRPIAnTQs" />


Port from httplib to requests

The problem I'm running into is that isso is getting 301 redirection status codes which makes isso claim "No URL". I tried changing just utils.http to use requests, but it looks like the API is just not compatible with httplib, so a larger change will be needed.

Instead of the cargocultic switching to requests could you please describe what exact error happens to you? Of course, httplib can deal with 301 redirect correctly, or in whatever way you want.

It's been a while, but the response was probably straight 301 response instead of doing the redirect follow (I do http -> https via 301 on my server).

Is http://www.diveintopython.net/http_web_services/redirects.html what you are looking for?

It would seem so.


Issue on weblate

https://weblate.skyjake.fi/translate/lagrange/ui/de/?q=has:check or https://weblate.skyjake.fi/translate/lagrange/ui/fr/?q=has%3Adismissed-check&offset=2*
How could this issue be resolved and what is this issue really about?

I think this is just Weblate not understanding strftime formatting. I should just remove the c-format flag from these strings.

Impossible to click save on weblate, where could the issue come from because I am logged in with an account?

@Altonss It appears you account didn't yet have translator access rights, so you were only able to suggest strings. I have corrected the issue.
You may want to discuss with @MCMic about the most suitable terminology; he is responsible for most of the French translation thus far.

I should just remove the c-format flag from these strings.

I have done this, although not sure if the changes are yet visible in Weblate.

I have done this, although not sure if the changes are yet visible in Weblate.

Last time I looked, they weren't there anymore.


Model fixes

This is a regression introduced in the container-injections branch. Will try and figure out some way to test this.

This actually needs further thought, as after this fix the initializer errors out on not being able to find an adapter for the specific model

What is the actual original bug you are trying to fix here?

There wasn't necessarily an original bug. There was the change I made a while back fixing the issue where containers would break the hasOwnProperty functionality. The specific case where that came up was in the idea of abstract models (e.g. an "application" model) that doesn't actually need to be used as an actual model. The hasOwnProperty check was removed during the container refactor, so I re-added it.
Also, there was some repeated behavior where the define-orm-models initializer re-implemented the adapter lookup functionality that also exists in the model, so I made it use the model's getAdapter method to lookup rather than repeat the same code.
The last thing is the addition of the create method in the database service. It was missing 😛

So essentially the "regression" I was referring to was fixed in the first commit, then I added the second commit because it also related to models 🤷♂

This should be good to go as well.

Removed all of the unnecessary changes with the model refactor; this should be 👍 now.


Fix readme dist cdn link

For state component

unpkg was supposed to support this field, but merging for now


tenancy access control

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The remaining one failed link checker is on DEVELOPER_GUIDE.md, which is an outdated doc itself. The doc is written for dashboards-observability setup. Will ignore the failed check for now.


linkextractor-api should expose port 5000 only inside container,

hence replacing 'ports' with 'expose' in docker-compose.yml.
This would imply a small change in
play-with-docker.github.io/_posts/2018-09-22-microservice-orchestration.markdown
as well to explain the nuance.
So this should be replace as well:
We should now be able to talk to the API service as before:
curl -i http://localhost:5000/api/http://example.com/

with something like
The PHP web server will access the API which is no longer exposed outside the container.

Thanks for the PR and your thoughts. However, this was an intentional one to allow the API service be exposed publicly the very same way the PHP application is, so that someone who wants to write their own application, they can use the API endpoint instead.
While making this change will not necessarily make much difference in the lesson, but it will not bring anything new to the table either. So, it will be an extra work of changing the lesson and getting that reviewed, merged, and deployed.


Set page numbering unfriendly to Germans

Description
If a German typographer want to set their page numbering to the German equivalent of "Page 1 of X",  they would likely write the following:
#set page(numbering: "Seite 1 von 1")

However, the i of Seite is being interpreted as a roman numeral, which on page 3 would look like Seiiite 5,
The workaround would be to use a function instead
#set page(numbering: (cur, max) => [Seite #cur von #max])

but it would be nice to be able to escape characters, perhaps with a backslash.
Reproduction URL
No response
Operating system
Web app
Typst version

[X] I am using the latest version of Typst

Duplicate of https://github.com/typst/typst/issues/1177


[BUG] Azure CloudShell not work in Microsoft learn when we merge 2 accounts.

To Reproduce
I have a email address and I was using Microsoft Learn sandbox. I merge and after merging I see the error like this

Commands you ran

Observed Behavior
Include error output here

Expected behavior
A clear description of what you expected to happen instead.
Is this specific to Cloud Shell?
Please verify if the same issue can be reproduced by running the same tool outside Cloud Shell - for example,
by installing it on your own computer. If so, it is likely to be a bug in that tool or in the Azure service it communicates with,
not in Cloud Shell. Please file the issue with the appropriate project.
Interface information
How are you accessing Cloud Shell - https://shell.azure.com, https://portal.azure.com, via Windows Terminal, or some other method?
If a browser, which Operating System and browser are you using? (ex. Edge on Windows 10)
Additional context
Add any other context about the problem here.

There is another problem I found Today.
Suppose I merge 2 account in MS Learn.
Now I am using 2nd account to practice. Because I am logged-in from 2nd account it must create the sandbox in my 2nd account. What it does is creating sandbox in 1st account.
First issue is, If someone merging their account it must destroy the sandbox at the same time. Or let the person create the sandbox in their account (if 2nd issue will fix, I hope this will start working itself).
The sandbox must be created in the same account which user is logged-in. This doesn't make sense to use another account to portal login (that's why people do merge their account).
In screenshot I share you can see there is only one option that's sign out, not for recreate, destroy current one.


Update README.md

Added Syrus bot to list of bots which provide a faster way to catch new phishing links

Bot does not use an up to date api with Phishing links

Yes it does? Uses its own api...
This bot currently protects multiple servers with 10k+ members

Several days old phishing domain... and it doesn't get detected

That site is no longer a nitro scam site. It was picked up when it was active

And what about steamstorehistory[.]xyz, boostnltro[.]com or discordn[.]com?

I am sorry but i am not gonna add that bot into my list as it doesn't even pick up any domain that has already been flagged as phishing by all the other bots in the last few days.
As you see I first picked it up on 04.11.2021 and it is still active

and not being picked up by Syrus.


Add public JWT token part decoding API

Hey @manfredsteyer,
The important token parsing functions padBase64 and b64DecodeUnicode that you have re-implemented to get rid of fat jsrsasign dependency are not available to the outside world. Arguably, it would be even better to provide a generic JWT token part decoding function, which doesn't expose the internal implementation - this function can be then safely used by the consumers of your package to avoid further dependencies like jwt-decode.
In this PR I add such an API; one typical use case, which is what we need it for, is to parse access tokens to extract granted scopes. I would appreciate your comments and hopefully this PR can be merged soon!
All the best,
Yury

@mm-matthias @pchorus @marns93 @stohrendorf FYI

@zyv The access token is not meant for the client, and should not be parsed at all.
The access token (and the contained scopes) is a contract between the IDP and the API, not the client.
The IDP and API can at any time agree to change the access token format from JWT to reference tokens (which will be a random string), and this change must be completely transparent to the client.
So there is in fact no need at all to expose the token parsing functionality, as you already get access to the parsed ID token (which is meant for the client).


Replace hurl.it by extendsclass.com in Querying section

Hurl.it does not exist anymore, this online rest client has been replaced by extendsclass.com in Querying section.

can you rebase?

Hello, I have resolved the conflict

Thanks!


System.BadImageFormatException : 未能加载文件或程序集“osrm.net, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。试图加载格式不正确的程序。

why  can not load osrmnet.dll

It look like you're running it in 32 bit. OSRM.net can't run in 32 bit because the underlying osrm.lib is 64 bit.

Thank you. I'm a novice. I want to add a real-time train navigation. How to add a profile in this project

Thank you. I'm a novice. I want to add a real-time train navigation. How to add a profile in this project
@xilutian, the best way is to start reading the docs of the Project-OSRM itself ((https://github.com/Project-OSRM/osrm-backend). I know profile based of LUA script, I'm not familiar with them (https://github.com/Project-OSRM/osrm-backend/tree/master/profiles)


Place C++ standard requirements in build system

Is your feature request related to a problem? Please describe.
Umpire specifies either -std=c++11 or -std=c++17 for intel compilers in host-config files.
Describe the solution you'd like
In CMake, it is possible to specify compiler requirements (CMake compile features). Specifying the exact C++ features required in Umpire, CMake will adapt the flags to provide the minimum required standard coverage.
I think this is better that way since it prevents from having these flags (required ?) in host-config files.
Describe alternatives you've considered
BLT also provides a way to set C++ standard requirement. I think CMake method will work well for Umpire.
Additional context
This issue arrives now because I am tracking compilers specific requirement to reduce them to the minimum and integrate them to Umpire Spack package. (Related to host-config file generation).

I believe this is now handled via BLT_CXX_STD and CMAKE_CUDA_STANDARD


[question] How to implement Runge--Kutta order 4

Hi,
I'm enjoying using Diffrax for my current application! At the moment, I'm looking for a simple Runge-Kutta order 4 implementation in Diffrax but haven't been able to find one. I assume I'll need to create a custom ODE solver class by inheriting the AbstractERK class.
Regarding the ButcherTableau, I have the values for a_lower, b_sol, and c from the standard RK-4 Butcher Tableau, but I'm unsure about the b_error value. Am I missing something here?
Thanks for your help!

So I've never implemented this just because Tsit5 is generally a stronger choice than either of the two common RK4s, so it just never seemed important to include!
So b_error is an embedded error estimate. The solution of the step is given by linearly combining the stages using b_sol, and the error of the step is given by linearly combining the stages using b_error. (Notably not by computing (b_error - b_sol) @ stages as many other implementations do; we instead fold the subtraction into the definition of b_error in the first place.)
You have a few options:

Just use the built-in Tsit5 instead.
Use whatever your favourite error estimator is for RK4.
Fill in a dummy b_error=array of zeros -- but note that the resulting solver will silently fail if used in conjunction with diffrax.PIDController! It can only be used with fixed step size controllers.
Offer a PR against Diffrax so that b_error=None is valid, and if used will disable the error estimator altogether. (This should be fairly simple, happy to offer guidance if this is what you prefer.) This will result in things loudly failing if the solver is used in conjunction with diffrax.PIDController.

I hope that helps!

Thanks for the reply!
I just realized that it's possible to have a fixed time step in Tsit5() as well as Dorpri5(). I thought these always required a PIDController. ^^
Regarding the standard RK4, I still want to create this simple ODE solver. I'll look for a suitable error estimator and try to implement it.
Thanks again for your help!


Media not displayed from CDN

Hi,
Thanks for making this module available. I installed it correctly. And, I was able to export media files to S3 using bin/magnento s3:storage:export  I am using CDN to serve media (with S3 as backend) and I have made changes to media url accordingly in store configuration. Yet, I am facing a strange issue when I enable the module using bin/magento s3:storage:enable None of the media files are served from CDN, instead,  magento is trying to look for media at this link http://local.magento.com/get.php/wysiwyg/home/home-main.jpg which is causing 404s. Expected link is http://<my_cdn_url>/wysiwyg/home/home-main.jpg

Hi Pranav,
Check if you have enabled Use Web Server Rewrites .
Check by Go to Store - Configuration - Web - Search Engines Optimization -
set Use Web Server Rewrites  to Yes
Cheers

Hi Tushar,
Thanks for pointing that out.


Implement new engine APIs needed for 4844

Still experimental, but can be prototyped onto main safely:
https://github.com/ethereum/execution-apis/blob/main/src/engine/experimental/blob-extension.md

Add 3 methods to the Engine namespace
extend PayloadResult and add excessDataGas, or update existing class but make sure that field doesn't appear on legacy apis.
-make sure configured shanghai and cancun timestamps are available to v3 methods
-get access to datablobs and kzgs and versioned hashes from RPC layer.

@jflo any status on this?

Implemented and merged into https://github.com/hyperledger/besu/tree/eip-4844-interop


populated knowledge_graph nodes and edges but no results

The two queries below return a response with a populated knowledge_graph but a zero-length results section.
{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                    "ids": [
                        "MONDO:0004975"
                    ],
                    "categories": [
                        "biolink:Disease"
                    ]
                },
                "n1": {
                    "categories": [
                        "biolink:BiologicalProcessOrActivity"
                    ]
                },
                "n2": {
                    "ids": [
                        "PUBCHEM.COMPOUND:1935"
                    ],
                    "categories": [
                        "biolink:ChemicalSubstance"
                    ]
                }
            },
            "edges": {
                "e0": {
                    "subject": "n0",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                },
                "e1": {
                    "subject": "n2",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                }
            }
        }
    }
}

{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                    "ids": [
                        "NCBIGene:43"
                    ],
                    "categories": [
                        "biolink:Gene"
                    ]
                },
                "n1": {
                    "categories": [
                        "biolink:BiologicalProcessOrActivity"
                    ]
                },
                "n2": {
                    "ids": [
                        "PUBCHEM.COMPOUND:1935"
                    ],
                    "categories": [
                        "biolink:ChemicalSubstance"
                    ]
                }
            },
            "edges": {
                "e0": {
                    "subject": "n0",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                },
                "e1": {
                    "subject": "n2",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                }
            }
        }
    }
}

Original behavior and examples from https://github.com/NCATSTranslator/testing/issues/93

This is an Explain-type query; so it's related to #112

Related to #112

Here is another query (a PREDICT query) with the same behavior (from https://github.com/NCATSTranslator/minihackathons/blob/main/2021-12_demo/workflowA/A.2_RHOBTB2_twohop.json).  So not strictly an issue with EXPLAIN.
{
    "message": {
        "query_graph": {
            "edges": {
                "e01": {
                    "object": "n0",
                    "subject": "n1",
                    "predicates": [
                        "biolink:entity_regulates_entity"
                    ]
                },
                "e02": {
                    "object": "n1",
                    "subject": "n2",
                    "predicates": [
                        "biolink:related_to"
                    ]
                }
            },
            "nodes": {
                "n0": {
                    "ids": [
                        "NCBIGene:23221"
                    ],
                    "categories": [
                        "biolink:Gene"
                    ]
                },
                "n1": {
                    "categories": [
                        "biolink:Gene"
                    ]
                },
                "n2": {
                    "categories": [
                        "biolink:SmallMolecule"
                    ]
                }
            }
        }
    }
}

This query may be handled oddly by BTE because of the directions of the query edges. It looks like this: Gene ID <-(e01)- Gene <-(e02)- SmallMolecule.
It looks to me that something does go wonky in the results assembly step.
Additionally, I can see a separate bug...BTE is not passing IDs correctly for the second query step (e02) if ID resolution failed for that ID. This is how I can tell, using the logs:

BTE filtered down to 8 Gene IDs for the e01 step.      {
          "timestamp": "2021-08-12T21:35:16.088Z",
          "level": "DEBUG",
          "message": "query_graph_handler: Successfully applied post-query predicate restriction: 181 down to 8 results.",
          "code": null
      },

then BTE starts using those 8 Gene IDs for the e02 step.
This e02 subquery for 8 UMLS IDs is formatted incorrectly for 3 of the IDs...they shouldn't have the UMLS prefix. It's like BTE doesn't recognize the prefix is there for those 3 IDs...      {
          "timestamp": "2021-08-12T21:35:16.218Z",
          "level": "DEBUG",
          "message": "call-apis: Succesfully made the following query: {\"url\":\"https://biothings.ncats.io/semmedgene/query\",\"params\":{\"fields\":\"affected_by\"},\"data\":\"q=C3147205,UMLS:C4085573,C0812258,C1366500,UMLS:C1418864,C1418893,C1421286,UMLS:C0079427&scopes=umls\",\"method\":\"post\",\"timeout\":50000}",
          "code": null
      },

This e02 subquery uses only 5 NCBIGene IDs. This implies that NCBIGene IDs weren't found for 3 other IDs - probably the 3 UMLS IDs noted above...     {
         "timestamp": "2021-08-12T21:35:16.286Z",
         "level": "DEBUG",
         "message": "call-apis: Succesfully made the following query: {\"url\":\"https://biothings.ncats.io/dgidb/query\",\"params\":{\"fields\":\"object.CHEMBL_COMPOUND,association\",\"size\":1000},\"data\":\"q=100616101,1869,5241,5555,7332&scopes=subject.NCBIGene\",\"method\":\"post\",\"timeout\":50000}",
         "code": null
     },

should revisit with Eric/Marco/Anders work on query handling and SRI-based ID resolution.
And Jackson's work on templating API calls (may fix issues with the querying).

With the latest updates, the sample queries appear to be working now.

If easy, can someone also try this query out? https://github.com/NCATSTranslator/testing/blob/main/ars-requests/not-none/1.1/soxGenes.json
The current prod is giving that same behavior (documented in https://github.com/NCATSTranslator/testing/issues/111), and it would be nice to confirm that it's fixed in the latest changes...

That's expected because Eric/Marco/Anders work hasn't been merged to main / implemented yet...

That's expected because Eric/Marco/Anders work hasn't been merged to main / implemented yet...
When I used their code, it worked correctly and as-expected...I've included the file of the response here (github won't let me post json so it's txt)....
that can be pasted in arax under import -> json and visualized like the included screenshot

explain-8-30-21.txt

Updates now that the new code is on BTE-prod (https://api.bte.ncats.io/v1/query):
Query 1:
Disease MONDO:0004975 -> BiologicalProcessOrActivity <- SmallMolecule PUBCHEM.COMPOUND:1935
We find 2 results!

Knowledge graph:

{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                    "ids": ["MONDO:0004975"],
                    "categories": ["biolink:Disease"]
                },
                "n1": {
                    "categories": ["biolink:BiologicalProcessOrActivity"]
                },
                "n2": {
                    "ids": ["PUBCHEM.COMPOUND:1935"],
                    "categories": ["biolink:SmallMolecule"]
                }
            },
            "edges": {
                "e0": {
                    "subject": "n0",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                },
                "e1": {
                    "subject": "n2",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                }
            }
        }
    }
}

Continued updates (queries going to BTE-prod (https://api.bte.ncats.io/v1/query):
Query 2:
Gene NCBIGene:43 -> BiologicalProcessOrActivity <- SmallMolecule PUBCHEM.COMPOUND:1935
we find 3 results!

knowledge graph:

{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                    "ids": ["NCBIGene:43"],
                    "categories": ["biolink:Gene"]
                },
                "n1": {
                    "categories": ["biolink:BiologicalProcessOrActivity"]
                },
                "n2": {
                    "ids": ["PUBCHEM.COMPOUND:1935"],
                    "categories": ["biolink:SmallMolecule"]
                }
            },
            "edges": {
                "e0": {
                    "subject": "n0",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                },
                "e1": {
                    "subject": "n2",
                    "object": "n1",
                    "predicates": [
                        "biolink:related_to"
                    ]
                }
            }
        }
    }
}

Continued updates (queries going to BTE-prod (https://api.bte.ncats.io/v1/query):
Query 3:
Gene NCBIGene:23221 <-(entity_regulates_entity)- Gene <- SmallMolecule
This query ran surprisingly quickly (~19 second, 2.16 MB). It returned 737 results.
An example result:

Continued updates (queries going to BTE-prod (https://api.bte.ncats.io/v1/query):
Query 4's output (21 results) looks the same as what was previously posted: https://github.com/biothings/BioThings_Explorer_TRAPI/issues/236#issuecomment-912263477
Note that SRI's ID resolver service doesn't resolve some of the UMLS IDs (the previous BioThings API based ID resolver didn't do great at resolving these IDs also).

Closing; I provided updates for all the queries involved in this issue. I also addressed and linked the related issues in the Translator repos.


Unable to add valid Zulip server to desktop client.

Servers
Type https://internalserver name and add
Actual result: shows error as invalid server even though same url works in browser.
-
Zulip 1.7.0
Electron 1.6.15
win32 x64 10.0.16299

@satbalus hey, thanks for reporting this. I'll be needing your help in debugging this. Can you do the following things-

try to add your internalserver
Go to Menu > View > Toggle Devtools for Zulip App and there you will see a console tab; paste the content of that tab here

Do the same with Menu > View > Toggle Devtools for Active tab
What do you see when you enter this in browser https://yourinternalserver/static/audio//zulip.ogg ?


Form Customizer not Rendering as expected

NPM Script:
"serveNewForm": "gulp clean && gulp bundle --custom-serve --max_old_space_size=4096 && fast-serve --config=customSolutionForm_NewForm",

Serve Config File:
"customSolutionForm_NewForm": {
      "pageUrl": "https://sometenant.com/sites/somesite/_layouts/15/SPListForm.aspx",
      "formCustomizer": {
        "componentId": "a75dbc51-6923-4ca0-893b-113a82f1909b",
        "PageType": 8,
        "RootFolder": "/sites/somesite/Lists/someList",
        "properties": {
          "sampleText": "Value"
        }
      }

Error Screenshot:

Thank you for reporting!
The issue is fixed in<EMAIL_ADDRESS>and in<EMAIL_ADDRESS>for SPFx 1.18 and 1.17 respectively. Now it also respects the SPFX_SERVE_TENANT_DOMAIN env variable, so it works exactly like SPFx.
Could you please check if the issue is solved for you?

Hello @s-KaiNet
Thanks for the quick response.
I have tested the version<EMAIL_ADDRESS>and it works fine.
Again thanks for the help.


Allow groups that are matched with and instead of or

Sometimes it may be useful to have a group that is matched with the and operation.

Added in #6


Refactor usage of sinon

Follow the pattern of importing it like in https://github.com/softlayer/sl-ember-behavior/blob/master/tests/unit/mixins/component-test.js (introduced in https://github.com/softlayer/sl-ember-behavior/pull/90 ) in any file currently using sinon not in the same manner.
Can likely also remove the entry for it in tests/.jshintrc

@notmessenger taking this. only have another issue atm.

@erangeles When you are ready to submit your PR make sure that your changes include all of the merged commits that occurred after you began working on this issue, specifically making sure that any additional sinon calls are refactored as well.

Imports of the sinon module in tests require ember-sinon, (https://github.com/csantero/ember-sinon) so this is the only sinon package that should be included. I would recommend removing any *sinon* packages from bower.json and package.json and running a fresh ember install ember-sinon and running npm prune && npm cache clean && npm install and bower prune && bower cache clean && bower install to be sure all others are removed.
Also, any app.import's in Brocfile.js should be removed. After that, all of the tests should pass provided they are importing the sinon module rather than using it directly like window.sinon.

@notmessenger PR, not sure why huboard not referencing it. https://github.com/softlayer/sl-ember-components/pull/541

Resolved by https://github.com/softlayer/sl-ember-components/pull/541


Mobile - Auto detect mission pool status by timeline

Detect mission pool status in item's tag
Filter mission pool tab by timeline
Show status and "Join now" button status in mission pool detail

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-323-1512-merge-2024-02-28T09-27-09.apk
Device test: S20 FE 5G
Validation passed.


DATAJDBC-394 - Don't use AS for table aliases.

The AS keyword for table aliases is optional for all databases that support it.
It is not supported by Oracle.
Thus not using it makes the generated SQL compatible to more databases.
See: https://jira.spring.io/browse/DATAJDBC-394

That's merged now.


Sync memory numbers with FreeRTOS.org

Sync memory numbers with FreeRTOS.org at https://www.freertos.org/backoff-algorithm.html


spelling typo

fixing a small typo.

Coverage remained the same at 100.0% when pulling f94391d613262e135b016bb14c55f9e048eb221f on suhasdeshpande:suhasdeshpande-patch-1 into 673d17699cb7cbe8f2924c1b84c7812ffda5edcb on mutualofomaha:master.

Coverage remained the same at 100.0% when pulling f94391d613262e135b016bb14c55f9e048eb221f on suhasdeshpande:suhasdeshpande-patch-1 into 673d17699cb7cbe8f2924c1b84c7812ffda5edcb on mutualofomaha:master.

Thank you 🤗


Add Custom Configuration Storage

Part of requirement FR4 ↗
User Story: As a user, I want the system to store custom configurations, so that I can reuse them as needed.
Acceptance Criteria:

[ ] The app can switch between saved configurations.
[ ] Upon successful remote cloning, save the configuration locally.

Merged with #2, implicitiely moved to v1.0

In GitLab by @loesch on Apr 9, 2024, 15:37
created branch 6-us4-1-custom-configuration-management to address this issue


cargo-show-asm: 0.2.34 -> 0.2.35

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for cargo-show-asm is: Cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code
meta.homepage for cargo-show-asm is: https://github.com/pacak/cargo-show-asm
meta.changelog for cargo-show-asm is: https://github.com/pacak/cargo-show-asm/blob/0.2.35/Changelog.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.35 with grep in /nix/store/frvvj7x4z6glpm66bvy3r8wxz98q4lrg-cargo-show-asm-0.2.35
found 0.2.35 in filename of file in /nix/store/frvvj7x4z6glpm66bvy3r8wxz98q4lrg-cargo-show-asm-0.2.35

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

cargo-show-asm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/frvvj7x4z6glpm66bvy3r8wxz98q4lrg-cargo-show-asm-0.2.35 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-show-asm https://github.com/r-ryantm/nixpkgs/archive/ab9a066ae1217b4807a6e30ce9747ac007957159.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ab9a066ae1217b4807a6e30ce9747ac007957159#cargo-show-asm

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/frvvj7x4z6glpm66bvy3r8wxz98q4lrg-cargo-show-asm-0.2.35
ls -la /nix/store/frvvj7x4z6glpm66bvy3r8wxz98q4lrg-cargo-show-asm-0.2.35/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

cargo-show-asm

Maintainer pings
cc @figsoda @oxalica @matthiasbeyer for testing.

Result of nixpkgs-review pr 309759 run on x86_64-linux 1

1 package built:

cargo-show-asm


Add "Back to Traces" Navigation Button in Structured Logs View

Description
Context: When users are navigating through the Structured Logs in our Blazor application, they currently lack a straightforward way to return to the Trace view for a specific TraceId. This limitation can lead to a less intuitive and efficient user experience, as users may have to manually alter the URL or use the browser's back button to navigate back to the Trace view.
Problem: The absence of a direct navigation option from the Structured Logs page back to the corresponding Trace page can be a point of friction for users, especially when dealing with complex logs and traces.
Proposed Solution: Introduce a "Back to Traces" button in the Structured Logs component. This button should only be visible when a TraceId is present in the URL, and clicking on it should take the user back to the Trace page associated with that TraceId.
Expected Outcome:

Enhanced user experience through improved navigation.
Reduced time and effort to switch between Structured Logs and Trace views.

Steps to Reproduce
(Currently, there is no direct way to navigate back via the user interface, hence an enhancement is needed.)
https://github.com/dotnet/aspire/assets/47674962/7782f8b8-fe64-40dc-8ae1-4a555fa891e7
Related PR

PR #1005 addresses this issue by implementing the proposed solution.

Does this still apply to the latest previews @JamesNK ?

Back buttons on the page have been removed. Now relying on the browser back button.


(BKR-230) Update inifile gem dependency

This fixes calls to the IniFile constructor to reflect the changed api in inifile 3.0.0 and bumps the dependency in beaker.gemspec.

Can one of the admins verify this patch?

@puppetlabs-jenkins test this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3446/

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3503/

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3504/

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3586/


dir search tile remove new

https://github.com/bcgov/entity/issues/22135

/gcbrun

Temporary Url for review: https://yfthig-dev--pr-179-kwbi12zh.web.app


Scrape dictionary.com

Feature ✅
Description
The task here is to scrape dictionary.com for words and their meanings and store the scraped data into a json file.
Example
Must be able to run the script and json file should get generated.
Hint: In python use tqdm for updating progress

@pratik-choudhari Can I contribute to this?

@Blastoise Sure! Let me know the language.

I will be using python.

Hey @pratik-choudhari I just wanted to confirm that I have to scrape the whole dictionary.com at one go or the user will input a word that I need to scrape and store it in JSON.

It should scrape all words and meaning from dictionary.com, all stored in json

Ok great! I am working on it.


CMSC495-40: Add difficulty field to Task Model

Ticket: CMSC495-40
I added the difficult field to the Task Model.

Tasks Response:
[
    {
        "id": 1,
        "title": "Task 1",
        "description": "Description of Task 1",
        "userId": 1,
        "createdDate": "2023-07-14T20:53:15.371988",
        "updatedDate": null,
        "dueDate": "2023-07-21T00:00:00",
        "status": "TO_DO",
        "difficulty": "HARD"
    },
    {
        "id": 2,
        "title": "Task 2",
        "description": "Description of Task 2",
        "userId": 2,
        "createdDate": "2023-07-14T20:53:15.374258",
        "updatedDate": null,
        "dueDate": "2023-07-21T00:00:00",
        "status": "IN_PROGRESS",
        "difficulty": "EASY"
    }
]

Looks good. Should we also add a Priority field? Or maybe it will be determined by the sorting order in the swim lane

We can explore that. Right now the order will just be determined on the order they were created.


Add Twitter to Footer

feedback source creator twitter
instead of
feedback source creator

Actually, I don't know about this.

I don't think this is a great idea since the twitter is really just a mirror of the reddit.


[WIP] e2e: new common metrics (FPS, CPU, RAM)

To Do

[ ] fix local tests (we manuall add results to delta, but in local tests we run only one app)
[x] fix profiler flakiness (throw new Error(Could not parse ATrace line "${line}");)
[x] fix profiler flakiness (Process id has changed, ignoring measures until now)

Details
Capture CPU, FPS and RAM for all tests.

Fixed Issues

$ https://github.com/Expensify/App/issues/19596
PROPOSAL: https://github.com/Expensify/App/issues/19596#issue-1725558775
Tests

[ ] Verify that no errors appear in the JS console

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[ ] I linked the correct issue in the ### Fixed Issues section above
[ ] I wrote clear testing steps that cover the changes made in this PR

[ ] I added steps for local testing in the Tests section
[ ] I added steps for the expected offline behavior in the Offline steps section
[ ] I added steps for Staging and/or Production testing in the QA steps section
[ ] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[ ] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[ ] I included screenshots or videos for tests on all platforms
[ ] I ran the tests on all platforms & verified they passed on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[ ] I followed proper code patterns (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[ ] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I followed the guidelines as stated in the Review Guidelines
[ ] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] I verified that if a function's arguments changed that all usages have also been updated correctly
[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

One quick note: I see that all units are in ms. I think we should fix that, so the units can be different.

I think we should fix that, so the units can be different.

Yeah, I also noticed that, but decided that it will bring a lot of changes in a single PR, so probably it would be good to handle as a separate task 👀
I think main units will be:

ms
count (re-render)
% (CPU usage)
mb (RAM)
FPS (UI/JS) thread.

How often did you ran the tests from the screenshot? We should run a full test run (I think these are 30x?) on a real device. We need to check if the values we get are stable.

@hannojg @mountiny @alitoshmatov this one is ready for review 🙌
Feel free to have a look 👀

Also added separate metrics for JS and UI thread. So now we track next metrics:

RAM usage
FPS average
CPU average
CPU usage for JS thread
CPU usage for UI thread

@alitoshmatov @mountiny this PR is ready for review 👀

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Just one question, but other than that, the code looks good to me!

I think this is ready for another look @hayata-suenaga

@hayata-suenaga just a friendly reminder 😊

sorry I have been on and off with travel sickness. I'm reviewing this now 🙇

@hayata-suenaga okay, sure 🙌  🙂

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Key object can't be find in integration test by flutter_driver

As flutter_test package can find key object by find.ByKey class to implement widget test, I want to find key object  in integration test with flutter_driver package. But I only can see find.ByValueKey class implemented forflutter_driverintegration test.
Is it possible to find UniqueKey in integration test? If not, why isn't it possible to find Key object in flutter_driver integration test which is possible in flutter_test widget test?

@tkmsikd
Currently it doesn't seem to have find.ByKey property for integration_test plugin.

@tkmsikd
Currently it doesn't seem to have find.ByKey property for integration_test plugin.

@tkmsikd
Currently it doesn't seem to have find.ByKey property for integration_test plugin.
@darshankawar  Thank you for your reply.
Is there any practice to manage UniqueKey for integration test? If not, why does not flutter_driver package supports Key object for integration test?

@tkmsikd
Currently it doesn't seem to have find.ByKey property for integration_test plugin.
@darshankawar  Thank you for your reply.
Is there any practice to manage UniqueKey for integration test? If not, why does not flutter_driver package supports Key object for integration test?

I may have misunderstood the issue at hand, if so, please forgive me. But, by using the new integration testing workflow, you'll have access to the WidgetTester just like when writing widget tests.
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

import 'package:<your_package_name>/main.dart' as app;
void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  testWidgets("test foo", (WidgetTester tester) async {
      await app.main();
      await tester.pumpAndSettle();
      await tester.pump();

      final fooFinder = find.byKey(fooKey);  // fooKey is a UniqueKey declared somewhere
      expect(fooFinder, findsOneWidget);
  });
}

I'm using this logic with no issues in my tests.

Hi @tkmsikd
Please follow the above sample, it should find key for you
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Adding button to inject window.json value

This PR add's a button to the option bar that adds the value of the JSON to the global variable window.json as per the docs approach:
json = JSON.parse(document.getElementById("jsonFormatterRaw").querySelector("pre").innerText)
Attempted resolve of #231
Related unresolved PR:
https://github.com/callumlocke/json-formatter/pull/242
Inspiration
https://github.com/callumlocke/json-formatter/issues/231#issuecomment-1521730777

I have just tried and it worked nice, thanks! Hope that is available in the official version!

👍  to pulling this into a new release


Plugin stopped removing files v2

Issue description or question
Plugin stopped removing files in dist/ folder, had it working before i added css extraction but I don't think those two should affect each other. Tried googling around but mostly find answers for v1. No clue what I broke but grateful for any hints or insights :)
I've read the "Additional Upgrade Information" but didn't find my issue/way to solve it there. Tried a few patterns, had ['**/ * ','!images*','!manifest.json'] working before but as said, somewhere along the lines it broke.
The plugin logs the files in terminal but doesn't do anything with em, neither in --watch or when building, even if the file isn't imported anywhere/used be webpack at all, such as test.js (empty) which I added as a kind of control file:
webpack is watching the files…

clean-webpack-plugin: dry dist/js
clean-webpack-plugin: dry dist/js/background.js
clean-webpack-plugin: dry dist/js/popup.js
clean-webpack-plugin: dry dist/js/test.js
clean-webpack-plugin: dry dist/popup.css
clean-webpack-plugin: dry dist/popup.html
Hash: 8f633eb21de2e45d114e
Version: webpack 4.35.0
Time: 815ms

Webpack Config
const path = require('path');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const HtmlWebpackPlugin = require("html-webpack-plugin");
var HtmlWebpackExcludeAssetsPlugin = require('html-webpack-exclude-assets-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');

module.exports = {
    entry: {
        'js/background': './src/js/background.js',
        'js/popup': './src/interface/popup.js',
    },
    plugins: [
      new CleanWebpackPlugin({
        //root: '/',
        dry: true,
        verbose: true,
        cleanOnceBeforeBuildPatterns: ['**/*','!images/*','!images*','!manifest.json'],
      }),
      new HtmlWebpackPlugin({
        filename: 'popup.html',
        template: './src/interface/popup.html',
        inject: 'head',
        excludeAssets: [/background.js/]
      }),
      new HtmlWebpackExcludeAssetsPlugin(),
      new MiniCssExtractPlugin({
        filename: './popup.css'
      })
    ],
    output: {
        path: path.resolve(__dirname, 'dist/'),
        filename: '[name].js'
    },

    module: {
        rules: [
          {
            test: /\.m?js$/,
            exclude: /(node_modules|bower_components)/,
            use: {
              loader: 'babel-loader'
            }
          },
          {
            test: /\.scss$/,
            use: [
                MiniCssExtractPlugin.loader,
                "css-loader",
                "sass-loader"
            ]
          },
          {
            test: /\.css$/,
            use: [
              {
                loader: MiniCssExtractPlugin.loader,
              },
              'css-loader',
            ],
          },
        ]
      },
};

Environment
System:
    OS: macOS 10.14.5
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
    Memory: 6.07 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.4.0 - /usr/local/bin/node
    Yarn: 1.16.0 - ~/.yarn/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  npmPackages:
    clean-webpack-plugin: ^3.0.0 => 3.0.0
    webpack: ^4.35.0 => 4.35.0

Are you saying the files are not being deleted? I suspect you need to remove dry: true, from your configuration.

Well damn, that was indeed it. Don't get why it worked with it earlier (since docs recommend it initially). Thanks for the time taken to figure that one out! 👍 Closing this issue.


remove listCategories method

listCategories currently returns the enum values of Category as list.
This is not needed. All consumers of the API must directly refer to the enum.
This method must be removed.
PS - UI was using this service earlier but is now changed to use the enum directly.

I will take it.


TC82 video streaming Unavailable

Description
The TC82 video streaming is Unavailable, although other options seem to work fine.

Reproduction Steps
Go to camera sensors.
Expected behavior
The video streaming should work.
If applicable, add error logs.
Specific camera error
Logger: homeassistant.components.stream.stream.camera.front_yard_camera_hd_stream
Source: components/stream/init.py:448
integration: Stream (documentation, issues)
First occurred: 12:08:20 PM (4 occurrences)
Last logged: 12:09:22 PM
Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://:****@[[CAMERA_IP]]:554/stream1)
Other
This error originated from a custom integration.
Logger: custom_components.tapo_control
Source: custom_components/tapo_control/utils.py:641
integration: Tapo: Cameras Control (documentation, issues)
First occurred: 12:07:41 PM (22 occurrences)
Last logged: 12:16:21 PM
All connection attempts failed
Other
This error originated from a custom integration.
Logger: custom_components.tapo_control
Source: custom_components/tapo_control/utils.py:640
integration: Tapo: Cameras Control (documentation, issues)
First occurred: 12:07:41 PM (22 occurrences)
Last logged: 12:16:21 PM
[initOnvifEvents] Initiating onvif connection failed.
Device Firmware
1.0.21 Build 240905 Rel.60675n
Integration Version
5.8.0
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
supervised installation on Raspberry Pi 4
Search for similar issues
Yes
Additional information
No response

https://community.tp-link.com/en/home/forum/topic/697492

TC82 work perfect in HA with go2rtc and generic cam
For go2rtc use tapo://password@ip/stream
For generic cam use rtsp://ipha:go2rtc password/namestreamgo2rtc
then with go2rtc you can add to homekitq
note: disable internet acces

Thanks @prios1972 ! With go2rtc I can access the camera stream! Hopefully it can be integrated in HomeAssistant-Tapo-Control, as the stream is available.
Cheers!

You can already use go2rtc with this (and any other) integration like below:
type: custom:webrtc-camera
entity: camera.outdoor_entry_door_sd_stream

No need for setting it up inside go2rtc config.


Create library_jmdns.xml

How do I get the classPath?

@mueller-ma the class path is one of the main classes of the library. basically packagename + class name (sadly java does not allow to check for the existence of a package)

@kaikreuzer What's the classpath of the jmdns library? javax.jmdns.JmDNS?

@mueller-ma exactly :)

Right, here's the proof ;-)

I'm sorry, I wanted to ping the maintainer with my comment, but github removed the ping. Probably I misspelled it.
@kaikreuzer What's the classpath of the jmdns library? javax.jmdns.JmDNS ?

@mueller-ma, I assume you didn't yet see https://github.com/mikepenz/AboutLibraries/pull/380#issuecomment-375196892, right?

@kaikreuzer @mueller-ma thank you both!


feat: add zip 1.22.3 release

update zip with release 1.22.3

:tada: This PR is included in version 1.237.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove loops from GetWrapperOutputShape

I believe two loops were left over from refactoring:

One loop over fieldPathParts have been replaced with recursion. The
current loop will only execute the first element, so we can remove the
loop.

Another loop over map keys, but we can simply use a map lookup
instead for a bit better performance

There is already a unit test for this code.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/lgtm


Revendor g/g v1.100.

Description
None

Seems like it's working:
gardener-extension-dns-powerdns-86bb97c5fb-s7hzq gardener-extension-dns-powerdns {"level":"info","ts":"2024-11-20T12:23:51.024Z","msg":"Creating or updating DNS recordset","controller":"dnsrecord","object":{"name":"seed-ingress","namespace":"garden"},"namespace":"garden","name":"seed-ingress","reconcileID":"4906cd99-2bc4-4f05-a9bc-acb3cf630eef","zone":"gardener.<IP_ADDRESS>.nip.io.","name":"*.gardener.<IP_ADDRESS>.nip.io","type":"A","values":["<IP_ADDRESS>"],"dnsrecord":"seed-ingress"}
gardener-extension-dns-powerdns-86bb97c5fb-s7hzq gardener-extension-dns-powerdns {"level":"info","ts":"2024-11-20T12:23:51.043Z","msg":"Deleting meta DNS recordset","controller":"dnsrecord","object":{"name":"seed-ingress","namespace":"garden"},"namespace":"garden","name":"seed-ingress","reconcileID":"4906cd99-2bc4-4f05-a9bc-acb3cf630eef","zone":"gardener.<IP_ADDRESS>.nip.io.","name":"*.comment-gardener.<IP_ADDRESS>.nip.io","type":"TXT","dnsrecord":"seed-ingress"}
gardener-extension-dns-powerdns-86bb97c5fb-s7hzq gardener-extension-dns-powerdns {"level":"info","ts":"2024-11-20T12:23:51.059Z","msg":"Successfully reconciled DNSRecord","controller":"dnsrecord","object":{"name":"seed-ingress","namespace":"garden"},"namespace":"garden","name":"seed-ingress","reconcileID":"4906cd99-2bc4-4f05-a9bc-acb3cf630eef"}


Voice Color expression gives "error: out of range"

Describe the bug
I've tried using the CLR expression multiple times, twice with Kasane Teto (once with the kanji for the colors, i.e. 囁,力,↑, the other time being just now with the English names, i.e. core,sasayaki,chikara,sakebi), and once with Kemonone Row Chain-Blaster, using the respective kanji (強,弱).
To Reproduce
Steps to reproduce the behavior:

Choose any UST/USTX, this behavior is universal
Make sure the CLR parameter has values listed in it.
Make sure the voicebank is multi-expressional
Use the CLR expression

Expected behavior
Displaying the respective colors in a list, and allowing the user to choose.
Screenshots

Environment:

OS: Windows (Windows 10, if the specific version matters)
Version: 0.0.513.0/0.0.514.0
Voicebanks used: Kasane Teto (Core, Rikimi, Sakebi, Sasayaki)/Kemonone Row Chain-Blaster

This could also just be me using the expression wrong, but I figured I'd report it anyways.

Hey! I was having a similar problem, so I looked it up and all I could find was this. Which, obviously, didn't help much since no solutions had been listed yet. Instead of waiting for one to appear I went back to the program and tried fiddling with it a bit more. And I found a solution! At least for the issue I was having. You have to configure the voice colors by going to "tools > singers", selecting the voice you're using, and hitting the "Edit Subbanks" button. You make a "color" for each subbank you want to use, select the pitch range that qualifies (unless it's pitched-based, just do "Select All"), and set either a prefix or a suffix! Then hit save at the bottom and you're good to go :) You need at least two colors in order for it to work, though.
I'm not sure how good my explanation is, so I'll also provide pictures of the "colors" I set up for Yokune Ruko ♂ (KIRE) and Kasane Teto!

"auto" is the usual automatic thing, but 0-3 is G#3, D#4, F#4, and B4 respectively for more finetuning.

By the way, for the default bank color, set " " (space) as the suffix. If you don't, it won't save in the subbank list. Also, I'm aware I need to download more of Teto's banks, but I haven't gotten around to it yet.
Hope this helped!

This works! Thank you!