USB peripheral support

Adds the required implementation to support USB device with usb-device and stm32-usbd.

@usbalbin I have mostly ripped this implementation from the F3 repo. However I'm not sure if it is not working correctly or if I have a hardware issue since the G4 board I'm using doesn't feature a USB connector.
If you have the ability to test using the example that would be great. Otherwise wait until I can get my hands on the correct hardware before merging.

Note there is also #50 . @kevswims what is the status and/or plans of #50?

@usbalbin I have mostly ripped this implementation from the F3 repo. However I'm not sure if it is not working correctly or if I have a hardware issue since the G4 board I'm using doesn't feature a USB connector.
If you have the ability to test using the example that would be great. Otherwise wait until I can get my hands on the correct hardware before merging.

I do not have access to such hardware right now. Might in several months, maybe, but not now.
BTW, thanks!

@usbalbin didn't see #50 but I will have a look at it an see if there's anything to bring across.
I'll go ahead and order the expansion board to give my dev board USB. If that doesn't fix it, my best guess is there's a clocking issue causing the host to reject the connection.

@usbalbin didn't see #50 but I will have a look at it an see if there's anything to bring across.
I'll go ahead and order the expansion board to give my dev board USB. If that doesn't fix it, my best guess is there's a clocking issue causing the host to reject the connection.

Awesome!
Correct me if I am wrong, have not looked into USB, but I believe I read about some sort of clock recovery system in #50 for running without a crystal in case that helps.

Note there is also #50 . @kevswims what is the status and/or plans of #50?

I have switched my project over to use embassy which is why I haven't done anything more with that PR. As far as I remember with a bit of cleanup it should be good to go in if someone wants to use the work from it. I'm happy to answer questions or assist with that if someone wants to take it over.

@usbalbin with the correct hardware, all is working now.

@usbalbin this is ready to merge. The failing CI is unrelated.

Great!
Perhaps not a huge deal, but would you mind having a look at my earlier comment :)

@usbalbin sorry didn't see that. Fixed now.

Thanks a lot for this!


@keydown.prevent.enter issue

Currently I set :add-tag-on="[]" and handle tagging carefully by testing every key typed with regex before addition.
Unfortunately I cannot implement features like on enter jump to next input, on enter do other stuff like add tag manually or display html5 validation message if something is wrong.
Could you provide option to turn @keydown.prevent.enter off so developers can handle this feature by themselves?
I think this won't take much time to implement and will make your component much more flexible.

@keydown.prevent.enter is only on the container div, there are other keyup and keydown events on search inputs depending on which mode you use, so that's not quite straightforward. I wouldn't go into giving too much freedom in handling basic key events like enter to avoid overcomplicating things. If you need to implement such specific behavior I'd it's best to override the component template and implement key events as they fit you the best.


docs($browser): Remove Roadmap link

Issue #89
Remove Roadmap link and update add contributor section in CONTRIBUTING.md

Thanks!


Its not starting

when I clicked setup.bat it automatically crashed and nothing opened pls help me , ty

add my disc: Gumbobrot#4888


Ordered enum classes  to work better with Pyright

The order that enums are currently generated leads to an undeclared type being used for both the mangling reference and the field references. This might not be an issue in mypy, but in Pyright, it causes the linter to not be able to recognize the source type for these fields:

I've simply switched around the declaration to this:

Outside of giving the members a little more room to breathe, it reduces the declaration order issue.
However, there is still the unknown type in the generic EnumTypeWrapper. I think I will investigate that in the pyright repo (since I assume it works with mypy)

This looks great!
Can you confirm you've signed the CLA?
https://opensource.dropbox.com/cla/

Can you add an entry to the CHANGELOG.md as well?

Done so with both.


Help with running the tutorials on AWS

I've been working my way through the tutorials and am able to run all of the episodes up to and including Episode 5. However I'm having problems with Episode 6.
In the tutorial description for Episode 6: Statistics Redux it says:
"With Metaflow, you don't need to make any code changes to scale-up your flow by running on remote compute."
However when I try to run:
$ python 02-statistics/stats.py --with batch run --max-workers 4
I get a ModuleNotFoundError: No module named 'pandas' error.
If I add @conda(libraries={"pandas": "0.25.3"}) to the code and run:
$ python 02-statistics/stats.py --environment=conda --with batch run --max-workers 4
I get a different error.
$ python 02-statistics/stats.py --environment=conda --with batch run --max-workers 4
Metaflow 2.0.1 executing MovieStatsFlow for user:bart
Validating your flow...
The graph looks good!
Running pylint...
Pylint is happy!
2020-01-10 12:02:12.821 Bootstrapping conda environment...(this could take a few minutes)
2020-01-10 12:02:15.507 Including file 02-statistics/movies.csv of size 191KB
2020-01-10 12:02:16.141 Workflow starting (run-id 6):
2020-01-10 12:02:17.373 [6/start/14 (pid 16380)] Task is starting.
2020-01-10 12:02:18.064 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Task is starting (status SUBMITTED)...
2020-01-10 12:02:19.135 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Task is starting (status RUNNABLE)...
2020-01-10 12:02:22.358 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Task is starting (status STARTING)...
2020-01-10 12:02:25.592 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Task is starting (status RUNNING)...
2020-01-10 12:02:32.406 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Setting up task environment.
2020-01-10 12:02:40.355 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Downloading code package.
2020-01-10 12:02:45.971 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Code package downloaded.
2020-01-10 12:02:45.971 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Bootstrapping environment.
2020-01-10 12:02:49.365 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Environment bootstrapped.
2020-01-10 12:02:49.366 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] Task is starting.
2020-01-10 12:02:54.905 [6/start/14 (pid 16380)] [9d7a0391-a37f-429a-8b84-19aa3959c522] /bin/sh: 1: metaflow_MovieStatsFlow_linux-64_2bb7be924c1dcc7a95520cfb3d36a5daa5f07b0c/bin/python: not found
2020-01-10 12:02:54.906 [6/start/14 (pid 16380)] Batch error:
2020-01-10 12:02:55.046 [6/start/14 (pid 16380)] Task crashed. This could be a transient error. Use @retry to retry.
2020-01-10 12:02:55.046 [6/start/14 (pid 16380)]
2020-01-10 12:02:56.050 [6/start/14 (pid 16380)] Task failed.
2020-01-10 12:02:56.051 Workflow failed.
2020-01-10 12:02:56.051 Terminating 0 active tasks...
2020-01-10 12:02:56.051 Flushing logs...
Step failure:
Step start (task-id 14) failed.
I've tried adding a retry and get the same error and now have no idea how to proceed.
Am I missing something obvious?
Any help would be most welcome.

I am not sure about the second error (for conda), I'll try it out. For the first one, did you do a pip install pandas as suggested for that tutorial?

I have pandas installed locally, maybe I'm misunderstanding where I should be running these commands. I get this problem when running the commands from my local machine.
I think the second error may be relate to spinning up and tearing down different aws environments as things appear to get cached in the conda_dependencies file with older ids.

@BartBaddeley Please re-open the issue if metaflow 2.0.2 didn't fix your issue.

@savingoyal savingoyal Please see https://github.com/Netflix/metaflow/issues/241


Trying to run ruby will only show version, then Success

I just installed Visual Studio Code,  rbenv and only Ruby yesterday.
Rbenv seems to be installed correctly:
Running doctor script to verify installation...
Checking for `rbenv' in PATH: /home/jmwillithree/.rbenv/bin/rbenv
Checking for rbenv shims in PATH: OK
Checking `rbenv install' support: /home/jmwillithree/.rbenv/plugins/ruby-build/bin/rbenv-install (ruby-build 20210119-10-g500863c)
Counting installed Ruby versions: 1 versions
Checking RubyGems settings: OK
Auditing installed plugins: OK

Ruby appears to be installed:
jmwillithree@DESKTOP-C4ESTH5:~/.rbenv/shims$ whereis ruby
ruby: /home/jmwillithree/.rbenv/shims/ruby

And yet when I try to run ruby I only get one line, not matter what I put. I do not even get error messages. Just this one line:
/home/jmwillithree/.rbenv/libexec/rbenv-exec: line 47: /home/jmwillithree/.rbenv/versions/3.0.0/bin/ruby: Success

As you can see:
jmwillithree@DESKTOP-C4ESTH5:~/.rbenv/shims$ ruby lecture.rb
/home/jmwillithree/.rbenv/libexec/rbenv-exec: line 47: /home/jmwillithree/.rbenv/versions/3.0.0/bin/ruby: Success
jmwillithree@DESKTOP-C4ESTH5:~/.rbenv/shims$ ruby toucan sam
/home/jmwillithree/.rbenv/libexec/rbenv-exec: line 47: /home/jmwillithree/.rbenv/versions/3.0.0/bin/ruby: Success
jmwillithree@DESKTOP-C4ESTH5:~/.rbenv/shims$ ruby =03
/home/jmwillithree/.rbenv/libexec/rbenv-exec: line 47: /home/jmwillithree/.rbenv/versions/3.0.0/bin/ruby: Success
jmwillithree@DESKTOP-C4ESTH5:~/.rbenv/shims$ ruby
/home/jmwillithree/.rbenv/libexec/rbenv-exec: line 47: /home/jmwillithree/.rbenv/versions/3.0.0/bin/ruby: Success
jmwillithree@DESKTOP-C4ESTH5:~/.rbenv/shims$ ruby alksdjfgakjdgfas
/home/jmwillithree/.rbenv/libexec/rbenv-exec: line 47: /home/jmwillithree/.rbenv/versions/3.0.0/bin/ruby: Success

What am I doing wrong?

I have no idea what's happening!
Can you try running ~/.rbenv/versions/3.0.0/bin/ruby -e "puts :hello" directly?
Can you tell us more about your bash version and OS version?


Support TGW (transit gateway) flowlogs

The VPC flowlogs are supported. I'd like to introduce the TGW logs as well.

Thanks for the feedback. I have added to the development list.


Handle INVALID,YAML as a possible reply from the QuestionValidator

Description
Handle INVALID,YAML as a possible reply from the QuestionValidator
Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm


Sample at NPM homepage contains error

The sample at the NPM homepage has an error:
const client = new SparqlClient({ endpointUrl })
should read:
const client = new SparqlClient({ endpointUrl: endpointUrl })

That's valid JS code. See this mdn page. It was introduced with ES6.


Enable Spell check in megalinter

Happy to grab this one.  One of the challenges is all of the city names, maintainer names, etc, so the resulting file gets quite large.  It'll self generate a dictionary, but future additions of new datasets may have some additional friction as valid terms in the YAML front matter metadata will need to be potentially added.
Perhaps step one as adding it but not listing the datasets/ dir, and then a second round to tackle that?

Starting small makes sense to me.  My better lint script just has it check the changes done and not everything - will try to dig that up.
This might also be something that we should push to upstream

If it can help, MegaLinter generates an updated cspell.json in artefacts, with missing words, so you can copy paste it into your repo, then verify if the added words are really added words or mistakes to correct :)


Throubleshooting instumentation

For now, there is no way for a user to troubleshoot a common problems he faces by himself. Artipie should definitely have it. A  command-line utility, plugins for various IDEs and text editors, direct feedback in the logs would improve it.

Blocked by https://github.com/artipie/management-api/issues/47


Authentication fails on Opensuse Tumbleweed

I'm trying to run openbox from lemur and for some reason I simply cannot log in (I swear I'm not just inputting my creds wrong)
[2023-02-06][13:14:05][lemurs][INFO] Lemurs logger is running
[2023-02-06][13:14:05][lemurs][INFO] Switching to tty 2
[2023-02-06][13:14:05][lemurs][INFO] UI booted up
[2023-02-06][13:14:05][lemurs::info_caching][INFO] Attempting to get a cached information from '/var/cache/lemurs
[2023-02-06][13:14:05][lemurs::info_caching [INFO] Read cache file and found environment 'openbox' and username 'soul'
[2023-02-06][13:14:05][lemurs::ui][INFO] Loading username 'soul' from cache
[2023-02-06][13:14:05][lemurs::ui][INFO] Loading environment 'openbox' from cache
[2023-02-06][13:14:17][lemurs][INFO] Lemurs logger is running
[2023-02-06][13:14:17][lemurs][INFO] Switching to tty 2
[2023-02-06][13:14:17] lemurs][INFO] UI booted up
[2023-02-06][13:14:17][lemurs::info_caching][INFO] Attempting to get a cached information from '/var/cache/lemurs
[2023-02-06][13:14:17][lemurs::info_caching][INFO] Read cache file and found environment openbox and username 'soul'
[2023-02-06][13:14:17][lemurs::ui][INFO] Loading username 'soul' from cache
[2023-02-06][13:14:17][lemurs::ui][INFO] Loading environment 'openbox' from cache
[2023-02-06][13:14:19][lemurs::auth][INFO] Login attempt for 'soul'
[2023-02-06][13:14:19][lemurs::auth::pam] [INFO] Started opening session
[2023-02-06][13:14:19][lemurs::auth::pam] [INFO] Gotten Authenticator
[2023-02-06][13:14:19][lemurs::auth::pam] [INFO] Got handler
[2023-02-06][13:14:19][lemurs::auth][INFO] Authentication failed for 'soul'. Reason: Invalid login credentials

Help would be much appreciated!
Built lemurs using the install.sh script, running rust and cargo 1.66

Hey. Thank you for bringing this issue to my attention.
I am quite confident that this is due to a PAM setup error. We had some similar problems with Ubuntu and Debian. I have never used Opensuse myself, but just looking at the pam package they provide, it seems very similar to there.
My suggestion is to install from the develop branch. This might already resolve your problem. Otherwise, check your /etc/pam.d directory, and find a file named something like login or system-login. Afterward, you can set the pam_service field in the configuration to the name of this file.
Sorry, that this is currently a bit convoluted. I am slowly working on the next version, which should address many of these issues.

Reinstalling from the develop bra'ch did the trick, thanks a lot for the swift response! (might be worth adding a note in the readme of the main branch that this is a known and solvable issue?)


introduce a new interface for smoltcp

network thread is able to wakeup directly the blocked threads
reduce the number of context switches

I add kernel patches, because the changes in hermit-sys depends on these changes


How to specify latest versions of CNV tools in pipeline

Hello:
Thanks for providing this valuable resource.
I'm slowly familiarizing myself by going over the Snakemake documentation and tutorials linked to you github page.
If I wanted to run your pipeline but with updated versions of your chosen CNV tools, I should be able to do that by specifying the specific version in an "envs/mapping.yaml" file, correct?  I'm following Step 2 of this tutorial right now: https://snakemake.readthedocs.io/en/stable/tutorial/short.html
Thank you!

You are on the right track, but I would not expect the whole thing to run out of the box, just from this alteration. Very often the outputs of programmes change with versions.Since many versions are likely to have changed, I would rather suggest that you only use our code for inspirations and steal parts that you can use. We published it as documentation for our paper, but it is not intended to be a packaged tool.Den 31. mar. 2023 kl. 19.28 skrev sichan778 @.***>:
Hello:
Thanks for providing this valuable resource.
I'm slowly familiarizing myself by going over the Snakemake documentation and tutorials linked to you github page.
If I wanted to run your pipeline but with updated versions of your chosen CNV tools, I should be able to do that by specifying the specific version in an "envs/mapping.yaml" file, correct?  I'm following Step 2 of this tutorial right now: https://snakemake.readthedocs.io/en/stable/tutorial/short.html
Thank you!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


STERI016-128: Section Block

Ticket: https://herodigital.atlassian.net/browse/STERI016-128
Test URLs:

Before:

https://refresh-develop--shredit--stericycle.aem.live/refresh-testing/sections-features

After:

https://steri016-128-section-am--shredit--stericycle.aem.live/refresh-testing/sections-features

@allanhero Approved. Please fix conflicts.

@allanhero Approved. Please fix conflicts.

Done, thanks!


Add ability to specify the source via chef_gem.

This adds an attribute which allows us to specify a source to the chef_gem resource. This is helpful for us folks without access to a gem server and simply want to setup HTTP or download gem.

/cc @jtimberman

There was a merge conflict, so I fixed that, this is merged. Thanks!


Add a hover and padding overrides on Mat List

Issue
NA
Description
Add some material overrides for Mat List:

When a Mat List is inside a Mat Card then set a negative to balance the default padding of the Mat Card
Change the background colour of each list item on hover

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
📚 View the storybook of this branch here

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
📚 View the storybook of this branch here

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
📚 View the storybook of this branch here

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
📚 View the storybook of this branch here

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
A prerelease version of this package has been published! 🚀
To use it in your project run the following lines:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Gravitee.io Automatic Deployment
📚 View the storybook of this branch here

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


altcoins.bitcoin-unlimited: 1.1.2 - > 1.2.0-rc1

https://github.com/NixOS/nixpkgs/issues/36453

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘util-linux-2.31.1’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/util-linux/default.nix:71 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-linux (full log)
Partial log (click to expand)
         case 'f':
         ^~~~
./tinyformat.h:802:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
             out.setf(std::ios::uppercase);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
./tinyformat.h:803:9: note: here
         case 'g':
         ^~~~
building of ‘/nix/store/rmby4k2nz2yr50ay6j2hf558rwsnq57w-bitcoin-unlimited-<IP_ADDRESS>.drv’ timed out after 3600 seconds
error: build of ‘/nix/store/rmby4k2nz2yr50ay6j2hf558rwsnq57w-bitcoin-unlimited-<IP_ADDRESS>.drv’ failed

Failure on aarch64-linux (full log)
Partial log (click to expand)
     bool Erase(const K& key, bool fSync = false) throw(dbwrapper_error)
                                                  ^~~~~
./dbwrapper.h:244:58: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     bool WriteBatch(CDBBatch& batch, bool fSync = false) throw(dbwrapper_error);
                                                          ^~~~~
./dbwrapper.h:252:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     bool Sync() throw(dbwrapper_error)
                 ^~~~~
building of '/nix/store/ngg04r6671r4z6w954j322k0mg3hqw59-bitcoin-unlimited-<IP_ADDRESS>.drv' timed out after 3600 seconds
error: build of '/nix/store/ngg04r6671r4z6w954j322k0mg3hqw59-bitcoin-unlimited-<IP_ADDRESS>.drv' failed

The commit message doesn't match with the change and it fails to build. :smile:

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: altcoins.bitcoin-unlimited
No log is available.

Success on x86_64-linux (full log)
Attempted: altcoins.bitcoin-unlimited
Partial log (click to expand)
shrinking /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-tx
shrinking /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>/bin/test_bitcoin
shrinking /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>/bin/bench_bitcoin
shrinking /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-qt
shrinking /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>/bin/test_bitcoin-qt
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>/lib  /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>
checking for references to /build in /nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>...
/nix/store/k4ygc27y3w57bpalbczgv9zbjmxv7m56-bitcoin-unlimited-<IP_ADDRESS>

Success on aarch64-linux (full log)
Attempted: altcoins.bitcoin-unlimited
Partial log (click to expand)
shrinking /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>/bin/test_bitcoin
shrinking /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-tx
shrinking /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-cli
shrinking /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoind
shrinking /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>/lib/libbitcoinconsensus.so.0.0.0
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>/lib  /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>
checking for references to /build in /nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>...
/nix/store/zsrg1ljcqgq4yca3qhdqmmcnlp33v9i6-bitcoin-unlimited-<IP_ADDRESS>

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: altcoins.bitcoin-unlimited
No log is available.

Success on x86_64-linux (full log)
Attempted: altcoins.bitcoin-unlimited
Partial log (click to expand)
shrinking /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-tx
shrinking /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>/bin/test_bitcoin
shrinking /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>/bin/bench_bitcoin
shrinking /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-qt
shrinking /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>/bin/test_bitcoin-qt
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>/lib  /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>
checking for references to /build in /nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>...
/nix/store/nbqx9diivfl76w5g2f29dz6px893fwgc-bitcoin-unlimited-<IP_ADDRESS>

Success on aarch64-linux (full log)
Attempted: altcoins.bitcoin-unlimited
Partial log (click to expand)
shrinking /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>/bin/test_bitcoin
shrinking /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-tx
shrinking /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoin-cli
shrinking /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>/bin/bitcoind
shrinking /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>/lib/libbitcoinconsensus.so.0.0.0
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>/lib  /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>
checking for references to /build in /nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>...
/nix/store/cvagr51qr2awcfpqi8m84s096iq94p00-bitcoin-unlimited-<IP_ADDRESS>


fix(docs): invalid JSON doesn't match real type

Actual DataFormat is 'json' | 'yaml'

Thanks for this @pnodet 🤙


Refresh from Apple Health total combined steps?

In Apple Health I have two sources for steps – the iPhone + a Basis Peak activity tracker watch. Steppy 2 will not update the combined Health step total until after I've opened Health app forcing it to update the new totals. Can Steppy 2 periodically poll Health and force it to update, or is there no such API available? If possible it should at least make this call whenever refreshing the Today widget and App display to get latest numbers.

For the "Today" widget to show correct data, I must now first open Health app for Health to refresh combined steps, and then open Steppy 2 app for it to read latest data from Health. Then at least the data will be correct in widget also – at least until I move again ;-)

From what I have seen, HealthKit only publishes new data periodically, or when the Health app is opened. This means that if I fetch new data once and then again 10 minutes later, the data Steppy receives is the same even if you have taken more steps.


Where does the clean-up code live?

Used for a43c06e4bd9a42ad6c31f80387c22f66b1e5e905. Probably makes sense to keep it here as a post-processing step.

Added in 7b0243f662d96ac5c143f7cd9d64af756ef3116a. Let me know what you think.

We should consider using the heuristic here to work around the misattribution problem in Privacy Badger, https://github.com/EFForg/privacybadger/issues/1997 that's holding back https://github.com/EFForg/privacybadger/pull/2024.
That is: have Privacy Badger store information about the last domain that the user visited with their browser. If it appears that the previous domain is "tracking" the user on the next domain they visit, ignore that tracking action.


Bump up version number to 3.4.0; Update documents;

The GA version is 3.4.0, not a major release.
Anyway, if Vincent and you are both OK with it, I am OK.

This should be the first GA version of Azurite V3. So it keeps V3 as major version.


Automated Package Upgrade

:tada: This PR is included in version 5.0.360 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.360 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[WEEX-101][iOS] specify voice-over navigation order is column or vertical

Consider an app that shows items in vertical columns. Normally, voiceOver would navigate through
these items in horizontal rows. Setting the value of this property to YES on the parent element of the
items in the vertical columns causes VoiceOver to respect the app’s grouping and navigate them.Andthe default of this property is NO.
Bug:101

Is there any discussion result for the feature on Android？


Update urls and screenshots in docs for new navigation

The information in the public status page doc is not correct anymore, maybe also true for other pages.

I believe this was done by @shairyar.
@shairyar can you confirm and close the issue if you did?

@noccor could you take a look at this and update the public uptime screenshot with @jieunization ?
@jieunization I think we can make the screenshots a bit nicer anyway :)


How can i detect when the delete key is pressed

Hi @ukalpa
Is there anyway to detect when the 'Delete' key is pressed ?
For example i have a province list  that implemented by inputpicker,when it's value changed i load related cities in a dropdown ,and some info in a table.
I wanna detect when selected province is deleted and the inputpicker have an  empty value? so delete all things that relates to it.
inputpicker has  a 'change' event.but it's  not works when delete is pressed and inputpicker value is empty.
And another thing is that , how can i highlight the filter text ?
I wanna highlight the text that user typed  and it found in the data.

Hi @mahoor-bhr ,

I have fixed the issue of not triggering the Change event when pressing Tab to set an empty value. Can you please try again?

To highlight the filter text, you can add the following section code in your program:

Hi @mahoor-bhr,
Can you please give me related source code if possible? So I can do the further investigation. And about the “highlight” feature, I would add it in the next few days.

Hi @mahoor-bhr ,
I have added the Highlight option into the library, please use the following code to open/close highlight feature, you also can edit the highlight background colour in the inputpicker.css
highlightResult : true

Hi @ukalpa
Thank you for the highlight option.
and my  '.change' action when it's value is empty my code is as below
`                $('#representorSellText').inputpicker({
//url: '../jsonFiles/business.json',
url: './serv/business/GetBusinesslist',
urlParam: data2,
fields: [
//{ name: 'businessId', text: ln.lb().Id },
{ name: 'businessCode', text: ln.lb().code },
{ name: 'businessName', text: ln.lb().name },
{ name: 'businessCategoryName', text: ln.lb().businessCategoryName },
{ name: 'businessCategoryCode', text: ln.lb().businessCategory },
{ name: 'mobile', text: ln.lb().mobile },
{ name: 'phoneNo', text: ln.lb().phone },
{ name: 'fax', text: ln.lb().fax },
],
autoOpen: true,
headShow: true,
fieldText: 'businessName',
fieldValue: 'businessId',
filterOpen: true,
pagination: true,
pageMode: '',
pageField: 'p',
pageLimitField: 'per_page',
limit: 10,
pageCurrent: 1,
            }).change(function (input) {
                console.log('input ', input)
                if (input == '') {
                    businessModel().RepresentorID(0);
                    clearInfo();
                }
                else {
                    var busiId = $('#representorSellText').val();
                    businessModel().RepresentorID(busiId);
                }
            });`

Hi @mahoor-bhr ,
You can not use the "input" parameter straight away in the "change" function, you should use $(this).val() to replace it:
change(function () {      var input = $(this).val();                     console.log('input ', input)                     if (input == '') {                         businessModel().RepresentorID(0);                         clearInfo();                     }                     else {                         var busiId = $('#representorSellText').val();                         businessModel().RepresentorID(busiId);                     }                 });

Hi @ukalpa
I changed my code to var input = $(this).val(); but nothing happend for me.I couldn't get empty value in '.change' event
.change(function (input) {
                    var input = $(this).val();
                    console.log('inputtt ', input)
                    if (input == '') {
                        busCategoryFilter(0);
                        console.log('input ', input)

                    }
                    else {
                        var busiCatId = $('#busCategoriesfilterText').val();
                        busCategoryFilter(busiCatId);
                    }
                });

Hi @mahoor-bhr ,
The change action is not raised when pressing 'delete' or 'backSpace', it is triggered when the input loses focus point such as user presses 'tab'.
Further explanation: when you press 'delete' or 'backSpace', it just changes the content of keyword and it does not mean the input value has been changed, so the change would not be changed at this stage until you press 'tab' or click the selected option. I hope you can understand what I mean...

Hi @ukalpa
i got it.Thanks for reply.

Cheers!

Cheers!


Fix docker non-root access

What was changed
Updates docker image to run as a non-root user. This PR recreates  https://github.com/temporalio/ui-server/pull/170 , which seems to have had some issues going through license validation.
Why?
Address a requirement to run all images as non-root in a kubernetes cluster.
Checklist

Closes  #156

e2e fails due to lack of access to the org secrets

Thanks for approving and merging @feedmeapples !


CorrDiff: Modularize dataloader

Modulus Pull Request
Description

This PR refactors the CorrDiff dataloader code away from the training loop in the example. This is intended to enable the easier addition of new datasets to train and inference CorrDiff.
This enhancement is listed in issue https://github.com/NVIDIA/modulus/issues/353.
Changes

Add a DownscalingDataset base class in datasets/base.py that defines an interface that datasets should follow.
Move training/dataset.py to datasets/cwb.py and modify it to conform to the interface.
Remove dataset creation from training/training_loop.py. The dataset is instead created in train.py and passed to the training loop function.
Remove references to specifics of the CWB dataset from train.py, training/training_loop.py and generate.py. Use the functionality of the DownscalingDataset interface instead.
Move the dataloader initialization keywords into the dataset section of the config files. These are passed to the dataset constructor and can be different for different datasets.
A few minor cleanup changes, such as removing unused code/variables.

Testing

Verified that training and generation loops run ok.
Not verified that training loop produces convergent training runs - needs discussion if this should be done
Are new unit tests needed to cover the additions?

Checklist

[x] I am familiar with the Contributing Guidelines.
[ ] [?] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[x] An issue is linked to this pull request.

Dependencies

/blossom-ci

/blossom-ci


[ODB] lastModifiedDateTime in view.delta and get file info are mismatch

Hi all,
I use following requests to get file info in order to make comparison.
But the lastModifiedDateTime field are not match
https://{tenant}/_api/v2.0/me/drive/items/01FCA3SLPFKDYDGMFWIFC2PLSVXOEUKDED
     "lastModifiedDateTime": "2017-01-17T07:04:20Z",

https://{tenant}/_api/v2.0/me/drive/items/01FCA3SLN6Y2GOVW7725BZO354PWSELRRZ/view.delta
     "lastModifiedDateTime": "2017-01-17T07:04:19Z",

about margins 1 second
thank u for help!

Hey Joe,
Thanks for reporting this issue. I have fixed it and the fix should roll out to Production soon.


Fix bundler compatibility

Fixes #235
It's not safe to access function name in bundled apps, such as (reproduced in):

<EMAIL_ADDRESS>/<EMAIL_ADDRESS><EMAIL_ADDRESS>/<EMAIL_ADDRESS><EMAIL_ADDRESS>/<EMAIL_ADDRESS>
This bug could also reproduced in dist/color.global.min.js (main branch, bundled by terser):
// eval dist/color.global.min.js
Color.prototype.contrast -> undefined

I've checked all prototype properties, there're only two properties that got renamed:

@jgerigmeyer what do you think? Fine to merge if it LGTY.

Looks good on a quick skim, but I'd be happy to take a closer look tomorrow. 👍🏻

Thanks for the fix! Can we get a release which includes this?

Will try to do that tomorrow!

Done! Sorry I dropped the ball last week.


Bootstrap v4

I loved your products. Thanks for that :)
Is there any plan to use Bootstrap v4?

@performatric thank you for the kind words. Yes, we will update all our products to BS 4 when they will release at least the Beta version, now they are in the Alpha stage which is not a good idea to convert our products to. There will be a lot of issues which are pointless to fix before they create a stable Beta. We will keep you posted with details.
Best,
Alex

Cool, you are right! Thank you

Hi Alexandru, thanks for the great work, V4 is already in alpha 6, beta is supposed to be around the corner


Add support for processing templates

This PR adds support for processing templates.
A template allows the user to generate a list of objects with certain labels and parameters. This list can be then used in order to create these objects. So, we would like to support processing the template and return the list of objects to create (as part of the processed template).
Template is currently an Openshift entity, and will be added to k8s here.
cc @abonas @simon3z @zeari

are you going to add tests? what is this feature about/link to k8s documentation?

are you going to add tests? what is this feature about/link to k8s documentation?

yes, I marked it with WIP since tests and updating the Readme are still missing. I'll also update the description above.

@moolitayer @zeari Please review

Currently the feature is not merged on k8s side and that PR wasn't updated for a while.
So either this support should be added to openshift ruby client, or be blocked from merging here until it's merged in k8s - to be on the safe side for users who are using k8s and not openshift.
cc @simon3z

Currently the feature is not merged on k8s side and that PR wasn't updated for a while.
So either this support should be added to openshift ruby client, or be blocked from merging here until it's merged in k8s - to be on the safe side for users who are using k8s and not openshift.

Yes, @zakiva this should be move to the openshift client.

moved to openshift client, closing.

@simon3z @zeari @moolitayer reopened, please take another look.

LGTM :+1:

Since last comments regarding kubeclinet vs openshift_client from 24 days ago some things changed:

we are looking into replacing openshift_client with a kubeclient with discovery on the openshift endpoint - see openshift_client here
The only real functional difference between the two would be the new process_template method as clients were kept functionally similar up until this point (which is great for us)
Given those fact and that the issue in question is targeted to reach kubernetes at some point our cleanest direction for these two clients would be to do the process in kubeclient

@abonas @jonmoter @jimmidyson @nyxcharon @Fryguy @zeari @yaacov @cben @grosser
Any comment on this? We'd like to merge this ASAP

Any comment on this? We'd like to merge this ASAP

LGTM :+1:, I haven't reviewed the code closely, maybe there are nits to fix, but I agree with the direction.

LGTM :+1:

Might be nice to clarify in the README that process_template is not something that is supported by k8s right now.

Might be nice to clarify in the README that process_template is not something that is supported by k8s right now.

Right @salilgupta1, can you or @zakiva send a PR to update the README file?


WFLY-11530, WFLY-11534 Distributable @Stateful EJB integration fixes and cleanup

Distributed @Stateful EJB implementation should not hold references to CapabilityServiceSupport
https://issues.jboss.org/browse/WFLY-11530
WFLY-11534 DistributableCacheFactoryServiceConfigurator should generate ServiceName for TSR via capability name
https://issues.jboss.org/browse/WFLY-11534

Closing for investigation of ejb statistics test failure.


Packaging & CI improvements

Follow good practices for Python packages (see here). Open for discussion!
Use Travis CI.
Add Code coverage.

Missing:

easy upload to PyPI
test with GPU TensorFlow & Sonnet (does the installation really use those if they are pre-installed?)
unit tests should run against the installed version of the package (not local repo)

Closes #50, closes #16.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3c3ffe5). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master      #52   +/-   ##
=========================================
  Coverage          ?   73.12%
=========================================
  Files             ?       57
  Lines             ?     2538
  Branches          ?        0
=========================================
  Hits              ?     1856
  Misses            ?      682
  Partials          ?        0

Impacted Files
Coverage Δ

src/luminoth/utils/bbox_transform_tf.py
80.3% <ø> (ø)

src/luminoth/tools/cloud/gcloud.py
30.95% <ø> (ø)

src/luminoth/models/fasterrcnn/network.py
66.98% <ø> (ø)

...rc/luminoth/models/fasterrcnn/rpn_proposal_test.py
98.94% <ø> (ø)

src/luminoth/train.py
23.28% <ø> (ø)

src/luminoth/utils/test/anchors.py
89.47% <ø> (ø)

src/luminoth/models/__init__.py
100% <ø> (ø)

src/luminoth/utils/image_test.py
99.09% <ø> (ø)

src/luminoth/dataset/__init__.py
100% <ø> (ø)

src/luminoth/utils/bbox_overlap_test.py
96.96% <ø> (ø)

... and 47 more

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 3c3ffe5...1a1538d. Read the comment docs.

TODO: Fix Google Cloud
@psoto this was hardcoded gs://luminoth-config/luminoth-0.0.1-py2-none-any.whl in gcloud.py. Now can use __version__ to get the name of the wheel :)


Train a new corpus !

What changes we need to perform inside the script to train in a new corpus ?
I have checked the script and there is a lot of if condition depend on each corpus.

I would also like to train on a new corpus on a character level please. Need instructions, thanks.

Step 1: Preprocess and encode your text into a file of "integer values" separated by space, where each integer represents a character / word. Then, split them into train.txt, valid.txt, test.txt.
Step 2: Add a new dataset into the Corpus class in data_utils.py and define any additional preprocessing you want to perform (please refer to enwik8 for character-level LM and wt103 for word-level LM for concrete examples).
Step 3: Follow the bash script but change the dataset name and path to your own.

Thanks, so to encode characters into integer, can I just convert them into their ascii number?

@zihangdai Do we have actually to convert words to integers ?
As I can see from Corpus class it calls "vocabulary" which build and encode the text.

Actually, you don't have to. In general, you only need space separated symbols, which can be words / chars / bytes.


[zh-cn] Refresh kubeadm docs for Windows

Signed-off-by: Guangwen Feng<EMAIL_ADDRESS>en PR #33324

This is clean. Thanks.
Next time, you may want to mark the feedbacks as resolved after revised version is committed.
/approve


isNavigation does not make thumbnail a navigation link

Hi
I've got vue-splide working beautifully (great package) with a primary and secondary thumbnail slider.  The primary and secondary are sync'd and working fine together, but there's one issue I don't understand how to resolve.
Secondary has isNavigation: true, which I can see adds some CSS properties to the thumbnail slider, but the thumbnails themselves do not become navigation links.  Cursor on mouse hover remains as the default and clicking the thumbnail has no effect.
Comparing the <li> elements on my secondary to the example on splidejs.com shows that role="button" and aria-label="Go to slide X" are missing from mine.
Is this a bug, or is it possible I've used two incompatible options?
Thanks
splidePrimary: {
	type       : 'loop',
	heightRatio: 0.6,
	pagination : false,
	arrows     : true,
	cover      : true,
	speed      : 300,
	lazyLoad   : 'nearby',
	preloadPages : 1,
	classes: {
	  arrow : 'splide__arrow splide-custom-arrow',
	},
},
splideSecondary: {
	type         : 'slide',
	rewind       : true,
	fixedWidth   : 130,
	fixedHeight  : 70,
	isNavigation : true,
	gap          : 0,
	focus        : 'center',
	pagination   : false,
	cover        : true,
	arrows       : false,
	lazyLoad     : 'nearby',
	preloadPages : 4,
	breakpoints : {
	    '600': {
		fixedWidth  : 66,
		fixedHeight : 40,
	    }
	}
}

Close the issue due to the major version update.
Feel free to create a new issue or open a new discussion.


Request for information

Dear All,
Can I pull the below information?.
Do we have readily available variables/functions/methods?
Power, in Watts
Power factor
Efficiency
Wire Current Density, A/m2
Copper Loss in Watts
Iron Loss in Watts
Coil Current Density A/mm2
Line Voltage(peak), V

Hello,
As a first short answer without much investigation:

"Average Electromagnetic power [W]" output.mag.comp_power() : https://github.com/Eomys/pyleecan/blob/master/pyleecan/Methods/Output/OutMag/comp_power.py
For losses, it requires to define additional model that will be extended/detailed in PR #558
Line voltage shouldn't be available since most of the simulation are current driven. We supply directly the current as a fct of time in the FEMM models, in the FEMM related methods/functions you should find the current density.

Hope it helps,
Best regards,
Pierre

Thanks Pierre.


A couple of suggestions for adding new files.

I organize my manga into folders to make it easier to find later. Because of this, the following proposal appeared - to scan a separate folder so that the program can quickly find new manga.
And the second suggestion is to drag'n'drop the manga file to the program window so that the file can be added to the collection.

@VanTuz5 Even with a full library scan, the software only processes files that have not been scanned before, so there is no difference in speed between scanning individual modified folders and scanning the entire library.
Is "collection" the collection unit in the software? It has a separate organizing interface. Anyway, I don't want to add too much file management functionality in the software. When designing this software, I hope it has less intrusiveness and maintains the original state of the library without changing it.
If you need file management, please do so in the file manager.

It happens that I download a manga that is still ongoing, and when it comes out completely, for the sake of it I have to rescan everything, and this is more than 6,000 files, and this takes time. That's why I wish there was a way to do everything faster. Or it would be cool to indicate that the file name has changed, since you don't want to consider my scanning suggestions.

There is a "Rescan" function button on the details page of the comic that can re-scan the current comic. I think this can meet most of the scene requirements.

If the file has a slightly different name, for example, there was a postscript (ongoing) and it became (complete), then the program will not see this file and everything will have to be rescanned. But if it were possible to indicate that the file name is now such and such, then there would be no need to do this.


v5.5.1 CHANGELOG

CHANGELOG for patch release - should be included in #1362

Note that the initial CHANGELOG entry was inserted in #1365, but any further issues for v5.5.1 should have their changelogs added under a new branch for this issue.

All issues in the v5.5.1 milestone have been resolved with fixes merged into release-v5.5, although two still haven't been merged into master. I think we're good to go on wrapping up this patch update and I'm therefore going to squash the commits for this branch and open up a PR.

Closed via #1417.


chore(pipeline): [460] Add release action example

Potential fix #460

thanks, however resolved in #461


Capture image shows underlines on the links on some themes

With reference the capture image of https://jamstackthemes.dev/theme/hugo-theme-docura/,
As you can see, the tool you are using to capture site image has been added the underlines for the links of the docura website. As I can't see the same behavior of the other captures, I think this may related the theme. May I know the tool you use to generate these captures as I can't see this behavior on common browsers?

Please use a modern tool like https://github.com/go-rod/rod. https://jamstackthemes.dev/theme/hugo-theme-docura/ misleads uses with attached buggy screenshot.


auto parallel Moe model  load dyhand checkpoint hack fix

PR types
Others
PR changes
Others
Description
自动并行moe热启使用动手checkpoint，hack修复

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.20 out of 21 committers have signed the CLA.:white_check_mark: ckl117:white_check_mark: lvdongyi:white_check_mark: waliwali777:white_check_mark: DrownFish19:white_check_mark: DesmonDay:white_check_mark: zhiqiu:white_check_mark: ForFishes:white_check_mark: zhangyuqin1998:white_check_mark: gzy19990617:white_check_mark: risemeup1:white_check_mark: lugimzzz:white_check_mark: zhangbo9674:white_check_mark: TBD1:white_check_mark: dynamicheart:white_check_mark: will-jl944:white_check_mark: co63oc:white_check_mark: Wennie396:white_check_mark: zeroRains:white_check_mark: Liujie0926:white_check_mark: wanghuancoder:x: tianyuzhou668You have signed the CLA already but the status is still pending? Let us recheck it.


React Calculator

Looking for some-one to create a simple basic calculator using react

Hello Ganesh!
This is BENDU MANOHAR NAIDU, I joined scaler and working on a GitHub challenge where we should go through some open source contributions as I'm good in React, could you please assign me the project.

Sure @bendumanoharnaidu2001 , I am also looking for a guy who has experience working in React
So, I would like to assign this project to you and I am expecting this project to be completed in a week
All The Best

Hey I would like to work on this. Can you please:-

Assign me.
Label this issue as 'hacktoberfest-accepted'

also any other feature to include execpt 'Basic Calculator'

Please assign this issue to me


grobid skip pages

Hi,
We are running Grobid 0.7.3 to extract references from pdf. The pdf has lines number on the left and some watermark at the background.
Grobid was able to extract reference, but the number of references it extracted is fewer than what's in the full pdf. We found out that Grobid skipped random pages when processing the pdf reference section. Have you seen that type of issue before and can you share some suggestion to make it work?
Thanks!

Hi @peilin54 !
Sorry for the slow answer. It's not something common for sure, it might be that the full content of the page is not classified as reference section, but as annex, and thus the corresponding reference entries are overlooked.
The misclassification might be related to the watermark (that might be confusing with a figure element).
One solution is to add a few examples of this sort of articles in the training data of the segmentation model.
If you can share the document with me and if it is CC-BY, I can have a look!


Issue while offloading an application using pod-offloading-strategy

.#### What happened:
We tried to offload an application on peered clusters using pod-offloading-strategy on Remote, as per strategy it needs to run on only remote but pods are running on local cluster

What you expected to happen:
Pods should run on remote cluster as per the pod-offloading-strategy
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The steps we performed are below
Step1: Peering is established between AWS and GCP Clusters. (Refer image : liqo-peering.png )
Step2: Created namespace and enabled pod-offloading-strategy on remote. (Refer Image: liqo-pod-offloading-strategy.png)
Step3: Deployed manifest files in GCP cluster (Refer Image: liqo-deploy-manifest.png)
Step4: When I check the pods, All the pods are running in gke cluster only. But ideally it has to run in aws cluster right? (Refer Image: liqo-pod-running-gke.png)
Step5: No pods are listing in eks cluster.(Refer image : liqo-eks.png)
using liqoctl version: v0.4..  Kindly help to resolve the issue asap
Attached all the images for reference above
Environment:

Liqo version: liqoctl version: v0.4
Kubernetes version (use kubectl version):v1.21.14

Hi @Priyaboliset,
Could you please post the yaml of one of the pods that is not scheduled correctly? And the logs of the liqo-webhook?
By the way, I would suggest you to upgrade liqo to the latest version, as we fixed different bugs, and many commands present in the current documentation are incompatible with v0.4.0.


Add a R1CS-ACIR format

This is mostly just for convenience when interacting with proving systems whose language is R1CS

This would be useful after the R1CS pass has been done and its easier for developers to target

ACIR already supports R1CS, so I do not understand the issue here.


Fix a typo in the changelog

This PR is fix a typo in the changelog.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with main (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[-] Updated documentation.
[-] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

Thank you!


Syntax Highlighting for each language...

About Syntax.
First of all th10 for an awesome theme! 🎆
I don't understand why the color syntax for all languages that I use (i.e. - C#, JS, TS, AHK, C++, C, Java, Html, CSS, Python...) is the same?
Is there a wat to implement for ich language his own different ⚡Syntax Highlighting⚡ ?
Regards! 👍✌

Thanks for your kind words.
Would you please elaborate on your question, maybe coming up with some code examples pointing out how would you like the code to look like?
Cheers!

0Key, my friend let me explain it another way...
As an example, I'll take the IDE called «NotePad++».
I have a theme called "Plastic Code Wrap". It looks like this:

Now I put here some code, then I switch to other languages...
C#

JavaScript

AutoHotkey

C++

CSS

HTML

Different syntax, color, style, font, weight, brackets... etc.
 Please help! 🙏

Can you accomplish the above results (or similar) by using VS Code text editor with different theme?
Since I'm not familiar with Notepad++ I'll have to assume that in order to get different syntax colouring you changed the language mode. If that's the case you can get a similar result in VS Code via ⌘ + K + M in MacOS or CTRL  + K + M in Windows.


Added solution for Problem ID 53

@SanthoshS20 Do you want me to do any further changes to this pr? Please reply.


Request multiple permissions at one

I created the PR because of this issue:
https://github.com/NeoLSN/cordova-plugin-android-permission/issues/6

Merged.
Thanks for your contribution.


LMC-001-testing-issue

blah blah blah

for now (this is what im thinkin):
we make issues for the project, like small features and things that we want to work on, and then assign tag value (high, medium, low) for priority
after this, we choose which features we want to work on, and we start code code coding.
when we work on an issue make sure to assign it to yourself, then either checkout the branch you want to work on or create a new branch using the naming convention: "[feature/bugfix]/LMC-[000-999]-[issue name]"
all of this to get juicy juicy indicators from john mortenson


Request to Publish Extension on open-vsx.org

Hello,
Thank you for developing the html-preview extension. I noticed that the extension is available on the Microsoft Marketplace but not on open-vsx.org, which is an open-source alternative that serves the broader community, including VSCodium users.
Would you consider publishing your extension on open-vsx.org as well? It would benefit users who prefer or are required to use open-source software. The process is outlined here: Publishing Extensions.
Thank you for considering this request.
Regards,
Prerna

Any updates on this request?


Get-MKLogonPassword is not mapping NTLM Hash value properly

ORIGINAL MIMIKATZ OUTPUT

^^^ Notice NTLM Values
SAME MACHINE - SAME EVERYTHING

It's an issue with the LogonPasswords outputtype of Commands.ps1

Fixed in latest build!


OSM CLI prompt to upgrade

Please describe the Improvement and/or Feature Request

OSM CLI should have a way to detect its own version compared to the installed chart version and prompt user to upgrade the CLI.
Scope (please mark with X where applicable)

New Functionality          [ ]
Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [X ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
CI System                  [ ]
Project Release            [ ]

Possible use cases

From my shell scripts - I use this to get the latest release for certain automation tasks:
curl --silent "https://api.github.com/repos/openservicemesh/osm/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")'

The Go version of this in the OSM CLI would be great.
The second step would be to compare the latest available with what's running in the Kubernetes cluster.

we could get that from the Deployment spec: kubectl get deployment -n osm-system osm-controller -o json | jq '.spec.template.spec.containers[0].image'
or the running OSM Controller itself (logs or debug endpoint)

I can work on it pls assign it to me

Hi pls assign it to me.

can be fixed by https://github.com/openservicemesh/osm/pull/5266

We can close this now fixed by https://github.com/openservicemesh/osm/pull/5266


Exporting multiple apps to the same storage account <- incomplete documentation

Hi.
The section "Exporting multiple apps to the same storage account" says "When configuring export for multiple apps, you should create or update a configuration with the blob_path_format_kind (part of the ExportBlobConfiguration model) set to WithAppId, which prefixes the export path with the respective appID's.".
It jumps over all the necessary details and jumps straight into explaining some configuration variables. It assumes the user already knows how this works, but that's kinda the point with documentation, it should outline these things.

How do you configure export for multiple apps - by using the same connection string?
Where should one create this "configuration with blob_path_format_kind set to WithAppId"? The only advanced option is the connection string/instrumentation key.
Can you export multiple apps (iOS + Android) into the same Application Insights resource? It doesn't say.
Some page had a recommendation of having separate Application Insights resources for iOS and Android.

I don't understand the recommendation -- when I look at for example retention I do want to see the combined retention of iOS and Android, but I also want to be able to split it by platform in the visualisations when needed.
What is the reason it's saying this shouldn't be done when it's a very common use case?
Is the reason that the visualisations can't be segmented based on platform if they are dumped into the same resource? Or something else?

I would like to see app errors under the "Failures" section in Application Insights. The documentation says "By default, a new export configuration exports Analytics data only (events, sessions, and so on) Diagnostics-related data can be exported by setting Entities property".

Does this refer to blob export only or Application Insights as well?
If it's blob only, how do I enable it for Application Insights? The entire point behind what I'm doing is to get a uniform visualisation of server and client errors in one dashboard.
Also, what is the "Entities" property that should be set -- the only export option is the instrumentation key.

All of this kind of info is completely left out.

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

ID: ba14a1fd-c1c2-f1a7-dd70-97c1200571f1
Version Independent ID: f502c9bf-5593-1dd7-3551-6a7ca21f6f5c
Content: App Center Export - Visual Studio App Center
Content Source: docs/analytics/export.md
Service: vs-appcenter
Sub-service: app-center-analytics
GitHub Login: @King-of-Spades
Microsoft Alias: kegr

Still no answer to all those questions? Awesome.


ignored by bundle on arm cpu

I was having issues with gitlab-ci on my arm as noted by the issue opened at gitlabhq/gitlab-ci#566
Thanks to irc.freenode.org #bundle (as you can see from that chat log) though I was able to determine that 0.11.0 won't install on arm, neither would 0.11.1 but 0.10.0 will. So something has changed since that time to prevent the installation.

I don't know enough about the arm cpu to determine what it can and cannot support. Does anything in this diff stand out to you: https://github.com/dkubb/ice_nine/compare/v0.10.0...v0.11.1
Is it possible one of the dependencies is not available on arm?
Even if I wanted to exclude a gem from a specific platform I'm not sure how I would go about doing that (although I would not be surprised if it were possible through configuration). ice_nine itself is written in pure ruby, so it's not like there's a C extension that is platform specific preventing installation.

Ruby is a high level enough language that CPU architecture details should not matter. AFAIK ice_nine does only use pure ruby APIs that are not CPU dependent.
As the different behavior manifests on bundlers dependency resolution, we might look for a bug in ruby that is triggered on ARM when resolving ice_nine dependency. I do not see anything in the .gemspec that should limit ice_nine in terms of CPU architecture.

I don't even know where to look into ruby issues, still got a 1.9 book laying around from when I intended to start learning but didn't start yet. Gitlab is currently the only ruby application I've used. My knowledge of installing a ruby application is, git clone, bundle install :-)
Based on experimentation it's got to be something to do with dependency resolution somehow. As root, and as a non-root user gem install ice_nine results in the following output
Fetching: ice_nine-0.11.1.gem (100%)
Successfully installed ice_nine-0.11.1
Parsing documentation for ice_nine-0.11.1
Installing ri documentation for ice_nine-0.11.1
Done installing documentation for ice_nine after 3 seconds
1 gem installed

and gem install ice_nine -v '0.11.0' yields (gitlab-ci's Gemfile.lock version)
Fetching: ice_nine-0.11.0.gem (100%)
Successfully installed ice_nine-0.11.0
Parsing documentation for ice_nine-0.11.0
Installing ri documentation for ice_nine-0.11.0
Done installing documentation for ice_nine after 3 seconds
1 gem installed

So the question is, why does bundle install skip it but a manual install works? Altering an applications Gemfile.lock before running bundle install resolves the immediate issue for me, but it's still a puzzle.
I've got 2 Pi's here running armv6 and armv7 so if there are outputs of any commands you'd like, I can provide them to you guys. I know arm support is not of the highest priority, but the help is appreciated.

I know arm support is not of the highest priority, but the help is appreciated.

I have no problem with arm. If I had access to the hardware I'd probably be playing with it too :)

Based on experimentation it's got to be something to do with dependency resolution somehow.

Given the gem can actually install on the platform and is (I assume) usable, I think you and @mbj are right that this is most likely a dependency resolution issue within bundler. It's going to be a little hard to debug this via github issues, but I've got one thing I'd like to verify.
(After each paragraph below try repeating what you were doing originally and see if any of these changes makes a difference.)
The first think I would do is make sure you have the latest bundler and gem installed (1.9.0 and 2.4.6 respectively).
The next thing I would do is add ice_nine 0.11.1 as an explicit dependency within your Gemfile. I think it's being pulled in as a transitive dependency, not a direct dependency, so we'll see if that makes a difference. You'll want to add something like this to your Gemfile: gem 'ice_nine', '0.11.1'
If that doesn't work, we're going to test adding a git dependency instead of a rubygems dependency. If we fetch the git tag, it'll be the exact same sources. It's dependencies will be the same. The main difference is that we're using git instead of rubygems to fetch things. It's possible the bug is in rubygems and not bundler. You'll want to change that gem line you added above to something like this:
gem 'ice_nine', git: 'https://github.com/dkubb/ice_nine.git', tag: 'v0.11.1'

If for some reason you have problems fetching the repo via the https url, you can also replace this string with the ssh url, eg: 'git@github.com:dkubb/ice_nine.git'
I'm not sure what to do if all of these fail, so give them a try and we'll figure out something more to test. We can always ping the bundler people too for for more hints on things that can be tested.

I'm currently using Bundler 1.7.3 as that's my distributions currently 'stable' version. However I just replaced 0.11.0 with 0.11.1 in the Gemfile.lock file before building and that's perfectly fine even as a dependency of axiom_types. So it's definitely only 0.11.0 that's silently failing to install. Atleast we got it narrowed down more specifically.
The Rasberry Pi's make great little low power servers. Especially the new quad core one.

@ShiroiKuma Did you try the other things, or are you comfortable with editing the Gemfile.lock prior to installation?

Also when you said you replaced 0.11.0 with 0.11.1 in the Gemfile.lock, did you mean the Gemfile? The lock file is what is generated by bundler. Under normal operation you should never be hand editing it.

@ShiroiKuma You did not came back to us, so I assume the problem is solved upstream in bundler / rubygems. And will close this issue now.
In case you have new information or its still a problem let us know so we can reopen the issue.


Performance regression for overhead in compileAndRun

For convenience we extract the types of runtime arguments from the bitcode. This means every time we need to parse the IR and extract them. We should avoid this overhead

@ggeorgakoudis my suggestion would be that you add a __jit_register_function interface call.
The function would look like:
void __jit_register_function(void* stubAddr, enum ProteusDTypes *DataTypes, bool *JitArguments, int size);
Which assocaiates a stubAddr with the function's datatypes and also passes the information regarding the constant arguments.


Bootstrap cleanup

In this pull request I cleaned up the file deploy/bootstrap.py to make the code more readable and safer.

Checklist

[ ] Testing comment in the PR documents testing used to verify the changes

This PR is still in draft mode for a few reasons. The most recent commit is not working, which I am going to continue to investigate tomorrow. The commits before the broken commit have worked with my somewhat limited testing (building environment and running PR suire). I also still need to clean up the git history and update the API documentation.

@xylar I took your suggestions, and I also renamed the instances of env_name to conda_env_name for the same reason.

Looks like CI isn't running but that sounds good.  I'll check on this again tomorrow.

@altheaden, this looks good!  I tested this with --recreate and without it, and with --check after doing a local merge with main to pick up #217.  I didn't check any of the spack or --with* flags yet.  I'm fine with merging this as it is and testing those other modes of deployment as they are needed.

BTW, there's no need to include these functions in the API docs. The deploy directory isn't really part of the polaris package so it's outside of the API we intend to document there.

@xylar I did some cleanup to the git history and got rid of the dev comments. I think I'm happy with this for now, so feel free to take another look at things and then merge if you're happy with everything!

I'll merge this as soon as CI finishes.

Sorry for the hold up!


Create GatePass Form model

Create the form database model in the models > form.model.js file. The information regarding the same is available in the README.md file.
For any doubts or difficulty, you can ping me on Discord, I'll try to help you out as soon as possible.
All the Best!!

claim

Assigned to @shahswati098 . You have 48 hours for this task.
Happy Contributing!!

claim

Updates @shahswati098 ?

Working on it

Claim


[Epic] Type-coercion improvements

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am running into type-coercion errors and am probably going to be adding more hacks to the existing implementation but would like to start tracking the work we need to do to improve the type-coercion logic as well as the various open issues that are related to type-coercion.
Examples of issues:

[x] https://github.com/apache/arrow-datafusion/issues/2420
[x] https://github.com/apache/arrow-datafusion/issues/1335
[x] https://github.com/apache/arrow-datafusion/issues/1193
[x] https://github.com/apache/arrow-datafusion/issues/1192
[x] https://github.com/apache/arrow-datafusion/issues/1188
[x] https://github.com/apache/arrow-datafusion/issues/1179
[x] https://github.com/apache/arrow-datafusion/issues/201
[x] https://github.com/apache/arrow-datafusion/issues/185
[x] https://github.com/apache/arrow-datafusion/issues/81
[x] https://github.com/apache/arrow-datafusion/issues/2447
[x] https://github.com/apache/arrow-datafusion/issues/3221
[x] https://github.com/apache/arrow-datafusion/pull/3254
[x] https://github.com/apache/arrow-datafusion/issues/3388
[x] https://github.com/apache/arrow-datafusion/issues/3390
[ ] https://github.com/apache/arrow-datafusion/issues/3419
[x] https://github.com/apache/arrow-datafusion/issues/3431

I added https://github.com/apache/arrow-datafusion/issues/3431 to the list.

The list is complete!


configure shell script for real detector

Edit ip addresses of tango server and tango database in case of real hardware detector

done in https://github.com/MBI-Div-B/pytango-moenchDetector/commit/fda8cf968fa82386aa821e7a4eaf00aeab30da12


Load validator & trait factory

This diff introduced to fix #44 caused a regression.
By using Model.assembler() instead of Model.assembler(urlClassLoader) where applicable, we get rid of the calls to traitFactory and validatorFactory.
This result in a subtle change of behaviour where you don’t get validation from your external dependencies when working on your Smithy specification. It flew under the radar, and I caught completely by accident on an unrelated thing.
This original PR is intended to fail. It should serve as a point of discussion for a solution. I assume the test fails was added to cover a scenario that caused the initial #44. Rolling back would not be very wise.
I'd like to better understand why this happens for this particular example. When I do it'll be easier to come up with a fix that can actually work for everybody.
Specifically, I don't understand why, in #44, we have to case the result of the nodemapper deserializer. My understanding is that it is this cast that makes the whole thing blow up.

The content of the TestTrait.class contained in the jar looks like:
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package software.amazon.smithy.test.traits;

import software.amazon.smithy.model.node.Node;
import software.amazon.smithy.model.node.NodeMapper;
import software.amazon.smithy.model.node.ObjectNode;
import software.amazon.smithy.model.shapes.ShapeId;
import software.amazon.smithy.model.traits.AbstractTrait;
import software.amazon.smithy.model.traits.AbstractTraitBuilder;
import software.amazon.smithy.model.traits.Trait;
import software.amazon.smithy.utils.ToSmithyBuilder;

public final class TestTrait extends AbstractTrait implements ToSmithyBuilder<TestTrait> {
    public static final ShapeId ID = ShapeId.from("smithy.test#test");

    private TestTrait(TestTrait.Builder builder) {
        super(ID, builder.getSourceLocation());
    }

    public static TestTrait.Builder builder() {
        return new TestTrait.Builder();
    }

    protected ObjectNode createNode() {
        NodeMapper mapper = new NodeMapper();
        mapper.disableToNodeForClass(TestTrait.class);
        mapper.setOmitEmptyValues(true);
        return mapper.serialize(this).expectObjectNode();
    }

    public TestTrait.Builder toBuilder() {
        return builder();
    }

    public static final class Builder extends AbstractTraitBuilder<TestTrait, TestTrait.Builder> {
        public Builder() {
        }

        public TestTrait build() {
            return new TestTrait(this);
        }
    }

    public static final class Provider extends software.amazon.smithy.model.traits.AbstractTrait.Provider {
        public Provider() {
            super(TestTrait.ID);
        }

        public Trait createTrait(ShapeId target, Node value) {
            TestTrait result = (TestTrait)(new NodeMapper()).deserialize(value, TestTrait.class);
            result.setNodeCache(value);
            return result;
        }
    }
}

Oh I think that in the original source, there is no cast, but the JVM adds it when compiling to .class.

One solution I've got is to tweak the cache in the NodeMapper so that the computed key takes into acount the class loader of the target type it's going to load:
    private static ObjectCreatorFactory cachedCreator(ObjectCreatorFactory delegate) {
        ConcurrentMap<String, NodeMapper.ObjectCreator> cache = new ConcurrentHashMap<>();
        return (nodeType, target, nodeMapper) -> {
            int targetClassLoaderKey = ((Class) target).getClassLoader().hashCode(); // new
            String key = nodeType.getNodeClass() + ":" + target.getTypeName() + ":" + targetClassLoaderKey;
            return cache.computeIfAbsent(key, pair -> {
                return delegate.getCreator(nodeType, target, nodeMapper);
            });
        };
    }

This works but it means that in the context of a language server, it is essentially a memory leak: the server constantly reloads the model and its dependencies. This would mean that a key would only essentially be useful within a given load (one load a model using TestTrait twice, then the second time it's cached. But if one model loads it, then the language server reloads a model, we have a new class path, thus a new key).

I think whats happening is that, in the language server, by creating a new URLClassLoader when the model is built each time, the trait is being loaded with two different class loaders so Java thinks the two TestTrait classes aren't equal when trying to do the cast. I could be wrong though.
I'm not sure making changes to smithy-model is the right solution here. Do you have a test case locally to reproduce not getting validation from external dependencies you can add to the PR? If not I can also make one. I have an idea I want to test.

two different class loaders so Java thinks the two TestTrait classes aren't equal when trying to do the cast

you're right, java fails because the same class comes from two different class loaders. But it happens because, on first time around it cache a TestTrait instance from class loader A, and then on the second time around, it looks at the target type, assumes it's the same thing and then try to do a cast. If you remove the cache, there is no problem.

I'll push an additional test case that uses a jar we publish here: https://github.com/disneystreaming/alloy

I've also tested just calling the validatorFactory of the assembler but it did not work, I guess it can't create the trait w/o the trait factory.

In https://github.com/awslabs/smithy-language-server/pull/78/commits/6cf161e577b38bbe3591f8dff75d3158770518b0 I reverted and added a test to reproduce the error were getting on our side (or rather the lack of error should I say)

Thanks for the feedback. I'll be on the lookout for your updates.
IMO, the problem happens because of a cache inside smithy-model, and that cache can't be disabled. I'll be happy if we can solve it locally by a having one url class loader that we reuse, but that sounds tricky.

From my testing, we can pretty easily avoid creating an entirely new URLClassLoader each time we read the model. If we use a singleton URLClassLoader inside SmithyInterface, we can update it each time the model is read by using the previous URLClassLoader instance as the parent like this:
urlClassLoaderInstance = new URLClassLoader(urlArray, urlClassLoaderInstance)
In the commit you mention, we stopped passing the URLClassLoader to the model assembler because it was causing errors when the same trait class was being loaded twice. The reason errors were happening was because the class loader used to load the trait class was different each time. By not including the class loader, we weren't getting the validators from the external jar even though they were present in the model. However, if we use the previous URLClassLoader as the parent class loader when we re load dependencies, the trait class isn't seen as a new class when we try to load it again, so there's no conflict. That means we should be able to revert back to including the class loader in the model assembler, and make sure we get validation from external jars.
My concern with this approach is having a huge "hierarchy" of class loaders, so I'll have to look into that more. I was able to test adding and removing external dependencies successfully, but I also want to do some general testing and performance testing too.

Just wanted to give an update on where I'm at with this. I wasn't able get my idea of using a single URLClassLoader to work, I'm pretty much out of ideas for how to keep the changes in the language server. Your idea of tweaking the caching in smithy-model seems to be the way to go right now, and we're working on a way to modify the behavior of the cache to always keep the most recently loaded version of the class, evicting the old version when necessary. Still needs some more testing, but I'll keep you updated.

Unfortunate :(
A way to disable the cache would work too.

An update on the status of this issue: we've just merged https://github.com/awslabs/smithy/pull/1518 in Smithy, which modifies caching to solve this issue. It'll be available in the next Smithy release. Once that's out, we can update the language server's Smithy dependency.

An update on the status of this issue: we've just merged awslabs/smithy#1518 in Smithy, which modifies caching to solve this issue. It'll be available in the next Smithy release. Once that's out, we can update the language server's Smithy dependency.

I've reverted the last commit in this PR. The changes you made in Smithy (which I published locally) works fine. I'll do a e2e release (smithy + the language server) and give it a run in VSCode to see if my original issue is resolved. I'll report back then.
Thanks for your hard work

It works. Thanks again, we can re-trigger this PR workflow when smithy 1.26.4 is released and that should do it.

We released the fixes in Smithy in 1.27.0, and released the language server with an updated dependency. I'm going to close this now since it is fixed.


Add FAQ entry reg. „VC_PREFIX_INVALID“ error

Where to find the issue
n/a
Describe the issue
Many people are trying to scan QR-Codes that they got with their vaccination shots. However, these are all no valid EU digital COVID certificates do the app doesn't accept these.
The user thinks that the app is not working correctly.
See e.g. &
Suggested change
Add a FAQ entry explaining this error and that the app is working correctly. Maybe also link to https://www.aponet.de/artikel/corona-digitaler-impfnachweis-ab-14-juni-in-apotheken-24262.amp so that the people know where to go to get their certificate.

@Ein-Tim
I hope we will see an announcement of the 2.3.2 CWA version today on https://www.coronawarn.app/en/blog/ giving some details and context, since 2.3.2 was released to the stores yesterday. Perhaps there will be some explanation there about where to get certificates?
Has there been any official announcement of Twitter about the new version?

@MikeMcC399

Has there been any official announcement on Twitter about the new version?

No, only the BSI tweeted that there is a new version.

@MikeMcC399
FYI: https://twitter.com/rainerknirsch/status/1402530517002735618?s=21 says that they will publish a blog post tomorrow...
@dsarkar Are you working on this?

This is correct release notes and blog post is planned for tomorrow.

https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/WarnApp/Warn_App.html describes the 2.3 release now.
It only says:
"Um ein Impfzertifikat in der App hinzuzufügen, scannen sie den QR-Code, den Sie bei der Impfung erhalten haben."
This is less information than described in https://www.coronawarn.app/en/faq/#vac_cert_how.

One more user (@Melancholyaeon ) requesting a FAQ entry. He also brings up the valid point how people who don't have the yellow vaccination booklet (because they are only long time residents, etc.) will get their digital vaccination certificate.

@Ein-Tim
I was just visiting my local pharmacy this afternoon, so I asked them whether they will be able to issue digital vaccination certificates. They said they don't have the software yet, but they had already read in the press that it should be possible from Monday onwards.
Regarding people without the yellow vaccination booklet: According to https://www.stmgp.bayern.de/coronavirus/impfung/ "Die Coronaschutzimpfung wird, wie jede andere Impfung auch, im Impfausweis oder in einer Impfbescheinigung dokumentiert." So if they don't have the yellow booklet they should receive some other document which they could use at the pharmacy.

@thomasaugsten said in https://github.com/corona-warn-app/cwa-app-ios/issues/2871#issuecomment-857654042 that "A detailed FAQ entry will follow soon".

@Ein-Tim
Thanks for the message that a detailed FAQ will follow.  I guess we need to understand exactly when the detailed FAQ will be published as "soon" is a relative term.  If this is going to take longer, then perhaps in the meantime a short FAQ would be good?
Suggestion:
EN
What does the error VC_PREFIX_INVALID mean when I try to add a vaccination certificate?
The QR code you are scanning is not compatible with the newly-standardized certificate. Please wait for further announcements about where you will be able to get a compatible vaccination certificate.
DE
Was bedeutet der Fehler VC_PREFIX_INVALID, wenn ich versuche ein Impfzertifikat zuzufügen?
 Bitte warten Sie auf weitere Ankündigungen, wie Sie in Zukunft ein kompatibles Zertifikat bekommen können.

@MikeMcC399 I'm up for anything I can quickly link from Twitter. Your suggestion looks good!
@dsarkar Could you give us an assumption when the FAQ entry will be published?

@Ein_Tim
Ty for listening.
There are a large number of non-EU people in Germany.... spouses,
high-skilled workers, students, ESL teachers, translators, journalists,
low-skilled people in gray market labor, expats, retirees, military,
researchers, refugees, all the illegal programmers at the start-ups in
Berlin, Munich & Hamburg....
I have no idea how or when we'll get our EU QR Impf Codes here in Hesse.
"Sometime in the future" I guess!
The finished grad students have to leave in September, but if they don't
have an EU Code or a yellow passport do they get stuck here & become
illegal aliens because they can't travel?
It's a political & economic issue; nothing you can solve.
Best wishes!
On Wed, Jun 9, 2021 at 14:50 Tim @.***> wrote:

@MikeMcC399 https://github.com/MikeMcC399 I'm up for anything I can
quickly link from Twitter. Your suggestion looks good!
@dsarkar https://github.com/dsarkar Could you give us an assumption
when the FAQ entry will be published?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/corona-warn-app/cwa-website/issues/1343#issuecomment-857666508,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APY2ILTD6Z3Y4QBOVFACLZDTR5PSJANCNFSM46LIQLVQ
.

Update:
We will get a hotfix for this! See https://github.com/corona-warn-app/cwa-app-android/pull/3400.
The error message will then also include a link to a FAQ entry.

@Ein-Tim
Thanks for highlighting the pending Android hotfix corona-warn-app/cwa-app-android#3400 which links to https://www.coronawarn.app/de/faq/#vac_cert_invalid.
I haven't seen any PR yet for the FAQ contents.

@Ein-Tim @MikeMcC399 @melancholyaeon FYI https://github.com/corona-warn-app/cwa-website/pull/1344


WASM that runs in wasmtime will not run in the library

Hello, I have a Rust hello world app:
fn main() {
    println!("Hello, world!");
}

I compile it:
cargo build --target wasm32-wasi

and can run it in wasmtime wasmtime run hello-world.wasm without issue. However, when I run it in my C# app:
// See https://aka.ms/new-console-template for more information
using Wasmtime;

var config = new Config();
config.WithWasmThreads(true);
using var engine = new Engine(config);

using var module = Module.FromFile(engine, "hello-world.wasm");

using var linker = new Linker(engine);
using var store = new Store(engine);

var instance = linker.Instantiate(store, module);
var run = instance.GetAction("run")!;
run();

and I get this error:
Wasmtime.WasmtimeException: 'unknown import: `wasi_snapshot_preview1::fd_write` has not been defined'

any thoughts?

It looks like you need to enable WASI for this code to work.

@martindevans thank you so much - I closed this when I realized what a bonehead I was... that said, since you were kind enough to respond, I wonder if you could answer a followup...
I have this multi-threaded C code:
#include <pthread.h>
#include <stdio.h>
#include <string.h>

#define NUM_THREADS 10

void *thread_entry_point(void *ctx) {
  int id = (int) ctx;
  printf(" in thread %d\n", id);
  return 0;
}

extern void launch_threads() {
  pthread_t threads[10];
  for (int i = 0; i < NUM_THREADS; i++) {
    int ret = pthread_create(&threads[i], NULL, &thread_entry_point, (void *) i);
    if (ret) {
      printf("failed to spawn thread: %s", strerror(ret));
    }
  }
  for (int i = 0; i < NUM_THREADS; i++) {
    pthread_join(threads[i], NULL);
  }
}

int main(int argc, char **argv) {
  launch_threads();
  return 0;
}

I compile it thusly:
$WASI_SDK_DIR/bin/clang --sysroot $WASI_SDK_DIR/share/wasi-sysroot --target=wasm32-wasi-threads -pthread -Wl,--import-memory,--export-memory,--max-memory=67108864 src/threads.c -o bin/threads.wasm
I can then run it without issue:
wasmtime --wasm threads --wasi threads bin/threads.wasm
However, even after (I think) enabling threads in this C# code, it fails:
// See https://aka.ms/new-console-template for more information
using Wasmtime;

var wasi = new WasiConfiguration()
    .WithInheritedStandardInput()
    .WithInheritedStandardOutput()
    .WithInheritedStandardError();
var config = new Config()
    .WithWasmThreads(true)
    .WithBulkMemory(true)
    .WithMultiMemory(true);
using var engine = new Engine(config);
using var store = new Store(engine);
store.SetWasiConfiguration(wasi);
using var linker = new Linker(engine);
linker.DefineWasi();

using var module = Module.FromFile(engine, "threads.wasm");

var instance = linker.Instantiate(store, module);
var run = instance.GetFunction("_start").Invoke();

on the linker.Instantiate line, I get error:
Wasmtime.WasmtimeException: 'unknown import: env::memory has not been defined'
Any ideas or tips you could give me?

I really don't know a lot about WASI threads, the following is from some very quick research I just did right now and could definitely be wrong!
It looks like a WASI threads program imports a "shared memory" called env::memory (ref). According to the error you're getting this has not been defined, so instantiating fails.
Wasmtime has a SharedMemory struct, so I assume that's what you'd need to add to the Linker make your program work.
However looking through the Wasmtime C-API (which is what wasmtime-dotnet uses to interact with wasmtime) I don't see a mention of the word "shared" anywhere in memory.h or wasi.h. It's possible this can't be done through the C-API.

To follow up to that, there's this comment in Config.h:

Note that threads are largely unimplemented in Wasmtime at this time.

I have a similar issue. An unhandled exception occurred when I ran it from C#.
// zig build-exe main.zig -target wasm32-wasi -OReleaseSmall
const std = @import("std");

pub fn main() void {
    std.debug.print("wasm: Hello, world!\n", .{});
}

Console.WriteLine("Hello, World!");
var resourceStream = await Assembly.GetExecutingAssembly().ReadResourceAsync("main.wasm");
var wasiConfig = new WasiConfiguration()
    .WithInheritedStandardInput()
    .WithInheritedStandardOutput()
    .WithInheritedStandardError()
    .WithInheritedArgs()
    .WithInheritedEnvironment();
using var config = new Config()
    .WithDebugInfo(true)
    .WithCraneliftDebugVerifier(true)
    .WithOptimizationLevel(OptimizationLevel.SpeedAndSize)
    .WithWasmThreads(true)
    .WithBulkMemory(true)
    .WithMultiMemory(true);

using var engine = new Engine(config);
using var linker = new Linker(engine);
using var store = new Store(engine);
using var module = Wasmtime.Module.FromStream(engine, "main.wasm", resourceStream);

store.SetWasiConfiguration(wasiConfig);
linker.DefineWasi();
linker.DefineModule(store,module);
var instance = linker.Instantiate(store, module);
instance.GetAction("_start")?.Invoke(); // line 44 here

Output:
Hello, World!
wasm: Hello, world!
Unhandled exception. Wasmtime.WasmtimeException: error while executing at wasm backtrace:
    0:   0xa9 - <unknown>!_start

Caused by:
    Exited with i32 exit status 0
   at Wasmtime.Function.Invoke(Span`1 argumentsAndResults, StoreContext storeContext)
   at Wasmtime.Function.InvokeWithoutReturn(Span`1 arguments, StoreContext storeContext)
   at Wasmtime.Function.<>c__DisplayClass171_0.<WrapAction>b__0()
   at WasmtimeApp.Program.Main(String[] args) in Program.cs:line 44
   at WasmtimeApp.Program.<Main>(String[] args)

Exit code -532,462,766.

The wat is:
(module
  (type $t0 (func (param i32)))
  (type $t1 (func (param i32 i32 i32 i32) (result i32)))
  (type $t2 (func))
  (import "wasi_snapshot_preview1" "proc_exit" (func $wasi_snapshot_preview1.proc_exit (type $t0)))
  (import "wasi_snapshot_preview1" "fd_write" (func $wasi_snapshot_preview1.fd_write (type $t1)))
  (func $_start (export "_start") (type $t2)
    (call $f3)
    (call $wasi_snapshot_preview1.proc_exit
      (i32.const 0))
    (unreachable))
  (func $f3 (type $t2)
    (local $l0 i32) (local $l1 i32)
    (global.set $g0
      (local.tee $l0
        (i32.sub
          (global.get $g0)
          (i32.const 16))))
    (local.set $l1
      (i32.const 0))
    (block $B0
      (br_if $B0
        (i32.load8_u offset=1048597
          (i32.const 0)))
      (i32.store8 offset=1048597
        (i32.const 0)
        (i32.const 1)))
    (block $B1
      (loop $L2
        (br_if $B1
          (i32.eq
            (local.get $l1)
            (i32.const 20)))
        (i32.store offset=8
          (local.get $l0)
          (i32.sub
            (i32.const 20)
            (local.get $l1)))
        (i32.store offset=4
          (local.get $l0)
          (i32.add
            (local.get $l1)
            (i32.const 1048576)))
        (br_if $B1
          (i32.and
            (call $wasi_snapshot_preview1.fd_write
              (i32.const 2)
              (i32.add
                (local.get $l0)
                (i32.const 4))
              (i32.const 1)
              (i32.add
                (local.get $l0)
                (i32.const 12)))
            (i32.const 65535)))
        (local.set $l1
          (i32.add
            (i32.load offset=12
              (local.get $l0))
            (local.get $l1)))
        (br $L2)))
    (i32.store8 offset=1048597
      (i32.const 0)
      (i32.const 0))
    (global.set $g0
      (i32.add
        (local.get $l0)
        (i32.const 16))))
  (memory $memory (export "memory") 17)
  (global $g0 (mut i32) (i32.const 1048576))
  (data $d0 (i32.const 1048576) "wasm: Hello, world!\0a\00"))

Hi @peaceshi. When running a WASI program with the .NET bindings, you'll want to catch WasmtimeException where you invoke the start function and check if ExitCode on the caught exception is 0, which indicates a successful exit.
ExitCode will be null when the exception is not from calling proc_exit. It will also be non-zero in the case of an unsuccessful exit via proc_exit.


fix(BLE): GCR and SIR

Pull Request Template
Description

Added GCR and SIR fixes from #680

/clang-format-run


Add error code 0-3, and expose actual 'exception' of creating or deleting files in file cache merchanism.

Codecov Report

Merging #10538 (afd00c8) into 3.1 (db210e0) will decrease coverage by 0.20%.
The diff coverage is 75.00%.

@@             Coverage Diff              @@
##                3.1   #10538      +/-   ##
============================================
- Coverage     64.57%   64.37%   -0.21%
+ Complexity      396      395       -1
============================================
  Files          1331     1331
  Lines         56548    56482      -66
  Branches       8370     8341      -29
============================================
- Hits          36517    36358     -159
- Misses        16084    16152      +68
- Partials       3947     3972      +25

Impacted Files
Coverage Δ

...apache/dubbo/common/config/ConfigurationUtils.java
76.74% <0.00%> (-0.60%)
:arrow_down:

...rg/apache/dubbo/common/timer/HashedWheelTimer.java
85.22% <ø> (-1.04%)
:arrow_down:

...n/java/org/apache/dubbo/common/utils/LRUCache.java
78.78% <ø> (ø)

...g/apache/dubbo/config/spring/ConfigCenterBean.java
57.14% <ø> (ø)

.../org/apache/dubbo/common/cache/FileCacheStore.java
85.05% <60.00%> (-1.85%)
:arrow_down:

...n/java/org/apache/dubbo/common/utils/NetUtils.java
67.19% <71.42%> (-0.86%)
:arrow_down:

...ache/dubbo/common/cache/FileCacheStoreFactory.java
92.30% <87.50%> (-0.66%)
:arrow_down:

...src/main/java/org/apache/dubbo/common/Version.java
63.72% <100.00%> (-0.70%)
:arrow_down:

.../serialize/hessian2/Hessian2SerializerFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...sian2/dubbo/DefaultHessian2FactoryInitializer.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 109 more

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


pull request for e2e test at 02/05/2017 12:56:09

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