Failed to run hand tracking gpu: Side packet "num_hands" is required but was not provided.

Followed the tutorial, it worked quite well with cpu. But when I used GPU, it raised the error:
Build Info:
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 \

mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu
INFO: Build options --copt and --define have changed, discarding analysis cache.
WARNING: Download from https://mirror.bazel.build/github.com/Maratyszcza/FP16/archive/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/094e692629d57ddb932fcc993193626f60daa61b.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/pthreadpool/archive/77f9d3bcfabd1bdb910dd33b549d5290b968ef05.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/FXdiv/archive/63058eff77e11aa15bf531df5dd34395ec3017c8.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/psimd/archive/072586a71b55b7f8c584153d223e95687148a900.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu (0 packages loaded, 6497 targets configured).
INFO: Found 1 target...
INFO: From Compiling mediapipe/calculators/tensor/inference_calculator.cc:
In file included from external/opencl_headers/CL/cl.h:32:0,
from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
from ./mediapipe/util/tflite/tflite_gpu_runner.h:25,
from mediapipe/calculators/tensor/inference_calculator.cc:47:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
#pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
^
INFO: From Executing genrule //mediapipe/modules/palm_detection:palm_detection_gpu_graph:
[libprotobuf WARNING external/com_google_protobuf/src/google/protobuf/text_format.cc:324] Warning parsing text-format mediapipe.CalculatorGraphConfig: 60:5: text format contains deprecated field "use_gpu"
Target //mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu up-to-date:
bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_gpu
INFO: Elapsed time: 150.262s, Critical Path: 57.54s
INFO: 2189 processes: 4 internal, 2185 linux-sandbox.
INFO: Build completed successfully, 2189 total actions

ERROR INfO:

GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_gpu \

--calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt
I20210119 15:06:04.919020 25197 demo_run_graph_main_gpu.cc:51] Get calculator graph config contents: # MediaPipe graph that performs multi-hand tracking with TensorFlow Lite on GPU.

Used in the examples in
mediapipe/examples/android/src/java/com/mediapipe/apps/handtrackinggpu.
GPU image. (GpuBuffer)
input_stream: "input_video"
Max number of hands to detect/process. (int)
input_side_packet: "num_hands"
GPU image. (GpuBuffer)
output_stream: "output_video"
Collection of detected/predicted hands, each represented as a list of
landmarks. (std::vector)
output_stream: "hand_landmarks"
Throttles the images flowing downstream for flow control. It passes through
the very first incoming image unaltered, and waits for downstream nodes
(calculators and subgraphs) in the graph to finish their tasks before it
passes through another image. All images that come in while waiting are
dropped, limiting the number of in-flight images in most part of the graph to
1. This prevents the downstream nodes from queuing up incoming images and data
excessively, which leads to increased latency and memory usage, unwanted in
real-time mobile applications. It also eliminates unnecessarily computation,
e.g., the output produced by a node may get dropped downstream if the
subsequent nodes are still busy processing previous inputs.
node {
calculator: "FlowLimiterCalculator"
input_stream: "input_video"
input_stream: "FINISHED:output_video"
input_stream_info: {
tag_index: "FINISHED"
back_edge: true
}
output_stream: "throttled_input_video"
}
Detects/tracks hand landmarks.
node {
calculator: "HandLandmarkTrackingGpu"
input_stream: "IMAGE:throttled_input_video"
input_side_packet: "NUM_HANDS:num_hands"
output_stream: "LANDMARKS:hand_landmarks"
output_stream: "HANDEDNESS:handedness"
output_stream: "PALM_DETECTIONS:palm_detections"
output_stream: "HAND_ROIS_FROM_LANDMARKS:hand_rects_from_landmarks"
output_stream: "HAND_ROIS_FROM_PALM_DETECTIONS:hand_rects_from_palm_detections"
}
Subgraph that renders annotations and overlays them on top of the input
images (see hand_renderer_gpu.pbtxt).
node {
calculator: "HandRendererSubgraph"
input_stream: "IMAGE:throttled_input_video"
input_stream: "DETECTIONS:palm_detections"
input_stream: "LANDMARKS:hand_landmarks"
input_stream: "HANDEDNESS:handedness"
input_stream: "NORM_RECTS:0:hand_rects_from_palm_detections"
input_stream: "NORM_RECTS:1:hand_rects_from_landmarks"
output_stream: "IMAGE:output_video"
}
I20210119 15:06:04.920377 25197 demo_run_graph_main_gpu.cc:57] Initialize the calculator graph.
I20210119 15:06:04.924736 25197 demo_run_graph_main_gpu.cc:61] Initialize the GPU.
I20210119 15:06:04.941694 25197 gl_context_egl.cc:163] Successfully initialized EGL. Major : 1 Minor: 5
I20210119 15:06:04.997416 25228 gl_context.cc:324] GL version: 3.2 (OpenGL ES 3.2 NVIDIA 440.100)
I20210119 15:06:04.997540 25197 demo_run_graph_main_gpu.cc:67] Initialize the camera or load the video.
I20210119 15:06:05.337213 25197 demo_run_graph_main_gpu.cc:88] Start running the calculator graph.
E20210119 15:06:05.351466 25197 demo_run_graph_main_gpu.cc:196] Failed to run the graph: ValidateRequiredSidePackets failed to validate:
; Side packet "num_hands" is required but was not provided.

I followed this guide (https://google.github.io/mediapipe/getting_started/cpp.html), where showed incorrect pbtx. solved!

I followed this guide (https://google.github.io/mediapipe/getting_started/cpp.html), where showed incorrect pbtx. solved!

the graph config file has to be changed from
mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt
to
mediapipe/graphs/hand_tracking/hand_tracking_desktop_live_gpu.pbtxt
The correct run command should be
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_gpu \   --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_desktop_live_gpu.pbtxt

the graph config file has to be changed from
mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt
to
mediapipe/graphs/hand_tracking/hand_tracking_desktop_live_gpu.pbtxt
The correct run command should be
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_gpu \   --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_desktop_live_gpu.pbtxt


Misleading DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE

The documentation should explicitly mention that DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE refers to the passphrase for the signing key. It could be the repository key or the delegation key.
Orignal feedback from @monishguru

The issue is with the passphrase which is mentioned in the documentation. The documentation states the passphrase to be used after initialization is Repository Passphrase, whereas when we initialize the image repo with a private delegate key, it looks for the private key's passphrase, but not the repository passphrase. Please correct this in documentation, as this is misleading.

Related: https://github.com/Azure/acr/discussions/556

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

ID: 971cc718-07a5-eaf3-f0bc-f85590309faf
Version Independent ID: c10c998c-e2cb-6946-3513-4efcad549fed
Content: Docker Content Trust in Azure Pipelines - Azure Pipelines
Content Source: docs/pipelines/ecosystems/containers/content-trust.md
Product: devops
Technology: devops-cicd-ecosystems
GitHub Login: @azooinmyluggage
Microsoft Alias: atulmal

@shizhMSFT Thank you for your feedback! The article will be updated shortly


✨[feature Request]:  Identifying the Issue: Static Visual Experience

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
While reviewing the design of the "Home" section, I noticed that the overall user experience was somewhat static. The page layout was well-designed, but the lack of movement resulted in a visually stagnant feel. This posed a challenge because, despite the strong aesthetic, it lacked the dynamic engagement needed to fully immerse users in the nostalgic and vintage theme of the site.
Use Case
Current State: The homepage, while visually appealing, is static. Users are greeted with well-designed elements, but there’s no motion or interactivity to draw attention or encourage exploration.
With the Feature: When the floating animation is implemented, users will be immediately drawn to the moving elements, creating a visually engaging experience that aligns with the nostalgic and interactive theme of the website. The floating effect will encourage users to explore further, making the site feel more alive and inviting.
Benefits
Improved User Engagement: The floating animation grabs the user's attention and keeps them visually engaged, enhancing their experience.
Thematic Alignment: This effect matches the "Retro" theme, evoking a dream-like, nostalgic feeling as the subtle motion symbolizes a timeless journey, making the page more emotionally resonant.
Visual Enhancement: It adds a layer of motion that transforms the static page into a more dynamic experience, giving it a modern touch while still maintaining a retro aesthetic.
Customizable and Lightweight: The animation is easy to implement, highly customizable, and has minimal impact on performance, ensuring smooth transitions without affecting load times.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

so, I need to take over on this assign  me

@Sunilkumarchavhan9 any progress?

@Anjaliavv51 I am doing it will sooner will get updated


CI: use nightly wheel to install pyarrow in upstream test build

Attempt to close #9449

Could you move these lines .. where we were installing from the nightly conda channel?

Do you prefer those comments? Or could also remove it?

Thanks for finishing it up! (totally forgot about it)


panic recovered: interface conversion: *json.RawMessage is not proto.Message: missing method ProtoMessage

I can't help you without more information. You've provided a subject line, no code, no example, no explanation. Closing.


THU/scenario_manager_tree_list_prod_7333

@jreynard-code suggested changes have been done, thanks for the feedback ! :+1:


Error in documentation https://adoptium.net/support.html  wrong year for Next Releases

Summary
In the release roadmap under https://adoptium.net/support.html the year for the next release is still 2021 but should be 2022.
Steps to reproduce
got to https://adoptium.net/support.html
Expected results
Next release date should not be in the past so 2021 is wrong and must be fixed to 2022
Actual results
Next release date year is 2021
Triaging info
Java version:

What is your operating system and platform?

How did you install Java?

Did it work before?

Did you test with other Java versions?

https://github.com/adoptium/adoptium.net/pull/252


[$500] Expense - Green dot does not appear in LHN when the request is created in workspace chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.11-13
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to staging.new.expensify.com.
Create a new workspace.
Click FAB > Request money > Manual.
Request money from a workspace chat.
Note that the green dot appears in the workspace chat in LHN after the request is created.
Create a new workspace.
Go to the workspace chat > + > Request money.
Create a manual expense in the workspace chat.
Click on the expense preview to open report page.
Return to the main chat.

Expected Result:
In Step 8. the green dot will appear next to workspace chat in LHN.
Actual Result:
In Step 8. the green dot does not appear next to the workspace chat in LHN, when the request is created in the workspace chat.
In Step 10, the green dot only appears after opening report page and returning to the main chat.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/8210448d-8e61-4e68-8b12-7cdf785c9b5f
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013b75f81794691835
Upwork Job ID:<PHONE_NUMBER>835312640
Last Price Increase: 2023-12-19
Automatic offers:

getusha | Reviewer | 28066191
tienifr | Contributor | 28066192

I am gonna investigate this one in the meantime

I am unable to repro this. I am not seeing Green Dot Indicator in both cases

I can't reproduce either, but I think that we should show the green dot. It shows up if you navigate to another report and then back to the workspace chat.

True, but same behaviour is in prod I think. @kbecciv Can you confirm this?

In prod the workspace chat just disappears from the LHN in focus mode lol

I think we're missing hasOutstandingChildRequest in the chat report

I'm gonna demote this to NAB since the prod behavior is also broken.

@getusha can we review? 🙇♂

Reviewing

@bernhardoj will there be any issues if we just set hasOutstandingChildRequest to true in optimisticData?

@dylanexpensify I think https://github.com/Expensify/App/issues/32779 should handle this issue

waiting for @yuwenmemon's input here https://github.com/Expensify/App/issues/32779#issuecomment-1853351011

@nkuoch mind chiming in?

@nkuoch We can proceed with @tienifr's proposal

Actually, also ccing @amyevans as I'm confused about the right behavior to have, as this back end PR is stating we shouldn't show the green dot in this case as the requestor doesn't need to do anything.

The LHN green dot should not show for the user who sent the request since there's no action for them to take. The dot should however be shown to the payer.

@luacmartins I think the confusion here is that the user is sending the request to a workspace they are admin of.
So, on one side we tell not to show the green dot if user is the requestor, but on the other side we tell to show the green dot if they are admin of the workspace, who can actually act on the request I believe.

Hmm in that case I believe being an admin should take precedence and we should show the green indicator, since the user/admin should act on the request.

Back end PR in review: https://github.com/Expensify/Auth/pull/9514

@nkuoch is the Backend PR merged?

yes!

Nice! @getusha what's left here?

@dylanexpensify reviewing the PR, currently having an issue while inviting other account to a workspace to test more cases.

Got it - have we resolved this @getusha? 🙇♂

@dylanexpensify yes, i found a workaround for that issue. will complete the review today.

pending payout next

PR is merged, and pending to be deployed to staging.

Nice!

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@getusha] The PR that introduced the bug has been identified. Link to the PR: N/a looks like a case we missed that required Back-End changes.
[@getusha] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/a
[@getusha] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/a
[@getusha] Determine if we should create a regression test for this bug. Yes
[@getusha] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal

Create a workspace.
Open the workspace chat
Press + > Manual > Request Money from the workspace chat
Verify that the green dot appears next to workspace chat in LHN.

Do we agree 👍 or 👎

today!

Payment summary:

Contributor: @tienifr $500
Contributor+: @getusha $500

done!


essex vs diablo stack.sh

need to create a branch for each then decide what master is - and update the readme / gh-pages to talk about diablo vs essex

created essex and diablo series in launchpad


Add VideoFrame.rotation

This adds a VideoFrame.rotation property which uses av_display_rotation_get to read the rotation value from DISPLAYMATRIX.
This exposes a wrapper around av_display_rotation_get allowing users to read the rotation value from the DISPLAYMATRIX.
Not sure if this is the most usable API but at least this brings back the ability to read display rotation information.
Fixes #1047
Closes #1629

Not sure if this is the most usable API but at least this brings back the ability to read display rotation information.

A more user friendly API would be #1676 but will be a breaking/behaviour change for some users.

This API seems weird to me
Would frame.rotation be better?

This API seems weird to me
Would frame.rotation be better?

My understanding is that the rotation is now part of sidechannel data in MP4 streams.

My understanding is that the rotation is now part of sidechannel data in MP4 streams.

If I understand the FFmpeg documentation correctly, the rotation information is only part of the AVPacket side data (which PyAV doesn't expose yet) or part of the AVFrame side data.
I think frame.rotation would make sense not sure if there is a performance impact to reading the rotation for every frame. Maybe it would be more performant to have packet.rotation instead or in addition? Not sure whether this data can actually change from frame to frame or packet to packet in which case one could do some caching.

Would frame.rotation be better?

Done in 17b0b96991dc2b9b749ce76b2468c47f128767a0
The mypy failure in tests/test_audioframe.py seems unrelated.


chore(deps): upgrade

📚 Description
Upgrading dependencies, unblocking the usage of Node latest.
📝 Checklist

[x] All commits follow the Conventional Commit format
[x] The PR's title follows the Conventional Commit format

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


click+click select word with dot

For example, vscode can't select panel.poly_grid automatically, only select words before dot (panel) or after dot (poly_grid).

/question
AFAIK the only action on double click in editor is select word, which in turn uses settings "editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?" to determine word boundaries. As you can see dot is also included.
So you can remove . from global setting or provide separate settings for each language in User or Workspace settings.json
{
    "[python]": {
        "editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",<>/?" // no .
    },
    "[javascript]": {
        "editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?" // no -
    }
}

If you are sure that this issue is closed by mistake provide more details why proposed solution doesn't work.


Korean documents

The PR you gave me before is not worthy of reference. So I will post one after each inspection.

I checked and committed all the parts that I translated.
I do not think there will be any commitments for the time being.
After confirmation, ask for approval.
Thank you :)

Thanks a ton @wayne-kim! :)


the guide doesn't match with the files

this all i see

i don't know ho to use the tool

Hi @dananothername can you try running "Bot" or "GUI Bot" instead of "Bot Status"?

@dananothername could you try this version? https://github.com/sryu1/YouTube_View_Bot/releases/tag/v1.1.6

this is gui bot

this is bot even in cmd

Do you have chrome on your computer?

thanks it works rn
btw can you add the feature of changing the ip each time it watch the video
i feel like YouTube know what to do with those bots

I'm not too sure about how that work at the moment, so yeah... if you're willing to contribute though and add that feature, you're always welcome to!

i don't know how to contribute either
just add note: use a external tool to change your ip repeatedly ,every second because YouTube count a view per ip address

You mean you don't know how to contribute, or how to make it change IP addresses?

https://github.com/sryu1/YouTube_View_Bot/blob/master/Todo.md
I created a todo list, when I get some spare time, I'll try* to add these features in.

i tried a tool today

but this bug again

urghh... I think it's because of your proxy switcher, could you possibly try it without using your proxy switcher?


How to get training set using opendr?

Hello Silvia,
I was trying to generate the training set of another kind of animal, but I failed to use opendr to create the training set. I can't find much tutorial about opendr. Could you kindly share you code of generating the training set?
Yours sincerely,
Will

Hi,
Below is the opendr code.
Best,
Silvia
def setup_camera(h, w, flength=2000, rt=np.zeros(3), t=np.zeros(3), k=np.zeros(5)):
from opendr.camera import ProjectPoints
center = np.array([w / 2, h / 2])
f = np.array([flength, flength])
cam = ProjectPoints(
f=f, rt=rt, t=t, k=k, c=center)
return cam

cam = setup_camera(img.shape[0], img.shape[1], flength=flength)
cam.v = model
frustum = {'near': ch.min(model, axis=0)[2],
'far': ch.max(model, axis=0)[2],
'width': img.shape[1],
'height': img.shape[0]}
trend = TexturedRenderer(
vc=np.ones_like(model.r),
v=model,
f=model.f,
camera=cam,
frustum=frustum,
texture_image=texture_image,
vt=mesh.vt, ft=mesh.ft,
bgcolor=ch.array([0, 0.5, 0]))

On 23. Feb 2021, at 11:11, ChiyuanFeng<EMAIL_ADDRESS>wrote:
Hello Silvia,
I was trying to generate the training set of another kind of animal, but I failed to use opendr to create the training set. I can't find much tutorial about opendr. Could you kindly share you code of generating the training set?
Yours sincerely,
Will
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/silviazuffi/smalst/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNYVFNWWZ5PHZ7OOOMBA43TAN5NFANCNFSM4YCGDVHQ.

Awesome! Thank you for your immediate reply.
Best,
Will


Documentation of the errorformat string

I wanted to adapt the ruby errorformat to ignore any "possibly useless use of  in void context" messages. Since there was already a statement with ==, I assumed the row was to ignore exactly this type of error, so I replaced == with .* to no avail. Looking at the amount of percent-signs, I'm bound to have to add some myself. Unfortunately the sheer volume of percent signs makes it pretty much ungrokkable for as to what needs to be prefixed and why.
Could you add a short documentation for the errorformat strings to the README please?

See the end of :h neomake-faq.
Can you provide the output of :echo getloclist(0)?
Maybe the entries are marked as invalid already, and changing remove_invalid_entries would help.

Thanks for the faq pointer, I didn't find that yet.
The issue with my unsuccessful attempts however was due to a rogue syntastic plugin still being active without me being aware of it, at it was marking the lines as bad.
Sorry about the noise.


Joshfischer/consistent eco examples

@nwangtw This PR renames a few of the example ECO topologies to be consistent.. Also docs have been updated as well to reflect the changes.

LGTM. Thx~


Users can consent settings required?

Hi, with this feature on, it is required the option "Users can consent to apps" need to be enabled? Or can be disabled after settings this? It is not clear how this will work.
If when User option is enabled, Admin option is enabled. The flow will be, user can approve access for approved apps, but new apps are forwarded to administrator? Or else?

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

ID: f6e93be2-bad4-bae7-91bc-d4122dad86fd
Version Independent ID: caf48884-743b-8f83-58a0-a92c3940fbba
Content: Configure the admin consent workflow - Azure Active Directory
Content Source: articles/active-directory/manage-apps/configure-admin-consent-workflow.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @msmimart
Microsoft Alias: mimart

@Kazzan Thank you for the detailed inquiry. We are actively investigating and will get back to you soon.

If the app is registered as a 1st party app in the AAD Onboarding portal, it doesn't require any consent.
If it's registered as a 3rd party, there are 2 primary cases when admin consent will be required and in every case will require user consent (unless admin consent had been granted).
Admin Consent Case 1: The app has added a permission that requires admin consent. This is denoted in the Azure portal.
Admin Consent Case 2: The tenant has disabled all user consent. In this case users cannot choose to consent on their own, so any new app being added needs some admin experience or to tell them to go into the portal.

Hope this helps! If you have further questions or I misunderstood something, feel free to tag me in the comments or email me at<EMAIL_ADDRESS>and I will gladly continue the discussion.
@msmimart can we please add something to the documentation about this?


Separate gh-pages into its own repo

As suggested by @mojavelinux in #190, this plugin isn't specific to Github Pages, it just publishes to any remote Git branch. Additionally, it's independent from any other functionality in gradle-git, so there's no need to couple them.

The existing plugin should remain until v2.0.0 of gradle-git for backwards compatibility.

:+1:

+1 👍

See gradle-git-publish

:+1:

👍

0.1.0 is out now of gradle-git-publish.


Website up/down with domain-name

The usual Website up/down badge markdown-content looks like
[![example.com](https://img.shields.io/website-up-down-green-red/https/example.com.svg)](https://example.com/)

which results in:

This is nice but not ideal when you use this badge multiple times (with different domains): You do not know which website is up and which is down (except you hover over it to see the link).
It seems that the text in the square-brackets at the beginning does not have any effect. The left text in the badge is always website.
So: Is the text website customizable? It would be nice if we are at least able to set the domain-name as text for the left part to have a badge-text like "example.com | up".

Hello there @anionDev,
Thanks for your question.
Using shields.io badges, it seems impossible to do what you are looking for:

See documentation online at https://shields.io/category/monitoring.
Regards.

Ok. Anyway, thank you for your answer!


Make an object oriented version of grad

I am new to autograd, and I like the idea of the project very much!
I am wondering whether it is possible to make an object oriented version of grad. That is instead of
def grad(fun, argnum=0):

one defines a new function like
def grad(class, class_fun, class_property):

to compute the gradient of class_fun with respect to class_property.
In this way (or maybe other ways) I don't have to rewrite existing class into a function form.

You can already call grad on class methods; just write grad(class.class_fun) or grad(class.class_fun)(class.class_property). Just pass in argnum corresponding to the argument number of class.class_fun with respect to which you want to differentiate. Issue #67 has an example.

Thanks for the quick response! Here is an example:
class A(object):
    def __init__(self):
        self.W = np.random.rand(size=(10, 10))

    def output(self, x):
        return np.dot(self.W, x)

I want to compute the gradient of output with respect to self.W. However as self.W is not an argument of output, so I can't tell grad this using argnum. Therefore, my question is is there a way to compute the gradient without rewriting the class?

I think you'd have to rewrite it. Autograd works on functions by boxing arguments before they get passed in. Here, the argument you care about boxing isn't actually an argument of output, but rather it's an argument of np.dot. So in this simple example, it's really the gradient of np.dot that you want, with respect to its first argument, rather than any gradient of output.
You might be able to reorganize your code so that inside a class method you call a pure function with arguments that are class members, like this:
class A(object):
    def __init__(self):
        self.W = np.random.rand(size=(10,10))

    def output(self, x):
        return self._output(self.W, x)

Then you can call grad on the _output method to get its gradient with respect to argument 0.

Indeed, with this method I can already reuse most of the existing code. Thanks a lot!


Introduce Query and QueryAsync Table-Based Calls

Checked-in to master branch and will be a part of release > v1.9.3.


Rust template broken

Please review the install template for rust as something in it is broken. Please see below.

The issue might be related to the map according to other people I have spoken to that have seen the same issue.

broken cuz it launches (according to logs) like so:

which results in level name Procedural, which is not Procedural Map as it should be. Fix when?

Any updates?


Add documentation

Acceptance Criteria:
Add some documentation for the app.

[x] Release process
[x] Firebase
[x] Head tracking
[ ] Crowdin

Only thing left to document here is Crowdin


Caused by java.security.InvalidKeyException: Only SecretKey is supported

Got an exception like this by using the standard approach to authenticate via fingerprint:
   private void generateKey() throws Exception {
        try {
            keyStore = KeyStore.getInstance("AndroidKeyStore");
            keyGenerator = KeyGenerator.getInstance(KeyProperties.KEY_ALGORITHM_AES, "AndroidKeyStore");
            keyStore.load(null);
            keyGenerator.init(new KeyGenParameterSpec.Builder(KEY_NAME, KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT)
                    .setBlockModes(KeyProperties.BLOCK_MODE_CBC)
                    .setUserAuthenticationRequired(true)
                    .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_PKCS7)
                    .build());
            keyGenerator.generateKey();
        } catch (KeyStoreException
                | NoSuchAlgorithmException
                | NoSuchProviderException
                | InvalidAlgorithmParameterException
                | CertificateException
                | IOException exc) {
            exc.printStackTrace();
            throw new Exception(exc);
        }
    }

    private boolean initCipher() {
        try {
            cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" + KeyProperties.BLOCK_MODE_CBC + "/" + KeyProperties.ENCRYPTION_PADDING_PKCS7);
        } catch (NoSuchAlgorithmException | NoSuchPaddingException e) {
            throw new RuntimeException("Failed to get Cipher", e);
        }

        try {
            keyStore.load(null);
            SecretKey key = (SecretKey) keyStore.getKey(KEY_NAME, null);
            cipher.init(Cipher.ENCRYPT_MODE, key);
            return true;
        } catch (KeyPermanentlyInvalidatedException e) {
            return false;
        } catch (KeyStoreException | CertificateException
                | UnrecoverableKeyException | IOException
                | NoSuchAlgorithmException | InvalidKeyException e) {
            throw new RuntimeException("Failed to init Cipher", e);
        }
    }

Caused by java.security.InvalidKeyException: Only SecretKey is supported
       at com.android.org.conscrypt.OpenSSLCipher.checkAndSetEncodedKey(OpenSSLCipher.java:436)
       at com.android.org.conscrypt.OpenSSLCipher.engineInit(OpenSSLCipher.java:261)
       at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:2668)
       at javax.crypto.Cipher.tryCombinations(Cipher.java:2575)
       at javax.crypto.Cipher$SpiAndProviderUpdater.updateAndGetSpiAndProvider(Cipher.java:2480)
       at javax.crypto.Cipher.chooseProvider(Cipher.java:567)
       at javax.crypto.Cipher.init(Cipher.java:831)
       at javax.crypto.Cipher.init(Cipher.java:772)

Mostly users got crashes by 8 and 9 starts getting crashes:

This was happening for me if the device is not secured via code/fingerprint - needs to be activated in the settings.

I am also facing similar problem. Any clue?

You have set UserAuthenticationRequired as true. If you want to keep this, Device lock needs to be set via pin code or fingerprint as per @batschz  or you can setUserAuthenticationRequired(false).

I am closing this issue/PR, as it has been migrated to the new repo linked above in the comments. Thank you!


NuGet package release

Its been 4 months since the last release (1.4.0).  Is there a roadmap for what outstanding issues we want to address before the next release? And/or a timeline for when that will be?  There have been several nice PRs merged since then including keybinding to which the main README refers (that has cause confusion about whether it is a deprecated feature - https://github.com/migueldeicaza/gui.cs/discussions/1667#discussioncomment-2579961).  Another critical bugfix that was merged but not yet released is https://github.com/migueldeicaza/gui.cs/pull/1651 which makes Open/Save dialog break on linux.

Has it really been that long?! Wow.
I’ll pull together a 1.5 release this week. Maybe today.
-cek
Sent via mobile. Expect brevity, typos, and dangerous driving.

From: Thomas Nind @.>
Sent: Sunday, April 17, 2022 5:19:36 AM
To: migueldeicaza/gui.cs @.>
Cc: Subscribed @.***>
Subject: [migueldeicaza/gui.cs] NuGet package release (Issue #1669)
Its been 4 months since the last release (1.4.0). Is there a roadmap for what outstanding issues we want to address before the next release? And/or a timeline for when that will be? There have been several nice PRs merged since then including keybinding to which the main README refers (that has cause confusion about whether it is a deprecated feature - #1667 (reply in thread)https://github.com/migueldeicaza/gui.cs/discussions/1667#discussioncomment-2579961). Another critical bugfix that was merged but not yet released is #1651https://github.com/migueldeicaza/gui.cs/pull/1651 which makes Open/Save dialog break on linux.
—
Reply to this email directly, view it on GitHubhttps://github.com/migueldeicaza/gui.cs/issues/1669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEO6CU3P3J3IL4SVFWP3ELVFP6VRANCNFSM5TTZVRDA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Which hyperparameters to tune?

Hi,
as i'm running smaller dataset than the full coco + doing fine-tuning, it doesn't take so much time to get reasonable results. So i was thinking to maybe try to run like bayesian optimization to tune some hyperparameters of yolact.
Which hyperparameters do you advise me to release, to run the optimization? which ones are the most influent / interesting?
thanks

Hmm interesting idea. Some things that are particularly influential are the anchor box scales and aspect ratios. Maybe also the number of anchor boxes. Apart from that, there's not much that you can really do a sweep over.

ok nice, i keep that in mind, thanks!

do you have the exact parameter names you mentionned? there are plenty of parameters available in config.py file :)
thanks

They are pred_aspect_ratios and pred_scales. Check yolact_base_config for details.

@TBondat "run like bayesian optimization to tune some hyperparameters of yolact" can you please elaborate on this is there any different way to tune the hyperparams

yes, you can also do basic grid search or random search for instance.
https://nanonets.com/blog/hyperparameter-optimization/


Fingerprint generator v2

Fingerprint generator v2 will have a new fingerprint structure with 20+ attributes and browser features.

I am not counting the model recreation estimation. This is going to be in @Equidem Q1 roadmap.


Windows issues

Version not available in copyright message or from the version_data flag:
PS C:\Users\Paulo Moura> tpl
Trealla Prolog (c) Infradig 2020-2023,
?- current_prolog_flag(version_data, VersionData).
   VersionData = trealla(0,0,0,[]).
?-

Testing on Windows 10 with Trealla Prolog v2.24.3.

The version is set from the makefile:
GIT_VERSION := "$(shell git describe --abbrev=4 --dirty --always

--tags)"
Which I suppose is not working on the Windows build.
On Mon, Aug 7, 2023 at 1:28 AM Paulo Moura @.***> wrote:

Version not available in copyright message or from the version_data flag:
PS C:\Users\Paulo Moura> tpl
Trealla Prolog (c) Infradig 2020-2023,
?- current_prolog_flag(version_data, VersionData).
VersionData = trealla(0,0,0,[]).
?-
Testing on Windows 10 with Trealla Prolog v2.24.3.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/296, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSERWGUGUKTYKPZHSTX3XT6ZYXANCNFSM6AAAAAA3F7OY5U
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'll take a look, probably a matter of tweaking the build script a bit

Latest release looks good:

Please feel free to report more Windows-related issues, I should be able to help with it.

Thanks.
On Tue, Aug 8, 2023 at 7:59 AM guregu @.***> wrote:

Latest release looks good:
[image: image]
https://user-images.githubusercontent.com/131059/258934779-44d67bff-8399-4dca-8b8e-7978862c48ba.png
Please feel free to report more Windows-related issues, I should be able
to help with it.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/296#issuecomment-1668631459,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSER6B7E2C5K2BZPNQBDXUFQMDANCNFSM6AAAAAA3F7OY5U
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Thanks for the quick fix!


[Task] support tidb database monitor

Describe the solution you'd like.
support tidb database monitor.
use jdbc to support tidb metrics monitor
Additional context
https://docs.pingcap.com/zh/tidb/stable/

i want try


RuleGroup: sync available config options with upstream

Looks like rulegroup is missing config options from the upstream:

[ eval_offset:  ]
[ eval_delay:  ]
[ eval_alignment:  | default true]

New fields were added in v0.46.0, close as completed.


Connect to production.cloudflare.docker.com:443

Environment:

Jib version:3.3.2
Build tool:Maven
OS:Windows11

Description of the issue:
The configuration is the same as the official one, which has been correctly configured and used successfully for many months. Failed to package an image yesterday. A temporary message indicating that the connection to xx website failed.
Expected behavior:
Normal packing.
Steps to reproduce

maven install

Log output:
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.2:build (jib-maven-plugin) on project hello-world: Connect to production.cloudflare.docker.com:443 [production.cloudflare.docker.com/<IP_ADDRESS>, production.cloudflare.docker.com/<IP_ADDRESS>, production.cloudflare.docker.com/<IP_ADDRESS>, production.cloudflare.docker.com/<IP_ADDRESS>, production.cloudflare.docker.com/<IP_ADDRESS>] failed: connect timed out -> [Help 1]

我也一样的问题

我也是，楼主解决了吗

解决了吗？大哥

@Ycm19970520 @13693506231 估计是准备7.1然后被墙了呗，你开梯子才可以😠

It seems that there's firewall problem accessing the registry. I'm afraid that Jib cannot resolve that.

isThereAnyOtherWayToOpenALadder？

解决了吗？大哥
我改用阿里云镜像仓库了

I resolve it, I just modify the maven settings.xml then add the proxy config


4.6 verison colors bug

It's not working because of this error

After the fix plugin should work on 4.5.x and 4.6.x
@ryantxu I believe that NatelEnergy/grafana-discrete-panel doesn't work too on 4.6.x


Compatibility of the ask and tell API with acquisition function EIps

It seems i cannot use acquisition functions that incorporate the runtime (EIps, PIps) when using the ask and tell API.
My objective function returns a tuple of (result, time), this part should be correct imho. The error is thrown during the lying step of the optimizer.
I get the following error:
[shortened]
File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 339, in ask
    opt.tell(x, y_lie)  # lie to the optimizer
  File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 417, in tell
    raise TypeError("expected y to be (func_val, t)")
TypeError: expected y to be (func_val, t)

Are the ask and tell api and EIps not supposed to work together, or am i missing something?
(Version: v0.4)

Can't think of a reason why they should not work together, so this is most likely a bug. Would you be interested in proposing a fix? (We can work together to find the right thing to do if you want to).

Sure. Howevery, after constructing a minimal reproducible example i think the error must be on my side.
"""
Based on examples/ask-and-tell.ipynb
"""
import numpy as np
from skopt import Optimizer

def objective(x):
    seconds = 1
    return np.sin(5 * x[0]) * (1 - np.tanh(x[0] ** 2)), seconds

opt = Optimizer([(-2.0, 2.0)], 'ET', acq_func='EIps', acq_optimizer='sampling')

for i in range(9):
    next_x = opt.ask()
    f_val = objective(next_x)
    opt.tell(next_x, f_val)

Thanks for your fast response anyway! I will recheck the rest of my code and update this issue if the problem persists.

I re-examined, everything is working fine :) The mistake was in another part of my code.

Closed this too soon. If i pass n_points=5 to the ask method i can reproduce the error.
"""
Minimal reproducible example for #560
(https://github.com/scikit-optimize/scikit-optimize/issues/560)
"""
import numpy as np

from skopt import Optimizer

def objective(x):
    seconds = 1
    return np.sin(5 * x[0]) * (1 - np.tanh(x[0] ** 2)), seconds

opt = Optimizer([(-2.0, 2.0)], 'ET', acq_func='EIps', acq_optimizer='sampling')

for i in range(9):
    next_x = opt.ask(n_points=5)
    f_val = objective(next_x)
    opt.tell(next_x, f_val)

If i read the docs correctly this should work. Correct me if i'm wrong.
This seems like a rather easy task and i would love to contribute.
I will look into it as soon as my schedule permits.

@betatim It seems that during the lying step the computation time is not considered at all (and thus crashes for acquisition functions containing "ps").
This probably means that the part where the lying is done needs to be adapted. The paper, which is linked in the docstrings, does not seem to consider lying on computation times. I need to think about this, but my first intuition would be to simply keep track of the runtime values in the same way as it is done for the objective values (yi). And then treat them exactly the same as the objective values for the min / mean / max cl stratgies.
Still, i am not sure if this just fixes the code, or is a desirable solution.

Your objective function simply does not support multiple points. Check again!

You are right on that, however this is not the issue that troubles me.
The error is raised during the ask call. My real code shows the same behavior (the objective there was fine).
Traceback (most recent call last):
  File "skopt_eips_ask_tell.py", line 16, in <module>
    next_x = opt.ask(n_points=5)
  File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 341, in ask
    opt.tell(x, y_lie)  # lie to the optimizer
  File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 419, in tell
    raise TypeError("expected y to be (func_val, t)")
TypeError: expected y to be (func_val, t)

Currently working on a solution. So far i have identified two problems. I will keep you posted.

Thanks! Feel free to open a PR and mark it as "[WIP] ". Seeing it develop tends to help people review it more quickly and we can discuss directly on the code.


Wrap the logger used by replay-driver to markup log events

Fixes #3902
This allows us to mark up all events with isReplay: true so we can separate these logs from other logs.

@Curtisman @vladsud - I'm also looking at FluidDebugger.createFromService - I don't see an obvious way to inject a logger in that flow, is that right?
And coming at it from the other angle - if I search for "logger" under replay-driver, I only find one other hit, which is n/a (StaticStorageDocumentServiceFactory.createContainer which just throws "Not implemented"). So it seems like even after this change there's going to be scenarios using replay driver that don't get the logging marked up.

There is no way to inject your logger with FluidDebugger.createFromService flow, as the underlying service is already initialized and already uses some logger. This path is not used, I believe, but it's super valuable for local testing (I just wrap service in container.ts with it when making any changes to test it with any existing workflow).
I think with latest way how we create driver (now it's created by container, it used to be created by loader, I think), we can remove this API - we always operate with factory.


tmux must be started with larger headless size: "create pane failed: pane too small", "can't set layout"

Problem: with a custom layout string from a large window, tmux gives the errors in the issue topic.
Solution: the new-session tmux command needs to have the ability to be passed the -x and -y options so that a headless window of size larger than the default 80x24 can be created.

Somewhat of a workaround, but pre is marked deprecated, use this in the config:
pre: 'cd "@root@" && tmux -S "@root@/workdir/socket" new-session -d -x 255 -y 75'


Feature/version 6.9.210323

The recipe is updated with

a fix for windows build jobs
new sintef remote (readme must be updated)
changed the version to latest release 6.9.210323, same minor version
gcc10 support with patch found on an open issue on opensplice github

If we are to support the previous version 6.9.190925 we should change the recipe. Some of the changes here are still needed to successfully build the other version too. Perhaps create a tag with the old version?


TASK: Fix warnings

Currently there are repeat warnings for OOVPAs. For now it does compile and tested with Cxbx-Reloaded as functional.
However, we still need to fix it anyway.

After pull request #12, Update 2, is merge. Please cherry-pick this commit, https://github.com/RadWolfie/XbSymbolDatabase/commit/5fffa7f9cf737a3cfa4a5e85d35d7dbd304141c3, into your branch then make a pull request to be merge.
Then we can finally fix all remaining the bugs, not relative to this issue.


Adds an interface for triggers. Resolves #20

The current design doesn't have a contract for a trigger style behavior now that both triggers and behaviors have been merged into one.
This affects any framework that works with triggers in abstract (such as Caliburn.Micro) where the following is not possible.
IBehavior trigger = CreateTrigger();
IAction action = CreateAction();

trigger.Actions.Add(action);

I propose adding a new interface
public interface ITriggerBehavior : IBehavior
{
    ActionCollection Actions { get;}
}

and applying to this to the out of the box triggers.

Makes a lot of sense, and to be honest, I'm actually surprised it wasn't there to start with! 😃

Great change. No objections here


I want to know which main view controller that i am currently see behind the menu

When i tapped Swift menu,it show me Swift View Controller.When i slide out to view the menu again
http://puu.sh/hW37U/4717187aa2.png
how to know the current view in my foreground?
http://puu.sh/hW38R/10b1d40bd5.png
Thank You
With Regards.

Any Help?Please?

Hi,
An easy way is not available now.
Please to override the SlideMenuController#track method for tracking.
the following Enum is have defined.
    enum TrackAction {
        case TapOpen
        case TapClose
        case FlickOpen
        case FlickClose
    }

Please try to acquiring and processing are displaying viewController as follows:
self.slideMenuController()?.mainViewController

If so demand is high, consider a good interface.


[url_launcher] Update README to use code excerpts.

Updated README.md to use excerpts from the example/lib directory. Ensured all analysis rules pass (like not using deprecated RaisedButton, and other style updates).
Remove url_launcher from script/configs/temp_exclude_excerpt.yaml so excerpts are validated at CI time.

Contributes to: https://github.com/flutter/flutter/issues/102679
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Thanks for the contribution!
All README code changes need to use the new code-excerpt system to ensure that they are correct (and stay correct going forward). Please see the linked docs for an explanation of how to convert the code snippet to the new system as part of this change.

[ ]  I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[ ]  I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.

These steps are also required, as explaining in the docs they link to.

/cc @ditman

  url_launcher/url_launcher - ran

There's one instance of documentation that wasn't "extracted" (for iOS), because I couldn't find it anywhere in the example app.
https://github.com/flutter/plugins/blob/bde0d0d78f66b57606097b1ffab36c91ac6cafdb/packages/url_launcher/url_launcher/README.md?plain=1#L49-L56

Tests for this change are running in the readme_excerpts CI step.

Probably you just need to pull the minimum path back a bit further

Agh, you're right. I tested with stable but didn't think to go further back in time. I'll get that fixed. Thanks!!

2.8.1 corresponds to hash: 77d935a. Digging.


How to delete the empty rows before read the xlsx file?

Hi,Thanks for your package! It's very helpful for me.But now i need to delete the empty rows before traverse the table,how can i do for this?

delete_rows from https://github.com/SheetJS/sheetjs/issues/413#issuecomment-456979011


AttributeError: module 'urllib' has no attribute 'urlopen'

What happened
Using Python3, __init__ this line:
self.release = json.loads(urllib.urlopen(Installer.LATEST_RELEASE_URL).read().decode("utf-8"))
Throws the error:
AttributeError: module 'urllib' has no attribute 'urlopen'
What I expected to happen
That there is a check for if urlopen exists and to handle appropriately based on Python version
Steps to reproduce

Install Themekit using Python3 on a Linux machine

My Environment
I am running into this on CircleCI using a Linux machine with Python3

Yes the script is written using Python2, Please use that if available.


ActionBar + Page transition are causing content displacement (iOS)

Hi,
with the transition to {N} 4.1 and nativescript-angular 6.0, I'm facing some issues coming from navigation animations.
I'm transitioning from a flat actionBar to a "regular" one, and the page is not correctly positionned.

When I'm removing the animation, the position is correct.

Seems like the animation calculations aren't correct.
Another example I have is with a page having a negative marginTop (to display an image under the actionBar). The position is broken when navigating back to this page. All good without the animations though.

@jeremypele I have created this test application trying to recreate the issue but to no avail. Can you please provide more information about the codebase used (the type of page transitions, the action bar code, etc.) - you could either modify my own example or directly create a Playground demonstration.
Also, is this happening on a specific iOS version?

It actually works correctly when no transition are provided.
this._routerExtensions.navigate('my-page')

but as soon as a special transition is defined, then it breaks
this._routerExtensions.navigate('my-page,  { transition: { name: 'slideLeft' } })

I'll try to update the test app ASAP, but I'm first trying to clean my app to see if removing the custom transitions works for me. Still a bug though

@NickIliev Easy to reproduce with a new app. I've updated the seed on this fork => https://github.com/jeremypele/NS-Issues-2018-II/tree/master/nativescript-angular/issue-1377/app
With the transition: the second page got a padding-top white and going back to the first one put the page content under the status bar.
Without the transition it works just fine.

@jeremypele  thank you for the detailed info. Confirming this one as a reproducible bug on iOS.
Steps to reproduce:

Use this test app where the first [page has a flat action bar
Navigate to the second page with transition
Result: the content of the secondary page is "pushed" vertically. Navigating back also break the UI of the original landing page.

@NickIliev Another issue, different but can be reproduced on the same demo app.

Navigate to the second page (without transition)
Start to drag the page to the left to go back the first page and then drag it back to not navigate

The header is broken and displays the first page actionbar style.

On iOS 10.3 I have a similar issue: when I navigate to a page, the height of the action bar (flat) is ignored; content disappears under the action bar. As soon as I use a button from the keyboard on this page, the height of the action bar is no longer ignored; the content moves down.
This behavior is only on iOS 10.

Same here.
nativescript-angular: 6.06
tns-ios: 4.1.1

First page hides the action-bar: this._page.actionBarHidden = true;
Second page has normal action-bar with content on page
When navigating from first page to second: the content will be pushed under the action-bar
when navigating back with swipe, the UI of the action bar on second page break and is suddenly white

Can reproduce under iOS 10 and 11.

Just want to confirm that this is a thing -- I removed flat from my <ActionBar>s and things got much better.

I'm having the same issue as t3hmrman, putting flat=true on the ActionBar displaces the content below.  I'm not transitioning anywhere.
The same thing happens if, instead of setting 'flat', I set ios.controller.navigationBar.translucent to false.

... I'm not using Angular, just javascript.

Is there a solution for this issue? I'm using the flat attribute to remove the color correction from ios

Experiencing this same issue with Nativescript Vue as well.

If you are using a ScrollView put it inside a StackLayout. This resolved the issue for me!

Not only on ios 12; it can be reproduced on ios 11 as well.

like @t3hmrman and @mimamo10, the issue is only present when flat=true is set (I'm using NS Core).

hey @stevenspiel agreed -- I solved it by just removing flat IIRC. I might have also shuffled around some views (maybe the ScrollView and some layout) as @felicks suggested.

I don't know if anyone has found a proper solution for this yet. For me, I added a marginTop="1" in <ScrollView marginTop="1"> and it worked. However, it leaves a 1px of space between the ActionBar and ScrollView which you can probably cheat depending on the color/styling of your app. This is my full code
<template>   <Page>     <ActionBar title="Title" flat="true">       <NavigationButton visibility="collapsed" />     </ActionBar>     <ScrollView marginTop="1">         <!--- content -->     </ScrollView>   </Page> </template>

Removing flat=true on the ActionBar DOM element doesn't fix this issue for me.
The only thing that correctly aligns the page is removing the animation options from the router.navigation


Only LOD models for many objects shown

I'm trying to use SanAndreasUnity with the Mac Steam version of GTA:SA, which is simply a Wine wrapper for the Windows version. I'm not sure how much the data-files differ, but I had to fix some stuff so my peds.col is loaded correctly. I'd be interested to know if the following happens for everyone, or only on my version...
Now the main problem I see is that for many objects, only the low LOD models seem to be loaded and shown. Las Venturas has the most proper working objects, in Los Santos nearly everything is low-detail. Also these low LOD models mostly seem to not have any collision information, so I'm falling through the world often (and had to implement reseting the position and a flying mode).
Directly at the spawn point in Las Venturas:

Between Las Venturas and Los Santos:

CJs House in Los Santos:

Here you can see the street turn from high LOD into low LOD, at the San Fierro Airport:

I saw that the importing code already tries to handle LOD models. Could there be a bug? Or is it the fault of my game files? They already seem to be invalid in other places.

Regarding peds.col : I am also getting read errors at 28% (both on linux and windows). I just ignore it, and the game runs fine - character collision appears to be ok.
For the LOD models problem - this probably has to do something with your version of gta. Models are always loaded properly for me. Of course, when you are close to them, high level is shown, and when you are far away, low level is shown. Note that if you are passing by them very fast, they may not get to load in time (that's why the character is falling through the ground), so you will see only low level model and no collision will be loaded. But I doubt this is the case with your scene. I am guessing that you are standing on ground, and that the models are still low level ? If that's the case, then the problem is probably in your gta version.
I know you will hate me for this :smile: , but if I may suggest a workaround : try to obtain windows version, install it, and then use that installation instead of the mac's one.

Aha! I suspected something like this, to be honest. As my game files are, as I said, also just the Windows version with Wine, so there really shouldn't be any difference.
I'll investigate your commits and see if I can find anything... :smile:

Well, I've checked all of your commits. Neither the ToLower nor the path separator replacement seems to be the problem. I can't find any files that aren't loaded properly. I've also tried another version of the game files for Windows, with exactly the same problem.
I also just now noticed that all the screenshots you've included in the repo show the same problem (you can see it with the street leading to the 'Visage' entrance and opposite of that one with the circus tent).
I haven't been able to get @Metapyziks last version running, so I'm not 100% sure if the problem has been introduced with your first commit or has been there before.
Any other ideas? Are you really sure that it worked fine originally?

Yes, I am definitely sure that the original version worked fine.
Here's the catch : I am developing on linux. So, any errors that popped out in newest commit, I supposed the reason for it is that my project is running under linux (there are problems when trying to run on linux - like reading from file system (windows does it all case insensitively) - maybe that's the problem with Wine version too), and I just ignored them hoping that it will run fine on windows. So as you can see, I haven't done much testing.
And yes, the screenshots show the problem also.

Hmm, you already tried windows version... well nothing crosses my mind right now ... but there's definitely a problem in last commits

I think you should start developing from windows again.
I tried to work with animation but I can't add GTA:SA animation to Unity.
How can I add animation to Unity? I am pre-intermediate level at Unity
though.
Have you tried to make animations compatible with unity's humanoid or we
have to use generic or other type animation system?
Are you able to make ped aim? I am working on 3rd person project and it's
pretty impossible to make ped aim without IK.
On Mar 26, 2017 9:52 PM, "in0finite"<EMAIL_ADDRESS>wrote:

Yes, I am definitely sure that the original version worked fine.
Here's the catch : I am developing on linux. So, any errors that popped
out in newest commit, I supposed the reason for it is that my project is
running under linux (there are problems when trying to run on linux - like
reading from file system (windows does it all case insensitively) - maybe
that's the problem with Wine version too), and I just ignored them hoping
that it will run fine on windows. So as you can see, I haven't done much
testing.
And yes, the screenshots show the problem also.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/in0finite/SanAndreasUnity/issues/2#issuecomment-289292912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUQvyFPXeO3-kVEniK4C6Lmj7SCW4hbbks5rponQgaJpZM4MpCPz
.

I think https://github.com/Metapyziks won't gonna work on this project
anymore since it's codes are very buggy or he might have moved to other
projects.
On Mar 26, 2017 10:01 PM, "Big Boss"<EMAIL_ADDRESS>wrote:

I think you should start developing from windows again.
I tried to work with animation but I can't add GTA:SA animation to Unity.
How can I add animation to Unity? I am pre-intermediate level at Unity
though.
Have you tried to make animations compatible with unity's humanoid or we
have to use generic or other type animation system?
Are you able to make ped aim? I am working on 3rd person project and it's
pretty impossible to make ped aim without IK.
On Mar 26, 2017 9:52 PM, "in0finite"<EMAIL_ADDRESS>wrote:

Yes, I am definitely sure that the original version worked fine.
Here's the catch : I am developing on linux. So, any errors that popped
out in newest commit, I supposed the reason for it is that my project is
running under linux (there are problems when trying to run on linux - like
reading from file system (windows does it all case insensitively) - maybe
that's the problem with Wine version too), and I just ignored them hoping
that it will run fine on windows. So as you can see, I haven't done much
testing.
And yes, the screenshots show the problem also.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/in0finite/SanAndreasUnity/issues/2#issuecomment-289292912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUQvyFPXeO3-kVEniK4C6Lmj7SCW4hbbks5rponQgaJpZM4MpCPz
.

@in0finite Alright, I'll try adding more diagnostic output to further understand the asset loading process and see if I can spot any problems. Hope I can find something.
@Bigbossbro08 Sorry to be so blunt, but this is an issue tracker, not a chat room. Please keep the discussion here focused on the topic of the issue, namely the LOD models. I'd suggest opening your own issue if you think you need any help with the IK stuff. Otherwise these threads are useless for others that want to read about issues in the future. And developing on Windows is definitely not a good solution for me!

@Bigbossbro08  Are you trying to spam us, or what ? Why don't you open a new issue ?
@xythobuz  Actually, if I think again, It could still be a problem of finding files on a file system. Both linux and mac read files with case sensitivity, am I right ? Windows does not. So, unless someone tests this under windows (using windows binary, not windows installation), we can't say what is the exact error.

You'll understand why am I talking about file system when you take a look at gta data files - case is all mixed up - it says DATA\MAPS\SF\SFs.IPL, but the real path is data\maps\SF\SFs.ipl

Macs can have both, but my filesystem is case-insensitive (it actually stores the filename case-sensitive, but allows access without case-sensitivity). I've enabled logging the archive entries, so I saw the original filenames used. But they should work without any changes, only the backslash needs to be converted.

I finally figured it out.
It was about file paths as I thought. Check out what I changed.

Ah, awesome! I really didn't expect a solution so soon, great, thank you very much! :smile:
Seems to work fine on the first look. Would you mind elaborating a bit how you found out what the problem is?

Did you see the changed file ? I converted all paths/extensions to lowercase, because that's how they are stored on disk, and I converted backslash to directory separator char (/).

I see, it's about the contents of the dat file that contains further paths that need to be fixed. But, what I meant is, how did you find out that the problem is with the loading of the Items?
Anyways, I think this issue can be closed, it seems to be solved.

how did you find out that the problem is with the loading of the Items?

I knew it has to be a problem with file paths, so I searched through all code that tries to load something, or uses Path class. And so there it was : ReadIpl() was using Path, and it was passing 'path' parameter (which was loaded from .dat file directly). So I just 'preprocessed' the args variable inside ReadLoadList(), and that's it :smile:

Ah, of course, in retrospect it sounds obvious. Thanks again!


Support initialization of segment color from RecommendedDisplayCIELabValue

Request
What feature or change would you like to see made?
Per @JamesAPetts, "SEGs just load in the default cornerstone color LUT per segment index at the current time", even if color is included in the segment sequence. It would be better if the color was initialized based on what is in SEG.
Why should we prioritize this feature?

in the situations where there are multiple segmentations for a given structure (e.g., multiple readers or algorithms), showing them all in the same color makes interpretation difficult
make visualization consistent with the other tools that support SEG (e.g., Slicer initializes the color)

For reference:
https://github.com/dcmjs-org/dcmjs/blob/master/examples/vtkDisplay/index.html#L485-L496

@swederik @JamesAPetts considering the "In progress" stack is almost empty, and I recall James mentioned this should be quite straightforward, I suggest we move this one to "priority" and "in progress" - do you have any concerns?

Nope! Sounds good to me

Thanks! I use the LIDC dataset for testing often, and it is very annoying to have all segments painted the same color, since there is only one segment per object, but multiple segments for the individual lesion. Navigation of this kind of data becomes a lot more intuitive when colors are initialized from the data.

Igor is working on a couple of issues, I'll take this one.

Resolved in #1709. Let me know if there are any issues.


The SiK Firmware documentation should be centralized

Right now its replicated way too often:
http://copter.ardupilot.com/wiki/common-3dr-radio-version-2/
http://copter.ardupilot.com/wiki/common-3dr-radio-v1/
http://copter.ardupilot.com/wiki/common-3dr-radio-advanced-configuration-and-technical-information/
http://copter.ardupilot.com/wiki/common-rfd900/
https://pixhawk.org/peripherals/radio-modems/start?s[]=3dr&s[]=radio#mhz868_mhz900_mhz_long_rangeoutdoor
http://plane.ardupilot.com/wiki/common-rfd900/
http://plane.ardupilot.com/wiki/common-3dr-radio-v1/

some of this link and some on the readme (http://ardupilot.org/copter/docs/common-optional-hardware/common-telemetry-landingpage/common-3dr-radio-advanced-configuration-and-technical-information.html) are not available anymore


Highest wave reached per map

Announce the highest wave reached on the current map, to be used with !start_tc etc

Addressed in PR #61


Make displayText in createNetwork optional

Description
This is a improvement change to make displayText field optional for createNetwork as mentioned in issue #6855.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan ui

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/7112 (QA-JID-32)

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/7112 (QA-JID-33)

@blueorangutan ui

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/7112 (QA-JID-34)

@blueorangutan ui

@rahulbcn27 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/7112 (QA-JID-36)

@blueorangutan ui

@rahulbcn27 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/7112 (QA-JID-37)

@blueorangutan package

@vladimirpetrov a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5394

@blueorangutan package

@vladimirpetrov a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5400

Only 'Create network' has been fixed, here are the operations that still require 'displaytext' as a mandatory parameter:

create disk offering
create service (system, compute) offering
create network offering
create vpcoffering
create project
create vpc
create template from volume
register/upload template
register/upload ISO

@rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5443

@vladimirpetrov the issue is very general in nature; in the #6855 issue, Daan has only mentioned for the create Network form. I think we can start with that and explore all the other forms/actions you've identified.
@rahulbcn27 can you review the outstanding remarks and;
* Update the PR subject to reflect what change you're doing

* Open a new issue to log requests from Vladi (to address them) or ask @DaanHoogland  to update [UI: make display elements optional #6855](https://github.com/apache/cloudstack/issues/6855) the list

* Add unit test or marvin test on your changes

@blueorangutan package

@rahulbcn27 @rohityadavcloud I'll update the issue, create network was only meant to be an example. I revise the text if needed.

@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with
@rahulbcn27 @rohityadavcloud I'll update the issue, create network was only meant to be an example. I revise the text if needed. SystemVM template(s). I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5447

Thanks @DaanHoogland for updating the PR subject line.

@DaanHoogland did we run smoketests on this?

oh, good point, we did but I don´t see results. i did run the unit test, but I'll restart teh smoke tests on the healcheck PR


Where is code for signomial equality paper?

where is the code for the UAV example in the signomial programming paper? I'm really struggling with an atmosphere model and would like to see the example. @mopg I'm guessing you would know this.

I'll add it to gpkit-models. Was actually trying to do this right now, but git is having some issues, I can't push to the branch. I'll post here once I figured it out.

@whoburg seems like I don't have push permission for gpkit-models? I created a new branch but it doesn't allow me to push it with git push -u origin equality. My username and everything is set up correctly.
In the mean time, I'll email you the scripts.

addressed by PR #83

it works, thanks!


Enable OSX ARM64

~It will take some time to the ipopt binaries to be available.~ Ipopt binaries for osx arm64 are now available.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

There is a Windows build timeout. Not sure if it is related to this change, let's open a different PR to check.

C

There is a Windows build timeout. Not sure if it is related to this change, let's open a different PR to check.

The windows problem is unrealted, see https://github.com/conda-forge/idyntree-feedstock/pull/27 . No reason to avoid merging the osx arm64 packages then.


Dis-allow f64::INF as valid a parameters for Gamma distribution

Relevant issues:
https://github.com/boxtown/statrs/issues/98
https://github.com/boxtown/statrs/issues/102
It does not necessarily make sense to allow INF as a valid value for Gamma distribution parameters as it just ends up leading to generate cases. We should instead return Err(StatsError::BadParams)

https://github.com/boxtown/statrs/pull/104


False Positive regex in math terms

Test Regex.. appearing on math terms
(ny1 + ny2) / 2 < (dny1 + dny2) / 2

Adding on that, I have a similar case:
.attr(
  'transform', 'translate(' + width / 2 + ',' + margin.bottom / 1.5 + ')'
)

The division between the string concatenation appears as a testable regex.

Same!
const myVector = new Vector2d(center.x - width / 2, center.y - height / 2);


Level 0 generation fails to generate past input audio

I thought maybe the first time I ran this it could've just been an error on my machine but it happened twice.
I tried to run my own primed audio with this software with the following options --model=5b_lyrics --name=sample_5b_prompted levels=3 --mode=primed --audio_file=myfullsong.wav --prompt_length_in_seconds=12 --sample_length_in_seconds 90 --total_sample_length_in_seconds=193 --sr=44100 --n_samples 1 --hop_fractions=0.5,0.5,0.125
When it reaches Sampling level 0, it seems to exit without any sampling actually happening. Both Level 2 and Level 1 have sampling but level0 does not and only generates the prompt length, nothing further.
I noticed that when running the default 20 second sample length, it would generate 30 seconds for both level 2 and level 1 but generate 19 for level0. Could this be related?

yeah, the same issue :(

my command is
python jukebox/sample.py --model=1b_lyrics --name=sample_5b --levels=3 --sample_length_in_seconds=180 --total_sample_length_in_seconds=180 --sr=44100 --n_samples=6 --hop_fraction=0.5,0.5,0.125
i've noticed that it works on a small length, but not for >120

Traceback (most recent call last):   File "jukebox/sample.py", line 270, in <module>     fire.Fire(run)   File "D:\Anaconda3\lib\site-packages\fire\core.py", line 127, in Fire     component_trace = _Fire(component, args, context, name)   File "D:\Anaconda3\lib\site-packages\fire\core.py", line 366, in _Fire     component, remaining_args)   File "D:\Anaconda3\lib\site-packages\fire\core.py", line 542, in _CallCallable     result = fn(*varargs, **kwargs)   File "jukebox/sample.py", line 267, in run     save_samples(model, device, hps, sample_hps)   File "jukebox/sample.py", line 235, in save_samples     ancestral_sample(labels, sampling_kwargs, priors, hps)   File "jukebox/sample.py", line 130, in ancestral_sample     zs = _sample(zs, labels, sampling_kwargs, priors, sample_levels, hps)   File "jukebox/sample.py", line 114, in _sample     x = prior.decode(zs[level:], start_level=level, bs_chunks=zs[level].shape[0])   File "D:\Developer\Python\audio\jukebox-master\jukebox\prior\prior.py", line 221, in decode     x_out = self.decoder(zs, start_level=start_level, end_level=end_level, bs_chunks=bs_chunks)   File "D:\Developer\Python\audio\jukebox-master\jukebox\vqvae\vqvae.py", line 118, in decode     x_out = self._decode(zs_i, start_level=start_level, end_level=end_level)   File "D:\Developer\Python\audio\jukebox-master\jukebox\vqvae\vqvae.py", line 109, in _decode     x_out = decoder(x_quantised, all_levels=False)   File "D:\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__     result = self.forward(*input, **kwargs)   File "D:\Developer\Python\audio\jukebox-master\jukebox\vqvae\encdec.py", line 124, in forward     x = level_block(x)   File "D:\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__     result = self.forward(*input, **kwargs)   File "D:\Developer\Python\audio\jukebox-master\jukebox\vqvae\encdec.py", line 46, in forward     return self.model(x)   File "D:\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__     result = self.forward(*input, **kwargs)   File "D:\Anaconda3\lib\site-packages\torch\nn\modules\container.py", line 100, in forward     input = module(input)   File "D:\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__     result = self.forward(*input, **kwargs)   File "D:\Anaconda3\lib\site-packages\torch\nn\modules\conv.py", line 202, in forward     self.padding, self.dilation, self.groups) RuntimeError: Calculated padded input size per channel: (2). Kernel size: (3). Kernel size can't be greater than actual input size

I figured this out! It's actually because in 'make_model.py'
"rescale = lambda z_shape: (*z_shape[0]hps.n_ctx//vqvae.z_shapes[hps.level][0],)"
z_shape[0]*hps.n_ctx is larger than int32 and become a negative number when the 'sample_length_in_seconds'  is over 54s
I changed line 53 from 'vqvae.py'
from "self.hop_lengths = np.cumprod(self.downsamples, dtype=np.int64)"
to "self.hop_lengths = np.cumprod(self.downsamples)"
This works for me!


Travis: cache more things

#76 didn't do the trick

Better. Travis now checks everything in 2:30 minutes instead of 4:20.


[AutoPR machinelearningservices/resource-manager] Adding usage id property to support usages by VM family, Workspace & Compute

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6055

Codecov Report

Merging #5396 into restapi_auto_machinelearningservices/resource-manager will not change coverage.
The diff coverage is n/a.

@@                                  Coverage Diff                                   @@
##           restapi_auto_machinelearningservices/resource-manager    #5396   +/-   ##
======================================================================================
  Coverage                                                  48.33%   48.33%
======================================================================================
  Files                                                       6556     6556
  Lines                                                     188603   188603
======================================================================================
  Hits                                                       91155    91155
  Misses                                                     97448    97448

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 779606f...2d128ca. Read the comment docs.

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5456


Important note in article on authentication method is not accurate

[Enter feedback here]

Users must have access to their default authentication method to complete the MFA requirement. They cannot choose an alternative method. Their default authentication method will be used even if it's been disabled in the tenant authentication methods and MFA policies.

It is not accurate to say "their default authentication method".   The NPS Extension does not support modern MFA methods -- it only supports Authenticator Accept/Deny or Phone call prompt.
Result -- if your "default authentication method" is Authenticator number matching, the NPS Extension will send you an authenticator Approve/Deny request -- which will not work.
This IMPORTANT note in the article needs to be phrased in such a way that people know only one-way MFA methods are supported.
Thank you.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a61a7e9a-44bf-7bdc-f810-87e2fd6792e1
Version Independent ID: 71d11105-b83e-952e-d107-1ff9a7c8d107
Content: Use Azure AD Multi-Factor Authentication with NPS - Microsoft Entra
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@jgriff500
Thanks for your feedback! We will investigate and update as appropriate.

@jgriff500 thanks for pointing this out. I'll replace that note with a link to the number matching topic which explains the experience for different versions of NPS. See https://learn.microsoft.com/en-us/azure/active-directory/authentication/how-to-mfa-number-match#nps-extension


input_dim has multiple values?

$ python trainMLP.py
loaded vgg features
loaded word2vec features...
Traceback (most recent call last):
File "trainMLP.py", line 114, in
main()
File "trainMLP.py", line 62, in main
model.add(Dense(args.num_hidden_units, input_dim=img_dim+word_vec_dim, init='uniform'))
TypeError: init() got multiple values for keyword argument 'input_dim'
Not able to understand this. Seems fine to me. This is the way I'd do it. Insights?

You got this error without making any changes to the script?

Yes. No changes at all

I'm unable to get this to reproduce this error on my side. Are you using the same versions of Keras/Theano as I have highlighted in my README?
Try this simple Keras example:
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation
from keras.optimizers import SGD

model = Sequential()
# Dense(64) is a fully-connected layer with 64 hidden units.
# in the first layer, you must specify the expected input data shape:
# here, 20-dimensional vectors.
model.add(Dense(64, input_dim=20, init='uniform'))
model.add(Activation('tanh'))
model.add(Dropout(0.5))
model.add(Dense(64, init='uniform'))
model.add(Activation('tanh'))
model.add(Dropout(0.5))
model.add(Dense(2, init='uniform'))
model.add(Activation('softmax'))

sgd = SGD(lr=0.1, decay=1e-6, momentum=0.9, nesterov=True)
model.compile(loss='mean_squared_error', optimizer=sgd)

This is straight from the Keras README.

Yeah. This does not run. That's odd. I have used keras before... Let me check

Yeah. It was a Keras problem. Someone had opened the same issue on Keras repo. Fixed now.


disabled option support

Again, great plugin. Thank you. it would be nice if you could add support for selected  but "disabled" options. For example, a list contains names of people in a sales team and manager's name is "disabled" so it cannot be moved e.g.
<option value="manager" selected disabled>Manager</option>

I have made some changes in your minimized code to support this feature , so perhaps you can make use of it if you want to make it an "official" feature.
b.find("option").each(function(){
  var b=a(this),c=b.prop("value"),d=b.text(),f=b.is(":selected"),g=b.is(":disabled");
  e.push({value:c,label:d,selected:f,disabled:g, element:b})
}),

and
if(c.selected){
  e.addClass("selected");
  if(c.disabled){ e.removeClass("selected").addClass("disabled"); }
  var f=e.clone();
  f.click(function(){
    if(!c.disabled) { c.element.prop("selected",!1), b.change()
  }
}),

I guess, a similar thing should be done for a keyboard events handler.
Also in css i defined disabled class as:
.multi-wrapper .item.disabled {
    color:#ccc;
}

This is just a quick fix - it can be done much better :-)

This should definitely be part of multi.js, hadn't even thought of it!
Will implement this soon. Thanks for bringing it up. :)

Hello again!
I just pushed e57b5065691fe1de14fcc918145cedfae0ca3165 which adds support for disabled options. The disabled options are by default displayed with a strikethrough but that can easily be overrriden with some CSS.
Thank you for your suggestion. :)


Fixed links and removed stray pages

@bowdenk7,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


R21C: Additional change related to python3 stuff

All seems to work for AOD analysis  on Milan (wrt python 3 updates).
These are not guarantee to be zero diff though I have seen cases in which the changes are zero diff.

Need final official tag on MAPL to be able to turn this from draft to actual PR.

@mathomp4 do you please to tag MAPL from
release/2.35.3+R21C_v1.4.0 to
v2.35.3+R21C_v1.4.0
?

@mathomp4 do you please to tag MAPL from
release/2.35.3+R21C_v1.4.0 to
v2.35.3+R21C_v1.4.0
?

@rtodling It should be there now:
https://github.com/GEOS-ESM/MAPL/releases/tag/v2.35.3%2BR21C_v1.4.0

Thank you!

@mathomp4 All seems to have completed here, but still not letting me finish the PR. Can you please have a look? Sorry.

Perhaps it  needs a reviewer ... if you could pls.

Thank you!

Perhaps it needs a reviewer ... if you could pls.

Yeah. I guess an update staled my review.


feat(update): Tell users when they are still behind

What does this PR try to resolve?
Part of this is an offshoot of #12425 which is about pulling  some of cargo upgrades behavior into cargo update.  One of the "'Potential related cargo update improvements" is informing the user when they are behind.
Part of this is to help close the gap of users being behind on their dependencies unaware.  This is commonly raised when discussing an MSRV-aware resolver (see rust-lang/rfcs#3537) but breaking changes are just as big of a deal so I'm starting this now.
See also #7167, #4309
Compared to cargo upgrade / cargo outdated, I'm taking a fairly conservative approach and tweaking the existing output as a starting point / MVP.  We can experiment with a richer or easier-to-consume way of expressing this over time.
I view us telling people they aren't on the latest as a warning, so I made that text yellow.
clap $ cargo update --dry-run

clap $ cargo update --dry-run --verbose

How should we test and review this PR?
This sets up the minimal implementation and slowly adds bits at a time, with a test first that demonstrates it.
Additional information
I'm expecting that the cargo upgrade integration will extend the notes to say something like "X dependencies may be updated with --breaking"

CC @djc since we had conversations about related to this for cargo upgrade in killercup/cargo-edit#812

I would personally appreciate showing unchanged behind dependencies even without -v but that might be too big a step?

I think it is.  People might not want to play dependency whack-a-mole with transitive dependencies and so overwhelming them with all of the unchanged-but-behind dependencies, especially in a large workspace, would be frustrating especially as it might hide the changes the user cares about.
Or put another way, the primary purpose of the command is updating and the majority of the output should be devoted to that and not with "help".

I would personally appreciate showing unchanged behind dependencies even without -v but that might be too big a step?

I think it is. People might not want to play dependency whack-a-mole with transitive dependencies and so overwhelming them with all of the unchanged-but-behind dependencies, especially in a large workspace, would be frustrating especially as it might hide the changes the user cares about.

How about only showing them for direct dependencies, that is, dependency edges that originate in the current workspace?

In a large workspace, there can still be a lot of direct dependencies.

Thanks!
@bors r+

:pushpin: Commit 93e369a2ae99b28e18c6c7542dd2c51f96fcf015 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 93e369a2ae99b28e18c6c7542dd2c51f96fcf015 with merge b0df26562d84f2f8dca862a0de16f6f719e32ac0...


HTTP client actions sometimes return null errors

Description:
HTTP client actions sometimes return null errors. I have noticed this mainly with the respond action.
ep -> respond(res) is always returning null when there is no error. The signature of respond should be http:HttpConnectorError|null

https://github.com/ballerina-lang/ballerina/pull/5989 address the issue, Hence closing the issue


Remove dependency on an specific PSR-7 package

Right now this package depends on guzzlehttp\psr7 which contradicts the point of PSR-7. It should be possible to use any PSR-7 package that provides a response class compatible with ResponseInterface, such as zendframework/zend-diactoros.
This would necessitate a functionality change in the PsrResponseCommand to pass in a ResponseInterface and use the immutable methods to define a modified response.

Thanks for your suggestion. I will keep this in mind for the next version.

Right now this package depends on guzzlehttp\psr7 which contradicts the point of PSR-7.
PSR-7 implementation was added to support simplified response generation, i'm not seeing any reason why using specific package are the problem since response compatible with any existed PSR7 library, guzzle was used only due it's fairly small and well tested.

Obviously, your point has sence, method can accept incoming request to perform immutable manipulations, hovewer this seems to be much ligther solution and command can support both ways without any violations (i can't see many scenarious when binary image data has to be written to existed response, to preserve headers only?).

Hovewer, you right. Someone might not want to include guzzle/psr7, in this case package can be moved to recommended list and simplified fallback code can be applied only it was connected.

The difference is deceptively small. Consider the following calling code:
$response = $image->getResponse(new Response);
// vs
$response = $image->getResponse();

The former supports dependency injection and allows using any PSR-7 compatible response. For example, the framework I am using might already depend on a PSR-7 implementation which I can reuse to send image responses. The latter assumes a specific implementation of HTTP responses. It makes more sense to reuse whatever existing PSR-7-compatible package I already have installed than to install another one that implements the same interface.
PSR-7 was created precisely because this kind of situation. Now that the PSR exists, we can simply depend on the interfaces and not worry about the implementation.

I think you're right. Depending on a specific PSR-7 package is questionable. I will change this.

That's exacly what i wrote in my last comment, i completelly agree with you on this point.

But, just for educational purposes i would like to confirm for myself:

The former supports dependency injection and allows using any PSR-7 compatible response.

I assume the point of PSR7 not only to create set of communication interfaces but also provide specific requiments for implementations, meaning guzze response will behave excacly the same as phly/zend one - the only difference is in constructor which is hidden for user in case of fallback code.
The only point is about adding one more dependency for simplification, which again, i agree can be unnesessary in some cases. Theoretically, Intervention/image can implement it's own PS7 compatible response and use it as fallback untill it follows PSR7 standard.

PSR7 is not only to create set of communication interfaces but also provide specific requiments for implementations

That is exactly what the interfaces do.

adding one more dependency for simplification

It's only a matter of explicit vs implicit dependency. If you depend on a concrete implementation of PSR-7 such as guzzle/psr7 you are already implicitly depending on psr/http-message. By depending only on psr/http-message you actually remove and dependency.

Got the point, thx.

a simple fix might be to move guzzlehttp/psr7 to the "suggest" block in composer.json?


[Frontend] Support embeddings in the run_batch API

Currently run_batch which is the offline batching API only supports chat completion. This PR adds embedding supports to run_batch. The PR also adds support for empty lines (or lines with only whitespace) in the input file of run_batch.

Looks great, do you mind adding a simple example to examples/offline_inference_openai.md?

Thanks @wuisawesome
I updated the md file.
I wrote that vllm >= 0.5.5 is required as that's the next version that will be released. Is that okay?

I wrote that vllm >= 0.5.5 is required as that's the next version that will be released. Is that okay?

Yep!


Where is the API documentation?

I'm looking for the API docs and when I follow the API link on the home page (https://www.scanamo.org), it 404s.
https://www.scanamo.org/latest/api
The Github pages link on that page is for the default Gitlab pages info page.
https://docs.github.com/en/pages

I confirm that the microsite has an API menu pointing to 404 page. Can someone please point us to the actual API docs page?


Add Image Tests to nightly pipelines

This is executed from osbuild's CI triggers but doesn't run against nightly trees so adding it here.
Note: The issue reference in the comment may be related to this test failing on 9.0. It's been disabled inside the osbuild repository.

8.6 pipeline -> https://gitlab.com/osbuild/ci/osbuild-composer/-/pipelines/453180213
9.0 pipeline -> https://gitlab.com/osbuild/ci/osbuild-composer/-/pipelines/453181435


Consolidate sampler tests

Coverage decreased (-6.2%) to 91.505% when pulling ae0c3735144dbf9f3c1a07e28183c45106c83dbd on consolidate-sampler-tests into 76937b1c49e2da8843fc08e4f8ad3a50234f89d2 on master.

Coverage decreased (-6.2%) to 91.505% when pulling ae0c3735144dbf9f3c1a07e28183c45106c83dbd on consolidate-sampler-tests into 76937b1c49e2da8843fc08e4f8ad3a50234f89d2 on master.

Coverage increased (+0.002%) to 97.742% when pulling 1466b9cbc01b1a2a9d8ec081d13e6900cc391881 on consolidate-sampler-tests into 76937b1c49e2da8843fc08e4f8ad3a50234f89d2 on master.


Exception handling of transactions

I cannot seem to be able to get the acutal cause of an exception with client/with-transaction. For instance if I have a constraint in the graph preventing me from finishing the transaction, then it only returns "Can't commit, transaction has been rolled back". Expected behaviour would be that the exception also includes "Node already exists..." as a cause of the exception.

Thanks, we'll look into it.