Links are broken and typo

Both links to ConnectionInformation are broken
Type column of ConnectionType has an extra ']' character that should not be there

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

ID: 8d3bc494-b959-0db8-1b75-72ac824bcd22
Version Independent ID: 3617e4a4-a3d7-9948-0b27-d89012136af7
Content: NetworkHelper - Windows Community Toolkit
Content Source: docs/helpers/NetworkHelper.md
Product: community-toolkit
GitHub Login: @nmetulev
Microsoft Alias: nikolame

Thanks @wldevries, I'm fixing this quick, though we'll be updating some other docs, so you might not see it on the site for a few days still.


Added global-tunnel-ng to allow usage behind a proxy

Purpose of this pull request?
Enhancement
What changes did you make?
Included global-tunnel-ng that overrides Node's  Agent with an Agent capable of tunneling through a proxy. Because global-tunnel is initialized with no parameters, the Agent will be overwritten only if a proxy is configured in the widely used environment variables http_proxy and https_proxy, so this should have no effect for users who are not explicitly using a proxy.
The most common use case is to set these variables at a .bashrc or .zshrc file, to have them on every shell session
export http_proxy="http://www.proxy.com"

Implementing this in yo was suggested in a PR for generator-node
Is there anything you'd like reviewers to focus on?
Everyone who had problems running a generator while using a proxy could try again and share the results. Only generators that use http or https either directly or in a dependency should be considered.
Clone this version of yo and link it globally
git clone https://github.com/MarcoScabbiolo/yo.git
cd yo
npm link --local

Then run your generators and share your results in this PR.
You can unlink the module after you're done by going back to the directory where you just cloned the repo and running
npm unlink

Generators tested behind a proxy

[x] node

Hi,
Would this change be what's preventing me installing yo?
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for<EMAIL_ADDRESS>wanted: {"node":"0.10.x"} (current: {"node":"8.11.1","npm":"5.6.0"})
npm ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Required: {"node":"0.10.x"}
npm ERR! notsup Actual:   {"npm":"5.6.0","node":"8.11.1"}```

@MarcoScabbiolo I think there's a problem in the package engine configuration no?

Yes, PR is ready.


Remove duplication in deployment instructions

This PR will be rebased after #891 is merged.
After #888 I noticed there was significant duplication in a couple of deployer-related pages. This PR removes that duplication without detracting from the user flow. For example, in the guide for deploying an Airnode, the example commands are still present, while the deployer docker image page now has a reference to that section rather than all of those commands duplicated. Similarly, the docker image page is now the sole source of information on removing an airnode, rather than have those commands also be present in the deployment guide.
In doing so, this also addresses this comment by @kolenic-martin .

Thanks, @dcroote, this LGTM.


Simplifies Logging Samples and adds PSR logging example

The tests are failing because of https://github.com/GoogleCloudPlatform/google-cloud-php/pull/684


Update KinectMocap4Blender to work in version 2.93 of blender

after updating blender the .py file no longer functions as it errors out with unable to find .dll files to load

Same issue. I'm willing to commission this, since it is part of my work.

I'm also hitting this

Same issue. I'm willing to commission this, since it is part of my work.

Did you manage to do anything with this error, I get the same issue even if I go back to an older version of blender (2.83 to be exact)

Same issue.
Anyone made it work?
@moraell, au secours :)

I think it is safe to say this project has died. We must now find an alternative for motion capture.

Well, guess I have no choice but to roll my own :p
On June 19, 2022, at 12:55 AM, Wilbur Jaywright @.***> wrote:
I think it is safe to say this project has died. We must now find an alternative for motion capture.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.￼Message ID: @.***>
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/moraell/KinectMocap4Blender/issues/26#issuecomment-1159617118", "url": "https://github.com/moraell/KinectMocap4Blender/issues/26#issuecomment-1159617118", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Yes, please, go for it :) @GingerIndustries

This fix worked for me -- you just need to copy the .pyd to the right place.

Do the install as normal.

Click the Activate checkbox and the error will tell you what directory is being searched for the .pyd. For me, it was:
C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons

Open this directory in Windows Explorer and you should see the main plugin (kinect_mocap.py). Copy the .pyd to that directory (kinectMocap4Blender.pyd)

Click the Activate checkbox and it will check this time

I tried this on both 2.82 and 2.91 and it works. Note that the KinectMocap4Blender addon panel only shows when you're in Pose mode in Blender.

Umm, we are at 3.2 now.

I tried this on both 2.82 and 2.91 and it works. Note that the KinectMocap4Blender addon panel only shows when you're in Pose mode in Blender.

The issue started in 2.93 as stated in the title, so this is not relevant/not the same issue.

Interesting. You are correct -- this is a 2.93 version problem. Turns out the folks at Blender upgraded the version of Python from 3.7 to 3.9 in that version. I did a dump of the .pyd dependencies and it looks like this:
File Type: DLL
Image has the following dependencies:
**python37.dll**
Kinect20.dll
MSVCP140.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
KERNEL32.dll
api-ms-win-crt-math-l1-1-0.dll

Note the "python3.7" dependency in the DLL. I'm haven't been a Visual Studio guy for a number of years, but I'll look into compiling with a 3.9 dependency. Meanwhile, you can do a workaround of  running Blender 2.91 portable version, do your motion capture there, save the .blend file, and then use it with the new version of Blender.
This is such a great addon, it seems worth the extra trouble until we get a new compile.

I had a suspicion it might be a compilation issue. I'm going to recompile it ASAP and if it works I'll put it here.
On June 28, 2022, at 2:21 PM, Dan Rahmel @.***> wrote:
Interesting. You are correct -- this is a 2.93 version problem. Turns out the folks at Blender upgraded the version of Python from 3.7 to 3.9 in that version. I did a dump of the .pyd dependencies and it looks like this:
File Type: DLL
Image has the following dependencies:
python37.dll Kinect20.dll MSVCP140.dll VCRUNTIME140.dll api-ms-win-crt-heap-l1-1-0.dll api-ms-win-crt-runtime-l1-1-0.dll KERNEL32.dll api-ms-win-crt-math-l1-1-0.dll
Note the "python3.7" dependency in the DLL. I'm haven't been a Visual Studio guy for a number of years, but I'll look into compiling with a 3.9 dependency. Meanwhile, you can do a workaround of running Blender 2.91 portable version, do your motion capture there, save the .blend file, and then use it with the new version of Blender.
This is such a great addon, it seems worth the extra trouble until we get a new compile.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.￼Message ID: @.***>
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/moraell/KinectMocap4Blender/issues/26#issuecomment-1169070547", "url": "https://github.com/moraell/KinectMocap4Blender/issues/26#issuecomment-1169070547", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Great! Is there a more generic Python DLL that can be used in case they upgrade Python again?
Also, although I think the Python version is the problem, it might be a change to Python itself.  When I was looking for the solution last night, I thought it might be the issue specified in this SO (https://stackoverflow.com/questions/20201868/importerror-dll-load-failed-the-specified-module-could-not-be-found):
"Since Python 3.8, it is possible that Dependencies or dumpbin /dependents reports no dependency issue, but one still gets the error "The specified module could not be found". This is because the PATH variable is no longer used for resolving DLLs of binary modules!"
I tried using the "os.add_dll_directory(r"C:\path\to\your\dll\directory")" and it didn't seem to fix the problem, so I figured it was the Python version change.

@drahmel have you tried affecting "sys.path" in some way like here? https://github.com/PierceLBrooks/Buildster/blob/pip/buildster/main.py#L13

@PierceLBrooks No. I think the problem is that I don't know WHICH dll it isn't finding -- that's not in the error. I installed the Visual Studio Community edition and I'm going to try to compile it with that. I'm hoping that will show me the locations. Once I know, I will retry the add_dll_ method and I'll also try the one your suggested. Thanks!

Interesting.

Did this ever get solved? I just remembered about it :p

I'm trying to make it work right now but I'm having this issue in all the 2.8X versions I have tried.
After reviewing the files, it looks like the file kinectMocap4Blender.pyd is not in the .zip uploaded here. Could that be the issue?

I've asked some friends for help

I've asked some friends for help

I'm subscribed so I'll be notified when you comment anything! Hope they can help :)


Incomplete information

Hi @colaboratory-team,
thanks very much for setting up this repository! Personally, I plan to use it within my FEM on Colab project.
In order for the two files reported here to be useful (e.g. inside docker images) I feel like the following information must be added:

[ ] which version of ubuntu is currently being used? This would warn downstream developers of breaking changes like https://github.com/googlecolab/colabtools/issues/1880
[ ] which PPAs are needed to install packages in apt-list.txt? For instance, I know from personal experience that python3.7 packages come from the deadsnakes PPA, but I can't see that information anywhere in that file, and thus if I wasn't aware of that I would not be able to re-install the packages locally.
[ ] which environment variables are exported on an actual runtime instance. For example, I know that the fact that a Colab runtime instance exports LD_PRELOAD critically affects my project.

Thanks!

Could I ask you to file this on the colabtools repo? (We don't monitor bugs here.)


Add out.reddit.com

Domain
out.reddit.com
Link
https://out.reddit.com/t3_qrrg2s?url=https%3A%2F%2Ftwitter.com%2Fpipipoko_%2Fstatus%2F1458801910945751040&token=AQAAAteNYYzuOVBwFbJ1q1SBlbyQfsHQtffCx5uuHAwAvjk-C1Jd&app_name=android
Version
Version 0.1873 · Bypass definitions 1da582a
What browsers are you seeing the problem on?
Firefox
What OS are you seeing the problem on?
Linux
(Optional) Anything else?
Reddit's mobile app have started to add a redirector to track outgoing links. I'm not exactly sure how FastForward works, but here's my solution using the template in the extension's settings.
// https://out.reddit.com/t3_qrrg2s?url=https%3A%2F%2Ftwitter.com%2Fpipipoko_%2Fstatus%2F1458801910945751040&token=AQAAAteNYYzuOVBwFbJ1q1SBlbyQfsHQtffCx5uuHAwAvjk-C1Jd&app_name=android
domainBypass("out.reddit.com", () => {
    location.href = new URL(location.href).searchParams.get("url")
})

Code of Conduct

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

im not sure but i think that it works exactly the same, we bypass wait times and click requirements, none of those relate to the reddit out link which would potentially just makes it slower

Is it possible to benchmark it?
Reddit's servers are very unstable and slow, sometimes it takes multiple seconds to get a first response out of reddit.com. I would be very surprised if something can make it slower...

*Sigh*

Is it possible to benchmark it?
Reddit's servers are very unstable and slow, sometimes it takes multiple seconds to get a first response out of reddit.com. I would be very surprised if something can make it slower...

this can be a tracker bypass

Oof, it's been a while.
Since the code is already provided, can we get it added somehow?

@NotAProton Can this be a trakcer bypass?

Yep


Resolve joints in nested models

🦟 Bug fix
Fixes gz-sim: #1844
Summary
The details of the bug and how to reproduce it are documented in gz-sim: #1844.
In brief: joints in nested models were not being found correctly by the function EntityManagementFeatures::GetJoint which resulted in the Physics system plugin in gz-sim not reporting the joint position and not begin able to actuate the joint.
The change handles the three cases:

A joint between two links in a nested model.
A joint between a link in a top level model and link in a nested model.
A joint between two links in separate nested models.

There is also an issue where DART renames joints in nested models that have duplicate unscoped names. DART expects all names for a given skeleton (= gazebo model) to be unique. It is not practical to expect all Gazebo models to use different names, so we elected to register the joints for nested models using their top-level model scoped names. It may be worth doing this for links and collisions to avoid warnings such as:
Msg [NameManager::issueNewName] (Skeleton::BodyNode | model2) The name [base_link] is a duplicate, so it has been renamed to [base_link(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | model2) The name [base_link:collision] is a duplicate, so it has been renamed to [base_link:collision(1)]
Msg [NameManager::issueNewName] (Skeleton::BodyNode | model2) The name [rotor_link] is a duplicate, so it has been renamed to [rotor_link(1)]
Msg [NameManager::issueNewName] (Skeleton::N4dart8dynamics9ShapeNodeE | model2) The name [rotor_link:collision] is a duplicate, so it has been renamed to [rotor_link:collision(1)]

but this would be for a separate PR.
An updated version of the test world is attached: test_nested_model.sdf.zip. Note: the tests were carried out using a modified version of the JointPositionController that handles nested models by searching for joints with scoped names. This modification will be submitted in gz-sim as a separate PR.
The joints are moved from the command line using:
# model1 works without this fix
#-----------------------------

# move the rotor in model1
gz topic -t "/model1/cmd_rotor" -m gz.msgs.Double -p "data: 1"

# model2 illustrates case 1
#-----------------------------

# move the rotor in model2
gz topic -t "/model2/cmd_rotor" -m gz.msgs.Double -p "data: 1"

# move the rotor in nested model21
gz topic -t "/model21/cmd_rotor" -m gz.msgs.Double -p "data: 1"

# model3 illustrates case 2
#-----------------------------

# move the rotor in model3
gz topic -t "/model3/cmd_rotor" -m gz.msgs.Double -p "data: 1"

# move the rotor in nested model31
gz topic -t "/model31/cmd_rotor" -m gz.msgs.Double -p "data: 1"

# move the rotor in nested model32
gz topic -t "/model32/cmd_rotor" -m gz.msgs.Double -p "data: 1"

# model4 illustrates case 3
#-----------------------------

# move the rotor in nested model41
gz topic -t "/model41/cmd_rotor" -m gz.msgs.Double -p "data: 1"

# move the rotor in nested model42
gz topic -t "/model42/cmd_rotor" -m gz.msgs.Double -p "data: 1"

Figure: test_nested_model.sdf showing all joints repositioned using the joint position controller plugin.

Testing
There is one test failure in SDFFeatures_TEST (around L563). The naming behaviour of joints has changed. Retrieving a nested joint from the parent model will be ambiguous if the model contains two or more nested models with duplicate names. The new behaviour is to provide the scoped name if accessing from the parent, or the unscoped (or scoped) name if accessing from the nested model.
  /// \todo(srmainwaring) this behaviour changes - must be scoped, or
  /// query the nested model for the unscoped name
  // auto nestedJoint = parentModel->GetJoint("nested_joint");
  // EXPECT_NE(nullptr, nestedJoint);
  {
    auto nestedJoint = parentModel->GetJoint(
          "parent_model::nested_model::nested_joint");
    EXPECT_NE(nullptr, nestedJoint);
  }
  {
    auto nestedJoint = nestedModel->GetJoint("nested_joint");
    EXPECT_NE(nullptr, nestedJoint);
  }

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

What do you think about storing a list of joints inside ModelInfo the same way we store links and nestedModels?

Sure - that'd work and be consistent with the link handling. However with the links we still get a DART warning about renaming links when the nested model links are joined to the container model skeleton if there are any duplicated links (which is likely as most models will have a base_link). It's not clear when you see this message whether it is something to worry about, and whether it affects the way you should refer to links / joints in plugins.
IIRC the link code uses a world scoped full name for the links. If the same approach is used for nested joints, what is the convention for referring to these joints from plugins? It might be useful to have a document describing the various use cases for referring to joint and link names in plugins for flat and nested models and the Gazebo teams recommendation of best practice. I expect that needs to be something that works for other physics engines as well and is not just driven by DART's particular treatment.

It's not clear when you see this message whether it is something to worry about, and whether it affects the way you should refer to links / joints in plugins.

As you can see in LinkInfo, we store the original name of the link so that name changes by DART do not affect the way GetLink works.
https://github.com/gazebosim/gz-physics/blob/2a93515f7995a8a060d62acd93c88294e4cae65f/dartsim/src/Base.hh#L62-L64
We could do the same for joints. Also, I think you're right in that we should use fully qualified names when adding entities to DART to avoid this name collision. However, we don't want this to leak into the user API of gz-physics. Ideally, we'd store the original local (unscoped) names of links and joints and allow GetLink and GetJoint to work with those names.

IIRC the link code uses a world scoped full name for the links.

It only uses the full names for other book keeping tasks. For GetLink, the user would still use the local/unscoped name
https://github.com/gazebosim/gz-physics/blob/2a93515f7995a8a060d62acd93c88294e4cae65f/dartsim/src/EntityManagementFeatures.cc#L381
We currently don't support accessing links of a nested model from the grand parent model. The issue addressed by keeping links in ModelInfo is the failure to find the body in the original skeleton because it has been moved due to a joint. I thought that's what we were trying to resolve for joints in this PR. I'd rather punt on accessing nested elements from grand parent models using scoped names. I think it's better to use entitiesFromScopedName in gz-sim for now.

@azeey all makes sense. The PR for the JointPositionController https://github.com/gazebosim/gz-sim/pull/1851 uses entitiesFromScopedName to resolve scoped names. There might need to be a little tweak given the changes suggested here, but I think for the most part it will work.
I'll start drafting your suggested changes in this PR following the approach for links.

What do you think about storing a list of joints inside ModelInfo the same way we store links and nestedModels?

@azeey I've reworked the PR to use a similar approach to that used for links. The example provided above works.
I've promoted a method GetModelOfLinkImpl to dartsim::Base as it's required in JointFeatures which does not subclass from EntityManagementFeatures. There is some further consolidation that can be done in JointFeatures to reduce duplicated code, but would appreciate your feedback that this is on the right track before further refinements.

Hi @azeey - I think this PR now includes all the changes you requested and has been tidied up. Is there anything else you'd like completed to get this merged?


[BUG]-console command responses should use CrestronConsole.ConsoleCommandResponse

Was this bug identified in a specific build version?
main branch
Describe the bug
Some console commands in essentials are using debug.console instead of CrestronConsole.ConsoleCommandResponse. PepperDash UDM requires that the commands return a prompt after the response for parsing. The debug print does not return a prompt causing issues when UDM polls Essentials user commands.
Currently ReportVersions is the request for UDM, but all console commands in help -user should be updated to use CrestronConsole.ConsoleCommandResponse.
To Reproduce
see below example of report versions which prints to console but does not return a prompt.
 Note the prompt returned after the command.
RMC3>portalinfo
This system can be found at the following URLs:
System URL:   https://portal-demo.cloud.pepperdash.com/systems
Template URL: https://portal-demo.cloud.pepperdash.com/templates
RMC3>

I'll take care of this after PR #1067 gets merged in.  This is easy to do, but not exceptionally quick, as we have to go looking through the entire solution for console commands.
This should also be documented as the "proper" way to do it in plugins as well, so we can stop this behavior in other places outside of main essentials.

PR #1068 deals with this issue.


Plan for google login:

Baby steps... baby steps....
Google login:

[x] Read firebase documentation
[x] Create google application

In firebase:

[x] Input google client id
[x] Secret

Create/ update/ restart PoLoginController:

[x] Controller created
[x] Check for syntax errors
[x] Type in the correct app domain!!!

On Login...

[ ] Redirect or

[ ] Popup

[x] Working login!

[x] Working logout!

FIXME:

User is directed to dashboard immediately after clicking on login button.
On mobile:

User logs in and is directed to main.html instead of dashboard.


Missing chemical edges?

In the pre-normalization graph on robokopdev, we have match (a:chemical_substance {id:"CHEBI:23115"})--(b) return count(*) returning 149, but only 92 in the new graph.
3:27
About 10 of the difference is because the new graph has no CTD edges from this node.  (In the old graph there are 10)
3:27
In the CTD instance in automat there are 3
3:28
The others are due to a difference in what is coming from ubergraph - not clear whether that's real or not

I was able to track down the source if the issue for the missing CTD edges, From the logs for CTD build
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='nodenormalization-sri.renci.org', port=443): Max retries exceeded with url: /get_normalized_nodes?curie=MESH:D014222 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f54c9ba76d0>: Failed to establish a new connection: [Errno 99] Cannot assign requested address')) process_op: Error invoking>   -- ctd.disease_to_chemical(MONDO:0001147)
This error links to having too many open connections from requests.get function call so using requests.session will ensure that connections would be reused and would solve the problem of making new connections in heavy load.
This call was happening through (TypeCheck)[https://github.com/TranslatorIIPrototypes/robo-commons/blob/2d998a7c1d2063006346f1b2aebf7e1c3d206d05/greent/services/typecheck.py#L9] Service, that export_graph.py was making call to.
Resolution:

Using (requests.session)[https://github.com/TranslatorIIPrototypes/robo-commons/commit/610b9ed617b6bf6d520dfae738f783e6c0d28463]
(Remove Export_graph logic )[https://github.com/TranslatorIIPrototypes/robo-commons/commit/ae4054dcf72aba92b12738dadadbd78f58927628]

Making sure uberongraph had the same issue


cannot find type {RArray,RString} in this scope

Packaging rb-sys for Debian has shown me this specific error in multiple test cases.
cargo test --all-targets --features bindgen-impl-debug,link-ruby (with or without link-ruby) can reproduce this.
Not sharing the whole stacktrace as that is huge, but I'll add the relevant errors.
elp: consider importing one of these items
  |
1 | # [doc = r" Contains all items that are not yet categorized by ABI stability."] # [doc = r" These items are candidates for promotion to `stable` or `unstable`"] # [doc = r" in the future."] pub mod uncategorized { use crate::RString;
  |                                                                                +++++++++++++++++++
1 | # [doc = r" Contains all items that are not yet categorized by ABI stability."] # [doc = r" These items are candidates for promotion to `stable` or `unstable`"] # [doc = r" in the future."] pub mod uncategorized { use crate::internal::RString;
  |                                                                                +++++++++++++++++++++++++++++
1 | # [doc = r" Contains all items that are not yet categorized by ABI stability."] # [doc = r" These items are candidates for promotion to `stable` or `unstable`"] # [doc = r" in the future."] pub mod uncategorized { use crate::stable::RString;
  |                                                                                +++++++++++++++++++++++++++

error[E0412]: cannot find type `RArray` in this scope
 --> /home/weepingclown/debian/rust/debcargo-conf/build/rb-sys/target/debug/build/rb-sys-83031d16783079ea/out/bindings-0.9.94-x86_64-linux-gnu-3.1.2.rs:1:86178
  |
1 | ... :: Result { write ! (f , "RArray__bindgen_ty_1 {{ union }}") } } impl :: std :: fmt :: Debug for RArray { fn fmt (& self , f : & mut :: std :: fmt :: Formatter < '_ >) -> :: std :: fmt :: Result { write ! (f , "RArray {{ basic...
  |                                                                                ^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
1 | # [doc = r" Contains all items that are not yet categorized by ABI stability."] # [doc = r" These items are candidates for promotion to `stable` or `unstable`"] # [doc = r" in the future."] pub mod uncategorized { use crate::RArray;
  |                                                                                ++++++++++++++++++
1 | # [doc = r" Contains all items that are not yet categorized by ABI stability."] # [doc = r" These items are candidates for promotion to `stable` or `unstable`"] # [doc = r" in the future."] pub mod uncategorized { use crate::internal::RArray;
  |                                                                                ++++++++++++++++++++++++++++
1 | # [doc = r" Contains all items that are not yet categorized by ABI stability."] # [doc = r" These items are candidates for promotion to `stable` or `unstable`"] # [doc = r" in the future."] pub mod uncategorized { use crate::stable::RArray;
  |                                                                                ++++++++++++++++++++++++++

For more information about this error, try `rustc --explain E0412`.
error: could not compile `rb-sys` due to 2 previous errors

Thanks for the report. I am able to recreate this issue on my machine. Looks to be an issue with bindgen-impl-debug, will fix

Released fix in https://github.com/oxidize-rb/rb-sys/releases/tag/v0.9.96


Wrong F1 keyword

Learn Build status updates of commit 5c8a423:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/system-dynamic-management-views/sys-dm-os-job-object-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@rwestMSFT
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Update README.md

removed demo server
typo fix
removed setenforce 0

Current coverage is 38.46% (diff: 100%)

No coverage report found for master at 9165e52.

Powered by Codecov. Last update 9165e52...bba200e

LGTM


Update Insolation to v0.6.0

Purpose
This PR updates Insolation.jl to use the latest version v0.6.0.
This will supersede #207
Content
Solution implemented:

Updated the compat entries in the Project.toml files
Updated the experiments Manifest.toml file as well

[x] I have read and checked the items on the review checklist.

Looks fine! we should update the docs Project.toml as well.

Yes, I just did and force-pushed. Thank you!

bors r+


Update CloneVisitor w.r.t. nullability

The nullability attribute should be preserved when cloning the DartTypes.

Types are substituted during cloning and substitution is now preserving nullabilities.


Cannot use entries as a param

I have a resource with one of its accepting params named as entries:
action :search do
        routing { get '' }
        params do
          attribute :company_id, String, required: true
          attribute :key, String
          attribute :entries, String
        end
        response :ok
        response :not_found
        response :bad_request
end

When I remove entries params and send GET request on search then everything works fine. However when I include entries and send a GET request on search without providing entries in the url it gives me 400 BAD request. Following is the response validation error :
errors: [,…]
0: "Attribute $.params.entries received value: [[:company_id, "1"], [:key, "sqd"]] is of the wrong type (got: Array, expected: Attributor::String)"
name: "ValidationError"

I think this might be because passed params are itself stored as entries and this may cause confusion between the actual passed entries params and the one used internally.
Other Info:
Browser : Chrome Version 42.0.2311.152 (64-bit), Mozilla Firefox 38.0
OS: Ubuntu 15.04
Ruby: 2.2.1
Praxis: master branch

yes, this is yet another of the existing ruby methods that interferes with attribute names. In this case, entries comes from the Enumerable module of the underlying Attributor::Model class, which backs the struct of parameters.
See https://github.com/rightscale/attributor/issues/99 for an issue open on these things. Unfortunately, it is not easy to change in attributor, so it is not clear when this will be addressed.

This is a duplicate of rightscale/attributor#71, as that's really how we should end up fixing this.


Enable GitHub App authentication

Adding an environment variable GITHUB_APP_PRIVATE_KEY to enable authentication as a GitHub app which have higher API limits.
<EMAIL_ADDRESS>GitHub Apps making server-to-server requests use the installation's minimum rate limit of 5,000 requests per hour. If an application is installed on an organization with more than 20 users, the application receives another 50 requests per hour for each user. Installations that have more than 20 repositories receive another 50 requests per hour for each repository. The maximum rate limit for an installation is 12,500 requests per hour.

@aaronsteers I checked the Sonar feedback and assessed that we are safe. But it looks like it doesn't care what I think ;)
Could you have a quick look and tell SonarCloud that it's ok? If it is, ofc

@edgarrmondragon could you bypass the SonarCloud tests?

@edgarrmondragon could you bypass the SonarCloud tests or note the warning as resolved?

I just marked that line as safe in sonarcloud, it seems happy now. It didn't like the weak randomness of choice, but since it's not used to generate keys/tokens, I don't think there's an issue here.

Tests fail again because of API quota for the installation ID. I think this means our caching mechanism is not working.


Add background border

This adds support for drawing borders around RoundedRect. I added two params bg_border_color and bg_border_width for background in the first commit. The defaults are red and 2.0 which is probably a bad idea. Would you rather disable the border per default? I.e. transparent color and 0.0 width.
The second commit draws the border just on the same path as the actual background. The left side is unfortunately not shown (see picture). I guess it lies just outside the background surface? Do you see a way to still re-use the background path for this?

I didn't yet add support for borders on the input text, but this would be straightforward. Let me know if what you think about adding it on the input text, too.
Resolves #140

Actually, after having a closer look at raqote and arc(), I noticed that just the last piece of the path was missing.. It was fine for filling the surface but the line back to the start point was not part of the path. A simple pb.line_to(x, y + top_left) fixes this.
Anyway, it might still be better to implement your suggestion. What do you think?

Some more pictures:
This one has a corner-radius of 8 and a border-width of 2.0

For more extreme values, it starts to look weird, radius and width of 20.0. The border will eat up space of the inner content.

Yep, I'm good with this impl. The only thing I don't like is a non-optional border inside RoundedRect. Something like this would be way better imo:
pub struct Border {
    border_color: Color,
    border_width: f32,
}

pub struct RoundedRect {
    radius: Radius,
    color: Color,
    boder: Option<Border>,
}

impl RoundedRect {
    fn new(radius: Radius, color: Color) -> Self { .. }

    fn with_border(self, border: Border) -> Self { Self { border, ..self } }
}

So no need to call stroke for empty border and to modify input_text.rs. Then i guess, the meaningful behavior is to draw some border if at least one of params (color/width) is specified and having Backgrond struct inside background::Params (so defaults are remain in config).

Makes sense to me, I tried to follow your suggestion and added a Border with a simple method to add a stroke to a path. Is this what you had in mind?

Looks good to me, thanks for your contribution!


Mir Refactoring

Following #33 by @9il.
Refactoring:

tensor.shape.reduce!"a*b" --> tensor.elementsCount
tensor.byElement.array.sliced(tensor.shape) --> tensor.slice
@9il anything else you've noticed we could change here?

Deprecation, due to new stuff in Mir 0.17.x ( closes #35 ):

norm
normalized
scaled

Current coverage is 73.11% (diff: 77.77%)

Merging #40 into master will not change coverage

@@             master        #40   diff @@
==========================================
  Files            25         25
  Lines          2604       2604
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1904       1904
  Misses          700        700
  Partials          0          0

Powered by Codecov. Last update f687787...099814f

A lot of stuff should be reviewed and optimized. For example https://github.com/ljubobratovicrelja/dcv/blob/master/source/dcv/tracking/opticalflow/lucaskanade.d#L150 can be replaced with single line (and single line would be faster).
All algorithm where we have Slice indexing should be replaced with ndslice.algorithm or, if an issue should be open in Mir to introduce new iteration pattern.

And, lockstep is evil of course.

I think this PR can be merged. But issue still open


Better documentation for metadata support

This library is fantastic and it clearly hints at some support for XMP, IPTC, and EXIF but the documentation is very light and it makes it hard to understand how one would get to the data and/or write it back out to converted files.
I read this old thread on EXIF and found it very informative but I still remain  unclear on how to proceed. I would really love to see a bit more in the docs and/or in some example files.
Of course, being a bit of a TS junkie, I am in many ways a fan of allowing the types to be the documentation for details. And this is probably an area where a lot more could be done.
For instance, WriteableMetadata shows exif as a property with the following opaque definition:
Record<string, any>;

Now I suspect, but don't know, that formal typings for the EXIF spec in Typescript do not exist (at least my google skills appear not to have found it) but one could easily help users considerably even with a subset like so where they get the most commonly used fields strongly typed but can add any others which they want to use themselves:
export type ExifMetadata<T extends object = {}> = {
  Copyright?: string;
  Orientation?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
  Make: string;
  Model: string;
  ImageDescription: string;
  Software: string;

  ModifyDate: DateTimeDigitized;
  OffsetTime: string;
  CreateDate: DateTimeDigitized;
  OffsetTimeDigitized: DateTimeDigitized;

  Rating: number;
  RatingPercent: number;

  SubjectDistance: number;
  BrightnessValue: number;
  ExposureCompensation: ApexValue;
  ShutterSpeedValue: ApexValue;
} & T;

Note: this was just a quick stab at "representative fields" and I used link as reference

Also by looking at this typing file I am inferring (a dangerous thing) that only EXIF data can be written to a file but I believe the docs suggest that support for IPTC and XMP exists to some degree but this is fully missing here.

Hi, the TypeScript definitions for sharp are maintained by the DefinitelyTyped repo:
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharp
Perhaps you could open a PR there to add these fields toWriteableMetadata. If you are able to do this, this object should probably include an "indexer" that allows any other properties:
interface WriteableMetadataExif {
  IFD0: {
    Copyright?: string;
    ...
    [x: string]: any;
  },
  IFD1: {
    ExposureTime?: number;
    ...
  }
}

You could use the following as a partial source of property names too:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/exif/index.d.ts

I believe the docs suggest that support for IPTC and XMP exists to some degree but this is fully missing here.

Neither can be updated, but if the input image has them they are passed through.

I've never actually done a PR for DefinitelyTyped before. I presume the PR is sent to the master repo but how does it get reviewed and approved? Is there a central authority or is it farmed out to individuals?  More specifically, would Sharp be able to handle ExifIFD?

I'm almost done with a first pass, but at a high level the WriteableMeta would look like this:
interface WriteableMetadata<T0 extends object = {}, T1 extends object = {}> {
    /** Value between 1 and 8, used to update the EXIF Orientation tag. */
    orientation?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
    /** Filesystem path to output ICC profile, defaults to sRGB. */
    icc?: string;
    /** Object keyed by IFD0, IFD1 etc. of key/value string pairs to write as EXIF data. (optional, default {}) */
    exif?: {
        IFD0: ExifIFD0<T0> & Record<string, any>;
        IFD1: T1 & Record<string, any>;
        [key: string]: any;
    };
    /** Number of pixels per inch (DPI) */
    density?: number;
}

This provides really good strong typing for popular IFD0 tags as well as:

the ability to pass in a generic  <T0> to extend strong typing
any additional key/value pair is still allowed (obviously without strong types)

I personally have very little to no need for IFD1 -- as I suspect is the case for many -- so I've left it as a generic structure but I have included a generic <T1> which can be used to provide strong typing on that too if someone desires.
In order to expose the generics in a way that people can use them, I have added these to the withMetadata function:
withMetadata<T0 extends object = {}, T1 extends object = {}>(withMetadata?: WriteableMetadata<T0, T1>): Sharp;

Keen on hearing back from you on the ExifIFD question from above as that'd give me an opportunity to add some more useful tags. Outside of that I can push the PR.

Also, one other question ... how do I get the exif, iptc, xmp and tifftagPhotoshop buffers into key/value pairs. I tried just converting the buffer to a string but that ended in tears.

Since we're operating in different timezones -- I suspect based on the UK spellings prevalent in this repo (I'm in LA though lived most of the last 20 years in London) -- I've created a type ExifIFD<T> in the PR. It's not currently used anywhere yet but can be added easily if it's Sharp can handle them.

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/53942

do you happen to know the distinction between IFD0 and ExifIFD? More specifically, would Sharp be able to handle ExifIFD?

I think the ExifIFD (sub)directory is usually IFD2, at least in JPEG images.

how do I get the exif, iptc, xmp and tifftagPhotoshop buffers into key/value pairs.

If this question refers to reading metadata() of an input rather than setting withMetadata() of an output, then these are Buffer instances, as documented.
https://sharp.pixelplumbing.com/api-input#metadata
You'll need to use other modules to parse these e.g. https://www.npmjs.com/package/iptc-reader

Gosh, just when I thought I'd figured it out. How does the term "subdirectory" apply here?

We're quite deep into EXIF spec territory here, but my understanding is that IFD0 can optionally contain an offset to subdirectories, and if so one of these is ExifIFD, which will be presented as IFD2.

The other tools i'm using to understand the EXIF name/value pairs do not distinguish between these blocks at all. Is there any effort underway to pull out the metadata as key/value pairs on the read side? I thought I remembered that being discussed in another issue? If it were, would these blocks (aka., IFD0, IFD2, etc.) be visible as top level keys?

Were you able to make any progress with this? If not, is there a sample image that we can use as a concrete example to help work out what metadata might be missing?

Sorry I've been focused elsewhere. I'm a classic ADHD sufferer ;)

In terms of metadata missing ... I feel where I kind of gave up is I don't fully understand how to get at existing EXIF and IPTC data which are stored in Buffer format. It felt like this was more of a secondary concern for Sharp (where the focus was more on the conversion of actual pixels, etc.).
Based on the high praise that ExifTools gets from developers and photographers but maybe more concisely it's abstraction away from having to deal with IFD_x_ concerns, it may be worth seeing this as a dividing line in terms of separation of concerns?
I mean, by all means I greatly prefer a C-based (wrapped in npm) entry point like Sharp but a lot of batch image conversion is done via a CLI where good 'ol Perl is an ok answer (although it has literally been decades since I touched Perl).

Note: ExifTool does seem to have a high quality wrapper in npm: https://photostructure.github.io/exiftool-vendored.js/

Hi, I'm a little bit confused here, i don't know how to set DateTimeOriginal, ModifyDate, CreateDate for ex

@loverdeveloper Please can you add this information to the question you've already opened at https://github.com/lovell/sharp/issues/3027

Closing as https://www.npmjs.com/package/exiftool-vendored is probably the right tool for the job when more extensive EXIF metadata editing is required.


Possible EventEmitter memory leak detected.

how to solve this issue?
ERROR
(node:20940) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(Use node --trace-warnings ... to show where the warning was created)
import EasyDl from 'easydl'

const main = async () => {
	try {
		const completed = await new EasyDl('https://code.jquery.com/jquery-3.6.4.js', 'test/a.js', { connections: 5, maxRetry: 5 }).wait()
		console.log('Completed:', completed)
	} catch (err) {
		console.log('ERROR:', err)
	}
}

main()

Also getting the same issue.

Same

@andresusanto Any update on this issue? This download library is gold and the best one by far, but the only thing that's holding me back from using it in production is the memory leak warning.

bump

thanks for raising the issue, I'll have a look in the coming week

thanks for raising the issue, I'll have a look in the coming week

Appreciate it!

Fixed in 1.1.0


Fix process exit issue

Implements enhanced stability and error handling in GoSSH and NativeSSH runners

Context Management: Introduces context management in both gssh_runner.go and nssh_runner.go to gracefully handle goroutine lifecycles. This ensures that all running processes can be properly terminated, preventing unexpected exits.
Error Handling: Adds error handling mechanisms to catch and log errors during the tunnel client creation and command execution phases. This helps in identifying issues without causing the process to exit unexpectedly.
Graceful Shutdown: Implements a cancelFunc in both runners to ensure that all goroutines are signaled to stop during the shutdown phase. This contributes to a more stable and controlled shutdown process.

For more details, open the Copilot Workspace session.

Introduce context cancellation in SSH runners for improved goroutine management and cleanup.

Add context.Context and context.CancelFunc to both GoSSHRun and NativeSSHRun structs to manage the lifecycle of goroutines more effectively.
Implement context cancellation in the Close method of both runners to ensure all running goroutines are signaled to stop, facilitating a cleaner shutdown process.
Modify the Run method in NativeSSHRun to utilize the inherited context for each command execution, allowing for better control and cancellation of individual SSH command executions.

For more details, open the Copilot Workspace session.

Refactor context management in NativeSSHRun's Run method to use a shared context.

Remove the creation of a new context within each goroutine in the Run method, simplifying context management.
Utilize the nr.ctx directly in goroutines for executing SSH commands, ensuring all goroutines share the same parent context for better control and cleanup.

For more details, open the Copilot Workspace session.

Removes the unused time package import from nssh_runner.go to clean up the code.

Introduces a context with cancellation to manage goroutine lifecycles more effectively.
Ensures all goroutines are signaled to stop by calling the cancel function in the Close method.

For more details, open the Copilot Workspace session.

Refactor the NativeSSHRun struct and its methods to use a shared context for command execution.

Introduce a shared context and cancel function in the NativeSSHRun struct to manage the lifecycle of goroutines and command execution.
Modify the NewCmdWrapper and ExecuteCommand calls to use the shared context instead of creating a new one each time, ensuring consistent cancellation behavior across all command executions.
Add a call to the cancel function in the Close method to ensure all running goroutines are properly signaled to stop.

For more details, open the Copilot Workspace session.


parsing error responses from the API seems to use a string pointer not a string.

I think we are dumping out the error object with a %+v which is giving errors like this:
Error: [POST /sites][401] createSite default  &{Code:401 Message:0xc4202681a0}

yeah, we need a better error representation in the swagger definition


Issue with asynhttpclient

I use Android 5.0 ,the http client not responding, i get "Device not connected to internet "error.
But the same source working fine with Android 7.0 Version.
Please do suggest what to be added more to fix the issue.

Too vague, provide more info and re-open if you wish.


Update to Catch Version 3

Is this pull request associated with an issue(s)?
None
Description
Title

🚀 [bumpr] Bumped! New version:v1.0.39 Changes:v1.0.38...v1.0.39


Testing custom plugin using build.gradle.kts result in an Unresolved reference

Following the documentation
I made the following project that should reproduce the issue: https://github.com/NitroG42/GradleIssues/tree/kotlindsl (be sure to checkout the kotlindsl branch)
Just run the only test ("testLongRun").
The following code in a build.gradle.kts:
        buildFile.writeText(
            """
        plugins {
            `com.nitro.issue`
        }
            """.trimIndent()
        )
        val result = GradleRunner.create()
            .withProjectDir(testProjectDir.root)
            .withArguments("build", "--info")
            .withPluginClasspath()
            .build()

result in
  Line 3:     `com.nitro.issue`
              ^ Unresolved reference: `com.nitro.issue`

While in a build.gradle:
        buildFile.writeText(
            """
        plugins {
            id "com.nitro.issue"
        }
""".trimIndent()
)

Works
Expected Behavior
The code should work or the documentation should say it isn't compatible with Kotlin DSL
Current Behavior
It throw an error not recognizing my plugin.
Steps to Reproduce
https://github.com/NitroG42/GradleIssues/tree/kotlindsl (be sure to checkout the kotlindsl branch)
Your Environment
Gradle 6.3

I think you're missing to add the plugin to the classpath of your tests. Please have a closer look at https://guides.gradle.org/testing-gradle-plugins/#functional-tests and how the sample sets up functional tests

On your link i see the following line :

Every Gradle plugin project should apply the plugin development plugin to reduce boilerplate code. By applying the plugin development plugin, the test source set is preconfigured for the use with TestKit.

Which I did https://github.com/NitroG42/GradleIssues/blob/b91758a31b19d649b00d5d1de8c5e134091438fe/build.gradle.kts#L3 , and I don't have a custom sourceset

As answered by tbroyer:

You need to use id("com.nitro.issue").
Technically com.nitro.issue is a property access / method call but there's no such property/method as this is how you'll load external plugins!


feat(ast_codegen, span): process SourceType through ast_codegen.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4696  👈
#4694
#4690
#4682
#4691
#4689
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rzvxa and the rest of your teammates on  Graphite

@overlookmotel this stack should be ready for review.

One last thing: Since oxc_span crate now depends on oxc_ast_macros, should we put #[ast] on Span as well?

Great to have these types included in schema.
Personally I wouldn't have split the types into a separate file. Is the rationale for that to give the codegen less code to chew through looking for items with an #[ast] attr? If so, I wouldn't worry too much about that - the file is not so large, and it's no big deal if the codegen isn't quite as quick as it could be.

I intentionally panic on unrelated items in the source read by codegen. It isn't for performance purposes, I don't care for performance in the codegen.
It lowers the clutter in the rust definition files, I would even suggest going as far as changing the file extension to something like XXX.d.rs. Otherwise, we have no way of reasoning about what is and isn't included in the codegen(unless you read the source code).

It's annoying not to be able to assert that field offsets are correct because the fields are private. Perhaps at some point we should add a generated folder to oxc_syntax and oxc_span crates, and generate the assertions there so they can access the private fields. We'd need to do that for CloneIn and Serialize traits if we want to codegen their impls for SourceType.

Yeah, Currently I'm working on the generate_derive marker and the CloneIn trait. One limitation of our current approach is that we output one file per generator. That means we get only one output derive_clone_in.rs file.
We used to have multiple outputs from a single generator but the implementation was no good. We need a way to have one generator per crate or one output per type and fold it into crate/module boundaries.
We might not even need such a thing. In general, I prefer we don't invest time on cross-crate compilation, We shouldn't expand codegen far out of AST. Otherwise, we start generating code all over the place and bloat the project.
I can extract the pre-expanded derives as its own thing if we see a reasonable improvement over vanilla derives.

One last thing: Since oxc_span crate now depends on oxc_ast_macros, should we put #[ast] on Span as well?

Sure.

Otherwise, we have no way of reasoning about what is and isn't included in the codegen(unless you read the source code).

Personally, I think it's fine to just have #[ast] to inform the reader what it being altered by the codegen. I also like your idea of using #[generate_derive(CloneIn)] - again, that makes it explicit that some code is being generated for the type, rather than it just happening invisibly.

Otherwise, we have no way of reasoning about what is and isn't included in the codegen(unless you read the source code).

Personally, I think it's fine to just have #[ast] to inform the reader what it being altered by the codegen. I also like your idea of using #[generate_derive(CloneIn)] - again, that makes it explicit that some code is being generated for the type, rather than it just happening invisibly.

The problem is when you use #[ast] on something expecting it to work similarly to all places you've seen this marker, But it doesn't; The #[ast] itself isn't the whole picture. we don't know if it is even included in the codegen or not as long as we haven't checked the main file of the codegen.
In the #[ast] macro we can panic if the file isn't already processed by the codegen, which just complicates the compilation, However, it is possible to use it to raise compile errors on illegal usage.

I'll make a PR to add #[ast] to Span.

Thank you!

In the #[ast] macro we can panic if the file isn't already processed by the codegen, which just complicates the compilation, However, it is possible to use it to raise compile errors on illegal usage.

I think this would be a good idea. Opened #4704 to discuss.


Donation modal's "edit amount" button is overflowing on mobile

Describe the Issue
While working on #52349, I found that the "Edit amount" button is overflowing on mobile:

Steps to Reproduce
I don't know how to trigger the modal in production, but to reproduce the issue locally:

Change this line to show={true} so that the modal appears:
https://github.com/freeCodeCamp/freeCodeCamp/blob/124bf1464039081ac3653716764a65ef9cc28d42/client/src/components/Donation/donation-modal.tsx#L153
Open the browser devtools, toggle the responsive mode, and select a mobile device
Go any page
Click the "Donate" button on the modal
See the "Edit amount" button

Expected behavior
The button is pushed to the edge of the screen is because:

There is a width constraint and the elements don't have enough space:

https://github.com/freeCodeCamp/freeCodeCamp/blob/124bf1464039081ac3653716764a65ef9cc28d42/client/src/components/Donation/donation.css#L301

The elements are displayed in the same row with:

https://github.com/freeCodeCamp/freeCodeCamp/blob/124bf1464039081ac3653716764a65ef9cc28d42/client/src/components/Donation/donation.css#L304-L305

I think the fix for this should be changing the arrangement logic on mobile: have the elements stack vertically, rather than keeping displaying them in a row. It's because even if we can address the issue for English, we can't guarantee that the overflow won't happen in other languages.
System

Device: iPhone SE, Samsung S8+ (via browser devtools)

Hi, I'm new to open source contribution, but I've good understanding of react.  Can I work on this?

I'll fix this

Hi, I'm new to open source contribution, but I've good understanding of react. Can I work on this?

Did you set up the code in your computer

Hey @pothuguntaumesh and @Nkiriobasi, thank you for your interest in contributing!
This issue has not gone through the triage process and not yet open for contribution.

Can you help me with set up the code in my computer since I am just a beginner to the open source

@Jeevan-Neupane I recommend taking some time to read through our contributing guidelines first. You can also join our Discord server if you have any questions or need assistance.

Link is expired please can you send me again

@Jeevan-Neupane I recommend taking some time to read through our contributing guidelines first. You can also join our Discord server if you have any questions or need assistance.

Thank you

the confirmation text and the edit amount button both should stay in the same row in a 350px width element.
The text and the button should be on two sides of the containing element.
If the contents are colliding in the containing element, the button should overflow to the next line below the text.
Achieving this might be more straight forward using grid.


fix(cdk/tree): update embedded views when using track-by function

Fixes https://github.com/angular/components/issues/18639.

Can somebody review my MR?


Duplicates allowed for parameters and values (or any HashMap)

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.

Summary
Due to default serde behavior, duplicates in deserializing a HashMap is not an error and last one wins.  There is another crate serde_with that has a macro that prevents dupes, but it doesn't work if the property is an Option<>.  Tried a few ways to resolve this, but couldn't find a solutiont hat doesn't include implementing a custom deserializer.  Deferring this work.
Steps to reproduce
$configYaml = @'
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/config/document.json
variables:
  myVariable: foo
  myVariable: bar
resources:
- name: test
  type: Test/Echo
  properties:
    output: "[variables('myVariable')]"
'@

dsc config get -d $configYaml

Expected behavior
Should error that `myVariable` is defined more than once

Actual behavior
`myVariable` takes the last set value

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.5.0-preview.3
PSEdition                      Core
GitCommitId                    7.5.0-preview.3
OS                             Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Version
dsc 3.0.0-preview.8
Visuals
No response

This could be resolved okay with a note in the documentation - fwiw, users who are defining their configuration documents in VS Code with the YAML extension will get author-time feedback that an object can't define the same property twice, so even though DSC isn't currently raising an error, the user has some way to know that defining the same key twice in an object isn't supported.

Agree this could just be doc'd so we can focus on other items.  I already spent too much time trying to figure out how to get it to not accept dupes, but existing solutions I found only worked if it wasn't an Option<> which is needed in our case.

@michaeltlombardi just close this as resolved once documented


CFTS-5355: Whitelist et-hearings-api for hmc-cft-hearing-service

JIRA link
https://tools.hmcts.net/jira/browse/CFTS-5355
Change description
Whitelist et-hearings-api for hmc-cft-hearing-service.
See also https://github.com/hmcts/cnp-flux-config/pull/24969
Does this PR introduce a breaking change?
[ ] Yes
[x] No

PIPELINE: https://build.platform.hmcts.net/job/HMCTS_d_to_i/job/hmc-cft-hearing-service/view/change-requests/job/PR-397/


Could it be possible to present multiple plausible results

Thank you in advance for such a wonderful tool! Since some simplified Chinese characters are mapped to more than one traditional characters and vice versa, does opencc have such functions to present multiple plausible results?  For example, the conversion result for 祇讓他去 could be 祇[只]让他去 or something like that, or it could just expose an API to show that 祇 here has alternative choices. This will be much helpful for proofreading after conversion. Thanks a lot!

There is already an API for that, please refer to opencc::DictEntry.
By the way, in your case, 只 is the most commonly-used one and 衹 is a variant character for 只, which is rarely used in Traditional Chinese and invalid in Simplified Chinese. So it is quite reasonable to have only 只 in the convertion result.


Test Swift CI support

I believe it seems to be a bug on Swift Complier on Linux.
Also the 2021-10-05 snapshot of swift is working both on Linux and macOS.(For the success of building swift-markdown)
Bug created at bugs.swift.org/browse/SR-15362


Wrong results on matmul's associative_scan when jitted within scan

Description
When I did matmul's in associative_scan in jax.lax.scan using 64 bits, the jitted version returns a wrong result. Here is the simplest reproducible code:
import jax
import jax.numpy as jnp

# jax.config.update('jax_platform_name', 'cpu')
jax.config.update('jax_enable_x64', True)

def matmul_scan(jac: jnp.ndarray) -> jnp.ndarray:
    def scan_func(jac: jnp.ndarray, _: None):
        return jax.lax.associative_scan(jnp.matmul, jac), None
    jac, _ = jax.lax.scan(scan_func, jac, xs=None, length=1)
    return jac

if __name__ == "__main__":
    key = jax.random.PRNGKey(0)
    jac = jax.random.normal(key, (4, 2, 2)) * 2

    print("Jitted")
    out1 = matmul_scan(jac)
    print("Result's norm:", jnp.linalg.norm(out1))

    with jax.disable_jit():
        print("Not jitted")
        out2 = matmul_scan(jac)
        print("Result's norm:", jnp.linalg.norm(out2))

Here is the results I got from running the script above with V100:
Jitted
Result's norm: 51.565382514790876
Not jitted
Result's norm: 29.78430328593344

The jitted results are different from the non-jitted one by quite significant amount.
There are several conditions that make it correct:

Using CPU: both jit and non-jit are correct.
Using float32: both jit and non-jit are correct, even with a GPU.
Removing scan: just calling the function directly will make it correct. (why I just don't call the function directly? This is a simplified case. My case is using jax.lax.while_loop where I can't just call the function directly)

System info (python version, jaxlib version, accelerator, etc.)
jax:    0.4.28
jaxlib: 0.4.28
numpy:  1.24.4
python: 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]
jax.devices (1 total, 1 local): [cuda(id=0)]
process_count: 1
platform: uname_result(system='Linux', node='muhammad1', release='5.15.0-1052-azure', version='#60~20.04.1-Ubuntu SMP Tue Nov 7 11:36:12 UTC 2023', machine='x86_64')

$ nvidia-smi
Tue Jun  4 13:14:12 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.15              Driver Version: 550.54.15      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Tesla V100-PCIE-16GB           Off |   00000001:00:00.0 Off |                  Off |
| N/A   31C    P0             38W /  250W |     311MiB /  16384MiB |      3%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A    223646      C   python                                        308MiB |
+-----------------------------------------------------------------------------------------+

It looks like this has the same underlying cause as #21637. Disabling the problematic XLA:GPU optimization fixes the issue.

Thanks. I'll close this in favour of #21637


Issue Connecting to Wasabi

I'm utilizing the following command:
goofys --endpoint https://s3.wasabisys.com --region us-east-2 -f --debug_fuse --debug_s3 scrubbed-bucket-name /mnt/wasabi/
However I'm getting permissions denied and bad request errors. I have verified that I can connect to the bucket via s3fs - so the credentials and host/bucket are good. I have tried with the credentials in ~/.aws/credentials (as setup by AWSCLI config) and also with exported ENV variables - to the same result.
Any help is greatly appreciated.
Here is a scrubbed trace:
2020/02/11 00:01:53.689503 s3.DEBUG DEBUG: Request s3/HeadObject Details:
---[ REQUEST POST-SIGN ]-----------------------------
HEAD /scrubbed-bucket-name/vb2xf92sg749e57wrk3fm7epgou4180p HTTP/1.1
Host: s3.wasabisys.com
User-Agent: aws-sdk-go/1.17.13 (go1.13.1; linux; amd64)
Authorization: AWS4-HMAC-SHA256 Credential=SCRUBBED-CREDENTIALS/20200211/us-east-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=0543f0a468700c4885f2b591b91b6ea5aa6bbf52cd7ed8188598faaf224b49c4
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20200211T050153Z

-----------------------------------------------------
2020/02/11 00:01:53.854349 s3.DEBUG DEBUG: Response s3/HeadObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 400 Bad Request
Connection: close
Content-Type: application/xml
Date: Tue, 11 Feb 2020 05:01:53 GMT
Server: WasabiS3/6.0.446-2020-01-27-43550bb (head07)
X-Amz-Bucket-Region: us-east-1
X-Amz-Id-2: LuQEaOcJvcaYWeRXFIgvTNk80lINx63DdBJzZ5WKg8bMAb15jtcf0TZtbcD+GznuYp/uMlRli3k2
X-Amz-Request-Id: 5F78E1C0B17CC838

-----------------------------------------------------
2020/02/11 00:01:53.854402 s3.DEBUG DEBUG: Validate Response s3/HeadObject failed, not retrying, error BadRequest: Bad Request
	status code: 400, request id: 5F78E1C0B17CC838, host id: LuQEaOcJvcaYWeRXFIgvTNk80lINx63DdBJzZ5WKg8bMAb15jtcf0TZtbcD+GznuYp/uMlRli3k2
2020/02/11 00:01:53.854436 s3.INFO Falling back to v2 signer
2020/02/11 00:01:53.854681 s3.DEBUG DEBUG: Request s3/HeadObject Details:
---[ REQUEST POST-SIGN ]-----------------------------
HEAD /scrubbed-bucket-name/vb2xf92sg749e57wrk3fm7epgou4180p HTTP/1.1
Host: s3.wasabisys.com
User-Agent: aws-sdk-go/1.17.13 (go1.13.1; linux; amd64)
Authorization: AWS SCRUBBED_CREDENTIALS
X-Amz-Date: Tue, 11 Feb 2020 05:01:53 +0000

-----------------------------------------------------
2020/02/11 00:01:54.064786 s3.DEBUG DEBUG: Response s3/HeadObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403 Forbidden
Connection: close
Content-Type: application/xml
Date: Tue, 11 Feb 2020 05:01:54 GMT
Server: WasabiS3/6.0.446-2020-01-27-43550bb (head2)
X-Amz-Id-2: MQL2d8BxX9OWZsokqovmwhIOclMqtB9NpYCUavaht6tzFo/pSjCq3vUyVFWutiEwzIDRrYndvEwn
X-Amz-Request-Id: 3D7634CB7B68BCF7

-----------------------------------------------------
2020/02/11 00:01:54.064829 s3.DEBUG DEBUG: Validate Response s3/HeadObject failed, not retrying, error Forbidden: Forbidden
	status code: 403, request id: 3D7634CB7B68BCF7, host id: MQL2d8BxX9OWZsokqovmwhIOclMqtB9NpYCUavaht6tzFo/pSjCq3vUyVFWutiEwzIDRrYndvEwn
2020/02/11 00:01:54.064871 main.ERROR Unable to access 'scrubbed-bucket-name': permission denied
2020/02/11 00:01:54.064884 main.FATAL Mounting file system: Mount: initialization failed

@cekvenich you submitted the PR in 27053313e6161d527f7f7efb1499a46fee1872e7 , do you know what's needed to connect to wasabi?

@kahing I forget now, this is a while back.

@cyclops26
Try to use --endpoint with the included region, e.g.:  --endpoint https://s3.eu-central-1.wasabisys.com instead of the --region parameter. It works for me that way.

@medariox Perfect - thanks! Simple fixes are the best.


pathmgr: Return errors in non-async functions

Instead of logging error in the pathmgr.Resolver return them for function that return synchronously. This make it possible to log the error correctly at the call site.
(See also: https://github.com/scionproto/scion/issues/2865#issuecomment-514589490)

pathmgr is gone


Linux Support?

Disclaimer!

I decided to make a linux build because tf2bd is just 99% standard library anyway
Tested on g++ (13.2.1 20230801) (archlinux)
and g++ (Ubuntu 11.4.0-1ubuntu1~22.04) (ubuntu 22.04)
Dependencies:

libtbb2-dev (build, required)
zenity (optional; for folder selection)

Known Issues

"Launch TF2" button probably doesn't work
I know, I didn't implement it c:
just set ur launch options to something like -usercon +developer 1 +contimes 0 +ip <IP_ADDRESS> +sv_rcon_whitelist_address <IP_ADDRESS> +sv_quota_stringcmdspersecond 1000000 +rcon_password <password> +hostport <port> +net_start +con_timestamp 1 -condebug -conclearlog, and launch it from steam, it still will run normally. implemented
Launch from Steam probably doesn't work
yea whatever one day
Folder selection dialog will freeze the program
wontfix, just close the folder selection dialog.
the alternative would be bringing a whole new library like qt to the table; and i don't think its worth it for this one feature that you probably use once
I didn't validate if the discord rich presence works at all, cuz I'm lazy.

Why is my windows machine in the future again


Create Roadmap on blockchain

Related Issue

Issue number goes here:

Proposed Changes

Change 1
Change 2

Checklist

[ ] Documentation of the code
[ ] Testing your code in the local machine
[ ] Add your name to the CONTRIBUTORS file

Screenshots

@arpitasen20 Are you still up for this? We will have to reassign if we don't receive updates. Please let us know soon.


Update java image import for s390x platform

For the java image used in s390x CI script, also need to change refer to #4569.
What type of PR is this?

/kind bug

What does does this PR do / why we need it:
Update java image import for s390x platform, change the tag in the oc import-image command.
Which issue(s) this PR fixes:
Fixes #4569
PR acceptance criteria:
configure test cluster for s390x
How to test changes / Special notes to the reviewer:
just run the test script

/area system-PZ

Sorry, wrong operation. I recreate the change again in #4602


Add devcontainer config file for use with Codebases

https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers#creating-a-custom-dev-container-configuration

VS Code extensions:

ESLint - dbaeumer.vscode-eslint
Prettier - rvest.vs-code-prettier-eslint

color theme: Dark+
See if I can load bash dotfiles from https://github.com/DylanSp/dotfiles

Make sure Git commit editor on command line uses nano (should be handled by setting EDITOR env var)

Some of this may fall under personalizing Codespaces, rather than having configuration for this repo - see https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-github-codespaces-for-your-account

Looking at https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-nodejs-project-for-codespaces#step-2-add-a-dev-container-configuration, I may be able to base my config on the existing Node templates. Main changes I'd want to make:

Make sure git is installed (is hopefully included by default)
Install extensions - see https://containers.dev/supporting#visual-studio-code
Set postCreateCommand to npm ci, to install dependencies


Work around all use cases for scp

multiple files
have Send & Receive
recursive dir copying
dirs within dirs

needs to support just the 'basics'... `zscp @:
and
zscp  @:```
so that means all these should work:
zscp cd@ClintLinuxVM:/etc/hosts /remote/path/here/to/put/the/file
zscp cd@ClintLinuxVM:/tmp/.txt /remote/path/here/to/put/the/files
zscp /local/path/to/files/to/send cd@ClintLinuxVM:/remote/destination/path
zscp /local/globbed/path/to/files.txt cd@ClintLinuxVM:/remote/destination/globbedfiles

paths should be able to be relative:
zscp ./fileInThisFolder cd@ClintLinuxVM:.
zscp ./fileInThisFolder cd@ClintLinuxVM:./relative/to/home/of/user-cd
3:28
and no leading path delimiter is needed either i do this all the time myself:
zscp myFile.txt ClintLinuxVM:.


Update request for MessageDeliveryFailed

Hello @dmadhwani @XuejingZhu @jkuemerle , we are testing out Interaction service inbound and outbound messages with Demo app but we are stuck while setting up please advise. Have raised issue as well here-
https://github.com/salesforce-misc/byoc-ott-demo-app/issues/17
Thanks in advance!!


baseboxd: restart OF-DPA and ofagent on crash

Make sure that OF-DPA and ofagent are restarted on a crash to reset their state.
This is not an ideal solution as this will interrupt the service, but the vanishing of the port interfaces will likely already have disrupted the services.

This is done as a patch and not a commit as this is a BISDN Linux specific change, and not a generic baseboxd thing.

Since I figured a way to just let baseboxd clean up the switch state on start up that should have the same effect, but is much faster, this change is obsolete.


Test warm start

Test different warm start:

Pure crocco warm start from previous iteration
Pure HPP warm Start.
Mixed HPP warm start q,v from HPP and u from crocco

@ArthurH91 added a learning from HPP as warm start.


Why must third party tools be ES5?

An issue was filed on idb-keyval which pointed to https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify.
With idb-keyval I'm trying to optimise for modern-ish browsers, and let users apply the level of transpiling they need, if any. I have published a transpiled version, but I'd rather users did this themselves as they're in a better position to make these decisions.
I'm not really familiar with create-react-app, but if there's something I should do to my package.json or readme to help here, I'm happy to look into it.

I was going to open a similar issue just now, as I also received a pull request pointing to the docs in create-react-app. I think it's time to update the premise of the argument:

because neither browsers (except for most modern versions) nor some tools currently support all ES6 features. We recommend to publish code on npm as ES5 at least for a few more years.

ES6 is a 3 year old version, and the majority of basic ES6 features are now supported in:

Edge
Firefox
Chrome
Safari
iOS Safari
Node.js (since v6)

Because 1.x uses a version of Uglify that doesn’t support ES6+ (and the ones that do are notoriously buggy). And because we can’t run Babel 6 on third party modules as that can break them by opting them into strict mode.
<EMAIL_ADDRESS>doesn’t have that restriction. You’re welcome to use 2.x alphas. It will be a while before there’s a stable version though. At the very least it depends on Babel 7 getting stable.


[IOTDB-1604] Fix data increase when shut down iotdb in 0.12 and restart iotdb-0.13

In 0.12, compaction log is store in system_dir/storage_group. In new compaction, compaction log is store in data directory. To compatible with the old compaction recovery, this pr will search compaction log in system dir when recovering compaction.

Hi, you can merge the master branch to fix the CI now.


Form may have value secondary for confirmation

Some of the form builders have a secondary index for confirmation values. Let's accept this in the form-filler by default as settings were not synced automatically.

@husainshabbir Can you have a review for this? It's just a default value changes :)
Thanks!


Problem: Bigchaindb startup sometimes fails due genesis block creation during init

[WIP] DO NOT REVIEW
Description
Genesis block creation is now handled on tendermint side. But the code to create genesis block on startup has not yet been cleaned up
Issues This PR Fixes
Fixes #2127

See also #2094 - Problem: Unsure if Tendermint wants BigchainDB to Create a "Genesis block"
I think we can remove a whole bunch of "GENESIS" related code. But it's not clear. Tendermint makes its own first block, right? So we don't need to make a GENESIS block for Tendermint? Is that right?

@ttmc agreed. I am doing the cleanup to remove all genesis block related code and tests from bigchaindb side

If no Genesis block, then no need for a "GENESIS transaction" --- all that code can be cleaned up.
Even the .yaml files for checking the schema (content) of a BigchainDB transaction can be simplified! Those live in the bigchaindb/common/schema/ directory:
https://github.com/bigchaindb/bigchaindb/tree/master/bigchaindb/common/schema
For example: https://github.com/bigchaindb/bigchaindb/blob/master/bigchaindb/common/schema/transaction_v1.0.yaml#L61
https://github.com/bigchaindb/bigchaindb/blob/master/bigchaindb/common/schema/transaction_create_v1.0.yaml#L4

Awesome, so fun to see this all happening. Nice clean code that only does what we want!


Viu OTT extractor error (KeyError)

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.09.20
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-i', '-v', 'https://www.viu.com/ott/sg/en-us/vod/233440/Hot-Stove-League']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.7.7 (CPython) - Darwin-16.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[viu:ott] 233440: Downloading video info
[viu:ott] 233440: Downloading stream info
ERROR: An extractor error has occurred. (caused by KeyError('data')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/viu.py", line 233, in _real_extract
    })['data']['stream']
KeyError: 'data'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/viu.py", line 233, in _real_extract
    })['data']['stream']
KeyError: 'data'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 545, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('data')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

As of today, the Viu OTT extractor is no longer working. I have tried multiple server locations.
This issue is occurring with videos that are geo-restricted to both Singapore and Thailand. They are still accessible via web browser using a proxy.
Singapore sample: https://www.viu.com/ott/sg/en-us/vod/233440/Hot-Stove-League
Thailand sample: https://www.viu.com/ott/th/en-us/vod/165839/A-Poem-A-Day
This is really bad because Viu is one of the main sites for Asian TV dramas that are not available anywhere else. Thank you for your help!

@dstftw
I also tested on my C# Tool.
In PH, premium episode is now required premium account.
See this example:
FREE EPISODE:
https://d1k2us671qcoau.cloudfront.net/distribute_web_ph.php?ccs_product_id=2b90508fc68055b6be8489381d5dd3a1&language_flag_id=3
PREMIUM EPISODE:
https://d1k2us671qcoau.cloudfront.net/distribute_web_ph.php?ccs_product_id=353f52cfdf968f4cb195c9b7b29e4f69&language_flag_id=3**&identity=8f36aeef79014287cbb770b75e688c4e1e1e8e20**

@zackmark29 Thank you for replying. I do not believe that either of the sample episodes I mentioned are premium episodes because you can watch them via web browser without a subscription.
Something seems to have changed to stop youtube-dl from even seeing the available video formats. Using "--list-formats" is not working.
So what you are saying is that even if youtube-dl could see the available video formats, the HD quality videos will no longer be available? The HD quality videos were working via youtube-dl a couple of days ago.

@zackmark29 Thank you for replying. I do not believe that either of the sample episodes I mentioned are premium episodes because you can watch them via web browser without a subscription.
Something seems to have changed to stop youtube-dl from even seeing the available video formats. Using "--list-formats" is not working.
So what you are saying is that even if youtube-dl could see the available video formats, the HD quality videos will no longer be available? The HD quality videos were working via youtube-dl a couple of days ago.

I'll check now with SG vpn. I'll update you in a minute

I'm able to get all resolution with you're given sg link

@zackmark29 Thanks for following up. So it seems like all formats of the videos are still available. It's just that there is some syntax change on Viu's server side that the youtube-dl Viu extractor needs to compensate for.

@zackmark29 Thanks for following up. So it seems like all formats of the videos are still available. It's just that there is some syntax change on Viu's server side that the youtube-dl Viu extractor needs to compensate for.

Yeah. If I just know Python I can edit it for you but I only know C#

I'm able to get all resolution with you're given sg link

Is your C# tool available to public?

I'm able to get all resolution with you're given sg link

Is your C# tool available to public?

No, this is just for personal use.

I'm able to get all resolution with you're given sg link

Is your C# tool available to public?

No, this is just for personal use.

can u share the extractor code? I can try and modify it for python

I'm able to get all resolution with you're given sg link

Is your C# tool available to public?

No, this is just for personal use.

can u share the extractor code? I can try and modify it for python

I just tested again and I noticed this is the problem.
https://www.viu.com/ott/sg/index.php?r=vod/ajax-detail&platform_flag_label=web&area_id=2&language_flag_id=3&product_id=233440
to fix it should have &ut=2 at the end like this
https://www.viu.com/ott/sg/index.php?r=vod/ajax-detail&platform_flag_label=web&area_id=2&language_flag_id=3&product_id=233440&ut=2
And here's for the ccs
https://d1k2us671qcoau.cloudfront.net/distribute_web_sg.php?ccs_product_id=9aceb6645dbdd1afa252581c2476af8f&language_flag_id=3
Let me know if you needed more.

@zackmark29 Yay! Thank you so much! Based on your observation, I fixed the viu.py extractor by adding in the 'language_flag_id' and the 'ut' into the query. I am not a programmer, and this is the first time I have ever done anything in Python...
I have also submitted my first-ever pull request.

@zackmark29 Yay! Thank you so much! Based on your observation, I fixed the viu.py extractor by adding in the 'language_flag_id' and the 'ut' into the query. I am not a programmer, and this is the first time I have ever done anything in Python...
I have also submitted my first-ever pull request.

Wow that's great! so is it work now?
I hope I also know how to modify python from youtube-dl extractor.

But the ut i think it depends on the region. In my country (PH) it's ut=0

@zackmark29 I did some more testing. I actually removed the ut part of the query, and the extractor still works. So ut does not seem to be necessary.
There are a couple of remaining issues.

After I made the "language_flag_id" change to the query, the Viu extractor is only working for Singapore videos. For some reason, it does not work with Thailand videos. Can you find the correct video URL format for the Thailand videos? Sample URL: https://www.viu.com/ott/th/en-us/vod/165839/A-Poem-A-Day

The extractor is no longer working for Premium videos. It used to work for Premium videos.

@zackmark29 I did some more testing. I actually removed the ut part of the query, and the extractor still works. So ut does not seem to be necessary.
There are a couple of remaining issues.

After I made the "language_flag_id" change to the query, the Viu extractor is only working for Singapore videos. For some reason, it does not work with Thailand videos. Can you find the correct video URL format for the Thailand videos? Sample URL: https://www.viu.com/ott/th/en-us/vod/165839/A-Poem-A-Day
The extractor is no longer working for Premium videos. It used to work for Premium videos.

In PH, ut is needed.
But I'll look into it later.

how can i download from viu with viu.py. i did install python but i can't run viu python. please guide

@touchhyuk I assume that you've already downloaded the youtube-dl master source code. You'll need to make the modifications to viu.py that are listed in my pull request.
Then you have to recompile youtube-dl.
In your bash terminal, set your current directory to the root folder of the youtube-dl master source code. For instance, if you downloaded the youtube-dl source code to your Downloads folder, you might have to set your current directory to "/Users/USERNAMEHERE/Downloads/youtube-dl-master" by typing "cd /Users/USERNAMEHERE/Downloads/youtube-dl-master" in your bash terminal.
Then enter the command "make" in your bash terminal. There will be an executable binary file created called "youtube-dl". Move that "youtube-dl" binary file to wherever your computer normally stores the youtube-dl binary file. Use the terminal command "which youtube-dl" if you need to find out where that is.

@touchhyuk I assume that you've already downloaded the youtube-dl master source code. You'll need to make the modifications to viu.py that are listed in my pull request.
Then you have to recompile youtube-dl.
In your bash terminal, set your current directory to the root folder of the youtube-dl master source code. For instance, if you downloaded the youtube-dl source code to your Downloads folder, you might have to set your current directory to "/Users/USERNAMEHERE/Downloads/youtube-dl-master" by typing "cd /Users/USERNAMEHERE/Downloads/youtube-dl-master" in your bash terminal.
Then enter the command "make" in your bash terminal. There will be an executable binary file created called "youtube-dl". Move that "youtube-dl" binary file to wherever your computer normally stores the youtube-dl binary file. Use the terminal command "which youtube-dl" if you need to find out where that is.

i cant run make command
got this error
C:\Users\Administrator\Downloads\youtube-dl-master>make
'make' is not recognized as an internal or external command,
operable program or batch file.

@touchhyuk I am sorry to hear that. I don't use Windows so I'm afraid I can't help with this particular problem. It seems to be a permissions issue. Please try asking on the Reddit or stack exchange page.
See this link:
https://stackoverflow.com/questions/55561387/how-to-rebuild-python-youtube-dl-from-the-source

@touchhyuk If you just want to run youtube-dl with python interpreter (which you have already downloaded), there is no need to recompile or rebuild a standalone exe. Just follow the developer instructions will work.

@panda130 @zackmark29 for your reference
In my country (HK), ut is also 0, area_id = 1, language_flag_id = 1 for zh-hk, 3 for en-us

@touchhyuk If you just want to run youtube-dl with python interpreter (which you have already downloaded), there is no need to recompile or rebuild a standalone exe. Just follow the developer instructions will work.

i cant please giive your discord id or telegram id

please someone fix youtube-dl.exe with viu.py and send here. i want downloaf from viu and tried a week but cant fix

please someone fix youtube-dl.exe with viu.py and send here. i want downloaf from viu and tried a week but cant fix

You could try to follow my instruction from this
https://github.com/ytdl-org/youtube-dl/issues/26788


add vim to container

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.667%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
418

Relevant Lines:
456

💛  - Coveralls


Fix unwrap tests for v9

This should fix the tests

Jenkins, test this please

Jenkins CI test (for commit 7f4467545e47e0e17b8295947a8248c5578ff6c5, target branch v9) succeeded!

🤔
@Mergifyio refresh


get scheduler lambdas to run

bludgeon things so that lambdas can talk to aurora via sqlalchemy
scheduled job to trigger events
some other fixes

@jeffreysilver gonna merge this so that I can build on top of it.


feature: app playground file navigation

Hi,
I'm experimenting with the app playground. It works fantastic and I've been able to customize it to our needs. There is just one issue which is that "Search workspace" and Ctrl+P doesn't seem to be able to navigate to existing files like it does in vscode. I've tested in the vanilla app playground app example and that's the case. Is there a straightforward way to make that work?

@kaisalmen I've tried by defining:
    function registerSearch() {
        const { getApi } = registerExtension(
            {
                name: "searchProvider",
                publisher: "codingame",
                version: "1.0.0",
                engines: {
                    vscode: "*",
                },
                enabledApiProposals: ["fileSearchProvider"],
            },
            ExtensionHostKind.LocalProcess,
            {
                system: true, // to be able to use api proposals
            }
        );

        getApi().then(async (api) => {
            console.log("Registering search provider");
            api.workspace.registerFileSearchProvider("file", {
                async provideFileSearchResults() {
                    console.log("XX");
                    return ["/workspace/foo.text"].map((x) => {
                        return vscode.Uri.file(x);
                    });
                },
            });
       }
      ```
      and calling registerSearch after `await wrapper.init(wrapperConfig)` in the main.ts of the playground but pressing Ctrl+P still doesn't allow doing quick navigation to `foo.text`

@rubenfiszel have you added the additional service override
https://github.com/CodinGame/monaco-vscode-api/blob/main/demo/src/setup.common.ts#L38
https://github.com/CodinGame/monaco-vscode-api/blob/main/demo/src/setup.common.ts#L423
and the additional worker?
https://github.com/CodinGame/monaco-vscode-api/blob/main/demo/src/setup.common.ts#L291


google-play-rollout-update 0.0.1

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[X] I will not move an already shared step version's tag to another commit
[X] I read the Step Development Guideline
[X] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[X] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[X] I read and accept the Abandoned Step policy

New Step
Thank you for the new Step share! The CI check might will fail due to our extended validation engine. Nothing to worry about yet, we will get back to you shortly.

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

Because of the commit hash issue, I suggest re-sharing the step: https://devcenter.bitrise.io/en/steps-and-workflows/developing-your-own-bitrise-step/sharing-steps-with-all-bitrise-users.html#fixing-issues-in-a-steplib-pull-request

I'll check the comments next week, since I am now on holidays. Thanks for the feedback

Check this one out: https://github.com/bitrise-io/bitrise-steplib/pull/3341


EasyFxml for commercial use

Is EasyFxml free for commercial use ?

Hi,
As per the https://github.com/Tristan971/EasyFXML/blob/master/LICENSE it is under the Apache 2.0 license which does allow free commercial use :slightly_smiling_face:
It doesn't even require contributing back the changes you made privately (although that would be hugely appreciated as I do not have a lot of time to cater to it these days).
The only thing it seems to require is some kind of notice of usage of the project somewhere (like an acknowledgments panel or something?) but I'm no lawyer and I don't personally have the will to try to enforce these things to be honest
Hope that answers


Auto complete for procedures

It would be nice to have auto complete for procedures. I'm missing it in MariaDB but no idea if it is missing somewhere else too.

Hi,
With PostgreSQL, it already works.

It works with MySQL/MariaDB as well. But you need to type first letter(s) of procedure name and press ctrl+space otherwise only table names will be shown.

I can't approve this @serge-rider. I always press CTRL+space in editors when I miss a suggestion but there is none: The results shown doesn't change after pressing this hotkey. I do not see my procedure suggested but I can call it successful.

Still can't reproduce. Please confirm it still doesn't work or close this ticket.

I'm not able to reproduce this as I do not work with MariaDB anymore at the moment. This issue is more than a half year old so I suspect that this is fixed and was somehow a side-effect.


USB connection problem with Jade

Hi, I'm running Arch Linux and I'm having some trouble with connecting Jade to green Wallet or even sparrow via USB.
After sudo usermod -a -G uucp yourusername the connection appear and everything works until  I'm trying to unlock the device then it stuck on "Checking" or the first time I tried to set it up it was then stuck on "persisting pin data". If I disconnect the usb the error message is "trouble connecting to the server". Look like Linux don't let Jade connecting to Blockstream?
This is what I tried already:
post_install() {
echo "================================================"
echo "Jade hardware wallet uses serial ports over USB"
echo "You need to add the wallet users"
echo "to the uucp group to access the serial ports:"
echo "sudo gpasswd -a  uucp"
echo "You will need to log out->log in to take effect"
echo "================================================"
}
Add your user to the dialout, plugdev, or uucp group using the following commands:
sudo adduser yourusername dialout or
sudo usermod -a -G dialout yourusername
sudo adduser yourusername plugdev or
sudo usermod -a -G plugdev yourusername
sudo adduser yourusername uucp or
sudo usermod -a -G uucp yourusername
Sparrow error message:

Thanks :)

The 'Persisting pin data' step should take a few seconds. If it's taking longer than say 10s then I'd say there's been some issue with networking comms between the app and the blind oracle, or between the app and the Jade.
If you have this repo locally, try running ./set_jade_pinserver.py - by default it won't take any action, but it should call jade to fetch version info - this will test the arch<->jade comms (to some degree).
You could also try running ./jade_auth.py - this will do the wallet/PIN-setup steps outside of any complex app.  If either case fails it'd be interesting to see the output.

Okay I think we got a little bit of an issue here long story short I got the exact same laptop one is a thinkpad X1 the other one is a cheap version of a thinkpad running AMD. I actually broke my X1 tonight so for science I tried with my work laptop both run Arch Linux both identical:
Install the app image of Green wallet then run the command:
"sudo gpasswd -a uucp"
Then
sudo usermod -a -G uucp yourusername
And to my surprise it actually worked... So I'm even more confused... Let me try to fix my X1 and I will get back to you ASNP... Very very weird situation I'm in...