add evaluation dashboard via github.io page publication

Epic issue to track progress and issues related to web presence of evaluation results, and possibly evaluation invokers.

Considering the use cases of an evaluation dashboard, the following features seem particularly salient:
Evaluation Dashboard Functions

quick lookup and enumeration of evaluated / "production ready" apps within a given problem space
comparison of the various CLAMS-ready tools for a given task, across all available metrics
comparison of prior evaluations to more recent app updates.

As such, I've come up with the following general structure for the evaluation dashboard:
Proposed Evaluation Dashboard Features

"task oriented" grouping of evaluations, similar to the directory structure
comparison table between similar app evaluations within a given task + eval dataset
link or reference to the annotations used by eval (for cross-reference, validation, etc.)

Example Layout
Optical Character Recognition [task heading]
Dataset: aapb-collaboration-batch-xx (symlink to annotations?)

Metric
Tesseract
Parseq
docTR

CER
75
60
30

WER
60
60
20

etc.
Let me know if there's anything missing here that would be important for this page. I'm also playing with the idea of possibly adding external links to documentation for the metrics themselves (e.g., link to a wikipedia explanation of what CER actually is), but I'm not sure there's a programmatic way to generate that kind of documentation, and doing it manually seems like it defeats the purpose.


chore: Publish v1.3.46 with fixed peerDependency

Description:
Related issue:

Closes https://github.com/swc-project/swc/issues/7203.

It deprecates a whole package

It deprecates a whole package

1.3.46 has not been released yet, so it may be a display issue.

I tested it, but it hides @swc/core from the search result

I tested it, but it hides @swc/core from the search result

run this before 1.3.46 released.
npm dist-tag add<EMAIL_ADDRESS>latest

Thank you!


BroccoliMergeTrees failed

http://localhost:4200/ng2-datepicker/ng2-datepicker
The Broccoli Plugin: [BroccoliMergeTrees] failed with:
Error: EBUSY: resource busy or locked, symlink 'C:\Users\xxxx\Desktop\IonicWo
rkspace\Datepicker\tmp\funnel-output_path-mad0a1IF.tmp' -> 'C:\Users\xxxx\Des
ktop\IonicWorkspace\Datepicker\tmp\broccoli_merge_trees-input_base_path-a6P2wIjs
.tmp\1'
at Error (native)
at Object.fs.symlinkSync (fs.js:897:18)

Hi @srinathvsp, did you follow the tutorial on https://github.com/angular/angular-cli/wiki/3rd-party-libs to including 3rd party libs?


Renamed nuget package to NLog.Targets.Loki.

Closes issue #12.

Codecov Report

Merging #14 (c64acf8) into master (2556149) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   78.26%   78.26%
=======================================
  Files          11       11
  Lines         230      230
=======================================
  Hits          180      180
  Misses         50       50

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 2556149...c64acf8. Read the comment docs.


[Bug report]: Password not set and unable to proceed for staking

Platform
Desktop
Version
1.5.0
Description
I haven't set my password for Firefly. I'm trying to stake my Miota for Assembly. I am prompted to enter password. I haven't set any password previously and I don't see any other option to proceed for staking

.
Expected behaviour

I should have an option to use my recovery phrase since I haven't set my password
There should be an option to set my password using my recovery phrase

Actual behaviour

I am unable to proceed for staking as it is asking for password
Not able to set passwor

d

Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

Install Firefly 1.4.0 version
Do not set the password and just set the Pin
Upgrade to 1.5.0 version
Try to stake the Iota for Assembly
You will be prompted for password with no other option

Operating System
Windows
Diagnostics
views.dashboard.security.version.title
Language: en
Currency: USD
Node selection: Automatic
Platform: win32
Platform Version: 10.0.17134
Platform Architecture: x64
CPU Count: 8
Total Memory: 8039.2 MB
Free Memory: 2312.3 MB

Developer Profile
No
Profile Type
Software (Stronghold)
Staking
Previously staked
Crash Status
None of the above
Error Messages
No response
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Answered in discussion https://github.com/iotaledger/firefly/discussions/2960


add LightClientHeader wrapper

The light client data structures were changed to accommodate additional fields in future forks (e.g., to also hold execution data).
There is a minor change to the JSON serialization, where the header properties are now nested inside a LightClientHeader. The SSZ serialization remains compatible.
See https://github.com/ethereum/consensus-specs/pull/3190

(This one should only be merged if https://github.com/ethereum/consensus-specs/pull/3190 gets accepted).

ick i didnt follow my own suggestion and ask for this to be added to change log :/

Already is listed, the change is for an API that was not yet part of a release.
In CHANGES.md, I noticed just now though that they incorrectly refer to /eth/v2/beacon, while in realitiy these endpoints are all at v1.

ah ok, that'll be my fault, i did a huge batch to get changes started


GenericOpenAPIError constructors and/or field setters

Current SDK Version

v5.2.0

Use-cases

For testing purposes it'd be nice to be able to create GenericOpenAPIError structs with a specific Error as model, but since all fields are private it's not possible to do this outside of this package.
Attempted Solutions

Proposal

I propose two possible solutions:

Change code generation to either make the fields public or provide setters
Add constructor(s), e.g. NewGenericOpenAPIError(message string, body []byte, model interface{})

I would assume that the second option is easier to implement.
References

Would it be useful to add a setter and the ability to set it in the constructor for statusCode also?

Should be fixed in 6.1.0


Music/Audio Files Utility Script with Customizable Functions

Objective:
Create a versatile Python script for managing music files that allow users to add their own functions based on their unique needs. This script should offer features like adding lyrics, organizing files by artist name, applying tags, and more.
Features:

Lyrics Integration:

Add functionality to read .lrc files and embed lyrics into music files.

Artist-Based File Separation:

Implement a function to organize music files into folders based on artist names.

Tagging and Metadata Management:

Enable users to add, modify, and remove tags and metadata for music files.

Custom Functionality:

Design the script in a modular way, allowing users to easily add their own functions to extend its capabilities.

Example Usage:
# Example usage of the music utility script
import music_utility

# Add custom functionality
def custom_function(file_path):
    # Add your custom code here
    pass

# Use the existing functions
music_utility.add_lyrics("/path/to/song.mp3")
music_utility.separate_by_artist("/path/to/music/directory")
music_utility.manage_tags("/path/to/song.mp3")

# Apply custom function
custom_function("/path/to/song.mp3")

Difficulty: Beginner/Intermediate
Tips: mutagen library
Tags: Python, Music, Utility, Customization
Note: this is just a basic idea, you can modify/add your own functions which you think can be helpful, it's not just for music files, but any audio files.

Hi I would like to work on this issue, could I be assigned?

Sure!! :)

Updated Contribution Guidelines
Dear @terminaaitor05 ,
I hope this message finds you well!
I wanted to take a moment to inform you about some updates I've made to contribution guidelines. Your valuable contribution will be been instrumental in the success of this repo project, and I want to ensure that we both are on the same page moving forward.
The updated guidelines can be found here. I kindly request you to review them at your earliest convenience.
If you have any questions or need further clarification on any points, please don't hesitate to reach out. Your expertise and insights are highly valued, and I greatly appreciate your continued dedication to this repo.
Thank you once again for all your hard work and contributions. I look forward to collaborating with you on future endeavors!
Warm regards,


Update extensionsGallery-insider.json

Add Select Top N extension to the gallery.

@jimmystelzer please also update the extensionsGallery.json for the stable ADS builds.

@jimmystelzer please also update the extensionsGallery.json for the stable ADS builds.

@jimmystelzer please also update the extensionsGallery.json for the stable ADS builds.

@alanrenmsft please could you point me out where?

@jimmystelzer please also update the extensionsGallery.json for the stable ADS builds.

@alanrenmsft please could you point me out where?

@jimmystelzer  it is right next to the file you updated. https://github.com/jimmystelzer/azuredatastudio/tree/release/extensions

@jimmystelzer  it is right next to the file you updated. https://github.com/jimmystelzer/azuredatastudio/tree/release/extensions

@alanrenmsft sorry for the dummy question. File updated.

@alanrenmsft sorry for the dummy question. File updated.

@jimmystelzer Thanks for the contribution. I have published your extension and it is now available in both insider and stable galleries, I gave it a try and it works great.

@jimmystelzer Thanks for the contribution. I have published your extension and it is now available in both insider and stable galleries, I gave it a try and it works great.


Running in production

Hi,
I've created an react app and made the build process, everything's ok.
But when i upload all the content of my build folder to a HTTPS hosting domain, nothing happens, just can see the page structure with the css.
And in console tab no error is shown.
Can anyone tell me what i can do make this app running on server?
On localhost it runs well.

Please follow the issue template and post the error you're getting.
You haven't provided any of the required information for us to help you.
Thanks!


Code generation from strings disallowed for this context

When running validateBody (probably also the other helpers), it throws an error in production on vercel-edge (cloudflare workers). Most likely because they restrict certain JavaScript functions like eval(), new Function(), setTimeout([string]), and setInterval([string]), which can execute code generated from strings.
I'm not sure why these functions are needed but it would be better to avoid them.

Can you please provide a reproduction repo or create a PR that fixes that? I couldn't find any these methods in the code base, but validateBody is just a wrapper around ajv, so the core problem is probably in their implementation.

Yes, after further inspection I found that the problem is actually from
ajv, so we can close this.


Document API

Options to possible auto generate API docs:

Typedoc
Markdown for Typedoc

Game Plan

Generate API docs via Typedoc Markdown plugin

Ideally, I'd create a custom Typedoc template that is simpler for this type of API, but I'll punt on that for now.

I don't like committing generated files; they are artifacts of the build.
Any issues with npm publish?

I ended up committing the generated docs because I couldn't get npm to link correctly.
Future considerations:

Do older versions link to the correct API doc version?
Can I avoid committing these generated docs considering I published them?


Disable tray icon to reduce clusters

It would be great if there's an option to disable tray icon, since most people who uses this app want a more sleek and minimalistic theme, thus unlikely to access the settings frequently beyond the initial tinkering, or exit the app. On the other hand, launching the app can get us straight into the settings instead of doing nothing as of current version (0.6.0).

Great suggestion! We can hide the tray icon easily with a little amount of work.
But there are some future plans to add a ability to summon the flyout (audio/brightness) near the sys tray (Thus could be considered as a replacement for the tray volume flyout).
By default the tray icon will be enabled. But the users will be able to change it later by themselves.

On the other hand, launching the app can get us straight into the settings instead of doing nothing as of current version (0.6.0).

Oh my god! Again? It works fine only during development. After deployment it breaks!!!!???
I have to investigate on this. Thanks for notifying me of this.

A silly question 😁, Did you create a GitHub account just for opening this issue?

A silly question 😁, Did you create a GitHub account just for opening this issue?

Yes, yes indeed. As a power user and a developer myself (albeit with not much experience), I rarely find any GitHub app that can use a suggestion. They are either too powerful with too many functions, or too simple that I don't know where to start suggesting, or if the devs can even implement what I have in mind. So I haven't had the urge to create an account until now, cause I'm aware that it's just a small adjustment, yet can greatly improve the experience.

Thanks pal!

Thanks pal!

No, thank you. Keep up the good work!

@duytonynguyen,
Thank you for submitting this feature request!
Your request has been implemented in 2dd91390bc2d06382ae4fad3c12adb967a6d2b56,
These changes will be available in the v0.8.0 release. Please be patient until you receive the update via MS Store or this repo.

On the other hand, launching the app can get us straight into the settings instead of doing nothing as of current version (0.6.0).

This bug has also been fixed in v0.7.8?
Please try to provide us more suggestions, feedbacks, bug reports or ideas about the app in the future. 😁


TiddlyFlex doesn't respect the right viewport limit

When adding more columns the sidebar moves out of the visible area.
This can be fixed by:
.tc-tiddlyflex-story-river-container, .tc-tiddlyflex-story-river-container-inner, .tc-tiddlyflex-main {
transition: flex-basis {{$:/config/AnimationDuration}}ms, max-width {{$:/config/AnimationDuration}}ms;
}

.tc-tiddlyflex-story-river-container, .tc-tiddlyflex-story-river-container-inner {
max-width: calc(100vw - ((100vw / 100) * 30));
}

.tc-tiddlyflex-main {
max-width: 100vw;
}

<%if [{$:/state/sidebar}match[yes]then[]] %>

<% else %>

.tc-tiddlyflex-story-river-container, .tc-tiddlyflex-story-river-container-inner {
max-width: 100vw;
}

.tc-tiddlyflex-main {
max-width: calc(100vw + ((100vw / 100) * 30));
}

<% endif %>

This is now fixed


Added feedback form component

Desktop-view

Mobile-view

Fix : #14
@akanksha-raghav please look into it and let me know if needed any changes

@akanksha-raghav  according to oss port , the label should be hacktoberfest-accepted,the first letter should be small
please update the label name
thanks!! In advance


Bro i understand you might  not  want to  hear  this  but  the book work  was working id say  maybe like 5 times in a row   untill it gave me the  bookwork not  found message

After the first "bookwork not found" did they continue not to work for all the other checks?

After the first "bookwork not found" did they continue not to work for all the other checks?

yea  the next one  didnt   work  but  then after that one  it worked  then it   didnt

also  i  found this error

bookwork sometimes doesnt work for me either

Problems relating bookwork checks should be fixed in the upcoming v4


Bug 1088971

update link on aspnet hub

@v-savila,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@v-savila  can you sign the CLA?

@v-savila  can you give me some background on this change?

@Rick-Anderson APEX production was asked to get this page, https://review.docs.microsoft.com/en-us/prod-test/hubs/aspnet/index?branch=master, pushed live. The update to this page was updating the link to API Reference to https://docs.microsoft.com/en-us/dotnet/api/?view=aspnetcore-2.0. We normally don't push a page live unless the client request it, is this something you can push live since our production team usually merge to master?

@v-savila  sign the CLA and then I can merge & push live.

@v-savila  I asked to the API doc link to be updated. Why are there so many other changes? I didn't realize this was in our repro when I asked to get the link updated.

@Rick-Anderson the only update to that page was the link for API Reference. I thought in order to push this page live, I need to fork/clone the aspnet/docs repo and update the aspnet/index.md. If that is the wrong process, please revert my change. BTW - I've signed the CLA. Moving forward, if Kim request for the page to be pushed live, do I contact you to push live?

I can make the change. Check the files changed link - there are alot of changes.
Also check the CLA, it shows it's not signed.
For/clone and PR is usually the right approach. For a simple change like this you can just edit the file in the browser and create a PR.
Closing now, I'll make the change and mention you for review.

@Rick-Anderson sorry, it's now signed. I've copied/paste the content from DocsProd (/hub/aspnet/index.md) to the aspnet repo (I think that file was a redirect) so you can revert my changes if needed and for simple changes like this next time, I'll edit directly in the browser and create a PR.

@v-savila  that's not the right file to make this change. Look at the original file, it's a redirect that goes to another redirect. I can't find https://docs.microsoft.com/en-us/aspnet/#pivot=core in our repo.


Fix mac build

Genesis ledger/proof may now have come from S3, look in the S3 cache dir for them.
Note that the S3 cache dir has /tmp hardcoded as a prefix, but the autogen dir uses $TMPDIR. This matches the behaviour of src/lib/cache_dir/cach_dir.ml. We should probably change it, but not in this PR.
Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

I approve on the condition that the build-macos job passes

Indeed it does. Merging.


lambda call() takes at least 2 arguments (1 given)

When I use the Lambda layer，I write a layer myself which is as follows:
AverageConsensus = Lambda(function=lambda x: K.mean(x, axis=0),
                   output_shape=lambda shape: shape[1:])

However, when I add this layer to a Sequential model, there are errors:
    model.add(AverageConsensus())
TypeError: __call__() takes at least 2 arguments (1 given)

I have checked the document and there are examples just like mime, that only take x as the input arguments.
So I don't know where is wrong....

I have correct it by using :
model.add(Lambda(function=lambda x: K.mean(x, axis=0),
                   output_shape=lambda shape: shape[1:]))


Fix issue where inter-stage parameters without semantics don't get location attributes

Fix the second issue identified in https://github.com/shader-slang/slang/issues/5633, namely that inter-stage parameters without any semantics specified don't get location attributes.

/format


docker:19.03.6-dind: chown not working with "docker build" when dockerd is run in userns

When configuring dockerd in 19.03.6-dind to run in a user-namespace, chown doesn't work anymore.
Why is it relevant
We use dind to provide docker building services in a CI/CD platform shared among thousands of developers. Running docker (even in dind) in a user-namespace is an essential part of the security strategy to reduce the attack vector on the underlying build node.
Testcase

Create an image with dockerd run in userns, based on 19.03.6-dind

FROM docker.artifact.swissre.com/docker:19.03.6-dind
RUN mkdir /etc/docker && echo '{ "userns-remap": "dockerns:dockerns" }' > /etc/docker/daemon.json && \
    addgroup -g 1000 dockerns && adduser dockerns -u 1000 -D -H -G dockerns -s /sbin/nologin && \
    echo "dockerns:1000:65536" > /etc/subuid && echo "dockerns:1000:65536" > /etc/subgid
ENTRYPOINT ["dockerd-entrypoint.sh"]

Build the image (tag 'my-dind')
Run it

docker run --privileged --userns=host --name some-docker -d \
           --network some-network --network-alias docker \
           -e DOCKER_TLS_CERTDIR=/certs \
           -v some-docker-certs-ca:/certs/ca \
           -v some-docker-certs-client:/certs/client \
           my-dind

Run the client in a second container, and connect to it via interactive shell

docker run -it --rm --network some-network \
    -e DOCKER_TLS_CERTDIR=/certs \
    -v some-docker-certs-client:/certs/client:ro \
    docker:latest sh

In the client, create the below Dockerfile

FROM docker-hub.artifact.swissre.com/ubuntu:latest
RUN useradd -m testuser
RUN chown testuser /home/testuser
RUN ls -la /home/testuser
USER testuser
RUN touch /home/testuser/testfile
RUN ls -la /home/testuser/testfile

Expected outcome
The docker build should complete successfully. The users home-directory should be created and owned by testuser, and it should be possible to create a file in that directory after USER testuser.
This is indeed the case with a pure 19.03.6-dind setup
# Create Dockerfile in /tmp as per above
/tmp # docker build .
Sending build context to Docker daemon  2.048kB
Step 1/7 : FROM docker-hub.artifact.swissre.com/ubuntu:latest
 ---> 72300a873c2c
Step 2/7 : RUN useradd -m testuser
 ---> Running in 713f1bf1e37e
Removing intermediate container 713f1bf1e37e
 ---> 42ef5d91553b
Step 3/7 : RUN chown testuser /home/testuser
 ---> Running in 442e8fee949f
Removing intermediate container 442e8fee949f
 ---> c12d55a9831c
Step 4/7 : RUN ls -la /home/testuser
 ---> Running in f1e0129af7fd
total 20
drwxr-xr-x 1 testuser testuser 4096 Feb 28 16:30 .
drwxr-xr-x 1 root     root     4096 Feb 28 16:30 ..
-rw-r--r-- 1 testuser testuser  220 Apr  4  2018 .bash_logout
-rw-r--r-- 1 testuser testuser 3771 Apr  4  2018 .bashrc
-rw-r--r-- 1 testuser testuser  807 Apr  4  2018 .profile
Removing intermediate container f1e0129af7fd
 ---> 706cb90a08a2
Step 5/7 : USER testuser
 ---> Running in a093b47ab2a0
Removing intermediate container a093b47ab2a0
 ---> 56be4664d148
Step 6/7 : RUN touch /home/testuser/testfile
 ---> Running in 1b35e9f3a788
Removing intermediate container 1b35e9f3a788
 ---> 674dfc04616a
Step 7/7 : RUN ls -la /home/testuser/testfile
 ---> Running in c339d69b8061
-rw-r--r-- 1 testuser testuser 0 Feb 28 16:30 /home/testuser/testfile
Removing intermediate container c339d69b8061
 ---> e33001c2b1ac
Successfully built e33001c2b1ac

Actual Outcome
The build breaks, because the directory /home/testuser as well as all its content is still owned by root
Sending build context to Docker daemon  2.048kB
Step 1/7 : FROM docker-hub.artifact.swissre.com/ubuntu:latest
latest: Pulling from ubuntu
423ae2b273f4: Pull complete
de83a2304fa1: Pull complete
f9a83bce3af0: Pull complete
b6b53be908de: Pull complete
Digest: sha256:04d48df82c938587820d7b6006f5071dbbffceb7ca01d2814f81857c631d44df
Status: Downloaded newer image for docker-hub.artifact.swissre.com/ubuntu:latest
 ---> 72300a873c2c
Step 2/7 : RUN useradd -m testuser
 ---> Running in 5e6d664b48b9
Removing intermediate container 5e6d664b48b9
 ---> 55eabfb2eb21
Step 3/7 : RUN chown testuser /home/testuser
 ---> Running in b1edc2bd93da
Removing intermediate container b1edc2bd93da
 ---> 06285e4a100f
Step 4/7 : RUN ls -la /home/testuser
 ---> Running in f8a6b0c02012
total 20
drwxr-xr-x 1 root root 4096 Feb 24 15:39 .
drwxr-xr-x 1 root root 4096 Feb 24 15:39 ..
-rw-r--r-- 1 root root  220 Apr  4  2018 .bash_logout
-rw-r--r-- 1 root root 3771 Apr  4  2018 .bashrc
-rw-r--r-- 1 root root  807 Apr  4  2018 .profile
Removing intermediate container f8a6b0c02012
 ---> cf1d0d2a4d24
Step 5/7 : USER testuser
 ---> Running in cd2378512500
Removing intermediate container cd2378512500
 ---> bf2196e69fee
Step 6/7 : RUN touch /home/testuser/testfile
 ---> Running in 74456fd74def
touch: cannot touch '/home/testuser/testfile': Permission denied
The command '/bin/sh -c touch /home/testuser/testfile' returned a non-zero code: 1

Hi Tianon, thanks for getting back. We have this setup running in a productive environment since months, and it works very well for the CI/CD use case. The only issue we have discovered so far is this one.
It looks like this was an issue even when running docker:dind out of box 1-2 years ago and has been fixed in the meantime for the standard use-case (running it without configuring userns): https://gitlab.com/gitlab-org/gitlab-runner/issues/2330. Maybe that fix could be extended to support userns?
I'll give the rootless variant another try. The last time I did so I abandoned the mission due to https://github.com/docker-library/docker/issues/184.

Interestingly, the file ownership is correctly assigned in the intermediate container, but is then somehow lost when moving to the next layer.
Consider :
FROM docker-hub.artifact.swissre.com/ubuntu:latest
RUN useradd -m testuser && ls -la /home/testuser
RUN ls -la /home/testuser
USER testuser
RUN touch /home/testuser/testfile

Output:
$ docker build .
Sending build context to Docker daemon  2.048kB
Step 1/5 : FROM ubuntu:latest
 ---> 4e5021d210f6
Step 2/5 : RUN useradd -m testuser && ls -la /home/testuser
 ---> Running in 24230f707d2f
total 20
drwxr-xr-x 2 testuser testuser 4096 Apr 16 14:09 .
drwxr-xr-x 1 root     root     4096 Apr 16 14:09 ..
-rw-r--r-- 1 testuser testuser  220 Apr  4  2018 .bash_logout
-rw-r--r-- 1 testuser testuser 3771 Apr  4  2018 .bashrc
-rw-r--r-- 1 testuser testuser  807 Apr  4  2018 .profile
Removing intermediate container 24230f707d2f
 ---> 1a0ce4de8c64
Step 3/5 : RUN ls -la /home/testuser
 ---> Running in c6261f26b749
total 20
drwxr-xr-x 2 root root 4096 Apr 16 14:09 .
drwxr-xr-x 1 root root 4096 Apr 16 14:09 ..
-rw-r--r-- 1 root root  220 Apr  4  2018 .bash_logout
-rw-r--r-- 1 root root 3771 Apr  4  2018 .bashrc
-rw-r--r-- 1 root root  807 Apr  4  2018 .profile
Removing intermediate container c6261f26b749
 ---> c941b8b0e21e
Step 4/5 : USER testuser
 ---> Running in 09e6effe9905
Removing intermediate container 09e6effe9905
 ---> 007694150aa7
Step 5/5 : RUN touch /home/testuser/testfile
 ---> Running in b553ded96ba6
touch: cannot touch '/home/testuser/testfile': Permission denied
The command '/bin/sh -c touch /home/testuser/testfile' returned a non-zero code: 1

Sorry for the delay here.  At this point, I think this is very unlikely to be an issue in the docker base image, and probably is something going weird in Docker itself or potentially even higher up the stack in the kernel.  I'd suggest moving this issue either to https://github.com/moby/moby or https://github.com/docker/for-linux and see if you can get more information (especially since you've got a pretty minimal reproducer).

Hi @tianon, thanks for getting back. Sure, I'd be happy with that. Will you move it?

Unfortunately GitHub issues can only be directly transferred between repositories in the same organization. :disappointed:
My "moving" I really meant "recreating" although a link back to this discussion would certainly be appropriate! :sweat_smile:


Missing Word in 1 Peter 1:16

It looks like there is a missing word in 1 Peter 1:16:
210116	διοτι	διότι	CS	.......	διότι	13600
210116			VI	IEP3..S		11250	,
210116	οτι	ὅτι	CS	.......	ὅτι	37540

Looks like γεγραπται is missing there.

Added γεγραπται and deleted οτι.


Remove "Ooops!" from warning/error messages

Problem you would like to solve
Remove "Ooops!" from warning/error messages, this was noticed when importing an valid XML but with missing BPMN entities.
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1e2no7n" targetNamespace="http://bpmn.io/schema/bpmn" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" exporter="Camunda Modeler" exporterVersion="5.19.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.4.0">
</bpmn:definitions>

Proposed solution
Remove "Ooops" from warning/error messages.
Messages should be clear, precise, and informative. They should help users understand what went wrong and, if possible, how to rectify the issue. "Ooops" is vague and does not provide any useful information about the nature of the error or its resolution.
Alternatives considered
Remove it just for this example found. If it could be removed in general, that would be better.
Additional context
Example

Moving to backlog as we'll not have capacity to work on this.


Scrivener automatically adjust the page numbers yielding wrong results

If let's say the last page number is 99, then page 100 will simply return the page 99. That's IMHO really wrong. I pass the page number from API and the page 100 need to return 0 results.
|> Repo.paginate(page: page_number)

Is there a way how to turn this off? Would you accept a patch that cancel this behaviour and point me in the direction where should this be changed in code?
Thank you.

See the allow_overflow_page_number option here.

Perfect thanks!


Explicitly set the gradle build action version

There seems to be a vulnerability fixed in 2.4.2.

Isn't the security report saying v2 is fine? (as it's automatically updated to the latest v2.x.x ?)

(I don't understand why the error is still showing TBH, the report says "no action required", and we have no cache)

Let's try merge, see if it solves, and then revert?
I don't want to fix the version as we won't be able to benefit from those patches in the future if we hardcode v2.4.2.

Makes sense, it looks like this was published recently, so maybe there will be a better automated check for it later? agree, that it's better to have v2 so we get the latest

Alert is closed.


fix: trace for grpc_call_start_batch only displayed lower 32bits of tag

While you're modifying this log line anyway, can you modify it to show what the name of each parameter is? (i.e. "call=%p, ops=%p...")

Good point, Michael. Added param names.


compose: updating prod compose file

This PRs aims at adding a docker-compose-prod.yml deployed on VMs that does the following:

Stop building frontend service from local folder
Using the image instead from pyronear/pyro-platform:latest

Any feedback is welcome !

@Akilditu if you are changing the file name I guess you need to update this accordingly

@Akilditu if you are changing the file name I guess you need to update this accordingly

True actually, moreover this needs to be renamed on VMs as well. I just did it to the ubuntu one.

@Akilditu if you are changing the file name I guess you need to update this accordingly

True actually, moreover this needs to be renamed on VMs as well. I just did it to the ubuntu one.

Nope actually the simple way for dev VM is to have a proper compose.yml with the subdomain variation for traefik no need to have it tracked within main repo.
You can check how it is there.


[Q] Not able to log Image

Hi,
I tried to log before in a similar fashion and it worked. But now when I was trying to log an image, it just throws an error:

Any idea what could be the issue?

@shrijan00 it looks like pytorch lightning doesn't like the wandb.Image.  You can likely log it manually using the core wandb api's.  wandb.log({"CM", wandb.Image(fig1)}).

wandb.log({"CM", wandb.Image(fig1)})

I tried this but it says:

Do I need to create byte object?

I have fixed the issue.
Changed the wandb version from 0.12.1 to 0.10.29
matplotlib version from 3.4.2 to 3.3.3
Pytorch_lightning version from 1.4.6 to 1.3.1


Questions for updating the docs for async

Hi,
I'm working on updating the README to include information about the new async commands (you can see a WIP in my fork here)
To avoid the coroutine was never awaited error, to turn the power off and on in the REPL looks like this:
>>> await d.async_power_on()
>>> d.async_power_on
>>> await d.async_update()
>>> d.async_update
>>> d.power
'ON'

>>> await d.async_power_off()
>>> d.async_power_off
>>> await d.async_update()
>>> d.async_update
>>> d.power
'OFF'

After I run d.async_power_on (or off) or d.async_update the REPL does print out everything I'd ever want to know about my AVR (this is just part of it).  Is this normal?  Are the above commands the right thing to run from the REPL?
Thanks for the confirmation - once I have that, I'll keep working on updating the docs so the usage examples work with async.
Paul
>>> d.async_update
<bound method DenonAVR.async_update of DenonAVR(_device=DenonAVRDeviceInfo(api=DenonAVRApi(host='<IP_ADDRESS>', port=8080, timeout=Timeout(connect=2.0, read=15.0, write=2.0, pool=2.0), _appcommand_update_tags=(AppCommandCmd(cmd_id='1', cmd_text='GetAllZonePowerStatus', name=None, param_list=None, set_command=None, response_pattern=()), AppCommandCmd(cmd_id='1', cmd_text='GetAllZoneSource', name=None, param_list=None, set_command=None, response_pattern=()), AppCommandCmd(cmd_id='1', cmd_text='GetRenameSource', name=None, param_list=None, set_command=None, response_pattern=()), AppCommandCmd(cmd_id='1', cmd_text='GetDeletedSource', name=None, param_list=None, set_command=None, response_pattern=()), AppCommandCmd(cmd_id='1', cmd_text='GetSurroundModeStatus', name=None, param_list=None, set_command=None, response_pattern=()), AppCommandCmd(cmd_id='1', cmd_text='GetToneControl', name=None, param_list=None, set_command=None, response_pattern=()), AppCommandCmd(cmd_id='1', cmd_text='GetAllZoneVolume', name=None, param_list=None, set_command=None, response_pattern=()), AppCommandCmd(cmd_id='1', cmd_text='GetAllZoneMuteStatus', name=None, param_list=None, set_command=None, response_pattern=())), _appcommand0300_update_tags=(AppCommandCmd(cmd_id='3', cmd_text=None, name='GetAudyssey', param_list=(AppCommandCmdParam(name='dynamiceq', text=''), AppCommandCmdParam(name='reflevoffset', text=''), AppCommandCmdParam(name='dynamicvol', text=''), AppCommandCmdParam(name='multeq', text='')), set_command=None, response_pattern=()),), async_client_getter=<function get_default_async_client at 0x109f20dc0>),

(Goes on with a lot more info)

You should not need the second of each command. The long printout is what happens in REPL if you do not call the function with () and is not what you want (I think).

Ok, thanks for the pointer.  I'm starting to get the hang of this.
I'm going to leave this issue open in case I have any additional question for the readme.  I'll have a draft ready in the next day or two.
Thanks again!
--P

Another question (sorry!):  How do I change volume via the async commands?
I've tried a couple of different ways in the REPL.  d.async_update doesn't seem to to do anything after passing d.async_volume_up() or d.async_set_volume(-45)
Code below.  Thanks in advance for pointing me in the right direction.
>>> await d.async_set_volume(-45)
>>> await d.async_update()
>>> d.volume
-31.5
>>> await d.async_volume_up()
>>> d.volume
-31.5
>>> await d.async_volume_up()
>>> await d.async_update()
>>> d.volume
-31.5
>>> await d.async_set_volume(-45)
>>> d.volume
-31.5
>>>

Another question as I work on the docs:
What is the way to discover the DenonAVR on the network?  I can manually add a receiver using the IP, but the denonavr.discover() method raises a Runtime Error.  I tried with and without await in the REPL:
❯ python3 -m asyncio
asyncio REPL 3.9.5 (default, May  4 2021, 03:36:27)
[Clang 12.0.0 (clang-1<IP_ADDRESS>)] on darwin
Use "await" directly instead of "asyncio.run()".
Type "help", "copyright", "credits" or "license" for more information.
>>> import asyncio
>>> import denonavr
>>> await denonavr.discover()
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 445, in result
    return self.__get_result()
  File<EMAIL_ADDRESS>line 390, in __get_result
    raise self._exception
  File "<console>", line 1, in <module>
  File "/Users/prcutler/workspace/pi-dial/.venv/lib/python3.9/site-packages/denonavr/decorators.py", line 146, in wrapper
    return loop.run_until_complete(async_func(*args, **kwargs))
  File<EMAIL_ADDRESS>line 618, in run_until_complete
    self._check_running()
  File<EMAIL_ADDRESS>line 580, in _check_running
    raise RuntimeError(
RuntimeError: Cannot run the event loop while another loop is running
>>> discovered_devices = denonavr.discover()
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 445, in result
    return self.__get_result()
  File<EMAIL_ADDRESS>line 390, in __get_result
    raise self._exception
  File<EMAIL_ADDRESS>line 34, in callback
    coro = func()
  File "<console>", line 1, in <module>
  File "/Users/prcutler/workspace/pi-dial/.venv/lib/python3.9/site-packages/denonavr/decorators.py", line 146, in wrapper
    return loop.run_until_complete(async_func(*args, **kwargs))
  File<EMAIL_ADDRESS>line 618, in run_until_complete
    self._check_running()
  File<EMAIL_ADDRESS>line 580, in _check_running
    raise RuntimeError(
RuntimeError: Cannot run the event loop while another loop is running
>>>

thanks for updating the README 👍
denonavr.discover() is starting an own eventloop. That's why you cannot await it. However, await denonavr.async_discover() should work with a running event loop.

Thanks for merging the Readme updates.  Closing this issue.


feat: port pi_fin.reflect instance

This was skipped during the initial port of this file.
There are some golfing discussions here on Zulip that we could revisit later

[x] depends on: #3215

This PR/issue depends on:

leanprover-community/mathlib4#3215
By Dependent Issues (🤖). Happy coding!

@eric-wieser I've pushed a commit that makes it as it gets right now.

bors merge


Some fixes to keep the plugin healthy

This is totally separate to the other pull request.

ObsiDOOM couldn't be easily reopened once closed, so I added a command to hotkey it:

Plugin was triggering a TypeError inside app.js on every load, due to accessing getRightLeaf() before it was ready. Now it waits for workspace.onLayoutReady() before starting
Fixed a bug where the Open Game button always opened DOOM, no matter which game was selected
Removed the "DOOM" header above all games
Renamed the view ID from ObsiDOOM Side Panel to obsidoom, to match the lowercase IDs used by core plugins
Removed all console logging, since it didn't seem necessary

Adding one more tweak to stop children[0].remove() throwing a TypeError, when the game is closed.

Thank you a lot! Your code works perfectly!
I published it in version 1.2.0


Schedule Link Added , Link made activated on click

[Current coverage][cc-pull] is 31.92%

Merging [#465][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #465   diff @@
==========================================
  Files             3          3
  Lines           332        332
  Methods          34         34
  Messages          0          0
  Branches         42         42
==========================================
  Hits            106        106
  Misses          226        226
  Partials          0          0

Powered by Codecov. Last updated by [6e357c2...9edb92f][cc-compare]
[cc-base-branch]: https://codecov.io/gh/fossasia/open-event-webapp/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/fossasia/open-event-webapp/compare/6e357c25076085cdc39529882c3578167b298705...9edb92f07066c1040c7685d0e7ddcfce66ead9e9?src=pr
[cc-pull]: https://codecov.io/gh/fossasia/open-event-webapp/pull/465?src=pr


Runtime issues with sample "AngularDart Web App" project and SDK 2.6

To see these issues, go to Intellij, create a new project then choose Dart > AngularDart Web App pointing to a freshly download of SDK 2.6.
Issues from console after a fresh pub get/upgrade, then webdeb serve:

Dart VM version: 2.6.0 (Thu Oct 24 17:52:22 2019 +0200) on "macos_x64"
Safari Version 13.0.1 (146<IP_ADDRESS>.11)
IntelliJ IDEA 2019.2.4 (Ultimate Edition)
Build #IU-192.7142.36, built on October 28, 2019
Runtime version: 11.0.4+10-b304.77 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.6
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
pubspec.yaml:

description: A web app that uses AngularDart Components

environment:
  sdk: '>=2.5.0 <3.0.0'

dependencies:
  angular: ^5.3.0
  angular_components: ^0.13.0

dev_dependencies:
  angular_test: ^2.3.0
  build_runner: ^1.6.0
  build_test: ^0.10.8
  build_web_compilers: ^2.3.0
  pedantic: ^1.8.0
  test: ^1.6.0

Closing because AngularDart is now in maintenance mode.


Create Salesforce_Social_Login.md

There is a Salesforce API section already, consider merging the two pages? Or putting a link to the previous page.

On second thought you are right, I thought it was different enough to get its own page but I think it will be better if its integrated into the old Salesforce page as option 2. Deleted the new page and merged information into old page. Done!

There is a Salesforce API section already, consider merging the two pages? Or putting a link to the previous page.

On second thought you are right, I thought it was different enough to get its own page but I think it will be better if its integrated into the old Salesforce page as option 2. Deleted the new page and merged information into old page. Done!

The second authentication method you described seem to require a "connected app". Could you give some explanation to what it is? I don't think it is a common concept in SWE

There is a Salesforce API section already, consider merging the two pages? Or putting a link to the previous page.

On second thought you are right, I thought it was different enough to get its own page but I think it will be better if its integrated into the old Salesforce page as option 2. Deleted the new page and merged information into old page. Done!

The second authentication method you described seem to require a "connected app". Could you give some explanation to what it is? I don't think it is a common concept in SWE

I put in a brief explanation and also put in a link for further reading if the user is interested.

There is a Salesforce API section already, consider merging the two pages? Or putting a link to the previous page.

On second thought you are right, I thought it was different enough to get its own page but I think it will be better if its integrated into the old Salesforce page as option 2. Deleted the new page and merged information into old page. Done!

The second authentication method you described seem to require a "connected app". Could you give some explanation to what it is? I don't think it is a common concept in SWE

I put in a brief explanation and also put in a link for further reading if the user is interested.

Looks good to me!


Lost translation

Hi
Where we can report lost translation items ?

nobody understands what you mean...
If you want to help with translations check here: https://home-assistant.io/developers/frontend_translation/
If a text is still missing you have to wait until it's added to the list of translatable strings
close this issue, please

Yes text is still missing...


Add SIMD feature skeleton

This PR creates an empty SIMD feature and wires it to github actions
TODO:

[x] Ensure test build passes CI
[x] Manually verify the test test_simd_conditional_compilation has run in CI
[x] Remove test_simd_conditional_compilation test

Verified CI in my fork. See https://github.com/saik0/roaring-rs/runs/4975294592?check_suite_focus=true#step:4:108

bors try

Are you OK with bors only checking stable? I would like to add nightly as possibly faillible (we don't care) WDYT?

If we do that, we should pin specific nightly toolchain version, and core_simd commit, to prevent that from breaking our builds

I'll merge this like that, we keep the CI like that for now.
Not sure we want to pin a nightly/commit version as I would prefer that we detect breaking changes in std::simd.
bors merge

Do failing builds stop PRs from being able to merge?

I'll merge this like that, we keep the CI like that for now.
Not sure we want to pin a nightly/commit version as I would prefer that we detect breaking changes in std::simd.
bors merge

Do failing builds stop PRs from being able to merge?

I'll merge this like that, we keep the CI like that for now.
Not sure we want to pin a nightly/commit version as I would prefer that we detect breaking changes in std::simd.
bors merge

Do failing builds stop PRs from being able to merge?

@Kerollmops pinging for visibility post merge. 🙂

I think we can setup bors to just warn us about a failing build on nightly, it implies that we must bors try before bors merge. But we could simply rely on the github CI cross/green dot as we do now!

I was more concerned that failing build would halt PR from being merged unless they pass

I thing bors rules over (?) the github CI, it will merge even if nightly fails in the github.yml CI file.


Application fails to run if PublishTrimmed=True

Minimal reproduction: https://github.com/nulastudio/NetCoreBeauty/issues/10#issuecomment-671730525 with latest NetCoreBeauty version and PublishTrimmed set to true.

it works for me. more details? logs, sdk version or anything.

Strange, exact thing doesn't work for me.
SDK Version: 5.0.100
Built with dotnet publish -r win-x64 --self-contained true -p:PublishTrimmed=True

looks like it's the sdk issue. the 5.0.100 sdk over-trims something and makes the app crashed(verified, still fails to run even though i disable NetCoreBeauty).
From: sitiom
Date: 2020-12-24 09:22
To: nulastudio/NetCoreBeauty
CC: L!εsAμεr; Comment
Subject: Re: [nulastudio/NetCoreBeauty] Application fails to run if PublishTrimmed=True (#13)
Strange, exact thing doesn't work for me.
SDK Version: 5.0.100
Built with dotnet publish -r win-x64 --self-contained true -p:PublishTrimmed=True
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

see dotnet/sdk#14261

That works for now, thanks.

@sitiom What's the fix?

@sitiom What's the fix?

@sitiom What's the fix?

see this comment, https://github.com/dotnet/sdk/issues/14261#issuecomment-734446135

@sitiom What's the fix?

see this comment, https://github.com/dotnet/sdk/issues/14261#issuecomment-734446135


Need Demographic Feature Service

@dhagens is developing a widget (CI_KR : Critical Infrastructure Key Resources) and needs a demographic feature service with the following fields:
Age categories
Males
Females
White
Black
Asian
Hispanic
A feature service similar to this: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/2 would fulfill the needs of the widget development as well as additional demographic data needs.  We could, of course, call it "Detailed Country Demograhics" instead of "counties".

@dhagens is this demographic feature service still needed?

It can be removed.
From: Natalie Feuerstein<EMAIL_ADDRESS>Sent: Wednesday, January 27, 2016 12:50 PM
To: Esri/ops-server-config
Cc: Daniel Hagens
Subject: Re: [ops-server-config] Need Demographic Feature Service (#1317)
@dhagenshttps://github.com/dhagens is this demographic feature service still needed?
—
Reply to this email directly or view it on GitHubhttps://github.com/Esri/ops-server-config/issues/1317#issuecomment-175766946.

No virus found in this message.
Checked by AVG - www.avg.comhttp://www.avg.com
Version: 2015.0.6176 / Virus Database: 4522/11495 - Release Date: 01/27/16


Merge from latest official repo (mostly to fix Node 16 deprecation)

Please update this repo from the official one. This is most important because that was upgraded to Node 20, while v16 used by this action is deprecated.

Should we use buildjet/cache@v3 or buildjet/cache@v4 to get rid of the warning?

v4 has been released

I think this can be closed, then @thinkafterbefore?

Yeah, that's right! I just published the v4, so now both v3 and v4 are supported. Thanks for bringing this to our attention!

Great, thanks!


Add vimeo as an external source

Fixes

Fixes #131 by @rubadel, @possumbilities assign me
Description
Add an additional external search source, vimoe for videos
Technical details
I have added all desired implemention code in both search.js and index.php
Tests
1- Define Vimeo in the [engines array] in search.js file.
2- Set it in [ switch case] in [modRights function] in search.js file,
In that I set license , [rights = &license=by for both] for [ if (comm && deriv)] and [(comm && !deriv)] conditions.
3- set it in [switch case] in [doSearch function] with all needed for done the search, in search.js file, as well as I added this in index.php file within the desired place of the implementation.
Screenshots

uncheck commercial use, it without the license
https://user-images.githubusercontent.com/66481905/197650044-d73d22ab-c305-4a68-8812-37a79da9861c.mov
check commercial use  it with the license
https://user-images.githubusercontent.com/66481905/197650011-1ddfe3ca-a20c-45a3-a85b-56d710354894.mov
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@Rubadel, You needed not to close the previous pull request (#136) and create a new one after resolving the conflicts. When you resolved the conflicts, you could push to the same branch you were previously working on.
After doing that, you would verify and confirm in your pull request that the conflicts would no longer be present. Then you can tag the reviewer, letting he/she/they know that you have resolved the conflicts.

@dullbenz Thank you so much for your guideline.
I am new in PR so my knowledge is little but I am learning 🙏🏻

After last commit

@Rubadel Looks like this is out of date and needs to be updated with the base branch, please do so when you have a moment.

Updated done

@Rubadel I believe the logic is a little broken. If one searches for only "use for commercial purposes" they get results that are just a general Vimeo search which is not correct.

Ok, I will solve it now

could you see there, this result shows where select for commercial purpose ,, it is licensed by "CC BY" .. is not right?

And there when unchecked for commercial purpose,, licensed "any"

@Rubadel I'm fairly certain that the "any" license choice" is not an umbrella choice, but instead provides all videos, many of which may not be licensed under a CC license at all.
There are technically three possibilities.

use for commercial purposes; modify, adapt, or build upon.
use for commercial purposes;
modify, adapt, or build upon.

each then is set as follow:

this defaults to CC BY at the moment
this default to CC BY at the moment
this defaults to Any License, which is basically a non-selection and needs to be corrected.

based on the CC License descriptions 3 likely needs to be CC BY-NC

Thank you so much for your guid @possumbilities, I resolved that

Hi @possumbilities, firstly I am sorry about these fractions. I solved them in this commit, and there are attach screenshots of the page and of the functionality after my last editing.
Pic of the page

Search with checked commercial and modify, adapt, or build upon
https://user-images.githubusercontent.com/66481905/199595544-d68cfee3-34e8-4972-aac3-3c07cb195579.mov
Search with checked commercial only
https://user-images.githubusercontent.com/66481905/199595735-d57bcbd7-2317-43fe-83e3-2b24d96bd244.mov
Search with checked modify, adapt, or build upon only
https://user-images.githubusercontent.com/66481905/199595605-eed1e90c-35fb-4f58-82f6-6edede713eea.mov
Search with unchecked commercial and modify, adapt, or build upon
https://user-images.githubusercontent.com/66481905/199595687-972125b9-d625-4f26-94b3-f5ec9cb8127a.mov

@Rubadel This all looks good, but you spelled Vimeo as Video. I believe that's the only remaining change needed now. Please let me know when you've corrected that.


hello steven, can you help me?

this project grammar_correction_with_bert, I can not finish trainning due to can not import data, i not sure where is data match trainning and its format, if can you share model of you finished training, thanks a lot.

just put a sample data under the folder data/train/ called *.train and *.dev

steven,thanks for you attention and feedback , i try it by above mentioned and find appear bug as below picture, pls advice me again,thanks.

steven,thanks for you attention and feedback , i try it by above mentioned and find appear bug as below picture, pls advice me again,thanks.
At 2020-11-17 00:20:31, "Steven Cheng"<EMAIL_ADDRESS>wrote:
just put a sample data under the folder data/train/ called *.train and *.dev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

steven,thanks for you attention and feedback , i try it by above mentioned and find appear bug as below picture, pls advice me again,thanks.

No need to prepare the data again, the train data is already converted from Alevels.txt to Alevels.train. If u wanna use new data, u can run:
python utils/preprocess_data.py -s data/train/ABCN.test.txt -t data/train/ABCN.test.txt -o ABCN.test

ok, i see, thanks you very much!

Dear steven:
I also can not understand the parameters meaning of such as :
python utils/preprocess_data.py -s SOURCE -t TARGET -o OUTPUT_FILE ,
python train.py --train_set TRAIN_SET --dev_set DEV_SET ,  --model_dir MODEL_DIR --vocab_path VOCAB_PATH
python predict.py --model_path model/model.th --vocab_path model/vocabulary/ --input_file data/synthetic/test_incorr_sentencese.txt --output_file data/synthetic/test_pred.txt
would you mind to give me a details info for it, or give me a sample? it' had better to tell me where come from?
thanks for you attention!
frank
At 2020-11-17 17:33:26, "Steven Cheng"<EMAIL_ADDRESS>wrote:
steven,thanks for you attention and feedback , i try it by above mentioned and find appear bug as below picture, pls advice me again,thanks.
No need to prepare the data again, the train data is already converted from Alevels.txt to Alevels.train. If u wanna use new data, u can run:
python utils/preprocess_data.py -s data/train/ABCN.test.txt -t data/train/ABCN.test.txt -o ABCN.test
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Health component

Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

[INFO] Camel :: Management API                                            [jar]
[INFO] Camel :: Support                                                   [jar]
[INFO] Camel :: Management                                                [jar]
[INFO] Camel :: AWS Cloutrail                                             [jar]
[INFO] Camel :: AWS2 DDB                                                  [jar]
[INFO] Camel :: AWS2 S3                                                   [jar]
[INFO] Camel :: AWS2 SQS                                                  [jar]
[INFO] Camel :: AWS2 Kinesis                                              [jar]
[INFO] Camel :: AWS2 Secrets Manager                                      [jar]
[INFO] Camel :: Google :: Storage                                         [jar]
[INFO] Camel :: Kafka                                                     [jar]
[INFO] Camel :: Catalog :: Camel Catalog                                  [jar]
[INFO] Camel :: Component DSL                                             [jar]


Questions about running GROBID on a HPC cluster

Hi, I am trying to use GROBID on my organization's HPC cluster. I have tried to use it on my own laptop (ARM Macbook), but I keep having trouble running the docker image. Our cluster does not support running docker images but supports singularity. Will pulling GROBID as a singularity image on the cluster work? Also, our HPC administrator recommends running GROBID in batch mode, contrary to your recommendation. What kind of issues should I expect when using batch mode instead of service mode?

@kyuhunl, it should work on singularity, however, I never tried, nor do I have access to an HPC service.
If you run it without docker/singularity you might have issues configuring the deep learning models.
Generally, running the batch mode is effective when you pass to it the directory with all the PDF documents. If you run the command for the batch mode multiple times, it will spend a lot of time loading/unloading models, for which the service on a normal server(s) might be more effective.


Improve query determinism

As preparation for benchmarking flyvy, we will want results to be reproducible, which means that all sources of randomness need to be controlled.
As a first cut, this PR makes executions of UPDR (more?) deterministic by fixing several issues related to hash table iteration order.
My workflow was:
cargo build
for i in {1..10}; do
  rm -rf .flyvy-log
  echo $i
  ./target/debug/temporal-verifier updr-verify examples/lockserver.fly --solver-seed 1 --smt > log-$i.txt 2>&1
  mv .flyvy-log/lockserver/ log-$i-smt-logs
done

which runs UPDR ten times with the same random seed and collects stdout/stderr logs as well as all smt2 "tee" logs for each run.
Then I diffed the stdout/stderr logs with
for i in {2..10}; do diff -uw log-1.txt log-$i.txt; done

and confirmed that there were no differences.
When there were differences, I used the smt2 "tee" logs to find the first query file name that differed (I added code to save_tee to print the query file names as they were saved, in order, so that I could grep for them easily in the log -- I did not push this code). I then diffed the first two differing queries to understand what was causing the divergence. In all cases I found, this boiled down to iterating over a hash table. (We may want to consider a policy of not iterating over hash tables, because these bugs may be difficult to keep out of the codebase otherwise.)
Along the way, I made a small improvement to the smt2 "tee" logs, so that they now include the answer from check-sat as a comment.
Can anyone think of a good way to make this into an integration test? Is there a way to run the tool over and over from inside a rust test? I'm not sure if we just call updr as a function that we will actually observe a different hash iteration order (I didn't try it).
Also, we should consider running similar investigations for all other subcommands.

Adding the integration tests can wait for another PR but I would like to move the save_tee() calls to make this output more complete.

I added the integration test and moved the save_tee calls.

Great! Can you rebase on top of main and fix the conflicts?


PIE810 autofix changes raw strings to backslashes

Start with this code:
if x.startswith("a") or x.startswith("b") or re.match(r"a\.b", x):
    pass

Ruff correctly complains that I should use a single .startswith() call.
Run Ruff's autofix for PIE810:
if x.startswith(("a", "b")) or re.match("a\\.b", x):
    pass

And now my string is not raw any more.

👍 This is a specific instance of a general problem (#7799), though we may want to fix this case specifically since it's common for this to contain strings.


Updated localhost to prisma.io for link.

Probably this should be an alias, but I have no idea how the docs get build.
Let me know if I can do it better! I couldn't really find it in the contribution guidelines.

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

Thanks a lot for catching this @happylinks 🎉


Add notionbackups.com

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: notionbackups.com
  url: https://notionbackups.com
  size: 48.3
  last_checked: 2022-03-21

GTMetrix Report: https://gtmetrix.com/reports/notionbackups.com/4a6rB6ZZ/

It's refreshing to see a commercial website that's this lightweight. Thanks for your submission!

Thanks Garrit!


pervasive: adding method Map::contains_value

This is the dual of Map::contains_key but it checks whether the map contains a specific value.

I added a test, which ends up generating invalid AIR. I don't know what the issue is yet.

It was a problem with #[verifier(inline)] which interacts badly with native types as type params here.


[Accessibility] Narrator is not reading the selection action title for the Rich Text Block

Platforms

[x] JavaScript
[ ] .NET
[x] UWP
[ ] iOS
[ ] Android
[ ] HTML

Author or host
Host, D365, Customer Service Workspace app
Version of SDK
1.3
Repro
With the below RichTextBlock, Narrator should read "Click me" when the focus is on the RichTextBlock, but it reads "This is the text"
{
  "type": "AdaptiveCard",
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.3",
  "body": [
    {
      "type": "RichTextBlock",
      "inlines": [
        {
          "type": "TextRun",
          "text": "This is the text",
          "selectAction": {
            "type": "Action.Submit",
            "title": "Click me"
          }
        }
      ]
    }
  ]
}

The narrator is expected to read the 'title' property on the selection action rather than the 'text' property of the text run in the rich text block

@dclaux can you add a quick summary here of the changes you are making as part of addressing this? Thanks

@shalinijoshi19 the change I am making is in the title of the PR: "Use TextRun.selectAction.title as aria-label"

@RebeccaAnne FYI -- can we look into this one for next sprint? I've moved it out.

This behaves as expected in UWP

The bug repros on .NET WPF

@jwoo-msft @golddove Could you guys check if this works as expected on iOS/Android? Thanks!

@jwoo-msft @golddove Could you guys check if this works as expected on iOS/Android? Thanks!

Spun of iOS and Android to separate bugs to investigate and fix if necessary.

Spun of iOS and Android to separate bugs to investigate and fix if necessary.


Features

Request to merge the features branch to the main branch. On this feature branch, I implemented the following:
I added the Html and CSS files and also added applied Flexbox to both sections of my HTML file following the first template from Figma.

Thanks for your reviews.


Click event is duplicated when redirect from A.html to B.html

I'm a fresher.  I'm having problem using Ahoy.js.
I have 2 sample file HTML include Ahoy.js.
Sample A:

Sample B:
<button>Add Cart</button>

I click a tag, when redirect to 'B.html', maybe eventQueue is still saved from A.html, so it should be duplicated event when send request via Ajax.
Can anyone help me??
Thanks you!.

Hey @nguyenvanthuan0501, that's possible if useBeacon: false is set (to make sure events are delivered at least once). Each event should have a unique id, so if you really need to avoid duplication, you'll probably want to add some logic server-side to prevent it.

Hey @nguyenvanthuan0501, that's possible if useBeacon: false is set (to make sure events are delivered at least once). Each event should have a unique id, so if you really need to avoid duplication, you'll probably want to add some logic server-side to prevent it.

@ankane I also have a problem like above, solution you reply issue not working for me. Have you other solutions?


refactor(model)!: parse timestampes with time

Use the time crate to parse timestamps provided by the API.
This fixes an issue where leap years were parsed twice, as well as instances (#1307) where some timestamps could be before 2010.
Supersedes #1288.
BREAKING CHANGE: The Timestamp API now expects and provides i64s instead of u64s.

Codecov Report

Merging #1308 (246f3cc) into main (90df413) will decrease coverage by 0.39%.
The diff coverage is 72.09%.

:exclamation: Current head 246f3cc differs from pull request most recent head 543be09. Consider uploading reports for the commit 543be09 to get more accurate results

@@            Coverage Diff             @@
##             main    #1308      +/-   ##
==========================================
- Coverage   31.09%   30.69%   -0.40%
==========================================
  Files         364      363       -1
  Lines       14458    14310     -148
==========================================
- Hits         4496     4393     -103
+ Misses       9962     9917      -45

Impacted Files
Coverage Δ

model/src/datetime/error.rs
0.00% <0.00%> (ø)

model/src/datetime/mod.rs
65.71% <70.58%> (-14.05%)
:arrow_down:

model/src/datetime/display.rs
90.90% <100.00%> (-1.40%)
:arrow_down:

http/src/routing/route_display.rs
10.66% <0.00%> (-0.39%)
:arrow_down:

http/src/routing/route.rs
6.23% <0.00%> (-0.32%)
:arrow_down:

embed-builder/src/builder.rs
69.71% <0.00%> (+0.17%)
:arrow_up:

Continue to review full report at Codecov.

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


Move more common codes to azure-tools-common

Codecov Report

Merging #1038 into develop will decrease coverage by 2.07%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #1038      +/-   ##
=============================================
- Coverage      38.36%   36.29%   -2.08%
+ Complexity       624      536      -88
=============================================
  Files            112      103       -9
  Lines           4699     4417     -282
  Branches         729      681      -48
=============================================
- Hits            1803     1603     -200
+ Misses          2749     2675      -74
+ Partials         147      139       -8

Impacted Files
Coverage Δ
Complexity Δ

...java/com/microsoft/azure/auth/AzureAuthHelper.java
62.16% <ø> (ø)
36 <0> (ø)
:arrow_down:

...azure/maven/spring/spring/SpringServiceClient.java
55.17% <ø> (ø)
6 <0> (ø)
:arrow_down:

.../com/microsoft/azure/maven/spring/utils/Utils.java
6.41% <ø> (ø)
3 <0> (ø)
:arrow_down:

...ft/azure/auth/configuration/AuthConfiguration.java
96.15% <ø> (ø)
35 <0> (ø)
:arrow_down:

...a/com/microsoft/azure/maven/spring/DeployMojo.java
6.81% <ø> (ø)
5 <0> (ø)
:arrow_down:

...azure/maven/spring/configuration/BaseSettings.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

...ava/com/microsoft/azure/auth/AzureLoginHelper.java
70.58% <ø> (ø)
17 <0> (ø)
:arrow_down:

...crosoft/azure/maven/spring/AbstractSpringMojo.java
46.07% <ø> (ø)
14 <0> (ø)
:arrow_down:

...azure/maven/common/telemetry/AppInsightHelper.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...rosoft/azure/maven/spring/utils/TemplateUtils.java
100% <ø> (ø)
11 <0> (ø)
:arrow_down:

... and 5 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 9bbce1d...8906411. Read the comment docs.


Add get_ref on SyncWrapper

Hi @rkuhn, take a look sometime, thank you.
Can you release a new version?

Not sure what you’re trying to achieve here: this change would completely break SyncWrapper and make it useless (and unsound!). The whole point is that only exclusive access is possible, leveraging the aliasing discipline of the compiler to ensure sound usage of a resource from multiple threads.

Thank you for explaining.
In my case, just want to get resources from the inner.
https://github.com/viz-rs/viz/pull/116/files#diff-8a95ebfaeb4b91897de90b0662379403ed796dbf3226bb049083a595223fcc70R177
https://github.com/viz-rs/viz/pull/116/files#diff-8a95ebfaeb4b91897de90b0662379403ed796dbf3226bb049083a595223fcc70R216

Sorry, I read the context. Got it. Thank you.


active_opacity only works for first time opening windows

Issue is what the title says. I thought it was related to follow_mouse, but issue still persists even with follow_mouse set to 0.
Steps to reproduce

Open a new window. (active_opacity still works at this point)
Switch to another window.
Switch back to original window, or any other window at all. (active_opacity now doesn't work/ no transparency)

Expected outcome
Switching back to already opened windows would have active window transparency.
Noted outcome
Switching back to already opened windows makes them lose active window transparency. Freshly opened windows would still have active window transparency before being switched out of.


Token gets bigger?

Hey,
i am trying to create a new hash with my private key, while using data that has been hashed with that same key before. So there is some slightly new data in there and my hash from before.

    this.index = 1;
    this.data = "test123";

    const signData = {
      index: this.index,
      data: this.data,
      previousHash: this.previousHash,
    };

    this.hash = jwt.sign(signData, privateKey, {
      algorithm: 'RS256'
    });

But this lets my hash grow and grow larger. What am i doing wrong?

If anyone has this issue:
The token generates a base64. Thus, having a base64 on base64 doesnt work ;)


SX1272 fails to initialize

Describe the bug
When trying to initialize the LoRa Semtech sx1272 board the program throws error code 0x1 after 2 seconds of showing initializing.
To Reproduce
Steps to reproduce the behavior:
run default transmit example using settings from screenshot or any other combination of pins for the NCC, DIO0, DIO1
Expected behavior
trying to run default example at 868 MHz but get error code 0x1
Screenshots

Additional info (please complete):

MCU: Arduino NANO ATmega328p
LoRa module type SX1272
Arduino IDE version  1.8.1
Library version 3.0.1

Could you try connecting your SX1272 to the default pins (NSS -> 7, DIO0 ->2, DIO1 -> 3)? Then try to run the example with default constructor SX1272 lora = new LoRa;
If the problem presists there might be a fault in your wiring; if it goes away there's something wrong in the library.

here is the output I have checked my wiring again and it seems to be all fine.

Thanks for the bug!
It is fixed in release 3.0.2. Since it will take a few hours until Arduino Library Manager detects the new version, you can just download the source from here

thanks for the quick fix really appreciate it, you've helped out on a big project.


🚀 Feature: Use Concurrency for Microsite Deployment Workflow

🔖 Feature description
We should use concurrency for the Microsite Deployment workflow, something like this would work:
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

And would just need to be added to this: https://github.com/backstage/backstage/blob/master/.github/workflows/deploy_microsite.yml
🎤 Context
Right now the Microsite takes about 90 minutes to run, if multiple PRs are merged with changes to the site they get piled up and all run like this:

With concurrency in place only the most recent would run
✌ Possible Implementation
Adding this:
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

To this workflow is all that needs to be done: https://github.com/backstage/backstage/blob/master/.github/workflows/deploy_microsite.yml
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

I'd like to try this one.  It looks pretty simple to implement though difficult to test.

Hey can I try this?

@mharrah are you still interested? I'll assign it to you seeing as you commented first and if not will assign it to @AshwanthramKL
The way I would approach this is to just get the change in placed, merged in, and then watch. If there's issues it's pretty easy to just remove. Where I see this happening most often is the Monday and Tuesday before the release as that seems to be when a lot of PRs get merged. It's less of an issue when things are getting merged more sporadically.

Yes I am - please!

Closing as fixed! Thanks everyone 👏


Add Support for Swagger

Add basic support for Swagger.  The Swagger functionality should be supported for all of the platforms:

ASP.NET Web API
ASP.NET Web API with OData v4.0
ASP.NET Core

If it helps, when I currently use this and Swagger, Swagger outputs these things:

I am not sure what you are after here but in the last day or so I have been adding swagger and api versioning to a new core api site I am working on.  I wanted my version and a functional area split out in my swagger docs.  I am using swashbuckle to implement swagger (Swashbuckle.AspNetCore).  The way I implemented this was all on the swagger generation side not in versioning.  I decided to generate separate documents for each API version (and namespace in my case) I was going to have.  Then it is just a mater of selecting the document for the api I want to see.  You can also insert a default query or header parameter and it will just work.  I have attached some of my code if it helps.
In the end I get a list of swagger documents for my api that is split by a functional area (portion of the namespace) and api version ie
DoSomeWorkGroup1 - v1.0
DoSomeWorkGroup1 - v2.0
DoSomeWorkGroup2 - v2.0
etc
Generate a list of Namespaces and Versions for Swagger:
public static class SwaggerDocuments
{
    public static List<SwaggerDocument> GetSwaggerDocumentList()
    {
        var APIGroups = new List<SwaggerDocument>();
        Assembly asm = Assembly.GetExecutingAssembly();
        var controllers = asm.GetTypes()
            .Where(type => typeof(Controller).IsAssignableFrom(type))
            .SelectMany(type => type.GetMethods())
            .Where(method => method.IsPublic && !method.IsDefined(typeof(NonActionAttribute)));

        foreach (var controller in controllers)
        {
            Type t = controller.GetType();
            var Namespace = controller.DeclaringType.Namespace;

            var attributes = controller.DeclaringType.CustomAttributes;

            foreach (var item in attributes)
            {
                if (item.AttributeType == typeof(ApiVersionAttribute))
                {
                    foreach (var version in item.ConstructorArguments)
                    {
                        APIGroups.Add(new SwaggerDocument() { Namespace = Namespace.Replace("<Namespace Prefix I want Removed>.", "").Split('.').First(), Version = version.Value.ToString() });
                    }
                }
            }
        }

        return APIGroups.GroupBy(x => new { x.Namespace, x.Version }).Select(x => new SwaggerDocument { Namespace = x.Key.Namespace, Version = x.Key.Version }).ToList();
    }

    public class SwaggerDocument
    {
        public string Namespace { get; set; }
        public string Version { get; set; }
    }
}

Swagger generation in ConfigureServices of Startup Class
services.AddMvc(c =>
    c.Conventions.Add(new ApiExplorerGroupPerVersionConvention())
);
services.AddSwaggerGen(c =>
{
    var filePath = Path.Combine(PlatformServices.Default.Application.ApplicationBasePath, "BG.Connect.API.xml");
    c.IncludeXmlComments(filePath);

    foreach (var item in Apilist)
    {
        c.SwaggerDoc($"{item.Namespace}{item.Version}", new Info { Title = $"{item.Namespace} API", Version = item.Version });
    }
    c.OperationFilter<AddRequiredHeaderParameter>();
    c.DocInclusionPredicate((docName, apiDesc) =>
    {
        var restrictedVersion = apiDesc.ActionAttributes()
            .OfType<MapToApiVersionAttribute>()
            .SelectMany(attr => attr.Versions);

        var versions = apiDesc.ControllerAttributes()
            .OfType<ApiVersionAttribute>()
            .SelectMany(attr => attr.Versions);
        if (restrictedVersion.Count() > 0)
        {
            return restrictedVersion.Any(v => $"{apiDesc.GroupName}{v.ToString()}" == docName);
        }
        else
        {
            return versions.Any(v => $"{apiDesc.GroupName}{v.ToString()}" == docName);
        }
    });
});

Swagger UI Settings in Configure of Startup Class
app.UseSwaggerUi(c =>
{
     foreach (var item in Apilist)
    {
        c.SwaggerEndpoint($"/swagger/{item.Namespace}{item.Version}/swagger.json", $"{item.Namespace} API - v{item.Version}");
    }
});

Helper Class Used to Get the Portion of the namespace I want to split the documents by.
public class ApiExplorerGroupPerVersionConvention : IControllerModelConvention
{
    public void Apply(ControllerModel controller)
    {
        var controllerNamespace = controller.ControllerType.Namespace; // e.g. "Controllers.V1"
        var apiVersion = controllerNamespace.Replace("<Namespace Prefix I want Removed>", "").Split('.').First();

        controller.ApiExplorer.GroupName = apiVersion;
    }
}

Helper Function to add the needed query or header parameters to all Item:
public class AddRequiredHeaderParameter : IOperationFilter
    {
        public void Apply(Operation operation, OperationFilterContext context)
        {
            string Version = "";
            var controllerActionDescriptor = context.ApiDescription.ActionDescriptor as ControllerActionDescriptor;
            if (controllerActionDescriptor != null)
            {
                var controllerAttributes = controllerActionDescriptor.ControllerTypeInfo.CustomAttributes;

                foreach (var item in controllerAttributes)
                {
                    if (item.AttributeType == typeof(ApiVersionAttribute))
                    {
                        foreach (var version in item.ConstructorArguments)
                        {
                            Version = version.Value.ToString();
                        }
                    }
                }

                var methodAttributes = controllerActionDescriptor.MethodInfo.CustomAttributes;

                foreach (var item in methodAttributes)
                {
                    if (item.AttributeType == typeof(MapToApiVersionAttribute))
                    {
                        foreach (var version in item.ConstructorArguments)
                        {
                            Version = version.Value.ToString();
                        }
                    }
                }
            }

            var header = new NonBodyParameter
            {
                Name = "api-version",
                In = "query",
                Required = true,
                Type = "string",
                Default = Version

            };

            if (operation.Parameters == null)
            {
                operation.Parameters = new List<IParameter>();
            }

            operation.Parameters.Add(header);
        }
    }

Hope this helps.

Do you mean like releasing a package related to API Versioning with a solution from here packaged into a single library with easy setup?

Exactly. An interesting challenge is how to aggregate the controller versions for documentation. In the versioning libraries this happens by letting the routing infrastructure find all candidates for a route and then aggregating from there. In addition, the client knows the route their looking for. For documentation, all of the routes need to be collated and then aggregated. I know this is possible, but the implementation has yet to be hashed out.
Another aspect is making sure that the documentation is built using the right abstractions. A lot of the early variants that I'm seeing people build are based on attributes.  This not actually what the API versioning libraries use.  The libraries only care about IApiVersionProvider and IApiVersionNeutral.  One of the ways these interfaces are realized just happen to be attributes.
It's important for the right abstractions are used so that the solution is generic and can be used for various API versioning scenarios. Regardless, there has been some great progress in a number of attempts to create a library and I'll certainly be reviewing the implementations I know about for input to the out-of-the-box solution.
Now that I've nearly burned down all of the other issues, I should have some time (soon) to dedicate to this feature.  Thanks for your patience.

So what help do you need?
Do you want a pull request that adds a separate project with SwashBuckle filters that I referenced?
RemoveVersionParameters : IOperationFilter
abstract SetVersionInPaths : IDocumentFilter that requires to implement version replacement logic.

Someone looking to help ... yeah! Coincidentally, I've finally burned down just about every other outstanding issue, so I can now give this topic the full attention it deserves. Admittedly, I haven't spent a bunch of hands-on time with Swagger and Swashbuckle, so I'll be looking for feedback there for sure. I'll be catching myself up as quickly as possible. Here's the 10,000ft overview:
Objective
Provide an aggregated API version meta-model that groups all services (e.g. controllers) by route and their associated API versions. This is the part that is difficult and provides the value proposition to service authors. The result should be something analogous to, if not an implementation of, an API Explorer that is API version aware. This will provide all the heavy lifting for service authors and can potentially live directly within the API versioning libraries.  I'm up in the air as to whether a separate library should be required for these capabilities. Opinions are welcome.
Requirements

Controllers must be collated by route (this is probably the most challenging part)
API version information must be based on IApiVersionProvider and IApiVersionNeutral (not solely attributes)

Once you can get down to the controller or action descriptors, this information can be collected using the built-in GetApiVersionModel extension methods

API version information should be aggregated into a single ApiVersionModel per route

Built-in extension methods exist to aggregate ApiVersionModel instances

Implement IApiExplorer for ASP.NET Web API, if possible/feasible
Implement IApiDescriptionProvider for ASP.NET Core, if possible/feasible

Hi guyz !
Just play with versioning and swagger few days ago and here is what I found :
We have to declare :

1 Swagger Document per version : Technically we have to configure SwaggerGen Service
We all version available for a given action : Use Swagger method DocInclusionPredicate inside SwaggerGen config service
Enable SwaggerUI middleware and add Endpoint for each version

For DocInclusionPredicate we already have all the api to configure this method because ApiVersionModel has been built by ApiVersionConvention :
 c.DocInclusionPredicate((docName, apiDesc) =>
                {
                    var model = apiDesc.ActionDescriptor.GetProperty<ApiVersionModel>();
                    var version = docName;
                    if (model.IsApiVersionNeutral)
                    {
                        return true;
                    }
                    else if (model.DeclaredApiVersions.Any())
                    {
                        return model.DeclaredApiVersions.Any(_ => _.ToString() == version);
                    }
                    else if (model.ImplementedApiVersions.Any())
                    {
                        return model.ImplementedApiVersions.Any(_ => _.ToString() == version);
                    }

                    return false;
                });

For other points, we can't use that because ApplicationModel hasn't been executed yet but to build SwaggerDoc and SwaggerEndpoint we just have to know all version available into our application not necessarily which action is available in a specific version
Example of code to configure swagger doc and endpoint :
            app.UseSwaggerUI(c =>
            {
                foreach (var version in versions)
                {
                    c.SwaggerEndpoint($"/swagger/v{version}/swagger.json", $"V{version} Docs");
                }
            });

// Register the Swagger generator, defining one or more Swagger documents
            services.AddSwaggerGen(c =>
            {
                foreach (var version in versions)
                {
                    c.SwaggerDoc($"v{version}", new Info { Title = $"Sample service v{version}", Version = $"v{version}" });
                }

                c.DocInclusionPredicate((docName, apiDesc) =>
                {
                      //implem is above
                       ...
                });
            });

Or like this
options.DocInclusionPredicate((docName, apiDesc) =>
{
    var model = apiDesc.ActionDescriptor.GetProperty<ApiVersionModel>();
    switch (model)
    {
        case ApiVersionModel _ when model.IsApiVersionNeutral: return true;
        case ApiVersionModel _ when model.DeclaredApiVersions.Any():
            return model.DeclaredApiVersions
                        .Any(apiVersion => apiVersion.ToString() == docName);
        case ApiVersionModel _ when model.ImplementedApiVersions.Any():
            return model.ImplementedApiVersions
                        .Any(apiVersion => apiVersion.ToString() == docName);
        default: return false;
    }
});

ApiVersionModel usage is pretty low-level, so let me elaborate a little about how it's used. I'll limit the specifics to ASP.NET Core, but things work similarly in Web API. Ultimately, the logic should be very close to the way that the action selector works.
If API versioning is enabled, then you can grab the ApiVersionModel as you've shown; however, there's a chance that it's not and the model will be null so you have to account for that. In addition, if the action is implicitly versioned, then you'll have to fallback to getting the API version information from the controller model. I thought I had an extension method for this, but I guess in ASP.NET Core I don't. I think it's worth adding, so I'll open an issue for that. The implementation should look almost the same as the IsImplicitlyMappedTo extension method.
Once you've retrieved a model, that should be all that's necessary based on the example I'm seeing. The only time any of the properties on the model are empty is when it's version-neutral. Since the both version-neutral and any version are matches, these conditions seem unnecessary.
The DeclaredApiVersions are probably not useful for documentation. This collection is used by the controller and action selectors to find the matching implementation.  The ImplementedApiVersions is an aggregation of the SupportedApiVersions and DeprecatedApiVersions for a single service. For creating a simple list, ImplementedApiVersions is probably sufficient; however, I suspect there would be a desire to know and document which API versions are deprecated.  The ApiVersion class intentionally does not track that information. In order to bucketize these two groups, you'll want to use the SupportedApiVersions and DeprecatedApiVersions  instead (though probably not in this code snippet).
I hope that provides some additional context.

To complete answer, i think that actually retrieving ApiVersionModel is dependant to have an ApplicationModel, ControllerModel or ActionModel.
To be able to configure SwaggerUi middleware we need to juste have a class that allow to retrieve all api version from multiple provider (Implicit, Attrbiute, whatever)

Sort of. The ControllerModel and ActionModel contain the information used to discover and populate the version information from attributes. This information is merged with any version information defined by conventions. The final set of version information is aggregated into a single ApiVersionModel and is attached as a property to the corresponding model.  The ApiVersionModel defines a constructor that accepts the models, but this is purely a convenience as a shortcut to populate the information from attributes. Beyond that, there is no use or coupling to the models. The models and ApiVersionModel can still be built-up independent of this behavior.
Unless I'm mistaken, this behavior doesn't add any additional dependency coupling that didn't already exist. If it does, then we should consider changing it now before the 1.1 milestone is officially released. These constructors were previously internal, but changed recently due an extensibility bug.

A quick update. I have first set of changes out for review in PR #103 which introduces support for the IApiExplorer in Web API. I know a lot of you are waiting for the ASP.NET Core flavor, but I wanted to get - what I believe will be - the hard one out of the way. I'm expecting the ASP.NET Core version to come sometime during the next week.
As a sanity check, if there is formal support for an API explorer that groups and enumerates all the controllers and actions by API version, is there really any other support needed to light up Swagger and/or Swashbuckle? It seems to me that the main challenge is collating all the metadata about API-versioned services. After that, the integration to Swagger and Swashbuckle should be business as usual, no?

For those following the thread, there is now an end-to-end working Web API Swagger Sample. Now that there are working examples for ASP.NET Core and Web API, I'm convinced the work here is all in the API explorer. There are a few conveniences that could be provided API versioning, but I don't think I should own them.
In my conversations with the ASP.NET team, they still looking to take the core abstractions from here and roll them into the platform. The work has been delayed so I can't say when that will happen. When it does finally happen, it will be easier for Swagger/Swashbuckle libraries to provide some of these capabilities directly out-of-the-box.
The current build is alpha quality. The majority of the remaining work will be testing. I won't release anything official until the quality bar is high. However, since so many of you have been clamoring for this feature and have patiently waited for months, I'm willing to put out an alpha package for you to play with. No guarantee that nothing else will change, but I'm pretty confident little will change to the public API surface. Let me know your reaction.
Thanks

The first iteration of packages are available. I'm leaving a little burn-in time with a beta release for issues and/or feedback before the official release. I'll be updating the wiki soon.

Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer
Microsoft.AspNet.WebApi.Versioning.ApiExplorer
Microsoft.AspNet.OData.Versioning.ApiExplorer

You can use the links to the sample projects above to get started. Thanks to everyone that helped drive this forward.

I'll be updating the wiki soon.

Yes, please. Because I have no idea which things are now unnecessary in my previous Swagger usage implementation

The first round of documentation is up. See the API Documentation topic. The sample projects should also help point you in the right direction. Feel free to ask questions if anything is unclear.

Looks cool! I will try it tomorrow

You can simplify sample by moving provider resolution to method parameter like this
public void Configure( ...loggerFactory, IApiVersionDescriptionProvider provider )
{
    ...
    app.UseSwaggerUI(
        options =>
        {
            // build a swagger endpoint for each discovered API version
            foreach ( var description in provider.ApiVersionDescriptions )
            {
                options.SwaggerEndpoint( $"/swagger/{description.GroupName}/swagger.json", description.GroupName.ToUpperInvariant() );
            }
        } );
}

Reasonable. I'll update it.

I've added full versioning support to the ASP.NET API Boilerplate project template. You can now use dotnet new to create a project and optionally enable or disable Swagger and/or ASP.NET API Versioning (Both options are turned on by default) as well as a dozen other settings.

Awesome! I'm sure this will help folks stitch things together very quickly. Thanks for putting in the work and sharing. :)


Provide a way to detect if the Esc key (or any other key) has been pressed.

I would like to use Esc to go to different places in a loop, but the way survey intercepts it, it's currently impossible.
Thank you for your work!

Could you give small example and some details about your usecase?

Hey, I would love to show a multi select and be able to detect Esc (like I can do with other keys), to return err on the function running it.

Thanks for the submission @PrMinisterGR! And thanks for following up @dineshba!!
I discussed trapping esc awhile back when we adding the vim mode. I think that addition was probably a bit pre-emptive since I now thing the esc is better used to get out of options like you might be hoping to do. Unforunately, since it would introduce a breaking change to the API, i have been holding off on removing it until v3. I know this isn't quite the answer you want but it's the best I can do right now 😦

No worries, as long as it's eventually fixed, that will be great.

Are there any methods currently to capture escape?  I notice (Ubuntu) that a selection flashes when escape is pressed.
I could implement an "ErrorOnEscape" field to the Select struct.  Let me know if that would be breaking @AlecAivazis


feat(countdown): add components

Related Ticket(s)
ADCMS-6655
Description
Migrates the countdown component from carbon-for-aem into carbon-for-ibmdotcom
Changelog
New

add c4d-countdown

I couldn't add the snapshots, this is not working on my machine.

I believe I've resolved all the outstanding issues here. Note that I've merged the promo-banner migration PR here. That PR should be merged first.


Add 'project_id' paramter to str_iterative_eh_runner.py

Added 'project_id' parameter so that the script can run on different project IDs. Previously could only run on TOB ids.

Hey @hopedisastro, I added linting to sv-workflows, and have addressed most of the linting issues. There are a couple of small ones if you could fix up, that would be awesome:
str/str_iterative_eh_runner.py:25:1: F401 'cpg_utils.hail_batch.authenticate_cloud_credentials_in_job' imported but unused
str/str_iterative_eh_runner.py:25:1: F401 'cpg_utils.hail_batch.copy_common_env' imported but unused
str/str_iterative_eh_runner.py:103:9: F841 local variable 'external_wgs_id' is assigned to but never used

# these variable names are too long
str/str_iterative_eh_runner.py:66:4: C0103: Variable name "external_wgs_to_cpg_sample_id_map" doesn't conform to '[a-z_][a-z0-9_]{0,30}$' pattern (invalid-name)
str/str_iterative_eh_runner.py:69:4: C0103: Variable name "cpg_sample_id_to_external_wgs_id" doesn't conform to '[a-z_][a-z0-9_]{0,30}$' pattern (invalid-name)