need help:v.youku.com video can't download,An extractor error has occurred

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

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

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

[root@iZj6ceioczsoo4uge1anqqZ wwwroot]# youtube-dl --version
2018.03.10
Before submitting an issue make sure you have:

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[root@iZj6ceioczsoo4uge1anqqZ wwwroot]# youtube-dl   -i --skip-download   http://v.youku.com/v_show/id_XMjc4OTcwMDE5Ng==.html  --list-formats --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-i', u'--skip-download', u'http://v.youku.com/v_show/id_XMjc4OTcwMDE5Ng==.html', u'--list-formats', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.10
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-327.22.2.el7.x86_64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: none
[debug] Proxy map: {}
[youku] XMjc4OTcwMDE5Ng: Retrieving cna info
[youku] XMjc4OTcwMDE5Ng: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError(u'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 440, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youku.py", line 174, in _real_extract
    query=basic_data_params, headers=headers)['data']
KeyError: u'data'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 785, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 453, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'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.

---

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):
- Single video: https://www.youtube.com/watch?v=BaW_jenozKc
- Single video: https://youtu.be/BaW_jenozKc
- Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that **youtube-dl does not support sites dedicated to [copyright infringement](https://github.com/rg3/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free)**. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

---

### Description of your *issue*, suggested solution and other information

Explanation of your *issue* in arbitrary form goes here. Please make sure the [description is worded well enough to be understood](https://github.com/rg3/youtube-dl#is-the-description-of-the-issue-itself-sufficient). Provide as much context and examples as possible.
If work on your *issue* requires account credentials please provide them or explain how one can obtain them.
[root@iZj6ceioczsoo4uge1anqqZ wwwroot]# youtube-dl   -i --skip-download   http://v.youku.com/v_show/id_XMjc4OTcwMDE5Ng==.html  --list-formats --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-i', u'--skip-download', u'http://v.youku.com/v_show/id_XMjc4OTcwMDE5Ng==.html', u'--list-formats', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.10
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-327.22.2.el7.x86_64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: none
[debug] Proxy map: {}
[youku] XMjc4OTcwMDE5Ng: Retrieving cna info
[youku] XMjc4OTcwMDE5Ng: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError(u'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 440, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youku.py", line 174, in _real_extract
    query=basic_data_params, headers=headers)['data']
KeyError: u'data'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 785, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 453, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'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.

now still can't,my newest version is 2018.3.10,please tell me how to solve it.
在 2018-03-12 18:44:39，"Sergey M."<EMAIL_ADDRESS>写道：
Closed #15836.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

the youtube-dl has been the newest version, but still can’t download youku video as like the following url.
please tell me how to solve it!
[root@iZj6ceioczsoo4uge1anqqZ wwwroot]# /usr/local/bin/youtube-dl --version
2018.03.10
[root@iZj6ceioczsoo4uge1anqqZ wwwroot]#
[root@iZj6ceioczsoo4uge1anqqZ wwwroot]# /usr/local/bin/youtube-dl -i --skip-download http://v.youku.com/v_show/id_XMzQ0NDgyODQ0OA==.html --list-formats
[youku] XMzQ0NDgyODQ0OA: Retrieving cna info
[youku] XMzQ0NDgyODQ0OA: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError(u'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.
[root@iZj6ceioczsoo4uge1anqqZ wwwroot]# /usr/local/bin/youtube-dl -i --skip-download http://v.youku.com/v_show/id_XMzQ0NDgyODQ0OA==.html --list-formats --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-i', u'--skip-download', u'http://v.youku.com/v_show/id_XMzQ0NDgyODQ0OA==.html', u'--list-formats', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.10
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-327.22.2.el7.x86_64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: none
[debug] Proxy map: {}
[youku] XMzQ0NDgyODQ0OA: Retrieving cna info
[youku] XMzQ0NDgyODQ0OA: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError(u'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 440, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youku.py", line 174, in _real_extract
query=basic_data_params, headers=headers)['data']
KeyError: u'data'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 785, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 453, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'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.
在 2018-03-15 15:28:02，"dream4"<EMAIL_ADDRESS>写道：
now still can't,my newest version is 2018.3.10,please tell me how to solve it.
在 2018-03-12 18:44:39，"Sergey M."<EMAIL_ADDRESS>写道：
Closed #15836.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Add my details to the community json file

Hackathon Git Labs Project PR 🎉🎉
PR contains:
{
"name": "Pedro",
"course_start": "2021",
"course_stage": "Awaiting final grade",
"favorite_language": "Javascript",
"currently_learning": "Python",
"showcase": true
}
The guide is very clear and I had no problems doing a pull request.
Hacktoberfest 2022:

[ ] Does this PR follow the intermediate.md guide and submitted as part of Hacktoberfest 2022?

Please note, we cannot accept basic.md PR submissions for Hacktoberfest, it must be a custom HTML or CSS creation following the intermediate.md guide.
Breaking changes
None
Screenshots
None

This is fantastic stuff! Cannot wait to see your personal page!! 🥇 For a Valid Hacktoberfest PR, please submit a custom creation following along to the intermediate.md guide. See https://github.com/auxfuse/hackathon-git-labs/blob/main/intermediate.md


rx thread activate

This PR makes the use of struct rtp_source thread safe.
The RX thread in baresip calls this functions from main thread

rtcp_debug()
rtcp_stats()

Thanks! In the meanwhile I saw that we need more locks for RX thread. I'll look for a cleaner solution.
And then I also found: https://github.com/baresip/baresip/pull/2862


added external resource to readme

@mjhea0 I really like your article! However, I think links to external resources should be placed in their own articles section, not unlike how it is done in requests: http://docs.python-requests.org/en/latest/community/out-there/#articles-talks
If you could add header for Articles above your link, then we could make it the first curated article. :smile:

@pydanny updated - thanks!


[OpenCL] "Cannot allocate memory" issues on PPC64

Any OpenCL test run on our Power9 machine results in the following error (with my environment):
PYOPENCL_CTX="0:1" ./run_tests.py silx.opencl.test.test_addition.suite
[...]
OSError: [Errno 12] Cannot allocate memory

The reason is linked to scikit-cuda:

On one hand, scikit-cuda creates a CUBLAS context to get the version number when imported.
On the other hand, silx creates an OpenCL context on all present devices to pick the best one.

For some reason doing (1) then (2) succeeds, but doing (2) then (1) fails on Power9.
The following fails:
from silx.opencl.convolution import Convolution
from silx.math.fft.cufft import CUFFT

The following succeeds:
from silx.math.fft.cufft import CUFFT
from silx.opencl.convolution import Convolution

A workaround is to modify the order of imports.

The OpenCL contexts on all visible devices seem to be created when calling pyopencl.get_platforms().
This occurs on both our Power9 and DGX1 servers. It might be due to the nvidia-persistenced daemon.
For now I see no obvious bugfix apart from being careful in the imports order.


Orbitcontrols in combination with marker based AR

Do you want to request a feature or report a bug?
Request a feature
What is the current behavior?
Currently orbitcontrols is ignored completely if I add it using marker based AR.
What is the expected behavior?
Use orbitcontrols to control the camera "offset".
If this is a feature request, what is motivation or use case for changing the behavior?
I use marker based AR to display a product in 3D, the product rotates automatically but I would like the user to be able to zoom in/out and look at the bottom of the product if he wants to.

this would be great it's a feature missing both in AR.js and MindAR :(


ci: test with both release and debug builds

fixes https://github.com/envoyproxyx/envoyx/issues/18

waiting for the buildcontainer job to finish...


GH-15092: [CI][C++][Homebrew] Ensure removing Python related commands (again)

This is a bug at the same place as #15025 . We must remove 2to3-3.11  for this time.
==> Pouring<EMAIL_ADDRESS>Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.11
Target /usr/local/bin/2to3-3.11
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.11'

Closes: #15092

Thanks!


git sync failed

No real idea as to why but the trace is here:
Pushing commits to the server.
Restoring local changes.
Traceback (most recent call last):
File "/usr/local/bin/legit", line 9, in
load_entry_point('legit==0.1.1', 'console_scripts', 'legit')()
File "/Library/Python/2.7/site-packages/legit/cli.py", line 45, in main
cmd_map.get(arg).call(args)
File "/Library/Python/2.7/site-packages/legit/cli.py", line 162, in cmd_sync
status_log(unstash_it, 'Restoring local changes.', sync=True)
File "/Library/Python/2.7/site-packages/legit/cli.py", line 80, in status_log
log = func(_args, *_kwargs)
File "/Library/Python/2.7/site-packages/legit/scm.py", line 99, in unstash_it
'stash', 'pop', 'stash@{{0}}'.format(stash_index)])
File "/Library/Python/2.7/site-packages/git/cmd.py", line 377, in execute
raise GitCommandError(command, status, stderr_value)
git.exc.GitCommandError: 'git stash pop stash@{0}' returned exit status 1:

duplicated by #35


Added A simple project of  Bank Management System In C .

It is a simple bank management system made using C language. It is a beginner-friendly project which is easy to learn and understand

@TammyAlok2 can you please review it and merge.
And while merging please label it as hactoberfest. Also it is the PR concerned with issue #97

Congratulation your pr is successfully merged make sure to star the repo
kindly help me by registering yourself in mood indigo
Link : https://my.moodi.org/
referal code : CCP62216
make sure to share with freinds as well


Fix process definition details for using FormLabel instead of Label.

@nmirasch, could you please have a look, thanks.

+1


feat: Fiat-Shamir transcript using a short hash

Description
Implement gnark-crypto compatible Fiat-Shamir transcript using a short MiMC hash for proof recursion.
Related #847
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How has this been tested?

[x] Transcript test with 2-chains
[x] Transcript test with field emulation

How has this been benchmarked?
Not benchmarked
Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I did not modify files generated from templates
[x] golangci-lint does not output errors locally
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

One existing Fiat-Shamir test still failing, looking into it.

Hmm, I think I'm still missing correct marshalling of zeros for emulated targets. Will add.


Issues with preload cache

Godot version
4.2 rc1
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>3) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
When you preload() a script or a scene (or possibly anything else), that resource will stay in memory in its original form and it's difficult to remove or update it. This leads to all sorts of issues, particularly when the initial loading fails the resource will be broken until editor restart or in worst case until the user performs some magic to fix the cached version (when restarting doesn't work).
Here's the list of issues caused by this behavior:

[ ] https://github.com/godotengine/godot/issues/84981
[ ] https://github.com/godotengine/godot/issues/79840
[ ] https://github.com/godotengine/godot/issues/80324
[ ] https://github.com/godotengine/godot/issues/81498
[ ] https://github.com/godotengine/godot/issues/81615

These two issues are solved, but they were related, so adding for context:

[x] https://github.com/godotengine/godot/issues/72854
[x] https://github.com/godotengine/godot/issues/80812

Related PRs (they don't fix the problem, but band-aid it partially):

https://github.com/godotengine/godot/pull/84167 - helps reloading broken scenes
https://github.com/godotengine/godot/pull/85037 - prevents corruption issues when moving class files

Steps to reproduce

Use preload()
Pray it won't cause problems (it will 😉)

Minimal reproduction project
N/A

Potential candidates to add to the tracker, or close as duplicates of other issues:

#79545
#85902
#85907

Changing all preloads to load seems to be a viable workaround for now.
My project doesn't seem to be corrupting the scenes anymore with that change.

It seems very relative to this.
Simple scene with only Line2D root node and attached script:
extends Line2D
class_name FishingLineScene

const FISHING_LINE: PackedScene = preload("res://scenes/player/fishing/fishing_line.tscn")

static func createScene() -> FishingLineScene:
  var scene: FishingLineScene = FISHING_LINE.instantiate()
  return scene

func add_point_from_global(global_point: Vector2) -> void:
  self.add_point(self.to_local(global_point))

In 4.3dev5:
When project loaded:
 scene/resources/resource_format_text.cpp:291 - Parse Error: Busy. [Resource file res://scenes/player/fishing/fishing_line.tscn:8]
  Failed loading resource: res://scenes/player/fishing/fishing_line.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  res://scenes/player/fishing/fishing_line.gd:4 - Parse Error: Could not preload resource file "res://scenes/player/fishing/fishing_line.tscn".
  modules/gdscript/gdscript.cpp:2859 - Failed to load script "res://scenes/player/fishing/fishing_line.gd" with error "Parse error". (User)

Scene succesfully opened in editor and work at runtime
In 4.2.1:
Error output when project reloaded:
Failed to instantiate scene state of "res://scenes/player/fishing/fishing_line.tscn", node count is 0. Make sure the PackedScene resource is valid.
Error message box when this scene opened:

But running project with F5 works well, even creating this scene.
A working analog without any errors for both versions is using below instead const and preload:
static var FISHING_LINE: PackedScene = load("res://scenes/player/fishing/fishing_line.tscn")

Here's another issue with cyclic scene references. That is still happening in 4.3-dev5 (mono)
Not sure if this is being tracked here. Or if it should be in #83187
I can set a PackedScene @export var in scene 1.tscn to 2.tscn
And a PackedScene  @export var in scene 2.tscn to 1.tscn
Everything still works.
I can save, close, and re-open the scenes without problems.
But after reloading the project, the scenes can't be opened again and are corrupt due to the cyclic reference
I think that behavior might take a few people by surprise due to only happening after the reload.

I started getting this issue in one of my scenes after upgrading my main project to v4.3.stable.official [77dcf97d8].
Nuking the .godot folder and reimporting everything didn't fix it. Changing the line which loads the affected packed scene from const foo = preload(...) to var foo = load(...) fixed it.
Another thing that fixed it is basically similar to what others have suggested to do in this case - i duplicated the affected scene and the script attached to that scene, then used a text editor to change the script reference in the scene copy to the copy of the script, and then changed the preload() call to the path of the copy. IIRC, I didn't even restart the godot editor when I did that.

I encountered this in 4.3.stable too, and it seems like it's a recent regression since I had a similar setup in 4.3.beta3 but no crash. Godot told me that "I can't assign something of type LineEdit to be a BetterLineEdit" when the node was very much of type BetterLineEdit. So I got bad error reporting and had to investigate it myself.
I commented out everything with ContextPopup inside the BetterLineEdit code, the error disappeared. Then I commented out stuff in my ContextPopup class_name, and continued on. What I got was the following:

BetterLineEdit class_name references the ContextPopup class_name.
ContextPopup references a HandlerGUI singleton.
The HandlerGUI singleton preloads a settings menu scene.
The settings menu scene has a script which preloads another scene, which preloads yet another scene of a dropdown widget.
The dropdown widget scene has a script which contains BetterLineEdit.

I broke the chain by making the singleton not use preloads, and the crashes stopped. Maybe the crash itself is valid, but Godot shouldn't have given me a bogus error.

Closing. The tracker was listing issues related to "preload cache", which I think is no longer a thing. All originally linked issues have been resolved and the others aren't related to this particular problem.

@KoBeWi where is this issue tracked now?

Open a new issue. It might have different cause.

I was seeing an error similar to the one reported by https://github.com/godotengine/godot/issues/85081#issuecomment-2014119745 so I opened a new issue here: #97684


⚠ Fortnite has degraded performance

In eab9c4f, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1732 ms

Resolved: Fortnite performance has improved in 22f562c.


Missing ECDSA signature verification checks

The Caliptra ECC hardware only calculates an expected R value, it does not do full ECDSA verification.
The firmware driver needs to do the following additional checks

Check that r and s are in the range [1, n-1] where n is the curve order
Check that the supplied public key is a valid point on the curve

Without these checks, the current implementation returns success for invalid signatures at these edge cases.

This is done in https://github.com/chipsalliance/caliptra-sw/pull/377


 However, when I click somewhere else to dismiss IntelliSense, and then click back at the end of the text and re-trigger it again it works fine. See the images for a comparison between Stable and Insiders.
Expected behaviour (Stable/Insiders after re-triggering IntelliSense)

Actual behaviour

Insiders VSCode Version:  1.53.0-insider (system setup) (7b0cfdd04ad530a9c8d782c618afd79290be3d64)
Stable VSCode Version:  Version: 1.51.1 (user setup) (e5a624b788d92b8d34d1392e4c4d9789406efe8f)
OS Version: Windows_NT x64 10.0.19041

Steps to Reproduce:

Open a TypeScript project
Reference something with the . character and start typing

Does this issue occur when all extensions are disabled?: Yes

To verify: make sure use TS/JS or any completion provider that uses the filterText-property. In that case we score against a string that we don't show and then we "guess" highlights.
A good sample (JS) in console.. When it triggers completions for console make sure the highlight are good

To verify: make sure use TS/JS or any completion provider that uses the filterText-property. In that case we score against a string that we don't show and then we "guess" highlights.
A good sample (JS) in console.. When it triggers completions for console make sure the highlight are good


Auto-detects EndpointSlice support via apimachinery

Auto-detects EndpointSlice support via apimachinery instead of
version-matching.
For some clusters (e.g., gke-1.17.5), EndpointSlice is disabled although
the cluster version is >= 1.17. In those cases, version-matching would
turn on endpointslice controller while that api is not available,
resulting in cilium agent not functioning.
Signed-off-by: Weilong Cui<EMAIL_ADDRESS>

Coverage decreased (-0.007%) to 44.627% when pulling 48fde7dcf44f1e360f6e3da3f80d73cff6cc1ab8 on Weil0ng:eps-detect into ebe156fd7ce87cadaf4cacf3b1cfe151bf9a51d4 on cilium:master.

test-me-please


Add network golden metric for OTEL hosts

Relevant information
This is another attempt at defining the network golden metrics for OTEL hosts.
Checklist

[ ] I've read the guidelines and understand the acceptance criteria.
[ ] The value of the attribute marked as identifier will be unique and valid.
[ ] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

This definition doesn't seem to work as expected after testing it in staging


Regex FilterByFormula in Select Options not Working

Describe the bug
When I try and use a regex formula filter per Airtable's supported formula elements I get no records back. Just wanting to confirm whether or not AsyncAirtable allows for the regex formula to be included in the filterByFormula field for select options before I try and debug my code any further. Thanks!
To Reproduce
Steps to reproduce the behavior:
const selectOptions = {
fields: ['Name', 'Region'],
filterByFormula: REGEX_MATCH(ARRAYJOIN({Teachers}, ", "), "${userName}")
}

Hi, sorry for the delay in response, let me give this a test to be sure, but all I do is URIencode that string and slap it into a query param when I make the API request to airtable, so it should work. I'll take a look and get back to you.

Hey there, so I pushed this into the next branch. Can you install asyncairtable@next and let me know if you're still having this issue?


Model attributes are empty, in relationship method, over the api.

I have relationship defined on WorkoutResults model
public function unfinishedExercises()
    {
        $exercises = $this->exercises();
        $id = $this->id;

        return $exercises->whereDoesntHave('exercisesResults', function ($query) use ($id) {
            $query->where('workout_result_id', $id);
        });
    }

In WorkoutResultSchema, I define the relationship field
HasMany::make('unfinished_exercises', 'unfinishedExercises')->type('exercises'),
The issue I'm facing:

$this in the unfinishedExercises method is an empty model.
Consequently, $this->id is null, so the filtering in the whereDoesntHave clause doesn't work as expected.

After some debugging, I found that the problem only occurs when this relationship is requested over the api.
When using the relationship in tinker, $this is defined correctly, and the filtering works as expected.
If I request this relationship from workout-results/:id?include=unfinished_exercise endpoint, the filtering doesn't happen,  I get all exercises.

Hi. Yeah I don't actually think this does work in Tinker. It would need to work via Eager Loading in Tinker.
What happens if yo try this in Tinker:
$models = WorkoutResult::query()->with('unfinishedExercises')->get();

Basically, you can't use $this->id in a relationship method, as the relationships are not always loaded from a specific model - otherwise you'd get N+1 problems.


Connection parameters 'sslaccept=accept_invalid_cert' is not working

Bug description
Hi,
Digital Ocean databases use unsigned SSL certificate with SSL required only.
The connection parameters 'sslaccept=accept_invalid_cert' is not working
Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
    at TLSSocket.emit (events.js:315:20)
    at TLSSocket._finishInit (_tls_wrap.js:932:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12) {
  code: 'SELF_SIGNED_CERT_IN_CHAIN'
}

How to reproduce
Create a Digital Ocean postgress database
Expected behavior
No response
Prisma information
N/C
Environment & setup

OS: OSX 10.13.6
Database: PostgreSQL
Node.js version:

Prisma Version
"@prisma/client": "^2.24.1",
"prisma": "^2.24.1",

Same issue with another heroku PostgreSql on public network "?sslmode=require&sslaccept=accept_invalid_certs" did nothing

Hello,
I am unable to reproduce this. Also, can you make sure these error are coming from Prisma not something else that you use in your app.
I am asking because we do the TLS communication in Rust in Prisma while the stacktrace suggest a javascript TLS library is being used.
Also, try again with the latest Prisma version once.

6 months later no further information, so I think we can consider this closed.
If this ever happens again, please comment here or even better - create a new issue. Thanks.


Add ability to stash block for later use/development

Currently, 3 levels exist where a block can be: local workspace (downloaded), workspace cache (installed), or a market (available). A block can only be released to a market if it has a remote repository configured, so the market can use that repository to get the project.
A 4th level shall exist kind of between the workspace cache and all markets. This is the stash. Stashing a project does not require a remote repository nor a block to have a market. It will zip up the contents of the block and save them to the workspace's stash/ directory.
Blocks in the stash are not available for usage nor development, but can be later popped/grab from the stash as a download or installation if the block is needed again.
This provides a way to not explicitly set up a market and/or bypass the requirement of having a remote repository for market/availability-like features.
Blocks that are in a market can also be stashed.
Extra Thought: If a remote repository is tied to the stashed block, automatically pull down any changes when popping from the stash.

Question: Should the stash be a workspace-level folder or a globally visible folder among all workspaces?

The stash will occur as a flag for the del command:
legohdl del lab1 -stash
Before deleting the project, it will become a zip archive, preserving all files and states (uncommitted changes, etc.). Additional details will be added to the block metadata to allow the user to see what details exist (like the AVAIL level), and the zip archive along with the metadata file will be moved to the stash/ folder.


Add explicit werkzeug dependency

Fixes #1149.
Changes proposed in this pull request:

add explicit werkzeug dependency
set lower version bound to 1.0 - I'm not sure if there are earlier versions that would break things.
set upper version bound to 2.0 - Any breaking changes could be bad.

Coverage increased (+0.2%) to 97.04% when pulling ba9a91ba6265866c110a6e098e954969b25eb381 on patrickkwang:patch-1 into 1ed14fbde5be3d144760fec4982e90064f151e88 on zalando:master.

:+1:


Fixing a bug with FreeLoopBodyJobManager

Need to reset FreeLoopBodyJobManager::waitingForStackJob when stack job is processed.

@LouisLaf please review.

ping :)

:shipit:


Improve autocomplete look and add animations

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


Revisit CSS object model groupings

In #1999 and #2000 (and others), we grouped many CSS object model related keys. To quote @ddbeck-

It'd be nice to know whether we need/want another model for this information (e.g., sharing keys, showing "dependent" feature relationships, etc.).

@ddbeck Was this closed intentionally?

It was not. Thank you for catching that.


add option to set subdir on the PVC volume mount

One thing that needs to be vetted: Does Launcher / the job launching process handle this subdir properly (and subdir below it?)... or will we need to pass this sub-directory along somehow?
Also need to:

bump chart versions
add NEWS entries

Tested a bit and things look good!


nodemon shouldn't be installed as global dependency

Adding nodemon as dev dependency in the package.json should enable users to run this code without have to figure out why npm start return errors.
BTW, yarn doens't come with node by default... so a disclaimer should appear somewhere in the readme.

Thanks :)


DoIP Diagnostic-over-IP

Any plans to support this with your VI ?

That would require additional hardware (ethernet phy) so it would
basically be a new VI.  Could be a fun project though.  :)
Is there a production vehicle using ethernet yet?  I don't think Tesla
counts...
lee
On Wed, 9 Mar 2016, hackrid wrote:

Any plans to support this with your VI ?
?
Reply to this email directly or view it on
GitHub.[AFGY2DAs3qQTBJ-5vbv3GlIddmFiVDimks5prs6ogaJpZM4Hsvcj.gif]

Volvo XC60 for example.

Sorry, no current plans to support DoIP in the near future.


Update tables

For this PR, I did the following changes:

Added new column 'species'.

Inserted new animals data.

Created the following transactions:

First:

Second:

Third:

Fourth:

Before rollback to savepoint:

After rollback to savepoint:

Answer questions using queries:

How many animals are there?

How many animals have never tried to escape?

What is the average weight of animals?

Who escapes the most, neutered or not neutered animals?

What is the minimum and maximum weight of each type of animal?

What is the average number of escape attempts per animal type of those born between 1990 and 2000?

Thanks @amejid ! I made the required changes, thanks again for the feedback.


Proxy authentication error in 23.3.1

Description
I updated to 23.3.1 today. When I wanted to install new software, I got a proxy authentication error.  I've verified my proxy password.  I also noticed that the proxy settings in Network connections disappeared. I had to downgrade back to 23.3.0.
DBeaver Version
Community Edition 23.3.1
Operating System
Windows x64
Database and driver
Apache Hive 1.2.1<IP_ADDRESS>.0-292 Driver: Hive JDBC 2.0.0
Steps to reproduce

I updated to 23.3.1 today.
When I wanted to install new software, I got a proxy authentication error.

Additional context
https proxy

Thank you for bug report. It's a duplicate of #22248
The settings page has been returned back and will be available in the next release. You can try early access version with fix https://dbeaver.io/files/ea/

Returning back Network Connection settings page didn't help https://github.com/dbeaver/dbeaver/issues/22248#issuecomment-1880836324

In org.eclipse.equinox.p2.core.ProvisionException, Proxy authentication error: HTTP Proxy authentication required

Thanks for the report, the current issue require a sufficient amount of time for investing and revising. So, we want to know how many people really experience this. Please, vote for the issue with 👍 under the issue description to promote it to a higher priority.

I've checked the issue.  It's still there in 23.3.5.  I've voted.

The issue is still there in 23.4.0.
Moreover, when upgrading to a new version of DBeaver, the host and port settings in Network connections gets lost.  Should I open another issue for this?

As a workaround I tried editing "/usr/share/dbeaver-ce/jre/conf/net.properties" (Linux install) and commenting the line "jdk.http.auth.tunneling.disabledSchemes=Basic" and the proxy authentication inside Dbeaver began working again. I think this line was introduced recently perhaps for security reasons but some users still need this type of authentication.


Please update samples for .Net 6.0

Please update .Net 4.0 samples to .Net 6.0 (LTS)
Presently, .Net is at v5.0 (current) and will move to v6.0 after February 2022. So, this code is outdated and will not run correctly on the newer versions of .Net.
When run on VS2022, the code samples claims that the target framework is not supported. Then, prompts the user to either download the targeted .Net 4.0 framework, to run with .Net 4.8 (upgrade), or to abandon running the samples. The download option leads to a dotnet sdk page, where 4.0 is missing or not available. Upgrading is seemingly done in place but the application crashes at several points during running.
Also worth noting is that Vs2022 does not offer the option to install v4.0 of .Net when modified!

Issue metadata

Issue type: sample-update

Yes, any code which relies on .NET 4.0 targeting is not usable nowadays as Microsoft remove all the SDKs for it. Sample should be updating with currently supported .NET libraries.

Any updates on this? I have not been able to get MSTest to work with VSCode:
https://github.com/dotnet/samples/tree/main/core/getting-started/unit-testing-using-mstest

I believe this has been addressed, we've been using the .NET Version Sweeper to track out-of-support projects and updating them monthly. Closing this... https://github.com/dotnet/samples/issues?q=is%3Aissue+label%3Adotnet-target-version+is%3Aclosed


Add toggle functionality

Adds a toggle on/off command, which takes into account the mode that was previously selected.
Addresses #33

I initially upgraded the packages with npm audit fix, but I saw that a dependency changed its dependencies so I thought it best to leave it to you.

Sure, I merged your PR and hope that would work fine for you :)


pull utility functions into a common module

we've started using the cloudformation helpers from setup in a few different places, and I could see this continuing in the future for other commands (e.g. w/ #26). it might be more maintainable to pull out cloudformation utilities (and maybe even the various ssh commands) into a shared module

PR: https://github.com/capeprivacy/nitrogen/pull/62


Add stack update command which doesn't require access to the app source code

What's the user value of this feature request?
Enable CF app operators with CF CLI commands to update the stack of an application without having access to the source code of the application.
Who is the functionality for?
CF app operators
How often will this functionality be used by the user?
When a CF stack update is required
Who else is affected by the change?
This shouldn't have any side affects to existing functionality
Is your feature request related to a problem? Please describe.
With the current CF CLI commands it is not possible to update the stack of an application without having access to its source code. Only cf push offers an option to update the stack of an application.
Describe the solution you'd like
I would like to have an update-stack command supported by the CF CLI
Describe alternatives you've considered
An alternative is:

use the CF APIs to update the app stack

cf curl "/v3/apps/<app-guid>" -X PATCH -H "Content-type: application/json" -d '{
    "lifecycle": {
      "type": "buildpack",
      "data": {
        "stack": "cflinuxfs4"
      }
    }
  }'

restage the applicaiton cf restage <app-name>

Another alternative is to use the stack-authitor plugin. Unfortunately, it is not using the V3 APIs and installation of plugins could be an issue in some OPs environments.

I'd favor something like cf update-app my-app --stack=cflinuxfs4 vs having a specialized command for changing app stacks.
Related Slack thread from a few years back: https://cloudfoundry.slack.com/archives/CDVP0651P/p1590778704098900

I like it better. It also opens the door for other "updates" if needed.

Hi @beyhan. Will discuss this request with the team and get back to you.


Translate bits and data articles

Hey! As my first contribution here I started translating those two articles. If you have any comments or sugestions for future work just let me know.

Hi. I am going to leave some comments in general, but not all of them are important. Please feel free to comment back, ignore them or make adjustments.


[SHRINKDESC-156] Create descriptor for jboss-deployment-structure.xml

This PR includes jboss-deployment-structure file support.
Regards,
Ralf

e650ff636d90a4c00be91980c281ba959a9e8dc0

Merged into 2.0.0-X


Handling escaped json strings

:wave:
cgltf doesn't decode encoded json strings, leaving escaped characters (some whitespace, unicode codepoints, etc.) in names. I've implemented this outside of cgltf, but I feel like this is inherently a library task to deal with the underlying format's string encoding.
Would you accept a PR that adds a function to perform the string decoding? This would be an entirely optional function to use in-place (similar to cgltf_decode_uri) on user-facing strings (mostly names and URIs). The glTF spec guarantees that a valid glTF file doesn't use encoded strings for keys and enums, so no changes needed to parsing code.
For reference, the allowed escape characters:

Sure, that sounds like a good idea. Feel free to submit a PR for that. :+1:

PR adding this is merged. Thank you!


Bug: 'Vue is not defined' in every test

Describe the bug
Updating from "@vue/test-utils": "2.0.0-rc.21" to "@vue/test-utils": "2.0.0" breaks all tests, stating in everyone the next error:
ReferenceError: Vue is not defined

The error doesn't point to anywhere in particular or is like broken, because the line it points to is an empty one and if remove the content of the file it still breaks there.
ReferenceError: Vue is not defined

      14 |   useStore: () => null,
      15 | }));
    > 16 |
         | ^
      17 | config.global.plugins = [Equal];
      18 |
      19 | config.global.mocks = {

To Reproduce
I don't know how to reproduce this, only know that it happened after updating this libraries:
-        "jest": "27.5.1",
+        "jest": "28.1.0",
+        "jest-environment-jsdom": "28.1.0",
-        "ts-jest": "27.1.3",
+        "ts-jest": "28.0.4",

Expected behavior
All tests should pass as they are doing in the version 2.0.0-rc.21.
Related information:

@vue/test-utils version: 2.0.0
Vue version: 3.2.36
node version: 16.14.0
npm (or yarn) version: Yarn 1.22.17 and NPM 8.3.1

Additional context
My project is using TypeScript.

Duplicate of #1525
Try this solution here https://github.com/vuejs/test-utils/issues/1525#issuecomment-1134620421. Otherwise feel free to reopen this issue.

Sorry, I forgot to remove the is:open from the issues filter while searching 😓


Strange errors with Bluetooth / onboarding

The Bluetooth / gateway-config setup seems to be very temperamental in the following ways:

after connecting to several devices with Bluetooth on an iPhone (haven't tried the same on Android), it seems the cache on either the iPhone or the device gets confused and stops allowing connections. You get the error Service 0fda92b2-44a2-4af2-84f5-fa682baa2b8b for device ? not found see screenshot below... This happens continuously until you reset the iPhone and the Hotspot itself
trying to set up multiple hotspots at once can cause issues with with the device somehow getting confused as to which device it is talking to. Relates to https://github.com/helium/hotspot-app/issues/636 but not sure if there's a way we can improve this on our end somehow
after connecting to a hotspot once and trying to onboard it but failing with an error code, it sometimes refuses to reconnect over Bluetooth even though the LED on the Hotspot is still blinking
sometimes fails to populate WiFi networks even though in range and turned on. But no error code or failure message
error codes with characteristic errors from https://github.com/helium/gateway-config/blob/54b7c642b212e3bb6ee6234dea01b310cfbda296/src/gateway_gatt.hrl and https://github.com/NebraLtd/hm-config/blob/master/config-python/uuids.py are pretty terrible. Would be great if we could have some more meaningful error messages

Forgot the screenshot...

Re the last bullet point on error messages it looks like the helium app does contain some useful error messages that we can pass:
https://github.com/helium/hotspot-app/blob/034794311959155b7cfd67d59ee1f513375b5432/src/locales/en.ts#L284-L344
Will just need to add the proper error handling on our side so it passes the correct info back to the app.
We can also pass an error message for example if the miner needs a mandatory update before onboarding etc in relation to https://github.com/NebraLtd/hm-pyhelper/issues/2 and https://github.com/NebraLtd/hm-diag/issues/89


fix: sufficient contrast (resolves #1739)

[ ] This pull request has been linted by running npm run lint without errors
[ ] This pull request has been tested by running npm run start and reviewing affected routes
[ ] This pull request has been built by running npm run build without errors
[ ] This isn't a duplicate of an existing pull request

Description
Contrast ratio should be at least 4.5:1

suggest changing to black and underline as per https://handbook.floeproject.org/


[scalability]  TestScalability/WorkloadClasses/large fails occasionally

/kind flake
What happened:
The scalablity test fails occasionally. Example failed build: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/2642/pull-kueue-test-scheduling-perf-main/1816858084459417600
If this is not a systematic regression (it does not seem so), then probably bumping the threshold is ok,
What you expected to happen:
No random failures.
How to reproduce it (as minimally and precisely as possible):
Probably run a branch build on CI.
Anything else we need to know?:
failure message:
{Failed  === RUN   TestScalability/WorkloadClasses/large
    checker_test.go:117: Average wait for admission 11213ms is more then expected 11000ms
--- FAIL: TestScalability/WorkloadClasses/large (0.00s)

/cc @trasc

This is a duplicate of #2708

Ah, I missed it, thanks
/close


Alternative to np.repeat?

I tried to use .repeat to repeat a 1D array, but found it's missing from MLX at the moment.
I tried making a similar function, making use of a list for the cloning, but MLX doesn't seem to like this either.
def mlx_repeat(x, n):
    return mx.array([x for _ in range(n)])

# "ValueError: Invalid type in array initialization<class 'mlx.core.array'>."

Any ideas on the easiest / most efficient way to compute a repeat of an array with MLX at the moment?

@harryjulian you are looking for the concatenate op. We also have a stack if that's useful.
Would be great to put a repeat as a core op. Maybe someone could contribute it!

@awni Hey sorry to bother you, but I would love to contribute to this can you please move me in the right direction, somewhat new to this.
are we expecting the same behavior as numpy.tile function?

@awni I also like to work on the same. Can you please provide a bit more context so I can add the relevant code? Thanks in advance!

Here is the function we'd like to implement: https://numpy.org/doc/stable/reference/generated/numpy.repeat.html
So the same behavior is that

Would an operation like this need to be implemented under the hood or just on top of the existing Python bindings?

The way to do it is as a C++ op (which uses other C++ ops like reshape, concatenate, etc) with a binding to python. We don't implement functions in pure python in mlx.core

To repeat the instances of  nn.Module is also in common use. Will the operator be build-in?

To repeat the instances of nn.Module is also in common use.

@0x1orz What do you mean by that? Can you give an example?

In PyTorch, I reused a  module copy like:
from copy import deepcopy
repeat = lambda module, n: [deepcopy(module) for _ in range(n)]

from torch import nn
layer = nn.Linear(2,3)
layers = repeat(layer, 2)
for layer in layers:
    layer.reset_parameters()

while in MLX,
import  mlx.nn as mlx_nn
mlx_layer = mlx_nn.Linear(2,3)
mlx_layers = repeat(mlx_layer, 2)

that  raised, TypeError: cannot pickle 'mlx.core.array' object.

Ah that makes sense. Since that's such a different thing from mlx.core.repeat let's make a separate issue for it. Something like "Enable nn.Module with Python copy" (which might require making them pickle-able)

We added repeat in #278. Will be in the next release.


Replaced master_address & master_port with main_address & main_port

What does this PR do?

Fixes #8774
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Yes
Make sure you had fun coding 🙃

@alli1999 could you check my notes here in this comment?
We want to keep the old methods, but deprecate them.
Here is an example of a deprecated method.

Okay I think I got it now. So I'll create new methods with the new names and add comments in the old methods stating it is deprecated and to use the new method names. One question is will the new methods be created in the same scripts as the old one's? Another question, the code in all these methods won't change right?

Okay I think I got it now. So I'll create new methods with the new names and add comments in the old methods stating it is deprecated and to use the new method names. One question is will the new methods be created in the same scripts as the old one's? Another question, the code in all these methods won't change right?

Dear @alli1999,
Here are some indications to get you started:
# Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from abc import ABC, abstractmethod
from pytorch_lightning.utilities.model_helpers import is_overridden

class ClusterEnvironment(ABC):
    """Specification of a cluster environment."""

    @abstractmethod
    def creates_children(self) -> bool:
        """Whether the environment creates the subprocesses or not."""

    @abstractmethod
    def master_address(self) -> str:
        """The master address through which all processes connect and communicate."""

    @abstractmethod
    def master_port(self) -> int:
        """An open and configured port in the master node through which all processes communicate."""

    @abstractmethod
    def main_address(self) -> str:
        """The master address through which all processes connect and communicate."""

    @abstractmethod
    def main_port(self) -> int:
        """An open and configured port in the master node through which all processes communicate."""

    @abstractmethod
    def world_size(self) -> int:
        """The number of processes across all devices and nodes."""

    @abstractmethod
    def set_world_size(self, size: int) -> None:
        pass

    @abstractmethod
    def global_rank(self) -> int:
        """The rank (index) of the currently running process across all nodes and devices."""

    @abstractmethod
    def set_global_rank(self, rank: int) -> None:
        pass

    @abstractmethod
    def local_rank(self) -> int:
        """The rank (index) of the currently running process inside of the current node."""

    @abstractmethod
    def node_rank(self) -> int:
        """The rank (index) of the node on which the current process runs."""

    def teardown(self) -> None:
        """Clean up any state set after execution finishes."""
        pass

# for all `ClusterEnvironment` in Lightning, we can already to the change as it is internal to the library.
class LightningEnvironment(ClusterEnvironment):

    def __init__(self):
        super().__init__()
        self._master_port = None
        self._global_rank: int = 0
        self._world_size: int = 1

    def creates_children(self) -> bool:
        """
        Returns whether the cluster creates the processes or not.
        If at least :code:`LOCAL_RANK` is available as environment variable, Lightning assumes the user acts as the
        process launcher/job scheduler and Lightning will not launch new processes.
        """
        return "LOCAL_RANK" in os.environ

    def main_address(self) -> str:
        return os.environ.get("MASTER_ADDR", "<IP_ADDRESS>")

    def master_port(self) -> int:
        if self._master_port is None:
            self._master_port = os.environ.get("MASTER_PORT", find_free_network_port())
        return int(self._master_port)

# for external users with their own `ClusterEnvironment`

class ExternalClusterEnvironment(ClusterEnvironment):

    def main_address(self) -> str:
        return os.environ.get("MASTER_ADDR", "<IP_ADDRESS>")

    def master_port(self) -> int:
        if self._master_port is None:
            self._master_port = os.environ.get("MASTER_PORT", find_free_network_port())
        return int(self._master_port)

# Here, https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pytorch_lightning/trainer/connectors/accelerator_connector.py#L724

We could add the following logic.

cluster_environment = ExternalClusterEnvironment()

    method_name: str,
    instance: Optional[object] = None,
    parent: Optional[Type[object]] = None,
    model: Optional[Union["pl.LightningModule", "pl.LightningDataModule"]] = None,

if not is_overridden("main_port", cluster_environment, ClusterEnvironment):
    warning_cache.deprecation(
        "The `ClusterEnvironment.master_port` method is deprecated in v1.5 and will be removed in v1.7. "
        "Use `ClusterEnvironment.main_port` instead.",
        stacklevel=6,
    )
    cluster_environment.main_port = cluster_environment.master_port

if not is_overridden("main_address", cluster_environment, ClusterEnvironment):
    warning_cache.deprecation(
        "The `ClusterEnvironment.master_port` method is deprecated in v1.5 and will be removed in v1.7. "
        "Use `ClusterEnvironment.main_port` instead.",
        stacklevel=6,
    )
    cluster_environment.main_address = cluster_environment.master_address

@awaelchli Do you confirm the approach ?

Thanks alot @tchaton it really helps!

Is this how it's suppose to be done?
Copyright The PyTorch Lightning team.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
import os
import socket
from pytorch_lightning.plugins.environments.cluster_environment import ClusterEnvironment
from pytorch_lightning.utilities import rank_zero_only
class LightningEnvironment(ClusterEnvironment):
"""
The default environment used by Lightning for a single node or free cluster (not managed).
There are two modes the Lightning environment can operate with:

1.  The user only launches the main process by :code:`python train.py ...` with no additional environment variables
    set. Lightning will spawn new worker processes for distributed training in the current node.
2.  The user launches all processes manually or with utilities like :code:`torch.distributed.launch`.
    The appropriate environment variables need to be set, and at minimum :code:`LOCAL_RANK`.

If the master address and port are not provided, the default environment will choose them
automatically. It is recommended to use this default environment for single-node distributed
training as it provides a convenient way to launch the training script.
"""

def __init__(self):
    super().__init__()
    self._master_port = None
    self._global_rank: int = 0
    self._world_size: int = 1

def creates_children(self) -> bool:
    """
    Returns whether the cluster creates the processes or not.
    If at least :code:`LOCAL_RANK` is available as environment variable, Lightning assumes the user acts as the
    process launcher/job scheduler and Lightning will not launch new processes.
    """
    return "LOCAL_RANK" in os.environ

def master_address(self) -> str:
    return os.environ.get("MASTER_ADDR", "<IP_ADDRESS>")
    """
    Summarize this LightningModule.
    .. deprecated:: v1.5
        "The `ClusterEnvironment.master_address` method is deprecated in v1.5 and will be removed in v1.7. "
        "Use `ClusterEnvironment.main_address` instead."ct
    """

def main_address(self) -> str:
    return os.environ.get("MASTER_ADDR", "<IP_ADDRESS>")

def master_port(self) -> int:
    if self._master_port is None:
        self._master_port = os.environ.get("MASTER_PORT", find_free_network_port())
    return int(self._master_port)
     """
    Summarize this LightningModule.
    .. deprecated:: v1.5
        "The `ClusterEnvironment.master_address` method is deprecated in v1.5 and will be removed in v1.7. "
        "Use `ClusterEnvironment.main_address` instead."ct
    """

def main_port(self) -> int:
    if self._master_port is None:
        self._master_port = os.environ.get("MASTER_PORT", find_free_network_port())
    return int(self._master_port)

def world_size(self) -> int:
    return self._world_size

def set_world_size(self, size: int) -> None:
    self._world_size = size

def global_rank(self) -> int:
    return self._global_rank

def set_global_rank(self, rank: int) -> None:
    self._global_rank = rank
    rank_zero_only.rank = rank

def local_rank(self) -> int:
    return int(os.environ.get("LOCAL_RANK", 0))

def node_rank(self) -> int:
    group_rank = os.environ.get("GROUP_RANK", 0)
    return int(os.environ.get("NODE_RANK", group_rank))

def teardown(self) -> None:
    if "WORLD_SIZE" in os.environ:
        del os.environ["WORLD_SIZE"]

def find_free_network_port() -> int:
"""
Finds a free port on localhost.
It is useful in single-node training when we don't want to connect to a real master node but
have to set the MASTER_PORT environment variable.
"""
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(("", 0))
s.listen(1)
port = s.getsockname()[1]
s.close()
return port

Is this how it's suppose to be done?
import os
import socket
from pytorch_lightning.plugins.environments.cluster_environment import ClusterEnvironment
from pytorch_lightning.utilities import rank_zero_only
class LightningEnvironment(ClusterEnvironment):
"""
The default environment used by Lightning for a single node or free cluster (not managed).
There are two modes the Lightning environment can operate with:

1.  The user only launches the main process by :code:`python train.py ...` with no additional environment variables
    set. Lightning will spawn new worker processes for distributed training in the current node.
2.  The user launches all processes manually or with utilities like :code:`torch.distributed.launch`.
    The appropriate environment variables need to be set, and at minimum :code:`LOCAL_RANK`.

If the master address and port are not provided, the default environment will choose them
automatically. It is recommended to use this default environment for single-node distributed
training as it provides a convenient way to launch the training script.
"""

def __init__(self):
    super().__init__()
    self._master_port = None
    self._global_rank: int = 0
    self._world_size: int = 1

def creates_children(self) -> bool:
    """
    Returns whether the cluster creates the processes or not.
    If at least :code:`LOCAL_RANK` is available as environment variable, Lightning assumes the user acts as the
    process launcher/job scheduler and Lightning will not launch new processes.
    """
    return "LOCAL_RANK" in os.environ

def master_address(self) -> str:
    return os.environ.get("MASTER_ADDR", "<IP_ADDRESS>")
    """
    Summarize this LightningModule.
    .. deprecated:: v1.5
        "The `ClusterEnvironment.master_address` method is deprecated in v1.5 and will be removed in v1.7. "
        "Use `ClusterEnvironment.main_address` instead."ct
    """

def main_address(self) -> str:
    return os.environ.get("MASTER_ADDR", "<IP_ADDRESS>")

def master_port(self) -> int:
    if self._master_port is None:
        self._master_port = os.environ.get("MASTER_PORT", find_free_network_port())
    return int(self._master_port)
     """
    Summarize this LightningModule.
    .. deprecated:: v1.5
        "The `ClusterEnvironment.master_port` method is deprecated in v1.5 and will be removed in v1.7. "
        "Use `ClusterEnvironment.main_port` instead."ct
    """

def main_port(self) -> int:
    if self._master_port is None:
        self._master_port = os.environ.get("MASTER_PORT", find_free_network_port())
    return int(self._master_port)

def world_size(self) -> int:
    return self._world_size

def set_world_size(self, size: int) -> None:
    self._world_size = size

def global_rank(self) -> int:
    return self._global_rank

def set_global_rank(self, rank: int) -> None:
    self._global_rank = rank
    rank_zero_only.rank = rank

def local_rank(self) -> int:
    return int(os.environ.get("LOCAL_RANK", 0))

def node_rank(self) -> int:
    group_rank = os.environ.get("GROUP_RANK", 0)
    return int(os.environ.get("NODE_RANK", group_rank))

def teardown(self) -> None:
    if "WORLD_SIZE" in os.environ:
        del os.environ["WORLD_SIZE"]

def find_free_network_port() -> int:
"""
Finds a free port on localhost.
It is useful in single-node training when we don't want to connect to a real master node but
have to set the MASTER_PORT environment variable.
"""
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(("", 0))
s.listen(1)
port = s.getsockname()[1]
s.close()
return port

Regarding the test creation. Is this what I had to add? Also I can't seem to run it, I always end up getting a No Module Found error: pytorch_lightning
import pytest
import os
from pytorch_lightning.plugins.environments import ClusterEnvironment
class MyClusterEnvironment(ClusterEnvironment):
def creates_children(self) -> bool:
# return True if the cluster is managed (you don't launch processes yourself)
return True
def world_size(self) -> int:
    return int(os.environ["WORLD_SIZE"])

def global_rank(self) -> int:
    return int(os.environ["RANK"])

def local_rank(self) -> int:
    return int(os.environ["LOCAL_RANK"])

def node_rank(self) -> int:
    return int(os.environ["NODE_RANK"])

def master_address(self) -> str:
    return os.environ["MASTER_ADDRESS"]

def master_port(self) -> int:
    return int(os.environ["MASTER_PORT"])

trainer = Trainer(plugins=[MyClusterEnvironment()])
trainer.master_address()


Use same overlay color for all modals, action sheets, etc

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

Action Performed:
Currently we have mismatched styles when opening things like rightDocked modals or bottom action sheets:

Expected Result:
Let's standardize on the overlay color used for all modals (both web and mobile).

Let's use our brand dark green (#002E22) at 60% opacity.
Actual Result:
Styles are mismatched and not using the right colors.
Workaround:
This doesn't block user actions.
Platform:

Where is this issue occurring? All platforms
Version Number:
Reproducible in staging?:
Reproducible in production?:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

This will make a big difference, I'm gonna take this on internally this week

Woo, thank you Georgia!

Noting that @dhairyasenjaliya reported that we missed the overlay color here too:

Same applies for starting a group chat:

Since Georgia is picking it up, I'll skip the triage and unassign myself 👋

Looking at this today!

https://user-images.githubusercontent.com/38015950/206081947-022c972b-2c9d-43a6-8539-20bd35ed2f06.mov
Right now, the overlay colors overlap- what's the ideal solution for this modal? (PS I made it pink for visibility 😄  )

Here's what it looks like with the 60% opacity green:
https://user-images.githubusercontent.com/38015950/206082662-8a7aa8b0-c0fd-4a4c-878a-526beff62d00.mov

For the workspace overlay, should we use this pattern instead?

Avatar overlay:

Whoa, didn't realize we were doing the double overlay there. That being said, I think the 60% green works just fine though - thoughts?
For the workspace/avatar overlay, are the screenshots above using 60% green? Maybe we can use the same color from the little +5 screenshot you shared, but use it at something like 88% opacity so you can slightly see the avatar behind? I wouldn't necessarily refactor the small chat row stack for this, but we could try it for the workspace row and chat empty state?

I agree, once I switched it to green I thought the double overlay looked fine. I'll test the workspace with the '+5' color overlay now!

I agree, it somewhat works for the workspaces, but I prefer the green overlay for the 4 avatars.
Here's a few more options
AppBG at 70%

Icons color at 100%

Borders color at 100% (works when workspace icons are all green, not sure how this will look when we add in the new colored ones)

I think I am leaning towards just using the same color we use for modal overlays for consistency's sake?

not overdue, in review!

Checking off as this was more of a feature/color update than a bug. Regression tests will be bundled with dark mode  TestRail tests

@grgia Could you pull someone from BZ to create the Upwork job for the PR review? Thank you!

@mollfpr can you please apply to the job and reply here once you have?
https://www.upwork.com/jobs/~01a2fe253f63b94c3c

@mallenexpensify Can’t access the job

@mallenexpensify I have reported a bug on slack https://expensify.slack.com/archives/C049HHMV9SM/p1669898961401989 which we are addressing here as per this comment https://github.com/Expensify/App/issues/13208#issuecomment-1333884029 do I need to apply for reporting here?

Bump @mallenexpensify

Hired @mollfpr for $1000 for PR review
Hired @dhairyasenjaliya for $250 for bug reporting (thanks for the ping, I would have missed it cuz it wasn't in the OP)
Both, can you please accept the job and reply here once you have?

Accepted, thanks @mallenexpensify

accepted, thank you @mallenexpensify

Paid @mollfpr and @dhairyasenjaliya , leaving open and weekly cuz I want to double check the regression steps before closing

I know I'd be responsible for one of these issues that needed regression test steps that wasn't going overdue cuz of the Reviewing label, thanks for the reminder Mel. 🤖
OH.. actually, this is just a dark mode update and I think we're not creating/updating TestRail steps for this, at least not yet. Closing!


Gif Enhancement

Title:
Gif Change

Description:
Problem:
The previous gif doesn't offer much animation and doesn't catch the user's attention.
Solution:

Replaced the existing gif with a more animated and engaging version.
The new gif is set at a resolution of 700x394 to fit the required dimensions.

Issue Reference:
This PR addresses Issue No. 15.

Comment:
This change is aimed at improving user engagement by using a more animated gif, enhancing the visual appeal of the platform.

Allow edits by maintainers:
✅

@BamaCharanChhandogi Check it, too.


bug: Navigation contains dropdown item not working with drawer

What version of daisyUI are you using?
v3.1.0
Describe your issue
When I try to add a navigation menu which contains dropdown item, then add to carousel. However dropdown items are going backward and not visible.
What browsers are you seeing the problem on?
Chrome, Edge
Reproduction URL (optional)
https://play.tailwindcss.com/1aE7QM355V

Add a z-index to menu:
https://play.tailwindcss.com/tMmJuNrZms


[✨] stopPropagation:{eventName}

Is your feature request related to a problem?
I want to implement a card and like button positioned absolute on top of it. When a user clicks on the card body, a details drawer appears on the screen. But if the user clicks the button, a backend request is called.
https://qwik.builder.io/playground/#v=1.2.13&f=7VY9C8IwEN39FUGH0q1FBEnQxVVwcBSHlgZbtDSm9QOk%2F913%2BWg7CNJRkA4lcORyd%2B%2FeewPQLOLlaNBMbHlgHaNgKDFQVV1QazkxFhbnLgXpjgJZcJYSmQrwZdbknM2jSD0F1KA45U137NmcsxnoDB9S2UTWe3zIlaRgSeyYYNpeFmtZ4q4K8aU9mfeOQLmbDWxPL%2FEvGzV0FsFhk2gIPAUc2U6B3TMJOrzULNPJA4gNW%2B8qfJ%2FafmamoC8JtsVZutJ9nj2gajpFfy2vN6hbEGJWtFGrqQ2e%2BryDtrVruq1zcQ4Q5O0cJv6L%2FJOL%2FAY
Describe the solution you'd like
I want to have stopPropagation:{eventName} attribute similar to preventDefault:{eventName}.
Describe alternatives you've considered

useVisibleTask$ - Doesn't work :( Why? https://qwik.builder.io/playground/#v=1.2.13&f=7ZbBSsNAEIbvPsVQDxuhhIqgkGAv0psgeBUPKTu1wZYuaa2C5N39ZybJrlHEq%2BAW2qTZzOwMM9%2F8SdFcXQ7hpEUzjdNXL1O8%2FVhQJxY6iKTTDeG7sNvXkvZCaIamOnIpMykAJAUtBbQlWOoP64IuZrPwVmJS1E%2Frw3AbSV%2FQKVCHD1yZI9Ml3%2FiqliAo%2Bq%2BkxoydN7yFrR32b%2B1Oz%2FubDjBX4Aca%2Bp5XcBS1yWLD0tXzDKkl7B3PgmiFqF6hHHsrOVjywlaKskYP8sr7xRGWZXQxMJs5ZaybUsbyf2JXVqp73MNt%2FcxdbgzNj6J1AkACnaVgc3Lebqm9fLRBA9Ilba6%2F%2BJbrL5UMkRgF0btF%2FPk8N1UDOWQHuQuYhZ4xPDZ78k31iv4%2Ba3sN1ldOGyvcwlCZOCSpVYpcT%2BzhpH87KYd2LkkYlGvXBKJnuz74h9efhNcH
Event target - Current solution https://qwik.builder.io/playground/#v=1.2.13&f=7VZLa8JAEL73V0ztIS1IsRSkZEkvvfRQ6KG9iYdoVg2%2B4hofIPnvfjOTlw%2FEq2ACG5bs7MzufPN9UwNNu%2F1xDjRNuoybBz0hiEdEDKf0kvky5tv1mbRQO2trWHoS8IVPPeZTA8qM0pFP761WsjUQhHg4SstpReg%2BPYHR8MKVOtL244yvsAeiRJkZcrrZm7NT7DXH%2BqnOJN5rgK6u%2BqGLRNu%2FoQbMJwFhkV1jcZP6K%2FDsLP0XlSwNieIBPR%2F8o8cgIDF6VUlVzPGjKDAyy2SUod64eJ0vRKGk2qXfBOIRWbDtZEmRCzcoCCQS1jye4AotW9We7I6PkxXNTpG7rIKSXHLNVq7mMK6feGzzbBTh%2FaGAJHn8dXaxguZ6L4AP13nQ0MWNwm0tk9kn71b2ljlMuePMkXqnl5uklz0

Additional context
No response

I like that idea. Could I encourage you to create a PR with this feature?

Sure, I can work on the PR

Thanks @eonicum 👏

You rock!

@mhevery can we reopen this? e.stopPropagation doesn't work. #5545 doesn't account for stopPropagation.

yeah you're looking for a declarative way of doing this rather than sync$

Tried sync$ as well. StopPropagation doesn't work in all the cases.
Reproduction: https://codesandbox.io/p/sandbox/sleepy-sunset-qkjdmh

@sarat1669 sync$ will 100% work. Can you explain when it doesn't work?

@wmertens,

I have shared a codesandbox link to a re-produceable link of this issue.
Clicking onR Left Left logs both R Left Left and RLeft which is it's parent.

@sarat1669 that sandbox behaves really weirdly for me. Can you reproduce it on https://qwik.dev/playground ?

@sarat1669 here's the original repro but with sync$ added https://qwik.dev/playground/#f=7Va7CsJAEOz9ikMLDYhEJE0ObWwFC0uxSMhhgoacl%2FgAyb87e5sXEgRLQVKEg%2BX2cTOz0wGN53l9oJkKIu9n7Ay4S4iPXWTodKyzPKEJ%2ByRc4M9NSVo%2FGprhi5A0VUI2oyL2xcJ19UNiKSTHuGiOraj7YgRVw4dUnIgtSE%2BuIIRYgmpSGL5sblSKuzLEp3yy9X4B9uqJ4H7aTf%2FkqK7BGO%2FXgcGep4CD2GqIfKSgiudcRCa4A7hOWZuLek5l%2B3S2oU4CO%2FPJRHE1agZ7osF9WCPWIke%2BZd8kJ1XNpS5iBzjbMdLfqMsVGxBVoA6i3XLI0cO6qs5QyxVd11i9CjVkACvg%2FNn%2Bk2x%2FAQ

@wmertens , yes, it's the same

@sarat1669 ah, the problem is that the stopPropagation needs to be called in each handler
https://qwik.dev/playground/#f=7VbNSgMxEH6VsIeyxbJ0QTwsBF9APIiepAd1Y%2B2lLuJBWPLufjPJTDbpViyehC79yU4m8%2FtNZqagubxaz6FmZah68YePdF%2BJelVmqSo9v33vHTyfwgnNFUSIjT0E8d0%2FhA7kjwQIs0d0JPZnYgkPSh76O5XW8M1nLdoxqb42VTt8Gdyhu948o1lVppuSth%2FO7auVihue%2Bh7J70y7FqL3caGdfnxUfo5NXTs1XB7XYKQYUK8YZ8L9gYjLpl8mjaefNtloQ26y0xmHhHR2O6nfBN8EJqNyi8%2BB8kLtD%2BVhFgsVkm00mHlq1sWuhLRF6DEEaMuyMK%2BpsqOsvNprR1n5hF6gdRkMCmNohC%2B%2BOdjukcwDsH2C%2BDuwEefPHv3Rl%2BWs1VSoudFqWJyQo2RwSQHWASyUKcA54peHo84wcFmNCFCXLaGNwZAAVxQOywxQ0Z0wddmScGFaYsxUUQzBmZlHt5%2BYGKPbGSmhhHrhNjfuVfjnz%2BTnDs6WAgohm%2BmOTy9KV9qMbXe77dsR48rz%2FI47dtI4GaAUIjvS7ynwicgpuxvAc%2B67%2F6%2FvfgM

😯 Thanks. We may need to call this out in the documentation.

ok well this pr https://github.com/QwikDev/qwik/pull/6121 should bypass having to do it in each handler

oh well this was why.

https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation
it looks like stopImmediatePropagation only works correctly after the first click
https://qwik.dev/playground/#f=7VY9T8QwDP0rUYdTT5yq6wBDpYgZCTEgmNANQMvR5agQA1KV%2F86zEztNruVDTEhU95E6jmM7z3meguZ0ezaHmo2h6sUfPsK%2BkvUiP6Uij%2Fzqpe0Q%2BRROIFcIYTZwCPJ7uPUM5BYShN4jBBL4mVT8g5LH%2Fo1aq%2FjmsxZ0TFufm6Ie3g3u0L41DyCrwjRT0f616w7FRs0N922Lw29MvRWhc2GgTD%2FeqT7npiw7dVyerkJLMVyAT9oeoaFw0df4iwSpj3qgQ6%2B6oOHW0bnZjb4yYJJGiJLCKUo05ABmp6MHO58JAdWo2pIhL3kkskQxmdVKjSQTFTqkkvfiaPwhB6AyYGjKsjGnB2tHGTn1144ychHrwPbaO%2BSb1gB2fFNo3uDoj6D5BuH3oEman0f0y1jWs15TWadOq2Ohnw6WoSXlWnq80EkB%2FAHt3Eo1hmHO24gBDdkS4BgMEXNZmbFNDxWd8T2azQUnpibFZCvKITQT9%2BiuFBdDdhsjBReBL9rmsnsS%2Ffk16bqjtbmBzMhuOuPii8pVNuPbdb9%2FXnAuX8%2FvuJEnNMsApRTZkX5%2FAp%2BAnJwLAZ5%2Flv57LP0B

ok @wmertens the issue happens when the second event is async (not sync$) so likely an issue with how we're managing the event in qwikloader
https://qwik.dev/playground/#f=7VZNS8NAEP0rSw42xTbYgyCBRTwK4kH0JD2oibWXWqQHIex%2F983MziS7af3Ak2Bp2s3u7Hztm30zBM3pmcUzRM3MUfXiD19lX816kZ9SkUd%2B%2Fdq0iHwIJ5ArJqE2cgjyu7kTBgoHEoTeIwYS%2BZlE5IOSh%2F3atFV883kPOibT565YbN8d7tB14x5BVoWrh1Ort7bdFDNTt31oGhx%2B7RYnOhlCHBD%2Fz0nrnGz4joZsTgWsFejuTSEnryxbi0w%2FbYWeY3sJwmnWiB2VjcZHbhqcTS8HvhTRAxJh2nuvxlBZzN4jo18pc0nXJEoqPBc71AQ6v7acpFmYTHNn9TBLS89eZ5eSNAXoOJky80TEi8J0R0emJFmo0G2VbIuDFcBE0DP4aEnOKhhIfKejYP76TkehrxvUyVQckgY4Fg6eFOa3gNEI5jtMfg%2FmJPl5RL%2BMhU5p7DVdEanT5ljszaNmSGnplwInOikUUqwcbstqxyXDZlSBhewdtDMYekhmJcs6BSq2Iv2ezyeO3YIEE1OUQ0gm7tG9qy7G7NZOa7OvC5V2V%2B2zyu%2Ffk%2B4b7c0VZEqWw5XQv9i8ze3x7Wa9ejngXL6f33G7DyibAUop8h39%2FgQ%2BETk5rwI8%2F4z%2F9xj%2FAw

check this out. this will work if you have sync$ at the end because of the order in things resolving
https://qwik.dev/playground/#f=7VbNSgNBDH6VsIeyxVIsIsji4AuIB9GT9KDuWnupRTwIy7y7XzKT7Mx0WxVPQpd2fzKZTJL5Ml9S0JyfXYyhZkZcvXjgp%2ByrWa%2FKXarKyG%2Fe2g6Rp3ACuUIIs5FDkN%2FNfWAgvydB6D1iIJGfWSVcKHms35i1uZx8zoGOeekrqhbbT8IZum7pCWRVUZOKVu9dt6lmZm772LbY%2FIYWpyr0Pr4Y0%2FcPpg82k%2FTUdWe%2B24jcujl6iy0KF31NOEiQ%2BkTJT4fVR8zQYQOUtTkcsiQg09D0jg6ny%2B%2BJ5BsXBgvLkCkFXW%2FraQaD5JnJFMVGk4kZyQbm6KBq8VY8CSAI16UAioecGPO28a7XN28Ru17f%2FFALwP40OBSa2lgM%2BOfQvQM0dqD7AeHPoMuahyP6YyzTUa%2B57HOnzbHYb0fL0NJyrsNe806hOGI1SKvVkJSBLKMGLGTHeBU4DXgpylBsBqjYSOjhXCk4oQUrZktxDqGZucdnqboYs9uQFuQAWtWm6%2B5F9cfn5PN25pYGCiPLdMQPHyY32Yhvt%2BvV6x7nyvnyjRM7oWEBKKfI9Xz%2FDXwickquBHiOLP7%2FWPwL

ok I got the fix for both stoppropagation attribute and sync$
https://github.com/QwikDev/qwik/pull/6123


Print stack trace of exception caught with try/except

Hello,
I am writing a HTTP application in berry, and I am wrapping each request handler with an try/except block. On failure I respond with the error message to the client.
Unfortunately catching the exception prevents berry from printing the stack trace where it occurred. Would it be possible to print the stack trace from the exception manually from the catch clause?

Yes, use:
import debug
debug.traceback()

It prints to stdout the stacktrace.

Amazing, sorry for the issue


Feat: Enhance Responsive ANIMATION and hover effect in WHY कृषिCONNECT

#388 issue solved
By adding this feature WHY कृषिCONNECT looks more attractive .
It's a Responsive animation and effect
Before

AFTER
Desktop mode
https://github.com/Anushkabh/krishiconnect/assets/162671639/7aa126e0-7a23-4951-99d2-914c66d3ef2b
Mobile mode
https://github.com/Anushkabh/krishiconnect/assets/162671639/e11307fa-ca0c-4cc2-b3e8-59bd2834a058

@Husan7 Please remove this one

@RitiChandak   please check it now


Delete figure3.svg

Codecov Report

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

@@           Coverage Diff           @@
##           master     #654   +/-   ##
=======================================
  Coverage   88.51%   88.51%
=======================================
  Files          21       21
  Lines        1506     1506
=======================================
  Hits         1333     1333
  Misses        173      173

Flag
Coverage Δ

#unittests
88.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Can we add basemaps and label images loading them on top of the basemaps?

I want to label few objects on the ground using satellite imagery, it would be helpful if I had a basemap underneath the tif file and then i label the features, can someone let me know if there is a support of basemaps in LabelStudio?

Hi @Harsh00988 , unfortunately we don't have tif support in Label Studio as far as I know, or support for basemaps. Here are the formats we do support - would you be able to convert to one of these formats in order to support your labeling usecase? https://labelstud.io/guide/tasks.html#Types-of-data-you-can-import-into-Label-Studio

Hello @jombooth , For correctly annotating the images and verifying them if they are actually what we think it is, we need basemaps. Is there a workaround or a way that I could make changes in the code and give an option to add basemap layer and support for tif (any format that has georeferencing).

Understood - I'll raise with the team and see if anyone else at the company is better equipped to provide some pointers here than I am :+1:


stage0,stage1: add interface-version annotation

So stage0 can check which features stage1 supports and pass flags
accordingly.
cc @krnowak

I was wondering if this annotation should be a list of supported versions, in an order of preference. The lack of annotation would tell that only the version 1 is supported. Also, stage1 probably should have a --use-interface-version=<VERSION> flag, which would default to 1 if not passed. That way old rkt can use new stage1 images and new rkt could use old stage1 images.

old rkt

old stage1 - works as it worked so far
new stage1 - rkt does not check the annotation nor passes the --use-interface-version flag, so it passes the version 1 flags and stage1 operates in version 1. If stage1 drops the support for version 1, then it can bail out in this case by detecting that --use-interface-version was set to default value 1, which is not supported anymore.

new rkt

old stage1 - there is no annotation about supported versions, so pass only the parameters from version 1, but do not pass the --use-interface-version flag. Likely warn if stage1 does not support a feature we wanted to use (like --hostname).
new stage1 - rkt gets the list of supported version from stage1 annotation, decides which version to use (likely the highest?) and passes the flags accordingly.

Or am I overengineering it?

@krnowak it seems a bit too complicated... if we keep it as a single number, we don't need any --use-interface-version flag. We will just not drop support for flags in future stage1s.

@krnowak I think it's a good solution if we wanted to keep this sort of stage0/stage1 compatibility, but I'm not sure we want that. I agree with @alban, it seems too complex.

it seems a bit too complicated... if we keep it as a single number, we don't need any --use-interface-version flag. We will just not drop support for flags in future stage1s.

I want to play it safe when we get another stage1 interface version, which removes some flag or changes its semantics, so older rkt might want to force stage1 to accept a set of flags from the older version, because it does not know how to handle the new version (it for example does not know that some flag was removed or means something else). This is assuming that the stage1 interface version might be backwards-incompatible. With this assumption, having a --use-interface-version would make it easier for stage1 to decide which interface version rkt meant to use (just check the value of the --use-interface-version flag instead of deducing it based on the passed flags).
If we assume that each stage1 interface version is backward compatible then stage1 probably will not need to know which stage1 interface version rkt wanted to use. But that has its own drawbacks - all the flags have to stay and keep their semantic. So if some flag gets deprecated (or something) in favor of a different flag, stage1 needs to figure out which one of them should be taken into account.
Wall of text, especially for @iaguis. :]

I want to play it safe when we get another stage1 interface version, which removes some flag or changes its semantics

I would just not remove any flags, and not change the semantics of existing flags. I don't think the drawback on flexibility is worth the complexity.

It needs some explanation in stage1-implementors-guide.md and then it looks good to me.

LGTM if green.

LFAD. Don't bother waiting for semaphore, we know that the tests are green.

Don't bother waiting for semaphore, we know that the tests are green.

:+1:

/cc @n0rad : you mentioned in #2241 that you are writing an out-of-tree stage1. Maybe you will find this versioning useful.
https://github.com/coreos/rkt/blob/master/Documentation/devel/stage1-implementors-guide.md#versioning


Widevine content freezes on WebKit

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.0
Please ask your question
Hi all,
I am developing a Shakaplayer app for my company for a device that is running on WebKit (Safari 8). I'm currently working on the DRM configuration and I came across an issue, which I am not sure if it is a bug or not. I have a widevine content 'tears-of-steel-dash-widevine' and I run it in two situations:
Situation A: initial load is an empty manifest (player.load("")) and when reloading the player with the widevine manifest, the content freezes at the two exact times every time this scenario was reproduced (188 and 284  - top left corner of the stream)
N.B. this happens when the initial manifest is the widevine content.
Situation B: initial load is a clear manifest (angel-one) and after the player was reloaded with the widevine content, the DRM secured content (same one as before) the stream plays perfectly fine and doesn't freeze and the app doesn't crash at those two time points.
I compared HTMLMediaElements in both cases and there is no difference, nor any difference in player.getConfiguration()
Do you have any ideas what could be the reason for failing, and in what direction should I try to debug the player?
I am able to provide code used if necessary.
Thanks

Anyone, please?

Safari 8 isn't a supported platform.  It could be that bugs in such an old version of WebKit are responsible for the issue.

Looks like we had to ban Safari 8 to support multi-period DASH, based on this comment in the MSE polyfill:
      // Safari 8 does not implement appendWindowEnd.  If we ignore the
      // incomplete MSE implementation, some content (especially multi-period)
      // will fail to play correctly.  The best we can do is blacklist Safari 8.

A version of that comment can be found all the way back to this commit in 2016:
https://github.com/google/shaka-player/commit/32139729adc7030ea8a49833641d1802ffe5296a
I apologize for the inconvenience, but we are unable to support such an old version of WebKit.


Metric problem about MAPPO

Nice paper and project! And we are also doing some research on this topic.
We find there is something confused in the original MAPPO paper: why the shadow parts of the following figure in page 7 are more than win rate 1.0? What kind of metric you use in this figure? Can you offer some detailed statements? Thank you!

Thanks for your interest! We plot the median win-rate for all methods, and the shadowed parts indicate the variance.

OK, thanks for your reply.


Parsing error encountered

@badge-info=;badges=;color=;display-name=shezznyyy;emotes=30259:0-6;flags=;id=9aa51c1f-5ef6-45db-adfb-f25d7b4da809;login=shezznyyy;mod=0;msg-id=ritual;msg-param-ritual-name=new_chatter;room-id=16146075;subscriber=0;system-msg=@shezznyyy\sis\snew\shere.\sSay\shello!;tmi-sent-ts=1568824711983;user-id=159615338;user-type= :tmi.twitch.tv USERNOTICE #grimnax :HeyGuys

Hi. When someone follow a channel and send twitch's presetted "*** is new here. say hi" message bot is crashing. It happened several time. I confirmed it with side account.


Genshin Characters Data problem

Thanks for the awesome work
After the last update [My old version was 0.4.0]
Some characters give icon URL not found like "Yae Miko" : https://upload-os-bbs.mihoyo.com/game_record/genshin/character_icon/UI_AvatarIcon_YaeMiko.png
also the "Traveler" has no element [previously it has its current element like Anemo or Geo ...]
Is there any problem ?

Seems like Yae's icon was moved. The traveler element is indeed a bug.


bug: Heavy bug with multiple layouts based on routing

We use latest Ionic (Project generated with latest CLI)
For different reasons, we work with different layouts. The problem is, if we change the layout and then go back to the previous layout, we have a bug. The layout is broken and only its reload can fix it.
Here is a stackflash: https://stackblitz.com/edit/ionic-5-layouts-bug
Please open the sideNav > Navigate to Login > Click "To the App" and you will see that the layout is broken.

Thanks for the issue. I am going to close this as this is not a bug in Ionic Framework. Ionic Angular apps require the use of ion-router-outlet when doing routing. Replacing router-outlet with ion-router-outlet in app.component.html fixed the issue for me.


Secure Socket Async problem

H I I use Fleck in my app when I run it throw that Error.
System.NotSupportedException: The BeginWrite method cannot be called when another write operation is pending.
at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
at System.Net.Security.SslStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
at Game.Base.SocketWrapper.<>c__DisplayClass16.b__12(AsyncCallback cb, Object s) in ####################################################\Frame\SocketWrapper.cs:line 111
at System.Threading.Tasks.TaskFactory.FromAsync(Func3 beginMethod, Action1 endMethod, Object state, TaskCreationOptions creationOptions)
at System.Threading.Tasks.TaskFactory.FromAsync(Func3 beginMethod, Action1 endMethod, Object state)
at Game.Base.SocketWrapper.Send(Byte[] buffer, Action callback, Action`1 error) in
####################################################\Frame\SocketWrapper.cs:line 113
at Game.Base.Frame.WebSocketConnection.SendBytes(Byte[] bytes, Action callback) in ####################################################\Frame\WebSocketConnection.cs:line 116

hi I rewrite your code in sample application
Here is it
static void Main()
{
FleckLog.Level = LogLevel.Debug;
var allSockets = new List();
var server = new WebSocketServer("wss://localhost:8181");
server.Certificate = "MyCert.cer";
server.Start(socket =>
{
socket.OnOpen = () =>
{
Console.WriteLine("Open!");
allSockets.Add(socket);
};
socket.OnClose = () =>
{
Console.WriteLine("Close!");
allSockets.Remove(socket);
};
socket.OnMessage = message =>
{
Console.WriteLine(message);
                        allSockets.ToList().ForEach(s => s.Send("Echo: " + message));
                    };
            });

        var input = Console.ReadLine();

        while (input != "exit")
        {
            foreach (var socket in allSockets.ToList())
            {
                var t1 = new Thread(TestSendThread);
                var t2 = new Thread(TestSendThread);
                var t3 = new Thread(TestSendThread);
                t1.Start(socket);
                t2.Start(socket);
                t3.Start(socket);
            }

            input = Console.ReadLine();
        }

    }

    public static void TestSendThread(object server)
    {
        var webSocketConnection = server as WebSocketConnection;
        if (webSocketConnection != null)
            webSocketConnection.Send("TestTEstTestTEstTestTEstTestTEstTestTEstTestTEstTestTEst");
    }

and update client
window.ws = new wsImpl('wss://localhost:8181/consoleappsample', 'my-protocol');
When it send data to client exception to throw
Problem only happen in secure server .
Thank for your work

Looks to be an issue with SslStream in .NET. Although, I haven't looked at the reflected source to be sure. In the mono SslStreamBase implementation, the stream will lock until the previous write operation is complete.


Format static value and unit fields

PT Story: https://www.pivotaltracker.com/story/show/183570351
[#183570351]
Previous work on this story left out required style changes to the static value and unit "fields" displayed below an expression field. The static value and unit weren't actually inputs but DIVs made to look like inputs.
These changes use disabled versions of the value and unit input fields to display the static values. Doing so allows re-use of the expand/collapse feature/styling recently added for the input fields.

@tealefristoe Thanks for the additional comments. I'm not sure what I did differently this time, but the length check is now working in a function. I thought I had tried exactly what you described before, plus multiple variations and none of them worked. This morning it seems to work fine, though 🤷🏻♂
I'm still not able to make things work without making hasLongValue a state variable. I added a comment clarifying why the useEffect is necessary. Does that make at least a little more sense?


Reposition tag-changelog-link

GitHub implemented a more generic (i.e. less efficient) version of tag-changelog-link

Their feature is not a strict replacement, but now tag-changelog-link needs to be moved above it (or... alternative solutions welcome)
Test
https://github.com/sindresorhus/refined-github/releases/tag/20.1.6

I won't change it. This feature is visually loaded late, introducing an jump in UI if it were placed before the dropdown. Or we need to reserve the place immediately with some CSS.

introducing an jump in UI if it were placed before the dropdown

True.

I'm kinda disappointed that they just put the button there. Now we have 3 "compare" links on the page.

@fregante #2686

Now we have 3 "compare" links on the page.

Noted! We might combine them in a future iteration – but there aren't any plans to as of right now.

GitHub implemented a more generic (i.e. less efficient) version of tag-changelog-link

A little background here if it helps– we originally spiked out a version that was almost identical to  the refined-github version. But when we tested it with some organisations who run different 'release channels/lines' at a time – it actually made things more confusing for their users. So this was a way to mitigate and make comparing release more 'self serve'.
Ideally, I'd love to see us have better support all-round for different Release workflows (hence my tweet) and it's something I'll be advocating for internally 😄.

Yeah I figured that you can’t make a solution that makes everyone happy. Extensions have the privilege of making feature that only work for a subset of users.

For Refined GitHub: we could also combine this to:

Compare to: master (+7) | previous tag | tag...

However I do like the current “Changelog” label.

However I do like the current “Changelog” label.

For this reason, I suggest we just move our Changelog link above the "Compare" dropdown, that's all.

Wait, I thought GitHub was adding this link on releases all along. Damn!


Use the other test-idp tokens

This PR adds tests using the other test-idp tokens.
Of the 6 tests added below, 4 fail with current NSS master. They all return a 401, and my intuition is that two of them should return a 200 and two 403. But my intuition isn't strong with this one, I probably don't understand what the different tokens represent, so please advice.
The first test uses ALICE_POP_FOR_GOOD_APP_GOOD to GET a resource that is private to Alice, but has no origin. Then, my intuition says that whether or not there is a PoP shouldn't matter, if Alice is authenticated, then it is the browsers lack of origin that should make it OK. Flawed reasoning?
The second uses ALICE_POP_FOR_GOOD_APP_GOOD to GET a resource that is private to Alice, and uses https://goodapp.example, which is given in Alice's profile as trusted. So, I'm guessing it should be OK, but perhaps there's a different app origin in the token, or something?
The third does the same, but with ALICE_POP_FOR_BAD_APP_GOOD. Then, I'm thinking that Alice is authenticated even though the token is for a bad app, and therefore, it shouldn't be 401, but perhaps I don't understand what the bad PoP means, and I'm also open to other interpretations as to what it should be. I guess it could be argued the request is invalid when that happens.
The fourth test that fails does the same, but with BOB_POP_FOR_GOOD_APP_GOOD. Then, again, I'm thinking that Bob is authenticated, so 401 wouldn't be correct, but same disclaimer applies.

OK! But my interpretation of the tokens are correct, so it truly brings out bugs in NSS?


[BUG]: removed const in favor of var

This should fix the issues I found today that cause IE10 to blow up

Thanks for contributing!


Misc improvements to the appservice API layout

This is more of a list of things to keep in mind for when the spec is nearly ready for a release.

Move the APIs to sections where it makes more sense (ie: /transaction should probably be under "Pushing Events") - https://github.com/matrix-org/matrix-doc/issues/1325
s/AS/application service/ and s/HS/homeserver

This happened.


Generalized Value#toJavaArray to accept classes with generics

Separated from https://github.com/javaslang/javaslang/pull/1577

Current coverage is 96.84% (diff: 100%)

Merging #1578 into master will increase coverage by <.01%

@@             master      #1578   diff @@
==========================================
  Files            88         88
  Lines         10677      10677
  Methods           0          0
  Messages          0          0
  Branches       1818       1818
==========================================
+ Hits          10339      10340     +1
  Misses          194        194
+ Partials        144        143     -1

Powered by Codecov. Last update f9151de...f4f4949