Update dependencies

Pick one dependency from https://github.com/mueller-ma/Coffee/pulls?q=is%3Apr+is%3Aopen+label%3Adependencies
Fix all build issues and warnings.
Push fixes and bumped version to a new branch.
Open a pull request.

Hi, I'll take fixing the AGP update.


Running multiple instances of retdec-decompiler at the same time breaks RetDec

Bug Report
Describe the Bug
Attempting to run multiple instances of retdec-decompiler at the same time (e.g., using two terminals) would break the RetDec installation.
Specifically, this would result in the decompiler-config.json file in ./share/retdec to be deleted.
Behavior
Expected
The decompiler-config.json file should not be deleted.
Actual
The decompiler-config.json file (could) get deleted, causing the RetDec installation to break.
Client Information

OS: Windows
OS Version: 22H2
Package Version: 0.1.0

There may be a better way than to restrict the number of processes/threads that use retdec-decompiler at once, but for now this solution suffices.


Cannot remove entity if ID disabled

I don't want to fill the ID property, because it will be generated. So I added [MetaEntityAttr(Enabled = false)] to not display it on the creation form. But now I can't remove this entity, because lib cannot get the Id. Please review my screenshots:

Also, if I disable ID, a related entity is not shown in the creation form:

Also, if I disable ID, a related entity is not shown in the creation form:

Hello,
I think we will add 3 new properties boolean to the MetaEntityAttr attribute: ShowOnView, ShowOnEdit, ShowOnCreate. So it will be possible to show/hide any field either from view (grid), from the Edit form, or from the Create form.
With this approach "Visible" property available now will become obsolete and will be replaced by ShowOnView.
Will this approach suit your requirements?

Hello,
I think we will add 3 new properties boolean to the MetaEntityAttr attribute: ShowOnView, ShowOnEdit, ShowOnCreate. So it will be possible to show/hide any field either from view (grid), from the Edit form, or from the Create form.
With this approach "Visible" property available now will become obsolete and will be replaced by ShowOnView.
Will this approach suit your requirements?

Hello,
We have published 1.2.0-rc1 version. Update packages to this version.
JS bundle should be updated to:
<script src="https://cdn.korzh.com/ed/1.2.0/easydata.min.js" type="text/javascript"></script>

Now, you can hide any attribute in different scenarios using such options:
[MetaEntityAttr(ShowOnCreate = false, ShowOnEdit = false, ShowOnView = false)]
public string CategoryName { get; set; }

Hello,
We have published 1.2.0-rc1 version. Update packages to this version.
JS bundle should be updated to:
<script src="https://cdn.korzh.com/ed/1.2.0/easydata.min.js" type="text/javascript"></script>

Now, you can hide any attribute in different scenarios using such options:
[MetaEntityAttr(ShowOnCreate = false, ShowOnEdit = false, ShowOnView = false)]
public string CategoryName { get; set; }

Hi, it works now. Thanks!

Hi, it works now. Thanks!


Implementation of raw property

This pull request implements the return of raw property. Some users related that this property always returns nil (#11), it happens for me too.
Another thing is to clear the text before setTextWithMask:. If you set a string in interface builder, for example, when you call setTextWithMask the new text appends the old text (setted in interface builder).
For example:

Your mask is "##-##-##";
You set the VMaksTextField text with 12 in interface builder;
You call [self.textField setTextWithMask:@"098765"];
The final result is 12-09-87.

Semantically, setText will replace all text.

I don't know why the test are failing.
And, please, consider my second comment on pull request description.

Same issue. Is this project still maintained?

@garyjohnson You can use my branch/fork, it is working well.

Thanks!


V3error

@sougou hum the branching is bad, just look at last commit. Will sort itself out once I merge my other PR.

This change is

@sougou PTAL at the last commit, this is the better version, that actually should now work. :)

LGTM


Naming concerns: should be findLast() or findFromEnd(), not findFromLast()

"last" refers to a position in an ordered list, "end" refers to a direction; we use these terms consistently in the existing array and string functions.
So if we want to use "last", the function name needs to be referring to an index: findLast(). Or we can keep the directional findFromX() spelling, but need to switch to a directional word: findFromEnd().

Ah, indeed. Cool then.

Ah, indeed. Cool then.

Yep.
BTW: That's why the name of proposal is array-find-from-last rather than array-prototype-findlast.

Yep.
BTW: That's why the name of proposal is array-find-from-last rather than array-prototype-findlast.

That's exactly why I was confused - the name of the repo uses the wrong words. ^_^

That's exactly why I was confused - the name of the repo uses the wrong words. ^_^

Okay. I'll close the issue. Please feel free to reopen or create another one.

Okay. I'll close the issue. Please feel free to reopen or create another one.


Broker Encoding

In the case of RabbitMQ we can translate a broker.Message directly into an amqp.Delivery. In most other cases we're only allowed to transport []byte. We should not assume JSON for these cases but instead allow a Codec to be specified that defaults to the JSON codec.

https://github.com/micro/go-micro/pull/101

Coming back to this.


Fix building ravif 0.6.3 which brings faster encoding but requires a recent nasm version

https://github.com/foresterre/sic/pull/632

The CI fails ad should be fixed

[x] the macos version doesn't want to build on the mac runner, even wih nasm; but can't really debug because I've no mac
[ ] fix windows build

Fixed in the #632 commit chain


Add support to export dlt-messages from a pcapng file to dlt format

chipmunk can open *.pcapng files that contain DLT messages. But it is not possible to filter those.
Filtering is only supported for regular dlt files so we need a way to convert the *.pcapng file to a valid dlt file

Export pcapng file to DLT is implemented.


Replace log with printers

While working on console, I'm still supplying you with partial improvements to discuss.
Current work in progress contains:

[x] Split Log to several lesser classes and interfaces -  IssuePrinter, IssueCollector and PrinterFactory
[x] Make IssueInstance class more lightweight
[x] Make Phan fully decorable. See test for reference. No more need for output buffering hacks
[x] Inverse IssueInstance collect flow. Do Phan::getIssueCollector()->collect($exception->getIssueInstance()) instead of $exception->getIssueInstance()->collect()  and calling IssueCollector inside. This would abstract IssueInstance from upper layers
[x] Configure new classes instead of Log via Config and current CLI directly.
[x] Fix codeclimate plugin runner
[x] Wipe out all the Log imports

Symfony console currently is used only to handle different output streams in the same manner
@morria I want yours preliminary review

@morria Log was wiped, but not deleted for now (needs some cleanup, created a new checkbox for it).
You can review the latest Wipe out log 7ca7ea8 commit

@morria Lights are green, I'm think this one is ready for final review.

Awesome. I just merged this in with some stylistic changes in https://github.com/etsy/phan/commit/0dd72c28e875d494471f650489a92780c31eb3cf as well as a change to .phan/config.php so that phan can run successfully against itself.


Fix pseudo-element specificity

See https://github.com/Microsoft/vscode/issues/72608#issuecomment-489332641 for a quick reference
In CSS3, pseudo-classes (such as :hover, :focus, or :invalid) and pseudo-elements (such as ::before, ::after etc.) have some noticeable differences:

pseudo-classes are more specific than pseudo-elements;
pseudo-classes are prefixed with :, while pseudo-elements start with :: (though for backwards compatibility this is not enforced);

Currently, they are being distinguished by amount of semicolons, which produces incorrect results when encountering backwards-compatible code:

Specificity here is expected to be (0, 0, 3), but got (0, 1, 2). That's because pseudo-element was incorrectly parsed as pseudo-class.

Here the number of colons (::) corresponds to the entity type (pseudo-element), so the specificity is displayed correctly.
This PR fixes this issue.

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

Thanks @parzh . I modified the RP a bit in order to keep the changes minimal. I hope that's ok for you.

@aeschli Thanks for the merge! Yes, that's fine.


Strange removal of spaces in href attribute of

Stumble upon this curious case
import { Link, useParams } from 'solid-app-router'

<Link href="/blog/bla bla bla"/>

// becomes

<a href="/blog/blablabla"/>

I know folder/file/path names should be escaped, but in any case this shouldn't be happening.
Found out is related to this change, the change on the regular expression at line 5  https://github.com/solidjs/solid-app-router/commit/6ce024ed88382d23a5fc6b83c80fa593d5f7b409
I'm not completely sure what the removal of the space is trying to achieve here.
A question if you don't mind, why the path doesn't gets escaped automatically?
Thanks!

Looks like that string removal in the regex was inadvertent. This was a good find as we weren't properly handling spaces and other encoded characters in the path, search query and hash.

Thank you, I'm a bit sceptical about the url decoding(like in decoding something you didn't encode yourself). I will check if a very complex url works as expected whenever I have a chance, and report back.  Thanks again


⚠ Bofrost.at has degraded performance

In 8a85c3f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 838 ms

Resolved: Bofrost.at performance has improved in 23fd013.


Use Yaml for config file and put defaults in Config

Resolves: https://jira.duraspace.org/browse/FCREPO-2340
Also moves the definition of defaults inside the Config object.

I'm seeing an empty yaml file being created when I run the exporter. Has anyone else seen this?

Looking into it.

@ruebot @jwestgard My mistake. This should be better.

Confirmed -- getting a good yaml file now.

No, I'm not a member of this one.


Day 360

Good morning! Here's your coding interview problem for today.
This problem was asked by Spotify.
You have access to ranked lists of songs for various users. Each song is represented as an integer, and more preferred songs appear earlier in each list. For example, the list [4, 1, 7] indicates that a user likes song 4 the best, followed by songs 1 and 7.
Given a set of these ranked lists, interleave them to create a playlist that satisfies everyone's priorities.
For example, suppose your input is {[1, 7, 3], [2, 1, 6, 7, 9], [3, 9, 5]}. In this case a satisfactory playlist could be [2, 1, 6, 7, 3, 9, 5].

Simple https://en.wikipedia.org/wiki/Topological_sorting#Depth-first_search of the graph combined of each playlist.


[SPARK-11735][Core][SQL]Add a check in the constructor of SQLContext/SparkSession to make sure its SparkContext is not stopped

What changes were proposed in this pull request?
Add a check in the constructor of SQLContext/SparkSession to make sure its SparkContext is not stopped.
How was this patch tested?
Jenkins unit tests.

Test build #58717 has started for PR 13154 at commit 0c7d61b.

Test build #58717 has finished for PR 13154 at commit 0c7d61b.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58717/
Test FAILed.

Test build #2988 has started for PR 13154 at commit 0c7d61b.

Test build #2988 has finished for PR 13154 at commit 0c7d61b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #2989 has started for PR 13154 at commit 0c7d61b.

cc @yhuai

LGTM. Merging to master and branch 2.0.

Test build #2989 has finished for PR 13154 at commit 0c7d61b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.


[enhancement]: models.yaml paths should be agnostic to back/forward slashes

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
Currently a user might have a models.yaml file with forward slashes in pathnames, because that's how we set it up by default. But when they add .ckpt paths on Windows, they will add paths with backslashes. Our current path parsing logic breaks sometimes, and the users are advised to change their Windows paths to use forward slashes, which is poor UX. We should ensure paths are normalized to the host OS regardless of the slash symbol.
Alternatives
No response
Aditional Content
https://discord.com/channels/1020123559063990373/1049495067846524939/1049751396439838780
https://discord.com/channels/1020123559063990373/1049627748295000084/1049751214352515142

I wondered if that was messing things up, but I tried a few things and it doesn't look like backslashes in yaml as long as you don't double-quote them in the yaml file:
>> yaml.safe_load(r'someplace: c:\users\keturn\models\v1.ckpt')

{'someplace': 'c:\\users\\keturn\\models\\v1.ckpt'}

but it is disorienting to see filenames with the slashes backwards from the way the platform describes filenames. I think if we store them as Path, it should write them appropriately?


OPG-468: Add labelFormat and valueFormat to EntityDS nodeFilter

First part of OPG-468.
Allows specifying a labelFormat and valueFormat for the Entity data source nodeFilter() query.
Can be one of ['id', 'label', 'id:label', 'label:id', 'fs:fid'] for either of these.
labelFormat is the format for display, for example in a template variable dropdown list or in the Preview of values.
valueFormat is the format of the value used to interpolate variables, send to the server, etc.
Additional attributes can be specified, as before, including template variables.
For example, specifying the template variable query
nodeFilter(labelFormat=label,valueFormat=id,location=$location)

would filter nodes by the location specified in the template variable $location, display the node label and use the node id in a query.
This also includes a bug fix so that nodeFilter can have a template variable specified in an attribute clause, as well as some formatting and type specifier fixes.
Still need to apply this to Performance data source, will be a separate PR.
External References

JIRA (Issue Tracker): http://issues.opennms.org/browse/OPG-468
Continuous Integration: CircleCI

Seems to work great on my test. While it was confusing at first how an invalid value for either of these reverts to defaults, it's a nice QOL touch to not break it if the user puts the wrong thing in. I might suggest adding an option for fs:label, but it's not a blocker for me. The only thing holding me back from hitting approve is wanting to see an update to the docs page for Entity DS.

I just opened this ticket for documentation: https://opennms.atlassian.net/browse/NMS-16270
I'll do that after the PR for updating the Performance data source with this feature. Also, I'll add an fs:label option in that PR (both for Entity and Perf DS).


NoSuchKeyException Thrown From ReadableNativeMap

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Run react-native info in your terminal and paste its contents here.
Environment:
OS: macOS High Sierra 10.13.4
Node: 10.3.0
Yarn: Not Found
npm: 6.1.0
Watchman: 4.9.0
Xcode: Xcode 9.4 Build version 9F1027a
Android Studio: 3.1 AI-173.4819257
Packages: (wanted => installed)
react: 16.3.2 => 16.3.2
react-native: 0.55.4 => 0.55.4
Description
Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.
After we recently upgraded our React Native package to 0.55.4, I’ve started to notice an Android-specific bug that is hit from within the library. Hundreds of our users hit this error daily. The bug is thrown in ReadableNativeMap:122 because the app is trying to look for a key with name “toValue” however it’s not in the config - FrameBasedAnimationDriver.java:44. We generally see this happening on slower devices, but it’s not limited to slower devices. We’ve seen majority of the events happen on these devices:
LG K20 Plus LGMP260
Samsung Galaxy S7 - SM-G930V
ZTE Blade™ Z MAX Z982
The only way I am able to recreate it on my own is by adding a debugger in the native code as the app is launching and then pressing continue to step out of debugging mode. For example, I make a call to load my in-app products by calling querySkuDetailsAsync at the start on the app. Within the onSkuDetailsResponse function, I add a debugger. After the debugger is hit and I press continue, the error is recreated. This leads me to believe it is a timing issue (race condition).
Here is the stacktrace:
06-18 19:26:55.111 7871-7871/app.hurdlr.com E/unknown:ReactNative: Exception in native call
    com.facebook.react.bridge.NoSuchKeyException: toValue
    	at com.facebook.react.bridge.ReadableNativeMap.getValue(ReadableNativeMap.java:122)
    	at com.facebook.react.bridge.ReadableNativeMap.getDouble(ReadableNativeMap.java:147)
    	at com.facebook.react.animated.FrameBasedAnimationDriver.resetConfig(FrameBasedAnimationDriver.java:44)
    	at com.facebook.react.animated.FrameBasedAnimationDriver.<init>(FrameBasedAnimationDriver.java:31)
    	at com.facebook.react.animated.NativeAnimatedNodesManager.startAnimatingNode(NativeAnimatedNodesManager.java:204)
    	at com.facebook.react.animated.NativeAnimatedModule$13.execute(NativeAnimatedModule.java:296)
    	at com.facebook.react.animated.NativeAnimatedModule$3.execute(NativeAnimatedModule.java:150)
    	at com.facebook.react.uimanager.UIViewOperationQueue$UIBlockOperation.execute(UIViewOperationQueue.java:512)
    	at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:821)
    	at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:928)
    	at com.facebook.react.uimanager.UIViewOperationQueue.access$2100(UIViewOperationQueue.java:46)
    	at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:988)
    	at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
    	at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:134)
    	at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:105)
    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:872)
    	at android.view.Choreographer.doCallbacks(Choreographer.java:686)
        at android.view.Choreographer.doFrame(Choreographer.java:618)
    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
    	at android.os.Handler.handleCallback(Handler.java:751)
    	at android.os.Handler.dispatchMessage(Handler.java:95)
    	at android.os.Looper.loop(Looper.java:154)
    	at android.app.ActivityThread.main(ActivityThread.java:6119)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

Tech spec:
React Native Version: 0.55.4
Node version: 10.3.0
Npm version: 6.1.0
Simulator Details:
	Nexus 5X v5.2
Android 7.1.1 x86
API 25
1536 mb RAM
256 mb VM Heap

Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, share a project, or     share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve
It is incredibly difficult to reproduce however I was able to reproduce it by following the steps above.
I have a video of the bug linked at:
https://drive.google.com/open?id=1vdLHwSbgPalyjTO_MMLwKK4t3vpP26_T

Possible fix at https://github.com/facebook/react-native/pull/19808


Dropdown gets cut off when scrolling with a fixed parent.

This seems to be related to a lot of fixed position and scrolling problems, but the end result seems different than the others. As demonstrated in this pen the dropdown will  get cut off when scrolling back up after the dropdown's parent is moved with transform.
Steps to Reproduce:

Visit this pen: http://codepen.io/nickhoobin/pen/QbzYdb
Open the dropdown
Scroll down past the end of the dropdown, so the body starts scrolling.
The header will get transformed and move off of the page
While keeping the dropdown open scroll up until the body is back at the top.
The header will move back into place
The top option, 1, will be cut off of the page.

It might not seem like much,but if the dropdown is heavily themed and templated, a lot of information can get cut off.
Tested in Chrome, Edge, and Firefox. Each browser cuts off a different amount of the first element.

I believe this issue stems from a collection of issues regarding the placement and positioning of the select-container element. The select-container is appended to the bottom of the page in the  and is given a position:absolute and it calculates where it's supposed to be based on where the input field is. The problem is that the absolute positioning is calculated based off of the  position and since your input's container is set to fixed, when you scroll down, the top of  disappears and the select-container tries to follow it's position in relation to that.
From what I have been [told] (https://github.com/select2/select2/issues/3639) there is a way to define the container of the select2-container element or define it's parent.
If you can tell it to exist inside of your  element or make a wrapper div for it, the calculations for positioning would work just fine.
[The docs say it can take a jquery object or a DOM element] (https://select2.github.io/options.html#dropdown) . There are no examples for this code and I have not tested it yet. If you wouldn't mind posting your results if you get this working, that would be great.
This could probably be achieved with a CSS override as well however it seems that the  that contains the drop down results does not have any unique identifier that allows you to target that container over the main one that contains the input field. Maybe that should be a suggestion for a patch. Not sure.

Adding a dropdownParent makes it display the same detached/wrong positioning that other non-static parents are having.
It looks like half of this issue, the body scrolling when the dropdown reaches the end of this options, is due to not having jquery.mousewheel. I updated my pen to use the full version of Select2.
The cutoff problem persists if the user moves their mouse outside of the dropdown and scrolls the body though. I'll update the initial issue to reflect this.
The overall behavior is less of an issue with jquery.mousewheel now that the body doesn't scroll when the dropdown reaches the end of its options.

This may be a duplicate of https://github.com/select2/select2/issues/3303, which is the positioning issues when using dropdownParent.
Though I suppose there is something extra here, as Select2 should reposition itself on the scroll event and it should prevent scrolling of inner modal containers.


Show next scheduled time of a GitHub Action

GitHub shows a list of historical runs for a specific deployment in order. Some of these Actions could have been triggered from a scheduled run, with cron. But we do not know when the next scheduled run is going to be.
We could add an information bar here on the top if there is going to be a scheduled job for that Action and when.

This feature request is similar to what Travis shows in their cron job settings, like "Scheduled in 20 hours from now".

This can be computed based on the last scheduled run of an Action added with the schedule values for that Action.

GitHub Actions needs so much work still...
This suggestion sounds good, maybe we can display it here:

But... we need an API for this, we can't load a YAML parser. Best case scenario GitHub lets us read configs as JSON (?) so we only need a cronjob parser module (I didn't find one)

I tried a bit but couldn't find an API for that, the closest I could find was listing workflows and details of a workflow.
But these are v3, couldn't find anything related to actions or workflows in v4.
/cc @lukehefson

Impossible for the time being

✅ The YAML regex would be enough to extract it.
💡 The crontab parser doesn't have to be huge. Here's some code I found to parse it and it's only 11KB. It'd have to be reverse-engineered to find out how each part fits into each other and unnecessary code should be dropped: crontab-parser.zip

💡 The crontab parser doesn't have to be huge. I found a 11KB implementation but it'd have to be reverse-engineered: crontab-parser.zip

This sounds like an interesting exercise, I'll try my hand at it.

If you do send a PR, make sure to drop all unrelated code, like warnings and such. We only need to know when the next date is.

Published https://www.npmjs.com/package/@cheap-glitch/mi-cron if you want to use it for this issue. I wish I could help more with this but I know zilch about Github Actions.

Thank you!
To fix this issue, there's little to know about GH Actions, it just needs to:

Fetch all (or the visible ones) the workflows’ YML files in the most efficient way possible
Find the cron line with regex
Parse it and display it on the sidebar of https://github.com/sindresorhus/refined-github/actions, as shown in my mockup:

Thanks @fregante for the detailed break up!
Do you have any example(s) of similar feature(s) that can help me get started on this?

@cheap-glitch which part do you need help with.
If you ask me start with a dummy cron (dont fetch the yaml) and then we can work on getting the yaml

If you ask me start with a dummy cron (dont fetch the yaml) and then we can work on getting the yaml

The last time I worked on this, if I remember it right, we'll have to fetch all yaml files in .github/workflows and compare them with entries (of action names) on the actions page, would probably require caching too.

Good point. If the filenames aren’t available in the sidebar, then the regex will also have to parse name:

If you ask me start with a dummy cron (dont fetch the yaml) and then we can work on getting the yaml

That was the plan, as I think the fetching part is what's gonna give me the most trouble.


table draft

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[x] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

https://harness.atlassian.net/browse/CDS-54302

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/pr-896

Preview environment: https://hdh.pr.harness.io/pr-896

Preview environment: https://hdh.pr.harness.io/pr-896

Preview environment: https://hdh.pr.harness.io/pr-896


rkt/*.go: Move pods.go to a separate package.

Move rkt/pods.go to pkg/pod/pods.go
Move rkt/pods_test.go to pkg/pod/pods_test.go
Move rkt/uuid.go to pkg/pod/uuid.go
This is a clean up work that's necessary for moving things into libraries. The commits are pulled from #3149
cc @lucab @s-urbaniak @euank

@yifan-gu the new pkg/pod doesn't seem to compile in the tests:
build-rkt-1.14.0+git/gopath/src/github.com/coreos/rkt/pkg/pod/pods_test.go:130: undefined: includeMask
build-rkt-1.14.0+git/gopath/src/github.com/coreos/rkt/pkg/pod/pods_test.go:138: undefined: includeExitedGarbageDir
build-rkt-1.14.0+git/gopath/src/github.com/coreos/rkt/pkg/pod/pods_test.go:141: undefined: includeRunDir
build-rkt-1.14.0+git/gopath/src/github.com/coreos/rkt/pkg/pod/pods_test.go:162: undefined: walkPods
build-rkt-1.14.0+git/gopath/src/github.com/coreos/rkt/pkg/pod/pods_test.go:162: undefined: pod

@s-urbaniak Fixed.

13:20:03 === RUN   TestNetDefaultRestrictedConnectivity
13:20:08 --- FAIL: TestNetDefaultRestrictedConnectivity (5.93s)

See the failures on other PRs as well ( https://github.com/coreos/rkt/pull/3147), flaky?

pkg/pod is missing a doc.go with a high level overview.

@yifan-gu found nits only, tbh, since this is a quite mechanical refactor. I'd get rid of any Get* methods at least for the public ones and also the pkgPod alias is not necessary imho.

@yifan-gu just one (imho important) nit, since lib will be our "official" external API. I suggest to rename this package to rkt rather than lib leaving it in the lib subfolder. I implemented this in [1] for this PR, also see [2] for a rationale.
[1] https://github.com/s-urbaniak/rkt/commit/70231f502db9038464c34a863ff35968e5084317
[2] https://peter.bourgon.org/go-best-practices-2016/#repository-structure

Closing this in favor of using the dedicated https://github.com/coreos/rkt/tree/cri branch for development around CRI.


Add Delegations tab to Account Spotlight

Blocked by: https://github.com/Granola-Team/mina-block-explorer/issues/947
Add a fourth tab for "Delegations".

Dup of #507


TF 2.0 Beta MobileNetV2 model.predict works unexpectedly

Dear expert,
I am using TF 2.0-beta to have some tests based on the tf.keras API, and I think the result of MobileNetV2 model.predict(evaluate) is not reasonable. I think it is a bug, and I currently only found it in MobileNetV2 model. Could you please help to have a look? The details follows below.
Thanks in advance.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04

TensorFlow installed from (source or binary): pip

TensorFlow version (use command below): 2.0.0-beta

Python version: 3.5.2

CUDA/cuDNN version: 10.0

GPU model and memory: Tesla P4

Describe the current behavior
Train a model just a few steps, I see the loss is descending but the val_loss is not.  During my checking progress, I intentionally use the training data to evaluate the model, and i can see the evaluation result is quite different from the training progress shows. And I print the predict() result of the test data set, all inputs get the same prediction array...
The program output is attached as below:
###Trainin begin...###
Epoch 1/20
W0809 16:37:50.266223<PHONE_NUMBER>32704 deprecation.py:323] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/math_grad.py:1250: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
2019-08-09 16:38:38.676419: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-08-09 16:38:38.960048: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
11/11 [==============================] - 73s 7s/step - loss: 1.0264 - accuracy: 0.5524 - val_loss: 1.3798 - val_accuracy: 0.3091
Epoch 2/20
11/11 [==============================] - 5s 491ms/step - loss: 0.4948 - accuracy: 0.7952 - val_loss: 1.3819 - val_accuracy: 0.3091
Epoch 3/20
11/11 [==============================] - 5s 494ms/step - loss: 0.5229 - accuracy: 0.7857 - val_loss: 1.3812 - val_accuracy: 0.3364
Epoch 4/20
11/11 [==============================] - 5s 491ms/step - loss: 0.3309 - accuracy: 0.8762 - val_loss: 1.3842 - val_accuracy: 0.3364
Epoch 5/20
11/11 [==============================] - 5s 493ms/step - loss: 0.3134 - accuracy: 0.8714 - val_loss: 1.3873 - val_accuracy: 0.3364
Epoch 6/20
11/11 [==============================] - 5s 495ms/step - loss: 0.2280 - accuracy: 0.9238 - val_loss: 1.3919 - val_accuracy: 0.3364
Epoch 7/20
11/11 [==============================] - 6s 501ms/step - loss: 0.1303 - accuracy: 0.9524 - val_loss: 1.3968 - val_accuracy: 0.3364
Epoch 8/20
11/11 [==============================] - 5s 495ms/step - loss: 0.1566 - accuracy: 0.9571 - val_loss: 1.4043 - val_accuracy: 0.3364
Epoch 9/20
11/11 [==============================] - 5s 491ms/step - loss: 0.1061 - accuracy: 0.9667 - val_loss: 1.4189 - val_accuracy: 0.3364
Epoch 10/20
11/11 [==============================] - 5s 492ms/step - loss: 0.0826 - accuracy: 0.9762 - val_loss: 1.4313 - val_accuracy: 0.3364
Epoch 11/20
11/11 [==============================] - 5s 489ms/step - loss: 0.0916 - accuracy: 0.9762 - val_loss: 1.4615 - val_accuracy: 0.3364
Epoch 12/20
11/11 [==============================] - 5s 491ms/step - loss: 0.0317 - accuracy: 0.9905 - val_loss: 1.5030 - val_accuracy: 0.3364
Epoch 13/20
11/11 [==============================] - 5s 486ms/step - loss: 0.0357 - accuracy: 0.9857 - val_loss: 1.5268 - val_accuracy: 0.3364
Epoch 14/20
11/11 [==============================] - 5s 482ms/step - loss: 0.0137 - accuracy: 1.0000 - val_loss: 1.5514 - val_accuracy: 0.3364
Epoch 15/20
11/11 [==============================] - 5s 494ms/step - loss: 0.0603 - accuracy: 0.9762 - val_loss: 1.5861 - val_accuracy: 0.3364
Epoch 16/20
11/11 [==============================] - 5s 484ms/step - loss: 0.0616 - accuracy: 0.9857 - val_loss: 1.6225 - val_accuracy: 0.3364
Epoch 17/20
11/11 [==============================] - 5s 482ms/step - loss: 0.0575 - accuracy: 0.9810 - val_loss: 1.6694 - val_accuracy: 0.3364
Epoch 18/20
11/11 [==============================] - 5s 489ms/step - loss: 0.1479 - accuracy: 0.9524 - val_loss: 1.6959 - val_accuracy: 0.3364
Epoch 19/20
11/11 [==============================] - 5s 489ms/step - loss: 0.1448 - accuracy: 0.9571 - val_loss: 1.6902 - val_accuracy: 0.3364
Epoch 20/20
11/11 [==============================] - 5s 491ms/step - loss: 0.0787 - accuracy: 0.9762 - val_loss: 1.7125 - val_accuracy: 0.3364
###Training done..Evaluating...###
11/11 [==============================] - 2s 142ms/step - loss: 1.5975 - accuracy: 0.3905
###Predict images###
Label for image 0: 3
Predict label for image 0: 0
[0.489 0.07  0.349 0.092]
Label for image 3: 3
Predict label for image 3: 0
[0.489 0.07  0.349 0.092]
Label for image 4: 1
Predict label for image 4: 0
[0.489 0.07  0.349 0.092]
Label for image 5: 1
Predict label for image 5: 0
[0.489 0.07  0.349 0.092]
Label for image 6: 3
Predict label for image 6: 0
[0.489 0.07  0.349 0.092]
Label for image 8: 3
Predict label for image 8: 0
[0.489 0.07  0.349 0.092]
Label for image 9: 2
Predict label for image 9: 0
[0.489 0.07  0.349 0.092]
Label for image 11: 3
Predict label for image 11: 0
[0.489 0.07  0.349 0.092]
Label for image 12: 3
Predict label for image 12: 0
[0.489 0.07  0.349 0.092]
Label for image 13: 2
Predict label for image 13: 0
[0.489 0.07  0.349 0.092]
Label for image 16: 3
Predict label for image 16: 0
[0.489 0.07  0.349 0.092]
Label for image 19: 3
Predict label for image 19: 0
[0.489 0.07  0.349 0.092]
Label for image 20: 2
Predict label for image 20: 0
[0.489 0.07  0.349 0.092]
........
Describe the expected behavior
I cannot explain why different inputs will get the same prediction result. I doubt there is a bug
in MobileNetV2 model.
Code to reproduce the issue
# !!! I loaded the model as below:
model = keras.applications.mobilenet_v2.MobileNetV2(input_shape=(299, 299, 3),
include_top=True, weights=None, classes=CATEGORY_SIZE)
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
model.summary()
print('###Trainin begin...###')
model.fit(train_generator,
          epochs=20,
          callbacks=[cp_callback],
          shuffle=True,
          validation_data = test_generator)

# !!! I intentionally use the training data to evaluate the model, I the loss and val should be
# !!! equal to what keras displayed.
print('###Training done..Evaluating...###')
loss, acc = model.evaluate(train_generator)

# !!! Use an array instead of a generator and print the prediction array see what happens
print('###Predict images###')
i = 0
test_images = np.empty((0, 299, 299, 3))
test_labels = np.empty(0)
for x, y in test_generator:
    i = i + 1
    if i > len(test_generator):
        break
    test_images = np.concatenate((test_images, x), axis=0)
    test_labels = np.concatenate((test_labels, y), axis=0)

error_count = 0
predictions = model.predict(test_images)
for i in range(test_images.shape[0]):
    img = cv2.cvtColor(np.uint8(test_images[i, :, :, :] * 255), cv2.COLOR_RGB2BGR)
    predicted_label = np.argmax(predictions[i])
    if not predicted_label == test_labels[i]:
        error_count = error_count + 1
        print("Label for image %d: %d" % (i, test_labels[i]))
        print("Predict label for image %d: %d" % (i, predicted_label))
        print(np.around(predictions[i], decimals=3))

Not an issue.. My mistake for the inputs

Seems that the model has got over-fitting. The most recent 3/4 batches always got accurate result but the others got poor fitting.


Auth does not work with ADC

Operating System version: Mac OS 12.5
Firebase SDK version: 11.7.0
Firebase Product: auth
Node.js version: 18.16.0
NPM version: 9.5.1

Describe the problem
Firebase auth with application default permission throws PERMISSION_DENIED. I have tried running gcloud auth application-default login --impersonate-service-account=... and that still errors with
The error:
FirebaseAuthError: //cloud.google.com/docs/authentication/. If you are getting this error with curl or similar tools, you may need to specify 'X-Goog-User-Project' HTTP header for quota and billing purposes. For more information regarding 'X-Goog-User-Project' header, please check https://cloud.google.com/apis/docs/system-parameters. Raw server response: "{"error":{"code":403,"message":"Your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the identitytoolkit.googleapis.com. We recommend configuring the billing/quota_project setting in gcloud or using a service account through the auth/impersonate_service_account setting. For more information about service accounts and how to use them in your application, see https://cloud.google.com/docs/authentication/. If you are getting this error with curl or similar tools, you may need to specify 'X-Goog-User-Project' HTTP header for quota and billing purposes. For more information regarding 'X-Goog-User-Project' header, please check https://cloud.google.com/apis/docs/system-parameters.","errors":[{"message":"Your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the identitytoolkit.googleapis.com. We recommend configuring the billing/quota_project setting in gcloud or using a service account through the auth/impersonate_service_account setting. For more information about service accounts and how to use them in your application, see https://cloud.google.com/docs/authentication/. If you are getting this error with curl or similar tools, you may need to specify 'X-Goog-User-Project' HTTP header for quota and billing purposes. For more information regarding 'X-Goog-User-Project' header, please check https://cloud.google.com/apis/docs/system-parameters.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"service":"identitytoolkit.googleapis.com","consumer":"projects/764086051850"}}]}}"
Steps to reproduce:

auth with application default gcloud auth application-default login
initialize firebase admin
call getUser(...) on auth

here is a full repo to reproduce the issues
https://github.com/firemuzzy/adc-firebase-auth-error

Hi @firemuzzy, thank you for the repro!
We are currently working on migrating credentials to google-auth-library-nodejs, which should fix the issue you are facing. Please follow #1377 for updates.

Could this possibly be re-opened? Whilst #1377 might fix it, this is still an open issue and shouldn't be closed IMO.

It seems #2106 is the same issue.


Twitter Card Image is incorrect.

The above image doesn't show the correct readme.so logo.

@katherinepeterson I will pick this up.


Alloy Smelter custom recipes didn't work

Issue Description:
I would send the problem to the modpack creator, but I made it :D
I tried to change all copper ingots in my modpack to just one copper ingot, so you don't have tons of different ones in your chests.
The last thing I have to change, is that the EnderIO Alloy Smelter smelts the ores and the dust into the right copper and not the copper it currently does.
In the AlloySmelterRecipes_User.xml I added the following lines:
<AlloySmelterRecipes>
    <exclude>
        <itemStack oreDictionary="oreCopper"/>
    </exclude>
    <recipeGroup name="Ingots">
        <recipe name="ingotCopper" energyCost="2000">
        <input>
            <itemStack oreDictionary="oreCopper"/>
        </input>
        <output>
            <itemStack modID="exnihilo" itemName="exnihilo.copper_ingot"/>
        </output>
        </recipe>
    </recipeGroup>
</AlloySmelterRecipes>

But this didn't work. All ores are still smelted to Thermal Foundation copper. Even this recipe isn't removed as the  command should do. Anyone can help me?
What happens:
Custom Recipes for Alloy Smelter didn't work.
What you expected to happen:
All copper ores/dusts are smelted to ex nihilo copper, not thermal foundation copper.
Steps to reproduce:

Install the ftb mopack via packcode: thenewworld
Copy the lines from above into AlloySmelterRecipes_User.xml
Use NEI to see recipes

Affected Versions (Do not use "latest"):

EnderIO: 1.7.10-<IP_ADDRESS>4_beta
EnderCore: 1.7.10-<IP_ADDRESS>_beta
Minecraft: 1.7.10
Forge: <IP_ADDRESS>8

you are missing the <vanillaFurnaceRecipes> tag around the excludes. Look at your logfile, it should full or error messages.

Oh my fault, i thought vanilla means vanilla minecraft, i will try it

"recipes of the vanilla furnace" in contrast to "alloy smelter recipes"

yeah now i understand, but i thought that are the recipes in the normal minecraft furnace

yes, they are. the alloy smelter does both, normal smelting using the vanilla furnace's recipes and its own special (3-input) recipes. That's why there's an exclude list on the one hand and the possibility to change recipes on the other.

one question is left, i see the recipe now ingame, but only with one ore not every ore of there ore dict, where's the problem?

hard to say from here (with here me being at work and having only a web browser available ;) ). Maybe someone of the regulars could chime in? Otherwise I'd need to look at it tonight.

the thing i don't unnderstand is, i changed any recipe to for example the ex nihilo copper, normal furnace and so on, but the alloy smelter still smelt it into thermal foundation O.o
i just changed a dust smelting to something different and the alloy smelter directly noticed that and changed it too. But not to the wanted ingot..

oh, yes. have a look at the OreDictionaryPreferences_Core.xml, too. Another problem with Ex Nihilo is that it, as I remember, registers its items after all the recipes are registered so they are not yet visible for us.

is it possible to make minetweaker/modtweaker support for enderio? it would be ways easier :)

there's nothing stopping them from adding support for ender io. We expose some imc messages that take the same xml as the config files...

i hope they will add it :/ else i have to try on or remove all the last changes :/

OreDictionaryPreferences_Core.xml should fix this for you

  <preference oreDictionary="ingotCopper" >     <itemStack modID="exnihilo" itemName="exnihilo.copper_ingot" itemMeta="0" />   </preference>
this is what i added to oredict :/

It's not working for me.. I don't get it working.
Can anyone help me?
I made a list of the 4 ingots, that have to be changed incl. all names of the items, that are affected
here's the list:
Pastebin


E2E test that produces both the kgain and nonlin calibrations from a same set of PUPILIMG data

Is your feature request related to a problem? Please describe.
All the pieces of code are there, but we should have a test to confirm we can do this end-to-end.
Describe the solution you'd like
A new e2e test that produces a kgain and nonlin given a series of L1 data that simulate an entire PUPILIMG sequence and demonstrates both calibration files are produced if this L1 dataset is fed into the walker.
Additional context
Aim for v2.0 (requires simulating an accurate PUPILIMG dataset).

done in #256


Add option to query/export photos in trash but not yet deleted

Currently, photos in trash are filtered out by PhotosDB—could pull these in and set intrash flag but only show them in results if explicitly asked for.

--deleted does this


Contact Diary: Days of the week are shown in German instead of English

Avoid duplicates

[👍] Bug is not mentioned in the FAQ
[👍] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[👍 ] Bug is not already reported in another issue

Technical details

Device name: POCOPHONE F1
Android version: 10
App version: 1.10.1

Describe the bug
For the correct english strings in an enhancement request within CWA, I switched my phone to english language when the following bug appeared: The days of the week do not have their english names. They were not translated.

Steps to reproduce the issue
For me, switching to english was enough.
Expected behaviour
Days of the week shown in the current language of the app

@GenosseFlosse
I already reported this problem in https://github.com/corona-warn-app/cwa-app-android/issues/2009. The fix should come out with the next release 1.11.
You can close your issue, since it is a duplicate.

@GenosseFlosse
I already reported this problem in https://github.com/corona-warn-app/cwa-app-android/issues/2009. The fix should come out with the next release 1.11.
You can close your issue, since it is a duplicate.

uuhm I am sorry I should have also searched in closed issues :)

uuhm I am sorry I should have also searched in closed issues :)

@GenosseFlosse

uuhm I am sorry I should have also searched in closed issues :)

Actually #2009 is still open. The Android CWA issues here in GutHub don't usually get closed until the solution to the problem has been released. That is to avoid people not finding the issues. 🙂

@GenosseFlosse

uuhm I am sorry I should have also searched in closed issues :)

Actually #2009 is still open. The Android CWA issues here in GutHub don't usually get closed until the solution to the problem has been released. That is to avoid people not finding the issues. 🙂

Then I probably didn't not have the right search string 😄

Then I probably didn't not have the right search string 😄


I can't run it in Siteground

Code of Conduct

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

Submission validity

[X] This is not a personal support request, that should be posted on discussions community.
[X] I checked current issues and this request isn't a duplicate of an existing issue, opened or closed.

Self troubleshooting

[X] I've read the documentation and made sure to follow it.
[X] I've read the troubleshooting first steps and frequent issues guides.

Version
1.9
Description
Hello,
I installed the script on the Siteground server. I did not encounter any errors.
Admin interface works, https://bume.bid/admin
UI does not work https://bume.bid/
Only number redirects work, example: https://bume.bid/3
Random text redirects not working, example: https://bume.bid/GWjv3
What is the reason? can you help me?
My .htaccess codes:
# BEGIN YOURLS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /yourls-loader.php [L]
</IfModule>
# END YOURLS

Expectation
No response
Reproduction steps
No response
Context
No response

This is not a personal support request, that should be posted on discussions community.

But it is. Moving to discussions.


Signals not 'disconnecting' after deleting declaration and references

Godot version:
v3.2.2.stable.official
OS/device including version:
Windows 10
Issue description:
I was deleting an old signal that I had in one of my scripts and ran into a bug. When I removed the references(including any functions that referenced it) to that signal in my code I got an "attempt to connect nonexistent signal" error. I was able to fix this issue by adding the signal back into my code and then through the editor window "disconnect all" it fixed the issue.
I feel like I shouldn't have to add the signal back into my code and use the editor to 'disconnect all'. I should be able to remove the signal and its references and no have any issues. I am posting this just in case anyone else runs into this bug. There is nothing on google from what I could find that solves this issue.
Steps to reproduce:

Add a signal declaration to the top of the script.
Connect that script to something that will use the signal.
Remove the signal declaration at the top of the script
Remove all references to that signal
Run code

Minimal reproduction project:

I can kind-of reproduce on 3.2.2 stable - but the environment in which is occurs is quite specific. The way I see it I think this might not actually be a bug.
I add the signal then connect to to another node using the connections dock. In my scene.tscn file the connection appears as expected. [connection signal="test_signal" from="Node2D" to="." method="_on_Node2D_test_signal"]
When I delete the signal from the script, this line is removed from scene.tscn after saving the scene. The key is you need to save the scene. If the scene is not saved, then the line above stays in the tscn file and you will get a runtime error. This is really only an issue if you have the editor setting "save before running" switched off.
So to clarify it appears this only happens when the signal is deleted and the scene is not saved (so the connection line has not be removed from the tscn yet). As soon as you save the scene the issue goes away, even after closing and reopening (since the scripts are parsed and I assume the tscn file is built off that).

That is weird, I have the 'save before running' enabled and I religiously Ctrl-s like all the time.

Can confirm that this is happening for me as well (3.2.2 on Mac). I updated to 3.3.2 (also on Mac) and it was still happening. Unlike the previous commenters, I couldn't fix the problem by adding the signal-handling functions back in and either removing those connections or disconnecting all.
They were persisted in the tscn files, and the only solution ended up being closing Godot entirely and deleting the connections from the tscn with a text editor.

I am getting the same bug in 3.4.3 on Windows. Saving the scene doesn't fix it.


Typescript declaration file

Hello,
I'm using your package with Typescript and I'm having some difficulties with the types, I tried npm i --save-dev @types/carbone-sdk and it seems that you don't have a Typescript package.
So, do you have a declaration file for Typescript?
Thank you.

Hello,
Unfortunately, we don't have a typescript declaration file.
I'll try to add it in the coming days/weeks.
Feel free to contribute if you create it :)

Hi,
I'm currently using the Carbone Cloud and have noticed there's no TypeScript declaration file available for the NodeJS SDK. This would greatly simplify my work compared to dealing with raw API calls. Could you please provide an update on the status of TypeScript support for the SDK?
Thank you for your help!

Hi @aburio, a typescript definition is coming, we keep you updated when it's published.

Hi @aburio, can you confirm the following typescript definition is working ?
https://github.com/carboneio/carbone-sdk-node/pull/13/files


publish new otel-lgtm image with latest grafana ( 11.1.0)

publish new otel-lgtm image with latest grafana ( 11.1.0)
I tried building local docker image , it build successfully  but fails to run with error "/bin/sh: /otel-lgtm/run-all.sh: /bin/bash^M: bad interpreter: No such file or directory"
cd docker
docker build . -t grafana/otel-lgtm
docker run --name lgtm -p 3000:3000 -p 4317:4317 -p 4318:4318 --rm -ti grafana/otel-lgtm:latest

Error during docker run

Tested on
WIndows 11 With Docker Desktop version 4.31.1
docker info
Server:
 Containers: 52
  Running: 51
  Paused: 0
  Stopped: 1
 Images: 63
 Server Version: 26.1.4
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: d2d58213f83a351ca8f528a95fbd145f5654e957
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
 Kernel Version: <IP_ADDRESS>-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 7.609GiB
 Name: docker-desktop
 ID: 5c78005b-8f21-4360-b074-0ce826847485
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Labels:
  com.docker.desktop.address=npipe://\\.\pipe\docker_cli
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  <IP_ADDRESS>/8
 Live Restore Enabled: false

@fstab fyi

@zeitlinger  I can build & run myself if the bug reported below is fixed
I tried building local docker image , it build successfully but fails to run with error "/bin/sh: /otel-lgtm/run-all.sh: /bin/bash^M: bad interpreter: No such file or directory"

cd docker
docker build . -t grafana/otel-lgtm
docker run --name lgtm -p 3000:3000 -p 4317:4317 -p 4318:4318 --rm -ti grafana/otel-lgtm:latest

Error during docker run

I think this will be fixed with https://github.com/grafana/docker-otel-lgtm/pull/79

I think this will be fixed with #79

Yes, it works. I can my local build. Thanks


Frequent timeouts on contract call

Hello. I am using web3j-quorum to run contract transactions on a private ethereum quorum.
Quite often (every few transactions) I see the request timing out.
web3j stacktrace:
java.net.SocketException: Connection timed out (Read failed) 	at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_121] 	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[na:1.8.0_121] 	at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[na:1.8.0_121] 	at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_121] 	at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) ~[httpcore-4.4.6.jar:4.4.6] 	at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) ~[httpcore-4.4.6.jar:4.4.6] 	at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) ~[httpcore-4.4.6.jar:4.4.6] 	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) ~[httpcore-4.4.6.jar:4.4.6] 	at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) ~[httpcore-4.4.6.jar:4.4.6] 	at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) ~[httpcore-4.4.6.jar:4.4.6] 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) ~[httpcore-4.4.6.jar:4.4.6] 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:221) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165) ~[httpclient-4.5.3.jar:4.5.3] 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140) ~[httpclient-4.5.3.jar:4.5.3] 	at org.web3j.protocol.http.HttpService.send(HttpService.java:67) ~[core-2.3.0.jar:na] 	at org.web3j.protocol.core.Request.send(Request.java:69) ~[core-2.3.0.jar:na] 	at org.web3j.quorum.tx.ClientTransactionManager.sendTransaction(ClientTransactionManager.java:64) ~[quorum-0.5.0.jar:na] 	at org.web3j.tx.TransactionManager.executeTransaction(TransactionManager.java:45) ~[core-2.3.0.jar:na] 	at org.web3j.tx.ManagedTransaction.send(ManagedTransaction.java:43) ~[core-2.3.0.jar:na] 	at org.web3j.tx.Contract.executeTransaction(Contract.java:207) ~[core-2.3.0.jar:na] 	at org.web3j.tx.Contract.executeTransaction(Contract.java:187) ~[core-2.3.0.jar:na] 	at org.web3j.tx.Contract.lambda$executeTransactionAsync$23(Contract.java:217) ~[core-2.3.0.jar:na] 	at org.web3j.utils.Async.lambda$run$29(Async.java:22) ~[core-2.3.0.jar:na] 	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626) ~[na:1.8.0_121] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_121] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_121] 	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]
tcpdump snippet:
`{"jsonrpc":"2.0","method":"eth_sendTransaction","params":[{"from":"0x5f9adb57d37f0044273b68b3ca20cb8bd3a1a407","to":"0xb66892a511aeb2833d17d8310c03a6c941851506","gas":"0xf4240","value":"0x0","data":"0xf6aa33e1000000000000000000000000c072fa2b03a952771c456f43cf14cbce1d3587b600000000000000000000000000000000000000000000000000000000000000c8","privateFor":[]}],"id":1}
12:25:52.135102 IP <IP_ADDRESS>.47170 > x.x.x.x.8545: Flags [P.], seq 0:613, ack 1, win 482, options [nop,nop,TS val 18147871 ecr 191192547], length 613
E<EMAIL_ADDRESS>.B!a.............D.....
.....e].POST / HTTP/1.1
Content-Type: application/json; charset=UTF-8
Content-Length: 364
Host: rbcqa246k.northeurope.cloudapp.azure.com:8545
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_121)
Accept-Encoding: gzip,deflate
{"jsonrpc":"2.0","method":"eth_sendTransaction","params":[{"from":"0x5f9adb57d37f0044273b68b3ca20cb8bd3a1a407","to":"0xb66892a511aeb2833d17d8310c03a6c941851506","gas":"0xf4240","value":"0x0","data":"0xf6aa33e1000000000000000000000000c072fa2b03a952771c456f43cf14cbce1d3587b600000000000000000000000000000000000000000000000000000000000000c8","privateFor":[]}],"id":1}
12:25:52.355233 IP <IP_ADDRESS>.47170 > x.x.x.x.8545: Flags [P.], seq 0:613, ack 1, win 482, options [nop,nop,TS val 18147926 ecr 191192547], length 613
E<EMAIL_ADDRESS>.B!a...................
...V.e].POST / HTTP/1.1
Content-Type: application/json; charset=UTF-8
Content-Length: 364
Host: rbcqa246k.northeurope.cloudapp.azure.com:8545
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_121)
Accept-Encoding: gzip,deflate
The above repeats many times without response.
Is there anything I may be doing wrong? I am using a single TransactionManager, Quorum and Contract object throughout the lifetime of the service if it makes any difference.
Thanks.

How is the Quorum network being run - i.e. within a Vagrant environment, or with Quorum nodes deployed to dedicated hosts?

It's deployed in Quorum nodes in VMs running in Azure.  There's no use of Vagrant.

Timeout scenario:

run some transactions on a contract
wait for a few minutes
run another transaction on the contract -> usually times out

I've made a comparison between geth, curl to JSON RPC, and web3j based on tcpdump. I can see that only web3j uses Connection: Keep-alive header. So I disabled connection re-use in Apache httpclient (http.keepAlive=false). This seems to have fixed the problem (not heavily tested yet).
Was this behaviour seen before? It brings up again the question about object lifespan - I am using a single Quorum and TransactionManager (and thus a single CloseableHttpClient) throughout the service lifecycle. Is this the recommended way? Is there any possibility that the singleton model doesn't handle connections properly?
I will get back with updates after more thorough testing.

Timeout scenario:

run some transactions on a contract
wait for a few minutes
run another transaction on the contract -> usually times out

I've made a comparison between geth, curl to JSON RPC, and web3j based on tcpdump. I can see that only web3j uses Connection: Keep-alive header. So I disabled connection re-use in Apache httpclient (http.keepAlive=false). This seems to have fixed the problem (not heavily tested yet).
Was this behaviour seen before? It brings up again the question about object lifespan - I am using a single Quorum and TransactionManager (and thus a single CloseableHttpClient) throughout the service lifecycle. Is this the recommended way? Is there any possibility that the singleton model doesn't handle connections properly?
I will get back with updates after more thorough testing.

Thanks @cristinaGroapaCGI. You are the first person to report this issue. What sort of transaction throughput are you performing?
I've migrated web3j across to use OkHttp instead of HttpClient, but haven't got the release out just yet. As OkHttp uses pooled connections it won't necessarily resolve the issue, but it will be good to see if the problem still exists there.

The throughput is very low, at any given time there's at most one transaction; maybe a few dozens a day (no automated tests yet). I can confirm now that the above (http.keepAlive=false) does fix the issue.
I noticed the OkHttp switch. I will pull the latest and give it a go. Thanks!

Could there be any infrastructure between the application using web3j and the Azure nodes that was terminating the TCP connection? Given the low transaction throughput, I would expect this issue to have appeared elsewhere if it was an underlying issue with web3j.

@conor10, there aren't any intermediate components.  It's a simple deployment with 1 block maker and 1 voter node, both deployed inside a single virtual network and there are no firewall devices or services that's terminating connections intermittently.

The OkHttp version seems to do the trick, I wasn't able to reproduce the timeouts.
@conor10  Do you have an estimate of when the next release will be to include OkHttp?

Sorry - meant to say, the OkHttp version was released last month.
I've just put 0.8.0 out, please use this version going forwards.

@cristinaGroapaCGI @conor10 I had the same problem，when I call contract
java.net.SocketTimeoutException: timeout
        at okio.Okio$4.newTimeoutException(Okio.java:230)
        at okio.AsyncTimeout.exit(AsyncTimeout.java:285)
        at okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
        at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345)
        at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217)
        at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211)
        at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:75)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
        at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
        at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)
        at okhttp3.RealCall.execute(RealCall.java:69)
        at org.web3j.protocol.http.HttpService.performIO(HttpService.java:104)
        at org.web3j.protocol.Service.send(Service.java:31)
        at org.web3j.protocol.core.Request.send(Request.java:71)
        at org.web3j.tx.ClientTransactionManager.sendTransaction(ClientTransactionManager.java:49)
        at org.web3j.tx.TransactionManager.executeTransaction(TransactionManager.java:49)
        at org.web3j.tx.ManagedTransaction.send(ManagedTransaction.java:70)
        at org.web3j.tx.Contract.executeTransaction(Contract.java:223)
        at org.web3j.tx.Contract.executeTransaction(Contract.java:207)
        at org.web3j.tx.Contract.executeTransaction(Contract.java:201)
        at org.web3j.tx.Contract.lambda$executeRemoteCallTransaction$3(Contract.java:240)
        at org.web3j.protocol.core.RemoteCall.send(RemoteCall.java:30)

@codingEcho - @cristinaGroapaCGI and I didn't have the same problem with the OkHttp version of web3j quorum but that was back in September when we were last using it in anger (see above post).
@Nikhil-Shekhawat - do you know if there was any further problems?


Excel file containing ESCAPE character not opening in Microsoft Excel viewer

Hello,
I am exceuting the following code
var config = {"filename":"general-ledger-Q1","sheet":{"data":[[{"value":"Income - Webshop","type":"string"},{"value":"You have 3 missed Call\u001b<s\u001b> from +1234123412 Last call: 05-11-2019 11:56 ","type":"string"}]]}}; zipcelx(config)
The generated XLSX file is not opened in Microsoft Excel Viewer, whereas it is opening in Google docs and WPS Office. I am guessing the presence of \u001b (ESCAPE) character is the root of the problrm. Any idea what to do?
Thanks

Note to devs:
One could decode "escape characters" like this:
import unraw from "unraw";

let step1 = unraw('http\\u00253A\\u00252F\\u00252Fexample.com');
// yields "http%3A%2F%2Fexample.com"
// Then you can use decodeURIComponent to further decode it:
let step2 = decodeURIComponent(step1);
// yields http://example.com

@sudipta1411 How did "escape characters" end up in your data in the first place?
Perhaps you should first unraw() it and then call this library's functions.


Use "Fontsource" packages in lieu of Google Fonts

Install

@fontsource/montserrat
@fontsource/bad-script
@fontsource/dm-sans

and import them in a Global component from emotion, instead of using Google Fonts.
Advantages of self-hosting fonts are listed here.

Ah this is nifty!
The 'original' fonts were grabbed randomly, for quick prototype purposes. After several meetings with Powerful Pathways, they landed on using Baron for title/header font and Lato for body font, so the list would look something like

@fontsource/baron
@fontsource/lato

Baron isn't part of Google Fonts but is a free OpenType font that internet has multiple resources, I'm not sure if fontsource has it. Lato for sure is a Google Font and likely is in fontsource as well.
Deprecating montserrat, bad-script, and dm-sans could be part of this work too

In my personal projects, I created my own @fontsource packages for fonts that aren't published on npm. So "Baron Neue" being missing from Google Fonts shouldn't be an issue. And yeah, if "Montserrat", "Bad Script", and "DM Sans" aren't being used, then they should be removed.
However, I am concerned that I haven't found a license for "Baron Neue" yet if it isn't part of Google Fonts; I'd like to learn where Powerful Pathways found the font.


Add Car class for multi-car domain

Currently the simulator represents each person in the building via Person class. But the actual elevator car is first assumed to be one and hard-coded into the simulator.
Add a new class Car which will represent every car of the simulator. Initially there will be just one, but the simulator will have a list self._cars of objects Car. Each car may have its own data, like capacity for example.
When we create a Simulation object, we need to pass how many cars we want, and possibly some data of them (e.g., the capacity/size of each car). By default that is just 1

Will be closed then the PR #1 is merged


Minor Grammatical changes

Changes:
line 60 : Mentee to Mentees
line 65: Mentor to Mentors

@srinidhibhat45 Will you be able to work on the other grammatical changes mentioned here: #5 ?

You can just add commits to your forked branch patch-1 and they will automatically get added here. You don't have to create another branch or PR.

The issue got resolved in #62


HSEARCH-2927 Backport to 5.6

https://hibernate.atlassian.net//browse/HSEARCH-2927 (Update to Apache Lucene 5.5.5)
Opening a PR instead of merging the backport directly, since 5.6 was not originally marked for backport.
@Sanne any reason not to backport?

merged. Thanks!
No I had no reason to not backport, I simply had not finished testing that.


[D455] Calibrating the IMU for D455

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 18.04.3

Kernel Version (Linux Only)
5.4.0-48-generic

Platform
PC

SDK Version
2.36.0

Language
C/python

Segment
Robot

Issue Description
I found the imu calibraition tool for D435i and L515 in:
https://github.com/IntelRealSense/librealsense/tree/development/tools/rs-imu-calibration#rs-imu-calibration-tool
is it equally applicable to D455? Thanks in advance!

Hi @zc08
Yes

Hi @dorodnic  Thanks very much for your answer to @zc08   👍

Could you please help figure out the "strange duplication region"?  #7556 It's very important to me.
thanks in advance! @MartyG-RealSense @dorodnic

Hi @wangsff  I am not involved in handling L515 cases as another RealSense team member is responsible for those.

Thank you!


Add a mode to see amounts in UD at the time of the transaction

When I have made a transaction of 1 UD, as time goes by, it decrease because current UD is bigger than the 1 UD at the time of the transaction.
It would be usefull to show amounts in UD "at the time of the transaction", beside the actual mode of showing in "current UD".

That'd be a great enhancement.
This referential need some changes in the current way the referentials work.
I suggest to implement it after the global refactoring for the 0.11. Implementing more complex referentials needs to be thought.

I suggest to add an other column DU at time of transaction next to the DU column in the transaction tab.

Implemented in branch feature/past_dividend . Please check it out and tell me what you think about it ! :)

It's great!


Scope discovery

Is your feature request related to a problem?
Once upon a time I wanted to add a company to the scope, I had to manually go and find their ASN get the CIDR addresses and add them to the scope. How time consuming right?
Describe the feature you'd like
Use amass to discover the IP addresses/ASN for an organization or domain, if Amass finds ASN's for the organization, display them so that you can pick which ones you want to add to scope. Sometimes you may get ASN's for an organization's name that aren't related to the target. Apply tags to the imported scope with the name of the organization so that they are easily identifiable.
Have you considered alternative ways to get this feature
Writing a simple bash script that I could call from the GUI that would add the output of amass to the scope.

Related to #111.


[core-amqp] add react-native version for some utilities

similar to PR https://github.com/Azure/azure-sdk-for-js/pull/30080

Packages impacted by this PR
@azure/core-amqp
Issues associated with this PR
https://github.com/Azure/azure-sdk-for-js/issues/30065

API change check
API changes are not detected in this pull request.


Process markdown in --help

What was changed

Transformed markdown links such as [Workflow Execution](/concepts/what-is-a-workflow-execution) to Workflow Execution when outputting in --help
Highlighted code blocks

Additional context:
Also considered https://github.com/gomarkdown/markdown however it's a bit complicated to get the desired output. E.g. with the external package it would remove texts such as temporal workflow describe [command options]
Why?

Readability of --help
Checklist

Closes

How was this tested:

Added a test

Any docs updates needed?

made template changes here https://github.com/temporalio/cli/pull/167


get any errors when i use wasm-pack command by mio

I developed a project using tokio version 1.28.2, the dependencies are as follows:
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.18"
serde-wasm-bindgen = "0.5"

Now to convert to wasm (version: v0.11.1) for use on the web side, I run the following command:
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
   Compiling proc-macro2 v1.0.60
   Compiling libc v0.2.146
   Compiling parking_lot_core v0.9.8
   Compiling lock_api v0.4.10
   Compiling url v2.4.0
   Compiling mio v0.8.8
   Compiling num_cpus v1.15.0

error[E0432]: unresolved import `crate::sys::IoSourceState`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:12:5
   |
12 | use crate::sys::IoSourceState;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys`

error[E0432]: unresolved import `crate::sys::tcp`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:15:17
   |
15 | use crate::sys::tcp::{bind, listen, new_for_addr};
   |                 ^^^ could not find `tcp` in `sys`

error[E0432]: unresolved import `crate::sys::tcp`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/stream.rs:13:17
   |
13 | use crate::sys::tcp::{connect, new_for_addr};
   |                 ^^^ could not find `tcp` in `sys`

error[E0433]: failed to resolve: could not find `Selector` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/poll.rs:300:18
    |
300 |             sys::Selector::new().map(|selector| Poll {
    |                  ^^^^^^^^ could not find `Selector` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:24:14
   |
24 |         sys::event::token(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:38:14
   |
38 |         sys::event::is_readable(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:43:14
   |
43 |         sys::event::is_writable(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:68:14
   |
68 |         sys::event::is_error(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:99:14
   |
99 |         sys::event::is_read_closed(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:129:14
    |
129 |         sys::event::is_write_closed(&self.inner)
    |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:151:14
    |
151 |         sys::event::is_priority(&self.inner)
    |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:173:14
    |
173 |         sys::event::is_aio(&self.inner)
    |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:183:14
    |
183 |         sys::event::is_lio(&self.inner)
    |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:221:26
    |
221 |                     sys::event::debug_details(f, self.0)
    |                          ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `tcp` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:103:18
    |
103 |             sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr))
    |                  ^^^ could not find `tcp` in `sys`

error[E0433]: failed to resolve: could not find `udp` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/udp.rs:122:14
    |
122 |         sys::udp::bind(addr).map(UdpSocket::from_std)
    |              ^^^ could not find `udp` in `sys`

error[E0433]: failed to resolve: could not find `udp` in `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/udp.rs:544:14
    |
544 |         sys::udp::only_v6(&self.inner)
    |              ^^^ could not find `udp` in `sys`

error[E0412]: cannot find type `Selector` in module `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/poll.rs:254:20
    |
254 |     selector: sys::Selector,
    |                    ^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `Selector` in module `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/poll.rs:688:44
    |
688 |     pub(crate) fn selector(&self) -> &sys::Selector {
    |                                            ^^^^^^^^ not found in `sys`

error[E0412]: cannot find type `Waker` in module `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/waker.rs:79:17
   |
79 |     inner: sys::Waker,
   |                 ^^^^^ not found in `sys`
   |
help: consider importing one of these items
   |
1  | use core::task::Waker;
   |
1  | use crate::Waker;
   |
1  | use std::task::Waker;
   |
help: if you import `Waker`, refer to it directly
   |
79 -     inner: sys::Waker,
79 +     inner: Waker,
   |

error[E0433]: failed to resolve: could not find `Waker` in `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/waker.rs:87:14
   |
87 |         sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
   |              ^^^^^ could not find `Waker` in `sys`
   |
help: consider importing one of these items
   |
1  | use core::task::Waker;
   |
1  | use crate::Waker;
   |
1  | use std::task::Waker;
   |
help: if you import `Waker`, refer to it directly
   |
87 -         sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
87 +         Waker::new(registry.selector(), token).map(|inner| Waker { inner })
   |

error[E0412]: cannot find type `Event` in module `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:18:17
   |
18 |     inner: sys::Event,
   |                 ^^^^^ not found in `sys`
   |
help: consider importing this struct
   |
1  | use crate::event::Event;
   |
help: if you import `Event`, refer to it directly
   |
18 -     inner: sys::Event,
18 +     inner: Event,
   |

error[E0412]: cannot find type `Event` in module `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:187:55
    |
187 |     pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {
    |                                                       ^^^^^ not found in `sys`
    |
help: consider importing this struct
    |
1   | use crate::event::Event;
    |
help: if you import `Event`, refer to it directly
    |
187 -     pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {
187 +     pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event {
    |

error[E0412]: cannot find type `Event` in module `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:191:41
    |
191 |             &*(sys_event as *const sys::Event as *const Event)
    |                                         ^^^^^ not found in `sys`
    |
help: consider importing this struct
    |
1   | use crate::event::Event;
    |
help: if you import `Event`, refer to it directly
    |
191 -             &*(sys_event as *const sys::Event as *const Event)
191 +             &*(sys_event as *const Event as *const Event)
    |

error[E0412]: cannot find type `Event` in module `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/event.rs:217:46
    |
217 |             struct EventDetails<'a>(&'a sys::Event);
    |                                              ^^^^^ not found in `sys`
    |
help: consider importing this struct
    |
1   | use crate::event::Event;
    |
help: if you import `Event`, refer to it directly
    |
217 -             struct EventDetails<'a>(&'a sys::Event);
217 +             struct EventDetails<'a>(&'a Event);
    |

error[E0412]: cannot find type `Events` in module `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/events.rs:43:17
   |
43 |     inner: sys::Events,
   |                 ^^^^^^ not found in `sys`
   |
help: consider importing this struct
   |
1  | use crate::Events;
   |
help: if you import `Events`, refer to it directly
   |
43 -     inner: sys::Events,
43 +     inner: Events,
   |

error[E0433]: failed to resolve: could not find `Events` in `sys`
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/events.rs:94:25
   |
94 |             inner: sys::Events::with_capacity(capacity),
   |                         ^^^^^^ could not find `Events` in `sys`
   |
help: consider importing this struct
   |
1  | use crate::Events;
   |
help: if you import `Events`, refer to it directly
   |
94 -             inner: sys::Events::with_capacity(capacity),
94 +             inner: Events::with_capacity(capacity),
   |

error[E0412]: cannot find type `Events` in module `sys`
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/events.rs:189:47
    |
189 |     pub(crate) fn sys(&mut self) -> &mut sys::Events {
    |                                               ^^^^^^ not found in `sys`
    |
help: consider importing this struct
    |
1   | use crate::Events;
    |
help: if you import `Events`, refer to it directly
    |
189 -     pub(crate) fn sys(&mut self) -> &mut sys::Events {
189 +     pub(crate) fn sys(&mut self) -> &mut Events {
    |

error[E0425]: cannot find value `listener` in this scope
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:74:24
   |
74 |         set_reuseaddr(&listener.inner, true)?;
   |                        ^^^^^^^^ not found in this scope

error[E0425]: cannot find value `listener` in this scope
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:76:15
   |
76 |         bind(&listener.inner, addr)?;
   |               ^^^^^^^^ not found in this scope

error[E0425]: cannot find value `listener` in this scope
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:77:17
   |
77 |         listen(&listener.inner, 1024)?;
   |                 ^^^^^^^^ not found in this scope

error[E0425]: cannot find value `listener` in this scope
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:78:12
   |
78 |         Ok(listener)
   |            ^^^^^^^^ not found in this scope

error[E0425]: cannot find value `stream` in this scope
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/stream.rs:90:18
   |
90 |         connect(&stream.inner, addr)?;
   |                  ^^^^^^ not found in this scope

error[E0425]: cannot find value `stream` in this scope
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/stream.rs:91:12
   |
91 |         Ok(stream)
   |            ^^^^^^ not found in this scope

error[E0425]: cannot find function `set_reuseaddr` in this scope
  --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:74:9
   |
74 |         set_reuseaddr(&listener.inner, true)?;
   |         ^^^^^^^^^^^^^ not found in this scope

error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpListener>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:146:20
    |
146 |         self.inner.register(registry, token, interests)
    |                    ^^^^^^^^ method not found in `IoSource<TcpListener>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `register` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `register`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpListener>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:155:20
    |
155 |         self.inner.reregister(registry, token, interests)
    |                    ^^^^^^^^^^ method not found in `IoSource<TcpListener>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `reregister` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `reregister`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpListener>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/listener.rs:159:20
    |
159 |         self.inner.deregister(registry)
    |                    ^^^^^^^^^^ method not found in `IoSource<TcpListener>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `deregister` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `deregister`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpStream>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/stream.rs:325:20
    |
325 |         self.inner.register(registry, token, interests)
    |                    ^^^^^^^^ method not found in `IoSource<TcpStream>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `register` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `register`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpStream>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/stream.rs:334:20
    |
334 |         self.inner.reregister(registry, token, interests)
    |                    ^^^^^^^^^^ method not found in `IoSource<TcpStream>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `reregister` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `reregister`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpStream>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/tcp/stream.rs:338:20
    |
338 |         self.inner.deregister(registry)
    |                    ^^^^^^^^^^ method not found in `IoSource<TcpStream>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `deregister` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `deregister`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `register` found for struct `IoSource<std::net::UdpSocket>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/udp.rs:622:20
    |
622 |         self.inner.register(registry, token, interests)
    |                    ^^^^^^^^ method not found in `IoSource<UdpSocket>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `register` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `register`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/udp.rs:631:20
    |
631 |         self.inner.reregister(registry, token, interests)
    |                    ^^^^^^^^^^ method not found in `IoSource<UdpSocket>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `reregister` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `reregister`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

error[E0599]: no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/net/udp.rs:635:20
    |
635 |         self.inner.deregister(registry)
    |                    ^^^^^^^^^^ method not found in `IoSource<UdpSocket>`
    |
   ::: /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/io_source.rs:62:1
    |
62  | pub struct IoSource<T> {
    | ---------------------- method `deregister` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `deregister`, perhaps you need to implement it
   --> /Users/smile/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.8.8/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `mio` due to 44 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed

What can I do to fix these errors???
Thank you~

If I understand correctly you're trying to run Mio on browser, which is not support. Mio only supports WASI, which an API standard (similar to POSIX, but for wasm). Can you try disabling the I/O features of Tokio? That might allow it to compile for the browser, but I'm not sure.

Please check out the documentation for wasm support in Tokio.

@poohlaha did you resolve the issue?

I'm going to close this due to inactivity. Mio should probably not end up in your wasm binary targeted at the web.


Sample from prior using inference algorithm

As pointed out in this Discourse thread, there are cases where you sampling from the prior does not necessarily mean sample(model, Prior(), num_samples), e.g. if you are "manually" making certain adjustments to the logjoint using addlogrob!. In these cases we need to use an actual inference algorithm to perform sampling.
As demonstrated in the thread, it's possible to do atm but requires a lot of manual work which seems unnecessary.
IMO we should provide a convenient way of doing this, e.g. make Prior optionally wrap an alg so it becomessample(model, Prior(NUTS()), num_samples). This also probably requires making DynamicPPL.initialsampler a bit more flexible, e.g. allow specification of Context.

We now have a Prior() sampler.


Global --version flag clashes with the service registry artifacts get --version flag

Feature or problem description
Do we actually need --version flag considering that we have version command?

The main reason for having both is that both are very common. Many developers have personal preferences of one over the other and so it would come naturally for them to use it regularly.

I'd like to keep it. But we can avoid this clash by only allowing --version to exist on the root command (right now it is global and so is clashing).

@craicoverflow functionality wise there is no clash. Problem is that --version is just printed in help as global along with --version for the commands.

rename artifacts --version to something else (--version-number, --version-id, --version-ref)

This is going to make this argument overly long

But we can avoid this clash by only allowing --version to exist on the root command (right now it is global and so is clashing).

That will be my prefference