[Task] add pop consumer example

The issue tracker is used for bug reporting purposes ONLY whereas feature request needs to follow the RIP process. To avoid unnecessary duplication, please check whether there is a previous issue before filing a new one.
It is recommended to start a discussion thread in the mailing lists in cases of discussing your deployment plan, API clarification, and other non-bug-reporting issues.
We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.
Please ensure that your bug report is clear and self-contained. Otherwise, it would take additional rounds of communication, thus more time, to understand the problem itself.
Generally, fixing an issue goes through the following steps:

Understand the issue reported;
Reproduce the unexpected behavior locally;
Perform root cause analysis to identify the underlying problem;
Create test cases to cover the identified problem;
Work out a solution to rectify the behavior and make the newly created test cases pass;
Make a pull request and go through peer review;

As a result, it would be very helpful yet challenging if you could provide an isolated project reproducing your reported issue. Anyway, please ensure your issue report is informative enough for the community to pick up. At a minimum, include the following hints:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

What is expected to see?

What did you see instead?

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

FEATURE REQUEST

Please describe the feature you are requesting.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks involved, use -[] for each sub-task and create a corresponding issue to map to the sub-task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

We should be cautious about proposing a new consumer type PopConsumer even in the example module. The pop mechanism is an inner implementation, it's recommended to leverage the pop ability via SimpleConsumer in rocketmq-clients.

Ok.I fix it.


SBT snippet in README has incorrect group

libraryDependencies += "datadog-scala" %% "datadog-scala" % "1.1.3"
should read
libraryDependencies += "com.github.gphat" %% "datadog-scala" % "1.1.3"

Done, thanks!


Goaccess log errors

Getting multiple errors from goaccess reading log files. Docker container then stops.
FILE: /goaccess/access_archive.log

Token '009' doesn't match specifier '%s'
Token 'SEARCH' doesn't match specifier '%m'
Format Errors - Verify your log/date/time format

Running Nginx Proxy Manager v2.9.16 in docker container, on Ubuntu server 20.04

I deleted all my Nginx proxy manager logs and restarted the goaccess container, and now it is working.
Not the best fix, but it worked. There still may be something wrong with the log format for goaccess though

Would you have a copy of the old logs, so that I can review?

Only after I deleted the backup copy of my log files did I realize that I probably should have kept them! 🤦
If the problem resurfaces I'll send you my log files to review.

No problem. I'm wondering if there was some change in the NPM log format at some point in time. Another user had the same issue but it was only with one file once they deleted that one file it worked fine.

When I was getting the error, I had about 26 log files for each *_error..log and *_access.log. The errors were with multiple files, and the older log files it seemed were causing the issues. I'll keep an eye on it and report if it occurs again.

@rtorchia please re-open if this issue comes back.


Verify that "Dealu Bistrii" is listed in the dropdown menu when searched

Description:
"Dealu Bistrii" should appear in the dropdown menu with correct spelling and locality information.
Preconditions:
The website is up and running.

Step 1
Type "Dealu Bistrii" in the search bar.
Expected results:
The dropdown is listing "Dealu Bistrii" as the first location in the dropdown menu.

Step 2
Observe the dropdown menu.
Expected results:
"Dealu Bistrii" is displayed and selectable from the dropdown menu.


Issue with transition all on wrapper

Causes graphs to overflow where the content would be without the nav.

transition: all 0.3s linear;


chore: Update to async version of istanbul-lib-source-maps

Coverage remained the same at 100.0% when pulling a05eeae8c7234dfd0cc546f6d2564452d94b55b3 on coreyfarrell:async-source-maps into 0efc6d14a288ac097c9e56ea2bba5c9b2c26acd4 on istanbuljs:master.

Coverage remained the same at 100.0% when pulling a05eeae8c7234dfd0cc546f6d2564452d94b55b3 on coreyfarrell:async-source-maps into 0efc6d14a288ac097c9e56ea2bba5c9b2c26acd4 on istanbuljs:master.


Code generator issue on YES,NO,..

DB: Enum values like "YES" and "NO" confuse some code generators. They create a binary element, even if there are three options (e.g. ExchangeableType has the options YES, NO, WITH_CONDITIONS). The solution is to have the values quoted, i.e. "YES", "NO", "WITH_CONDITIONS".
to be discussed with Andreas for the generator

yaml is going to be the master source, provide patch for 3.2 for boolean-like enums

Hi,
I just ran into this issue when using openapi-generator to generate C# code from OSDM spec version 3.0.4. According to the milestone assignment, this is fixed in the 3.2 version of the spec, but unfortunately I cannot just upgrade, I need to stay on 3.0.x for interoperability with my Swedish counterparts.
Any chance that this could be back-ported to 3.0?

@jonekdahl Please file an issue for backport to 3.1, 3.0 here at github. We can make it happen

@jspetrak Thanks, I created #764 .

@jonekdahl Thanks, that looks good! I have merged the PR and also created an official release so you can immediately pull the openapi file from Git and use in the project.


Camera2D is not updating correctly when smoothing_speed is the default value.

Godot version:
Godot 3.1 e77afb8
OS/device including version:
Windows 10 64bit
Issue description:
Two bugs I noticed that seem to be related.

When resizing the game window the Camera2D doesn't center itself, even though it's set to be centered. This only happens when smoothing_speed is the default value of 5, it doesn't matter if smoothing is on or off, it happens either way. But when smoothing_speed is set to any other value it will update correctly and stay centered, even if smoothing is off.
When smoothing is on, smoothing_speed is the default value of 5, and using the dragging script provided below, the camera smoothing only updates while the mouse is moving. But when the smoothing_speed is any other value the camera moves smoothly as expected.

Neither of these bugs happened in 3.1 Alpha 2. You can open the project in that version to test as well.
The camera dragging script:
extends Camera2D

func _unhandled_input(event):
	if event is InputEventMouseMotion:
		if event.button_mask & BUTTON_MASK_LEFT:
			position -= event.relative

Steps to reproduce:

Run the project, try to drag the camera around. Also try resizing the window. The bugs described above will happen.
Change the smoothing_speed value to anything other than 5 and try running it again. The bugs stop happening.

Minimal reproduction project:
CameraBug3_1.zip

Had the same issue(Godot 3.1 alpha 4, Linux Mint 19) but it still happened for me, when I changed the smoothing_speed to 0. Though a smoothing_speed of 1 fixed it then.

Seems to work fine both in 3.1-stable and the current master branch, so I guess it was fixed and we forgot to close this issue (or I now misunderstand what the bug should look like).


Option for ErrorCheckEndFrameRecover() call prior to EndFrame() for catching errors in python

I am building a python application and there are some cases where I am trying to trap unhandled exceptions and allow the application to continue to run or save user data before exit.
However, if an error occurs between a begin_xxx and end_xxx statements, ImGui raises an error that the end_xxx statement was not called in certain cases. This ends up preventing python from being able to trap the exception and the app immediately exits with a console error such as
Assertion failed: ((g.CurrentWindowStack.Size == 1) && "Mismatched Begin/BeginChild vs End/EndChild calls: did you forget to call End/EndChild?"), function ErrorCheckEndFrameSanityChecks, file imgui.cpp, line 9038.
OR
RuntimeError: IM_ASSERT( window->Flags & ImGuiWindowFlags_MenuBar ) --- imgui_widgets.cpp:7039

In this closed issue for ImGui on Exception handling advice https://github.com/ocornut/imgui/issues/5769, the solution mentioned is to

call ErrorCheckEndFrameRecover() prior to EndFrame().

The ErrorCheckEndFrameRecover()  function appears to be in the internal functions of ImGui. However I don't see that wrapped into python in imgui.internal. I suspect we would likely need to have a runner parameter callback option to turn this on since I don't see where to add function calls right before EndFrame().
Is there a way to call ErrorCheckEndFrameRecover() that I missed?
Thank for any thoughts on this.

Hi,
Is this a good minimal reproducible example of what you are trying to solve?
from imgui_bundle import hello_imgui, imgui

def subwindow_gui():
    imgui.begin("Sub window")
    imgui.text("This is a subwindow that can raise an exception")

    if imgui.button("Raise exception"): # This button raises an exception that bypasses `ìmgui.end()`
        raise RuntimeError("Argh")
    imgui.end()

def gui():
    try:
        imgui.text("Hello")
        subwindow_gui()
    except RuntimeError as e:
        # We do catch the exception,
        print(f"Ouch, caught an exception: {e}")

hello_imgui.run(gui)

If so, I could study a way to call ErrorCheckEndFrameRecover().
For this adding a PreEndFrame or PreImGuiRender callback might be useful, in order to be able to call ErrorCheckEndFrameRecover.
At the moment, I, am not sure whether providing a binding for ErrorCheckEndFrameRecover is a good idea or not: its signature  is quite complex, since it uses C-style function pointers:
typedef void (*ImGuiErrorLogCallback)(void* user_data, const char* fmt, ...);

void    ImGui::ErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback, void* user_data);

I might have to provide an easier signature for python (bypassing void* user_data, and decrypting va_args):
using CallbackWithMessage = std::function<void(const std::string&)>;

void  ImGui::ErrorCheckEndFrameRecover2(CallbackWithMessage callback);

Anyhow, I still need to study this more in details.

Ok, I made some changes that address this:

https://github.com/pthom/imgui_bundle/commit/11f505933a0bcbf00fdc2e723d1fa674439bc459: add a BeforeImGuiRender callback (in python: before_imgui_render)

https://github.com/pthom/imgui_bundle/commit/40af929455664f5503039e34775fbd0c80a49d15: add bindings for ErrorCheckEndFrameRecover

(I had to write a C++ style adapter for the ImGui callbacks, here (inside the ImGui fork used by ImGui Bundle)

Example usage: the commit 5821de provides C++ and python examples

Below is a typical usage with python:
from imgui_bundle import hello_imgui, imgui

def sub_window_gui():
    imgui.set_next_window_size((600, 200))
    imgui.begin("Sub window")
    imgui.text_wrapped("The button below will raise an exception which lead to imgui.end() not being called")

    if imgui.button("Raise exception"): # This button raises an exception that bypasses `ìmgui.end()`
        raise RuntimeError("Argh")
    imgui.end()

def gui():
    try:
        imgui.text("Hello")
        sub_window_gui()
    except RuntimeError as e:
        print(f"Ouch, caught an exception: {e}")

def my_end_frame_error_callback(message):
    print("my_end_frame_error_callback ==> " + message)

runner_params = hello_imgui.RunnerParams()
runner_params.callbacks.show_gui = gui
runner_params.callbacks.before_imgui_render = lambda: imgui.internal.error_check_end_frame_recover(my_end_frame_error_callback)

hello_imgui.run(runner_params)

I apologize, I should have provided an example. Thanks for being more complete than I was.
I am not an expert at all on Dear ImGui and in most cases I can trap the errors. I think it is just the few legacy begin_xxx calls that require the end_xxx call. If an error occurs between the begin and end that is where I notice an issue. I'm not sure if there are more, but the two I'm aware of that require the end call are the begin() for windows and begin_child() calls.
I think what you have shown above is perfect. This would solve the issue. I have been able to work around it currently with more error traps within the primary window gui functions and the child functions. But this would help clean up my code a bit to handle unexpected cases.
One question, if I don't re-raise the error in the my_end_frame_error_callback does that allow the application to continue running. For cases where it is not a critical error I'm hoping to allow things to continue to run.
Thank you so much for looking at this.

One question, if I don't re-raise the error in the my_end_frame_error_callback does that allow the application to continue running. For cases where it is not a critical error I'm hoping to allow things to continue to run.

Yes it does! If you update the package (by pip install -v -e . from a checkout), you will see that it does continue to run

Thanks. I build the latest version when I get a chance and give it a try. Thanks so much.


[DOC] SSO is an overloaded term and we should rename Simple Schema for Observability

What do you want to do?

[X] Request a change to existing documentation

Tell us about your request. Provide a summary of the request and all versions that are affected.
We have abbreviated Simple Schema for Observability to SSO. The issue is SSO is already a very well established abbreviation for single sign on even within the OpenSearch space [source]. We should update the acronym to be something not so overloaded.
To make it more straightforward I have several suggestions here. Please vote by reacting with the appropriate emoji. If you have another idea please leave it in a comment below and we will vote on it by leaving 👍 emojis. 😊
React for:
🚀 - SiSO
🎉 - SS4O
❤ - SSFO

Even our band is called SSO (Sunny Summer Orchestra) 🎹 🎸 🎻 🎺 🎷 🥁 🎙

@lukas-vlcek at least that is in a different domain though. Hopefully no one comes to your shows looking for a lecture on authentication and authorization 🤣

I vote for no acronym. It's confusing when reading code, and saying it out loud could be shortened to "simple schema".
Elasticsearch has ECS which is confusing already if you are using amazon ecs...

I agree with Amitai - I don't think we should introduce an acronym here when simple schema is an appropriate term.


fix: Copy wasm-delegations.def into the correct location

When trying to upgrade binaryen.ml, it failed because wasm-delegations.def couldn't be located.
The only way to really test this is with an esy resolution so I'm going to open a related PR over there.
Relies on #27 so I can trigger a release.

I'm 99.9999% sure this is working now.


Two hotfixes

position_json is empty on new dashboard creation
check_ownership missing param

Coverage remained the same at 81.856% when pulling a7cdf3c34df87a523b3984cfac5527344103d573 on georgeke:master into 0d800fa302878a8b26ccc48850376d01f95dcd0f on airbnb:master.


Remove unnecessary installations of alpine packages from Dockerfile

These were added several releases ago to address CVE vulnerabilities with some of the packages in the alpine image available at the time.  Newer versions of the alpine image include the updated packages.
Additional info
For context, the available packages for a particular alpine version can be viewed at https://pkgs.alpinelinux.org/packages?name=&branch=v3.12&repo=main.
The edge version is unstable but is the latest alpine version available and uses the latest package versions.  The CVE vulnerabilities were resolved by installing the corresponding packages from the edge version's repository.
These versions are now included in the newer alpine images and so shouldn't need to manually pulled in from edge (checking the webpage it looks like all these packages have the same versions in v3.12 (the version currently used by adoptopenjdk/openjdk11:alpine) and edge.
If, in the future, new CVE vulnerabilities are found then we will again have to pull in later versions from edge if they are available.  However, these should only be temporarily necessary whilst waiting for adoptopenjdk/openjdk11:alpine to update to the latest version of alpine.

Codecov Report

Merging #1091 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1091   +/-   ##
=========================================
  Coverage     99.39%   99.39%
  Complexity     2261     2261
=========================================
  Files           349      349
  Lines          6289     6289
  Branches        360      360
=========================================
  Hits           6251     6251
  Misses            5        5
  Partials         33       33

Flag
Coverage Δ
Complexity Δ

#unittests
99.39% <ø> (ø)
2261.00 <ø> (ø)

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 0965c07...5736fc4. Read the comment docs.


Create .python-version closes #22

For ST4 compatibility

ping @AdrianLC

@AdrianLC thanks for the plugin!
Could you please merge this minor fix and release a version when you have time?
It will be great to have this nice plugin fixed and avoid installing it from source of the fork...
Thanks in advance!


Fix incorrect repository URL for webhook push

Why:
The current URL is incorrect
What's being changed (if available, include any code snippets, screenshots, or gifs):
The repository URL in the push webhook payload
Check off the following:

[ ] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[X] For content changes, I have completed the self-review checklist.

Not sure why this file can't be changed by outside contributors, but this is an issue and should be fixed.

@knd775 Thanks for opening a PR and pointing this out. I'll triage it for the team to take a look 👀

Hi @knd775,
This webhook payload might generate different URLs under different conditions; in my quick test, the documented URL looks accurate.
Here's my test payload from a repo after a push event:
{
  "ref": "refs/heads/main",
  "before": "6d0e30fa5337d301203f72682e1eaafb973330c1",
  "after": "5f00cfffe0307177686c0bec53a2f218fc96c9c7",
  "repository": {
    "id": 207674178,
    "node_id": "MDEwOlJlcG9zaXRvcnkyMDc2NzQxNzg=",
    "name": "actions-public-playground",
    "full_name": "lucascosti/actions-public-playground",
    "private": false,
    "owner": {
      "name": "lucascosti",
      "email"<EMAIL_ADDRESS>      "login": "lucascosti",
      "id": 4434330,
      "node_id": "MDQ6VXNlcjQ0MzQzMzA=",
      "avatar_url": "https://avatars.githubusercontent.com/u/4434330?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/lucascosti",
      "html_url": "https://github.com/lucascosti",
      "followers_url": "https://api.github.com/users/lucascosti/followers",
      "following_url": "https://api.github.com/users/lucascosti/following{/other_user}",
      "gists_url": "https://api.github.com/users/lucascosti/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/lucascosti/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/lucascosti/subscriptions",
      "organizations_url": "https://api.github.com/users/lucascosti/orgs",
      "repos_url": "https://api.github.com/users/lucascosti/repos",
      "events_url": "https://api.github.com/users/lucascosti/events{/privacy}",
      "received_events_url": "https://api.github.com/users/lucascosti/received_events",
      "type": "User",
      "site_admin": true
    },
    "html_url": "https://github.com/lucascosti/actions-public-playground",
    "description": "Playing and testing GitHub actions",
    "fork": false,
    "url": "https://github.com/lucascosti/actions-public-playground",
    "forks_url": "https://api.github.com/repos/lucascosti/actions-public-playground/forks",
    "keys_url": "https://api.github.com/repos/lucascosti/actions-public-playground/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/lucascosti/actions-public-playground/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/lucascosti/actions-public-playground/teams",
    "hooks_url": "https://api.github.com/repos/lucascosti/actions-public-playground/hooks",
    "issue_events_url": "https://api.github.com/repos/lucascosti/actions-public-playground/issues/events{/number}",
    "events_url": "https://api.github.com/repos/lucascosti/actions-public-playground/events",
    "assignees_url": "https://api.github.com/repos/lucascosti/actions-public-playground/assignees{/user}",
    "branches_url": "https://api.github.com/repos/lucascosti/actions-public-playground/branches{/branch}",
    "tags_url": "https://api.github.com/repos/lucascosti/actions-public-playground/tags",
    "blobs_url": "https://api.github.com/repos/lucascosti/actions-public-playground/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/lucascosti/actions-public-playground/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/lucascosti/actions-public-playground/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/lucascosti/actions-public-playground/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/lucascosti/actions-public-playground/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/lucascosti/actions-public-playground/languages",
    "stargazers_url": "https://api.github.com/repos/lucascosti/actions-public-playground/stargazers",
    "contributors_url": "https://api.github.com/repos/lucascosti/actions-public-playground/contributors",
    "subscribers_url": "https://api.github.com/repos/lucascosti/actions-public-playground/subscribers",
    "subscription_url": "https://api.github.com/repos/lucascosti/actions-public-playground/subscription",
    "commits_url": "https://api.github.com/repos/lucascosti/actions-public-playground/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/lucascosti/actions-public-playground/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/lucascosti/actions-public-playground/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/lucascosti/actions-public-playground/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/lucascosti/actions-public-playground/contents/{+path}",
    "compare_url": "https://api.github.com/repos/lucascosti/actions-public-playground/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/lucascosti/actions-public-playground/merges",
    "archive_url": "https://api.github.com/repos/lucascosti/actions-public-playground/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/lucascosti/actions-public-playground/downloads",
    "issues_url": "https://api.github.com/repos/lucascosti/actions-public-playground/issues{/number}",
    "pulls_url": "https://api.github.com/repos/lucascosti/actions-public-playground/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/lucascosti/actions-public-playground/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/lucascosti/actions-public-playground/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/lucascosti/actions-public-playground/labels{/name}",
    "releases_url": "https://api.github.com/repos/lucascosti/actions-public-playground/releases{/id}",
    "deployments_url": "https://api.github.com/repos/lucascosti/actions-public-playground/deployments",
    "created_at":<PHONE_NUMBER>,
    "updated_at": "2022-01-06T23:59:17Z",
    "pushed_at":<PHONE_NUMBER>,
    "git_url": "git://github.com/lucascosti/actions-public-playground.git",
    "ssh_url": "git@github.com:lucascosti/actions-public-playground.git",
    "clone_url": "https://github.com/lucascosti/actions-public-playground.git",
    "svn_url": "https://github.com/lucascosti/actions-public-playground",
    "homepage": null,
    "size": 713,
    "stargazers_count": 1,
    "watchers_count": 1,
    "language": null,
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": true,
    "forks_count": 7,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 21,
    "license": null,
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [

    ],
    "visibility": "public",
    "forks": 7,
    "open_issues": 21,
    "watchers": 1,
    "default_branch": "main",
    "stargazers": 1,
    "master_branch": "main"
  },
  "pusher": {
    "name": "lucascosti",
    "email"<EMAIL_ADDRESS>  },
  "sender": {
    "login": "lucascosti",
    "id": 4434330,
    "node_id": "MDQ6VXNlcjQ0MzQzMzA=",
    "avatar_url": "https://avatars.githubusercontent.com/u/4434330?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/lucascosti",
    "html_url": "https://github.com/lucascosti",
    "followers_url": "https://api.github.com/users/lucascosti/followers",
    "following_url": "https://api.github.com/users/lucascosti/following{/other_user}",
    "gists_url": "https://api.github.com/users/lucascosti/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/lucascosti/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/lucascosti/subscriptions",
    "organizations_url": "https://api.github.com/users/lucascosti/orgs",
    "repos_url": "https://api.github.com/users/lucascosti/repos",
    "events_url": "https://api.github.com/users/lucascosti/events{/privacy}",
    "received_events_url": "https://api.github.com/users/lucascosti/received_events",
    "type": "User",
    "site_admin": true
  },
  "created": false,
  "deleted": false,
  "forced": false,
  "base_ref": null,
  "compare": "https://github.com/lucascosti/actions-public-playground/compare/6d0e30fa5337...5f00cfffe030",
  "commits": [
    {
      "id": "5f00cfffe0307177686c0bec53a2f218fc96c9c7",
      "tree_id": "ecaddf9e68e3f1b27143944b812e1c6c0cd87ee0",
      "distinct": true,
      "message": "Update README.md",
      "timestamp": "2022-08-17T15:06:10+10:00",
      "url": "https://github.com/lucascosti/actions-public-playground/commit/5f00cfffe0307177686c0bec53a2f218fc96c9c7",
      "author": {
        "name": "Lucas Costi",
        "email"<EMAIL_ADDRESS>        "username": "lucascosti"
      },
      "committer": {
        "name": "GitHub",
        "email"<EMAIL_ADDRESS>        "username": "web-flow"
      },
      "added": [

      ],
      "removed": [

      ],
      "modified": [
        "README.md"
      ]
    }
  ],
  "head_commit": {
    "id": "5f00cfffe0307177686c0bec53a2f218fc96c9c7",
    "tree_id": "ecaddf9e68e3f1b27143944b812e1c6c0cd87ee0",
    "distinct": true,
    "message": "Update README.md",
    "timestamp": "2022-08-17T15:06:10+10:00",
    "url": "https://github.com/lucascosti/actions-public-playground/commit/5f00cfffe0307177686c0bec53a2f218fc96c9c7",
    "author": {
      "name": "Lucas Costi",
      "email"<EMAIL_ADDRESS>      "username": "lucascosti"
    },
    "committer": {
      "name": "GitHub",
      "email"<EMAIL_ADDRESS>      "username": "web-flow"
    },
    "added": [

    ],
    "removed": [

    ],
    "modified": [
      "README.md"
    ]
  }
}


Updating Chrome Policy json format to match how it should be specified

Each policy must have a value attribute that gives the actual rather than just matching key to value directly.

This change is

   Just a comment on testing this.

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

ufo/handlers/chrome_policy.py, line 18 [r1] (raw file):

  {
    "validProxyServers": {"Value": map_of_proxy_server_ips_to_public_key},

It's great to document this, but I would also feel so much better if we can have a test to verify the proper formatting is being generated/used.  It can be something as simple as looping through all the keys of the policy_dictionary, and assert that the inner key of the value is "Value".  :)

Comments from Reviewable

Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

ufo/handlers/chrome_policy.py, line 18 [r1] (raw file):
Previously, blueandgold (Henry Chang) wrote…
> It's great to document this, but I would also feel so much better if we can have a test to verify the proper formatting is being generated/used.  It can be something as simple as looping through all the keys of the policy_dictionary, and assert that the inner key of the value is "Value".  :)

Done.

Comments from Reviewable


use realpath to strip duplicate path separators

fixes #143

Coverage remained the same at 96.19% when pulling b2f8552201981b447497d4ac4572fd8d5b1e673e on brianium:bugfix/extra-directory-separators into 65bfe6357edc3fc7991d3be437f7253e5a211522 on peridot-php:master.

Coverage remained the same at 96.19% when pulling b2f8552201981b447497d4ac4572fd8d5b1e673e on brianium:bugfix/extra-directory-separators into 65bfe6357edc3fc7991d3be437f7253e5a211522 on peridot-php:master.

Coverage remained the same at 96.19% when pulling b2f8552201981b447497d4ac4572fd8d5b1e673e on brianium:bugfix/extra-directory-separators into 65bfe6357edc3fc7991d3be437f7253e5a211522 on peridot-php:master.


Doesn't work on android 9

Oneplus 6
Working on H2os@android 8.1
After I upgrade to O2os@android 9.0, this app doesn't work anymore.

Clear app data?

Force stop,.clear data and rerun.
Not working.

This app has been tested on LineageOS 16. I'm not sure why it's not working. Can you please grab a logcat?

Sorry, after a few reboots(?) this app starts working.
I also have a strong feeling that this version(180915) of O2os is not stable enough to be the daily driver.
Here's the logcat.
logcat.txt

This app seems to be working fine during the time your log has covered. I guess I'll close this for now. Feel free to update when you get a logcat as soon as it's not working.

@showgood163 Sorry for the late reply. But looking at your log, I don't think there's a DHCPv6 server reachable. For example:
11-03 00:20:53.222 11477 11671 I libdhcp6c.so: Nov/03/2018 00:20:53: copy_option: set client ID (len 14)
11-03 00:20:53.223 11477 11671 I libdhcp6c.so: Nov/03/2018 00:20:53: copyout_option: set identity association
11-03 00:20:53.223 11477 11671 I libdhcp6c.so: Nov/03/2018 00:20:53: copy_option: set elapsed time (len 2)
11-03 00:20:53.223 11477 11671 I libdhcp6c.so: Nov/03/2018 00:20:53: copy_option: set option request (len 4)
11-03 00:20:53.223 11477 11671 I libdhcp6c.so: Nov/03/2018 00:20:53: client6_send: send solicit to ff02::1:2%wlan0
11-03 00:20:53.223 11477 11671 I libdhcp6c.so: Nov/03/2018 00:20:53: dhcp6_reset_timer: reset a timer on wlan0, state=SOLICIT, timeo=5, retrans=34234

@Mygod
Emmm.. I didn't think the network environment has changed before or after I changed the rom.
For now, I'm using O2OS 5.1.11(8.1.0) and dhcpv6 1.3.0 and for now it works occasionally, not always, which may be coincident with the analysis you provided.
I may get back to O2OS 9.0.2 if I have time and get more log for this problem.


Swapping function of values should be made more intuitive

Currently (in Consumes and Produces sections) if multiple values are swapped within each other, the action is not always clearly visible and intuitive. It takes user a while to understand that the values have been swapped to other fields. Some kind of feedback (hourglass, s-alert, etc.) would be good to indicate this action.

Not relevant after UI redesign and implementation. There is no longer swapping functionality.


License is incorrect

I'm not the author, but this descends from then original mmdet based SOLO code that is BSD licensed with an academic only clause.

Sorry, I will fix it or delete this repo.
| |
pengsong
|
|
@.***
|
发自 网易邮箱大师
---- Replied mail ----
| From | Andrew @.> |
| Date | 09/02/2021 21:40 |
| To | @.> |
| Cc | @.***> |
| Subject | [universea/SOLOv2] License is incorrect (#2) |
I'm not the author, but this descends from then original mmdet based SOLO code that is BSD licensed with an academic only clause.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Thanks! I'm not a lawyer, but it looks like you're in academia, so I guess you have the option of preserving the original modified bsd license and keeping the repo up. I'm hoping the original authors switch to a permissive license... many recent instance segmentor codes have this same problem.


[security] session or cookie foo with multiple instances of lychee

Hi Tobias,
as there is no multi-user support yet, I've installed multiple instances of lychee on my vps.
Due to lack of a wildcard ssl cert, I use aliases/folders for accessing the instances.
/var/www/lychee1 -> https://mydomain.com/photos1
/var/www/lychee2 -> https://mydomain.com/photos2
Of course with two databases, totally seperated folders, different logins/crendetials and so on ...
When I login to photos1 this login is also valid for photos2. I don't have to re-login, this sounds to me like a security vulnerability.
I am not really familar with php session handling and cookies, but here my thoughts about it.

Cookie is always valid for domain = mydomain.com and path = /.
As long the cookie is valid for /, this happens on accessing by folders not by subdomains.
I think this can be solved by an additional path or url value to lychee_settings table from which the cookie path can be set.
Of course this will not prevent someone from editing the cookie, but I am sure, you will find a secure solution :)

Maybe you can have a look into it.
Thanks
Carlo

Thanks for the information! We need to store an unique key in the session to identify the Lychee installation. The id could be generated after the initial setup.

Lychee now stores an identifier in the database and session. Loggin into A keeps you logged out in B. However, both installations are still using the same session: Logging into a different installation (e.g. B) will log you out of A. Thats much better, but there's still save for improvement.
Please take a look at the develop-branch and let me know if it is working for you.

thanks, works fine :)


Wrapping text in the label

Currently the text in the status bar label can be so long that the canvas becomes too wide:

This pull request is supposed to fix that, but it's not ready for merging yet.

I don't think that setting wraplength is an ideal solution. With wraplength, the status bar can be one or two lines, depending on how long the text is. This makes the status bar to shrink and expand as the text is changed.

I don't think that setting wraplength is an ideal solution. With wraplength, the status bar can be one or two lines, depending on how long the text is. This makes the status bar to shrink and expand as the text is changed.

With very tiny widths, it's possible to make the text wrap ridiculously much:

Should we change the minimum of board_width?

With very tiny widths, it's possible to make the text wrap ridiculously much:

Should we change the minimum of board_width?


GSE162610 - Milich2021MouseSpinal

Project short name:
Milich2021MouseSpinal
Primary Wrangler:
Ida
Secondary Wrangler:

Link to Ingest

https://contribute.data.humancellatlas.org/projects/detail?uuid=e6773550-c1a6-4949-8643-1a3154cf2670&tab=project

Associated files

Google Drive: folder

Published study links

Paper: Single-cell analysis of the cellular heterogeneity and interactions in the injured mouse spinal cord

Accessioned data: GSE162610

Key Events

[x] Convert published metadata to HCA spreadsheet
[x] Manually curate dataset to meet HCA metadata standard
[x] Collect any matrix and cell-type annotation files
[x] Upload sheet to validate metadata
[x] Check linking using ingest graph validator
[x] Transfer raw files to ingest to validate data files
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

Sample design

One sample from each time point consisted of cells from a single spinal cord. In all other samples, cells were pooled from two animals. In total, we sequenced three uninjured biological replicates (from five animals), three biological replicates at 1 dpi (from five animals), two biological replicates at 3 dpi (from three animals), and two biological replicates at 7 dpi (from three animals).

close to done
I'm converting bam files to fastq
to do:

[ ] file tab
[ ] ontologies
[ ] validation

graph valid, redy for secondary review

@ami-day will secondary-review

This looks really good @idazucchi . I have only a couple of comments:

The 3 sequencing protocols look the same, should there just be 1 protocol id linked to all the cell suspensions?
They enrich for astrocytes in some cases, the selected cell type could be filled for the relevant cell suspensions in the cell suspension tab

the sequencing protocols differ in the cell ranger version used
for the astrocytes I'm not sure how to approach this beacause they mix 1 astrocyte-selected cell suspension + 1 non enriched cell suspension so it's not strictly astrocytes
I don't think that we should be using the official hca publication option for the bionetworks datasets because the papers for the two groups are selected in different ways and are not equivalent

I've exported the dataset and filled out the import form

Ida made the required changes to remove the double pipes that were causing issues to the browser. She re-exported and filled out the import form. This was one of the projects that has been dropped from DCP while we resolved the issues


graph/encoding/dot: reconsider strict parameter on Marshal

Background
The Marshal() function takes a final boolean parameter that will prefix the emitted DOT encoded graph with the strict keyword. This, according to the DOT documentation:

...forbids the creation of multi-edges, i.e., there can be at most one edge with a given tail node and head node in the directed case. For undirected graphs, there can be at most one edge connected to the same two nodes. Subsequent edge statements using the same two nodes will identify the edge with the previously defined one and apply any attributes given in the edge statement.

Given that a graph.Graph is the interface for a simple graph, it is not really possible to construct a non-strict DOT graph in this form. A graph.Multigraph may, or may not, be a strict graph, it depends on the topology of the graph.
Proposal

Remove the strict parameter from Marshal(), and make Marshal(graph.Graph) always serialize a strict dot graph.
Remove the strict parameter from MarshalMulti() and make MarshalMulti(graph.Multigraph) always serialize a non-strict graph

This would simplify the arguments for both functions, and reduce the likelihood of serializing an invalid DOT graph.

Introduce a new pair of helper functions to convert a graph.Graph to a graph.Multigraph and vice-versa. This has an advantage over doing strict checking during serialization, as it is an explicit action to perform/verify the conversion, and errors can be handled explicitly, e.g. loading a multigraph and altering it in a way that should result in a simple graph, then outputting it is a strict DOT graph.

Potential implementation challenges
I'm not quite sure how to transfer custom DOT serialization properties through the conversion process.
Potential impact of proposal
The signature of Marshal() will change and be incompatible with previous versions.

I think the loss of control over the strict keyword is reasonable - the user can always TrimPrefix or prepend as needed.
I don't think a helper function set is needed though. The best way of handling these kinds of conversions is via an embedding type and these are best written by the user as they know what things are important in their use case.


Add node popup redesign

See #219
edit: mmh that's a lot of commits... looking into that

okay gonna clean my branches and open a new PR

Hey, wanted me to merge painting stuff early ?


[Fix][Runtime] Use flatBuffersBuffer_ in EdgeTPURuntime::Init()

This PR fixes a bug in EdgeTPURuntime::Init(), in which flatBuffersBuffer_ is not used for initializing FlatBufferModel.
This bug causes a SEGV during TFLiteRuntime::Invoke().
This PR also includes a small modification on tests/python/contrib/test_edgetpu_runtime.py to clarify we should pass "edge_tpu" for tflite_runtime.create() when using edgetpus.

According to https://github.com/apache/tvm/pull/4698,  @tmoreau89 , @ZihengJiang, @tqchen  for reviews

Thank you @tk1012 ! Which version of tflite was this tested on?

Thank @tmoreau89 for a quick reply.
I tested two versions of tensorflow / tflite.

the latest commit hash when I tested (https://github.com/tensorflow/tensorflow/tree/c523f23149c437ae0a5b57527897b6f8355fb4b3)
v2.4.1 (https://github.com/tensorflow/tensorflow/tree/9a2545aecc498e7a5e8bf5d63c47af59e1550111)

Could you add a comment in the test script which versions of TF it's dependent on? Thanks!

Thank you @tmoreau89 for feedback.
I add a comment for showing the test script was tested on TF v2.4.1.

make a tiny fix for passing pylint

Thank you @tk1012 the PR has been merged!


Migrate dynamic scripted Grafana Dashboards to Scenes

Upgrade to Grafana v10.2.3
Migrate Scripted Dashboards to Grafana Scenes

I've transitioned our existing scripted dashboards to the new Grafana Scenes. The migration also ensures compatibility with future Grafana updates and aligns with Grafana's recommended best practices. Check it here: New in Grafana 10: Grafana Scenes for building dynamic dashboarding experiences

Which Traffic Control components are affected by this PR?

CDN in a Box

What is the best way to verify this PR?

Run CDN in a Box with Grafana
Go to Grafana, go to Apps -> TrafficControl Grafana Scenes
See the dashboards

Check the images below
If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

[x] This PR has tests
[x] This PR has documentation
[x] This PR has a CHANGELOG.md entry
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Cache Group dashboard

Delivery Service dashboard

Server dashboard

@jhg03a I also updated the Dockerfile of Grafana, I think you can give me some reviews

This all looks fine on GitHub. I'll carve out some time tomorrow to try to spin it up and see how it actually works (#5939 permitting).

Did you finish with checking?

Did you finish with checking?

Sorry, no, I got busy. And then... I forgot :sweat_smile:


Adding missing attributes to ContainerState

These attributes are available as of Docker 1.5, remote API 1.17.
We include them here to prepare for future upgrades.

@rculbertson

@rohansingh

:+1:


HCT Color Picker weird behavior

Describe the bug
The HCT Color Picker available on https://m3.material.io/theme-builder#/custom acts in a very unpredictable way.
To Reproduce
When I click on a color from the Core colors and show the tonal palettes I then tweak the color Chroma and Tone values but these no longer produce consistent results.
Screenshots
Consider the following case when the Hue preview changes unexpectedly when the Chroma value is set to 0. Note that the actual Hue value shown in the following example does not changed - but the preview does.

Desktop:

OS: macOS Big Sur
Browser: Google Chrome
Version: Version 107.0.5304.87

Hi @ivanbachev! Thanks for the issue.
This is due to the color algorithm trying to adjust when at 0, which ends up creating a blue effect instead of the desaturated version of the entered Hue. You should notice changing the chroma to 1 will usually adjust it to the proper Hue.
In this instance was the desired result monochrome or grey for tertiary?


Question: Is there any way to save moto server state?

Hello, is there any way to save current moto server state?
For example, I created a lots of different resources (s3 buckets, etc) and everything is gone after stadalone (or docker container) server restart.

Hi @dtsvirkun, not at the moment. Will mark this as an enhancement, as it would be a useful feature!

In case anyone wants to work on this, all of the resources are referenced from a relatively centralized place: https://github.com/spulec/moto/blob/master/moto/core/models.py#L510-L523
Given that, I don't think it would be too much work to try to pickle or json.dump them somewhere.

This is a very interesting idea. If anyone else is looking at this issue, then I think the lines of code to look at are now these:
https://github.com/spulec/moto/blob/master/moto/core/models.py#L555-L576
Looks like saving model_data is the key.

Hi @spulec , @lllama
I am interested in some experiments for import/export the state. But the file you are referencing here :

https://github.com/spulec/moto/blob/master/moto/core/models.py#L510-L523
https://github.com/spulec/moto/blob/master/moto/core/models.py#L555-L576

has changed and it has only 405 lines now. So the point in code suggested by you to look at is not there anymore (lines between 510 and 576) Could you suggest the new place to get/inject the imported state?
Thanks a lot.

Please correct me if I am wrong.
Maybe I can do just this to export all the state:
from moto.core.base_backend import model_data
import json
save_state_somewhere( json.dumps(model_data) )

Moto 4.0.6 (just released) has the option to record requests, and replay them on another system/at another time, to ensure that the initial set of resources is the same.
It is also possible to seed Moto now, which means that the identifiers are deterministic given a specific seed.
See the documentation for this here:
http://docs.getmoto.org/en/latest/docs/configuration/recorder/index.html
I'll close this, but do let us know if there's any questions or feedback on this feature.


add upgrade schedule annotations from apiextensions

Just copied them over from here https://github.com/giantswarm/apiextensions/pull/790

thank you very much!


Include closed issues in get_issues()

Fixes #262
This PR modifies the get_issues() function in create-files to include closed issues. This will prevent duplicate issues from being created if the activity issue was closed prior to re-running the script.

✅ Tested out by closing issue #1 and re-running the script, and it does not duplicate new issues

Thanks, @rwnfoo! ✨ I also verified it worked after closing issue #2 which is typically (but not always) the activity issue that is looks for to determine if new issues should be created.


Coverage doesn't work with node <4.5

I'm submitting a ...
[x ] bug report

The ava library being used is affected by the following bug which causes it to fail to run the coverage:
https://github.com/avajs/ava/issues/1354
They're recommending that engines in package.json is changed to node>=4.5, would probably be a good idea to do the same here :)

Hey @Adamfsk, thanks for submitting this issue! I just made the change and added you as the author in: https://github.com/bitjson/typescript-starter/pull/38/commits/e4aed481de17ef4babe13fa22b971a07ead7a43c


What happened to the VM operator role?

I noticed that this is no longer available and replace with VM contributor, admin login, and user login. The VM operator role was a good role to allow for our operations team to view and manage the start/stop state.

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

ID: eac44e5e-65e1-d989-4afe-0463e8ff51d0
Version Independent ID: 5665dd03-d06e-ca29-668f-7cb91e5f9ffd
Content: Custom roles for Azure resources
Content Source: articles/role-based-access-control/custom-roles.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@liutang Thank you for your query , our team will further look into it and get back to you at the earliest.

@liutang We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


can i call device.shell() and device.logcat() same time?

i found can not call shell() and logcat() same time, like this case:
'''
import os.path as op
from mainfuzzer.adb import adb_commands
from mainfuzzer.adb import sign_m2crypto
signer = sign_m2crypto.M2CryptoSigner(
op.expanduser('~/.android/adbkey'))
device = adb_commands.AdbCommands.ConnectDevice( rsa_keys=[signer])
class LogcatTask:
def __init__(self):
self._running = True
self.output = ''
def terminate(self):
    self._running = False

def run(self, options, timeout_ms):
    logcat = device.Logcat(' '.join(options), timeout_ms=timeout_ms)
    while self._running and timeout_ms > 0:
        self.output += logcat.next().strip()

from threading import Thread
c = LogcatTask()
t = Thread(target=c.run, args=([' ', ], 10000,))
t.start()
cmd = "ls -al /data/local/tmp"
print '=============>' + device.Shell(cmd)
import time
time.sleep(5)
c.terminate()
t.join()
print c.output
'''
i got this error:
usb_exceptions.ReadFailedError: Could not receive data from first SP9832A311063170368 (timeout 10000ms): LIBUSB_ERROR_TIMEOUT [-7]

Hi,
https://github.com/google/python-adb/issues/24
fahhem said:
Currently, one can only issue one command at a time. Issuing two or more will cause issues with the data being intermixed because the ADB client assumes a local-id of 1.

I think you can use this one:
https://android.googlesource.com/platform/development/+archive/master/python-packages/adb.tar.gz

@eismog
well, thank you all the way.
i have implemented this years ago with 'subprocess.Popen(adbpath+cmd)'
u know, i think this way is not so stable or contrallable.


SSL problem on localhost

On localhost I get this error
exception 'SparkPost\APIResponseException' with message 'Unable to contact Transmissions API: An error occurred when fetching the URI "https://api.sparkpost.com/api/v1/transmissions/" with the adapter "guzzle6" ("cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)").'
How to fix?
In a previous issue there was a link to a cert bundle but the link is now dead.
Thanks

@quantumwebco We previously linked to the cert bundle in the Python requests package, which has since been moved to the Certifi project. You can download the latest bundle here.


add versioned finality proof decoding

This PR:

adds version finality proof decoding and encoding.
adds testing for decoding version finality proof
It also corrects the deserialization of justifications in SignedBlock.

Codecov Report

Merging #12 (5763a45) into master (464f45b) will decrease coverage by 0.20%.
The diff coverage is 29.16%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   59.43%   59.22%   -0.21%
==========================================
  Files         102      103       +1
  Lines        4570     4594      +24
==========================================
+ Hits         2716     2721       +5
- Misses       1434     1450      +16
- Partials      420      423       +3

Impacted Files
Coverage Δ

types/extrinsic.go
52.02% <ø> (ø)

types/versioned_finality_proof.go
29.16% <29.16%> (ø)

rpc/author/submit_and_watch_extrinsic.go
71.42% <0.00%> (-9.53%)
:arrow_down:

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 464f45b...5763a45. Read the comment docs.


Autorest Regen Preview to 3.0.0-alpha.20230928.2 by Wei Hu from refs/pull/3791/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/3791

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


CI for Node

create node.js template

Initializes with two players

Initializes with two players

Initializes with two players


feat: add sounds effects for theme toggle feature ✨

Close #878

@narayan954 your review is appreciated 🙌🏻

@narayan954 your review is appreciated 🙌🏻
Can you add level2 for this ? I'm asking this because this PR comes under adding a new feature on existing code. Let me know your thoughts.

fair enough! :)


Add shell.nix for mirra_backend

With this, every dependency (except Docker) is installed and ready for mirra backend.
Docker is missing because it's not easy to install Docker for Mac programatically, and the docker nix package doesn't work for macOS. To work around this, we need to execute nix-shell without the --pure flag so Docker is taken from the host, so it needs to be pre-installed. Besides from that, the lack of the --pure flags doesn't conflict in any way because elixir and erlang are taken from the nix store and not from the OS.

Looking good. The idea would be to fully replace docker with nix. We should see what the docker does and replace it with nix entirely.

rust is missing

Closing this in order to continue the deployment with Nix via devenv.


Virtual WAN ASN Typo

There is a typo in the ASN for Virtual WAN.
BGP setting
On the Virtual network gateway Configuration page, you can configure the BGP ASN. Change the BGP ASN. The BGP ASN cannot be 65515. 66515 will be used by Azure Virtual WAN.
It should be 65515.

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

ID: 124ec59c-bf0d-50e1-8972-63ebb8870302
Version Independent ID: 025b232f-8fc9-0a2a-3220-a646866b4bbc
Content: Connect a virtual network gateway to an Azure Virtual WAN
Content Source: articles/virtual-wan/connect-virtual-network-gateway-vwan.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

Thanks! Fixing in a different PR. #please-close


v1.9 backports 2020-11-30

#13923 -- doc: Link hubble metrics to L7 visibility (@mandarjog)
#14134 -- helm: fix usage of hostPath and add hostPathType in extraHostPathMounts (@errordeveloper)
#14135 -- checkpatch: update image tag to latest (@qmonnet)
#14112 -- endpoint: Add DebugPolicy option (@jrajahalme)
#14145 -- bugtool: Add lsmod (@joestringer)
#14104 -- helm: Correct nodeSelector values (@sayboras)
#14163 -- helm: Fix description for clustermesh (@joestringer)
#14182 -- cilium: disable bind-protection in kube-proxy free probe mode (@borkmann)
#13983 -- test: Use NFS by default in test VMs (@pchaigno)
#14090 -- hubble/parser: Always preserve datapath numeric identity (@gandro)
#14185 -- test: Avoid installing Cilium for K8sBandwidth if tests are skipped (@pchaigno)
#14171 -- daemon: Fix netns usage in kpr privileged unit tests (@brb)
#14110 -- fqdn: Delay ipcache upserts until policies have been updated (@jrajahalme)
#14165 -- test: use kubectl helper for cilium cleanup in upgrade tests (@fristonio)
#14141 -- bpf: Don't compile unused BPF sections (@pchaigno)
#14191 -- test: Avoid use of install with NFS (@pchaigno)

Once this PR is merged, you can update the PR labels via:
$ for pr in 13923 14134 14135 14112 14145 14104 14163 14182 13983 14090 14185 14171 14110 14165 14141 14191; do contrib/backporting/set-labels.py $pr done 1.9; done

@jrajahalme @brb there were some minor conflicts in https://github.com/cilium/cilium/pull/14212/commits/d60dbd845868360aec11ca1a3be25adeb8658579 please take a 2nd look.

test-backport-1.9


[SPARK-25423][SQL] Output "dataFilters" in DataSourceScanExec.metadata

What changes were proposed in this pull request?
Output dataFilters in DataSourceScanExec.metadata.
How was this patch tested?
unit tests

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3138/
Test PASSed.

Test build #96111 has started for PR 22435 at commit 830e188.

Test build #96111 has finished for PR 22435 at commit 830e188.

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

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

Merged build finished. Test PASSed.

Test build #96115 has started for PR 22435 at commit da86846.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3141/
Test PASSed.

Test build #96115 has finished for PR 22435 at commit da86846.

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

Merged build finished. Test PASSed.

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

Thank you, @wangyum !


[Multus]: Defaulting to thick image is a breaking change

It seems that the 5.0.2 chart defaults to an thick version of multus, but unfortunately, that's amd64 only making it breaking.
Tracking:

https://github.com/k8snetworkplumbingwg/multus-cni/pull/1027

Since it has been a few weeks since I released the update to the new multus I am not sure how difficult it would be to support the think version in parallel to the tick one. I picked the thick since it was the recommended one from the Multus team but the missing multi-arch support is a severe limitation.
I do not have much time right now to look at this so I would suggest to stay on the previous version of the chart until either multus merges the multiarch support or I have a few hours to investigate the think version. A PR is also welcome!


Add Omega482's - SpaceX style landing pad from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of Omega482, to add Omega482's - SpaceX style landing pad to CKAN.
Mod details:
name = /mod/1670/Omega482%27s%20-%20SpaceX%20style%20landing%20pad
author = Omega482
abstract = Want to land a rocket like Elon Musk? Need somewhere to park it? This is the mod for you. Requires Kerbal konstructs
license = MIT
Homepage = https://forum.kerbalspaceprogram.com/index.php?/topic/169891-wip-omega482s-dev-thread-stockalike-buildings-and-spacex-style-landing-pad/&tab=comments#comment-3274208
description = Version 0.2 Omega's landing pad
Author: Omega482
-------------Installaton----------
1.** You must have the latest copy of Kerbal konstructs** installed to use this landing pad.

Place "Omega's Spacex Style Landingpads" folder in your KSP gamedata folder.

Boot the game and place the static
 -> load a vessel into the game where you want the landing pad.

 -> Press Ctrl-K, then Spawn New, scroll to "Landing Pad", click it.

 -> Position the pad where you want it using WASD, click save.

 -> done.

Please direct questions about this pull request to Omega482.

This was added in #6850.


Pub/Sub sample codes doesn't work on local Windows Environment

// First create a topic.
PublisherServiceApiClient publisherService = await PublisherServiceApiClient.CreateAsync();
TopicName topicName = new TopicName(projectId, topicId);
publisherService.CreateTopic(topicName);

// Subscribe to the topic.
SubscriberServiceApiClient subscriberService = await SubscriberServiceApiClient.CreateAsync();
SubscriptionName subscriptionName = new SubscriptionName(projectId, subscriptionId);
subscriberService.CreateSubscription(subscriptionName, topicName, pushConfig: null, ackDeadlineSeconds: 60);

// Publish a message to the topic using PublisherClient.
PublisherClient publisher = await PublisherClient.CreateAsync(topicName);
// PublishAsync() has various overloads. Here we're using the string overload.
string messageId = await publisher.PublishAsync("Hello, Pubsub");
// PublisherClient instance should be shutdown after use.
// The TimeSpan specifies for how long to attempt to publish locally queued messages.
await publisher.ShutdownAsync(TimeSpan.FromSeconds(15));

// Pull messages from the subscription using SubscriberClient.
SubscriberClient subscriber = await SubscriberClient.CreateAsync(subscriptionName);
List<PubsubMessage> receivedMessages = new List<PubsubMessage>();
// Start the subscriber listening for messages.
await subscriber.StartAsync((msg, cancellationToken) =>
{
    receivedMessages.Add(msg);
    Console.WriteLine($"Received message {msg.MessageId} published at {msg.PublishTime.ToDateTime()}");
    Console.WriteLine($"Text: '{msg.Data.ToStringUtf8()}'");
    // Stop this subscriber after one message is received.
    // This is non-blocking, and the returned Task may be awaited.
    subscriber.StopAsync(TimeSpan.FromSeconds(15));
    // Return Reply.Ack to indicate this message has been handled.
    return Task.FromResult(SubscriberClient.Reply.Ack);
});

// Tidy up by deleting the subscription and the topic.
subscriberService.DeleteSubscription(subscriptionName);
publisherService.DeleteTopic(topicName);

Exception has occurred: CLR/Grpc.Core.RpcException
An exception of type 'Grpc.Core.RpcException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Status(StatusCode="DeadlineExceeded", Detail="")'
at Grpc.Net.Client.Internal.GrpcCall2.<GetResponseHeadersCoreAsync>d__72.MoveNext()    at Google.Api.Gax.Grpc.ApiCall2.<>c__DisplayClass12_0.b__1(TRequest req, CallSettings cs)
at Google.Api.Gax.Grpc.ApiCall`2.Sync(TRequest request, CallSettings perCallCallSettings)
at Google.Cloud.PubSub.V1.PublisherServiceApiClientImpl.CreateTopic(Topic request, CallSettings callSettings)
at Google.Cloud.PubSub.V1.PublisherServiceApiClient.CreateTopic(TopicName name, CallSettings callSettings)
I already execute command gcloud auth application-default login to set up Application Default Credentials. I also used service account impersonation to create a local ADC file. But It still doesn't work.
Environment details

OS: Windows10
.NET version: .net8.0
Package name and version: Google.Cloud.PubSub.V1  3.16.0

Thanks!

This sounds like a network issue to me - this code definitely does work in Windows (our integration tests cover far more than this, and they run nightly on Windows as well as Linux) so we need to work out why the call is timing out.
If you're able to test the same code in a different network environment, that would help as a starting point. Beyond that, please tell us more about the network in which this code is running. Are you behind a proxy server, for example?
One issue we've seen in some cases is that HTTP/3 (QUIC) can cause problems. One way of testing that would be to try the same code but using .NET 6.0 instead of .NET 8.0, as .NET 6 doesn't support QUIC. Are you happy to give that a try? If the code works with .NET 6, we can provide a workaround for disabling QUIC in .NET 8.

@Rr7716 Have you been able to investigate this any further as per my comment?
We'll close this issue in a few days if we don't hear back, but you'll still be able to add more information in a comment and we can reopen if necessary.

FYI: Google.Cloud.Pubsub v3.18.0 was released last week, using Grpc.Net.Client v2.66.0 which uses HTTP/2.0 by default, so the workaround isn't required any more.


Establish a leadership team

There is no leadership team, or the single leader or leadership team is not visible to staff

We have a leadership structure in place with a manager who guides ad supports the staff members.


Turn on optimization for non-windows

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I noticed powershell sets Optimize=false on non-windows which might make it slow to execute on those OSs.
https://github.com/PowerShell/PowerShell/blob/master/PowerShell.Common.props#L189-L194
Can we see if the problem has resolved and turn optimize it back on?
Expected behavior
Optimize=true

Actual behavior
Optimize=false

Error details
No response
Environment data
non-windows

Visuals
No response

I'am afraid of any "optimizations". Everything works quickly, faster than on Windows (maybe hardware). Slower than /usr/bin/bash (difference 0.0* for native utilities), but still fast for human perception. What is slower is shebang scripts.

It's referring to compiler optimizations, which we absolutely should be enabling if at all possible. Reading the blame and involved threads it looks like we need to fix some interop code.


Multiline whitespace before semicolons

Thanks you @MathiasReker. I must close this PR because it doesn't bring any value.


Mention JSON schema for syntaxes

Here is a JSON schema for syntax files.

From my perspective this change should be added to #2696 and this PR closed as well as the issue #2884, since all of the stuff relates to the same topic. It makes no sense to track 3 items of the same type.
Please bring all of this stuff together into one PR (#2696).

I will do as you suggest but I am a little bit concerned that nobody reviewed that PR (#2696).

Closed in favor to #2884.


initialPage Not working

NATIVE_PDF_VIEW
I've set initialPage to 3, and once the PDF is loaded, it show me the first page...
_pdfController = PdfController(
initialPage: 3,
document: PdfDocument.openFile(widget.link),
);

I have the same issue, tested on Android phones.

same issue.

Duplicate of #119


TicketDataFormat does not use the DataProtectionProvider configured.

The CookieAuthenticationOptions.TicketDataFormat (https://github.com/aspnet/Security/blob/bd19ba9533cfd3ffd81e4ef2c874109e8b3dbccd/src/Microsoft.AspNetCore.Authentication.Cookies/CookieAuthenticationOptions.cs#L125) says:
The TicketDataFormat is used to protect and unprotect the identity and other properties which are stored in the cookie value. If not provided one will be created using DataProtectionProvider.
But it is not what happens when using Identity.
We can see the correct behavior at https://github.com/aspnet/Security/blob/a7bf561b1c76aaee3d68c7448d780bc925ee283e/src/Microsoft.AspNetCore.Authentication.Cookies/PostConfigureCookieAuthenticationOptions.cs#L35
I found the problem when trying to share authentication cookies between .NET 4.5 and ASP.NET Core, as described here: https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/compatibility/cookie-sharing#sharing-authentication-cookies-between-aspnet-4x-and-aspnet-core-applications
I'll also open a issue at the docs to workaround this issue, copying those lines from PostConfigureCookieAuthenticationOptions:
            var dataProtector = options.DataProtectionProvider.CreateProtector("Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", name, "v2");
            options.TicketDataFormat = new TicketDataFormat(dataProtector);

Ugh, taking a look now, FYI @Tratcher

@fujiy are you sure the post configure isn't running?  identity is just calling AddCookie: https://github.com/aspnet/Identity/blob/dev/src/Microsoft.AspNetCore.Identity/IdentityServiceCollectionExtensions.cs#L72
which adds the post configure for all cookies: https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNetCore.Authentication.Cookies/CookieExtensions.cs#L28
What versions are you using, preview 2?  I'll try this on the rtm bits today to see if I can repro

@HaoK I'm not sure if the cause is the PostConfigure not running. But it doesn't work if I set just the DataProtectionProvider

The code changed a lot since 1.1.2: https://github.com/aspnet/Identity/blob/rel/1.1.2/src/Microsoft.AspNetCore.Identity/IdentityServiceCollectionExtensions.cs#L47

So are you trying to share cookies with 1.1.2 and 4.5 or 2.0 and 4.5? or 1.1.2 and 2.0?

Can you include both startups for both apps labeling which is which?

Sure. They are just projects from scratch that I created to reproduce the steps documented at https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/compatibility/cookie-sharing#sharing-authentication-cookies-between-aspnet-4x-and-aspnet-core-applications
I have a WebForms 4.6.2:
        public void ConfigureAuth(IAppBuilder app)
        {
            // Configure the db context, user manager and signin manager to use a single instance per request
            app.CreatePerOwinContext(ApplicationDbContext.Create);
            app.CreatePerOwinContext<ApplicationUserManager>(ApplicationUserManager.Create);
            app.CreatePerOwinContext<ApplicationSignInManager>(ApplicationSignInManager.Create);

            // Enable the application to use a cookie to store information for the signed in user
            // and to use a cookie to temporarily store information about a user logging in with a third party login provider
            // Configure the sign in cookie
            app.UseCookieAuthentication(new CookieAuthenticationOptions
            {
                AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
                CookieName = ".AspNetCore.ApplicationCookie",
                TicketDataFormat = new AspNetTicketDataFormat(
           new DataProtectorShim(
               DataProtectionProvider.Create(new DirectoryInfo(@"c:\shared-auth-ticket-keys\"))
               .CreateProtector("Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", "Cookies", "v2"))),
                CookieManager = new ChunkingCookieManager(),
                LoginPath = new PathString("/Account/Login"),
                Provider = new CookieAuthenticationProvider
                {
                    OnValidateIdentity = SecurityStampValidator.OnValidateIdentity<ApplicationUserManager, ApplicationUser>(
                        validateInterval: TimeSpan.FromMinutes(30),
                        regenerateIdentity: (manager, user) => user.GenerateUserIdentityAsync(manager))
                }
            });
            // Use a cookie to temporarily store information about a user logging in with a third party login provider
            app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);

            // Enables the application to temporarily store user information when they are verifying the second factor in the two-factor authentication process.
            app.UseTwoFactorSignInCookie(DefaultAuthenticationTypes.TwoFactorCookie, TimeSpan.FromMinutes(5));

            // Enables the application to remember the second login verification factor such as phone or email.
            // Once you check this option, your second step of verification during the login process will be remembered on the device where you logged in from.
            // This is similar to the RememberMe option when you log in.
            app.UseTwoFactorRememberBrowserCookie(DefaultAuthenticationTypes.TwoFactorRememberBrowserCookie);
        }

And a ASP.NET Core running on .NET Framework 4.6.2
        public void ConfigureServices(IServiceCollection services)
        {
            // Add framework services.
            services.AddDbContext<ApplicationDbContext>(options =>
                options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));

            services.AddIdentity<ApplicationUser, IdentityRole>(options => {
                options.Cookies.ApplicationCookie.AuthenticationScheme = "ApplicationCookie";
                options.Cookies.ApplicationCookie.CookiePath = "/";
                var protectionProvider = DataProtectionProvider.Create(new DirectoryInfo(@"c:\shared-auth-ticket-keys\"));
                options.Cookies.ApplicationCookie.DataProtectionProvider = protectionProvider;
//The following line shouldn't be required, because I'm setting the DataProtectionProvider at the line above
                options.Cookies.ApplicationCookie.TicketDataFormat = new TicketDataFormat(protectionProvider.CreateProtector("Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", "Cookies", "v2"));
            })
                .AddEntityFrameworkStores<ApplicationDbContext>()
                .AddDefaultTokenProviders();

            services.AddMvc();

            // Add application services.
            services.AddTransient<IEmailSender, AuthMessageSender>();
            services.AddTransient<ISmsSender, AuthMessageSender>();
        }

What version of the packages are you using for the Core app, 1.1.2?

Yes, here is my csproj:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net462</TargetFramework>
    <RuntimeIdentifier>win7-x86</RuntimeIdentifier>
  </PropertyGroup>

  <PropertyGroup>
    <UserSecretsId>aspnet-AspNetCoreProject-0f165b13-52be-4ec1-a1d5-ec1f4b4db3e0</UserSecretsId>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
    <PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.DataProtection.Extensions" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
    <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.2" PrivateAssets="All" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="1.1.2" PrivateAssets="All" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.1.1" PrivateAssets="All" />
    <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="1.1.2" />
    <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" />
    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="1.1.1" PrivateAssets="All" />
    <PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.2" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.1" />
    <DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="1.0.1" />
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" />
  </ItemGroup>

</Project>

Can you try https://github.com/blowdart/idunno.CookieSharing I believe that one might be more up to date.  cc @blowdart

@Rick-Anderson Could you take a look at updating the docs from my cookie sharing sample if this works for @fujiy ?

We'll also need to update it to work for 2.0 as well.

@HaoK, the difference at https://github.com/blowdart/idunno.CookieSharing is that TicketDataFormat is configured.
I already sent a PR updating the docs: https://github.com/aspnet/Docs/pull/3761

@blowdart, it's working for me when setting TicketDataFormat, I sent a PR to update the docs. But it seems more like a bug in version 1.1.2 of Identity.
The 2.0 version calls AddCookie, so it should work without setting TicketDataFormat

@fujiy thanks for the PR. Any chance you could help update the doc for 2.0?

@Rick-Anderson to be honest I haven't used 2.0 yet

So there's no issue here that we need to address right?  This is just how things worked in 1.x

Right, we need to update the docs.


Update player tab completions when permissions update is received

The title pretty much speaks for itself.
A suggested implementation could be subscribing to NodeMutateEvent, and submitting Player#updateCommands for each online player to rebuild the available completions.

Thanks for the suggestion :)


Only forwarding ctrl-c to task

Feature Description
Only forwarding ctrl-c to task instead of kill current flow
Describe The Solution You'd Like
While running a long run task and followed by a clean up task, I'd like to send ctrl-c to the long running task, but all following tasks still run.
Code Sample
[tasks.all]
dependencies = [
"init",
"do-something",
"cleanup",
]
cargo make all
send ctrl-c
cleanup will always be called.

@shiqicao does the cntrlc option help?
https://github.com/sagiegurari/cargo-make?tab=readme-ov-file#usage-unstable-features


Testing

This PR has all of the changes that Pierce push on his as well as the tests that I implemented. Merging his first or just this one should handle it all


ssl send failure

Hi,
Thank you for writing this module. I've been trying to use it in my app and have been getting this failure in ssl:send - wondering if you could give some suggestions on how to debug this? Appreciate your respone.
2017-12-21 00:39:23.829 [error] <0.23221.2>@ejabberd_hooks:safe_apply:383 Hook offline_message_hook crashed when running mod_apns:message/1:
** Reason = {error,{badmatch,ok},[{mod_apns,send_payload,[{file,"src/mod_apns.erl"},{line,76}],3},{mod_apns,message,[{file,"src/mod_apns.erl"},{line,132}],1},{ejabberd_hooks,safe_apply,[{file,"src/ejabberd_hooks.erl"},{line,380}],4},{ejabberd_hooks,run_fold1,[{file,"src/ejabberd_hooks.erl"},{line,364}],4},{ejabberd_sm,route,[{file,"src/ejabberd_sm.erl"},{line,145}],1},{ejabberd_local,route,[{file,"src/ejabberd_local.erl"},{line,101}],1},{ejabberd_router,do_route,[{file,"src/ejabberd_router.erl"},{line,372}],1},{ejabberd_router,route,[{file,"src/ejabberd_router.erl"},{line,93}],1}]}

Hello @karunreddy30,
Could you please tell me what ejabberd version are you on? And mod_apns's git branch name.

Thanks for getting back.
Am on ejabberd 17.11.31 and using 'origin/master'.

The line numbers might be different because I added another function to mod_apns.erl - which I did not invoke when I shared the result.
The error I gave might not be an error afterall because am capturing the result from ssl:send into a variable and just printing that variable. And that seems to be the reason for {error,{badmatch,ok}.
The "ok" here seems to suggest ssl:send did indeed succeed.
But apns doesn't invoke the notification if I assume ssl:send succeeded.
I verified my cert and key files with apns like this:
openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert ~/Downloads/OpensslApns/voip-dev-cert.pem -key ~/Downloads/OpensslApns/voip-dev-key-noenc.pem

Please run an unmodified version so I could trace errors to their lines.

I ran with the unmodified version and here is the log. The FORMAT_ERROR might be because I changed DEBUG to INFO_MSG.
2017-12-21 01:54:59.970 [info] <0.29373.2>@mod_apns:send_payload:35 FORMAT ERROR: "Trying to send payload with these parameters: Address: ~s Port: ~s Cert: ~s Keyfile: ~s Password ~s" ["gateway.sandbox.push.apple.com",2195,<<"/home/karunreddy30/voip-dev/voip-dev-cert.pem">>,<<"/home/karunreddy30/voip-dev/voip-dev-key-noenc.pem">>,undefined] 2017-12-21 01:55:00.067 [info] <0.29373.2>@mod_apns:send_payload:58 Successfully sent payload to the APNS server 2017-12-21 01:55:01.210 [info] <0.29373.2>@mod_apns:message:84 Offline message

Just an FYI - I've verified the notifications through curl command and they seem to work. The only thing extra I sent as part of curl is the "apns-topic". Wondering if there is a way to include that as part of ssl:send?
Here is the curl command I used:
curl -v -d '{"aps":{"alert":"Test Push","sound":"default"}}' --cert ~/Downloads/OpensslApns/voip-dev.pem -H "apns-topic: com.***.***.voip" --http2 https://api.development.push.apple.com/3/device/<device-token-with-no-spaces>
The cert used here is the concatenation of the cert and key file list before.

I'm not an Apple user/developer. Was there a change to the APIs?
The API mod_apns uses is seem to be pretty old and you're using a different one.
Unfortunately, I can't really understand why this happens with your configuration. I've had several complaints just like yours, but all of them got resolved with configuration change. For example, you might try using non-sandbox version of the APNS gateway.
I also have a customer who complained about APNS with correct configuration, I configured it myself. But their priority not the APNS, so they don't really care and I don't change anything.
I'm afraid I'll have to check out if the module works for me.

Thank you for the follow up. The issue was due to the message size I was sending. Once I started sending smaller payloads, I was able to get the notifications.
Also, the gateway push seems to be a legacy thing now:
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/BinaryProviderAPI.html#//apple_ref/doc/uid/TP40008194-CH13-SW1

Well, it seems I need to update the module to support modern APIs.


huggingface token required

When running the sample diarization pipeline, I get:
Could not download 'pyannote/speaker-diarization' pipeline.

It might be because the pipeline is private or gated so make
sure to authenticate. Visit https://hf.co/settings/tokens to
create your access token and retry with:

   >>> Pipeline.from_pretrained('pyannote/speaker-diarization',
   ...                          use_auth_token=YOUR_AUTH_TOKEN)

Where would I include the auth token in the function call?
Or would I have to include it in the env? etc.

You need to confirm this on the HuggingFace site.

I did, but am not sure how to connect my hugging face account to the code I'm running via an auth token. Where would I put one in?

You don't need to write code. You must allow it. Does it say this on the model sheet?

It does, see image!

However I am not sure how to connect my account to the repo: this is just python 3.10 that is not connected to huggingface in any way:

Bug SOLVED:

You must both agree to the speaker diarization pipeline AND the segmentation pipeline
You must include your access token as follows:

pipeline = ASRDiarizationPipeline.from_pretrained(
    asr_model="openai/whisper-large-v3",
    diarizer_model="pyannote/speaker-diarization",
    use_auth_token="[INSERT YOUR TOKEN HERE]",
    chunk_length_s=30,
    device=device,
)

Alternatively, you can leave it False as the example says,  and then include your huggingface config token in your home directory:
In ~/.huggingface/config.json:
{
   "hf_token": "[insert token]"
}```


Doesn't compatible with ARM64 arch

Could you build a ARM64 binary  version?

ok I'll try

I've added a ARM64 Crossplay in releases I can't test it as i don't have a arm computer so if it works can you tell me

Saddly ,it doesn't work
[Server API] Error Crossplay_arm64.dll was built for X64 but expected it to be compatible with Arm64. [Server API] Error Startup aborted due to an exception in the Server API initialization: System.InvalidOperationException: Failed to load assembly "Crossplay_arm64.dll".  ---> System.IO.FileLoadException: Could not load file or assembly 'Crossplay, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.    at System.Runtime.Loader.AssemblyLoadContext.InternalLoad(ReadOnlySpan1 arrAssembly, ReadOnlySpan1 arrSymbols)    at System.Reflection.Assembly.Load(Byte[] rawAssembly, Byte[] rawSymbolStore)    at TerrariaApi.Server.ServerApi.LoadPlugins() in /home/runner/work/TShock/TShock/TerrariaServerAPI/TerrariaServerAPI/TerrariaApi.Server/ServerApi.cs:line 343    --- End of inner exception stack trace ---    at TerrariaApi.Server.ServerApi.LoadPlugins() in /home/runner/work/TShock/TShock/TerrariaServerAPI/TerrariaServerAPI/TerrariaApi.Server/ServerApi.cs:line 414    at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game) in /home/runner/work/TShock/TShock/TerrariaServerAPI/TerrariaServerAPI/TerrariaApi.Server/ServerApi.cs:line 116    at TerrariaApi.Server.HookManager.InitialiseAPI() in /home/runner/work/TShock/TShock/TerrariaServerAPI/TerrariaServerAPI/TerrariaApi.Server/HookManager.cs:line 29

ok give me a min and I'll try something then rebuild it

ok I've changed updated the arm64 file

ok I've updated the arm64 file

thanks for your work,Now it works well.


[Resolver] Turn on parallel cloning by default

-- rdar://problem/32286386 Turn on parallel cloning by default
(cherry picked from commit db90b80e7362c42e089e1d093fa97dc21f9cb2a3)

@swift-ci please smoke test

@swift-ci please smoke test

Weird that it is failing on CI..

Ah, our in memory git repository is not thread safe. I am going to enable this at tool level then.

@swift-ci please smoke test

@swift-ci please smoke test

Approved for the swift 4.0 branch.

@swift-ci please smoke test

@swift-ci please smoke test


Need help, Can't get pyopenpose to work right

I need help with installing OpenPose correctly for this module to run. The following is my code:
import video2bvh
from video2bvh.pose_estimator_2d import openpose_estimator
from video2bvh.pose_estimator_3d import estimator_3d
from video2bvh.utils import smooth, vis, camera
from video2bvh.bvh_skeleton import openpose_skeleton, h36m_skeleton, cmu_skeleton

import cv2
import importlib
import numpy as np
import os
from pathlib import Path
from IPython.display import HTML

# more 2d pose estimators like HRNet, PoseResNet, CPN, etc., will be added later
e2d = openpose_estimator.OpenPoseEstimator(model_folder='/openpose/models/') # set model_folder to /path/to/openpose/models

video_file = Path('video2bvh/miscs/cxk.mp4') # video file to process
output_dir = Path(f'video2bvh/miscs/{video_file.stem}_cache')
if not output_dir.exists():
    os.makedirs(output_dir)

cap = cv2.VideoCapture(str(video_file))
keypoints_list = []
img_width, img_height = None, None
while True:
    ret, frame = cap.read()
    if not ret:
        break
    img_height = frame.shape[0]
    img_width = frame.shape[1]

    # returned shape will be (num_of_human, 25, 3)
    # last dimension includes (x, y, confidence)
    keypoints = e2d.estimate(img_list=[frame])[0]
    if not isinstance(keypoints, np.ndarray) or len(keypoints.shape) != 3:
        # failed to detect human
        keypoints_list.append(None)
    else:
        # we assume that the image only contains 1 person
        # multi-person video needs some extra processes like grouping
        # maybe we will implemented it in the future
        keypoints_list.append(keypoints[0])
cap.release()

# filter out failed result
keypoints_list = smooth.filter_missing_value(
    keypoints_list=keypoints_list,
    method='ignore' # interpolation method will be implemented later
)

# smooth process will be implemented later

# save 2d pose result
pose2d = np.stack(keypoints_list)[:, :, :2]
pose2d_file = Path(output_dir / '2d_pose.npy')
np.save(pose2d_file, pose2d)

cap = cv2.VideoCapture(str(video_file))
vis_result_dir = output_dir / '2d_pose_vis' # path to save the visualized images
if not vis_result_dir.exists():
    os.makedirs(vis_result_dir)

op_skel = openpose_skeleton.OpenPoseSkeleton()

for i, keypoints in enumerate(keypoints_list):
    ret, frame = cap.read()
    if not ret:
        break

    # keypoint whose detect confidence under kp_thresh will not be visualized
    vis.vis_2d_keypoints(
        keypoints=keypoints,
        img=frame,
        skeleton=op_skel,
        kp_thresh=0.4,
        output_file=vis_result_dir / f'{i:04d}.png'
    )
cap.release()

importlib.reload(estimator_3d)
e3d = estimator_3d.Estimator3D(
    config_file='models/openpose_video_pose_243f/video_pose.yaml',
    checkpoint_file='models/openpose_video_pose_243f/best_58.58.pth'
)

pose2d = np.load(pose2d_file)
pose3d = e3d.estimate(pose2d, image_width=img_width, image_height=img_height)

subject = 'S1'
cam_id = '55011271'
cam_params = camera.load_camera_params('cameras.h5')[subject][cam_id]
R = cam_params['R']
T = 0
azimuth = cam_params['azimuth']

pose3d_world = camera.camera2world(pose=pose3d, R=R, T=T)
pose3d_world[:, :, 2] -= np.min(pose3d_world[:, :, 2]) # rebase the height

pose3d_file = output_dir / '3d_pose.npy'
np.save(pose3d_file, pose3d_world)

h36m_skel = h36m_skeleton.H36mSkeleton()
gif_file = output_dir / '3d_pose_300.gif' # output format can be .gif or .mp4

ani = vis.vis_3d_keypoints_sequence(
    keypoints_sequence=pose3d_world[0:300],
    skeleton=h36m_skel,
    azimuth=azimuth,
    fps=60,
    output_file=gif_file
)
HTML(ani.to_jshtml())

bvh_file = output_dir / f'{video_file.stem}.bvh'
cmu_skel = cmu_skeleton.CMUSkeleton()
channels, header = cmu_skel.poses2bvh(pose3d_world, output_file=bvh_file)

output = 'video2bvh/miscs/h36m_cxk.bvh'
h36m_skel = h36m_skeleton.H36mSkeleton()
_ = h36m_skel.poses2bvh(pose3d_world, output_file=output)

I copied and modified it from demo.ipynb
When thee code runs I get the following output:
================================================== RESTART: D:\movies\test.py =================================================
Traceback (most recent call last):
  File "D:\movies\test.py", line 2, in <module>
    from video2bvh.pose_estimator_2d import openpose_estimator
  File "D:\movies\video2bvh\pose_estimator_2d\openpose_estimator.py", line 2, in <module>
    from openpose import pyopenpose as op
ImportError: cannot import name 'pyopenpose' from 'openpose' (unknown location)

The weird thing is that import openpose works!
I also ensured that I build it with the BUILD_PYTHON flag:

I built it with Visual studio Enterprise 2022 and also followed this tutorial (except that I enabled BUILD_PYTHON flag when building. )
Your help is deeply appreciated.😊

It works fine to me when I swap the libs' importing order, maybe u can try it
from pose_estimator_3d import estimator_3d from pose_estimator_2d import openpose_estimator

It works fine to me when I swap the libs' importing order, maybe u can try it
` from pose_estimator_3d import estimator_3d
from pose_estimator_2d import openpose_estimator `

sorry, I also updated this file (pose_estimator_2d/openpose_estimator.py), and use the openpose release version for windows
`
if sys.platform == "win32":
dir_path = os.path.join(os.path.dirname(os.path.realpath(file)), "../openpose/python")
# Change these variables to point to the correct folder (Release/x64 etc.)
sys.path.append(dir_path + '/../bin/python/openpose/Release')
os.environ['PATH'] = os.environ['PATH'] + ';' + dir_path + '/../x64/Release;' + dir_path + '/../bin;'
import pyopenpose as op
`

Thank for your help!


[LeverageLp]: Add new message to add collateral to existing position

Description

Add new message to add collateral to existing position

What has Changed?

Add new message to add collateral to existing position
Add wasmbindings

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Deployment Notes
Are there any specific considerations to take into account when deploying these changes? This may include new dependencies, scripts that need to be executed, or any aspects that can only be evaluated in a deployed environment.
Screenshots and Videos
Please provide any relevant before and after screenshots by uploading them here. Additionally, demo videos can be highly beneficial in demonstrating the process.

Doing manual testing now

Before

After adding collateral, health has improved


The requested URL /setup was not found on this server.

o/,
I just tried to install pathfinder on my root server. To state this out first stuff was cancer as I forgot I hadn't updated PHP to 7 yet but whatever, thats done now, I'm coming to the landing page, the little yellow box sais me setup mode activated so I click on the Setup link and get redirected to /setup (which doesn't work obviously). I have found that the same goes for SSO login. My .htaccess is the standard HTTP one, OS is Debian 8.9 Jessie, PHP Version is 7.0.25 and I'm running Apache 2.4.10 right now. If you need any further information I can give them to you.
Thx in advance

o/, Looks like #543 is related to your problem.  This is probably a misconfiguration  on your side..
Unfortunately I´m not an Apache expert and all my installations are on Nginx . Feel free to join our Slack chat and ask for someone with an Apache installation: https://github.com/exodus4d/pathfinder/blob/master/README.md


How to retrieve header EVENT_TRACE values from data which is of type TraceEvent class

Referring to one of TraceEventSamples, 31_KernalAndClrFile.cs, there is callback function Print(TraceEvent data) which print events in String format. The input parameter is "data" which is of type TraceEvent class.
My query is as below:
How do I retrieve header values which is in structure EVENT_RECORD from "data" of type TraceEvent
internal struct EVENT_RECORD
{
public EVENT_HEADER EventHeader;            //  size: 80
public ETW_BUFFER_CONTEXT BufferContext;    //  size: 4
public ushort ExtendedDataCount;
public ushort UserDataLength;               //  offset: 86
public EVENT_HEADER_EXTENDED_DATA_ITEM* ExtendedData;
public IntPtr UserData;
public IntPtr UserContext;
}
private static void Print(TraceEvent data)
{
// There are a lot of data collection start on entry that I don't want to see (but often they are quite handy
if (data.Opcode == TraceEventOpcode.DataCollectionStart || data.Opcode == TraceEventOpcode.DataCollectionStop)
{
return;
}
        // Merging inject some 'symbol' events that are not that interesting so we ignore those too.
        if (data.ProviderGuid == SymbolTraceEventParser.ProviderGuid)
        {
            return;
        }

        // To avoid 'rundown' events that happen in the beginning and end of the trace filter out things during those times
        if (data.TimeStampRelativeMSec < 1000 || 9000 < data.TimeStampRelativeMSec)
        {
            return;
        }
        Out.WriteLine((data.ToString());

It is not possible to get at all of these fields directly as TraceEvent attempts to make these events more consumable in managed code.
Much of this data can be retrieved through properties of the TraceEvent class.  Please take a look at https://github.com/microsoft/perfview/blob/master/src/TraceEvent/TraceEvent.cs#L551 for details.

could we typecase class "TraceEvent"  to another class SampledProfileTraceData or StackWalkStackTraceData.
in below sample examples referred from code "32_KernelAndClrFile.cs", it takes 1 argument of type TraceEvent.
static void Print(TraceEvent data)
{
out.Writeline (data.ToString());
}
Inside Print function, we want to access fields/method of class StackWalkStackTraceData and SampledProfileTraceData from TraceEvent data. I have tried typecasting  data as below
SampledProfileTraceData profileTraceData = data as SampledProfileTraceData;
SampledProfileTraceData profileTraceData = (SampledProfileTraceData) data ;
Both fails in typecasting.
regards
Soibam

the  issue is resolved.


Serialization -- customize the set of the output columns

related to https://github.com/nicolay-r/AREnets/issues/2

No actual


Rotate around its own axis

Can you try to recreate the solar system by having the planets rotate around its own axis? Currently it is orbiting the sun without the spin. I am trying to create a spherical ball rotation by adapting your method, if you find any.
Thanks!

How about this: http://codepen.io/donovanh/pen/GBIiv

Wow! That is a really good approach, Richard! :+1: