Clarify FetchEvent lifecycle for ES modules

Expected Behavior
I'd expected the FetchEvent Lifecycle page to have some sort of notice or warning about whether the ES modules format for workers supports equivalent functionality.
Actual Behavior
The current docs provide examples of workers using ES Modules, and suggest they will be the future preferred format for workers (required to use Durable Objects).
The documentation on the FetchEvent Lifecycle is missing any mention of modules, so it's not clear if there exists an equivalent to waitUntil when using modules (since modules have no FetchEvent object).
Section that requires update
FetchEvent Lifecycle
refs https://github.com/robertcepa/toucan-js/issues/72

@xortive would you be able to help document this?

@Electroid where did the discussions on documentation of ES modules end up?  I think it makes sense for people to ask @xortive for context, but folks on the team supporting modules probably need to understand them enough to write the documentation.

for the specific question about waitUntil, this is discussed in https://developers.cloudflare.com/workers/cli-wrangler/configuration#modules


Doubt about translation performance

Hi, first I wanna thank you for the great work developing this extension but I want to know if there is something I can do to improve the translation speed because in console I got the word translated in less than a second but through ulauncher it takes more than 3 seconds, sometimes even 10.
I am using Ulauncher v5 and lastest extension version.

Hi, thank you !
I updated the README and how it is translated. Now, when you stop typing, it will wait 0.5s before starting translation.


Vault Terraform Provider missing from Language Server

Terraform language server is missing the vault provider:
https://github.com/terraform-providers/terraform-provider-vault

I think this should be filed against https://github.com/juliosueiras/terraform-lsp , right?
(it's not the only one missing; I believe https://github.com/terraform-providers/terraform-provider-kubernetes needs to be added as well)

Ah, will make another issue there just in case, thanks

dupe'd here: https://github.com/juliosueiras/terraform-lsp/issues/34

This kind of issue is strictly of vscode-terraform, since terraform-lsp work by communication with the provider binary, so when you do terraform init on the folder, it grab the provider binary, which allow the lsp to provide autocompletion, error checking, etc

Oh figured out the causing issue for this actually: I wasn't doing "terraform init" in my directory with the tf files.
I use terragrunt for environment/workspace management so I had never done a "terraform init" in my tf files directory.


'Dashboard'->'Add widget'->'GitHub (Preview)'->'Releases'. 'Release' has wrong translation

Dev Home version
0.1201.442.0
🌐 Language
Simplified Chinese
❌ Actual phrase(s)

✔ Expected phrase(s)
最近发布
Why is the current translation wrong
Release has two meanings:

Meaning
Corresponding Translation

Set (something) free
释放(某东西)

Publish a (new version of) software
发布(新版本)

Obviously, here 'release' means 'publish'.
Current translation means "Number of items that are set free"

By the way, how can the community contribute to translations?

@wsy Thanks for letting us know about this! We don't have a way for the community to contribute to translations directly, but we will take this feedback and get it fixed.

By the way, I really hope Microsoft staff can change their Windows/Office and other software from English to their native language.
By doing this, many localization issues can be spotted in early stage and can be reported and can get fixed internally without going through these long triage process.


Disable CGO when running generate deep copy

Issue #, if available:
Fixes https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack/issues/266
Part of https://github.com/kubernetes-sigs/cluster-api/issues/8784
Description of changes:
This should fix the job that periodically builds images, since the container where the releas staging target is run doesn't have gcc installed.
Testing performed:
Ran make generate-deepcopy inside gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20220609-2e4c91eb7e and verified it works.
Inspiration from https://github.com/kubernetes-sigs/cluster-api/issues/6230
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

verified ok.
make docker-build works as well
/lgtm

/run-e2e -c 4.18

@weizhouapache a jenkins job has been kicked to run test with following paramaters:

kubernetes version: 1.27.2
CloudStack version: 4.18
hypervisor: kvm
template: ubuntu-2004-kube
Kubernetes upgrade from: 1.26.5 to 1.27.2

Test Results : (tid-40)
Environment: kvm Rocky8(x3), Advanced Networking with Management Server Rocky8
Kubernetes Version:  v1.27.2
Kubernetes Version upgrade from:  v1.26.5
Kubernetes Version upgrade to:  v1.27.2
CloudStack Version:  4.18
Template:  ubuntu-2004-kube
E2E Test Run Logs: https://github.com/blueorangutan/capc-prs/releases/download/capc-pr-ci-cd/capc-e2e-artifacts-pr268-sl-40.zip
[PASS] When testing machine remediation Should replace a machine when it is destroyed
[PASS] When testing MachineDeployment rolling upgrades Should successfully upgrade Machines upon changes in relevant MachineDeployment fields
[PASS] When the specified resource does not exist Should fail due to the specified account is not found [TC4a]
[PASS] When the specified resource does not exist Should fail due to the specified domain is not found [TC4b]
[PASS] When the specified resource does not exist Should fail due to the specified control plane offering is not found [TC7]
[PASS] When the specified resource does not exist Should fail due to the specified template is not found [TC6]
[PASS] When the specified resource does not exist Should fail due to the specified zone is not found [TC3]
[PASS] When the specified resource does not exist Should fail due to the specified disk offering is not found
[PASS] When the specified resource does not exist Should fail due to the compute resources are not sufficient for the specified offering [TC8]
[PASS] When the specified resource does not exist Should fail due to the specified disk offer is not customized but the disk size is specified
[PASS] When the specified resource does not exist Should fail due to the specified disk offer is customized but the disk size is not specified
[PASS] When the specified resource does not exist Should fail due to the public IP can not be found
[PASS] When the specified resource does not exist When starting with a healthy cluster Should fail to upgrade worker machine due to insufficient compute resources
[PASS] When the specified resource does not exist When starting with a healthy cluster Should fail to upgrade control plane machine due to insufficient compute resources
[PASS] When testing K8S conformance [Conformance] Should create a workload cluster and run kubetest
[PASS] When testing resource cleanup Should create a new network when the specified network does not exist
[PASS] When testing affinity group Should have host affinity group when affinity is pro
[PASS] When testing affinity group Should have host affinity group when affinity is anti
[PASS] When testing with custom disk offering Should successfully create a cluster with a custom disk offering
[PASS] When testing with disk offering Should successfully create a cluster with disk offering
[PASS] When testing subdomain Should create a cluster in a subdomain
[PASS] When testing horizontal scale out/in [TC17][TC18][TC20][TC21] Should successfully scale machine replicas up and down horizontally
[PASS] When testing app deployment to the workload cluster with network interruption [ToxiProxy] Should be able to create a cluster despite a network interruption during that process
[PASS] When testing node drain timeout A node should be forcefully removed if it cannot be drained in time
[PASS] When testing app deployment to the workload cluster with slow network [ToxiProxy] Should be able to download an HTML from the app deployed to the workload cluster

Summarizing 4 Failures:

[Fail] with two clusters [It] should successfully add and remove a second cluster without breaking the first cluster
/root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.12/framework/machinedeployment_helpers.go:129

[Fail] When testing multiple CPs in a shared network with kubevip [It] Should successfully create a cluster with multiple CPs in a shared network
/root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.12/framework/cluster_helpers.go:143

[Fail] When testing Kubernetes version upgrades [It] Should successfully upgrade kubernetes versions when there is a change in relevant fields
/root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.12/framework/machinedeployment_helpers.go:129

[Fail] When testing app deployment to the workload cluster [TC1][PR-Blocking] [It] Should be able to download an HTML from the app deployed to the workload cluster
/jenkins/workspace/capc-e2e-new/test/e2e/deploy_app.go:111

Ran 28 of 29 Specs in 11260.456 seconds
FAIL! -- 24 Passed | 4 Failed | 0 Pending | 1 Skipped
--- FAIL: TestE2E (11260.47s)
FAIL


Don't treat built-in functions such as cos() special.

We are not treating built-in functions in a special way but
it makes code operating on the syntax tree more brittle as
it potentially misses out on a class of identifiers.
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

The downside I could see would be that verible-verilog-obfuscate would now translate all these build-in functions to random identifier strings. Not sure how the obfuscator is used typically, so don't know if this would be an issue in practice.

Codecov Report

Merging #1237 (0389eca) into master (d4b86ba) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1237      +/-   ##
==========================================
+ Coverage   92.67%   92.75%   +0.07%
==========================================
  Files         338      338
  Lines       23301    23250      -51
==========================================
- Hits        21595    21566      -29
+ Misses       1706     1684      -22

Impacted Files
Coverage Δ

verilog/formatting/verilog_token.cc
100.00% <ø> (ø)

verilog/parser/verilog.lex
96.26% <ø> (-0.08%)
:arrow_down:

verilog/parser/verilog.y
83.65% <ø> (+0.67%)
:arrow_up:

verilog/CST/identifier.cc
96.66% <0.00%> (-3.34%)
:arrow_down:

...rilog/tools/kythe/indexing_facts_tree_extractor.cc
98.07% <0.00%> (-0.52%)
:arrow_down:

common/util/logging.h
100.00% <0.00%> (ø)

verilog/parser/verilog_token_classifications.cc
100.00% <0.00%> (ø)

verilog/formatting/tree_unwrapper.cc
94.19% <0.00%> (+0.38%)
: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 d4b86ba...0389eca. Read the comment docs.

I've modified the obfuscator to keep bulilt-in functions as-is (at the expense that they will make it to the saved mapping file, but that can't harm)


Add Alamofire lib and use it

Current behavior:
Now it is native URLSession used to load some data and interact with APIs.
Expected behavior:
Add Alamofire lib (https://github.com/Alamofire/Alamofire) and rewrite URLSessions with Alamofire.
Solution:
You can add Alamofire lib via CocoaPods

I would love to work on this issue if it is okay.
As I see 4 files need to be changed:

Hooray  @klymenkoo! welcome to the club! 👍
That's right, it's just a 4 requests for now. We want to wrap it in a separate class, that will send specialized requests.
So, in the end, it should be the separate class, that has 4 functions with required parameters and do all the work by Alamofire.

@skywinder, sounds good. I'll keep you up to date with my progress.

@skywinder I have migrated all URLSession requests to Alamofire.
However, I'm a little bit confused with AlamofireWrapper class, how exactly do you see its implementation?
I am not sure if it's beneficial to have a wrapper around Alamofire as each Alamofire request inside TokenService, FiatService, etc. has its own unique behavior.

@klymenkoo Everything is great 🙌Thank you so much for your work and interest in our project! Hoping to see you again 🔥And have fun Hacktoberfesting 🎃


Throw other errors within init(attempt:) and tryMap

When using Result in my project, I needed to use init(attempt:) in several places but I wanted to use my own wrapper for arbitrary Errors. The existing initializer only works with AnyError, so I've modified the code to allow using any Error which conforms to the ErrorInitializing protocol.

Noticed that some tests were failing. Those errors are now fixed and I added a few more tests.


updated to 2.9.8 but still not work properly

Current Behavior

instead of invalid response, the new version just keep refreshing and don't came up with the thumbnails of the mangas.

Yup can confirm that I'm getting the same issues it's not just you

I've figured it out!! Basically when the popup screen for cloudflare pops up you wait for the verify your human to pop up and spam click it till it closes then it should boot as normal. If you click the hide button then you'll be stuck with this issue ;)

alright just log out and log in again solved my problem :)


grafana add

Most of the configuration has already been done https://github.com/inspirehep/backoffice/pull/15


Internal Error after PR merge

Gitea version (or commit ref): d1a49977b
Git version: Whatever try uses
Operating system:
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes https://try.gitea.io/jolheiser/Test1/pulls/6
[ ] No
[ ] Not relevant

Log gist:

Description

Create a PR from a branch on same repo
Delete branch
Restore branch
Merge PR (I used default, didn't check other merge styles)

Example error from local
2019/12/16 21:49:23 routers/repo/pull.go:319:PrepareMergedViewPullInfo() [E] GetCompareInfo: exit status 128 - fatal: ambiguous argument 'ffd89af277e933957146da58988b47139abb1e33...refs/pull/1/head': unknown revision or path not in the working tree.
        Use '--' to separate paths from revisions, like this:
        'git <command> [<revision>...] -- [<file>...]'

@jolheiser What delete branch means?

@bagasme

This is likely because - I in my infinite stupidity - decided not to use the internal merge pulls ref on the base branch. We do need to restore that.


Resolving issue #1016

Through this PR I have tried to resolve issue #1016 . I have written self-implemented functions in place of integer built-in like max,min,sqrt, abs,ceil.

Thank you for your interest in contributing!
 If so, please note the following. We have a list of projects for 2021 and this issue is not particularly relevant for the projects this year. We have a process for applicants to contact us to get advice and support if they want to apply for one of our projects (or suggest their own ideas). The process is explained on our Google Summer of Code 2021 organization page. In short, you email us to suggest which project you are interested in applying for; we then connect you with the mentor for that project who can tell you the best way to proceed. They will typically give you some "starter issues" to solve, and will mentor you through the process. This will help you to become familiar with the project, even if you have never contributed previously.
If you are not a Google Summer of Code 2021 applicant: Unfortunately, we don't usually have the resources to do a huge amount of mentoring on this project for those who wish to learn about git, Java, metamorphic testing, compiler frameworks, etc. We can provide advice on how to tackle certain issues and do thorough code review. But we cannot provide many hours of one-on-one support like we do for Google Summer of Code applicants.
I am afraid we cannot accept this PR in its current form. It is not solving the issue and we don't have the resources to mentor you and to teach you about the GraphicsFuzz project (unless you apply via our Google Summer of Code 2021 process).


Using .fromDataURL() sizing problem

Hi When I use .fromDataURL() to load a signature that was created in the same sized canvas using this awesome library, the image dose not size correctly and is 1/4 of the size.
I am not sure if this is the library or not, but I resize the canvas before originally signing and before loading the signature in memory.
Is this some problem in my logic or has anyone seen this before?

For anyone that happens to come across this issue, I figured out what I was doing wrong.
Before you put the data in, using .fromDataURL(data), to need to make sure that you properly scale the canvas:
      function resizeCanvas(canvas) {
        var ratio =  window.devicePixelRatio || 1;
        canvas.width = canvas.offsetWidth * ratio;
        canvas.height = canvas.offsetHeight * ratio;
        canvas.getContext('2d').scale(ratio, ratio);
      }

      resizeCanvas(canvas);

To make the same image size you can add options
signaturePad.fromDataURL(data, {width: 100, height: 100})
width, height should be the same as canvas size
More details:
https://github.com/szimek/signature_pad/blob/master/src/signature_pad.ts


Custom tabs do not survive a restart

Looks like issue #10 has been re-introduced with Franz 4.0.3
Steps to reproduce:

I download Franz 4.0.3 (Linux, 64-bit) and extract it somewhere.
I open Franz and see my existing services
I add a new either a pre-installed (e.g. Skype) or custom service. It then shows up as a new tab.
I close Franz with File → Quit.
I re-open Franz 4.0.3. The tab just created is now missing.

I get this error right after starting Franz which seems unrelated to this issue:
TypeError: Error processing argument at index 0, conversion failure from<EMAIL_ADDRESS>    at TypeError (native)
    at createSystemTray (/home/chris/franz/resources/app.asar/lib/tray.js:1:1254)
    at EventEmitter.<anonymous> (/home/chris/franz/resources/app.asar/main.js:1:14138)
    at emitOne (events.js:101:20)
    at EventEmitter.emit (events.js:188:7)

Hey @Retzudo we had a minor git issue. We will publish a new update this afternoon.

Thanks, solved with Franz 4.0.4.


add a line regarding giff&webP on android in Update image.md

android app doesn't work without it

Fixed in 3eb585d66bbed6b9adee0008f84b1b8f5a74a283.


Simple example doesn't work on web.

The simple example doesn't run on web, it panicks expecting there to be at least 1 GPU canvas.
Do we expect all examples to work with web?

The messiness which is proper platform support is one of the motivating reasons for the simple example
I'm intending to close this as not planned


New version: Serverless.Serverless version 3.28.0

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.4 schema?

Microsoft Reviewers: Open in CodeFlow

This is an interactive console application, so it may have appeared unresponsive to the pipeline:
(node:4360) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `serverless --trace-warnings ...` to show where the warning was created)

Creating a new serverless project

? What do you want to make? (Use arrow keys)
> AWS - Node.js - Starter
  AWS - Node.js - HTTP API
  AWS - Node.js - Scheduled Task
  AWS - Node.js - SQS Worker
  AWS - Node.js - Express API
  AWS - Node.js - Express API with DynamoDB
  AWS - Python - Starter
  AWS - Python - HTTP API
  AWS - Python - Scheduled Task
  AWS - Python - SQS Worker
  AWS - Python - Flask API
  AWS - Python - Flask API with DynamoDB
  Other

@wingetbot waivers Add Validation-Executable-Error


Delay when resizing

This on windows 10 compiled in release mode.
I created the following simple application:

struct App;

impl Application for App {
    type Executor = iced::executor::Default;

    type Message = ();

    type Flags = ();

    fn new(flags: Self::Flags) -> (Self, iced::Command<Self::Message>) {
        (Self, iced::Command::none())
    }

    fn title(&self) -> String {
        "Hello, world!".into()
    }

    fn update(
        &mut self,
        message: Self::Message,
        clipboard: &mut iced::Clipboard,
    ) -> iced::Command<Self::Message> {
        iced::Command::none()
    }

    fn view(&mut self) -> iced::Element<'_, Self::Message> {
        iced::Text::new("Hello, world!").into()
    }
}

When resizing by dragging the window border, there is a very noticeable delay (about 500ms) between moving the mouse and the window resizing.

This appears to be much less of an issue when the glow renderer is used.

Is the issue present in all of the examples? For instance, try game_of_life which should choose your high performance GPU.
Is the issue present in the wgpu examples? If yes, then please report the issue there!

Closing this for now, as it seems like a hardware compatibility issue. Feel free to reopen if there is further evidence that something is wrong with iced itself.


Issue with docker compose

Hi! I'm trying to run docker compose in the docker directory and am running into an error. Here is what I get:
docker-compose up

Starting docker_uwsgi_wiki_1 ...
Starting docker_uwsgi_1 ...
Starting docker_uwsgi_wiki_1 ... error

ERROR: for docker_uwsgi_wiki_1  Cannot start service uwsgi_wiki: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/Users/kieran/g/microraiden/microraiden/microraiden\\\" to rootfs \\\"/var/lib/docker/overlay2/e99b19d858a187b9a57887245bdd254410e6cafd0a1d87000003a357d4c81f9e/merged\\\" at \\\"/var/lib/docker/overlay2/e99b19d858a187b9a57887245bdd254410e6cafd0a1d87000003a357d4c81f9e/merged/app/microraiden\\\" caused \\\"mkdir /var/lib/docker/overlay2/e99b19d858a187b9a57887245bdd254410e6cafd0a1d87000003a357d4c81f9e/merged/app/miStarting docker_web3_1 ... error

ERROR: for docker_web3_1  Cannot start service web3: driver failed programming external connectivity on endpoint docker_web3_1 (fe37fc08410febbb1244af0ccbfbf472Starting docker_uwsgi_1 ... error

ERROR: for docker_uwsgi_1  Cannot start service uwsgi: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/Users/kieran/g/microraiden/microraiden/microraiden\\\" to rootfs \\\"/var/lib/docker/overlay2/6e53dcf6c6ec492d0fe107e86d9a7788854cce5c6748b8f3257f1cfe84b2d5f7/merged\\\" at \\\"/var/lib/docker/overlay2/6e53dcf6c6ec492d0fe107e86d9a7788854cce5c6748b8f3257f1cfe84b2d5f7/merged/app/microraiden\\\" caused \\\"mkdir /var/lib/docker/overlay2/6e53dcf6c6ec492d0fe107e86d9a7788854cce5c6748b8f3257f1cfe84b2d5f7/merged/app/microraiden: read-only file system\\\"\""

ERROR: for uwsgi_wiki  Cannot start service uwsgi_wiki: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/Users/kieran/g/microraiden/microraiden/microraiden\\\" to rootfs \\\"/var/lib/docker/overlay2/e99b19d858a187b9a57887245bdd254410e6cafd0a1d87000003a357d4c81f9e/merged\\\" at \\\"/var/lib/docker/overlay2/e99b19d858a187b9a57887245bdd254410e6cafd0a1d87000003a357d4c81f9e/merged/app/microraiden\\\" caused \\\"mkdir /var/lib/docker/overlay2/e99b19d858a187b9a57887245bdd254410e6cafd0a1d87000003a357d4c81f9e/merged/app/microraiden: read-only file system\\\"\""

ERROR: for web3  Cannot start service web3: driver failed programming external connectivity on endpoint docker_web3_1 (fe37fc08410febbb1244af0ccbfbf472b0c9c070d5b1c12eb3f0a025911d7745): Error starting userland proxy: listen tcp <IP_ADDRESS>:8545: bind: cannot assign requested address

ERROR: for uwsgi  Cannot start service uwsgi: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/Users/kieran/g/microraiden/microraiden/microraiden\\\" to rootfs \\\"/var/lib/docker/overlay2/6e53dcf6c6ec492d0fe107e86d9a7788854cce5c6748b8f3257f1cfe84b2d5f7/merged\\\" at \\\"/var/lib/docker/overlay2/6e53dcf6c6ec492d0fe107e86d9a7788854cce5c6748b8f3257f1cfe84b2d5f7/merged/app/microraiden\\\" caused \\\"mkdir /var/lib/docker/overlay2/6e53dcf6c6ec492d0fe107e86d9a7788854cce5c6748b8f3257f1cfe84b2d5f7/merged/app/microraiden: read-only file system\\\"\""
ERROR: Encountered errors while bringing up the project.

Here is the output of docker-compose version.
docker-compose version

docker-compose version 1.18.0-rc2, build 189468b
docker-py version: 2.6.1
CPython version: 2.7.12
OpenSSL version: OpenSSL 1.0.2j  26 Sep 2016

Any help would be appreciated. Cheers

Hi, @kieranoreilly . We have currently some issues that we're working to solve on current master, but they're not related to the errors you got. The read-only file system is related to you not having the mount points inside the docker/uwsgi{_wiki}/app folder, namely microraiden folders. You can create those by hand, or remove the :ro from the app volume mount in the docker-compose.yml file. The cannot assign requested address error is related to, somehow, you not having the docker0 bridge interface on that IP, but you can remove the port mappings as well, as they're used in our deployed servers to allow access from other containers to the parity instance, but you're accessing them only from the docker-compose services, so these external (<IP_ADDRESS>) mappings are not needed.
Most of these changes are gonna be on master as soon as we solve the demo issues, and then I'll close this issue. Please, test the workarounds and report if the issues persist.

Hi @andrevmatos thanks for the help. I was still getting an address in use. I had to do was change the ports of the nginx config from
        ports:
            - "80:80"
            - "443:443"

to:
 ports:
            - "8000:80"
            - "8001:443"

After I run docker-compose up, there is still a lets-encrypt issue, but nothing crashes. How can I access the paywall demo after I run docker-compose up?
Cheers

@kieranoreilly we provided our docker files as we use it in our servers, so it includes the letsencrypt configuration, which of course won't fit for your testing.
You can easily edit nginx.conf by yourself, moving the routes configs to your non-SSL server configuration, removing https redirect, removing the 443 servers and disabling letsencrypt service in the docker implementation (or look at nginx documentation on how to generate and use your own SSL certificates).

I just had to go to wikidemo.micro.raiden.network
Cheers

I did those changes, and everything works at http://localhost:8000/ now. Thanks :)


Power Automate unattended RPA license does not exist !!!!

The page directs to purchase Power Automate unattended RPA license in order to run unattended flows but that license does not appear under services at all.  So how could it be purchased?

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

ID: a2cad5bd-4ffa-3671-0364-95e5b6f65256
Version Independent ID: 6d0cc055-b7be-02d7-3ba8-55e400ccd21b
Content: Power Apps and Power Automate licensing FAQs - Power Platform
Content Source: power-platform/admin/powerapps-flow-licensing-faq.md
Service: power-platform
Sub-service: admin
GitHub Login: @ChrisGarty
Microsoft Alias: cgarty

Thanks for your comment, @KirilOkun. This issue has been assigned to the doc author for review.


FxBarrierOption scenario pricing

In BlackBarrierPriceFormulaRepository there are some conditions on spot vs barrier level relation, namely
ArgChecker.isFalse(isDown && spot <= barrier.getBarrierLevel(), "The Data is not consistent with an alive barrier (DOWN and spot<=barrier).");
 ArgChecker.isFalse(!isDown && spot >= barrier.getBarrierLevel(),"The Data is not consistent with an alive barrier (UP and spot>=barrier).");
However, when pricing using scenario framework, I'd like to shift fx spot value, which might lead to shifted spot breaching a barrier (for example resulting in zero value in case of knock out). Instead a get a Failure result, which is unexpected.

For future reference, our primary channel for user questions is our forum.
Are you looking to just remove these two lines of validation?

If the barrier is Knock-Out than option value is 0, if barrier is Knock-In than option value is equals to value of vanilla option.
These validations should be replaced by following code
    if( (isDown && spot <= barrier.getBarrierLevel()) || (!isDown && spot >= barrier.getBarrierLevel())){
      if(isKnockIn){
        double df1 = Math.exp((costOfCarry-rate)*timeToExpiry);
        double df2 = Math.exp(-rate*timeToExpiry);
        double forward = spot*df1/df2;
        return BlackFormulaRepository.price(forward, strike, timeToExpiry, lognormalVol, isCall);
      }else{
        return 0d;
      }
    }

so that the following additional test in BlackBarrierPriceFormulaRepositoryTest passes
  public void barrierBreached(){
    double newSpot = 120;
    double callUpOut = BARRIER_PRICER.price(
            newSpot, STRIKE_MID, EXPIRY_TIME, COST_OF_CARRY, RATE_DOM, VOLATILITY, true, BARRIER_UP_OUT);
    assertEquals(callUpOut, 0d);

    double newForward = newSpot * DF_FOR / DF_DOM;
    double callUpIn = BARRIER_PRICER.price(
            newSpot, STRIKE_MID, EXPIRY_TIME, COST_OF_CARRY, RATE_DOM, VOLATILITY, true, BARRIER_UP_IN);
    double callVanilla = BlackFormulaRepository.price(newForward, STRIKE_MID, EXPIRY_TIME, VOLATILITY, true) ;
    assertEquals(callUpIn, callVanilla);
  }

The equivalent handling can be implemented to BlackFxSingleBarrierOptionProductPricer keeping the formula repositories purely mathematics.


fix(useMethods): Make returned methods object stable

Description

Make useMethods consistent with both useState and useReducer by not updating the returned methods object reference if initialState changes after the initial render:

The initialState argument is the state used during the initial render. In subsequent renders, it is disregarded.
— reactjs.org/docs/hooks-reference.html#lazy-initial-state

Closes #1286
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as before)

Checklist

[x] Read the Contributing Guide
[x] Perform a code self-review
[x] Comment the code, particularly in hard-to-understand areas
[ ] Add documentation
[ ] Add hook's story at Storybook
[x] Cover changes with tests
[x] Ensure the test suite passes (yarn test)
[x] Provide 100% tests coverage
[x] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[x] Make sure types are fine (yarn lint:types).

@streamich sorry for the tagging, but is there any way this PR can be merged and released?


DD-355 One description of multiple not displayed in metadata form when opening it for editing

Fixes DD-355
Description of changes

Refactored nl.knaw.dans.easy.dd2d.DepositToDataverseMapper so that it uses a new set of classes (see next bullet) to collect the values fo the metadata fields. The problem described in the issue was caused by multi-value fields appearing multiple times in the list of fields in a metadata block, for example there could be one dsDescription field with one value and then a separate dsDescription field with to more values, instead of just one dsDescription field with three values, which is what Dataverse expects. (Dataverse does not catch this malformed input, but does not always display all values in this scenario.)
Added nl.knaw.dans.easy.dd2d.fieldbuilders.AbstractFieldBuilder and subclasses for holding all the values for a field and building the JSON-objects when everything is put together.
Removed addCompoundFieldWithControlledVocabulary. It accepted an optional return value from the transformer function. However, this is not necessary, because the source nodes are first filtered to contain only nodes that can be properly tranformed.
Added getPathAs* helper functions to JsonPath test support. The find* functions prepend $. which made the existing tests a bit easier to read, but now that I added tests with more complex JsonPath expressions I prefer to see the whole JsonPath expression the in argument.

How to test
Run one or more imports and check that metadata.
Related PRs
None
Notify
@DANS-KNAW/dataversedans

It works well and overall it looks good to me. Just a few comments.

Thanks @ChrisMuller80 , good comments, although I think I'll leave it as is. Any attempts to improve the code are welcome of course.


S3 backup crashes dragonfly after ~12 hrs or so

Sound strange, but we had an issue in preprod that we spent a long time debugging.
One of the deployments, we had 6 like this, and it would happen to all of them. During this time we had one that was not used by app, and never had s3 enabled and we never had any issues out of it.
At time of suspected crash, no more logs would print, and the logs that were printed were not that useful nor stated any major error.
Also, s3 backup was working. I could see the backups in s3.
I was curious to know if there was an obvious issue with my yaml, or is someone could reproduce it.
---
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
  name: api-cache
  namespace: api-cache
spec:
  args:
    - '--default_lua_flags=allow-undeclared-keys'
    - '--s3_endpoint=s3.ca-central-1.wasabisys.com/'
  env:
    - name: AWS_ACCESS_KEY_ID
      valueFrom:
        secretKeyRef:
          key: awsAccessKeyId
          name: wasabi-credentials
    - name: AWS_SECRET_ACCESS_KEY
      valueFrom:
        secretKeyRef:
          key: awsSecretAccessKey
          name: wasabi-credentials
    - name: AWS_REGION
      value: ca-central-1
    - name: AWS_BUCKET_NAME
      value: preprod-dragonfly-operator
  authentication:
    passwordFromSecret:
      key: password
      name: db-password
      optional: false
  image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.25.1
  replicas: 3
  resources:
    requests:
      cpu: 250m
      memory: 250Mi
    limits: {}
  snapshot:
    cron: "0 1 * * *"
    dir: s3://preprod-dragonfly-operator/api-cache/dragonfly/snapshots
    persistentVolumeClaimSpec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 10Gi
      storageClassName: linstor-replica-one-local

After cutting it down to the following, the dragonfly crashes stopped.
---
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
  name: api-cache
  namespace: api-cache
spec:
  args:
    - '--default_lua_flags=allow-undeclared-keys'
  authentication:
    passwordFromSecret:
      key: password
      name: db-password
      optional: false
  image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.25.1
  replicas: 3
  resources:
    requests:
      cpu: 250m
      memory: 250Mi
    limits: {}
  snapshot:
    cron: "0 1 * * *"
    persistentVolumeClaimSpec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 10Gi
      storageClassName: linstor-replica-one-local

Hi @jonathon2nd, I don't see any issues with the yamls. Considering that your backups are uploaded, I guess the aws credentials are ok too.
You didn't share Dragonfly CPU/memory metrics, so I am only guessing that the CPU or RSS memory was probably higher than it should have been, and it crashed. Maybe try increasing CPU/memory and keeping an eye on Dragonfly RSS/CPU usage metrics when this happens next time?

I have reapplied the s3 config. I removed it for my tests, and we have not had any issues with the s3 removed. I run pods with limits: {} so probably not that :(
Also applied patch.
If I get another failure will capture all logs and metrics and will post them here.

It is dead again, lasted about 8 hours.
No idea why there are no logs not too long after startup.
api-cache-0_dragonfly.log
api-cache-1_dragonfly.log
api-cache-2_dragonfly.log
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
  name: api-cache
  namespace: api-cache
spec:
  args:
    - '--default_lua_flags=allow-undeclared-keys'
    - '--s3_endpoint=s3.ca-central-1.wasabisys.com/'
  authentication:
    passwordFromSecret:
      key: password
      name: db-password
      optional: false
  env:
    - name: AWS_ACCESS_KEY_ID
      valueFrom:
        secretKeyRef:
          key: awsAccessKeyId
          name: wasabi-credentials
    - name: AWS_SECRET_ACCESS_KEY
      valueFrom:
        secretKeyRef:
          key: awsSecretAccessKey
          name: wasabi-credentials
    - name: AWS_REGION
      value: ca-central-1
    - name: AWS_BUCKET_NAME
      value: preprod-dragonfly-operator
  image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.25.2
  replicas: 3
  resources:
    limits: {}
    requests:
      cpu: 250m
      memory: 250Mi
  snapshot:
    cron: 0 1 * * *
    dir: s3://preprod-dragonfly-operator/api-cache/dragonfly/snapshots
    persistentVolumeClaimSpec:
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 10Gi
      storageClassName: linstor-replica-one-local
status:
  phase: ready

Strangely not seeing any snapshots this time.

You can see when it breaks in the graph

Nothing strange with metrics either

Realized I did not grab master metrics, here they are.

I would do a sidecar deployment for s3 backup to get around this, but it does not seem possible at this point.

Ran through the server flags, did not find anything useful for next test I think.

Ok just realized that the cron for the backup job had not run yet in my last test listed above. Edited message.
So now I am really confused, how is this change breaking things?

OK so I made the following changes and that seems to resolved the issue >.>
I am going to monitor this setup for a bit, and close it if we have no issues.
  args:
    - '--maxmemory=512Mi'
    - '--proactor_threads=2'
...
  image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.25.4
...
  resources:
    limits: {}
    requests:
      cpu: 250m
      memory: 250Mi

api-cache-2_dragonfly(1).log
api-cache-1_dragonfly(1).log
api-cache-0_dragonfly(1).log


cmd+option+esc for force quite menu

I have cmd+esc mapped to cmd+` to switch windows, but this breaks cmd+option+esc to bring up the force quit menu. disabling the cmd+esc mapping and looking in the event viewer, I can see that karabiner is unable to capture that key sequence. Are there any known workarounds?

      <autogen>
        __KeyToKey__
        KeyCode::ESCAPE, ModifierFlag::COMMAND_L | ModifierFlag::NONE,
        KeyCode::BACKQUOTE, ModifierFlag::COMMAND_L,
      </autogen>

The magic here is ModifierFlag::NONE It limited the scope to apply only CMD is the only modifier.
doc
https://pqrs.org/osx/karabiner/xml.html.en#keytokey-syntax
it's a little way down you will see

Thanks @dunkarooftop! Works perfectly.


Change Character dtype to U1?

Currently the dtype for Character columns is "S1", which leads to values being returned as bytes rather than str:
dask.array<open_dataset-variant_IC2, shape=(208, 2), dtype=|S1, chunksize=(208, 2), chunktype=numpy.ndarray>
Dimensions without coordinates: variants, INFO_IC2_dim
Attributes:
    comment:  INFO,Type=Character,Number=2
[[b'' b'']
 [b'' b'']
 [b'' b'']
 [b'' b'']
 [b'' b'']

This tripped me up, as comparing with "." for example here doesn't find missing values.
Is there a strong reason for using S1 here rather than U1? I think it would be simpler to regard all string-like values as Unicode for downstream analysis.

I had a quick look, and most do @tomwhite: https://github.com/pystatgen/sgkit/pull/1208
I think you'd need to have a look at the rest, it gets into the guts of the vcf writing code

FWIW downstream code in vcztools accepts either kind="U" or "S" and converts to "S" for printing to VCF. This seems like the right approach from a be liberal in what you accept perspective.


Lazy load a ngModule that has been packaged via npm

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ x] feature request

Versions.

Repro steps.

Create an ngModule (feature Module) and publish it to npm.
Install the published module into an angular app that has been created via the angular-cli
try to lazy load the npm installed module/package,  This seems to not be supported, as the current syntax for lazy loading expects something like the below, however, the npm installed module is installed into the node_modules folder.
{path: 'admin', loadChildren:'app/admin/admin.module#AdminModule'},

The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

Looks like a similar issue was reported and acknowledged back in October, 2016, but, I haven't seen traction on this issue.
https://github.com/angular/angular-cli/issues/2601

Looks like a similar issue was reported and acknowledged back in October, 2016, but, I haven't seen traction on this issue.

Then why duplicate the issue?

Thanks for reporting this issue. However, this issue is a duplicate of #2601. Please subscribe to that issue for future updates.


v8 update - macOS: gRPC Create client and server

Fixes #29826

Internal previews

📄 File
🔗 Preview link

aspnetcore/tutorials/grpc/grpc-start.md
Tutorial: Create a gRPC client and server in ASP.NET Core

Closing, will resolve merge issue and create a new PR.


Movement keys got stucked

So when i use the script, i'm occasionally having the movement key stucked even though i turn off sprint and jump settings. Do you have any idea why?
I only use skill timer and elemental vision. it seems only me having this issue.
Thanks in advance.

I think I found the reason: you probably use shift for sprinting, while I and most other people use the right mouse button
The key combinations involving alt, ctrl and shift are all a bit hard to get right in ahk, and there probably won't be a good solution anytime soon

Thanks for the answers, i think i gonna switch to RMB for sprinting


Comments and separated variables

Just wanted to separate the variables and add a comment to change them to the values we provided.

I will accept this so long as @nik-wendt fixes the parameterized strings and whitespace.


Minor additions for upload task

Added ‘silent: true’ to ‘dotenv.load’ to suppress warning if file is missing within gulpfile.js
Added example for ftp credentials within .env file to readme

:+1:


Minor style updates

Minor updates in menu styling 🎈🎉

 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.:x: infinnie sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

#60304 for further updates to this pull request.


Inconsistent training data tei namespace (no namespace vs TEI namespace)

Hi,
The namespace for the training data seem to be inconsistent.
For example for the segmentation, header, reference-segmenter, fulltext and date models, the TEI files don't use any namespace.
Whereas it is using the TEI namespace http://www.tei-c.org/ns/1.0 for the citation, affiliation-address models.
This makes it a bit more difficult to work with the training data in a more generic way. Is there any reason for the difference?

Hello Daniel,
Yes the original reason is that for some models the files are indeed TEI valid - they have then the namespace specified, and for others the files are more pseudo-TEI but not really TEI, so they don't have a namespace.
Possible reasons for non TEI validy: I didn't spend time to find a way to encode properly some fields, or there was no way to encode this kind of information, or the TEI encoding was too heavy/unreadable...
It doesn't really matter in Java, but I guess in Python lxml is a bit more boring to use with namespaces.
The easiest would be simply to remove the TEI namespaces from all the training files, nobody really care I think :)
TEI validity is more relevant for the TEI results, because it's important for inter-operability and to propose an encoding where one type of information is encoded in a unique way (thus the TEI customization). For training data, it's more an internal usage.

Hi Patrice,
Thank you for the quick response. And explaining the reason.
For evaluation I had actually stripped namespaces to make it easier to use. But for my auto-annotation I still need to produce the correct output XML. It is a bit more verbose. Although can't really argue against using namespaces.
I guess the confusing bit is that they follow the same structure. The training data for reference-segmenter and reference models both with text, listBibl and bibl elements (but differ in namespace usage). (And listBibl is inside the back element only for the reference model).
Maybe it is not a big enough issue. Could close it?

It would be good at some point to review and make all the training data consistent (and TEI valid to complete the exercise!), let's keep the issue open :)


Make home page attractive

It will be great to make the home page attractive for users.

can you assign me i will give my best

Any updates @venkataraviraja5  ?


Support working with @DataJpaTest

For tests with @DataJpaTest HibernateQueryInterceptor is not registered automatically.
I can not load it somehow cause it is package visible only. Also I tried to add spring.jpa.properties.hibernate.session_factory.interceptor=com.yannbriancon.interceptor.HibernateQueryInterceptor, but without effect. The possible workaround is to copy-paste HibernatePropertiesConfig and add @Import({HibernateQueryInterceptor.class, HibernatePropertiesConfig.class}) to test class

I got it working with @DataJpaTest with the following test config (JUnit 5):
@ExtendWith(SpringExtension.class)
@DataJpaTest
@ComponentScan(basePackages = { "com.yannbriancon" }) // hibernateQueryInterceptor
class EinrichtungRepositoryIT {
  @Autowired
  private HibernateQueryInterceptor hibernateQueryInterceptor;
}

Solution is working. Thanks!


Feat:Enhancing the FAQ section

Describe the feature
Enchancing the FAQ section it is not properly fit in the webpage
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@himanshu-03  please Assign me the issue


Add Time [ TIME ], or, Animation [ ANIM ] axis

Font project(s) using the axis

https://github.com/Typogram/Anicons (TIME)
https://github.com/simoncozens/lottie2vf (ANIM)

Short description of what the axis does
Providing animated icons using variable fonts
Image
https://github.com/googlefonts/axisregistry/assets/833473/ed3e30c6-e422-4300-b2ba-08a1bc39f956
from https://ebraminio.github.io/flutter_variable_font_animation_demo/build-web-html/
https://github.com/googlefonts/axisregistry/assets/833473/87e1d5be-f590-4e8b-85bb-656475e11d17
from https://simoncozens.github.io/colrv1-rocks/
Also have a look at https://ebraminio.github.io/flutter_variable_font_animation_demo/build-web-html/ that has lots of animated icons using fonts.
Why is the axis needed
"Flutter is an open source framework by Google for building beautiful, natively compiled, multi-platform applications from a single codebase." (copied from https://flutter.dev). It offers static icons to developers using font icons. It even while releasing a production app, uses a tree shaking / font subsetting process to turn a general propose font icons into the only used part using harfbuzz-subset. But Flutter only offers static icons via font icons and it's currently AnimatedIcon facility uses raw dart codes, https://github.com/flutter/flutter/tree/master/packages/flutter/lib/src/material/animated_icons/data and even these raw dart codes and the facility that has created them can't be used to create custom animated icons as this line final _AnimatedIconData iconData = icon as _AnimatedIconData; ensures the used _AnimatedIconData is owned by the project itself and blocks any external uses.
So I was thinking what if just like use of font for static icons, we could use variable fonts font animating icons and maybe add a new axis, maybe called TIME, like the naming in https://github.com/Typogram/Anicons but using seconds as the value. The axis max value can be a good indication of how animations on the specific font take long. This proposal assumes all the glyphs in a specific font will have a fixed time length. For example all the stickers in whole Telegram (a messaging app with user provided sticker and emojis) have 3 seconds fixed length https://core.telegram.org/stickers#animation-requirements and in here we just have font wide fixed time length which can be changed from font to font.
Another idea can be considering a global fixed length, say from 0 to 1, for all of the fonts, call the axis ANIM like the font in https://github.com/simoncozens/lottie2vf and then maybe having an opentype table called time that indicates how long every specific animation should take in real world time. That way there won't be font specific time length and every glyph can be configured separately. And then that choosing a specific range for time axis value can be even unnecessary as that time table can specify what is the relation between the variation axis and real world time. And maybe that time table can be done inside GDEF or something.
Or maybe we can have both, having TIME for animation with time limitation and ANIM for kind of UI animation that aren't inherently time constrained like https://developer.android.com/reference/androidx/appcompat/graphics/drawable/DrawerArrowDrawable
Axis metadata fields
#TIME roughly based on https://github.com/Typogram/Anicons
tag: "TIME"
display_name: "Time"
min_value: 0
default_value: 0
max_value: a fixed time length for a specific font, (e.g. 3 for 3s)
precision: any arbitrary number in the range
fallback {
  name: "Default"
  value: 0.00
}
fallback_only: false
description: ""

Or
#ANIM roughly based on https://github.com/simoncozens/lottie2vf
tag: "ANIM"
display_name: "Animation"
min_value: 0
default_value: 0
max_value: (not that clear to me what is used there tbh)
precision: any arbitrary number in the range
fallback {
  name: "Default"
  value: 0.00
}
fallback_only: false
description: ""

See also https://github.com/flutter/flutter/issues/134902

I broadly support a TIME axis; I believe @dberlow proposed a TIME axis ranged 0..60.0. #4 also lists some TIME axis fonts already out there.

The first of the Axis Requirements to introduce a new axis is:

An existing font project introducing the axis
There should be a production-ready VF project with the new axis. Axes can’t be defined up front without a variable font family that requires the axis.

We need a font (either commissioned or submitted) using the axis and already listed to be included in the Catalog to review and register a new axis.

All of the axis proposed by Font Bureau fir the below criteria:
"An existing font project introducing the axis
There should be a production-ready VF project with the new axis. Axes can’t be defined up front without a variable font family that requires the axis."
None of axis proposed by Font Bureau fit the below criteria:
"We need a font (either commissioned or submitted) using the axis and already listed to be included in the Catalog to review and register a new axis."
What part of a variation axe = 1 second was proposed 6 years ago based on the assumption that it would be needed to sync time and motion in the simplest way, based on https://v-fonts.com/fonts/zycon, which was developed and released in 1992.
As part of the same FB framework, axes supporting the control of movement in a variation glyph was also recommended for coordination of x and y motion against the background.
With yet another change in how axes get adopted, it's, in my opinion, best to quit trying to do anything about the many issues surrounding interopearable axes, of any kind, registered or not.
This is also the first time I've been led to this doc: Axis Requirements, which reveals no date or authors.
Thanks.


unable to get local issuer certificate

On running the docker command, I get following error:
docker run hello-world
Pulling repository docker.io/library/hello-world
docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy..
I am getting following CURL output:

 curl -v https://index.docker.io
* Rebuilt URL to: https://index.docker.io/
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to index.docker.io (<IP_ADDRESS>) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):

* Unknown SSL protocol error in connection to index.docker.io:443
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to index.docker.io:443

So how will i pull my machines now?
Now getting following message:
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
03f4658f8b78: Downloading
a3ed95caeb02: Downloading
docker: x509: certificate signed by unknown authority.
Update(obfuscated keys):
running following command gives output:

~$ openssl s_client -connect index.docker.io:443
CONNECTED(00000003)
depth=1 C = US, O = GeoTrust Inc., CN = RapidSSL SHA256 CA - G3
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/OU=GT98568428/OU=See www.rapidssl.com/resources/cps (c)15/OU=Domain Control Validated - RapidSSL(R)/CN=*.docker.io
   i:/C=US/O=GeoTrust Inc./CN=RapidSSL SHA256 CA - G3
 1 s:/C=US/O=GeoTrust Inc./CN=RapidSSL SHA256 CA - G3
   i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIEpDCCA4ygAwIBAgIDAyF3MA0GCSqGSIb3DQEBCwUAMEcxCzAJBgNVBAYTAlVT
MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuLQYDVQQLEyZEb21haW4gQ29udHJvbCBW
YWxpZGF0ZWQgLSBSYXBpZFNTTChSKTEUMBIGA1UEAwwLKi5kb2NrZXIuaW8wggEi
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDRyme75dbw9AxWZ8QFCwMWrrYY
SclZ6HCiEbxSNxHgg08rEfEYi46VrL+joBwlA0t5WIIxHF198NzzdXC4YeGzruY9
7osv5lPrcdeIi+Ad+fY6K0rBBOB3xdqSPPObrINZpDmWhCQjlsnM6a1Th0oSUCjI
345b84/8PH363YO+Qmnl8BWnaTcZoPzeywM9czQsMyF2bOH+dhxja/zim6iu8W34
yBhVQeQRd1QROuHcsQAX19DKTn6TXaAwIBY3xM1Bi5Zl6tueII4dOEoibw/ImR3c
H73Pk7j1Wx+rAXeeq7LwjkUCCSlKNrHFEQ2nbr0R7FH6cck1ppgM8ud1pHr9AgMB
AAGjggFOMIIBSjAfBgNVHSMEGDAWgBTDnPP800YINLvORn+gfFvz4gjLWTBXBggr
BgEFBQcBAQRLMEkwHwYIKwYBBQUHMAGGE2h0dHA6Ly9ndi5zeW1jZC5jb20wJgYI
KwYBBQUHMAKGGmh0dHA6Ly9ndi5zeW1jYi5jb20vZ3YuY3J0MA4GA1UdDwEB/wQE
AwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwIQYDVR0RBBowGIIL
Ki5kb2NrZXIuaW+CCWRvY2tlci5pbzArBgNVHR8EJDAiMCCgHqAchhpodHRwOi8v
Z3Yuc3ltY2IuY29tL2d2LmNybDAMBgNVHRMBAf8EAjAAMEEGA1UdIAQ6MDgwNgYG
Z4EMAQIBMCwwKgYIKwYBBQUHAgEWHmh0dHBzOi8vd3d3LnJhcGlkc3NsLmNvbS9s
ZWdhbDANBgkqhkiG9w0BAQsFAAOCAQEATYgwOYz/w9Qyh/YPZQDZ0BdwhkX6OCX0
Mz8pP/OO+E+1RM7ZoAGwHvIaidFqh3WeCLHjGO2IId7Ff5EZUwZhiwog0R7Y838x
OCLza/2shuvjM/FPiyXDQ6q0w4rvpwsNjmYVDdYD8bCH3b8IlO2ysjgdhRYprsdU
jg6h+zK11/tXf6S5vegrgV0F62DYx0tuTTZq/HMuXvbgY2uL1sQ5jiHlzQndV9oL
YMYqJP5MkuAKzDL5u0b8mD/EHtoPkfWOIsA5i9YrAAoWRVOJHwfFfgSY+EpXpFc4
AZUPmdZGh6q1YNavRoOL/1D5aP/VBBtofj54uMbKOK8q6vxIXSyzaw==
-----END CERTIFICATE-----
subject=/OU=GT98568428/OU=See www.rapidssl.com/resources/cps (c)15/OU=Domain Control Validated - RapidSSL(R)/CN=*.docker.io
issuer=/C=US/O=GeoTrust Inc./CN=RapidSSL SHA256 CA - G3
---
No client certificate CA names sent
---
SSL handshake has read 2914 bytes and written 421 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES128-GCM-SHA256
    Session-ID: 111E09F815E121C7EA7E7FD0C07C4AC31FFDE4E13AD9BA926AFF03A2E267130C
    Session-ID-ctx:
    Master-Key: 78A4ABC11BFCCA245F4B3FE8BDA0C0BC3A10D3E9BB447838B06D8BB16DA1553DBBCBFE03408AF34FB7D0CA5E3E7E8D40
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
    0000 - 57 92 4f 5c a0 41 ab d9-62 2c b1 05 66 b5 bc 79   W.O\.A..b,..f..y
    0010 - c8 32 a1 b0 f3 df 3d e7-c8 8d 0b 62 b2 6f 2b 99   .2....=....b.o+.
    0020 - 80 e1 60 73 19 67 bd c5-bf 4c 61 26 ca 3c 4d bd   ..`s.g...La&.i...
    0090 - ea ca 71 3e 9a 64 e8 23-dc f6 77 b4 6a 59 ac cd   ..q>.d.#..w.jY..
    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---

I tried following commands but in vain:
sudo update-ca-certificates
sudo service docker restart
docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 1.10.2
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 0
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.2.0-27-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 62.8 GiB
Name: Data-Server
ID: OUQ6:L64D:LVGG:FHTQ:IHJI:WDBV:7FH7:B53B:33CL:RGAK:LDQ7:N2OS
WARNING: No swap limit support
docker version
Client:
Version: 1.10.2
API version: 1.22
Go version: go1.5.3
Git commit: c3959b1
Built: Mon Feb 22 21:37:01 2016
OS/Arch: linux/amd64
Server:
Version: 1.10.2
API version: 1.22
Go version: go1.5.3
Git commit: c3959b1
Built: Mon Feb 22 21:37:01 2016
OS/Arch: linux/amd64

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

how did you come to this state?  Could you give some context instead of just say related issue here ?
and please append docker info and docker version

docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 1.10.2
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 0
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.2.0-27-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 62.8 GiB
Name: Data-Server
ID: OUQ6:L64D:LVGG:FHTQ:IHJI:WDBV:7FH7:B53B:33CL:RGAK:LDQ7:N2OS
WARNING: No swap limit support
docker version
Client:
Version:      1.10.2
API version:  1.22
Go version:   go1.5.3
Git commit:   c3959b1
Built:        Mon Feb 22 21:37:01 2016
OS/Arch:      linux/amd64
Server:
Version:      1.10.2
API version:  1.22
Go version:   go1.5.3
Git commit:   c3959b1
Built:        Mon Feb 22 21:37:01 2016
OS/Arch:      linux/amd64

@HackToday  I have posted info version

@aliabbasjp are you using a proxy server?
Given that you're also not able to connect using cURL, this sounds like an issue in your machines configuration, or your network, not a bug in Docker

No I am not behind any proxy server , I am perfectly able to access all other sites , even the images list is displayed . @thaJeztah

even the images list is displayed

What do you mean? Which images list?
The error message "unable to get local issuer certificate" really sounds like something is misconfigured on your host; at least, it's not an issue in the docker engine code, so I'm not sure what we can do here.

@thaJeztah
I mean
03f4658f8b78: Downloading
a3ed95caeb02: Downloading
is dispalyed after retrying yet it throws error , similar issues are also discussed in other issue threads.
Everything is properly configured with all certificates in place, yet it fails.
During installation this command did not work:
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

I stumbled over a similar problem at least on one of our Ubuntu 14.04 servers this morning:
@aliabbasjp you wrote:
openssl s_client -connect index.docker.io:443
returning "unable to get local issuer certificate". Actually it means exactly that: The server is not able to get the local ca-path. When I try
openssl s_client -CAfile /etc/ssl/certs/ca-certificates.crt -connect index.docker.io:443
instead it's returning code 0 (ok). That could mean something was messed up during an update regarding the default CA-Path location openssl uses, but I'm still investigating ATM.
make a check against www.google.com as well. If this returns an error as well (what I think it does) it's not a docker related problem.
Regards - max

Yeah, I'm closing this issue for now, but feel free to continue the discussion here; hope you're able to resolve your issue.

I found out what the problem was: Something did change indeed regarding the location/handling of CA-Certificates which can cause this issue since the update did not restart all services relying on CA-Certificate locations. The classic turning-it-all-off-and-on-again fixed the issue here ;-)


bst_create_icons does not finish with certain documents

We tried to create a bunch of icons for our FullTexts collection, as they were suppressed upon original ingestion. Thus we called
$ inv $ib/bibtasklet -N createicons -T bst_create_icons -a recid=False -a collection=FullTexts -a icon_sizes=180,640,1440 -u admin

(Note: calling syntax for handling a whole collection is not clear cf. issue #2192. The above worked with a slightly modified version of the tasklet, just ignoring the recid altogether and going for the collection right away.)
This started the process, but it seems that for certain documents the icon creation fails. Unfortunately, the call to the externals does not return, thus the bibtasklet is hanging in the bibsched-queue and even worse hindering other tasks to proceed, as the tasklet is About going to sleep forever. There is no message indicating a hanging job in the tasklets logs.
An example of a failing document can be found here: http://bib-pubdb1.desy.de/record/139620

@egabancho @ludmilamarian Any updates on this one?

unfortunately we did not experience this issue, thus we can't really provide a solution. What I can say is that we did large amounts of conversion, and everything was ok for us. We are currently using pdftk v2.02. I assume things are better now, the last message on this thread was in 2014.

I assume things are better now, the last message on this thread was in 2014.

...assuming, that pdftk and it's toolchain was updated in the meantime this might be the case, yes. Note that on the quite common SL 6.x is still v1.44.
Note also, that if you have a PDF from a broad range of publishers/processing tools it may well happen that some parts of the tool chain can not handle it properly.  (As usual, you're quite lucky in HEP here as it is, again as usual, quite homogeneous.)
Anyway, I'm not sure if it's possible to detect such a hanging tool and kill a job in these cases. Say by some timeout detection.

Such a functionality is there in invenio: https://github.com/inveniosoftware/invenio/blob/maint-1.1/modules/miscutil/lib/shellutils.py#L158
but is not used to create icons: https://github.com/inveniosoftware/invenio/blob/maint-1.1/modules/websubmit/lib/websubmit_icon_creator.py#L311
Is there anyone willing to contribute a fix?


[Draft](session var) test set enableRewriteElementAtToSlot false

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


MsalClient open WebView even if I'm not specifying it

I'm trying to use 'CreateInteractiveApi' method of my custom factory which I've copied from this library and paste it, but it's not opening system web browser but opening WebView? Can you fix this?

Using a system web browser or WebView2 is determined by MSAL.NET.
If MSAL.NET couldn't open WebView2, it will open a system web browser.
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/MSAL.NET-uses-web-browser#availability-per-platform

This issue is now solved. MSAL.NET default web browser is embedded and I have changed that and it's now opening system browser.


Add impact to homepage

Cool! Just curious-- how did you take a screenshot of the entire page?

https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en-US


bottle route URL url encode path

http://localhost:8080/test/我
@get('/test/')
def testme(name):
return 'good'
don't work. but ERROR.
http://localhost:8080/test/hello  URL work fine.
I know http://localhost:8080/test?a=我  also work fine.
but I want to know  how to make it work. In URL PATH   have some unicode words. Wireshark display Its UTF-8 URL Encoded.
http://localhost:8080/test/我
how to set bottle Make it work. Thank YOU!

What do you mean by „http://localhost:8080/test/hello URL work fine“?  Not with the @get('/test/') route.  That matches /test/ but not /test/anything where it doesn't matter what anything is — even if it is just ASCII.
If you want a route for /test/我 you obviously have to use @get('/test/我').

i have a mistake.
@get('/test/')
def testme(name):
return 'good'
I mean unicode URL not work. How to work?

I can't type <> in this post

i have a mistake.
@get('/test/<name>')
def testme(name):
return 'good'
I mean unicode URL not work. How to work?

This work fine with both the development version and latest release of bottle and both curl http://localhost:8080/test/我 and curl http://localhost:8080/test/%E6%88%91. Please provide a full example (and use github code formatting or link to a gist or repository to avoid misunderstandings) and also tell us the actual error you get, including the error message and stack trace.

I have tested and it seems to work correctly:
bottle v0.12.23
python 3.10.4
from bottle import run, get

@get('/test/<name>')
def test(name):
    print(name)
    return name

run()

bottle log
我
<IP_ADDRESS> - - [19/Oct/2022 21:39:26] "GET /test/%E6%88%91 HTTP/1.1" 200 3
我
<IP_ADDRESS> - - [19/Oct/2022 21:39:28] "GET /test/æ HTTP/1.1" 200 3

bash
curl http://localhost:8080/test/%E6%88%91
我%
curl http://localhost:8080/test/我
我%

The print statement and the HTTP response both correctly return 我, which means that bottle correctly decodes the unicode characters in the path and name contains a single unicode 我 character. Just the request logging seems to have issues printing that path, but that log is written by the WSGI server, not bottle. That would be a bug in wsgiref, not in bottle. Bottle behaves correctly.


Issue with npm i

Hi! Im trying to download the package and I get dependency issues. This is what i get npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR!  npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react-native npm ERR<EMAIL_ADDRESS>from the root project npm ERR!  npm ERR! Could not resolve dependency: npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@sharcoux/slider npm ERR!   @sharcoux/slider@"*" from the root project npm ERR!  npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR!  ....
It seems like the react native is not updated, is there any way of fixing this?

Oh, my bad about this. On it.

Fixed

Thank you!


fix: e2e and integration test cleanup

Description
Commit Message
fix: e2e and integration test cleanup

see the guidelines for commit messages.
Changelog Entry
version: <log entry>

Checklist

[x] I have performed a self-review of my own code
[ ] I have documented my code in accordance with the documentation guidelines
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have run the unit tests
[ ] I only have one commit (if not, squash them into one commit).
[ ] I have a descriptive commit message that adheres to the commit message guidelines
[ ] I have added version bump label on PR.

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #703 (bc76330) into main (da20a2a) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff            @@
##               main     #703   +/-   ##
=========================================
  Coverage     68.72%   68.72%
  Complexity      406      406
=========================================
  Files           152      152
  Lines         13845    13845
  Branches        291      291
=========================================
  Hits           9515     9515
  Misses         4177     4177
  Partials        153      153

Flag
Coverage Δ

java
80.92% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


FI-1783: Improve display for runnables

Summary
Define .inspect for runnables so that they meaningful display strings while developing/debugging.
Before:
[1] pry(main)> DemoIG_STU1::DemoSuite
=> DemoIG_STU1::DemoSuite
[2] pry(main)> DemoIG_STU1::DemoSuite.children
=> [#<Class:0x000000010eb8cf90>,
 #<Class:0x000000010eb6d168>,
 #<Class:0x000000010ea4fd58>,
 #<Class:0x000000010e92ea28>,
 #<Class:0x000000010e9252c0>,
 #<Class:0x000000010e91dc78>,
 #<Class:0x000000010e917738>,
 #<Class:0x000000010e90cbd0>]
[3] pry(main)> DemoIG_STU1::DemoSuite.children.first.children
=> [#<Class:0x000000010eb86898>, #<Class:0x000000010eb7ec10>]

After:
[1] pry(main)> DemoIG_STU1::DemoSuite
=> #<DemoIG_STU1::DemoSuite @id="demo", @title="Demonstration Suite">
[2] pry(main)> DemoIG_STU1::DemoSuite.children
=> [#<Inferno::Entities::TestGroup @id="demo-Group01", @short_id="1", @title="OAuth credentials proof of concept">,
 #<Inferno::Entities::TestGroup @id="demo-simple_group", @short_id="2", @title="Group 1">,
 #<Inferno::Entities::TestGroup @id="demo-repetitive_group", @short_id="3", @title="Group 2">,
 #<Inferno::Entities::TestGroup @id="demo-locked_group", @short_id="4", @title="Locked Inputs Group">,
 #<Inferno::Entities::TestGroup @id="demo-wait_group", @short_id="5", @title="Wait Group">,
 #<Inferno::Entities::TestGroup @id="demo-easily_cancelled_test", @short_id="6", @title="Tests that should be easily cancelled">,
 #<Inferno::Entities::TestGroup @id="demo-run_as_group_examples", @short_id="7", @title="Run as Group Examples">,
 #<Inferno::Entities::TestGroup @id="demo-Group08", @short_id="8", @title="missing_inputs group">]
[3] pry(main)> DemoIG_STU1::DemoSuite.children.first.children
=> [#<Inferno::Entities::TestGroup @id="demo-Group01-Group01", @short_id="1.1", @title="Launch that would provide a bearer token & relevant content from code exchange response">,
 #<Inferno::Entities::TestGroup @id="demo-Group01-Group02", @short_id="1.2", @title="Some simple test that may use smart credentials">]

Testing Guidance
Run bundle exec inferno c and look at some runnables.

Codecov Report
Base: 74.38% // Head: 94.29% // Increases project coverage by +19.91% :tada:

Coverage data is based on head (3af6a8b) compared to base (85b67cc).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #283       +/-   ##
===========================================
+ Coverage   74.38%   94.29%   +19.91%
===========================================
  Files         185      114       -71
  Lines        8962     3050     -5912
  Branches      343        0      -343
===========================================
- Hits         6666     2876     -3790
+ Misses       1957      174     -1783
+ Partials      339        0      -339

Impacted Files
Coverage Δ

lib/inferno/dsl/runnable.rb
95.59% <100.00%> (+0.20%)
:arrow_up:

client/src/components/Footer/styles.tsx

...nents/TestSuite/TestSuiteDetails/TestGroupCard.tsx

.../src/components/RequestDetailModal/HeaderTable.tsx

...TestSuite/TestSuiteDetails/TestListItem/styles.tsx

...ite/TestSuiteDetails/TestListItem/TestListItem.tsx

client/src/api/RequestsApi.ts

client/src/components/Header/Header.tsx

...s/TestSuite/TestSuiteDetails/TestSuiteMessages.tsx

client/src/setupTests.ts

... and 62 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Rename URI -> URL for web standards compatibility

It will be confusing because of PSR-7, but PHP.Gt strives for standards compliance, and PSR is specifically not a standard.

This is actually more confusing than having a name inconsistency.


wil/resource.h conditionally enables unique_key using different logic than winreg.h

The support for wil::unique_hkey in wil/resource.h is conditionally enabled based on WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) here.
This is out of sync with what protects RegCloseKey() and HKEY. See line 237 in winreg.h in the Windows SDK.
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
This means if you don't build with WINAPI_FAMILY defined as WINAPI_FAMILY_DESKTOP_APP you don't get wil::uniquey_hkey.
This caused problems for a shared library that wil::unique_hkey that needs to be consumed by UWP style apps.

I wonder if it's been long enough since we did the WACK update to unconditionally change the API partition. Otherwise, the way we've solved this in the past is to try and detect the installed SDK version to determine how we do these checks. E.g.
// GetModuleHandleExW was added to the app partition in version 22000 of the SDK
#if defined(NTDDI_WIN10_CO) ? WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) \
                            : WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)


Bulk computation for all metapaths <= length 3

Completed notebook for all 785 metapaths up to length 3 starting on Disease.

Have we decided where it would be best to store archives?

Not yet!


Overloaded both Task.ToObservable methods with IScheduler parameters.

Partial fix for #21
I've also included an Rx.vssettings file in my commits. I actually intended on making a separate pull request for this, but it seems that GitHub won't let me choose the commits that I want to include/exclude from my pull request.

Thanks! The change / addition makes sense. We'll review it for the next release of Rx.

We've added an overload for ToObservable which takes in an IScheduler.


openning a gltf file

I want to open a GLTF file instead of glb which you have use here in this repo.
but doesn't work I just replaced the model with a gltf model an I think this could be ok as I search in the internet.
but here what it gave me:
2021-04-20 06:27:21.287 11456-11456/com.example.app E/AndroidRuntime: FATAL EXCEPTION: main     Process: com.example.app, PID: 11456     java.lang.NullPointerException         at com.example.app.renderer.ModelRenderer$1$filamentAsset$1.invokeSuspend(ModelRenderer.kt:48)         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)         at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)         at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

I haven't tried loading GLTF models. GLTF is a directory full of assets which makes things more complex. I recommend looking at the filament example projects on getting them loaded here: https://github.com/google/filament/blob/main/android/samples/sample-gltf-viewer/src/main/java/com/google/android/filament/gltf/MainActivity.kt


D415 pointcloud is noisy in rviz

Hi, I'm using d415.
firmware:5_10_3_0
librealsense: Intel® RealSense™ SDK 2.0 (build 2.16.0)

Below warning shows,
$ roslaunch realsense2_camera rs_rgbd.launch
... logging to /home/seed/.ros/log/cc11cb64-c0a1-11e8-84cb-a434d993f1c0/roslaunch-seed-ThinkPad-T460s-31679.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://seed-ThinkPad-T460s:41421/

SUMMARY
========

PARAMETERS
 * /camera/realsense2_camera/accel_fps: 1000
 * /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
 * /camera/realsense2_camera/align_depth: True
 * /camera/realsense2_camera/aligned_depth_to_color_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_infra1_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/aligned_depth_to_infra2_frame_id: camera_aligned_de...
 * /camera/realsense2_camera/color_fps: 30
 * /camera/realsense2_camera/color_height: 480
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: 640
 * /camera/realsense2_camera/depth_fps: 30
 * /camera/realsense2_camera/depth_height: 480
 * /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
 * /camera/realsense2_camera/depth_width: 640
 * /camera/realsense2_camera/enable_color: True
 * /camera/realsense2_camera/enable_depth: True
 * /camera/realsense2_camera/enable_fisheye: True
 * /camera/realsense2_camera/enable_imu: True
 * /camera/realsense2_camera/enable_infra1: True
 * /camera/realsense2_camera/enable_infra2: True
 * /camera/realsense2_camera/enable_pointcloud: False
 * /camera/realsense2_camera/enable_sync: True
 * /camera/realsense2_camera/fisheye_fps: 30
 * /camera/realsense2_camera/fisheye_height: 480
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: 640
 * /camera/realsense2_camera/gyro_fps: 1000
 * /camera/realsense2_camera/gyro_optical_frame_id: camera_gyro_optic...
 * /camera/realsense2_camera/infra1_fps: 30
 * /camera/realsense2_camera/infra1_height: 480
 * /camera/realsense2_camera/infra1_optical_frame_id: camera_infra1_opt...
 * /camera/realsense2_camera/infra1_width: 640
 * /camera/realsense2_camera/infra2_fps: 30
 * /camera/realsense2_camera/infra2_height: 480
 * /camera/realsense2_camera/infra2_optical_frame_id: camera_infra2_opt...
 * /camera/realsense2_camera/infra2_width: 640
 * /camera/realsense2_camera/json_file_path:
 * /camera/realsense2_camera/rosbag_filename:
 * /camera/realsense2_camera/serial_no:
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /camera/
    color_rectify_color (nodelet/nodelet)
    points_xyzrgb_hw_registered (nodelet/nodelet)
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [31689]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to cc11cb64-c0a1-11e8-84cb-a434d993f1c0
process[rosout-1]: started with pid [31703]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [31720]
process[camera/realsense2_camera-3]: started with pid [31721]
process[camera/color_rectify_color-4]: started with pid [31722]
process[camera/points_xyzrgb_hw_registered-5]: started with pid [31730]
[ INFO] [1537866178.895956981]: Initializing nodelet with 4 worker threads.
[ INFO] [1537866178.994602165]: RealSense ROS v2.0.3
[ INFO] [1537866178.994634329]: Running with LibRealSense v2.16.0
[ INFO] [1537866179.297975607]: getParameters...
[ INFO] [1537866179.358371948]: setupDevice...
[ INFO] [1537866179.358442328]: JSON file is not provided
[ INFO] [1537866179.358474861]: ROS Node Namespace: camera
[ INFO] [1537866179.358513235]: Device Name: Intel RealSense D415
[ INFO] [1537866179.358534864]: Device Serial No:<PHONE_NUMBER>93
[ INFO] [1537866179.358559419]: Device FW version: <IP_ADDRESS>
[ INFO] [1537866179.358582056]: Device Product ID: 0x0AD3
[ INFO] [1537866179.358609188]: Enable PointCloud: Off
[ INFO] [1537866179.358637472]: Align Depth: On
[ INFO] [1537866179.358658196]: Sync Mode: On
[ INFO] [1537866179.358970824]: Device Sensors:
[ INFO] [1537866179.359174501]: Stereo Module was found.
[ INFO] [1537866179.359223837]: RGB Camera was found.
[ INFO] [1537866179.359450585]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1537866179.359481659]: (Gyro, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1537866179.359509306]: (Accel, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1537866179.359564560]: setupPublishers...
[ INFO] [1537866179.363307788]: Expected frequency for depth = 30.00000
[ INFO] [1537866179.395862362]: Expected frequency for infra1 = 30.00000
[ INFO] [1537866179.421994418]: Expected frequency for aligned_depth_to_infra1 = 30.00000
[ INFO] [1537866179.446018089]: Expected frequency for infra2 = 30.00000
[ INFO] [1537866179.471695361]: Expected frequency for aligned_depth_to_infra2 = 30.00000
[ INFO] [1537866179.496306551]: Expected frequency for color = 30.00000
[ INFO] [1537866179.522022056]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1537866179.551641932]: setupStreams...
[ INFO] [1537866179.561624840]: depth stream is enabled - width: 640, height: 480, fps: 30
[ INFO] [1537866179.562019535]: infra1 stream is enabled - width: 640, height: 480, fps: 30
[ INFO] [1537866179.562349605]: infra2 stream is enabled - width: 640, height: 480, fps: 30
 25/09 18:02:59,564 WARNING [140294086170496] (backend-v4l2.cpp:1248) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
 25/09 18:02:59,565 WARNING [140294086170496] (sensor.cpp:338) Unregistered Media formats : [ RW16 ]; Supported: [ ]
[ INFO] [1537866179.573798384]: color stream is enabled - width: 640, height: 480, fps: 30
 25/09 18:02:59,589 ERROR [140293388445440] (backend-v4l2.cpp:1002) Video frame arrived in idle mode.
 25/09 18:02:59,589 ERROR [140293388445440] (backend-v4l2.cpp:1002) Video frame arrived in idle mode.
[ INFO] [1537866179.597572517]: publishStaticTransforms...
[ INFO] [1537866179.598323409]: RealSense Node Is Up!
 25/09 18:02:59,786 WARNING [140293158708992] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.
 25/09 18:02:59,807 WARNING [140293371086592] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.
[ WARN] [1537866179.817030484]: Frame metadata isn't available! (frame_timestamp_domain = RS2_TIMESTAMP_DOMAIN_SYSTEM_TIME)
 25/09 18:03:04,674 WARNING [140294086170496] (types.cpp:57) get_xu(id=11) failed! Last Error: Input/output error
[ WARN] [1537866184.675410338]: Reconfigure callback failed with exception get_xu(id=11) failed! Last Error: Input/output error:
[ WARN] [1537866370.065060462]: Messages of type 2 arrived out of order (will print only once)
[ WARN] [1537866370.065684758]: Messages of type 1 arrived out of order (will print only once)

and in rviz, pointcloud is noisy as below.

I have searched many similar issues and tried measurement to solve the problem.
But have not solved yet.
Could you tell me how to solve this problem?

That looks like the typical default configuration.

The latest release adds post-processing that can help with the noise.
The noise is proportional to distance square, and is reduced when running dynamic calibration App.
The more the two sensors are out of calibration, the more Z noise you should expect to get.

@dorodnic
Thank you for advice.
I'll update the latest release and try.

But right now post-processing is just working for the rs_camera, not for the aligned_depth?

I use this launch command,
roslaunch realsense2_camera rs_rgbd.launch align_depth:=true
and set some parameters.
 Please refer to https://downloadcenter.intel.com/download/28517/Intel-RealSense-D400-Series-Calibration-Tools-and-API to get the dynamic calibration tool and user guide. Looking forward to your update. Thanks!

@hi-kondo Any update? Thanks!

@hi-kondo If no other questions, will close the ticket accordingly.


Getting Lint/UselessAssignment offense when variable is used inside block

Expected behavior
When using a variable inside a block I would not expect a Lint/UselessAssignment offense.
Actual behavior
When I use a variable inside a block I get a Lint/UselessAssignment offense.
Steps to reproduce the problem
array1 = [1, 2, 3, 4, 5, 6]
array2 = [6, 7, 8]
array1.select { array2.include?(_1) }

After running rubocop I get the next output:
Offenses:

test.rb:2:1: W: Lint/UselessAssignment: Useless assignment to variable - array2. Did you mean array1?
array2 = [6, 7, 8]

RuboCop version
1.44.0

This issue is a dup with #11485 and resolved by #11488.


add templates .Stack.Name

https://github.com/rancher/rancher/issues/3393

Can you merge StackInfo and ReleaseInfo into one struct named StackInfo? And then expose it as both Release and Stack so that .Stack.Version and .Release.Name work?

@joshwget OK

closing in favor of https://github.com/rancher/rancher-compose-executor/pull/64


When inserting large amounts of text, it doesn't get highlighted

Test:
from chlorophyll import CodeView
from tkinter import Tk
from pygments.lexers import PythonLexer

root = Tk()
codeview = CodeView(root, lexer=PythonLexer)
codeview.pack()

for i in range(100):
    codeview.insert("end", "print()\n")

root.mainloop()

@rdbende WIll you look into this?

Not related to the after_idle.
 When it highlights something, it highlights stuff related to the insert cursor. But when inserting programatically, the cursor doesn't move.

Ah, good thing we have highlight_area() now!

Yes, it should simply highlight the area, where the text was pasted.

Welcome!

On it :)


Add option to manually set API token

Could you maybe add an option to manually set the API token for the bridge? My bridge is currently reporting the wrong token in response to the /auth call (the response token is the actual token followed by the Wi-Fi SSID, see here).
Because of this, I currently cannot use the plugin since it always obtains the incorrect token.

My bridge is currently reporting the wrong token in response to the /auth call (the response token is the actual token followed by the Wi-Fi SSID, see here).

That's a first.  Did you try and disable and re-enable the HTTP interface?  And reset the bridge?  Are the system clocks on the bridge and the server running Homebridge synchronised?
What's the output of:
nb -DD -H ip-address auth
And of:
nb -DD -H ip-address-Ttoken info


Audio stuttering after long inactivity using ALSA dmix

Hello guys,
My audio is stuttering after several hours of inactivity (ie no tracks played). I play music on a custom alsa device that uses dmix module. I tried to increase the buffer size in ALSA conf, but it has no effect whatsoever (and testing does require patience). A workaround is to periodically restart librespot. Though I do not think this is a bug in librespot I wanted to document this issue. I will run librespot in verbose mode to get more information.
I am running Mar 27, 2019 version compiled on a Raspberry Pi 2 using HifiBerry DAC+.
Here is my ALSA config:
pcm.ossmix {
    type dmix
    ipc_key 1024 # must be unique!
    ipc_key_add_uid false   # let multiple users share
    ipc_perm 0666           # IPC permissions for multi-user sharing (octal, de$
    slave {
        pcm "hw:0,0"      # you cannot use a "plug" device here, darn.
        period_time 0
        period_size 1024 # must be power of 2
        buffer_size 16384  # dito. It
        rate 44100
       #format "S32_LE"
       #periods 128 # dito.
       #rate 8000 # with rate 8000 you *will* hear,
       # if ossmix is used :)
    }
    # bindings are cool. This says, that only the first
    # two channels are to be used by dmix, which is
    # enough for (most) oss apps and also lets
    # multichannel chios work much faster:
    bindings {
        0 0 # from 0 => to 0
        1 1 # from 1 => to 1
    }
}
pcm.dsp0 {
    type plug
    slave.pcm "ossmix" # use our new PCM here
}
# mixer0 like above
ctl.mixer0 {
    type hw
    card 0
}

# You may want to make your new ossmix the default for alsa.
# If your alsa programs are complaining that they can't open
# your sound devices, try uncommenting this next line
pcm.default pcm.dsp0

The command I use to run librespot : /usr/bin/librespot --name XXX --bitrate 160 --username YYY --password ZZZ --disable-audio-cache --device ossmix --enable-volume-normalisation
Since I use raspotify for daemonizing I run the following script every hour to avoid audio stuttering:
#!/bin/bash
last_track_date=$(service raspotify status|grep Track|tail -n 1|grep -Eo ".* <host>"|sed 's/ <host>//')
last_track_ts=$(date -d "$last_track_date" +%s)

echo $last_track_ts

delta=$(( $(date +%s) - $last_track_ts ))
if [[ $delta -lt 600 ]]; then
        echo "Not restarting";
else
        echo "Restarting"
        service raspotify restart
fi;

Are you using the current master (Rodio backend) or a slightly older version (portaudio)?
The version of the Rodio backend in master doesn't release the audio device when it stops playing. Maybe try using the alsa backend directly.
Build with --features alsa-backend and run with --backend alsa but everything else the same.

I wasn't sure if this would ever cause issues but this sounds exactly like it might be a symptom. I have a PR to help resolve this, but I'm waiting on upstream Rodio to iron out a few issues

This is raspotify on a pi, which is built with only the alsa backend.
I guess the question I have is, does the stuttering stop if it's left playing for a while or if you skip tracks? Have you tried without the dmix plug? Have you tried disabling the dynamic cpu scaling governor that raspbian uses by default?

Are you using the current master (Rodio backend) or a slightly older version (portaudio)?
The version of the Rodio backend in master doesn't release the audio device when it stops playing. Maybe try using the alsa backend directly.
Build with --features alsa-backend and run with --backend alsa but everything else the same.

I am using Rodio sink. I will try with ALSA backend directly and with latest version. Audio was stuttering this morning, but I found nothing particular in librespot logs.

This is raspotify on a pi, which is built with only the alsa backend.
I guess the question I have is, does the stuttering stop if it's left playing for a while or if you skip tracks? Have you tried without the dmix plug? Have you tried disabling the dynamic cpu scaling governor that raspbian uses by default?

I only use raspotify for daemonizing, I compile librespot myself. The audio is still stuttering after at least a minute (didn't try longer than that) and changing track doesn't help.
Without dmix I did not have this problem, but librespot often crashed because many apps had access to the default ALSA device (which allows only one source). Besides, I was using an old version that did not feature rodio if I remember correctly.
I don't use Raspbian but osmc, but I think both have force_turbo=0. I will try with force_turbo=1.

Ahh, sorry, my misunderstand. Maybe it is related to rodio issue. but since that dmix config is specifically for supporting the case where the device isn't released it doesn't make total sense yet.
The cpu scaling govenator is controlled through the /sys filesystem (https://raspberrypi.stackexchange.com/questions/9034/how-to-change-the-default-governor#9048). It's not about overclocking, it's about preventing underclocking. However, if this is specific to dmix then maybe it'll make no difference.

Apparently it is related to rodio. I compiled latest version with alsa-backend feature and I did not get any stuttering using ALSA backend option after 8 hours of inactivity. I will keep on running librespot for a couple days to check if the stuttering reappears.


Card borders are invisible with $font-size-root  less than 16px

Related to https://github.com/twbs/bootstrap/issues/17210 since $card-border-width is set to 0.625rem which computes to 1px only with $font-size-root: 16px.

Since this is still an issue, I wonder how much v4 is intended to work with a $font-size-root less than 16px? Are there other elements such as borders which would disappear with a smaller root size? What will be the recommended minimum root size for v4?

Shouldn't be an issue anymore—borders are set to 1px instead of using rems.


Add error key to error response

Currently you only check for the error key: $body = property_exists($body, 'errors') ? $body->errors : null;
I think it definitely makes sense to add a check for the error key as well. This is the case e.g. when creating fulfillments with missing data: "error":"location_id must be specified when creating fulfillments."
This my workaroud for now:
if ($body !== null) {
    if (property_exists($body, 'errors'))
    {
        $body = $body->errors;
    }
    elseif (property_exists($body, 'error'))
    {
        $body = $body->error;
    }
    else
    {
        $body = null;
    }
}

Solved. Will be part of next release shortly, just reviewing other tickets.

Is the new release ready?


pluggable providers: removed hard coupling of cloudmanagers that support regions

Instead of hard wiring EMS/CloudManagers we now ask all
managers whether they support regions.
@Fryguy Not sure about the AvailabilityMixin. Either I continue using it
and see what other requirements pop up, or we'll start naming it better now already.
Like here https://github.com/ManageIQ/manageiq/pull/3596
@miq-bot add_labels refactoring,ui

@himdel @AparnaKarve what do you think?
@blomquisg tackling ems_common as requested :smile:

Not sure about all the classy details, but in general ..better :).. and not seeing any problems with the angular side :+1:
Oh! But we're already including es6-shim, so maybe we could add es7-shim as well now (since it got standardized a few days ago.), and rewrite that #{@provider_regions.keys.to_json}.indexOf(emsCommonModel.emstype) >= 0 as #{@provider_regions.keys.to_json}.includes(emsCommonModel.emstype) :).

@durandom I like it so far 👍

@durandom Looking good!  I am fine with the AvailabilityMixin as is in this PR for now.

@Fryguy @blomquisg  This is green. Merge?


Discussion of LinkedClaims RFC - please comment!

This issue is for collecting discussion of the LinkedClaims proposal in the DIF Labs working group
Please refer to
https://github.com/Cooperation-org/LinkedClaims/blob/main/LinkedClaimsRFC.md
and
https://github.com/decentralized-identity/labs/blob/main/proposals/linked_claims/001_proposal.md
In particular the unresolved questions

Is there a need for a specific "glue" vocabulary such as http://cooperation.org/credentials/v1/

How to resolve the tension between using a human-viewable subject URI versus a hashable signed credential as the subject of a claim? Could there be a content type or query parameter that switches, but in this case how to ensure the two are aligned?

Should the canonical identifier of a claim be included in the claim itself?

Review each of the MUST, SHOULD and MAY in the RFC for usefulness and testability

Can we write tests for being a LinkedClaim without a single canonical vocabulary?
and the largest question

What would motivate stakeholders to publish LinkedClaims and expose their claims to external validation? Do non-protocol entities see a use for this?

do we need an 'updates_at' field to something like ceramic or aries that is revocable?

can we connect this to attest.sh - yes https://docs.attest.org/docs/tutorials/ceramic-storage