Incorrect on delegation status screen

Bug Description
After setting up delegation in the iOS wallet, one the titles on the delegation status screen says "Account to delegate from". This is meant to be "Delegating account". The text "Account to delegate from" is meant to be used on the transaction slips show when submitting the transaction only.

Steps to Reproduce

Set up delegation on an account.
Check status page, and notice how the text says "Account to delegate from".

Expected Result
Text says "Delegating account"
Actual Result
Text says "Account to delegate from"
Versions

Software Version: 3.0.0(53)
OS: iOS 15.x
Browser
Mobile device: iPhone XS

Copied to https://concordium.atlassian.net/browse/CBW-218


Installing jq after update fails

5 days ago, the jq plugin repository was updated to point to https://github.com/mise-plugins/asdf-jq.git from https://github.com/lsanwick/asdf-jq.git. This is leading to failed installations, specifically with the error
mise ~/.local/share/mise/plugins/jq/bin/install failed
ERROR: jq version 1.6 does not support arm64 architecture
mise ~/.local/share/mise/plugins/jq/bin/install exited with non-zero status: exit code 1

Prior to the change, jq was installing as expected.

I suspect macos was relying on rosetta to run x86_64 builds before. It does appear 1.7+ will work though


Add Production Machine Learning

Added link to Awesome Production Machine Learning https://github.com/EthicalML/awesome-production-machine-learning/

[Insert URL to the list here]
https://github.com/EthicalML/awesome-production-machine-learning/
[Explain what this list is about and why it should be included here]
It would fit in the machine learning section
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request
All aligned
Requirements for your Awesome list
All fulfilled

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

Hello @sindresorhus, thanks for the fast comment! I tried to follow the guidelines quite close, could you let me know what the current issue is? Happy to do our best to update it - thak you.

Also you may want to read the requirements closer. There is an “easter egg”-type of thing that you may have missed near the end.

Thanks @keller-mark,just had a look at the guidelines again but can't find anything that's not in place, what's currently missing?

Hi @axsaucedo, I'm not sure but I believe the guys above wanted to point out that your entry should be added at the bottom of the appropriate category.

Thanks for the heads up @makma - are you sure? Just had a look at it, and it is at the bottom of the appropriate category (although in this case it's a sub-category). Or you mean it's currently in the wrong category? If so I am happy to move it for sure

I'm not clear what's the guideline that is not being met - @sindresorhus would you be able to provide more details?

Thanks for the heads up @makma - are you sure? Just had a look at it, and it is at the bottom of the appropriate category (although in this case it's a sub-category). Or you mean it's currently in the wrong category? If so I am happy to move it for sure

You're right, it's my bad, I've read the indentation incorrectly. I'm sorry about that.

@axsaucedo -  Another try - maybe the unicorn thingie?

Thank you @makma - what is the unicorn?

Reviewed https://github.com/sindresorhus/awesome/pull/1865

Reviewed https://github.com/sindresorhus/awesome/pull/1857

unicorn

@sindresorhus @keller-mark anything else I should make sure to cover?

Cool awesome list. One improvement I would suggest is unifying the type of badge used across the list to indicate the Github stars.

@sindresorhus @keller-mark anything else I should make sure to cover?

Thanks @sindresorhus - I've added the suggested changes, let me know if further additions are required

Please run https://github.com/sindresorhus/awesome-lint and fix what you can.

The list heading should be title-cased.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.

Don't repeat the project name at the start of the description:

pygal is a dynamic SVG charting library written in python

Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

The description starts with an uppercase character and ends with a period.

Bump

The linter still shows me a lot of formatting errors that could easily be avoided. The displayed GitHub stars make the list hard to read. When a project is listed as Awesome, you don't have to show how "Awesome" it is. However, this is my personal opinion and is okay with the contribution guide so far.
The projects listed are actually very good and active.


Add HSA functions from ROCR Runtime for HIP 6.2.0

Rebased.

Waiting for ROCR Runtime fix.

Need authorized people to approve and merge.  @jujiang-del @gandryey @mangupta @rakesroy

@matyas-streamhpc this is already on the develop branch. Can we close this?

It's already on the develop branch.


[WIP] New WHAM code

The previous WHAM code didn’t correctly account for the possibility of having a different number of samples in each ensemble, which can be very important with SRTIS. Plus, the old code was poorly documented, had no unit tests, and was hard to maintain (all of which was because it was my quick Python port of @bolhuis’s perl script).
New version, based heavily on pandas.

Works correctly with different counts in each interface
Shorter code
More readable
Clear connections between code and literature (references pointing to relevant lines in Frenkel & Smit)
Unit tests (used to be one of the least-covered files; now at 90+%)
Designed to be refactored into a more generic container to prepare our data for other histogram joining methods (e.g., MBAR, TRAM)
Probably faster, too, although I didn’t formally check (but I did remove a math.exp from an inner loop, and I switched lots of loops to either pandas/numpy functions or list comprehensions).

I think it is a bit of an improvement!

[x] New pandas-based WHAM code
[x] Clear comment-based explanations connecting with F&S
[x] Docstrings
[x] Nosetests for toy data
[ ] Test that it fails on insufficient data input

This code will need to be overhauled at some point to compute everything in log space.

This code will need to be overhauled at some point to compute everything in log space.

Doesn't the use of a cutoff (which also removes noisy data) fix this -- at least in combination with binary weights? At a given $Q$ (bin number), we only have contributions from a few histograms. This means that $w_k^Q = 0$ for any histogram $k$ that doesn't have significant population in bin $Q$. So we don't have to worry about discrepancies in $Z_k$ from $\sum_k W_k^Q M_k / Z_k$, because $W_k^Q = 0$ except where the $Z_k$ are within a few orders of magnitude.
I haven't done the math to rewrite this in log space, but keep in mind that our weights can be actually 0, not just exponentially small. Would that have consequences in a log space version?

Passes tests, ready for review.
I'll also mention that this now has a much better error message if there isn't enough overlap to combine the histograms. See the check_cleaned_overlaps method.

I think this looks fine. We can sort out the John's argument later. We might just use pymbar at some point. Trying to fix these kind of problems twice should not be necessary.


ECS Task Role throwing a "forbidden" error with ASG clustering

I've been successfully using the docker image at https://hub.docker.com/r/gavinmroy/alpine-rabbitmq-autocluster/ for over 12 months to perform ASG based clustering but have found it has stopped working when I switched to using task based IAM roles (as opposed to instance based roles). I've confirmed via aws cli in the container that I can access the two AWS services required, so the IAM setup is ok I think.
I went to try a more recent image but found both the latest version of the image I am using and the aweber/rabbitmq-autocluster image are both over 10 months old.
Any chance of a refresh so I can confirm if the problem goes away with a later image (and hence later versions of everything) ?
Thanks

I'm thinking I need a build with a later version of the SDK, as support for ECS task roles was added since the comtainer was built...

This plugin was forked by the RabbitMQ team and is now part of RabbitMQ. More information can be found @ https://github.com/rabbitmq/rabbitmq-autocluster


fix: add system msg

Description
add system msg

Tests performed
add system msg

Effects on system behavior

add system msg
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

All these messages will be deprecated. So it may be necessary to discuss whether to move it to autoware_msgs.

AutowareState
HazardStatus

@isamu-takagi Thanks for the comment.
Since we would like to do a pure replacement of autoware_auto_msgs with autoware_msgs first, we could include them for now and remove them later.


Need example please

Hello,
Can you give some example for the config.json
I want to use with a restfull API work like this :
CONSIGN URL :
URL : http://xxx.xxx.xxx.xxx/api/object/thermostat/1638403?ApiKey=xxxxx
Method : GET
Body : {  "anaCurrSetPoint": 21  }
Thx for your work

Hi there, you can see an example of the config.json in the Configuration section of the README.
You should also refer to the API Interfacing section to see what is expected of your API. It seems like the response from your API does not meet these requirements and so will not work with this plugin.
Please feel free to fork this plugin and adapt it in order to work with your device.


Question about ProVar and multiply mutated alleles

Hey, I'm currently performing a proteogenomic study on how mutation impact protein folding stability and came across ProVar. I am using ProVar to take phased VCFs from exome sequencing to generate fasta files for use in FragPipe. Looking through the outputs of ProVar, I noticed that the sequences include 5' UTRs and 3' UTRs. Is there a setting to only take the translated regions? I could programmtically remove anything untranslated in a separate script, but I just wanted to see how ProVar handles this first.
I also had questions about how ProVar handles multiple mutations on a single allele. If a protein has multiple mutations, does ProVar separate them into separate entries or use phasing data to combine them into two entries (one for allele 1 and one for allele 2)? For my specific workflow, it is important to be able to search for separate isoforms to test for structural differences based on mutations. My searches in FragPipe require searching for a large series of variable PTMs, so it can be very computationally expsensive to have extra entries in the search. I'd love to hear your suggestions of how to potentially use ProVar in my workflow.
Thanks,
Chad Hyer

Hey Chad, thanks for reaching out!
First, I'd strongly recommend using ProHap if you have phased VCFs - this way, all your alleles in the same haplotype will end up in the same protein sequence, reducing the redundancy in your database.
ProHap by default removes UTR sequences, please let me know if you still see them there - it should not happen with default config.
We do support multi-allelic format of the phased VCF too, and of using ProHap, all the alleles that belong together will end up in the same protein sequence. For example, if you have these variants in your VCF file:
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO         FORMAT  SAMPLE1 SAMPLE2 SAMPLE3 SAMPLE4
1       123456  var_1   G       A,C     .       .       AF=0.18,0.01 GT      0|1     1|0     2|1     1|1
1       123476  var_2   C       T       .       .       AF=0.05      GT      0|0     0|1     1|0     0|0
1       123490  var_3   G       T,A     .       .       AF=0.3,0.05  GT      1|1     1|0     0|2     1|1

You will get the following combinations of alleles in your protein haplotypes:

G, C, T (Sample1 left)
A, C, T (Sample1 right, Sample2 left, Sample4 left, Sample4 right)
G, T, G (Sample2 right)
C, T, G (Sample3 left)
A, C, A (Sample3 right)

Does that make sense? Let me know if you have any further questions!

Note that if you have the two alleles at the same position as two separate entries in your VCF, it will work exactly the same. This file would be equivalent to the example in my previous comment:
#CHROM  POS     ID        REF     ALT   QUAL    FILTER  INFO     FORMAT  SAMPLE1 SAMPLE2 SAMPLE3 SAMPLE4
1       123456  var_1.1   G       A     .       .       AF=0.18  GT      0|1     1|0     0|1     1|1
1       123456  var_1.2   G       C     .       .       AF=0.01  GT      0|0     0|0     1|0     0|0
1       123476  var_2     C       T     .       .       AF=0.05  GT      0|0     0|1     1|0     0|0
1       123490  var_3.1   G       T     .       .       AF=0.3   GT      1|1     1|0     0|0     1|1
1       123490  var_3.2   G       A     .       .       AF=0.05  GT      0|0     0|0     0|1     0|0

In other words, I interpret the 0 in the genotype notation as "this alternative allele isn't there", but not as "the reference allele is there".

Thanks for getting back to me. I just tried out ProHap and ran into some errors that I may need some help unpacking. For reference, I used bcftools to split my combined vcf into individual vcf files for each chromosome and put them in a folder labeled inputs. I then set up ProHap to choose my input files and ran in with the attached config.yaml and igsr_samples.tsv. It gave me this error:
Error in rule filter_phased_vcf:     jobid: 30     input: inputs/split.4.vcf     output: data/vcf/phased/chr4_phased_filtered.vcf     shell:         mkdir -p data/vcf/phased ; python3 src/vcf_filter_fix.py -i inputs/split.4.vcf -chr 4 -af 0.01 -af_field AF -o data/vcf/phased/chr4_phased_filtered.vcf         (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
I suspect there may be something wrong with my inputs. I have also attached one and a presplit file for reference. Do I need to change how they are formatted to make them work with PropHap?
Thanks,
Chad
ProHap Files.zip

Thanks for sharing the files, it indeed looks like a formatting error. What happened here is that the 1000 Genomes data I used followed an older VCF standard, while your files are up to date with the current standard here (https://gatk.broadinstitute.org/hc/en-us/articles/360035531692-VCF-Variant-Call-Format).
I will fix this shortly, so that we support both formats in ProHap. Thanks for bringing this up! I will let you know when the fix is ready.

Awesome! Thank you!

I've pushed the fix now, so I hope your format won't cause any more issues.
In your config file, please set phased_min_af to 0 in line 25, and specify the name of the final FASTA file in line 12. For FragPipe, I also recommend using the simplified fasta format (set this in the config line 13).
After you've done your search with FragPipe, you can use this pipeline to annotate the peptides with other useful info: https://github.com/ProGenNo/ProHap_PeptideAnnotator
Then you should be good to go. Let me know if you run into any more issues!

I've pushed the fix now, so I hope your format won't cause any more issues.
In your config file, please set phased_min_af to 0 in line 25, and specify the name of the final FASTA file in line 12. For FragPipe, I also recommend using the simplified fasta format (set this in the config line 13).
You will also need to specify the sex of the individuals, this needs a separate file. This should be simple to make, please refer to https://github.com/ProGenNo/ProHap/wiki/Input-&-Usage#prohap, and give 'ALL' in the population and superpopulation columns. Provide the path to this file in the config line 21.
Then you should be good to go. Let me know if you run into any more issues!
After you've done your search with FragPipe, you can use this pipeline to annotate the peptides with other useful info: https://github.com/ProGenNo/ProHap_PeptideAnnotator

Sorry, I got a little confused here - are you sure your data is phased? Because I only see two different values in the genotypes in your file: either 1/1, meaning homozygous, or 0/1 meaning heterozygous. I don't think you can distinguish which alleles come together at which copy of the gene. If the VCF was phased, I would expect to see 1/0 too in some cases.

You are correct. I just realized I provided one of the only file examples that is not phased haha. I'll fix that and run it again. Most of my other VCFs came from the sequencing center phased, but this particular batch was not. Do you have a recommended tool for phasing these VCFs? I also have the raw data. My background is not in genomics, but I could certainly find one and figure it out if needed.

I don't have my background in genomics either, but it looks like Shapeit is a popular tool for phasing: https://mathgen.stats.ox.ac.uk/genetics_software/shapeit/shapeit.html. Hope that helps!

Thanks! I've looked a little more into our data, and it looks like it's a little more difficult to get a lot of high quality, phased data for exome sequencing at the depth we have been doing, so identifying the haplotype for some of our more important SNPs wasn't possible. For where we did have good, phased data, ProHap did a great job, but I'll have to handle cases where we don't have phased data in a different way. Good program overall though, and thanks for the good support!
Best,
Chad


New Tenant Division Mode: Multischema for PostgreSQL

Description of your feature
Allow mode to use multischema on 1 database for PostgreSQL.
https://www.citusdata.com/blog/2016/10/03/designing-your-saas-database-for-high-scalability/ says why it is preferable.
..

Proposed behavior
Add a new tenant-division-mode option, along with codes to create the schema, query based on it, etc.
..
Current behavior
There is no such option.
..

Information

hyn/multi-tenant version: 5.2.*
laravel version: 5.6.*

This would be great to have. But it doesn't have a high priority on my planning. A tested PR would be accepted.

Closing as #603 got merged.


Created pyamiTables directory w examples of tables to parse

Two (2) PDFs of tables with approximately 50 entries each.
One table examines tables related to Activities that can be measured in MIC/MEC (Minimum Inhibitory Concentration or Minimum Effective Concentration)
Each entry includes a link to the EUPMC article where the table was found,  screenshot of the table, the table header/title and caption/footnote.

I'm not sure I did this right... I've tried to add a new directory in pyami with examples of two categories of tables that would be useful for py4ami to extract. I couldn't contribute directly to main, so I created a fork and stumbled my way to this point. Hope this shows up publicly.

I think you have done things right. But I don't think the tables should be in pyami as it's already bloated. If these don't need new code, then they should be elsewhere in CEVOpen.


Torrents not loading.

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)
Version 0.17.2 (0.97.2) (64-bit)
What operating system and version?
Windows 10 Pro
What did you do?
I tried to download torrents.
What did you expect to happen?
I expected it to work as it has in past.
What actually happened?
The loading torrent message just sits there, and says downloading torrent info. I have just switched to a new computer, and perhaps that is the problem.

Does this happen for all torrents or just for a single torrent?

Hello. I discovered that Webtorrent does not work if I am using a VPN.

This sounds like an issue with your VPN configuration. It has worked fine when I've tested it with a VPN. Other users also haven't reported issues.
What type of VPN are you using? Which provider? What protocol is in use? What OS and version?

Hi. I use Tunnelbear. I don't know the protocol. I am using Windows 10 pro.

I don't think there's anything we can do here. We're not doing anything that ought to prevent a VPN from working with the app. Absent further information, there is nothing we can fix here.


Sequences tab has repeat of accession but not contig ids.

Please to to https://www.patricbrc.org/view/Genome/587.17#view_tab=sequences and add the Sequence ID to the table.  You will then see that the Accession ID and the Sequence ID are exactly the same.  One of these should be the contig ID.

Moreover, when you look at the features tab, you can see the contig IDs under accession:

But when you look at the genome browser, you only see the GenBAnk accession:

I am not sure what is going on here.

I think the problem is with the data and not UI.
When we migrated to solr in 2014-2015, we did a batch transfer of all features from relational database to solr.
I think there may be a bug in that process, which has resulted in accession being stored as sequence id in the genome sequence core, and reverse in the feature core.
The problem exist in a small fraction of genomes (<20k) present at the time.
I will run batch updates to correct the data as part of the next data release.


Replicate bag to iRODS does not work on RC 1.9.6

In testing release candidate 1.9.6 on beta.hydroshare.org I get the following error if I attempt to replicate a resource to iRODS

@dtarb - Can't tell by your screenshot, but am guessing that you are using an existing account that was originally from www. There is going to be a disconnect between what beta / usersdev understands as linked iRODS user space as compared to what www / users does.
We presently do not attempt to replicate the iRODS hydroshareuserZone users across to the hydroshareusersdevZone due to password and salt issues between environments.
Would suggest creating a new account and then creating an iRODS user account for the new account and retrying the test.

Yes I was using an existing account.  I was able to create a new account and the replicate completes without giving an error, however I am unable to get into iRODS to verify that the files were put there due to confusion over the right combinations of username, password, host and zone that beta is connected to.

I am unable to get into iRODS to verify that the files were put there due to confusion over the right combinations of username, password, host and zone

@dtarb - The users zone for beta is as follows

irods_host: usersdev.hydroshare.org
irods_port: 1247
irods_zone: hydroshareuserdevZone
irods_user: YOUR_USER
irods_auth: YOUR_AUTH

That should land you in your home: /hydroshareuserdevZone/home/YOUR_USER

Thanks.  I was able to get in and verify that these bags were copied, so will close this issue.
I was not getting the right combination of usersdev.hydroshare.org (users plural) and hydrohareuserdevZone (user singular) in my login attempts.


Updates from development branch

Update requirements

Coverage increased (+0.03%) to 93.782% when pulling 156a9278b7e1a953fcb32e62ac85e3e26e1bf73a on development into 511a3dfe8d2f5a62ac0514221ef117df5e86525d on master.


Molecule config overlay

A molecule v2 tracking issue.
Rather than overriding the scenario's molecule.yml with a user defined config (which no longer makes sense under v2).  We will use the molecule.yml inside the default scenario as the base config which other scnarios inherit from.  This will help reduce duplication in each scenario directory, and also help to share setup/teardown playbooks.
It should also be noted we merge the defaults from the config object onto each molecule.yml.

/cc @detiber

This is probably a bad idea.
Suppose a user of molecule in the default config adds host groups.  If the default config is used as a base for each scenario loaded, we will have unintended changes bleeding over into other scenarios.


Support additional functionality for logging to output channels

Issue Type: Feature Request
Features that would be nice to have:

add timestamp by default (label on right?)
support logging of messages by severity with coloring (e.g., appendLine(value: string, severity: SeverityType))

severity types same as what's supported for notification messages: error = red, information = blue, warning = yellow, success = green

support ability to show/filter by file source (e.g., appendLine(value: string, source: string))

when multiple files are logging to a single output channel, it's difficult to determine where messages are coming from)

VS Code version: Code 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-11-15T19:06:21.742Z)
OS version: Darwin x64 18.2.0

@queeniema May be you can use your own logging library and log into a file and we can support showing that file in the output channel? We do the same for our internal logs.

@sandy081 That is an alternative... is there information on how to do that documented somewhere? I guess coloring would have to be done manually by the extension. I think it would be better if there was a standard way built into the API.

Colouring is supported out of the box for log files. Try opening log channels in output panel.
There is no specific documentation, but you can use any logger. But VS Code is yet to support creating a channel from a log file. If you willing to take this approach we can consider the request creating an output channel from log file.

I see, thanks for pointing that out. Can you consider providing support out-of-box?

Can you consider providing support out-of-box?

Is it for creating an output channel from log file?

@queeniema May be not now. We will get back to it if there is a demand.


Nautobot healthchecks document for celery-beat isn't clear that ENVVAR NAUTOBOT_CELERY_BEAT_HEARTBEAT_FILE needs to be set

As ...
Patti - Platform Admin
I want ...
A message within the Nautobot healthchecks document regarding celery-beat that in order to use the healthcheck command listed here: https://github.com/nautobot/nautobot/blob/e1f02ea094d0a484711a2ef06a2f7b37c2a0c9bd/nautobot/docs/user-guide/administration/installation/health-checks.md#nautobot-celery-beat, the NAUTOBOT_CELERY_BEAT_HEARTBEAT_FILE ENVVAR must be present.
So that ...
To avoid missing a step and troubleshooting why healthchecks fail.
I know this is done when...
The documentation is updated so it is clear that NAUTOBOT_CELERY_BEAT_HEARTBEAT_FILE must be present for the healthcheck to work.
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[ ] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[X] Documentation
[ ] Other (not directly a platform feature)

Database Changes
No
External Dependencies
None

I ran in to this when troubleshooting why on Kubernetes the healthcheck kept failing. It wasn't clear that NAUTOBOT_CELERY_BEAT_HEARTBEAT_FILE must be set for the check to work.

Good catch. Probably it would be best to default the check to the path /tmp/nautobot_celery_beat_heartbeat if the variable is unset, rather than failing.

In addition it might be worth adding something indicating that the -mmin -0.1 should be changed if the periodSeconds of the exec command is changed from the example of 5.
In my environment I can't run exec commands that frequent and had to alter accordingly.


Initial [buggy] delay in playing on Android 6.0

I load and play two complex after deviceReady. It worked fine on the emulator, but on a Z3 device I have an initial delay where just some scratching is heard. Then after a while the files play fine.

I never could get any android device play audio with a satisfactory performance

Do you have an alternative solution for playing multiple audiofiles
simultaneously?
On Fri, Feb 05, 2016 at 12:40 PM, kaansoral <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
I never could get any android device play audio with a satisfactory performance
—
Reply to this email directly or view it on GitHub
[https://github.com/floatinghotpot/cordova-plugin-nativeaudio/issues/74#issuecomment-180312424] .[https://github.com/notifications/beacon/AAsqIT90ZLKwTQPFmNQY6wcvkSTy8uT9ks5phIGxgaJpZM4HULHO.gif]

Unfortunately, no
I tried various settings/configurations, it always performed the same
My usage was basic "click"-like sounds, I ended up using native feedback, so I didn't push the issue further
I also thought specific types of audio could be causing the issues, so I tried various codecs I could find, indeed some seemed to play better
I mourn the time I spent on this issue, and I'm sorry I don't have anything tangible for you

Since your issue is "scratching" - a different audio encoding might solve your issue, my problem was more to do with performance and initial delay (at the <500ms range)

I might try native code, although I have no clue if it would resolve sich
problems.
On Sat, Feb 06, 2016 at 8:19 PM, kaansoral <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
Unfortunately, no
I tried various settings/configurations, it always performed the same
My usage was basic "click"-like sounds, I ended up using native feedback, so I
didn't push the issue further
I also thought specific types of audio could be causing the issues, so I tried
various codecs I could find, indeed some seemed to play better
I mourn the time I spent on this issue, and I'm sorry I don't have anything
tangible for you

Since your issue is "scratching" - a different audio encoding might solve your
issue, my problem was more to do with performance and initial delay (at the
<500ms range)
—
Reply to this email directly or view it on GitHub
[https://github.com/floatinghotpot/cordova-plugin-nativeaudio/issues/74#issuecomment-180841649] .[https://github.com/notifications/beacon/AAsqIX9L0HVzBq5NuVhf1hNYByJD3cvvks5phj6zgaJpZM4HULHO.gif]

The plugin is already native code, try a different encoding instead

Ok, Thanks :) weil try.
On Sat, Feb 06, 2016 at 10:11 PM, kaansoral <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
The plugin is already native code, try a different encoding instead
—
Reply to this email directly or view it on GitHub
[https://github.com/floatinghotpot/cordova-plugin-nativeaudio/issues/74#issuecomment-180864082] .[https://github.com/notifications/beacon/AAsqIfFq4cTnnZuUcXF86wgKPOsM555rks5phljmgaJpZM4HULHO.gif]

I could resolve the issue by using ogg and loading and looping the files one after another. I got problems when I tried to start to loop two (or more) files at the same time. Loading the next file in the success function did it for me.


when-Iron-Man-becomes-Reactive-Avengers2

http://saulmm.github.io/when-Iron-Man-becomes-Reactive-Avengers2/

认领


Analyzer does not consistently consider invocations on Never to have type Never.

The NNBD spec says:

Calling a method (including an operator) or getter on a receiver of static type Never is treated by static analysis as producing a result of type Never. Tearing off a method from a receiver of static type Never produces a value of type Never.  Applying an expression of type Never in the function position of a function call produces a result of type Never.

Assuming "operator" means "user-definable operator" (i.e. not &&, ||, or ??), then as far as I can tell, the CFE implements this faithfully.
The analyzer is inconsistent, though:

expr1 operator expr2, where expr1 has static type Never, has static type Never, as specified.
expr(args), where expr has static type Never, has static type Never, as specified.
expr.identifier(args), where expr has static type Never, has static type Never, as specified.
identifier1.identifier2, where identifier1 has static type Never, has static type Never, as specified.
expr.identifier, where expr is an expression having static type Never, but is not a simple identifier, behaves as follows:

If identifier is hashCode, toString, runtimeType, or noSuchMethod, the type is the same as it would be if the receiver type were Object (e.g. (throw '').toString has type String Function()).
Otherwise, the type is InvalidType, but no error is issued.

In an extension whose on type is Never, identifier and identifier(args) are treated the same as they would be treated if the on type were Object.

Assuming "operator" means "user-definable operator"

It does here since it refers to "method (including an operator)" so it's about operators which are also instance methods.
Probably except == which always has type bool.
(Although it could safely apply to the rest too, if the first operand has type Never, the entire expression could soundly have type Never.)
Every place where a non-Never, non-dynamic invocation would use the member signature of the member on the receiver type to infer the result type, an invocation on Never has result type Never, no bounds for type arguments and no context type or required type for arguments.

"Tearing off a method from a receiver of static type Never produces a value of type Never. "

That's a little misleading. It's an unspecified member access. It's impossible to say whether a member access on Never targets a getter or a method. In fact, it's definitely neither.
Anyway, seems like the analyzer refused a little more of the behavior of dynamic.
The only real problem with that is inconsistency, it'll never cause a runtime problem (he says confidently).


Improve reduce_dims for speed up

Jenkins CI test failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

In the above example, args[0] is not c-contiguous, args[1] is c-contiguous, and the broadcasted shape is (3, 1, 2).  We should have axes == [0, 2] (not [1, 2]).  While strides of c-contiguous arg don't have to be checked, args[1].stride[1] cannot be used since shape[1] == 1.

Jenkins CI test (for commit 26f3705a2a1dc52bd8c74fda17080e625ec34a36) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Thanks, I added test.

Because int has enough representation.

Jenkins, test this please.

Jenkins CI test (for commit f239e147e48678b2bc787da0cc4a1617e90e1ed6) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit f239e147e48678b2bc787da0cc4a1617e90e1ed6) succeeded without errors!

Jenkins CI test (for commit f239e147e48678b2bc787da0cc4a1617e90e1ed6) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)


[bug] MIME type is conflated with Content-Type

Describe the bug
If I intend to set the MIME type of an HTTP response via .set_mimetype() (https://docs.rs/tauri/latest/tauri/http/struct.Response.html#method.set_mimetype) it actually sets its full Content-Type: https://github.com/tauri-apps/tauri/blob/3dc38b150ea8c59c8ba67fd586f921016928f47c/core/tauri-runtime-wry/src/lib.rs#L297
where the MIME type is only part of, amongst charset and boundary.
This is mainly an issue of naming I think but one that leads to unexpected behavior.
Reproduction
No response
Expected behavior
If I use the .set_mimetype method it sets only the MIME type.
If a method is intended to set the content type it should be called set_content_type.
Platform and versions

Stack trace
No response
Additional context
No response

In 2.0 we will remove our custom http types and use http types from http crate

Closed by #7754 where we removed our custom http types as Amr suggested.


Collect ovn/ovs bfd info

Both ovn and openvswitch provide state and information on bfd and actions taken as a result of its state. We can capture some of this in a way that is easy to consume and include useful elements in the summary for inspection as well as feeding into scenarios.

As an example we could count state changes like:
2022-07-12T12:00:55.182Z|00440|bfd(handler1)|INFO|ovn-abcdef-c: BFD state change: up->down "Neighbor Signaled Session Down"->"Neighbor Signaled Session Down".


Dynamic service routing not working with Eureka

Expected Behavior / New Feature
Configuring Ocelot for dynamic routing as per Dynamic Routing with Eureka should allow routing to /SERVICE-NAME/*
Actual Behavior / Motivation for New Feature
Unable to find the route
Service Discovery works if service is configured explicitly as a route (non-dynamic)
Steps to Reproduce the Problem
Sample project showing the issue is provided:

Clone https://github.com/macsux/dotnet-ers-refarch
Start eureka service. docker-compose is provided. Execute "docker-compose up" in /dependencies folder
Run web-bff-tracing project. Confirm that it registered in Eureka by accessing eureka dashboard http://localhost:8761/
Run gateway project
Attempt to access http://localhost:5002/WEB-BFF-TRACING

Version
Ocelot: 13.4.1
ASP.NET Core 2.2

We had an similar issue:
https://github.com/ThreeMammals/Ocelot/issues/655
Can you confirm if this is something related? then will be easier to investigate. thanks!

I want to understand why this /x/  ? (attached)
I removed the x and worked ok!

More info:

ocelot.json
{
  "ReRoutes": [
    {
      "DownstreamPathTemplate": "/{url}",
      "DownstreamScheme": "http",
      "UpstreamPathTemplate": "/WEB-BFF-TRACING/{url}",
      "UpstreamHttpMethod": [ "Get" ],
      "ServiceName": "WEB-BFF-TRACING",
      "LoadBalancerOptions": {
        "Type": "LeastConnection"
      }
    }
  ],

  "GlobalConfiguration": {
    "ServiceDiscoveryProvider": {
      "Type": "Eureka"
    },
    "DownstreamScheme": "http"
  }
}

That's not dynamic routing. Clear out the routes section (I updated the sample so it's empty). The routes should be coming from eureka - I should not have to declare them at all. This is how the config should look look like according to docs for dynamic routes to work:
{
ReRoutes: [ ],
GlobalConfiguration: {
ServiceDiscoveryProvider: {
Type: "Eureka"
},
DownstreamScheme: "http"
}
}

@macsux  let me check now :) will get back to you soon

Any update on this?

@macsux  Hi Andrew!
How things going?
Yes, seems Dynamic Routing feature works with Consul only being designed by Tom many years ago. 😄
It is expected fact that for other types of service discovery providers it doesn't work.
But I believe design & implementation of SD+Eureka+DynRouting triple will not be so complex, but yes, a some refactoring should be done. Probably a couple of adapters & bridges should help.
Do you use Ocelot nowadays? If Yes, please upgrade your solutions to v22!
We are ready to accept this feature request if you have intention to contribute. If Not, I have no idea when we will start...
I'll keep this issue open...

I'm no longer interested in ocelot now that yarp is a thing. Thanks
On Sun, Jan 14, 2024, 10:04 a.m. Raman Maksimchuk @.***>
wrote:

@macsux https://github.com/macsux Hi Andrew!
How things going?
Yes, seems Dynamic Routing feature works with Consul only being designed
by Tom many years ago. 😄
It is expected fact that for other types of service discovery providers it
doesn't work.
But I believe design & implementation of SD+Eureka+DynRouting triple will
not be so complex, but yes, a some refactoring should be done. Probably a
couple of adapters & bridges should help.
Do you use Ocelot nowadays? If Yes, please upgrade your solutions to v22!
We are ready to accept this feature request if you have intention to
contribute. If Not, I have no idea when we will start...
I'll keep this issue open...
—
Reply to this email directly, view it on GitHub
https://github.com/ThreeMammals/Ocelot/issues/846#issuecomment-1890977133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAINFWDJY4GYXZV64XXGOFTYOPXYNAVCNFSM4HCMSDPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGA4TONZRGMZQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@macsux 🆗 Adrew! With high probability we'll close the ticket...
@RaynaldM @ggnaegi
The author is not interested in development of this feature. My concern here is that Eureka is not so popular Service Discovery provider as Consul one...
Does it make sense to keep the issue open for contributions by the community?
And how to check the popularity of Eureka service?

@raman-m I would close the issue, most of the issues are related to consul not eureka. It means to me, that most of the users are working with consul not eureka. Besides, they can add their own providers if they want. With yarp, no other choice but to implement your own provider (updating the configuration yourself, routes and clusters).

@raman-m it's probably time to cut back on compatibility with certain third-party services and concentrate on the ones we use most.
If anyone is interested in developing a particular service, they can do what we're doing: play an active part in Ocelot's development.

@RaynaldM @raman-m I agree with Raynald, we should concentrate ourselves on the providers we know the community is using. We just can't support all kinds of providers.

👌 We've reached team consensus.
Closing...

Guys, to be frank it's been almost 5 years since that issue was filled by
me. It's just not realistic for someone to wait around that long without
moving on to alternatives. Not sure what prompted revived interest, but it
seemed like ocelot was dead project for a while with seldom any commits.
On Tue, Jan 16, 2024, 9:26 a.m. Raman Maksimchuk @.***>
wrote:

@RaynaldM https://github.com/RaynaldM @ggnaegi
https://github.com/ggnaegi
Follow up action...
The current situation with Eureka is the following:

we have some issues in backlog
we have the provider in docs
we have Eureka tests, outdated mostly
source code and libs, references are outdated too

Does it make sense work on bugs in backlog?
If author has intention to fix then letting the author to contribute.
Still Eureka is the feature, and it makes sense to update the provider.
But Yes, all new features should be ignored, except the case when author
will contribute.
—
Reply to this email directly, view it on GitHub
https://github.com/ThreeMammals/Ocelot/issues/846#issuecomment-1893854597,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAINFWHN4E5QA3TTGZL6XPDYO2EYZAVCNFSM4HCMSDPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGM4DKNBVHE3Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

@macsux Or you do like some of us, you fork the solution and refactor it for your needs 😸 Yes, project was dead for a while - and that's why from my side I modified Ocelot for our needs -. Some decided to relaunch ocelot and propose an independent solution. Sure, it's far from perfect, but it's improving and it's 100% open source.


⚠ Samsung has degraded performance

In 767241a, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2502 ms

Resolved: Samsung performance has improved in 8025446.


add support for script src imports

Add check for descriptor.script.src to allow script src-imports.
Supports a template that has a script in a separate file, eg:
<script src="./button.js"></script>
<template>
  <span class="my-button">
    <slot></slot>
  </span>
</template

Fixes #7

Looks good, thank you!


Debian ARM64 Setup Guide

title says it all, i feel that there should be a setup guide for a case like this(or if possible can you link me one)

Setup what exactly? One of the runtimes? SDK?
cc @richlander

set up the runtime on arm64
On Wed, Feb 6, 2019 at 6:57 PM Murat Girgin<EMAIL_ADDRESS>wrote:

Setup what exactly? One of the runtimes? SDK?
cc @richlander https://github.com/richlander
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/AspNetCore/issues/7332#issuecomment-461236469,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGe_XDIVfM6qwkRaPc6yUgFz_wEkuy3Jks5vK2wFgaJpZM4amWJk
.

--
Sent By: Reed Kemp
Via: GMail [https://mail.google.com]
Send Me A Email: [http://emailreed.gdn] (beta)

This issue was moved to dotnet/docs#10365


Deprecate netboot.gsc.io ("netboot-foundation" EQM host)

We run a c3.medium.x86 instance on packet that literally only serves static files on domain name netboot.gsc.io for the aarch64 community build box to be able to netboot.
It would be better to:

Build the community build box image on Hydra, similar to the Hydra builder netboot image.
Switch to using netboot.nixos.org (nix-netboot-serve).

@lheckemann suggested he might be help to pair up with me on this.
cc @cole-h

https://hydra.nixos.org/jobset/equinix-metal-builders/aarch64-community-box now builds the system for netboot.nixos.org.

There's a pile of horrible hacks on https://github.com/lheckemann/aarch64-build-box which is currently running fine but is almost certainly not what we want long-term.
nix-netboot-serve does some Unusual things with the boot environment, preserving the initrd as the final root filesystem, but we don't want that here. Thus, we apply some deep hacks to have the classic NixOS stage-1 used as the initrd init (even though our initrd contains the whole system), copy the system closure into the real filesystem, and then hand over to something resembling the regular stage-2 (further hacks applied to get the system config path correctly).
We'll probably want to change nix-netboot-serve up a bit to support our use case better -- most importantly getting closer to the regular NixOS boot process, running stage-1 and stage-2 as usual. We should think about this some more at more reasonable "awake times". :)

Note: long term we probably want to converge the semi-persistence setup used on the aarch64-build-box with the one used on hydra builders (which has issues), so taking care of this with the aarch64-build-box seems like a very valuable time investment.

Filed https://github.com/DeterminateSystems/nix-netboot-serve/issues/26 too


Group name with emoji can be created but file cannot be shared with such groups

Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior:

Create a group with emoji in its name

curl -XPOST https://localhost:9200/ocs/v2.php/cloud/groups -d groupid='😀 😁' -u admin:admin -kv

<ocs><meta><status>ok</status><statuscode>200</statuscode><message>OK</message></meta><data></data></ocs>%

Add user einstein to group 😀 😁

curl -XPOST https://localhost:9200/ocs/v2.php/cloud/users/einstein/groups -d groupid='😀 😁' -u admin:admin -kv

<ocs><meta><status>ok</status><statuscode>200</statuscode><message>OK</message></meta><data></data></ocs>%

Try to share a file to 😀 😁 as admin

 curl -XPOST https://localhost:9200/ocs/v1.php/apps/files_sharing/api/v1/shares -d shareType=1 -d path=/sfold -d permissions=15 -d shareWith='😀 😁' -u admin:admin -kv

Expected behavior
sharing is successful
Actual behavior
sharing fails with following response
<ocs><meta><status>error</status><statuscode>998</statuscode><message>group not found</message></meta></ocs>%

Setup
Please describe how you started the server and provide a list of relevant environment variables.

OCIS_VERSION=git
BRANCH=master
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false

Additional context
Add any other context about the problem here.

tested on ocis 6.0.0
we use SharingNg and share using groupId or userId
to find user or group which name contains emoji we use GET graph/v1.0/groups?%24search= endpoint
I tried to find by 😀 (%F0%9F%98%80) and it works

since we don't support OCS we'll not fix this bug


Fix 5032

Proposed changes:

fix https://github.com/RasaHQ/rasa/issues/5032
Fix wrong calculation of additional conversation events when saving the conversation.
This led to conversation events not being saved (we always calculated number of events from the start, but the retrieved tracker only contains the events since the last session start)
Fix wrong order of conversation events when pushing events to conversations via
POST /conversations/<conversation_id>/tracker/events.

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

We have to release a patch a soon as this is merged 🔥

Sounds good 👌

@ricwo If you are working today / tomorrow it would be great if you can just merge it / edit + merge it when you have time. Thanks :-)


[WIP] Refactor cgroup handling

According to #344, this PR is trying to refactor cgroups handling in runtime.
What I've done in this PR:

introduce libcontainer/cgroups package for cgroups handling;
move cgroups handlings from CLI to sandbox level; refactor the handlings by the help of libcontainer/cgroups;

Works to be continue:

Add tests as @jodh-intel mentioned;
Add handling to UpdateContainer();
Remove old cgroups handling codes

Fixes: #344
Signed-off-by: Jingxiao Lu<EMAIL_ADDRESS>

This PR is re-submitted according to @sboeuf's comments at #405 .
@sboeuf @jodh-intel @grahamwhaley @devimc although is PR is still WIP, could you help to pay some time on it? Many thanks~
cc\ @WeiZhang555 @jshachm

CI is failing, let me fix it first...

@jingxiaolu is currently too busy and can't get enough time on this. I'll carry his work and take over the process.

Thanks @WeiZhang555 - branch needs updating due to conflicts too btw.

@WeiZhang555 Any updates on this one?

Ping @WeiZhang555 :)

@WeiZhang555 I bet you're very busy, but just checking if this is something you're planning to look at?
I'm asking because we could reassign this to someone else that might have more bandwidth if someone's interested.

@sboeuf Sorry for delay, let me try to finish it in several days. It is truly blocked for so many months!
I'll give some update in this week. But if anyone is so interested in implementing this, welcome!

Closing this. New implementation is https://github.com/kata-containers/runtime/pull/734


Cannot find namespace 'stylis' / Vite

Hi,
I'm trying to configure Styled Components V6 with Vite and Storybook and during the build, I get the below error:
node_modules/styled-components/dist/models/StyleSheetManager.d.ts:58:21 - error TS2503: Cannot find namespace 'stylis'.
58     stylisPlugins?: stylis.Middleware[];

Any solution? Thanks!

Oh hmm I thought we had the types included but yarn add -D @types/stylis should take care of it

Will fix it in the next release

Should be fixed in https://github.com/styled-components/styled-components/releases/tag/v6.0.0-rc.6, thanks for using styled-components!

I am getting this error in 6.0.2, even after explicitly adding @types/stylis. I fixed it by adding this to StyleSheetManager.d.ts:
import stylis from 'stylis';

👋 Also seeing this in 6.0.2


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2124

Questions ?
Please refer to the Backport tool documentation


The JSON storage is slow and unnecessarily CPU-consuming

I have a test where the VCR intercepts 3 HTTP requests totaling ~1MB. Given that the corresponding responses are cached, I’d expect the test to pass in fractions of a second but it takes about 6 seconds.

The reason is that the JSON storage is implemented in a memory-efficient way and reads the stored JSON byte-by-byte using fgets():
https://github.com/php-vcr/php-vcr/blob/41f532155456521a80d66801b09ecba994f9d004/src/VCR/Storage/Json.php#L55
The potential solutions that come to mind are:

Keeping the current design, implement a read buffer and instead of matching characters one-by-one, use a regex-based approach (see https://github.com/doctrine/dbal/pull/2495 for example).
Reimplement the storage using a 3rd-party streaming JSON parser like salsify/jsonstreamingparser (will probably require bumping the minimal supported PHP version which is AFAIK already planned).

In addition to the performance problem, there is a problem with parsing stored JSON: the actual request/response bodies are parsed as JSON too that may create issues like the following:
public function testIterateStringWithCurlyBraces()
{
    $this->iterateAndTest(
        '[{"para": "}:->"}]',
        array(
            array('para' => '}:->'),
        )
    );
}

// 1) VCR\Storage\JsonTest::testIterateStringWithCurlyBraces
// Failed asserting that two arrays are equal.
// --- Expected
// +++ Actual
// @@ @@
//  Array (
// -    0 => Array (...)
// +    0 => null
//  )

I'm not positive but a JSON streaming format would probably be more efficient to parse since you could read the entire object with a single function call.

@matt-allan it would but it turns out to be overkill. We don't really need to parse the body at all. We need to make sure we parse the envelope properly. See the PR above.


chore(publish): drop node 10

BREAKING CHANGE: drop node 10

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Problem with file download.✨📄

Is your feature request related to a problem? Please describe.
When you copy and paste an image into the content it is cloned.
Describe the solution you'd like
You can check the way the script is handled, such as DOM handling.
Describe alternatives you've considered
I would consider checking if the file loading is handled until the HTML is fully loaded.
Additional context
Check the script to avoid cloning files and images.

The solution is delete the function DOMContentLoaded because cause the duplicate files and images


Refactor the latest stable redisEnterprise swagger using common-types v3 parameters

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify -- refactor to best practice manually authored swagger and fix new validation errors

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@chunyu Please would you help me understand? I don't understand why the powershell job is failing.

I don't understand why the powershell job is failin

@dingmeng-xue would you please help to find someone to look at the powershell failure? Thanks

According to history, the file never generates target module successfully. It may require additional customization.
SDK azure-powershell is not mandatory check. This PR can ignore that failure.

@dingmeng-xue Thanks for the assistance! It looks like historically, we had a redisEnterprise powershell module. Do you know whether its not working now because something got broken, or because the original redisEnterprise powershell was done a different (manual??) way?
See
https://learn.microsoft.com/en-us/powershell/module/az.redisenterprisecache/get-azredisenterprisecachedatabase?view=azps-9.1.0
https://learn.microsoft.com/en-us/powershell/module/az.redisenterprisecache/update-azredisenterprisecache?view=azps-9.1.0


Question about the visualization of epipolar pairs.

Great job! I am interested in how to visualize the epipolar pairs in the diagrams (Fig 1. (a), Fig. 3, and the center of Fig. 4) of your paper. Would you mind sharing the visualization code? I would appreciate it very much.

Hello, thanks for your interest in our work. The procedure for visualizing epipolar pairs involves first utilizing the epipolar pair search algorithm to extract the pixel coordinates located on the epipolar lines of two images, and then visualizing these coordinates. You may also adjust the hyperparameters within the algorithm to achieve different visualization results, such as the search threshold δ (Table Algorithm 1 in the paper). I will arrange and organize the visualization code when time permits.


Added PaletteBuilderInterceptor, cleaned up various parts of the code.

Also included the latest changes by timusus.

Wow great job !
thanks a lot :+1:


[Spike] AWS account deletion

Describe the Issue
Investigate the AWS Account deletion process to identify steps that can be automated, to prevent manual errors and save time.
Additional Context
Shared mailbox: AWS-OCIO - manual step involved
Acceptance Criteria

[ ] List all steps and dependancies
[ ] Have a review with Warren and Thibault
[ ] Discuss and gather list of steps that can be automated, and can't
[ ] Create tickets for those steps and estimate them

We currently have a list of steps for the account deletions (Max has gone through the process recently).
OU = Organizational unit - disabling the rule to move OU.
No need at this point to investigate a larger scale automation solution. Copying pre-edit version of the ticket:
Investigate the AWS Account deletion process to identify steps that can be automated, to prevent manual errors and save time.
Additional Context
Shared mailbox: AWS-OCIO - manual step involved
Acceptance Criteria
List all steps and dependancies
Have a review with Warren and Thibault
Discuss and gather list of steps that can be automated, and can't
Create tickets for those steps and estimate them
Next steps: Max to invite Abi and Bruce to show them the deletion process, and record a video of it for documentation purposes.
Revisit issue if volume becomes an issue


[YUNIKORN-87] Add predicate check for reservation

Before creating the reservation the candidate node is checked for a
predicate fix. A failed predicate check prevents the reservation.
Strict enforcement of the reservation number to the number of ask
repeats.
DO NOT COMMIT
go.mod changes must be added waiting for apache/incubator-yunikorn-scheduler-interface#11

Last push was to update references to the SI only, merging with that change included


Add LICENSE and initial packaging with poetry

can I merge or you want add other stuff?

@TristanBilot I think you can merge - perhaps give it a try locally first.

lgtm 🚀 .

Closing as it'll be part of #10


Change documentation so everything works even after "tokens page" is deprecated

README refers to https://login.apiary.io/tokens, but it is to be deprecated in favor of a shiny new mechanism for issuing tokens built-in right into in-app settings. We should update the documentation.

The Apiary documentation at https://client.apiary.io/#generate-auth-token will also need updating*.


need more than 1 value to unpack

Hey guys, when I run inference with ipyn (VOCpascal) I get this error:
`---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
 in ()
----> 1 image_batch, outputs = next(test_generator)
2 image = image_batch[0, ...].copy()
3 image -= min(image.flatten())
4 image /= max(image.flatten())
5 image *= 255
/usr/local/lib/python2.7/dist-packages/keras_retinanet/preprocessing/pascal_voc.pyc in next(self)
179         # lock indexing to prevent race conditions
180         with self.lock:
--> 181             selection, _, batch_size = next(self.index_generator)
182
183         result = self._get_batches_of_transformed_samples(selection)
ValueError: need more than 1 value to unpack`
the initialization of data throws no error, actually gives no feedback at all, but I think its fine.
path should be correct, test.txt exists and contains just one line: the name of the image (without .jpg)
I saw here that someone had kind of the same error. downgrading to keras 2.0.8 throws a new error at a prior step, so I would like to avoid that. I think I have all the changes from the PR mentioned in the other issue.
Any ideas or advice or workarounds?
versions:
python 2.7.6
keras 2.0.9

It seems the usage of the index_generator changed since 2.0.9. I just pushed a change for this (https://github.com/delftrobotics/keras-retinanet/commit/5ee4765aa0e5743c5b624091f32a205cf9d5ef53). Can you give it a try?

yes, that was my first try as well, sadly same error :-(

For me it seems to train normally. You can try to print the output of next(self.index_generator), maybe that gives us a better idea of what is going wrong.

thanks for your help.
I just realized that I had to change the script in /usr/local/... with sudo permission and that the changes I made in my cloned git repo folder didn't lead to any changes...
Is this because of something I missed during installation?
unrelated: it is working now (at least not throwing errors). I trained outside of the ipyn and want to run inference now. If I wanna use the ipyn, I just skip the "train on data" part, right?
But don't I skip the "load pretrained weights" part in this case as well?!
Sorry, different topic, I will close this thread directly afterwards :)

By default python will use the version from your /usr/ directory. You can run your programs with PYTHONPATH=/path/to/your/cloned/keras-retinanet python examples/train_pascal.py. This will make python have a preference of using your local (non-installed) copy.

unrelated: it is working now (at least not throwing errors). I trained outside of the ipyn and want to run inference now. If I wanna use the ipyn, I just skip the "train on data" part, right?
But don't I skip the "load pretrained weights" part in this case as well?!
Sorry, different topic, I will close this thread directly afterwards :)

Yeah exactly. If you change the weights parameter when creating the model to point to your saved model, it should use those weights. ie.:
model = keras_retinanet.models.ResNet50RetinaNet(image_input, num_classes=20, nms=True, weights='snapshots/resnet50_voc_best.h5')

ahhhh right, that thing. thanks again, everything is working fine now. you helped me a lot :-)


Not all entities on the current page are selected if sort entities by one column then click 'Select All/Select All in Page'

Storage Explorer Version: 1.29.0
Build Number: 20230425.6
Branch: rel/1.29.0
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.3.1 (Apple M1 Pro)
Architecture: ia32/x64/arm64
How Found: Ad-hoc testing
Regression From: Previous release (1.28.1)
Steps to Reproduce

Expand a storage account -> Tables.
Create a table -> Import more than 100 entities.
Sort the table by one column -> Click 'Select All'.
Check whether all entities on the current page are selected.

Expected Experience
All entities on the current page are selected.
Actual Experience
Not all entities on the current page are selected.

@v-kellyluo I think you'll find some rows on other pages are also selected.
The problem is the wrong indices are being used to find the selected items. The paged index of an item is internal to the data table, and the explorer has no way of knowing the paged index. I'll have to think a little more carefully about this.

@craxal , Verified this issue on the build 20230426.6, all entities on the first page are selected if sort entities then select all, but there is a new issue: Not all entities are selected on the current page if navigates beyond 1st page then click 'Select All', could you please help to take a look?
Repro steps:

Import more than 100 entities.
Navigate to the 2nd page -> Click 'Select All'.
Check whether all entities on the 2nd page are selected.

Actual:
Not all entities on the 2nd page are selected, some entities on the 1st page are selected.

Verified this issue on the build 20230427.5, the issue mentioned in comments has been fixed, so we are going to close it.


[Slider][material-next] Add Slider component with Material You design

[x] I have followed (at least) the PR section of the contributing guide.

Preview: https://deploy-preview-37520--material-ui.netlify.app/material-ui/react-slider/#experimental-api
Part of #29345
Changes
Add Slider component implementing Material You style specifications:

Copy slider from material v5
Add missing utils to material-next which were required for the Slider
Migrate Slider files to typescript
Implement Material You specifications: https://m3.material.io/components/sliders/specs

Todo

[ ] Something went wrong when generating the propTypes, have to figure out why

For Follow-up PRs
The following will be worked on in follow-up PRs, to avoid the scope of this PR growing too much:

Implement CSS Variables like Joy's Slider
Fix Thumb/Input/Value structure (see this comment)
Migrating Slider.test.js to typescript. Won't be in this PR because it would require some changes to the tests and I want to keep them the same as material to avoid any unwanted breaking changes.

Playground
You can try out the deploy preview playground to see the component.
https://github.com/mui/material-ui/assets/16889233/0cadb1bd-3bc8-4ec5-b89c-49efdaabc6fe

For the proptypes generation, I created https://github.com/mui/material-ui/pull/37533.


Update configuration

See https://github.com/yiisoft/profiler/pull/24/files#diff-09651a8d339eb91e3f0a340f94f4b0caf4df642c48812a526f8c80f7b8ba7ad4R9
The format is under discussion.

The configuration should be at the application level, it should not be hard-coded in this package as the targets need to be configured and they are in separate packages.


[update] add on error handlers for jquery ajax events

This is just an attempt to add some handling on when the ajax requests fail.

What about using a global error handler, instead of duplicating this code ?
http://api.jquery.com/ajaxerror/

@patatepartie ah, thanks for the suggestion. I tried with a sample fiddle here @ https://jsfiddle.net/16ccx3uf/6/. seems good as we can still have custom error handlers in specific ajax calls while having the global error handler executed as well :) updated the code as such.

LGTM :tada:

LGTM, thanks @kelvintaywl


Sometimes not running files

This only seems to happen with small files so it seems like a race condition of some kind. Nothing will print in DevTools no matter how many times you reload it. Will try to find a way to reproduce consistently.

should be fixed in 1.1.0


Test-PSOnePing: System.Net.Networkinformation.Ping details

Method .send() takes time to resolve hostname if you pass not ipaddress. So if you pass a dead name you will get an exception.
I would suggest this solution:
if (-not [bool]($ComputerName -as [ipaddress])) {
	try {
		$result = [System.Net.Dns]::BeginGetHostByName($ComputerName, $null, $null)
		$result = if ($result.AsyncWaitHandle.WaitOne($timeout)) { [System.Net.Dns]::EndGetHostByName($result) }
		if (-not $result) {return $false}
		$ComputerName = $result.AddressList.IPAddressToString
	} catch {return $false}
}

Great suggestion! Will look at it and incorporate the change.


[Bug] AttributeError: module 'tensorflow.python.util.tf_inspect' has no attribute 'Parameter'

🐛 Bug
To Reproduce
import gymnasium as gym

from sbx import DDPG, DQN, PPO, SAC, TD3, TQC, DroQ

env = gym.make("Pendulum-v1")

model = TQC("MlpPolicy", env, verbose=1)
model.learn(total_timesteps=10_000, progress_bar=True)

vec_env = model.get_env()
obs = vec_env.reset()
for i in range(1000):
    action, _states = model.predict(obs, deterministic=True)
    obs, reward, done, info = vec_env.step(action)
    vec_env.render()

vec_env.close()

error:
Traceback (most recent call last):
  File "check_sbx.py", line 3, in <module>
    from sbx import DDPG, DQN, PPO, SAC, TD3, TQC, DroQ
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/sbx/__init__.py", line 5, in <module>
    from sbx.droq import DroQ
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/sbx/droq/__init__.py", line 1, in <module>
    from sbx.droq.droq import DroQ
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/sbx/droq/droq.py", line 7, in <module>
    from sbx.tqc.policies import TQCPolicy
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/sbx/tqc/__init__.py", line 1, in <module>
    from sbx.tqc.tqc import TQC
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/sbx/tqc/tqc.py", line 19, in <module>
    from sbx.tqc.policies import TQCPolicy
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/sbx/tqc/policies.py", line 13, in <module>
    from sbx.common.distributions import TanhTransformedDistribution
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/sbx/common/distributions.py", line 7, in <module>
    tfd = tfp.distributions
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/lazy_loader.py", line 53, in __getattr__
    module = self._load()
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/lazy_loader.py", line 40, in _load
    module = importlib.import_module(self.__name__)
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/substrates/jax/__init__.py", line 41, in <module>
    from tensorflow_probability.substrates.jax import bijectors
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/substrates/jax/bijectors/__init__.py", line 19, in <module>
    from tensorflow_probability.substrates.jax.bijectors.absolute_value import AbsoluteValue
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/substrates/jax/bijectors/absolute_value.py", line 17, in <module>
    from tensorflow_probability.python.internal.backend.jax.compat import v2 as tf
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/__init__.py", line 19, in <module>
    from tensorflow_probability.python.internal.backend.jax import compat
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/compat.py", line 18, in <module>
    from tensorflow_probability.python.internal.backend.jax import v2
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/v2.py", line 27, in <module>
    from tensorflow_probability.python.internal.backend.jax import linalg
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/linalg.py", line 28, in <module>
    from tensorflow_probability.python.internal.backend.jax.gen import adjoint_registrations as _adjoint_registrations
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/gen/adjoint_registrations.py", line 37, in <module>
    from tensorflow_probability.python.internal.backend.jax.gen import linear_operator
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/gen/linear_operator.py", line 58, in <module>
    from tensorflow_probability.python.internal.backend.jax.gen import linear_operator_algebra
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/gen/linear_operator_algebra.py", line 40, in <module>
    from tensorflow_probability.python.internal.backend.jax import tf_inspect
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorflow_probability/python/internal/backend/jax/tf_inspect.py", line 26, in <module>
    Parameter = inspect.Parameter
AttributeError: module 'tensorflow.python.util.tf_inspect' has no attribute 'Parameter'

Expected behavior
Should have started training.
### System Info
- OS: Linux-6.5.0-17-generic-x86_64-with-glibc2.10 # 17~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 16 14:32:32 UTC 2
- Python: 3.8.5
- Stable-Baselines3: 2.3.0a2
- PyTorch: 2.2.0+cu121
- GPU Enabled: True
- Numpy: 1.23.0
- Cloudpickle: 3.0.0
- Gymnasium: 0.29.1
- OpenAI Gym: 0.18.3

Additional context
Add any other context about the problem here.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)
[x] I have provided a minimal working example to reproduce the bug (required)

Hello,
what is your tensorflow probability version?
and tensorflow version?
SBX was successfully tested with tensorflow-probability==0.20.1 and without tensorflow installed.

I have tensorflow-probability==0.21.1 installed.

I have tensorflow-probability==0.21.1 installed.

and tensorflow?
if you have tensorflow installed, try uninstalling it.

Anyway, it sounds more like a tf probablity issue than a sbx one, I guess if you import tf proba and try to use it, you would have the same error?
In that case, I would open an issue their repo.

tensorflow version is 2.13.1.

I uninstalled tensorflow and now got a different error:
Traceback (most recent call last):
  File "check_sbx.py", line 2, in <module>
    import stable_baselines3 as sb3
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/stable_baselines3/__init__.py", line 3, in <module>
    from stable_baselines3.a2c import A2C
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/stable_baselines3/a2c/__init__.py", line 1, in <module>
    from stable_baselines3.a2c.a2c import A2C
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/stable_baselines3/a2c/a2c.py", line 7, in <module>
    from stable_baselines3.common.buffers import RolloutBuffer
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/stable_baselines3/common/buffers.py", line 16, in <module>
    from stable_baselines3.common.utils import get_device
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/stable_baselines3/common/utils.py", line 20, in <module>
    from torch.utils.tensorboard import SummaryWriter
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/torch/utils/tensorboard/__init__.py", line 12, in <module>
    from .writer import FileWriter, SummaryWriter  # noqa: F401
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/torch/utils/tensorboard/writer.py", line 18, in <module>
    from ._embedding import get_embedding_info, make_mat, make_sprite, make_tsv, write_pbtxt
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/torch/utils/tensorboard/_embedding.py", line 9, in <module>
    _HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
  File "/home/user/miniconda3/envs/decision-transformer-gym/lib/python3.8/site-packages/tensorboard/lazy.py", line 65, in __getattr__
    return getattr(load_once(self), attr_name)
AttributeError: module 'tensorflow' has no attribute 'io'

it seems that tf is still partially installed, i would recommend start from an empty virtual env, that should solve your issue.

I am using tensorboard for logging values so that might be the cause of partial tf, anything else I can do aside from empty venv?

tensorboard doesn't need tf normally.
incompatibility might be fixed by https://github.com/araffin/sbx/pull/28
commit: https://github.com/araffin/sbx/pull/28/commits/deabd7f1eece907e73299abca587e3df4fb1ddf6


Framework can't process frontend events in an asynchronous way

Hello,
Steps to reproduce:

Create page with several buttons
Each button should have it's own async on_click handler. For example:
 async def on_click(item, msg):      print(f'Step 0: {perf_counter()} - {item}')      item.text = 'Waiting...'      print(f'Step 1: {perf_counter()} - {item}')      await msg.page.update()      print(f'Step 2: {perf_counter()} - {item}')      await jp.asyncio.sleep(5)      print(f'Step 3: {perf_counter()} - {item}')      item.text =  'Done'      print(f'Step 4: {perf_counter()} - {item}')      await msg.page.update()      print(f'Step 5: {perf_counter()} - {item}')
Start server
Try to click on each button on a page without a delay

Expected behavior:

Each clicked button should get a "Waiting..." text immediately after a click. Server log should have several 0 - 2 Steps logs from an each of the clkicked buttons.
Approximately after 5 seconds, an each clicked button will get a "Done" text. Server log should have several 3 - 5 Steps logs from an each of the clkicked buttons.

Actual behavior:

Only the first clicked button is getting "Waiting..." text. Server log has 0 - 2 Steps logs from only the first clicked button.
After 5 seconds, only the first clicked button is getting "Done" text. Server log has 3 - 5 Steps logs from only the first clicked button.
Only the second clicked button is getting "Waiting..." text. Server log has additional 0 - 2 Steps logs: from only the second clicked button.
After 5 seconds, only the second clicked button is getting "Done" text. Server log has additional 3 - 5 Steps logs: from only the secondclicked button.
... third clicked button ...
... and so on.

Thanks for catching this. The blocking it turns out is on the backend, the websocket class was handling events using await instead of creating a task to handle the event. I fixed this and it will be available in version 0.0.8 which will come out Monday.
The reference test for this is:
import justpy as jp
import asyncio

async def my_click(self, msg):
    print(f'in event {self.text}')
    self.disabled = True
    for i in range(1,21):
        self.text = f'Step {i}'
        await msg.page.update()
        await asyncio.sleep(1)
    self.text = 'Done'
    self.disabled = False

async def btn_test():
    wp = jp.WebPage()
    for i in range(10):
        jp.Button(text=f'{i}', a=wp, classes=jp.Styles.button_simple + ' m-2', click=my_click)
    return wp

jp.justpy(btn_test)

Hy,
I'm trying a similar code.
My aims is to run a function on the back and show logs in front waiting the end of the first on. I've tried many ways without success (multiprocessing, jp.run_task, .... ) . Could you help me ?
Here is one of my try with the "asynchronous way" explained in this discussion:
import time
import justpy as jp
import io
import asyncio
import logging

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger('basic_logger')
logger.setLevel(logging.DEBUG)
log_capture_string = io.StringIO()
ch = logging.StreamHandler(log_capture_string)
ch.setLevel(logging.DEBUG)
formatter = logging.Formatter('| %(name)s - %(levelname)s - %(message)s')

ch.setFormatter(formatter)

logger.addHandler(ch)

def my_click(self, msg):
    print(f'in event {self.text}')
    self.disabled = True
    for i in range(1,21):
        self.text = f'Step {i}'
        logger.info(f'Step {i}')
        time.sleep(2)
    self.text = 'Done'
    self.disabled = False

async def my_log(self, msg):
    while self.btncalcul.disabled:
        txt = log_capture_string.getvalue().replace("| ", "\n")
        self.logdiv.text = txt
        await asyncio.sleep(2)

async def btn_test():
    wp = jp.WebPage()
    btncalcul = jp.Button(text='calcul', a=wp, classes=jp.Styles.button_simple + ' m-2', click=my_click)
    btnlog = jp.Button(text='log', a=wp, classes=jp.Styles.button_simple + ' m-2', click=my_log)

    logdiv = jp.Div(a=wp, style="white-space: pre-line")
    btnlog.logdiv = logdiv
    btnlog.btncalcul = btncalcul
    return wp

jp.justpy(btn_test)

I found a way to solve my problem using threading
import threading

import logging

import logging
import io
logger = logging.getLogger('LOGTITLE')
logger.setLevel(logging.DEBUG)
log_capture_string = io.StringIO()
async def myfcn(self, msg):
      t = threading.Thread(target=MYFONCTION, args= (p1, ))
      t.daemon = True
      t.start()

      while t.is_alive():
          self.textdiv.text = log_capture_string.getvalue()
          await msg.page.update()
          await asyncio.sleep(1)

      t.join()


Modules suggestion

https://www.criminalip.io/ - Criminal IP is a specialized Cyber Threat Intelligence (CTI) search engine that allows users to search for various security-related information such as malicious IP addresses, domains, banners, etc. It can be widely integrated

Hi, @smtcrms
I applied for PR by adding the Criminalip Module, so please make a Github Commit
Thank you


Mobile Section functionality

This is a section in the mobile version of this project that allows users to access the various menu available on this project by simply toggling on the hamburger icon.
In order to achieve this functionality, JavaScript as one of the major technology was used and other technologies include;

Index.html
styles.css
eslintrc.json
app.js

All these were used meticulously to achieve this functionality

good job!!! keep it up


GITHUB_ENV need more complete examples

What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/environment-variables#about-environment-variables makes a passing reference to GITHUB_ENV
https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable

What part(s) of the article would you like to see updated?
All of the environment related "examples", the first one is almost an example, but even it isn't, and the rest are even less so.
steps:
  - name: Set the value
    id: step_one
    run: |
      echo "action_state=yellow" >> $GITHUB_ENV
  - name: Use the value
    id: step_two
    run: |
      echo "${{ env.action_state }}" # This will output 'yellow'

This shows using an env var via ${{ env.* }}
It doesn't show that ${{env.*}} won't work in the previous step (which is kinda important).
(Stylistically, it'd be nice if there was a comment in the first line of each of these example fragments that pointed to code one could copy to get the rest of the boilerplate to have a working example.)
steps:
  - name: Set the value
    id: step_one
    run: |
      echo 'JSON_RESPONSE<<EOF' >> $GITHUB_ENV
      curl https://httpbin.org/json >> $GITHUB_ENV
      echo 'EOF' >> $GITHUB_ENV

This doesn't show that it won't be available in this step, and it doesn't show what it looks like when it's used.
echo "$HOME/.local/bin" >> $GITHUB_PATH

This is even less of an example.
A better example would use which or command -v both right after the echo, and in the next step to show the impact.
Additional information

https://github.community/t/following-github-actions-tutorial-but-getting-an-npm-eacces-error/188088/4

@jsoref Thanks for opening an issue! I'll triage this for the team to take a look 👀
Just a heads up, the team is out for the next two weeks, so we'll be very slow to respond 💛

It doesn't show that ${{env.*}} won't work in the previous step (which is kinda important).

Setting an environment variable (second link) talks about that almost exclusively:

Creates or updates an environment variable for any actions running next in a job. The action that creates or updates the environment variable does not have access to the new value, but all subsequent actions in a job will have access.

Are you saying that the examples should reiterate this information?

Maybe.
Tangentially, every instance of action here should say step instead:

Creates or updates an environment variable for any actions running next in a job. The action that creates or updates the environment variable does not have access to the new value, but all subsequent actions in a job will have access. Environment variables are case-sensitive and you can include punctuation.

Anyone using runs: instead of uses: isn't using an action.
The article isn't exclusively about GITHUB_ENV, so it's pretty easy to not choose to read it top to bottom.

Thanks for opening this, @jsoref.
🤔  I agree with @Simran-B that I think the 'next step' behavior is already adequately covered for the docs both the first articles mention, and in the second articles section.

Tangentially, every instance of action here should say step instead:

The step vs action wording should be cleaned up, and is already covered by this issue that is open for anyone to make a PR for: https://github.com/github/docs/issues/7553.

Hi folks,
du you have an example for two environment variables? I try to set this with python but I have a lot's of trouble :(
(see https://stackoverflow.com/questions/70123328/how-to-set-environment-variables-in-github-actions-using-python)
Thanks Georg

Hi @bauergeorg. I'm glad you were able to find this ticket -- it's a perfect match to your problem. Your stack overflow and comment here are exactly the evidence supporting my request that github add one to the docs.
I'm not entirely unsympathetic to the GitHub team's response. Some things (like explaining how environment variables are scoped to child processes) legitimately have to be out of scope for GitHub documentation.
It does look like someone gave a correct answer on SO, which is good...

Hey @jsoref, thanks for your answer. I found a solution. You have to set a linebreak between your two or more environment variables. I was a little bit confused by this bug.
Thanks!

found a solution. You have to set a linebreak between your two or more environment variables.

Thanks for this feedback, @bauergeorg. Yep, this is correct. It's implied by the >> in the commands of echoing the variable in the examples in Setting an environment variable, but feel free to open a PR to mention it in the description there so that it's more explicit.


Ember.set on parentView of accordion error

ember.debug.js:19088 Uncaught Error: Assertion Failed: You must use Ember.set() to set the `parentView` property (of <hubble@component:bs-accordion-item::ember1285>) to `null`.

when navigating to page and removing the accordion.

What ember-bootstrap and ember.js versions are you using. There was this error in Ember 2.8, that was fixed in ember-bootstrap 0.10.0!

Closing this as this should be fixed already. Feel free to reopen when this problems is not solved for you, and please provide the details then!


Pedestrianise Market Street in Eastleigh Town Center

Pedestrianise Market Street

Hi @LucyCla,
Thank you for suggesting an idea to add to the Eastleigh Manifesto.
Would you be interested in creating a proposal by editing the manifesto with a few more details about pedestrianising Market Street? You don't need to write too much, and there has now been a successful proposal which might provide a useful example.
It would be great to see your idea in the manifesto however even if you don't want to write a proposal, you're always welcome to add new ideas.
Thanks again, James

Market Street and High Street have been temporarily pedestrianised which could provide some good evidence for whether this idea would work long term
https://www.eastleigh.gov.uk/latest-news/council-confirms-pedestrianisation-of-town-centre-roads

There is currently a consultation to enhance the High Street, Market Street and Wells Place temporary closure (ends 21 March 2021)
https://www.hants.gov.uk/transport/transportschemes/atfeastleighimprovements