Not being able to compile an enum with impl

Hello everybody!
I'm getting the next error wehen trying to compile an enum with an impl
error: cannot shadow already defined class 'Foo' Error: Running the wasm-bindgen CLI Caused by: Running the wasm-bindgen CLI Caused by: failed to execute 'wasm-bindgen': exited with exit status: 1
like this:
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub enum Foo {
    A,
    B
}

#[wasm_bindgen]
impl Foo {
    pub fn from(f: usize) -> Option<Foo> {
        match f {
            0 => Some(Foo::A),
            1 => Some(Foo::B),
            _ => None
        }
    }
}

wasm-pack version: 0.11.0
rustc version: 1.69.0
Regards!

I believe this isn't an issue inherent in wasm-pack, but instead the underlying wasm-bindgen ? It's got to do with enums in Typescript not supporting methods. Related issue here: https://github.com/rustwasm/wasm-bindgen/issues/1715, which seems to suggest exporting regular functions instead of methods.

You're right, it's more related with wasm-bindgen.
Thanks


Set upper limit for fetchSize to prevent OOM errors

Codecov Report

Merging #5607 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #5607      +/-   ##
============================================
- Coverage     82.86%   82.84%   -0.02%
+ Complexity    11779    11777       -2
============================================
  Files          1390     1390
  Lines         45241    45241
  Branches       5621     5622       +1
============================================
- Hits          37488    37479       -9
- Misses         5147     5148       +1
- Partials       2606     2614       +8

Impacted Files
Coverage Δ
Complexity Δ

...a/io/crate/planner/projection/FetchProjection.java
75% <100%> (ø)
13 <0> (+1)
:arrow_up:

...arch/indices/recovery/BlobStartPrefixResponse.java
66.66% <0%> (-33.34%)
3% <0%> (-2%)

...io/crate/protocols/postgres/types/VarCharType.java
87.5% <0%> (-12.5%)
9% <0%> (-2%)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
75% <0%> (-10%)
2% <0%> (ø)

...crate/planner/projection/MergeCountProjection.java
63.63% <0%> (-9.1%)
5% <0%> (-1%)

...peration/collect/BatchIteratorCollectorBridge.java
65.78% <0%> (-7.9%)
2% <0%> (ø)

...io/crate/planner/projection/ProjectionVisitor.java
35.29% <0%> (-5.89%)
6% <0%> (-1%)

...admin/indices/create/BulkActiveShardsObserver.java
71.87% <0%> (-3.13%)
7% <0%> (-1%)

...src/main/java/io/crate/analyze/symbol/Literal.java
84.53% <0%> (-2.07%)
49% <0%> (-1%)

...a/io/crate/operation/fetch/NodeFetchOperation.java
83.83% <0%> (-2.03%)
14% <0%> (ø)

... and 14 more

Continue to review full report at Codecov.

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


Add oracle_pallet

Grant Application
This application is (select one):

[x] Speculative (use this by default)
[ ] an RFP response

This application is (select one):

[ ] Public (fully)
[x] Public with private finances

Abstract
Equilibrium’s oracle module will be a 9-week long project with the final aim to deliver the following:

An open-source oracle module which provides prices of different assets on-chain.
Off-chain module configurable via UI/CURL.
Staking functionality for designated feeders.
Support of multiple data-sources both public and private.
Ability to change/switch the data-source on the fly.
Adjustable price_peridocity changed on the fly, but no faster than once per block.
Built-in medianizer to calculate final reference price with configurable price relevance period.
Reward/slashing mechanism for feeders.

Checklist

[x] The grants document has been read and understood.
[x] The Google Form will be completed accurately. Note that the Google Form requires the pull request URL.
[x] Abstract (above) is succinct and complete.
[x] The application is being included into the correct directory: either 'targeted' or 'speculative'.
[x] The application includes a project description.
[x] The application includes all names of team members.
[x] The application includes a description of the team's experience.
[x] The application includes all necessary links (e.g. GitHub and LinkedIn)
[x] The "Development Roadmap" section in the application has a timeline of development ("milestones").
[ ] The "Development Roadmap" section in the application has an estimate of funds required.
[x] The "Development Roadmap" section gives an indication of the team's long term plans.
[x] The "Development Roadmap" section includes documentation as a deliverable for at least one milestone.

Closing for now due to the curve grant: https://github.com/w3f/Open-Grants-Program/blob/master/applications/curve_amm.md


Implement weak Etag setting for HttpCache filter, fixes #11137

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

Fixed issues
#11137

Merged https://github.com/yiisoft/yii2/commit/1dfab19b77d2ea719ccd0c59a0bf68f52adcd996 with some adjustmentes. Thanks!


ImGui Config and backend flags

I implemented getter and setter methods for imgui conflig and backend flags. I also remapped conflig and backend flags enum to pyimgui to make the flags easily usable.

Coverage increased (+0.1%) to 54.151% when pulling 4670dd4d1718b92b434e260910c860d808b0bf22 on Red-Pheonix:config_and_backend_flags into d5a50a2781f76be3679bc3d4da54db3db4288681 on swistakm:master.

Hi @Red-Pheonix! Thanks for contribution! :)

Feature released in 1.2.0


Missing %

https://github.com/CSC-IT-Center-for-Science/ansible-role-slurm/blob/master/templates/slurm.conf.j2#L15

Sorry about this!
Could you tag this version and update requirements.yml in fgci-ansible too?

Oh, yes, forgot about this.
Sami Maisala reported that there's another missing % on line 45.
https://github.com/CSC-IT-Center-for-Science/ansible-role-slurm/blob/50b1d2b69d230dffec2ee49fe42252397988dabb/templates/slurm.conf.j2#L45

Ah, dang. Those templates are so hard to get right! :(

Done. Requirements.yml should be ok now

Got some more travis CI testing working in #5 - hopefully this will catch errors in the future. Not sure if it will barf on the missing % though.


feat: link to hubspot form from requests for full access and higher rate - AI-626 AI-627

Description

Updates email for demo teacher access banner and request a higher limit link in FAQ to hubspot forms
Dopper secrets updated for RATELIMIT_FORM_URL

Issue(s)
Fixes #
How to test
/faqs.  - request a higher limit.
/alia.   - contact us for full access - with demo account enabled
Checklist

[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Does this PR update a package with a breaking change

:tada: This PR is included in version 1.16.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


passphrase support

Make sure you don't have a passphrase set on the private key.

Any thoughts on adding support keys with passphrases?

Why would that make sense?

Given that in this case it is just another env variable - little.
Nevertheless they are common - at least in the interactive world.
And some environments even require them.
I personally think it would probably make more sense to tighten the security (for that user/key) on the server instead. But that's beyond the scope of this issue.

I think you should not use your "interactive" key for GH Actions, but use a dedicated key.
The passphrase is not an additional security measure at the server side, but it's used to encrypt the key before it is stored on disk. Since this action recommends using Action Secrets to store the key, it does not make sense to me to store an encrypted key but then use another secret to hold the key passphrase.
If you already have a key with a passphrase, you can also remove it with ssh-keygen.
WDYT?

I definitely should be a different key - that is without question.
In the case of github actions I guess I agree, it really does not make much sense as both would be passed in as env variables.
I think I will have to go another way anway. Sorry for the noise :)


correct issue #43 and add more array helper method

change "point" to be "Point" in test/array/array.widl for issue #43
add FromArrayOfImplT method to enable creation of ArrayHelper from raw
impl pointer array. And a new NewInstance method which carries a
impl ptr parameter is added into NanXXX classes to enable creating
NanXXX objects with existing impl ptrs.

@kenny-y

@tingshao That's a wonderful feature, I believe the team is thirsty of it. Thanks.
Just a quick question: has the FromArrayOfImplT() method and new NewInstance(T*)  method been tested?

BTW. Usually it'll be easier to manage our repo if we split multiple features/fixes into many small PRs, for this repo, we don't need to follow this rule all the time, though it'll be always nice to have small PRs :)

@kenny-y you're right. Thanks for the review, I'll add the UT test.

@tingshao the trybot is now enabled, please fix the related errors


Implement X-HTTP-Method-Override handling in Fastify

Is your feature request related to a problem? Please describe.
QSEoW doesn't support http DELETE calls, only GET and POST are supported.
Use X-HTTP-Method-Override to redirect from POST to other verbs when needed.
Need to find a solution for this using Fastify though.

Something like
fastify.addHook('onRequest', (request, reply, done) => {
  // Some code
  done()
})

from https://www.fastify.io/docs/latest/Hooks/#onrequest


Docs reflect deprecated elements For eg: Radio Group

Its great that you guys are going with the pace. But i think its better to keep the docs updated as well,
Because when the user search for stuffs for implementation, it gives a false impression of the library.
Hope you guys update it soon. Thanks in advance.

Nope docs are correct changelog is incorrect closing

I will update changelod


Fixed caffe_converter and improved test_converter

While trying to use the caffe_converter on bvlc_googlenet I came across a bug in the conversion process which failed it. I've fix the bug, and used test_converter to check the performance of the converted model.
I added support for running the test_converter on CPU, and also fixed a bug related to resnet-* conversion which also failed converting.
Lastly, I've noticed the performance comparison done in test_converter allows for an additive 30% reduction (!) in accuracy performance in the converted model. I suspect the original intent is to allow a 3% drop in performance. The actual performance drop measured was ranging between 0% and 1.6% on the three models tested (bvlc_googlenet, vgg-16, resnet-50).
Following are related issues:

#6441 - can be closed after this merge
#6319 - the converter still doesn't support networks with multiple outputs in the final deployment, but it does support now network trained with multiple outputs (like bvlc_googlenet). In short, the problem encountered in this issue is resolved, but its title is not accurate.

Can someone explain the procedure for approving a pull request in this project?

Hi @arikpoz usually authors of relevant code do the review, which is @mli in this case.
But looks like he is busy. You change looks pretty benign. If you can double check it didn't break anything I'll merge it.

Unfortunately I currently can't check on GPU, so if you could run 'python test_converter.py' over the GPU it would be a great check which I'm currently missing..
Other than that, we can wait a few more days for @mli to review it. I just asked since it is my first contribution to the project and didn't know what to expect.


[FancyZones] Inverted behaviour for holding non-primary mouse buttons

Environment
Windows build number: 10.0.18363.900
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce
Tick the "Hold a non-primary mouse button to activate zones while dragging"
Start dragging a window and instead of Zones activating when a non-primary button is down, it activates when they're up and disables when they're down.
Expected behavior
Active when keydown, disabled when keys up.
Actual behavior
Disabled when keydown, enabled when keys up.

Hi @iamtimmy
the secondary mouse click behavior has been changed accordingly to https://github.com/microsoft/PowerToys/issues/2136
and the change will be available in 0.19 (this week).
Closing this as it doesn't apply anymore.
Thanks.


CLI attempts to pull "local" Docker images (and fails)

If you point the CLI to a local manifest with -m manifest.json, and that manifest contains a local Docker definitions such as:
  "tokens-erc1155": {
    "image": "ghcr.io/hyperledger/firefly-tokens-erc1155",
    "local": true
  }

When running ff start, the CLI still pulls the latest image from the server, overwriting the local image.
This seems to be due to a duplication in the PullStack method here. It first iterates the images defined in the manifest, and does properly skip those tagged as local. But then it goes on to pull the latest for all images defined by the blockchain and token plugins, defeating the purpose of the earlier loop.
Side node: because it first pulls all the images defined in the manifest, it will pull images even if you're ultimately not using them (ie it pulls fabconnect even if your blockchain provider is Ethereum).
Conclusion from all this: we need better "pull" logic to intersect the info from these two places - it should only pull the Dockers actually used in the stack, but it should also honor the versions and "local" flag defined for those images in the manifest.

Came back to take a second look at this and uploaded a prospective fix in #144.
However, I wanted to note that the behavior has changed since I last looked. As of #111, it seems we don't pull at all during ff start <stack>. Previously the default was to pull all images explicitly during start, which could be overridden with --no-pull - but this option is gone now, and no pulls are done except with the new, separate ff pull <stack> command. The proposed fix will cause ff pull to work correctly now, and ff start will continue to not perform pulls (unless the underlying docker-compose command pulls automatically due to an image not being found).


Joining a cloudpath and string representing an absolute path removes the bucket name

from cloudpathlib import CloudPath

# absolute local path
local_path = '/tmp/some-file.txt'

# the local path is used directly to construct the cloud path
cloud_path = CloudPath('s3://some-bucket') / local_path

# the upload will fail
cloud_path.upload_from(local_path)

There are two errors in the output:

An error occurred (403) when calling the HeadObject operation: Forbidden
An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied

but neither of them explains the actual cause.
Traceback (most recent call last):
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/cloudpathlib/s3/s3client.py", line 186, in _s3_file_query
    self.client.head_object(
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/botocore/client.py", line 530, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/botocore/client.py", line 960, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/cloudpathlib/cloudpath.py", line 842, in upload_from
    if self.exists() and self.is_dir():
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/cloudpathlib/cloudpath.py", line 389, in exists
    return self.client._exists(self)
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/cloudpathlib/s3/s3client.py", line 179, in _exists
    return self._s3_file_query(cloud_path) is not None
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/cloudpathlib/s3/s3client.py", line 197, in _s3_file_query
    return next(
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/cloudpathlib/s3/s3client.py", line 198, in <genexpr>
    (
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/boto3/resources/collection.py", line 81, in __iter__
    for page in self.pages():
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/boto3/resources/collection.py", line 171, in pages
    for page in pages:
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/botocore/paginate.py", line 269, in __iter__
    response = self._make_request(current_kwargs)
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/botocore/paginate.py", line 357, in _make_request
    return self._method(**current_kwargs)
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/botocore/client.py", line 530, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/users/foo/.pyenv/versions/bar-env/lib/python3.10/site-packages/botocore/client.py", line 960, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied

Thanks @pjbull for correcting the title! That's exactly what the issue is
>>> from cloudpathlib import CloudPath
>>> local_path = '/tmp/some-file.txt'
>>> cloud_path = CloudPath('s3://some-bucket') / local_path
>>> print(cloud_path)
s3://tmp/some-file.txt
    ^
    |
  bucket is missing

Thanks @chopeen for this issue and the PR with a proposed fix. Apologies for the holdup, but I'm not 100% confident that this is the "right" fix, though I understand your use case.
We need to answer the question of whether a bucket or a cloud-provider is the equivalent of a drive.
As things work now, usually the root level / is just the cloud provider. This lets you work across buckets simply, like the following:
from cloudpathlib import CloudPath
cp = CloudPath("s3://bucket1/dir/file.txt")
cp
#> S3Path('s3://bucket1/dir/file.txt')

# reference a file in another bucket with the same client
cp2 = (cp / "/bucket2/dir/file.txt")
cp2
#> S3Path('s3://bucket2/dir/file.txt')

It is a useful convention since, for example, it let us do things like list all the available buckets on a provider, which was a requested feature. I do think with either option I present below we'll want to keep at least special casing s3:// to be able to list buckets like this.
from cloudpathlib import CloudPath

list(CloudPath("s3://").iterdir())
#> [ S3Path('s3://bucket1'),
#>   S3Path('s3://bucket2'),
#>   ... ]

That said, we're not consistent everywhere. For example, .parents does not include the provider root and .drive returns the bucket. Here's a comparison with WindowsPath behavior since posix paths don't have the same distinction:
from pathlib import PureWindowsPath
wp = PureWindowsPath("C:/bucket1/dir/file.txt")

wp.parts
#> ('C:\\', 'bucket1', 'dir', 'file.txt')

list(wp.parents)
#> [ PureWindowsPath('C:/bucket1/dir'),
#>   PureWindowsPath('C:/bucket1'),
#>   PureWindowsPath('C:/')]

from cloudpathlib import CloudPath
cp = CloudPath("s3://bucket1/dir/file.txt")

cp.parts
#> ('s3://', 'bucket1', 'dir', 'file.txt')

list(cp.parents)
#> [S3Path('s3://bucket1/dir'), S3Path('s3://bucket1')]

cp.anchor
#> 's3://'

wp.anchor
#> 'C:\\'

cp.drive
#> 'bucket1'

wp.drive
#> 'C:'

This example may also be a little misleading since the .drive property is a string, not a Path. I do think we should be consistent, and I'd like to get some community input on which interpretation is most natural.
Please add a 👍 if you think that the bucket should be the drive and absolute paths are relative to the bucket and a 👎 if you think the provider should be the drive and absolute paths are relative to the provider.

👍 : (CloudPath("s3://b1") / "/") == CloudPath("s3://b1")
👎 : (CloudPath("s3://b1") / "/") == CloudPath("s3://")

It is worth noting, that this will also affect a number of additional properties and methods like relative_to, glob, rmdir, and likely others.
Finally, either way we go this change would need a deprecation cycle and warnings since folks may rely on the existing inconsistent behavior.

Thank you for a detailed response!
For me, (CloudPath("s3://b1") / "/") == CloudPath("s3://") is misleading, because / for paths is an additive operation and therefore it makes no sense for b1 to suddenly disappear.

For me, (CloudPath("s3://b1") / "/") == CloudPath("s3://") is misleading, because / for paths is an additive operation and therefore it makes no sense for b1 to suddenly disappear.

I understand what you're saying, but I expect the opposite will be more confusing to other developers. Paths that start with / are absolute paths, so in pathlib Path('/dir') / '/dir2/file.txt' will result in Path('/dir2/file.txt'):
>>> from pathlib import Path
>>> Path('/dir1') / '/dir2/file.txt'
PosixPath('/dir2/file.txt')

I think that because of this any relative path (whether local or cloud) when represented as a string should not start with a /.

in pathlib Path('/dir') / '/dir2/file.txt' will result in Path('/dir2/file.txt')

Wow, that's surprising! I have just checked and it is documented, but I was not aware of it anyway.
Now I understand why you'd like to keep pathlib and cloudpathlib behave consistently when concatenating an absolute path.
What do you think I change my PR to only log a warning in files#diff-7fa444066bc9ac67a45a3ccd86ec9a23f16b3ce4a0c48752578fe51db3d80346R695, to explicitly communicate something like f'Segment {other} is an absolute path, so all previous segments are ignored: that may include the bucket name'?

Thanks @chopeen, I think that we'll close that PR for now since we generally avoid emitting noisy warnings, and for the most part if someone hits this an exception will bubble up immediately.
I'm going to leave this issue open though to focus in getting consistent on what we want the "drive" of a CloudPath to be.


⚠ Fetchers has degraded performance

In d546eff, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 308 ms

Resolved: Fetchers performance has improved in 6b33757.


add architecuture diagram

Description

Release required?

[X] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

Updated requested changes. We can do clean up with iterations.

@bhakta-ibm You can remove all the other diagram links from the ibm_catalog.json - I believe catalog will automatically add those

Removed.

/run pipeline

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

GitHub release
v0.0.4

Your semantic-release bot :package::rocket:


Not work for '--obfuscate' build.

After the build:
flutter build ipa --obfuscate --split-debug-info=./symbols
The ipa uploaded to the ios testflight can download and run, but the tensorflow lite related functions can not give response.

I suppose it is because TFLite model are kicked :) but need to check


Bug 1810133: connect to etcd using IPs

Use IPs instead of DNS names to generate storage URLs.
Always add local host storage URLs.

/lgtm
@sanchezl how did you break verify-deps?

/retest

/lgtm

/retest

/cherry-pick release-4,4

/cherry-pick release-4.4


Can't download video, only audio

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.18. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.11.18

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v http://pmd-dash.ficfiles.com/WM/FLAC_FOD_BRA/417/1007/806817347630_4056000.mpd
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://pmd-dash.ficfiles.com/WM/FLAC_FOD_BRA/417/1007/806817347630_4056000.mpd']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.11.18
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg 3.0
[debug] Proxy map: {}
[generic]<PHONE_NUMBER>30_4056000: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>30_4056000: Downloading webpage
[generic]<PHONE_NUMBER>30_4056000: Extracting information
[debug] Invoking downloader on 'http://pmd-dash.ficfiles.com/WM/FLAC_FOD_BRA/417/1007/806817347630_4056000_2-encrypted_track1_dashinit_46ecca6347f14240ac627448ba0dbe6f_.mp4'
[download] Destination:<PHONE_NUMBER>30_4056000-806817347630_4056000.m4a
[download] 100% of 37.60MiB in 00:08
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.foxplaybrasil.com.br/watch/806817347630

Description of your issue, suggested solution and other information
Hello guys, I'm trying to download this video but the problem is that yt-dl only downloads one audio track from the file and than finishes. The playlist file has 6 audio files and 6 video files. Am I doing something wrong?

DASH DRM is not supported.

Oh I see. Thanks! :)

Issue should be closed, URL is dead


Bump MACOSX_DEPLOYMENT_TARGET to 10.8

Commit Message:
Failing to build luajit on Macos with the current target. Thus bumping it up.
lj_err.c:716:8: error: thread-local storage is not supported for the current target
static __thread struct {
       ^
1 error generated.
make[1]: *** [lj_err.o] Error 1
make[1]: *** Waiting for unfinished jobs....

Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@milton0825 could you fix DCO please - i think the other ci fail is a flake

@milton0825 could you fix DCO please - i think the other ci fail is a flake

Just signed

@phlax ready to merge


Frequent Killed: 9 with rust on M1 Mac

Describe the bug
A clear and concise description of what the bug is.
I'm writing my first shell.nix:
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
pkgs.mkShell {
  nativeBuildInputs = [
    cargo
    cargo-edit
    libiconv
    openssl
    pkg-config
    rust-analyzer
    rustc
    rustfmt
    darwin.apple_sdk.frameworks.Security
  ];
}

It runs a (currently trivial) Rust script:
use rss::Channel;

async fn get_channel() -> anyhow::Result<Channel> {
    let ua = "killed-9-example";
    let client = reqwest::Client::builder().user_agent(ua).build()?;
    let content = client
        .get("https://n8henrie.com/feed.xml")
        .send()
        .await?
        .bytes()
        .await?;
    let channel = Channel::read_from(&content[..])?;
    Ok(channel)
}

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let result = get_channel().await?;
    for item in result.items() {
        for cat in &item.categories {
            println!("{:?}", cat)
        }
    }
    Ok(())
}

The code runs and works as expected. Sometimes. Unfortunately, I find that when I make a few trivial changes, cargo run results in Killed: 9. cargo clean && cargo run and it usually works again.
I made an example repo https://github.com/n8henrie/killed-9-example -- though it looks like an even more trivial example reproduces the bug (example below).
Steps To Reproduce
Steps to reproduce the behavior:
$ git clone https://github.com/n8henrie/killed-9-example
$ cd ./killed-9-example
$ nix-shell
$ cargo run
... it works ...
$ nvim -u NONE src/main.rs
... make a trivial change ...
$ cargo run
   Compiling killed-9-example v0.1.0 (/private/var/folders/kb/tw_lp_xd2_bbv0hqk4m0bvt80000gn/T/tmp.jfRdy7s1HQ/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.58s
     Running `target/debug/killed-9-example`
Killed: 9
$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.03s
     Running `target/debug/killed-9-example`
Killed: 9
$ cargo clean
$ cargo run
... it works again ...

An even simpler example, with no Rust dependencies:
$ cargo new simpletest
     Created binary (application) `simpletest` package
$ cd simpletest/
$ cat <<'EOF' > shell.nix
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
pkgs.mkShell {
  nativeBuildInputs = [
    cargo
    cargo-edit
    libiconv
    openssl
    pkg-config
    rust-analyzer
    rustc
    rustfmt
    darwin.apple_sdk.frameworks.Security
  ];
}
EOF
$ nix-shell
$ cargo run
   Compiling simpletest v0.1.0 (/private/var/folders/kb/tw_lp_xd2_bbv0hqk4m0bvt80000gn/T/tmp.n5qubIFyw2/simpletest)
    Finished dev [unoptimized + debuginfo] target(s) in 0.24s
     Running `target/debug/simpletest`
Hello, world!
$ nvim -u NONE src/main.rs
... trivial change, "hello world" -> "hello worlds"
$ cargo run
   Compiling simpletest v0.1.0 (/private/var/folders/kb/tw_lp_xd2_bbv0hqk4m0bvt80000gn/T/tmp.n5qubIFyw2/simpletest)
    Finished dev [unoptimized + debuginfo] target(s) in 0.14s
     Running `target/debug/simpletest`
Killed: 9
$ echo $?
137

Expected behavior
A clear and concise description of what you expected to happen.
cargo run works without Killed: 9
Screenshots
If applicable, add screenshots to help explain your problem.
I think the above examples should suffice
Notify maintainers
@Mic92 @LnL7 @zowoq
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.3.0, macOS 12.2.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.5pre20211007_844dd90`
 - channels(n8henrie): `""`
 - channels(root): `"darwin, nixpkgs-22.05pre358510.d34f7085a90"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Can you replace rustc with rustup and still reproduce the issue (when the same rust version is used)?

I thought it might be related to my editor interacting with rust-analyzer somehow, but it looks like that's not the case:
$ nix-shell --pure
[nix-shell:~/git/killed-9-example]$ cat src/main.rs
fn main() {
    println!("Hello, world!");
}
[nix-shell:~/git/killed-9-example]$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.00s
     Running `target/debug/killed-9-example`
Hello, world!

[nix-shell:~/git/killed-9-example]$ sed -i 's/world/you/' src/main.rs

[nix-shell:~/git/killed-9-example]$ cat src/main.rs
fn main() {
    println!("Hello, you!");
}

[nix-shell:~/git/killed-9-example]$ cargo run
   Compiling killed-9-example v0.1.0 (/Users/n8henrie/git/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
     Running `target/debug/killed-9-example`
Killed: 9

Can you replace rustc with rustup and still reproduce the issue

Yes:
Before:
[nix-shell:~/git/killed-9-example]$ rustc --version
rustc 1.58.1

After:
$ sed -i 's/rustc/rustup/' shell.nix
$ echo '1.58.1' > rust-toolchain
$ nix-shell --pure
[nix-shell:~/git/killed-9-example]$ rustc --version
rustc 1.58.1 (db9d1b20b 2022-01-20)

[nix-shell:~/git/killed-9-example]$ cargo run
   Compiling killed-9-example v0.1.0 (/Users/n8henrie/git/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.85s
     Running `target/debug/killed-9-example`
Hello, you!

[nix-shell:~/git/killed-9-example]$ sed -i 's/you/world/' src/main.rs

[nix-shell:~/git/killed-9-example]$ cat src/main.rs
fn main() {
    println!("Hello, world!");
}

[nix-shell:~/git/killed-9-example]$ cargo run
   Compiling killed-9-example v0.1.0 (/Users/n8henrie/git/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.21s
     Running `target/debug/killed-9-example`
Killed: 9

Ok. Could this not be a bug of the library rather than rustc/cargo? You could try to attach lldb and report the backtrace to the crate author.

Also, I don't see this behavior outside of nix-shell:
$ cargo new foo
     Created binary (application) `foo` package
$ cd foo/
$ cargo run
   Compiling foo v0.1.0 (foo)
    Finished dev [unoptimized + debuginfo] target(s) in 0.74s
     Running `target/debug/foo`
Hello, world!
$ sed -i 's/world/you/' src/main.rs
$ cargo run
   Compiling foo v0.1.0 (foo)
    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
     Running `target/debug/foo`
Hello, you!

log(1) could help you determine what exactly gets killed and why.

Thank you for the suggestion. I'll take a look and report back soon.

The following lines look suspicious, but this is above my level of expertise. I don't understand why changing a single line in the source code would produce this error in nix-shell but not in MacOS.
kernel: CODE SIGNING: cs_invalid_page(0x104ccc000): p=23225[killed-9-example] final status 0x23020200, denying page sending SIGKILL
kernel: CODE SIGNING: process 23225[killed-9-example]: rejecting invalid page at address 0x104ccc000 from offset 0x38000 in file "/

Full output:
$ log show --last 10m --debug --predicate 'eventMessage contains "killed-9-example"'
Timestamp                       Thread     Type        Activity             PID    TTL
2022-03-19 08:45:39.172822-0600 0x1a566    Default     0x0                  0      0    kernel: (AppleMobileFileIntegrity) AMFI: '/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example' has no CMS blob?
2022-03-19 08:45:39.172829-0600 0x1a566    Default     0x0                  0      0    kernel: (AppleMobileFileIntegrity) AMFI: '/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example': Unrecoverable CT signature issue, bailing out.
2022-03-19 08:45:39.173474-0600 0x1a568    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) allowed via dev tool environment(/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:39.173979-0600 0x1a568    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:39.174004-0600 0x1a568    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:39.174091-0600 0x1a568    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv-nocharset.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:39.174114-0600 0x1a568    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv-nocharset.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:39.174186-0600 0x1a568    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libcharset.1.0.0.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:39.174211-0600 0x1a568    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libcharset.1.0.0.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.948309-0600 0x1a86f    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) allowed via dev tool environment(/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.948758-0600 0x1a86f    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.948782-0600 0x1a86f    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.948861-0600 0x1a86f    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv-nocharset.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.948879-0600 0x1a86f    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libiconv-nocharset.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.948946-0600 0x1a86f    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libcharset.1.0.0.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.948964-0600 0x1a86f    Debug       0x0                  0      0    kernel: (AppleSystemPolicy) Library (/nix/store/sv54j4kykmp0v3izfnd8ycl8kli4l2ij-libiconv-50/lib/libcharset.1.0.0.dylib) allowed in Process (/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example) via dev tool environment (/System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal)
2022-03-19 08:45:54.949439-0600 0x1a86f    Default     0x0                  0      0    kernel: CODE SIGNING: cs_invalid_page(0x104ccc000): p=23225[killed-9-example] final status 0x23020200, denying page sending SIGKILL
2022-03-19 08:45:54.949452-0600 0x1a86f    Default     0x0                  0      0    kernel: CODE SIGNING: process 23225[killed-9-example]: rejecting invalid page at address 0x104ccc000 from offset 0x38000 in file "/Users/n8henrie/git/killed-9-example/target/debug/killed-9-example" (cs_mtime:1646679111.830753257 != mtime:1647701154.916071530) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
2022-03-19 08:45:54.949513-0600 0x1a86f    Default     0x0                  0      0    kernel: killed-9-example[23225] Corpse allowed 1 of 5
2022-03-19 08:45:55.486546-0600 0xa06f     Default     0x0                  1238   0    ReportCrash: Formulating fatal 309 report for corpse[23225] killed-9-example
2022-03-19 08:45:55.536960-0600 0x1a883    Default     0x0                  23268  0    osanalyticshelper: (OSAnalytics) creating type 309 as /Users/n8henrie/Library/Logs/DiagnosticReports/.killed-9-example-2022-03-19-084555.ips
2022-03-19 08:45:55.650391-0600 0x1a883    Default     0x0                  23268  0    osanalyticshelper: (OSAnalytics) Saved type '309(<private>)' report (1 of max 25) at /Users/n8henrie/Library/Logs/DiagnosticReports/killed-9-example-2022-03-19-084555.ips
2022-03-19 08:45:55.650962-0600 0x1a883    Default     0x0                  23268  0    osanalyticshelper: xpc log creation type 309 result success: /Users/n8henrie/Library/Logs/DiagnosticReports/killed-9-example-2022-03-19-084555.ips
2022-03-19 08:45:55.651118-0600 0xa06f     Default     0x0                  1238   0    ReportCrash: (OSAnalytics) client log create type 309 result success: /Users/n8henrie/Library/Logs/DiagnosticReports/killed-9-example-2022-03-19-084555.ips
2022-03-19 08:45:55.651171-0600 0xa06f     Default     0x0                  1238   0    ReportCrash: no MetricKit for process killed-9-example type 309 bundleId (null)
2022-03-19 08:45:55.651405-0600 0xa06f     Default     0x0                  1238   7    ReportCrash: (CoreAnalytics) [com.apple.CoreAnalytics.stability-event:event-send] Sending event: com.apple.stability.crash {"exceptionCodes":"0x0000000000000032, 0x0000000104ccc000(\n    50,\n<PHONE_NUMBER>\n)EXC_BAD_ACCESSSIGKILL (Code Signature Invalid)UNKNOWN_0x32 at 0x0000000104ccc000","incidentID":"1BCF2A6D-3234-4DF2-8E02-524D84272CF3","logwritten":1,"process":"killed-9-example","responsibleApp":"Terminal","terminationReasonExceptionCode":"0x2","terminationReasonNamespace":"CODESIGNING"}
2022-03-19 08:45:55.651663-0600 0x19e4c    Default     0x0                  643    7    analyticsd: [com.apple.CoreAnalytics.stability-event:event-recv] Received event: com.apple.stability.crash {"exceptionCodes":"0x0000000000000032, 0x0000000104ccc000(\n    50,\n<PHONE_NUMBER>\n)EXC_BAD_ACCESSSIGKILL (Code Signature Invalid)UNKNOWN_0x32 at 0x0000000104ccc000","incidentID":"1BCF2A6D-3234-4DF2-8E02-524D84272CF3","logwritten":1,"process":"killed-9-example","responsibleApp":"Terminal","terminationReasonExceptionCode":"0x2","terminationReasonNamespace":"CODESIGNING"}
2022-03-19 08:45:55.656449-0600 0x19e4c    Default     0x0                  643    7    analyticsd: [com.apple.CoreAnalytics.stability-event:event-aggregated] Aggregated. Transform: StabilityCrashNumerator3WithBundleVersion Dirty: 1 Event: com.apple.stability.crash {"exceptionCodes":"0x0000000000000032, 0x0000000104ccc000(\n    50,\n<PHONE_NUMBER>\n)EXC_BAD_ACCESSSIGKILL (Code Signature Invalid)UNKNOWN_0x32 at 0x0000000104ccc000","incidentID":"1BCF2A6D-3234-4DF2-8E02-524D84272CF3","logwritten":1,"process":"killed-9-example","responsibleApp":"Terminal","terminationReasonExceptionCode":"0x2","terminationReasonNamespace":"CODESIGNING","timestamp":1647701155628861}
2022-03-19 08:45:55.656556-0600 0x19e4c    Default     0x0                  643    7    analyticsd: [com.apple.CoreAnalytics.stability-event:event-aggregated] Aggregated. Transform: StabilityCrashNumerator3WithIncidentID Dirty: 1 Event: com.apple.stability.crash {"exceptionCodes":"0x0000000000000032, 0x0000000104ccc000(\n    50,\n<PHONE_NUMBER>\n)EXC_BAD_ACCESSSIGKILL (Code Signature Invalid)UNKNOWN_0x32 at 0x0000000104ccc000","incidentID":"1BCF2A6D-3234-4DF2-8E02-524D84272CF3","logwritten":1,"process":"killed-9-example","responsibleApp":"Terminal","terminationReasonExceptionCode":"0x2","terminationReasonNamespace":"CODESIGNING","timestamp":1647701155628861}
2022-03-19 08:45:55.656654-0600 0x19e4c    Default     0x0                  643    7    analyticsd: [com.apple.CoreAnalytics.stability-event:event-aggregated] Aggregated. Transform: StabilityCrashNumerator3 Dirty: 1 Event: com.apple.stability.crash {"exceptionCodes":"0x0000000000000032, 0x0000000104ccc000(\n    50,\n<PHONE_NUMBER>\n)EXC_BAD_ACCESSSIGKILL (Code Signature Invalid)UNKNOWN_0x32 at 0x0000000104ccc000","incidentID":"1BCF2A6D-3234-4DF2-8E02-524D84272CF3","logwritten":1,"process":"killed-9-example","responsibleApp":"Terminal","terminationReasonExceptionCode":"0x2","terminationReasonNamespace":"CODESIGNING","timestamp":1647701155628861}

I have an M1 Mac, so I tried out your example repo, and couldn't reproduce the problem.
https://asciinema.org/a/gHz8aFVsGOGaG8xbB9txIHIB4

@a-h thanks for chiming in! That's good to know, thanks for trying to reproduce.

@a-h Also -- multi-user install?
$ nix --version
nix (Nix) 2.5pre20211007_844dd90

I was on nix (Nix) 2.3.16 (multi-user) but I decided to update to test with later versions.
I removed Nix from my Mac, and reinstalled which brought in nix (Nix) 2.7.0 and also brought in a later version of rust (rustc 1.58.1) presumably due to updating channels, since once I started using it, I could run your example without first dropping the rust code in the toml file down to 2018.
However, still no problems for me. I tried it at least 10 times. I don't think it would make any difference about exactly which Mac I'm using, but I'm on an M1 Max MacBook Pro.
I don't use Nix in a great way. I'm usually the only person on a team that's using it, and I mainly just use it configure my system. My entire config is here: https://github.com/a-h/dotfiles in case there's anything useful in there for you.
You don't have a virus scanner running do you? Killing a program randomly like that sounds like the sort of thing it might do.

I can reproduce the problem on recent master (f5054121cb287317c4ca8c409ef9c68f36658013), but not in a way that makes it easy to debug.
[nix-shell:~/src/killed-9-example]$ i=0; while /run/current-system/sw/bin/git checkout src/main.rs && sed -i "s/world/$((i++))/" src/main.rs && cargo run; do :; done

[... snip runs 0 to 467 ...]

Updated 1 path from the index
   Compiling killed-9-example v0.1.0 (/Users/lorne/src/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/killed-9-example`
Hello, 468!
Updated 1 path from the index
   Compiling killed-9-example v0.1.0 (/Users/lorne/src/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
     Running `target/debug/killed-9-example`
Killed: 9

But this only seems to be a transient error, and the resulting binary is valid if I try to run it again:
[nix-shell:~/src/killed-9-example]$ target/debug/killed-9-example
Hello, 469!

Versions
❯ nix --version
nix (Nix) 2.7.0

❯ sw_vers
ProductName:	macOS
ProductVersion:	12.3
BuildVersion:	21E230

❯ nix-daemon --version
nix-daemon (Nix) 2.7.0

Ah, I wasn't persistent enough. I did think about scripting it, but didn't follow through.
Using your little script, I was also able to reproduce the error after 843 times...
Hello, 843!
Updated 1 path from the index
   Compiling killed-9-example v0.1.0 (/Users/adrian/github.com/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/killed-9-example`
Killed: 9

@a-h

You don't have a virus scanner running do you?

Nope. Again, thanks for your efforts here.
@jasonrm

you might try updating your nix channels

No luck. Could using nix-darwin be an issue here?
$ sudo -i nix-channel --list
darwin https://github.com/LnL7/nix-darwin/archive/master.tar.gz
nixpkgs https://nixos.org/channels/nixpkgs-unstable
$ sudo -i nix-channel --update
unpacking channels...
$ nix-shell --pure
[nix-shell:~/git/killed-9-example]$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/killed-9-example`
Killed: 9

Tried cargo clean and a few reruns, no luck.
@thefloweringash
Odd, it's basically instant for me, and resulting binary is no good if I try to re-execute. Looks like codesigning worked.
$ git checkout src/main.rs
Updated 0 paths from the index
$ nix-shell --pure
[nix-shell:~/git/killed-9-example]$ cargo clean
[nix-shell:~/git/killed-9-example]$ i=0; while cargo run; do sed -i "s/world[0-9]*/world$((i++))/" src/main.rs; done
   Compiling killed-9-example v0.1.0 (/Users/n8henrie/git/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.50s
     Running `target/debug/killed-9-example`
Hello, world!
   Compiling killed-9-example v0.1.0 (/Users/n8henrie/git/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.19s
     Running `target/debug/killed-9-example`
Killed: 9
[nix-shell:~/git/killed-9-example]$ ./target/debug/killed-9-example
Killed: 9
[nix-shell:~/git/killed-9-example]$ codesign
bash: codesign: command not found
[nix-shell:~/git/killed-9-example]$ exit
exit
$ codesign -vv ./target/debug/killed-9-example
./target/debug/killed-9-example: valid on disk
./target/debug/killed-9-example: satisfies its Designated Requirement

I don't seem to have cargo-cbuild, and my cargo and rustc are not codesigned. Should they be?
[nix-shell:~/git/killed-9-example]$ command -v cargo-cbuild
[nix-shell:~/git/killed-9-example]$ command -v cargo
/nix/store/sakd69ff7clis6b5w46cxjblgkl7r904-cargo-1.58.1/bin/cargo
[nix-shell:~/git/killed-9-example]$ command -v rustc
/nix/store/sfia0kg9dz6ii1i20jh14ijdpxky98sm-rustup-1.24.3/bin/rustc
[nix-shell:~/git/killed-9-example]$ exit
exit
$ codesign -vv /nix/store/sfia0kg9dz6ii1i20jh14ijdpxky98sm-rustup-1.24.3/bin/rustc
/nix/store/sfia0kg9dz6ii1i20jh14ijdpxky98sm-rustup-1.24.3/bin/rustc: code object is not signed at all
$ codesign -vv /nix/store/sakd69ff7clis6b5w46cxjblgkl7r904-cargo-1.58.1/bin/cargo
/nix/store/sakd69ff7clis6b5w46cxjblgkl7r904-cargo-1.58.1/bin/cargo: code object is not signed at all

@a-h

Because if it happens using a different installation mechanism, it can't be anything to do with Nix.

Well I'll be darned, you're right -- same crash outside of nix. Sorry to waste so much time! I've never seen it outside of nix so I was surprised.
Ends up, I think it's perhaps a problem with 1.58.1-aarch64-apple-darwin, which I pinned above but didn't commit to the repo (until just now).
I've now added the toolchain file and an example crasher script to the repo, though I'm also closing the issue as it looks like a rust problem and not nix.
Thanks so much to all for your help and again sorry for the time spent!

Well, it works outside of nix now (crashme.sh runs without crashing), likely since it's using 1.59, but still crashes in nix-shell, likely because it's still at 1.58.1 there. ¯\_(ツ)_/¯
$ rustc --version
rustc 1.59.0 (9d1b2106e 2022-02-23)
$ nix-shell --pure

[nix-shell:~/git/killed-9-example]$ rustc --version
rustc 1.58.1

[nix-shell:~/git/killed-9-example]$ cat rust-toolchain.toml
[toolchain]
# channel = "1.58.1"
channel = "stable"

[nix-shell:~/git/killed-9-example]$ ./crashme.sh
Updated 1 path from the index
   Compiling killed-9-example v0.1.0 (/Users/n8henrie/git/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.32s
     Running `target/debug/killed-9-example`
Hello, world!
   Compiling killed-9-example v0.1.0 (/Users/n8henrie/git/killed-9-example)
    Finished dev [unoptimized + debuginfo] target(s) in 0.15s
     Running `target/debug/killed-9-example`
./crashme.sh: line 10: 75979 Killed: 9               cargo run

Some seemingly related issues:

https://github.com/rust-lang/cargo/issues/10060
https://github.com/rust-lang/rust/issues/91541

I suppose I should still close, with the only pending issue being to wait for nixpkgs-unstable to update to 1.59.0?

#165406 has the rustc update iirc.

I'm wondering if this may have been related to using https://github.com/michaeleisel/zld/issues/110 the whole time; today I started getting the same crashes outside of nix, using rustc 1.60.0.
I've updated my example repo to a flake: https://github.com/n8henrie/killed-9-example
Interestingly, I can run nix develop -i in that repo and reproduce the crash -- but when I remove the zld relevant config from ~/.cargo/config, the crash also resolves in the nix environment (I guess not a nix shell anymore? what's the terminology here?).
Why is that? I had thought that nix develop -i should be reasonably close to nix-shell --pure, and that my ~/.cargo/config shouldn't even be picked up.
Should I be using something else for highly reproducibility / pure-ness with nix flakes?

zld 1.3.4 has been released and includes a fix for this issue: https://github.com/michaeleisel/zld/releases/tag/1.3.4


Add support for multiple screenshots in scenario steps

Cucumber allows saving of multiple images, but the report currently only displays the last image that was attached.
Updated the report to show all images attached to a step.
Note: I advise updating the css to better accommodate multiple images. Currently, small images will stretch to the width of the largest image - making them looked stretched,  and it's hard to tell where an image ends and another stops. In the screenshots below, you'll see how it looks with my custom css that I feel best displays the images. I'll gladly give you the css if you're wanting to copy and use it.

Coverage decreased (-0.3%) to 98.652% when pulling 332b5a37d55c77abb61a838b9be41bafbce63c35 on Brian-Dawson-Nerdery:master into d216ebaadc094dc4a77ebc07538aec3b898c4c1e on wswebcreation:master.

I'll be honest. I have no idea what the coverage/coveralls check is complaining about.


Is there currently some problem with What-If service in West Europe?

Is there currently some problem with What-If service in West Europe?

apologies for missing this Stan - are you still seeing an issue?

No problem. It is preview and expected. I cannot tell as one of my co-workers was reporting that every time he tries to deploy error is returned. Worked with what-if disabled.

OK, I will close this, but if your co-worker can still repro, please re-open.

I have a problem that might be related, all deployments stall in in the beginning and then fails because of time out. I first saw the problem yesterday, and still occurring today

@alex-frankel Can you check what is going on with the service? Is this may be the random issue that appears from time to time?

@simonhalby - is this timeout issue happening for what-if or for the actual deployment?

@alex-frankel The problem seems to be gone right now, but it was for what -if as far as i can see.
"InternalServerError - Long running operation failed with status 'Failed'. Additional Info:'Encountered internal server error while processing the deployment what-if request"

@simonhalby and @slavizh can you share the correlation IDs from the internal server error? We found a transient issue affecting a tiny percentage of What-If requests and we have already started fixing it, but want to double check that this was the root cause.

@majastrz I have a few correlation id as this happend a few times for me.
"3d36e202-3fde-4164-81e0-ec0a773ff887"
"50ce10b4-09eb-4121-a198-21a8f8290a4e"
"8eb4be62-4389-46cd-b5b0-70a4335d3154"

I checked our logs. There were two problems it seems:

The union() function in your template was failing at runtime due to the following error: "Type mismatch: Array vs. String". This seems like an issue with the template. Did you make changes to your template to make the error go away?
We have a bug in our error propagation that treated the evaluation failure as a server error instead of a client error. I created a task internally to fix this problem as well.

I did fix the error there was on "50ce10b4-09eb-4121-a198-21a8f8290a4e","8eb4be62-4389-46cd-b5b0-70a4335d3154"
But i do not believe there was an error on "3d36e202-3fde-4164-81e0-ec0a773ff887"

The type mismatch even though it is issue on our end by providing the wrong configuration certainly can be improved by providing useful error that the end user can understand what is the problem.

@slavizh Yup. That is the problem number 2 that I mentioned above.


ci: Auto update firebase api client

Fixes #1420
Test Plan

How do we know the code works?

Every Monday morning together with dependencies update ( but on separate PR) pull request with google client library update is created.
Under the hood it use commands (python 2.7 required)
pip install google-apis-client-generator
flankScripts shell firebase updateApiJson
flankScripts shell firebase generateJavaClient

so you could test this PR locally with them
Checklist

[x] Fixed issues with update client
[x] Create Github Action to update client

Are you testing the github actions on a fork?

Yes https://github.com/piotradamczyk5/flank/actions/runs/440668950
it fails, because I do not have custom scope token on it


Could not receive latest API key from iTunes Connect, this might be a server issue.

I'm following this guide to integrate Fastlane into React Native, when I get to the match setup though things get hairy. Do I need to set up distribution and development profiles within itunes connect or can I do it through itunes connect?
Ignoring ffi-1.9.18 because its extensions are not built.  Try: gem pristine ffi --version 1.9.18
Ignoring nokogiri-1.8.0 because its extensions are not built.  Try: gem pristine nokogiri --version 1.8.0
/Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'slack-notifier' (< 2.0.0, >= 1.3) among 136 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/feargalwalsh/.rvm/gems/ruby-2.2.3:/Users/feargalwalsh/.rvm/gems/ruby-2.2.3@global', execute `gem env` for more information
	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1311:in `block in activate_dependencies'
	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `each'
	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1300:in `activate_dependencies'
	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1282:in `activate'
	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:67:in `block in gem'
	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in `synchronize'
	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in `gem'
	from /Users/feargalwalsh/.rvm/gems/ruby-2.2.3/bin/fastlane:22:in `<main>'
	from /Users/feargalwalsh/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
	from /Users/feargalwalsh/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'

[14:09:46]: Seems like launching fastlane takes a while - please run
[14:09:46]:
[14:09:46]: $ [sudo] gem cleanup
[14:09:46]:
[14:09:46]: to uninstall outdated gems and make fastlane launch faster
[14:09:46]: Alternatively it's recommended to start using a Gemfile to lock your dependencies
[14:09:46]: To get started with a Gemfile, run
[14:09:46]:
[14:09:46]: $ bundle init
[14:09:46]: $ echo 'gem "fastlane"' >> Gemfile
[14:09:46]: $ bundle install
[14:09:46]:
[14:09:46]: After creating the Gemfile and Gemfile.lock, commit those files into version control
[14:09:46]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile

+-----------------------+----------------+
|        Summary for match 2.64.0        |
+-----------------------+----------------+
| type                  | appstore       |
| git_branch            | master         |
| keychain_name         | login.keychain |
| readonly              | false          |
| verbose               | false          |
| force                 | false          |
| skip_confirmation     | false          |
| shallow_clone         | false          |
| clone_branch_directly | false          |
| force_for_new_devices | false          |
| skip_docs             | false          |
| platform              | ios            |
+-----------------------+----------------+

[14:09:50]: To not be asked about this value, you can specify it using 'git_url'
[14:09:50]: URL to the git repo containing all the certificates: https://github.com/rozalado/match
[14:10:04]: Cloning remote git repo...
[14:10:04]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
[14:10:05]: 🔓  Successfully decrypted certificates repo
[14:10:05]: To not be asked about this value, you can specify it using 'username'
[14:10:05]: Your Apple ID Username<EMAIL_ADDRESS>[14:10:16]: Verifying that the certificate and profile are still valid on the Dev Portal...
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

Looking for related GitHub issues on fastlane/fastlane...

➡  Unable to connect to itunes connect - Environment issue
    https://github.com/fastlane/fastlane/issues/9109 [closed] 5 💬
    6 weeks ago

➡  Confusion about setting SSL Options
    https://github.com/fastlane/fastlane/issues/10261 [closed] 3 💬
    a week ago

➡  Jenkins/Deliver: Operation timed out - connect(2)
    https://github.com/fastlane/fastlane/issues/6862 [closed] 2 💬
    02 Feb 2017

and 1 more at: https://github.com/fastlane/fastlane/search?q=The%20request%20could%20not%20be%20completed%20because:%0A%09Could%20not%20receive%20latest%20API%20key%20from%20iTunes%20Connect,%20this%20might%20be%20a%20server%20issue.&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.

[!] The request could not be completed because:
	Could not receive latest API key from iTunes Connect, this might be a server issue.

@fastlane-bot  Yes I did
fastlane env
Ignoring ffi-1.9.18 because its extensions are not built.  Try: gem pristine ffi --version 1.9.18
Ignoring nokogiri-1.8.0 because its extensions are not built.  Try: gem pristine nokogiri --version 1.8.0
/Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/dependency.rb:315:in to_specs': Could not find 'slack-notifier' (< 2.0.0, >= 1.3) among 136 total gem(s) (Gem::LoadError) Checked in 'GEM_PATH=/Users/feargalwalsh/.rvm/gems/ruby-2.2.3:/Users/feargalwalsh/.rvm/gems/ruby-2.2.3@global', execute gem envfor more information 	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1311:inblock in activate_dependencies'
from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1300:in each' 	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1300:in activate_dependencies'
from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/specification.rb:1282:in activate' 	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:67:in block in gem'
from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in synchronize' 	from /Users/feargalwalsh/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in gem'
from /Users/feargalwalsh/.rvm/gems/ruby-2.2.3/bin/fastlane:22:in <main>' 	from /Users/feargalwalsh/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in eval'
from /Users/feargalwalsh/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `'

@feargswalsh92 It doesn't look like you have fastlane properly installed. It looks like some Ruby gems aren't properly built and it appears that you may not have openssl properly installed. There are docs here for installing fastlane properly (and in different ways) - https://docs.fastlane.tools/#choose-your-installation-method
fastlane env should be outputting some nice debug information that pastes nicely into the Github issue with system and fastlane information. I would try following the fastlane installation from the docs and then following that guide on how to interact with React Native.
Happy fastlaning! 🚀

Also, this section might be helpful :) https://docs.fastlane.tools/faqs/#im-getting-an-ssl-error

Internet points for one and all!

@joshdholtz I uninstalled fastlane and started following the steps in the docs as regards setting up fastlane. I ran
gem pristine ffi --version 1.9.18
and
gem pristine nokogiri --version 1.8.0
to get rid of those errors but the slack notifier one is persisting.

@feargswalsh92 Doing gem install fastlane should automaticaly have installed the slack-notifier dependency for you 🤔 Did you try running gem install slack-notifier and if so, what happened?

Thanks that worked, running into further issues down the line but I've got the bit between my teeth now!

@feargswalsh92 Glad to hear! Going to close this for now. Happy fastlaning! 🚀


Don't add to playlist & playback new tracks from file browser

Hi, wonderful update (I'm since years a huge fan of the classic 2.49! It was my main player for a decade).
(Sorry for my english, I'm spanish-speaker).
Now I installed this new version on windows 10 (x64), but I have a problem: when I double-click from the file browser on the music track (mp3, flac, etc.) or select "open with" [vuplayer], it open the player but don't add the track(s) to the playlist nor does it start playback (in 2.49, it automatically deleted the existent listed files and added the file (s) to a new playlist, starting playback automatically).

There's no support for opening files from Windows yet, but it's next on my list of things to do.
I will also be adding file browsing into the application itself.

The latest version 4.4 now has a file browser built in!
There is also command line support for opening files (and playlists) from the Windows file browser.


Ideally www.opensourcebrain.org should know you're logged in

Seems a bit strange if you log in and then go back to www.v2... that it still says "Login" on top right...
I realise it's a separate web site, but maybe there's an easy API call to see if a user is logged in and relace this with a link to the user account page..?

Can potentially revisit this later... Technically you could be logged in on v1 and v2 at the same time with different pws. The www page saying "you are logged in" could be confusing...


ROI Align CPU support.

Only tested with high level API python script in README.md (set device to 'cpu' while inference_detector is called).

CPU Forward only. CPU Backward is NOT supported.
Sorry for not mentioning this.

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

Thanks for your contribution. RoIAlign, RoIPool and NMS have been supported on CPU in the latest version.

Hi @qinjian623 ！We are grateful for your efforts in helping improve mmdetection open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/UjgXkPWNqA
If you have a WeChat account，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


⚠ Native Recommender (Offer) has degraded performance

In 4d33fe4, Native Recommender (Offer) (https://recommender.peasisoft.com/api/popup-content?id=165&store_hash=c24b76wbe2&position=1&currency_code=USD&screen_width=1373&is_user_logged_in=0&user_token=&type=3) experienced degraded performance:

HTTP code: 200
Response time: 15588 ms

Resolved: Native Recommender (Offer) performance has improved in 0f92d93 after 29 minutes.


Bulk Edit Entity Metadata

Is your feature request related to a problem? Please describe.
Managing metadata individually click by click consumes a lot of time and resources, not feasible in almost all scenarios.
To ease work and productivity of data owners/users with certain privileges, it would be nice to manage attributes of multiple entities simultaneously on the UI.
Describe the solution you'd like
In the UI, allow users to search entities by multiple criteria (owner, tag, name, glosary tag, tier, ...) and logical conditions. Once the list of matching entities appears on the screen, allow to select all or those on you want to make a massive and simultaneous change in their custom metadata.

In a next step/screen, new attributes (owner, tags, terms, ...) could be selected/added and will be common to all the selected entities, or some of the attributes that are currently common to all of them will be deleted/modified.

A complementary operation consists to allow entities to be exported to an excel or csv file, which the user would download to their desktop to work unattended, modifying the metadata of the entities at discretion. Once modified, the user would upload the entity file to OM through the UI.

Metadata changes will be done at the entity and/or attribute level, perhaps the user should indicate by UI the scope.

This operation will consider core OM aspects to garantee repositry integrity related to the user that requests: rights, role, owner, 	... over the involved entities.
In both cases (UI/File) and as process summary, a log is generated and viewed on screen, with the success or error of the operations, to guarantee entities have been updated correctly, or determinate errors on those not.
Describe alternatives you've considered
A custom development application with OM API integration.
Additional context
Owners are responsible for managing tens, hundreds or thousands of tables. Usually it's necessary to make multiple and simultaneous changes to entity custom metadata, even temporarily (owner, tags, tier, glossary terms, etc.).

+1. We found the same problem. It has been here for almost a year. Could you help prioritize this?

+1, we are facing this problem at the moment as we have a service that do bulk column description suggestions to table owners, resulting to hundreds and thousands tasks to review at once. The owners feedback that it is very painful with the current UX/UI. Would be great to prioritize this issue.

@aBoMBaYa @maiake we will shipping it in 1.3


BEAM-10668 - Replace toLowerCase().equals() with equalsIgnoreCase

There are a couple of instances in the code where toLowerCase().equals() is used, when equalsIgnoreCase() would suffice. The latter is more concise + also doesn't involve the default Locale that's used with toLowerCase(), which might be problematic depending on the String being compared.

@aromanenko-dev

Run Spotless PreCommit


rename: (FYPO:0005634)

abnormal chromosome segregation during meiosis I with premature sister kinetochore separation and equational sister chromatid separation
to
equational sister chromatid separation in meiosis I
I think the fact that the kinetochores separate early is a given, the phenotype is usually described  just as
equational sister chromatid separation in meiosis I
and the def clarifies anyway

done; kept old name as exact synonym
edit file: 024ce4890acf3f5f26e9ccd7525e95f8aacb0d26
release: c38c34e27020529fbfe08feb17b8451ebf4cfbda


Pin RSpec gems

Keep this module consistent with other PL ones.

Closing in favor of a future PR based on the latest modulesync. Stand by..


cinder_volume maas template is looking for the wrong metric

What version (commit) do you encounter this issue on?
master (a457cf2cb3aa9c1fd079f7aa851fba1e636ac836)
What type of issue is this (bug, feature, documentation, regression)?
bug
What is the expected behavior?
The maas template to set up monitoring for the cinder services is looking for the wrong metric. The template can be found here https://github.com/rcbops/rpc-openstack/blob/master/rpcd/playbooks/roles/rpc_maas/templates/cinder_volume_check.yaml.j2#L15
The template should set up the check against the correct metric (cinder-volume-<backendname>_status) which is reported by the plugin :
# ./cinder_service_check.py --host master1 <IP_ADDRESS>
status okay
metric cinder-volume-lvm_status uint32 1
metric cinder-backup_status uint32 1

What is actually happening?
The template is looking for the metric cinder-volume_status:
     if (metric["cinder-volume_status"] != 1) {
An alarm is being triggered in maas:
metric "cinder-volume_status" is not available
What were you attempting to do when you encountered this error (give as much detail as possible)?
Setting up monitoring on an all in one - it's the only alarm that alerted
How can we reproduce this issue?
run an all in one on master, setting DEPLOY_MAAS=yes, then go to intelligence.rackspace.com and check your aio server checks/alarms
How can we verify your issue is addressed?
Doing the above will result in no alarms
If this is a large issue, what can be done immediately to alleviate the issue while working on a longer-term solution?
One could edit the template manually to deploy the correct check. Or disable the check in the console.
What is your evaluation on the importance of this issue, and why?
I'd suggest perhaps prio-3, 2 at worst.
What branches / milestones do you believe this issue should target?
The list below is what is currently supported for backports
Remove branches (lines) you do not wish to target.
Not actually sure when this was introduced so leaving all here for now

[ ] Master
[ ] liberty-12.2
[ ] liberty-12.1
[ ] kilo

DocImpact: This section is to be completed by the issue owner as part of the issue's resolution.
Does your change require documentation?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[x] No documentation required for this change

Looks like this was introduced with ef3f99fb909da4c16adbc5dd33a21d22be5a38ca

There is a related issue, https://github.com/rcbops/rpc-openstack/issues/1098, that is already in progress and will address this issue.


memory error

hi, thanks for the script. I am trying to run the same net on 400x400 images, however can't have a batch_size larger than 8 otherwise I get a memory error from my GPU (NVIDIA GRID K520). What hardware are you using for this?

I'm using Titan GPU. Yes, these kind of models can be memory heavy, especially if you're using bigger input sizes. There are not much workarounds for this except:

reducing input image size
reducing batch size
try to reduce your model memory footprint by using gradient checkpointing - https://github.com/openai/gradient-checkpointing


Need LICENSE file in repo

Please add a license to this repo. Here's an explanation from SwiftPackageIndex.com about why this is important:
If the package license is showing as "No License" with a red exclamation icon, we could not find any license information in the package repository.
Using a package that does not have a license presents a significant legal risk. Unlicensed code is not open-source, and the original author reserves all rights by default. For more information, read this great blog post on using unlicensed code.
If you are the package author, you can fix this by adding a LICENSE file with an open-source license in your package's repository. The Swift Package Index will update license metadata a few hours after you add the license.

Thank you for reminding, added

On Aug 11, 2023, at 10:38 PM, B.T. Franklin @.***> wrote:
Please add a license to this repo. Here's an explanation from SwiftPackageIndex.com about why this is important:
If the package license is showing as "No License" with a red exclamation icon, we could not find any license information in the package repository.
Using a package that does not have a license presents a significant legal risk. Unlicensed code is not open-source, and the original author reserves all rights by default. For more information, read this great blog post https://expressionengine.com/blog/the-truth-about-the-risks-of-unlicensed-software on using unlicensed code.
If you are the package author, you can fix this by adding a LICENSE file with an open-source license in your package's repository. The Swift Package Index will update license metadata a few hours after you add the license.
—
Reply to this email directly, view it on GitHub https://github.com/ArchieGoodwin/PineconeSwift/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2RX5SP74QGHI4FEG4YINTXUZ32NANCNFSM6AAAAAA3NIX5A4.
You are receiving this because you are subscribed to this thread.


Update tests to cover all parameters for request configuration

@rezmoss : can you please assign this to me?

@JiginJayaprakash done , thx


How to debug running service in native-image mode

hi guys,
It's more of a question other than an issue I guess.
I have a garage project that I am using Spring-Native to build a reactive RESTFul service. Instead of using pure Reactor, I am using coroutine. With little marking around, I have got service up and running with the native image build.
Is there a way that I can debug/inspect the service that is running in native mode?

You can debug it using GDB, we will provide more documentation on that via #227.


Adding new VirtualMachines.POST.SimulateEviction action to compute api-version: 2019-12-01

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

LGTM, wait for ARM feedback. Meanwhile, @sandeepkv93 could you pls fix CI?

/azp run automation - sdk


Document description Error

Describe the bug
in Document Write simple logic code part we can find the we can find ~/workspace/api/demo/internal/logic/demologic.go files sentence, but there's not demologic.go file in any folders insteal of demoserver.go.
Screenshots
If applicable, add screenshots to help explain your problem.

Thanks for the feedback, the document was written incorrectly, the document has been fixed, the correct value is ~/workspace/rpc/demo/internal/logic/pinglogic.go

Thanks for the feedback, the document was written incorrectly, the document has been fixed, the correct value is ~/workspace/rpc/demo/internal/logic/pinglogic.go

ok


WIP - no merge

Build finished.

retest

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.

retest

retest

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.

Build triggered. sha1 is original commit.

Build started sha1 is original commit.

Build triggered. sha1 is original commit.

Build started sha1 is original commit.

Build finished.

Build triggered. sha1 is original commit.

Build started sha1 is original commit.

Build finished.

retest

Build triggered. sha1 is original commit.

Build started sha1 is original commit.

Build finished.

retest

Build triggered. sha1 is original commit.

Build started sha1 is original commit.

Build finished.

retest

Build triggered. sha1 is original commit.

Build started sha1 is original commit.

Build finished.


Removed Regex Check for Song names

已经修复了 https://github.com/maicong/music/commit/4682e8c050e88b47a8160d05cf98953ac3d549be


Method of exporting yaml has changed

I was just going through this tutorial and I had to download my yaml a different way. I had to edit the pipeline and then I was able to find the option to export the yaml.
I took a screenshot but I am not able to paste a picture here. But the option is called "Download full YAML". It is located under the three vertical dots on the pipeline edit screen.

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

ID: 36333c89-6223-73cb-ce45-6fbb2638722e
Version Independent ID: 286b8f96-6374-fedd-8d8d-a37fa5e1948e
Content: Migrate from Classic to YAML pipelines - Azure Pipelines
Content Source: docs/pipelines/migrate/from-classic-pipelines.md
Product: devops
Technology: devops-cicd-migrate
GitHub Login: @juliakm
Microsoft Alias: jukullam

Thanks @bennettnw2! I'll update the screenshots.


secrets: add helpers for docker registry and ECR

Signed-off-by: Nick Santos<EMAIL_ADDRESS>

i found this useful in a few other tiltfiles i was writing...probably also want to add some helpers to attach these secrets to serviceaccounts


Ability to rotate the map

We can rely on https://github.com/Raruto/leaflet-rotate to support the feature:

[x] method to change bearing in base map mixin
[x] control to interactively rotate the map
[x] createPane() function with target pane (rotate/norotate)
[x] selection and interaction events
[x] shape markers with labels (use norotatePane pane)
[x] feature layers
[x] tiled feature layers

Superseeded by https://github.com/kalisio/kdk/issues/986.


Features/modifier tools

Seems to work ok enough to push out to our brave beta testers.

This is just the snip tool for now - more to come hopefully.


CLI command to backup

Please can we have the backups features/functionality already available via the PocketBase admin dashboard as CLI command?
ex: ./pocketbase backup
I will like add it to my deployment workflow.
to make sure I backup the previous version of the DB to my S3 bucket before any update.
Jeffrey.

I'm not sure, since it can get misused if you run the cli command while the PocketBase server is running because the write db lock will not work as expected in this case as you'll have 2 different app processes.
I may reconsider it in the future but for now if you use PocketBase as framework you can register the command on your own:
package main

import (
	"context"
	"log"

	"github.com/pocketbase/pocketbase"
	"github.com/spf13/cobra"
)

func main() {
	app := pocketbase.New()

	app.RootCmd.AddCommand(&cobra.Command{
		Use:   "backup",
		Short: "Creates pb_data backup",
		Run: func(cmd *cobra.Command, args []string) {
			if err := app.CreateBackup(context.Background(), ""); err != nil {
				log.Println("Failed to create backup")
			}
		},
	})

	if err := app.Start(); err != nil {
		log.Fatal(err)
	}
}

Thank you @ganigeorgiev . will do exactly that


Deploy for Matplotlib

This was requested on the mailing list. I've already pushed commit that should handle that, the only "optimisation" we could do is pre-clone the matplotlib repository, because it can be slow to get the first time, and switch from a "git clone" to a "git fetch" , "git reset --hard origin/master" to gain some time during the backport.
cc @choldgraf

Running on mpl atm, so closing the issue.


Suggest a change footer / fix offline peers query fix / fix web vitals trends missing

Changelog:

Add "suggest a change" to footer linking to the "new issue" dialog of this repository
Fixed the offline peers query - I used a union ;) thanks @iand
Fixed missing data on the web vitals metrics trend graphs

Updated the other plotdefs and ran the queries 👍 please check again


Important for New Students

doesn't make any sense...it is self-explanatory.

it's my first pull request I just tried !


[NEW] Announcement component

[x] I have read the Contributing Guide - https://github.com/RocketChat/Rocket.Chat/blob/develop/.github/CONTRIBUTING.md#contributing-to-rocketchat doc
[x] I have signed the CLA - https://cla-assistant.io/RocketChat/Rocket.Chat
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if applicable)
[x] I have added necessary documentation (if applicable)
[x] Any dependent changes have been merged and published in downstream modules

Issues
Mentioned in the issue #113
Proposed changes (including videos or screenshots)

Add New Announcement Component which can display relevant announcement on  any page using a helper function - getAnnouncementData('announcement_code').
The component has been added to the layout and is only displayed when a relevant/published announcement is fetched using getAnnouncementData('announcement_code') code function and passed in the page props.
Added announcement  collection type / schema to store announcements in the database.
Announcements have a publish_date and unpublish_date

Announcements are only displayed after the publish_date and before the unpublish_date

Added a  deleteOldAnnouncemts() helper function as a cron job which will run once a day and will delete any announcements which are supposed to be unpublished depending on the date. This will ensure that unwanted announcements do not clutter the database.
At the time of data-initialization , the announcements in cms/config/initialData/announcemnets.json will populate the data base.

https://user-images.githubusercontent.com/70485812/160889912-0181fd56-e62d-416c-9c6d-0a92280bbc94.mp4

Added Documentation for the usage of the component.

@debdutdeb  I have rebased the branch with the master branch and there are no more build errors. Build is not failing anymore 😅