Repeated errors relating to failed upgrade system service cattle-logging:fluentd in logs when cluster gets deleted.

Rancher Server - Build from master
Steps to reproduce the problem:
Create a DO cluster.
Add namespace and few workloads.
Delete cluster.
Repeated errors relating to failed upgrade system service cattle-logging:fluentd in logs:
2018/09/07 23:14:13 [ERROR] ProjectController c-k2cp5/p-f6hpd [system-image-upgrade-controller] failed with : upgrade system service p-cvzq9-pipeline:docker-registry failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/p-cvzq9-pipeline/deployments/docker-registry?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:13 [ERROR] ProjectController c-k2cp5/p-f6hpd [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:21 [ERROR] ProjectController c-k2cp5/p-48vc9 [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:21 [ERROR] ProjectController c-k2cp5/p-48vc9 [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:log-aggregator failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/log-aggregator?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:21 [ERROR] ProjectController c-k2cp5/p-4kk7s [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:log-aggregator failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/log-aggregator?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:21 [ERROR] ProjectController c-k2cp5/p-4kk7s [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:21 [ERROR] ProjectController c-k2cp5/p-f6hpd [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:21 [ERROR] ProjectController c-k2cp5/p-f6hpd [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:37 [ERROR] ProjectController c-k2cp5/p-48vc9 [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:37 [ERROR] ProjectController c-k2cp5/p-48vc9 [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:37 [ERROR] ProjectController c-k2cp5/p-4kk7s [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:37 [ERROR] ProjectController c-k2cp5/p-4kk7s [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:37 [ERROR] ProjectController c-k2cp5/p-f6hpd [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found
2018/09/07 23:14:37 [ERROR] ProjectController c-k2cp5/p-f6hpd [system-image-upgrade-controller] failed with : upgrade system service cattle-logging:fluentd failed, Put https://<IP_ADDRESS>:6443/apis/apps/v1beta2/namespaces/cattle-logging/daemonsets/fluentd?timeout=30s: cluster.management.cattle.io "c-k2cp5" not found

Related to https://github.com/rancher/rancher/issues/15366

@aiwantaozi  when reproduce the issue, could you try running rancher in docker container if you are unable to reproduce it using local build.

Add a cluster, and deploy catalog wordpress and letencript, delete the cluster when the catalog is not completely running, get bunch of 503 and not found error.
2018/09/13 09:40:45 [ERROR] failed on subscribe replicationController: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe namespacedCertificate: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe namespacedServiceAccountToken: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe replicationController: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe daemonSet: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe statefulSet: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe job: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe cronJob: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe deployment: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:45 [ERROR] failed on subscribe replicaSet: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:47 [ERROR] failed on subscribe replicationController: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:47 [ERROR] failed on subscribe namespacedCertificate: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:47 [ERROR] failed on subscribe namespacedServiceAccountToken: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:47 [ERROR] failed on subscribe persistentVolumeClaim: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:47 [ERROR] failed on subscribe namespacedDockerCredential: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:47 [ERROR] failed on subscribe namespacedBasicAuth: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found
2018/09/13 09:40:47 [ERROR] failed on subscribe ingress: ClusterUnavailable 503: cluster.management.cattle.io "c-75s27" not found

Tested with latest build from master.
Errors mentioned in this issue not seen in rancher server logs when cluster gets deleted.
There are other errors relating to system-image-upgrade-controller seen in logs -https://github.com/rancher/rancher/issues/15641
Closing this issue.


Identify research journals for Vault paper

This seems like a useful tool
https://journalfinder.elsevier.com/

It seems like we have decided on the Journal: Frontiers in Neuroinformatics

I have no say in this, but I will still throw in my left-over cents :). https://www.springer.com/journal/12021


Adopt 3rd editor: CodeMirror

#73

[x] resolve tab inserting issue #53 #66
[x] markdown highlighting
[ ] language highlighting according to filename?
[ ] tab character / indent unit setting?
[ ] editor theme setting?
[ ] turn on CodeMirror addons

#73

It looks great! What's the complexity for adding the following features?

language highlighting according to filename
editor theme setting (use the github-gist style?)

If that takes time, I can merge this PR now and put those feature later.

You can rebase or squash your commits before sending the PR, so that we won't have the commit like "revert unnecessary changes".

@hackjutsu I will rebase later.
We should decide which addons should be used from CodeMirror. There are too many thing can be modified..
p.s. Is there any better way to include these CodeMirror libraries? (Webpack problem?)

@wujysh
Maybe we should keep CodeMirror addons as a separate feature issue.
IMHO, 1st, 2nd and 4th commits are sufficient to close https://github.com/hackjutsu/Lepton/issues/53 and https://github.com/hackjutsu/Lepton/issues/66.

@hackjutsu OK. I will clean up the commits for you to merge.

@hackjutsu Please review.

Thanks!


test: failed test on main

https://github.com/tensorchord/pgvecto.rs/actions/runs/9692456295/job/26795489833

The test fails because the entry point of HNSW is [1,1,1] and there are more than 100 [1,1,1] vectors generated by random().


lint tests in poolmanager

What is the purpose of the change
This PR lints tests in the poolmanager module.
Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes? no
[ ] Changelog entry added to Unreleased section of CHANGELOG.md? no

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[x] N/A

closing


How to download multiple playlists with multiple links and make folders for each playlist ?

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

[x] At least skimmed through the README, most notably the FAQ and BUGS sections

[ ] Searched the bugtracker for similar issues including closed ones

[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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
[x] Other

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
I want to know if there is syntax with which we can download  MULTIPLE PLAYLISTS with their links/url and MAKE DIRECTORY/FOLDER WITH THE PLAYLIST TITLE FOR EACH PLAYLIST ?
FOR e.g. if we input 5 Playlist links ,it should make 5 folders with the playlist title at "D:/Download/... " this location and download videos at their specific folder,
for Playlist 1 - "D:\Download\Playlist_1_Title"  and this folder should contain videos of playlist 1 i.e. Playlist_Video_1, Playlist_Video_2 and so on
For Playlist 2 - "D:\Download\Playlist_2_Title" and this folder should contain videos of playlist 2
For Playlist 3 - "D:\Download\Playlist_3_Title" and this folder should contain videos of playlist 3
till playlist 5
If it's there than please share the syntax I Couldn't find it and i am new to youtube-dl.  So ,I don't know how to create our own syntax

https://github.com/rg3/youtube-dl#output-template

i dont understand

@Invisible786 I think you could try modifying this example below, which came from the link (specifically, https://github.com/rg3/youtube-dl#output-template-examples):
# Download YouTube playlist videos in separate directory indexed by video order in a playlist
$ youtube-dl -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re

Not sure if it matters, but I've noticed that your examples include "D:\", which suggests that you're using Windows, so you may want to try using '' in place of '/' in the example.
Let me know if you need any more help.


Event Request] CU 365 - Format Address - OnBeforeTransferRcptTransferTo

Hi,
Would it be possible to get an OnBeforeTransferRcptTransferTo event in codeunit 365 (Format Address), like this:
procedure TransferRcptTransferTo(var AddrArray: array[10] of Text[100]; var TransRcptHeader: Record "Transfer Receipt Header")
    var
        IsHandled: Boolean;
    begin
        //*****START
        IsHandled := false;
        OnBeforeTransferRcptTransferTo(TransRcptHeader, AddrArray, IsHandled);
        if IsHandled then
            exit;
        //*****END

        with TransRcptHeader do
            FormatAddr(
             AddrArray, "Transfer-to Name", "Transfer-to Name 2", "Transfer-to Contact", "Transfer-to Address", "Transfer-to Address 2",
             "Transfer-to City", "Transfer-to Post Code", "Transfer-to County", "Trsf.-to Country/Region Code");
    end;

[IntegrationEvent(false, false)]
    local procedure OnBeforeTransferRcptTransferTo(var TransRcptHeader: Record "Transfer Receipt Header"; var AddrArray: array[10] of Text[100]; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[2224] Fix NoMethod Key for 403 handling

Context
NoMethodError: undefined method key?' for "":StringWas being thrown when getting403` responses from the API due to incorrect assertions about the shape of the response in this situation.
Changes proposed in this pull request

Check that the response is a hash before checking for metadata

Guidance to review

https://trello.com/c/TJbYE247/2224-undefined-method-key-for-string-nomethoderror


Software Crafters Rhein Main is on the wrong continent

This was added by @svenlange in https://github.com/softwarecrafters/website/pull/27
Maybe you can fix it as well? :)

Fixed in a816d38

Thx


Improve our Markdown Support

Resolves #43
This PR adds additional Plugins to markdown-it to add the following features:

GitHub Headings

Adds the GitHub type Icon to Markdown Headers
Adds Header Anchors

GitHub TaskLists

Supports GitHub Task Lists and checkboxes
These are disabled from being clickable

Also this PR mirrors some CSS styles that are used by GitHub Displayed Markdown for the hr or Page Break Element, and lists in general.
This improves our support for different Markdown elements, while focusing on making these look closer to how they would appear on GitHub as these Readmes (Especially while we only support GitHub) have been crafted for this platform.

LGTM!


IMPORTANT: Make process wrapper tolerant to a severed network connection

Buffer elements while you cannot send over the websocket.
Have a large timeout for when we'll give up trying to send.
This is really important since fault tolerance was one of the non-functional properties we promised.

#101


Debug.scripts API changed in V8 4.5

This is causing us to break with Node 4.x: https://travis-ci.org/GoogleCloudPlatform/cloud-debug-nodejs/jobs/81499758

@matthewloring PTAL.

LGTM


Update opgen for it to be runnable

Previously the opgen module assumes that it is installed as a package and can be found at script import. Since we are now just running it as a standalone script, I updated to imports so that it can be run directly. Added a README.

updated, thanks


Fix cluster connect url resttemplate, extend schema env length

About this change - What it does

cluster api url - connectivity bug fix for resttemplate
extend length of environments table (schema env)

Resolves: #1787
Why this way

I'm also getting this test to fail locally
UiConfigControllerTest.addNewEnvMoreThan10CharsFailure:215 Status expected:<400> but was:<200>


Is there a plan to solve the time synchronization limitation with win10 ?

File: docker-for-windows/release-notes.md
This is a known issue in latest stable release:
"In some cases, Docker containers do not synchronize time with the host when the host machine is put to sleep."
https://docs.docker.com/docker-for-windows/release-notes/
I'd like to know when this will be solved. as The only valid solution found is to reboot my laptop everyday...
(I've already tried severaly trick recommended for this issue)

@fbeve The fix is being worked on and it may land in the upcoming Stable release.
I'm closing this issue as this is a Github repository for Docker documentation.
Please file any future issues related to Docker Desktop in https://github.com/docker/for-win/ or https://github.com/docker/for-mac/ GitHub repositories. Thank you.

@fbeve There is an internal build with the fix. You can find more information on the for-win issue https://github.com/docker/for-win/issues/4526#issuecomment-596636570.
Hope this helps!


Fleets box on Overview tab issue

The issue I'm having, is when I have ships with longer names in my fleet, the fleets box on the overview tab has to generate a scroll bar in order for me to see the whole thing.  The problem that comes with that is that if the ship's name is long enough, I have to choose between being able to see the ship's name or it's morale.
An extreme example can be seen here.  With Chiyoda CVL Kai2 taking up a huge chunk.
My suggestion would be to make it so the names of ships can only take up so much space, until after a certain point they go under the rest of the information displayed, as I have shittily displayed here.  Another probably easier solution would be to just reduce the text size of a certain ship if the ship's name gets too long, again, shittily displayed here.  Either way it would probably do the trick.
It's also worth noting that this problem is likely restricted to people who play with the game arranged as I have it, displayed here.  With the program window pulled tightly against the game window, so I can do stuff in the other 3/5 of my screen while playing.  And also I run at 1920x1080, so the problem may not exist for other resolutions.
Thanks for any help you can provide.

A good while ago I had it working approximately the way you illustrate in the illustration for your suggestion as the box had no scrollbars whatsoever. (For future reference: you can drag and drop screenshots into GitHub text editor; they will be hosted on GitHub and stay fresh forever.)
However, in a later build Grabacr07 introduced these scrollbars and sadly WPF does not allow for a decent way to implement trimming. I will see what I can do about it, but chances are pretty slim.

Alright cool.  Thanks for the help.
If it's of any assistance, I used to use gakada's fork instead of this one.  And I believe he had it working similarly to the way I described, he just hasn't updated in a long while.

Does not look like it from the source: https://github.com/gakada/KanColleViewer/blob/master/Grabacr07.KanColleViewer/Views/Contents/Fleets.xaml#L138
See c7f33afef31407255082d732dafed7a4e412348a for my change that introduced name trimming.
I think I was the only one who ever bothered to add text trimming in that UI element.

Ahh I was actually wrong about the text trimming, I couldn't check because gakada's version wasn't loading for me, but now it suddenly is.  He got past it by just adjusting the sizes of some of the other things on the overview tab.

Looks like he just shrunk everything else and scrunched some stuff closer together to the point where the fleet box was just really big, looks like the text size is just a bit smaller too and also more clumped together.

To be honest, this fork's primary purpose is to provide localisation and translations. Due to my lack of experience with C# and WPF, I try to minimise the changes I introduce into the source code so it's easier to merge later. The other issue is that since my fork supports different languages, and I keep Japanese available as a UI language, I have to keep the fonts as is, or the kanji will become barely readable.
Another issue I encountered when trying to solve this issue is that WPF Dynamic Fonts seem to not work correctly, so I could not make it use Arial Narrow for Latin characters while retaining Meiryo for CJK.

That's perfectly fine.  I still prefer this fork for its stability and translation updates that are usually on time.
Just offering enhancement suggestions if they're even possible.
Thanks for maintaining this fork.


zfsUnstable: 2.1.0 -> unstable-2021-08-30

Motivation for this change
Fixes build with kernel 5.14.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 136299 run on x86_64-linux 1

4 packages marked as broken and skipped:

linuxPackages-libre.zfsUnstable
linuxPackages_hardkernel_4_14.zfsUnstable
linuxPackages_hardkernel_latest.zfsUnstable
linuxPackages_latest-libre.zfsUnstable

17 packages built:

linuxPackages.zfsUnstable (linuxPackages_5_10.zfsUnstable)
linuxPackages_4_14.zfsUnstable
linuxPackages_4_14_hardened.zfsUnstable
linuxPackages_4_19.zfsUnstable
linuxPackages_4_19_hardened.zfsUnstable
linuxPackages_4_4.zfsUnstable
linuxPackages_4_9.zfsUnstable
linuxPackages_hardened.zfsUnstable (linuxPackages_5_10_hardened.zfsUnstable)
linuxPackages_5_13.zfsUnstable
linuxPackages_5_14.zfsUnstable (linuxPackages_latest.zfsUnstable)
linuxPackages_5_4.zfsUnstable
linuxPackages_5_4_hardened.zfsUnstable
linuxPackages_lqx.zfsUnstable
linuxPackages_testing_bcachefs.zfsUnstable
linuxPackages_xanmod.zfsUnstable
linuxPackages_zen.zfsUnstable
zfsUnstable

From the documentation:

The version will have already passed an extensive test suite, but it is more likely to hit an undiscovered bug compared to running a released version of ZFS on Linux.

(emphasis mine)
How can we know that this specific commit passed the extensive test suite?

I have opened a PR to revert this in #136299.


⚠ 한경주요지수-코스피200 has degraded performance

In f5062f5, 한경주요지수-코스피200 (https://markets.hankyung.com/indices/kospi200) experienced degraded performance:

HTTP code: 200
Response time: 5461 ms

Resolved: 신규상장 performance has improved in 872f920.


Support for django3

Currently, this module uses legacy APIs like six and python2_unicode_compatible. These have been deprecated for a long time and now have been removed removed from django3.0 onward. python2_unicode_compatible has no effect in python3, and can be safely removed. six.string_types can be safely replaced by str.

I am using Django3 from master branch with commit c610dd9c7871f4e81bdffce783df8b040ca22878
Here is the requirements.txt Assume you willing to run master
-e git+git@github.com:jazzband/django-push-notifications.git@master#egg=django-push-notifications

You shouldn't use master branch, use a specific commit

@jleclanche Can we please get the latest version released on PyPI?

This is part of jazzband, I don't think I'm the only one able to make a release. I'm currently busy with other matters but don't let anything be blocked on me.

I can look into it today.  What is the commit hash for the version?

@jamaalscarlett Latest on master which is more than a month old https://github.com/jazzband/django-push-notifications/commit/c610dd9c7871f4e81bdffce783df8b040ca22878

@jleclanche can you add the pypi api token as a secret. I am not able to see the Settings tab.  Once that is done, I can set up the github workflow and deploy the new version.

I don't have access to the settings tab either.

@jamaalscarlett I can add you as another owner on pypi though, what's your username there?

@jleclanche my username is: jamaalscarlett

@jamaalscarlett you need a verified primary email address to be added as owner.

@jleclanche  OK, email address has been verified.

Done. Let me know if you need anything else.

Do we have any updates here? Our project is also needing this in. We'd be more than happy to help test it, too.

https://github.com/jazzband/django-push-notifications/releases/tag/2.0.0
https://pypi.org/manage/project/django-push-notifications/release/2.0.0/
I still need to fix the release notes, but it is available to download.


When i use YouTube stream url like RADIO=https://www.youtube.com/watch?v=jfKfPfyJRdk the bot doesn't play the radio what is that problem and no errors in console also

pretty sure thats not how radios work, search radio links on https://www.radio-browser.info/

Radio z YT nie działają .... noobie
śr., 4 paź 2023, 16:44 użytkownik Unknown X @.***>
napisał:

pretty sure thats not how radios work, search radio links on
https://www.radio-browser.info/
—
Reply to this email directly, view it on GitHub
https://github.com/CorwinDev/Discord-Bot/issues/203#issuecomment-1747011760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6DKCGHZ5J4KAMQ7PMCCVU3X5VY53AVCNFSM6AAAAAA5GNFUU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXGAYTCNZWGA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Migrate no-use-v-if-with-v-for

https://eslint.vuejs.org/rules/no-use-v-if-with-v-for

@TokugawaTakeshi
Prioritize next due to: https://github.com/TokugawaTakeshi/vue-eslint-pug_support_test/blob/7a08beda5096f9ac97c8a4077387844a72a584ec/src/App.vue#L19-L25


NO  justify-content: space-between;

im making simple web app
what i found is there is no  justify-content: space-between; nor custom class to add my css

u can just do element.update_raw_el(|raw_el| raw_el.style("justify-content", "space-between"))
also see this https://github.com/MoonZoon/MoonZoon/blob/main/docs/frontend.md#raw-element-styles


Jobs Process Priority

Left this suggestion on the YT page, but thought I'd better copy it over here to make sure it didn't get lost in the shuffle...
"Just a request to add Process Priority to the jobs.  I typically run chia.exe at Below Normal priority so the computer in question can still be used for other tasks."

I will see if I can implement this and then add it to the roadmap, great suggestion!

Great, glad to hear it!

Below is what I was using, but as already mentioned in the other thread, I didn't get much out of it (I tried to slow down / speed up one process/plot to avoid the final copy collision, but it didn't work).  Also, my understanding is that in addition to setting up the process priority, there is a need to change process affinity (again, I was just trying to manipulate the longest running process, so was fixing affinity to 1 just for that one process, and it also didn't help).
Although, when we have a system that is fully booked by chia processes (# of processes == # of phys cores) that all run with BelowNormal priority, it is possible that a new process (say a browser, or compiler) will get more CPU clocks than if it would be getting if running with the same priority as those chia processes.  Also, on a fully booked system, whether we run those plots with Normal or Below/AboveNormal priorities it doesn't change anything for those plotters (as long as that extra process (browser) will not kick in).  At least that is the concept of setting up those priorities - they only kick in when there is a competition for a give resource, and a fully booked box is not really starving for CPU resources (to some extent).
Here is the code:
# get all processes with the "chia" name (we get here chia.exe as well as CHIA.EXE, as it is case insensitive)
$chia_processes = Get-Process chia
foreach ($process in $chia_processes)
{
  # filter on plotters (lower case chia)
  $pname = $process.ProcessName
  if ($pname -ceq "chia")
  {
    # we should only have chia plotters here

    # dump the process info we got, maybe the only thing that we may be interested in is process id - $process.id
    echo $process

    # possible priority values: Idle, BelowNormal, Normal, AboveNormal, High, RealTime
    $process.PriorityClass = 'BelowNormal'
    $process.ProcessorAffinity = 1
  }
}


Improve http security header usage

We should update http security header setup
see
https://docs.spring.io/spring-security/site/docs/5.2.x/reference/html5/#headers
and
https://www.netsparker.com/whitepaper-http-security-headers/

At the moment there are no security findings and spring security defaults are strong enough. So closing this issue.


Application is stuck in qat_dh_generate_key().

Hi Team,
My application is stuck in qat_dh_generate_key() after upgrading QAT driver and engine.
Note that the memory driver of QAT engine is qat_contig_mem which can be seen from the configure information at the bottom of the issue.
Stack trace:
Thread 1 (Thread 0x7f8451f77f80 (LWP 6078)):
#0  0x00007f84532c0c77 in sched_yield () from /lib64/libc.so.6
#1  0x00007f844f8a5a2b in qat_dh_generate_key (dh=0x7f8451a3bee0) at qat_hw_dh.c:479
And this is triggered by DH_generate_key(dh) in my application.
And after enabling debug for both QAT driver and engine, I got qat_engine_debug.log and attached it.
qat_engine_debug.log
dmesg:
[   71.603452] usdm_drv: Loading USDM Module Version 0.7.1 ...
[   71.603454] usdm_drv: IOCTLs: c0507100, c0507101, 7102, c0047104
[   71.604862] Loading QAT CONTIG MEM Module ...
[   71.645856] c6xx 0000:04:00.0: Enabling default configuration
[   71.956848] c6xx 0000:04:00.0: qat_dev0 started 10 acceleration engines
[   72.000848] c6xx 0000:05:00.0: Enabling default configuration
[   72.311839] c6xx 0000:05:00.0: qat_dev1 started 10 acceleration engines
[   72.354846] c6xx 0000:06:00.0: Enabling default configuration
[   72.409206] igb 0000:85:00.0 port9: igb: port9 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[   72.409325] IPv6: ADDRCONF(NETDEV_CHANGE): port9: link becomes ready
[   72.665826] c6xx 0000:06:00.0: qat_dev2 started 10 acceleration engines
[   72.688975] QAT: Stopping all acceleration devices.
[   72.688980] c6xx 0000:04:00.0: qat_dev0 stopped 10 acceleration engines
[   72.689464] c6xx 0000:04:00.0: Resetting device qat_dev0
[   72.689465] c6xx 0000:04:00.0: Function level reset
[   72.797966] c6xx 0000:05:00.0: qat_dev1 stopped 10 acceleration engines
[   72.798529] c6xx 0000:05:00.0: Resetting device qat_dev1
[   72.798530] c6xx 0000:05:00.0: Function level reset
[   72.901964] c6xx 0000:06:00.0: qat_dev2 stopped 10 acceleration engines
[   72.902519] c6xx 0000:06:00.0: Resetting device qat_dev2
[   72.902520] c6xx 0000:06:00.0: Function level reset
[   74.009175] c6xx 0000:04:00.0: Starting acceleration device qat_dev0.
[   74.359864] c6xx 0000:04:00.0: qat_dev0 started 10 acceleration engines
[   74.385812] QDM: iommu_pass_through is set to 0
[   74.387457] c6xx 0000:05:00.0: Starting acceleration device qat_dev1.
[   74.735857] c6xx 0000:05:00.0: qat_dev1 started 10 acceleration engines
[   74.758956] c6xx 0000:06:00.0: Starting acceleration device qat_dev2.
[   75.092824] c6xx 0000:06:00.0: qat_dev2 started 10 acceleration engines
...
[  108.954019] WARNING: CPU: 31 PID: 6078 at mm/mmap.c:1807 mmap_region+0x564/0x650
[  108.954020] Modules linked in: igb_uio(O) qat_c62x(O) qat_contig_mem(O) usdm_drv(O) intel_qat(O) fwbrnd(O) ha(O) network_bypass(O) caswell_bpgen3(O) caswell_pmbus(O) ixgbe(O) cp_uio(O) log_msgid(O) mcast(O) wproxy(O) rp_tproxy(O) tproxy(O) tp_v6_defrag(O) antidos(O) vserver_filter(O) intf_filter(O) bridge_mac(O) ti_bridge(O) share_ip(O) miglog(O)
[  108.954035] CPU: 31 PID: 6078 Comm: proxyd Kdump: loaded Tainted: G           O      5.4.202 #1
[  108.954036] Hardware name: To be filled by O.E.M. To be filled by O.E.M./To be filled by O.E.M., BIOS 5.6.5 07/27/2015
[  108.954039] RIP: 0010:mmap_region+0x564/0x650
[  108.954040] Code: 48 8b 04 24 48 85 c0 0f 84 ea fc ff ff 8b 15 ab 40 10 01 48 f7 d8 48 c7 c7 c0 26 9f 81 48 89 c6 e8 91 49 1f 00 e9 cd fc ff ff <0f> 0b e9 9d fe ff ff 48 8b 7c 24 08 4c 89 4c 24 10 4d 63 e6 49 c7
[  108.954041] RSP: 0018:ffffc9000ae03d50 EFLAGS: 00010206
[  108.954043] RAX:<PHONE_NUMBER>000000 RBX: ffff88903a399e20 RCX: ffffea0000000000
[  108.954044] RDX:<PHONE_NUMBER>000027 RSI: 000ffffffffff000 RDI: 00007f8441aa0000
[  108.954044] RBP: 00007f8441a7a000 R08:<PHONE_NUMBER>000000 R09:<PHONE_NUMBER>000008
[  108.954045] R10: ffff88903a399ec0 R11: ffff8890597f0780 R12: ffff88903a399e30
[  108.954046] R13: ffff88905926ec00 R14: 00007f8441a80000 R15: ffff8890597f0780
[  108.954047] FS:  00007f8451f77f80(0000) GS:ffff88905f8c0000(0000) knlGS:0000000000000000
[  108.954048] CS:  0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[  108.954049] CR2: 00007f8450330000 CR3:<PHONE_NUMBER>5a2005 CR4:<PHONE_NUMBER>1606e0
[  108.954050] Call Trace:
[  108.954057]  do_mmap+0x397/0x590
[  108.954060]  vm_mmap_pgoff+0x92/0xf0
[  108.954063]  ksys_mmap_pgoff+0x18c/0x230
[  108.954066]  ? ksys_ioctl+0x58/0x70
[  108.954069]  do_syscall_64+0x68/0x3c0
[  108.954074]  ? __do_page_fault+0x23d/0x480
[  108.954080]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  108.954083] RIP: 0033:0x7f84532d3402
[  108.954084] Code: 00 00 00 00 0f 1f 40 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 3b 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 5b 5d c3 0f 1f 00 48 8b 05 59 5a 0d 00 64
[  108.954085] RSP: 002b:00007ffecdc793f8 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>000009
[  108.954086] RAX: ffffffffffffffda RBX:<PHONE_NUMBER>002001 RCX: 00007f84532d3402
[  108.954087] RDX:<PHONE_NUMBER>000003 RSI:<PHONE_NUMBER>040000 RDI:<PHONE_NUMBER>000000
[  108.954087] RBP:<PHONE_NUMBER>000000 R08:<PHONE_NUMBER>00003c R09: ffff88903a3e0000
[  108.954088] R10:<PHONE_NUMBER>002001 R11:<PHONE_NUMBER>000246 R12:<PHONE_NUMBER>000157
[  108.954089] R13: 00007f8451a23100 R14:<PHONE_NUMBER>000000 R15:<PHONE_NUMBER>000100
[  108.954091] ---[ end trace cc675b012022be0a ]---
/#
/# bin/adf_ctl status
Checking status of all devices.
There is 3 QAT acceleration device(s) in the system:
qat_dev0 - type: c6xx,  inst_id: 0,  node_id: 0,  bsf: 0000:04:00.0,  #accel: 5 #engines: 10 state: up
qat_dev1 - type: c6xx,  inst_id: 1,  node_id: 0,  bsf: 0000:05:00.0,  #accel: 5 #engines: 10 state: up
qat_dev2 - type: c6xx,  inst_id: 2,  node_id: 0,  bsf: 0000:06:00.0,  #accel: 5 #engines: 10 state: up
#18
./qat_contig_mem_test
seg mapped to 0x7f3f99c6d000, virtualAddress in seg 0xffff8890531f7000, length 64
Hello world!
PASS Verify for QAT Contig Mem Test.
Version information:
driver: QAT1.7.L.4.18.1-00001
engine: QAT_Engine-0.6.14
Openssl: 1.1.1q
configure for QAT engine:
./configure
--with-qat_hw_dir=xxxxxx
--with-qat_hw_install_dir=xxxx
--with-openssl_dir=xxxxxx
--with-openssl_install_dir=xxxxx
--enable-qat_hw_multi_thread
--enable-qat_hw_contig_mem
--disable-qat_hw_lenstra_protection ;
Regards,
Syllinia

To complement more information:
/# openssl engine -t -c -v qatengine
(qatengine) Reference implementation of QAT crypto engine(qat_hw) v0.6.14
[RSA, DSA, DH, AES-128-CBC-HMAC-SHA1, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA1, AES-256-CBC-HMAC-SHA256, TLS1-PRF, X25519, X448]
QAT_HW initialization Failed
[ unavailable ]
ENABLE_EXTERNAL_POLLING, POLL, SET_INSTANCE_FOR_THREAD,
GET_NUM_OP_RETRIES, SET_MAX_RETRY_COUNT, SET_INTERNAL_POLL_INTERVAL,
GET_EXTERNAL_POLLING_FD, ENABLE_EVENT_DRIVEN_POLLING_MODE,
GET_NUM_CRYPTO_INSTANCES, DISABLE_EVENT_DRIVEN_POLLING_MODE,
SET_EPOLL_TIMEOUT, SET_CRYPTO_SMALL_PACKET_OFFLOAD_THRESHOLD,
ENABLE_INLINE_POLLING, ENABLE_HEURISTIC_POLLING,
GET_NUM_REQUESTS_IN_FLIGHT, INIT_ENGINE, SET_CONFIGURATION_SECTION_NAME,
ENABLE_SW_FALLBACK, HEARTBEAT_POLL, DISABLE_QAT_OFFLOAD, HW_ALGO_BITMAP
/# openssl engine -t -c -vvvv qatengine
(qatengine) Reference implementation of QAT crypto engine(qat_hw) v0.6.14
[RSA, DSA, DH, AES-128-CBC-HMAC-SHA1, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA1, AES-256-CBC-HMAC-SHA256, TLS1-PRF, X25519, X448]
QAT_HW initialization Failed
[ unavailable ]
ENABLE_EXTERNAL_POLLING: Enables the external polling interface to the engine.
(input flags): NO_INPUT
POLL: Polls the engine for any completed requests
(input flags): NO_INPUT
SET_INSTANCE_FOR_THREAD: Set instance to be used by this thread
(input flags): NUMERIC
GET_NUM_OP_RETRIES: Get number of retries
(input flags): NO_INPUT
SET_MAX_RETRY_COUNT: Set maximum retry count
(input flags): NUMERIC
SET_INTERNAL_POLL_INTERVAL: Set internal polling interval
(input flags): NUMERIC
GET_EXTERNAL_POLLING_FD: Returns non blocking fd for crypto engine
(input flags): NO_INPUT
ENABLE_EVENT_DRIVEN_POLLING_MODE: Set event driven polling mode
(input flags): NO_INPUT
GET_NUM_CRYPTO_INSTANCES: Get the number of crypto instances
(input flags): NO_INPUT
DISABLE_EVENT_DRIVEN_POLLING_MODE: Unset event driven polling mode
(input flags): NO_INPUT
SET_EPOLL_TIMEOUT: Set epoll_wait timeout
(input flags): NUMERIC
SET_CRYPTO_SMALL_PACKET_OFFLOAD_THRESHOLD: Set QAT small packet threshold
(input flags): STRING
ENABLE_INLINE_POLLING: Enables the inline polling mode.
(input flags): NO_INPUT
ENABLE_HEURISTIC_POLLING: Enable the heuristic polling mode
(input flags): NO_INPUT
GET_NUM_REQUESTS_IN_FLIGHT: Get the number of in-flight requests
(input flags): NUMERIC
INIT_ENGINE: Initializes the engine if not already initialized
(input flags): NO_INPUT
SET_CONFIGURATION_SECTION_NAME: Set the configuration section to use in QAT driver configuration file
(input flags): STRING
ENABLE_SW_FALLBACK: Enables the fallback to SW if the acceleration devices go offline
(input flags): NO_INPUT
HEARTBEAT_POLL: Check the acceleration devices are still functioning
(input flags): NO_INPUT
DISABLE_QAT_OFFLOAD: Perform crypto operations on core
(input flags): NO_INPUT
HW_ALGO_BITMAP: Set the HW algorithm bitmap and reload the algorithm registration
(input flags): STRING
/#

Try to get more debug information according to Intel® QuickAssist Technology Debugging Guide, June 2021, Revision 1.4(Document Number: 621658) but failed.
For QAT engine, after configure as follows, there's no /var/log/qat_engine_debug.log generated.
./configure
--with-qat_hw_dir=$(TOPDIR)/kernel/modules/qat_driver
--with-qat_hw_install_dir=$(istldir)
--with-openssl_dir=$(curdir)/$(openssl_pkg)
--with-openssl_install_dir=$(curdir)/$(openssl_pkg)
--enable-qat_hw_multi_thread
--enable-qat_hw_contig_mem
--disable-qat_hw_lenstra_protection ;
--enable-qat_warnings
--enable-qat_debug
--enable-qat_mem_warnings
--enable-qat_mem_debug
--with-qat_debug_file=/var/log/qat_engine_debug.log
2.6 How to Enable Debug Symbols for the QAT Driver
For the QAT driver, you can enable debugging with these changes:
quickassist/build_system/build_files/env_files/environment.mk ICP_DEFENSES_ENABLED ?= n
quickassist/build_system/build_files/common.mk $(PROG_ACY)_OPT_LEVEL?=0
Makefile (change it after ./configure, then make and install) CFLAGS = -g
2.7 How to Enable Debug Compile for QAT_engine
For the QAT_engine / OpenSSL*, you can enable debugging with these changes: QAT_Engine:

run ./configure with additional parameters such as the following:
--enable-qat_debug
--enable-qat_warnings
--enable-qat_mem_warnings
--enable-qat_mem_debug
--with-qat_debug_file=/qat_engine_debug.log
Check QAT Engine Makefile and make the following changes:
Change cflags = -shared -fPIC -Wall -Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector to cflags = -shared -fPIC -Wall -Wformat -Wformat-security –O0 -g -D_FORTIFY_SOURCE=0 -fstack-protector
Change "CFLAGS = -g -O2" to "CFLAGS = -g –O0"
Change "CXXFLAGS = -g -O2" to "CXXFLAGS = -g –O0"

Even after I use USDM as memory driver for QAT engine, my application still encounters the same issue.
Thread 1 (Thread 0x7f882d0d4f80 (LWP 6105)):
#0  0x00007f882e41dc77 in sched_yield () from /lib64/libc.so.6
#1  0x00007f882a9f850b in qat_dh_generate_key () from /lib/qatengine.so
configure QAT engine:
./configure
--with-qat_hw_dir=xxxx
--with-qat_hw_install_dir=xxxx
--with-openssl_dir=xxxx
--with-openssl_install_dir=xxxx
--disable-qat_hw_lenstra_protection ;

After enable --disable-qat_hw_dh, the issue is gone.

@Syllinia Sorry for the delayed response on this. although the issue is resolved for you by disabling dh, We will check why there is an issue with DH. Can you please let me know what is the application and cipher used for the reproducing the issue ?

@Yogaraj-Alamenda Hi, The application is proprietary and what I'm trying to do is to upgrade both QAT driver and engine.
The application works well with old QAT driver & engine. I don't know old engine version and the copyright year in engine code is 2016-2018.
Old driver version: QAT1.7.Upstream.L.1.0.3-42
Below is the gdb process in DH_generate_key for the old version.
(gdb) p *dh
$2 = {pad = 0, version = 0, p = 0x603000031bd0, g = 0x603000031c00, length = 0, pub_key = 0x0, priv_key = 0x0, flags = 0,
method_mont_p = 0x0, q = 0x0, j = 0x0, seed = 0x0, seedlen = 0, counter = 0x0, references = 1, ex_data = {sk = 0x0},
meth = 0x607000001360, engine = 0x6110000011c0, lock = 0x604000008710}
(gdb) p *(dh->meth)
$3 = {name = 0x602000000f10 "QAT DH method", generate_key = 0x7fffeaa47e60 <qat_async_dh_generate_key>,
compute_key = 0x7fffeaa47620 <qat_async_dh_compute_key>, bn_mod_exp = 0x7fffeaa47590 <qat_async_dh_mod_exp>, init = 0x0, finish = 0x0,
flags = 0, app_data = 0x0, generate_params = 0x0}
And in qat_async_dh_generate_key, finally DH_meth_get_generate_key is called instead of qat_dh_generate_key.
int
qat_async_dh_generate_key(DH *dh)
{
if(qat_async_operation())
return qat_dh_generate_key(dh);
else
return DH_meth_get_generate_key(DH_OpenSSL())(dh);
}

Besides, today I fixed another similar issue after add --disable-qat_hw_ecdsa in configure.
#0  0x00007f9d9485ec77 in sched_yield () from /lib64/libc.so.6
#1  0x00007f9d90e5a24e in qat_ecdsa_do_sign (dgst=0x7f9ca2cfb8d0 "\231.\345+e\261\036\243\031\363\346\371\205\001Tjx<6*W\025\276\337\006';\234\340\304\243\344\030B\256\224\234\177", dgst_len=32, in_kinv=0x0, in_r=in_r@entry=0x0, eckey=eckey@entry=0x7f9be69c87e0) at qat_hw_ec.c:1458
#2  0x00007f9d90e5a47e in qat_ecdsa_sign (type=, dgst=, dlen=, sig=, siglen=0x7f9ca2cfb864, kinv=, r=0x0, eckey=0x7f9be69c87e0) at qat_hw_ec.c:996
#3  0x00007f9d9570ab20 in ECDSA_sign () from /lib64/libcrypto.so.1.1
#4  0x00007f9d95708a02 in pkey_ec_sign () from /lib64/libcrypto.so.1.1
#5  0x00007f9d95760f7c in EVP_DigestSignFinal () from /lib64/libcrypto.so.1.1
#6  0x00007f9d95676c78 in ASN1_item_sign_ctx () from /lib64/libcrypto.so.1.1
#7  0x00007f9d95676f70 in ASN1_item_sign () from /lib64/libcrypto.so.1.1
#8  0x00007f9d957fa2e7 in X509_sign () from /lib64/libcrypto.so.1.1
...
I still gdb the old version to check the corresponding procedure.
In ECDSA_sign_ex,
(gdb) p *eckey
$1 = {meth = 0x7ffff0c49100, engine = 0x7ffff0d482a0, version = 1, group = 0x7fffbeea6980, pub_key = 0x7fffcd51b2e0,
priv_key = 0x7fffbee016e0, enc_flag = 0, conv_form = POINT_CONVERSION_UNCOMPRESSED, references = 1, flags = 0, ex_data = {sk = 0x0},
lock = 0x7fffcd51a7d0}
(gdb) p *(eckey->meth)
$2 = {name = 0x0, flags = 1, init = 0x0, finish = 0x0, copy = 0x0, set_group = 0x0, set_private = 0x0, set_public = 0x0,
keygen = 0x7fffeea84790 <qat_async_ecdh_generate_key>, compute_key = 0x7fffeea84700 <qat_async_engine_ecdh_compute_key>,
sign = 0x7fffeea85180 <qat_async_ecdsa_sign>, sign_setup = 0x0, sign_sig = 0x7fffeea850e0 <qat_async_ecdsa_do_sign>,
verify = 0x7fffeea84f10 <qat_async_ecdsa_verify>, verify_sig = 0x7fffeea84e80 <qat_async_ecdsa_do_verify>}
Again, ossl_ecdsa_sign is called instead of qat_ecdsa_sign. qat_async_ecdsa_sign is not defined in QAT_Engine-0.6.14.
int
qat_async_ecdsa_sign(int type, const unsigned char *dgst, int dlen,
		unsigned char *sig, unsigned int *siglen,
		const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey)
{
	if(qat_async_operation())
		return qat_ecdsa_sign(type, dgst, dlen, sig, siglen, kinv, r, eckey);
	else
	{
		int (*sign)(int type, const unsigned char *dgst, int dlen, unsigned char
				                *sig, unsigned int *siglen, const BIGNUM *kinv,
						                const BIGNUM *r, EC_KEY *eckey);
		EC_KEY_METHOD_get_sign(EC_KEY_get_default_method(), &sign, NULL, NULL);
		return sign(type, dgst, dlen, sig, siglen, kinv, r, eckey);
	}
	return 0;
}

Thread 48 "xxxx" hit Breakpoint 5, qat_async_ecdsa_sign (type=672,
dgst=0x7fff420fb830 "\231.\345+e\261\036\243\031\363\346\371\205\001Tjx<6*W\025\276\337\006';\234\340\304\243\344\030ro7\377\177",
dlen=32, sig=0x7fff376a3230 "", siglen=0x7fff420fb7c4, kinv=0x0, r=0x0, eckey=0x7fffd2ef7690) at qat_ec.c:1705
1705	qat_ec.c: No such file or directory.
(gdb) n
1706	in qat_ec.c
(gdb) n
1713	in qat_ec.c
(gdb) p EC_KEY_get_default_method()
$3 = {name = 0x7ffff3751411 "OpenSSL EC_KEY method", flags = 0, init = 0x0, finish = 0x0, copy = 0x0, set_group = 0x0, set_private = 0x0,
set_public = 0x0, keygen = 0x7ffff3619bd0 <ossl_ec_key_gen>, compute_key = 0x7ffff3620350 <ossl_ecdh_compute_key>,
sign = 0x7ffff3620700 <ossl_ecdsa_sign>, sign_setup = 0x7ffff3620760 <ossl_ecdsa_sign_setup>,
sign_sig = 0x7ffff3620b10 <ossl_ecdsa_sign_sig>, verify = 0x7ffff3621430 <ossl_ecdsa_verify>,
verify_sig = 0x7ffff3621550 <ossl_ecdsa_verify_sig>}
(gdb) n
1714	in qat_ec.c
(gdb) p sign
$4 = (int ()(int, const unsigned char *, int, unsigned char *, unsigned int *, const BIGNUM *, const BIGNUM *,
EC_KEY *)) 0x7ffff3620700 <ossl_ecdsa_sign>


Having trouble adding/removing contributors from a sub

When I call subreddit.AddContributor(s); or subreddit.RemoveContributor(s); I am getting a null reference exception at: uh = Reddit.User.Modhash which is found in subreddit.cs:
    public void AddContributor(string user)
    {
        var request = WebAgent.CreatePost(AddContributorUrl);
        WebAgent.WritePostBody(request.GetRequestStream(), new
        {
            api_type = "json",
            uh = Reddit.User.Modhash,
            r = Name,
            type = "contributor",
            name = user
        });
        var response = request.GetResponse();
        var result = WebAgent.GetResponseString(response.GetResponseStream());
    }

I have no issues doing another simple mod only task which is getting the approved submitters, Is this a known issue? If so, How can I work around it. Thanks.

Are you using 2.0 or 1.0 of RedditSharp, are you using OAuth? Are you using normal authentication? What web agent are you using? Do you have the code you're using available for us to perview and test? If not, do you have any code that could replicate this error for us?

Im using the current master branch. I am following the auth example given in the readme.
Sample code:
using System;
using System.Linq;
using System.IO;
using RedditSharp;

namespace TCF_Fix
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Attempting to log in...");
            var webAgent = new BotWebAgent("Username",
                "Password",
                "ClientID",
                "Secret",
                "http://<IP_ADDRESS>:65010/authorize_callback");
            var reddit = new Reddit(webAgent, false);
            var subreddit = reddit.GetSubreddit("subreddit");

            Console.WriteLine("Success");

            foreach(var contrib in subreddit.Contributors.Reverse())
            {
                Console.WriteLine("Kicking " + contrib.Name);
                subreddit.RemoveContributor(contrib.Name);
                System.Threading.Thread.Sleep(1000);
            }

            var users = File.ReadAllLines("Users.txt");

            foreach(var s in users)
            {
                Console.WriteLine("Adding " + s);
                subreddit.AddContributor(s);
                System.Threading.Thread.Sleep(1000);
            }
        }
    }
}

Where Users.txt is a list of usernames to add to the subreddit in question.
Thanks!

You have to call csharp subreddit.RemoveContributor(contrib.FullName) and use reddit fullnames, not usernames

Also, you should be using var reddit = new Reddit(webAgent, true), most likely reason why Reddit.User.Modhash is null, because doing new Reddit(webAgent, true) means that it doesn't initialize your user for using modhashes

Ill give those a go and report back, thanks!

I just received a 400: Bad Request when I did subreddit.RemoveContributor(user.FullName) where user is a RedditUser instance of an approved submitter in the sub.

So, we're in the right direction, so definitely initializing the user at the start helped, now, apparently, according to praw, it's actually usernames, so now i'm confused by our documentation, which I should work on then

If I go back to user.Name it still returns a 400 :/

I don't know what to tell you other than to look at https://www.reddit.com/dev/api and figure it out, since I can't figure it out and i'm going off of what PRAW is saying here: https://github.com/praw-dev/praw/blob/a75ebcf934fb49a6966a04d172fa00e957836958/praw/models/reddit/subreddit.py#L1376

For what it is worth, adding a submitter, flair changes, etc are fine. Its just an issue with removing them that is throwing the error.

Hmm, that's weird, so it'll add a contributor but not remove a contributor now?

Exactly. Removing a contributor is the only method(Atleast that I am using) that throws the 400

Hmm, that's weird, I'll look into it tomorrow since I'm going to go sleep

No worries, thanks for the help

In Reddit's infinite wisdom, removing a contributor etc requires a "fullname" aka t2_blah instead of a username.
Also, mod hashes have been removed from the 2.0 branch, so I think you are either using the 1.0 branch or have some outdated version of 2.0. Might want to upgrade ;)

Wouldnt that be 't2_' + User.ID? Name and fullname are the same. Example:

Either way, Gotta love reddit.
Like I said, im using the current master branch(If thats not 2.0). I use the full .Net framework so trying to wrangle my work into Core is more effort than its worth, especially when this suits my needs fine enough :) Dont mean to be difficult.

 Looks like that FullName property isn't correct for users =/ See if that works though
I haven't done it yet, but the 2.0 branch should be able to support both core and full frameworks (so .net 4.6 and up)

The bot wont run again for a week, so ill let this sit until then. Fingers crossed it all works though.
Ill have a look into that if we keep running into issues here, but if this resolves the removing submitters issue then ill be happy.

Disregard my last, threw together a quick test. subreddit.RemoveContributor("t2_" + user.Id); works perfectly.

So, this is fixed? We should do some documentation changes and close this issue, then

Yup, Fixed. Thanks to both of you for the help.

It would probably behoove us to fix the signatures on both of the contributor methods so that the parameters are named "fullName" or something like that.
And/Or a method that accepts the username and does a call to the /user endpoint so people don't have to screw around with ids (with proper warnings in docs for the additional api call).

Definitely, I was wondering why we didn't have a RedditUser based endpoint already

I'm gonna close this issue, but that can/should be opened as a new issue @pimanac


[READY] Added method to estimate gas in sdk

What does this pull request do? Explain your changes. (required)

Enables users to estimate gas to be used to run LP SDK methods on the EVM.
Specific updates (required)

Method for getting amount of gas to be used for running a method

How did you test each of these updates (required)

Added automated test to test return value of changes

Does this pull request close any open issues?

Fixes #174
Screenshots (optional):

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

@yondonfu fixed!


lagrange: 1.1.0 → 1.1.1

Motivation for this change

changelog
added mpg123 input for MPEG audio support
added passthru.updateScript

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111923 run on x86_64-darwin 1

1 package built:

lagrange


@sveltejs/kit and vite@3 crash Chrome

Describe the bug
We've noticed that a certain page causes Chrome to hang or crash. I was able to create a sample project for this issue. I think it's likely something to do with Vite in dev mode. If I build the project and preview it, everything is working fine.
We've currently switched to Firefox as a workaround.

Reproduction
Please clone https://github.com/sserdyuk/vitebug-08-08-2022
Please run npm run dev and navigate to http://localhost:4100/mock3/explore. The page usually renders once but crashes Chrome on a refresh. I am also noticing it takes quite a bit of time to load that page in the first place.
Logs
No response
System Info
System:
    OS: Linux 5.4 Ubuntu 18.04.6 LTS (Bionic Beaver)
    CPU: (16) x64 AMD Ryzen 7 5700G with Radeon Graphics
    Memory: 21.54 GB / 30.74 GB
    Container: Yes
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 16.14.0 - ~/.bin/node/bin/node
    npm: 8.3.1 - ~/.bin/node/bin/npm
  Browsers:
    Chrome: 104.0.5112.79
    Firefox: 103.0
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64
    @sveltejs/adapter-node: ^1.0.0-next.71 => 1.0.0-next.86
    @sveltejs/kit: next => 1.0.0-next.405
    @sveltejs/vite-plugin-svelte: ^1.0.0-next.36 => 1.0.1
    svelte: ^3.44.0 => 3.49.0
    vite: ^3.0.0 => 3.0.4

Severity
serious, but I can work around it
Additional Information
No response

@benmccann I already reduced it as much as possible without requiring too many attempts to reproduce the issue. I think the issue is somehow connected with how Vite handles those imports. If I remove both packages, the issue goes away.

I just tried this and it's not freezing Chrome for me, but I do see it making more than 1,000 requests, so I suspect this is a duplicate of https://github.com/sveltejs/kit/issues/2612. Can you try the following option in svelte.config.js and see if it fixes it for you?
  vitePlugin: {
    experimental: {
      prebundleSvelteLibraries: true
    }
  }

@bluwy, setting prebundleSvelteLibraries seemed to help a lot and take the requests from 1,000 to 100 for me, but I was still surprised that a 100 requests were being made. I wonder if there's something more that could be improved here to make prebundleSvelteLibraries work even better for this reproduction?

@benmccann Thank you for looking into this. Yes, setting the prebundleSvelteLibraries: true config parts solves the problem for me. The only thing that's left is a noticeable delay in SSR when loading /mock3/explore and the dev server is just started.

Re 100+ requests, looks like prebundleSvelteLibraries only took effect on @rgossiaux/svelte-heroicons but not @rgossiaux/svelte-headlessui, otherwise it should've been lesser requests made. It seems to be like a resolve bug in either vite-plugin-svelte or Vite for that package specifically that's causing prebundling to skip it. In any case, I'll transfer this issue over to vite-plugin-svelte to keep track of this.
Also re SSR: perhaps it's also something to do with the number of components, which future Vite 3 or 4 versions would fix, bringing prebundling in SSR too.


feat: upgrade to typescript 3.7

Enjoy the benefits of optional chaining, a null-coalescing operator, and other
fun new features and enhancements TypeScript brought in 3.7.  For more
information about the TypeScript features, refer to the TypeScript release notes.
Closes #996

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


[5.8] Make Illuminate\Queue\Queue implement QueueContract

made Illuminate\Queue\Queue implement QueueContract,
since pushOn method used push which not implemented in abstract class, but declared on interface;
    public function pushOn($queue, $job, $data = '')
    {
        return $this->push($job, $data, $queue);
    }

also laterOn is used method which not present on abstract class
    public function laterOn($queue, $delay, $job, $data = '')
    {
        return $this->later($delay, $job, $data, $queue);
    }

No plans to change this right now. I believe it was attempted before.


Add a policies/cla.yml

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: tannergooding:x: DragosDanielBoiaYou have signed the CLA already but the status is still pending? Let us recheck it.


fs has no method 'exists' ?

This is the stack trace of error.
/home/pi/node_modules/rpi-gpio/rpi-gpio.js:376
fs.exists(PATH + '/gpio' + pin, function(exists) {
^
TypeError: Object # has no method 'exists'
at isExported (/home/pi/node_modules/rpi-gpio/rpi-gpio.js:376:8)
at /home/pi/node_modules/rpi-gpio/rpi-gpio.js:160:17
at /home/pi/node_modules/rpi-gpio/node_modules/async/lib/async.js:641:34
at Array.0 (/home/pi/node_modules/rpi-gpio/node_modules/async/lib/async.js:557:34)
at EventEmitter._tickCallback (node.js:190:39)

I resolved this error after installing newest version of NodeJs (https://learn.adafruit.com/node-embedded-development/installing-node-dot-js)

Yes it sounds like a node version issue. Thanks for the link - I've updated the nodejs installation guidelines in the readme.


How do we pass props to a page?

In regular VueJS in the route file we can do this:   props: true
const router = new VueRouter({
  routes: [
    { path: '/user', component: User, props: true }
  ]
})

This means that if i did this
this.$router.push({name: 'user', params: {
  myKey: 'my value'
})

then inside the index page i have this
props: {
   myKey: {
      type: Object,
      default() { return {} }
   }
}

Then when ever i do a push to this route, i will be able to access my props inside my user page.
Since in Nuxt the route file is autogenerated by Nuxt, how are we able to pass props to a page like in Vue above?

I have already checked this page for reference https://github.com/nuxt/nuxt.js/issues/8669
But it doesnt seem to answer the question

hi @patchthecode why did you close this?
did you manage to make this work?
i don't want to show user data in url and i don't want to monkey patch it with store/state what is the solution @danielroe?

@nort3x i dumped nuxt and went back to vue3.
Nuxt is good, but for me i had many places i needed specialized control, and Nuxt is a magic black box where everything is done for you.
I wish nuxt stays like this BUT ALSO allows for custom configuration where needed. But since it was hard for me i dumped it.


US SERVER ARKPLANER SHOWING STAGE 6 FORM CN SERVER

Planner Config
[{"id":"30135","name":"D32钢","need":4,"have":6},{"id":"30125","name":"双极纳米片","need":0,"have":0},{"id":"30115","name":"聚合剂","need":0,"have":1},{"id":"30074","name":"白马醇","need":6,"have":12},{"id":"30073","name":"扭转醇","need":0,"have":0},{"id":"30084","name":"三水锰矿","need":8,"have":0},{"id":"30083","name":"轻锰矿","need":0,"have":57},{"id":"30094","name":"五水研磨石","need":0,"have":2},{"id":"30093","name":"研磨石","need":0,"have":1},{"id":"30104","name":"RMA70-24","need":0,"have":0},{"id":"30103","name":"RMA70-12","need":0,"have":13},{"id":"30014","name":"提纯源岩","need":0,"have":0},{"id":"30013","name":"固源岩组","need":0,"have":0},{"id":"30012","name":"固源岩","need":0,"have":4},{"id":"30011","name":"源岩","need":0,"have":0},{"id":"30064","name":"改量装置","need":5,"have":0},{"id":"30063","name":"全新装置","need":8,"have":1},{"id":"30062","name":"装置","need":0,"have":1},{"id":"30061","name":"破损装置","need":0,"have":3},{"id":"30034","name":"聚酸酯块","need":0,"have":4},{"id":"30033","name":"聚酸酯组","need":0,"have":17},{"id":"30032","name":"聚酸酯","need":0,"have":0},{"id":"30031","name":"酯原料","need":0,"have":0},{"id":"30024","name":"糖聚块","need":0,"have":4},{"id":"30023","name":"糖组","need":17,"have":72},{"id":"30022","name":"糖","need":0,"have":12},{"id":"30021","name":"代糖","need":0,"have":15},{"id":"30044","name":"异铁块","need":0,"have":13},{"id":"30043","name":"异铁组","need":0,"have":2},{"id":"30042","name":"异铁","need":0,"have":0},{"id":"30041","name":"异铁碎片","need":0,"have":1},{"id":"30054","name":"酮阵列","need":0,"have":12},{"id":"30053","name":"酮凝集组","need":0,"have":0},{"id":"30052","name":"酮凝集","need":0,"have":7},{"id":"30051","name":"双酮","need":0,"have":4}]

it goes stage 6 on it

Thanks for reporting this issue. After we've done refactoring Planner this shall be fixed.

Duplicate of #337, closing
We will be releasing the fix for Planner in the upcoming days ;)


Cleanup trailing spaces

This is a Bug Report

I and vim found many trailing spaces in document.  It should be removed.

Proposed Solution:
I think it's better to cleanup all trailing spaces.  However, I'd like to discuss about file type as targets.  Currently, following types exist:
find content/ -type f | awk -F. '{print $NF}' | sort | uniq
...(snip)...
cson
css
gif
gitkeep
go
html
jpg
js
json
md
png
properties
py
rego
sh
svg
txt
yaml

Should I remove trailing spaces except from jpg, png, gif and svg ?
Is it better to split each language?

Page to Update:
Plz refer following command result:
sed -i 's/[    ]*$//'  $(find content/ -type f -not -name "*.png" -not -name "*.jpg" -not -name "*.svg" -not -name "*.gif")
Total: 889 files

/assign

Related: consider linting for trailing spaces (possibly as a hint, possibly as a merge blocker)
If picking that up, it might work best tracking that as a brand new issue.

Related: consider linting for trailing spaces (possibly as a hint, possibly as a merge blocker)
If picking that up, it might work best tracking that as a brand new issue.

Hi sftim,  I just used following command.  You mean I should use another tool or plugin to detect trailing space ?
sed -i 's/[[:space:]]*$//'  $(find content/ -type f -not -name "*.png" -not -name "*.jpg" -not -name "*.svg" -not -name "*.gif")

A cleanup is a good idea. If it's useful, SIG Docs could automate making sure that new commits don't introduce the unwanted trailing spaces.
I'm not sure though that this is a big need. My guess is things are pretty much fine as is.

A cleanup is a good idea. If it's useful, SIG Docs could automate making sure that new commits don't introduce the unwanted trailing spaces.
I'm not sure though that this is a big need. My guess is things are pretty much fine as is.

Thanks.. I agree with your opinion.  I think it's just enough to have a rule for coding that we should not include trailing space.  So, I'll push a patch.

I'll push PRs which are split into each language.  Thanks for your suggestion, @sftim
https://github.com/kubernetes/website/pull/16762#issuecomment-540080270

Can we create a config based on this?

/kind cleanup
/priority backlog

/remove-lifecycle rotten


Correction for raw affiliation Laboratory EA-3300: APERE. Adaptations Physiologiques à l'Exercice et Réadaptation à l'Effort. Picardie Jules Verne University, Amiens, F-80025, France; Rammal Hassan Rammal Research Laboratory, Physio-toxicity (PhyTox), Lebanese University, Faculty of Sciences, Nabatieh, Lebanon

Correction needed for raw affiliation Laboratory EA-3300: APERE. Adaptations Physiologiques à l'Exercice et Réadaptation à l'Effort. Picardie Jules Verne University, Amiens, F-80025, France; Rammal Hassan Rammal Research Laboratory, Physio-toxicity (PhyTox), Lebanese University, Faculty of Sciences, Nabatieh, Lebanon
raw_affiliation_name: Laboratory EA-3300: APERE. Adaptations Physiologiques à l'Exercice et Réadaptation à l'Effort. Picardie Jules Verne University, Amiens, F-80025, France; Rammal Hassan Rammal Research Laboratory, Physio-toxicity (PhyTox), Lebanese University, Faculty of Sciences, Nabatieh, Lebanon
new_rors: 05x6qnc69;01gyxrk03
previous_rors: 05x6qnc69;05vb5nm66
works_examples: W2886992926
contact: 4c3f7f9ed0f295619188330442d1a884:c9b73442624eee732dc73254dc651aed @ u-picardie.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


LICENSE change

@rcmorano @lisandroiraguen
Thoughts on changing license from Apache2.0 to MIT?

Although I'd be glad of having forks contributing back (very unlikely anyway), I'm all in for full freedom, so MIT LGTM :)

well, I like more MIT than Apache 2.0, in this case as end product won't change too much, but different will be in a library or something like that


npx create-react-native-dapp errors out

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
npx create-react-native-dapp errors out:

[21:20:44] Error: Problems validating fields in app.json. See https://docs.expo.io/versions/v40.0.0/workflow/configuration/
[21:20:44]  • is missing required property 'name'.
[21:20:44]  • is missing required property 'slug'.
Warning! Your git working tree is dirty.
It's recommended to commit all your changes before proceeding,
so you can revert the changes made by this command if necessary.

[21:20:44] Input is required, but Expo CLI is in non-interactive mode.
Please specify eject method (bare, expokit) with the --eject-method option.
(node:9459) UnhandledPromiseRejectionWarning: Error: Command failed: cd /Users/foobar/.../my-react-dapp; expo eject --non-interactive;
    at checkExecSyncError (child_process.js:635:11)
    at Object.execSync (child_process.js:671:15)
    at ejectExpoProject (/Users/collinglass/.npm/_npx/9459/lib/node_modules/create-react-native-dapp/build/main/buidler/index.js:61:21)
    at Object.create (/Users/collinglass/.npm/_npx/9459/lib/node_modules/create-react-native-dapp/build/main/buidler/index.js:720:5)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async /Users/foobar/.npm/_npx/9459/lib/node_modules/create-react-native-dapp/build/main/cli/index.js:115:33
(node:9459) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9459) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
111

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Using nvm on mac, tried with node v12.20.0 and v13.12.0, same error.

Hi @collinglass, thanks for raising this issue? Can I confirm you've logged into the Expo CLI?

Yes I am, just reverified that

Just to confirm, by using all of the default parameters suggested by the CLI, the project seems to initialize correctly.
Are you specifying any custom parameters to the CLI? By the way, have you checked out this similar issue?

figured it out, outdated expo version. My bad, closing.

@collinglass Great to hear you found a solution! Best of luck.


⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In 53a1277, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 4826 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in f85a4a4.


fast-jit: missing check of dropped elements

unlike other variants, the fast-jit version of table.init doesn't seem checking the element's is_dropped condition.

i will fix this


Remove dialog for all users

Hi,

To delete a group chat dialog I use this piece of code :

ConnectyCube.chat.dialog.delete(dialogId)
But even if the user is the owner, the dialog is removed for the user but remains for the other occupants. Is it possible to delete the dialog for all users with the React Native API ?

Side question : is it possible to remove a 1v1 chat dialog from the history  ?

Thanks

Hi

https://developers.connectycube.com/reactnative/messaging/#remove-dialog

If other occupants were offline while a dialog was deleted then they will have to sync dialogs with a server  to remove the dialog from UI/DB if needed.
If other occupants are online while a dialog is deleting, the owner should send a system message to each occupant to inform them about the delete action. You can pass the deleted dialog ID to inform which dialog has to be removed from UI/DB

      const message = {
        extension: {
          delete_dialog_by_id: dialogId,
        },
      };

      ConnectyCube.chat.sendSystemMessage(userId, message);

Yes. In the same way. But a 1v1 chat dialog will be recreated if a user sends a message to his opponent

thanks @ccvlad .
I think that's what I am doing but I don't get the expected result.
User A creates a group chat (type 2), with user B as an occupant => ConnectyCube.chat.dialog.create(params)
User A and User B see the dialog in their dialog list  => ConnectyCube.chat.dialog.list({})
Then User A deletes the dialog  => ConnectyCube.chat.dialog.delete(dialogId);
User A doesn't see the dialog anymore, but user B still see the dialog in its list when calling  =>
ConnectyCube.chat.dialog.list({})
I'm not sure if I am missing something?
The users are connect via firebase and user A appears as the owner of the group chat in the back end.

@LagoonProject
Try to do ConnectyCube.chat.dialog.delete(dialogId, {force: 1}).
Unfortunately, we didn't specify the second argument in our docs, but it is in REST API docs, and react-native-connectycube SDK has to support it. Please check with the force = 1 param and let us know about the result. I will update the docs if it works

@ccvlad Thanks so much, it works perfectly, I was missing {force: 1}


TEST-#2849: add pytest mark - xfail_backends

Signed-off-by: Myachev<EMAIL_ADDRESS>
What do these changes do?

[ ] commit message follows format outlined here
[ ] passes flake8 modin
[ ] passes black --check modin
[ ] signed commit with git commit -s
[x] Resolves #2849
[ ] tests added and passing
[ ] module layout described at docs/developer/architecture.rst is up-to-date

@dchigarev ready for review


authorization: document common subresources like proxy, logs, etc and their implications

Follow up to https://groups.google.com/forum/m/#!topic/kubernetes-dev/IjKWBos7FR0
/assign @ericchiang

/sig auth

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale


protoc compiler not found on windows

background: i was try using cmake compile nanopb project

this is my python lib for using nanopb

i was try to using command `` to using nanopb, but i get an error like this:

when i check cmake file for the error infomation:

what is the protoc compiler ? i fix this question on linux by running command sudo apt-get install protobuf-compiler
but i still need nanopb work fine on windows? what should i do? thks for help me first~

You want the mingw-w64-i686-protobuf MSYS2 package. Look at .github/workflows/release.yml file for the definitive dependency list (that's the script used by the CI system). It should also be actually documented in http://cowlark.com/fluxengine/doc/building.html, in the 'Building the client' section.

thanks very much.


contrib: add backport script

To ease the backport, I wrote a quick script.
Usage: ./backport.sh.sh stable-2.2
6892670d317698771be7e96ce9032bc27d3fd1e5 my-work
We can also pass multiple commits.
Follow up on @ktdreyer write up here:
https://github.com/ceph/ceph-ansible/pull/1529
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

jenkins test please

jenkins test this please