How I set tabindex?

Very good this component multiselect.
I need to use tabindex to focus the fields in order but I did not find the documentation or issue that mentions it.
Could anyone how do I focus on that component when using tab?
This code :tabindex="searchable ? -1 : 0", note that an element with a negative tabindex is still focusable, it just cannot be reached using sequential focus navigation (i.e. tabbing).

Adding a TabIndex prob would be great!
If you add tabindex to the component it applies it to the div it is in and not the input

But i need number right to set tabindex and not -1, this is important.

Changed the tabindex to 0 by default. You can also pass :tabindex prop. Will be released soon.

I am trying to set Tab index for this. Could anyone help me on this.

Seems that tabindex on the wrapping div has reverted to -1.
<vue-multiselect :tabindex="0" ... /> renders:
<div tabindex="-1" class="multiselect" data-vv-name="label" data-vv-value-path="label" hide-selected="true">
  <!-- ... -->
</div>

@andreasvirkus I have the same problem. When searchable props is set to true, tabindex is automatically set to -1 and I cannot change it, by setting :tabindex="0"

The tabindex will set to -1 if  searchable props is set to true as @kanapka94 mention.
I add the following code in parent component mounted() to fix this issue..
  let el = this.$el.getElementsByClassName("multiselect")[0];
  if (el) {
    el.tabIndex = 0;
  }

@palamike Yes, but seems it's also set to -1 even if you don't add the searchable prop or set it to false explicitly.

It seems to be working (kind of) if you pass in a prop called tabIndex (note the camelcase). The correct tabindex gets rendered, but tabbing through only works until the multiselect element. Any further tabbing goes off somewhere else. Not sure if this still works if the searchable prop is set though.

Yes … exactely the same Problem here

in the source code :tabindex="searchable ? -1 : tabindex" So by default the tabindex will be -1 no matter what. Only if searchable is set to false will the tabindex option apply. I'm not sure why this is but it makes it so if I want a searchable field nothing is keyboard focusable.
You can get around this by setting a ref on the multiselect component
<multiselect ref="typeahead" @select="onSelected" ...></multiselect>

then in the mounted hook explicitly set the tabIndex using DOM methods
mounted () {
  this.$refs.typeahead.$el.setAttribute('tabindex', 0);
}

Also if you add a method for handling the select event you can focus the multiselect again after the user selects an item like so:
onSelect () {
  this.$nextTick(() => this.$refs.typeahead.$el.focus());
},

Until there's a solution, the easiest way I've found is to use a simple directive:
<multiselect v-tabindex></multiselect>

directives: {
  tabindex: {
    inserted(el) {
      el.setAttribute('tabindex', 0);
    }
  }
}

The solution with the directive still only applies to the div, not the input element contained therein.


Access is Denied

I updated the .ini but I'm still getting "Access is Denied" when trying to login using RDPCheck.exe. I'm using Windows 11 Home Edition. I downloaded lusrmgr.exe so I can hopefully edit the permissions of Users & Groups but I don't know what to do. I added a Group called "Remote Desktop Users" and added Everyone but it still doesn't seem to be working.

Never mind, I only get "Access is Denied" when using RDPcheck.exe, it works fine if I connect to it using another computer for some reason.


Add DelimitedBy

This parser matches content enclosed between pairs of delimiters. I feel the use-cases are general enough to justify a PR.
It is helpful when nesting of delimiters is unknown, as it will only match the top level pair. A maximum level of nesting can also be specified.
name                                       time          std        iterations
------------------------------------------------------------------------------
DelimitedBy.1-Level-DelimitedBy            166841.000 ns ±  17.58 %       7148
DelimitedBy.1-Level-DelimitedBy-MaxLevel-1  79969.000 ns ±  18.54 %      16657
DelimitedBy.1-Level-Composite               30869.000 ns ±  22.09 %      41878

DelimitedBy.SameDelimiter-DelimitedBy       18448.000 ns ±  22.99 %      70959
DelimitedBy.SameDelimiter-Composite         30881.000 ns ±  21.26 %      43653

DelimitedBy.Nested-DelimitedBy             167025.000 ns ±  15.00 %       7884
DelimitedBy.Nested-Ad-Hoc-Composite         40625.000 ns ±  17.86 %      31736

A benchmark suite is included. A 1-level DelimitedBy parser performs 2x slower than an adhoc parser, but with the guarantee that the result is was enclosed in a matching pair (and if maxLevel=1, free of delimiters). If the level of nesting is not specified, the DelimitedBy parser performs 6x slower, with the same guarantee.
If the delimiters are the same, DelimitedBy performs 30% faster than an adhoc solution.
In case of nesting, DelimitedBy always takes the same time, but adhoc solutions will be more complex and slower as the supported level of nesting rises. It performs for example 4x slower than an adhoc parser made for matching with one inner pair exactly "(xx(xx)x)". I didn't implement branches for (x(xx)x(xx)(x)...) nor (xxx). For deeper nesting, the combinatorics should immediately plays in favor of DelimitedBy, if not performance-wise, maintenance-wise.
Please let me know if you see room for improvement.

Hey @tgrapperon! Thanks for the PR 😄 This definitely looks useful, we just haven't had time to dive into things yet. We'll try to soon!

Hey @tgrapperon! Thanks again for taking the time to PR! Brandon and I finally discussed today and while we think it's a cool parser, we think it may be a little too specialized for library inclusion at this time. It definitely solves a problem, but we're not quite ready for the library itself to commit to solving this particular problem. We want to keep the parser space that comes with the library lean for the moment, and super generalized, especially as we plan on layering on invertible parsing and other things soon, and so each additional parser we add is additional surface area to consider as the library evolves.
I think there are a few ways to proceed in the meantime:

I know we say it a lot...but plug-ins! 😄 We've been trying to ensure our libraries are extensible, which means extension code can ship outside the main library, and we think parsers like this are a perfect example of that.
You could share this code in a more visible place in the Discussions tab, so that others can find it.

I'm going to close the PR for now. When the library stabilizes in the future I think we can start to think more about what the requirements are for a parser to be included in the main library or not, and something like this may then fit the bill!


issue about multiple GPUs

hi,mousavi,
first, thanks to EQTransformer!
I got an issue : I use eqt on my own dataset without changing model structure or training code
But when I run the code on multiple GPUs, the usage on every GPU is so low, and the time of one epoch is more  than  using one gpu,

can you give any suggestion please?

As I mentioned before, this is due to the data reading and pre-processing that prevent taking full advantage of multiple GPU


Allow to customize temporary folder or use vite temporary folder.

Temporary folder is hardcoded as .__mf__temp would me nice to allow to customize it.

Yes, it's a nice improvement. Would you like to drop a PR for that?

We can't move that directory because it's failing in Win environments
check this comment
I close it.


Update libsodium submodule to latest stable branch commit.

Pull Request Test Coverage Report for Build 1325

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.05%) to 95.232%

Files with Coverage Reduction
New Missed Lines
%

crypto/secretbox/xsalsa20poly1305.rs
1
98.81%

crypto/box_/curve25519xsalsa20poly1305.rs
2
98.55%

Totals

Change from base Build 1311:
0.05%

Covered Lines:
3136

Relevant Lines:
3293

💛  - Coveralls

Fix for the unrelated Clippy nits in #421

We need to update win libs too (https://github.com/sodiumoxide/sodiumoxide/tree/master/libsodium-sys/msvc/Win32/Debug/v140)

Thanks! I will compare the hashes of the libs to make sure everything is fine.

I can't check binaries because they were republished at 30 June.

I can't check binaries because they were republished at 30 June.

Redid the update to the current stable version including the PIC changes.

Confirmed.

bors: r+


plot: mouseMoved from sigPlotSignal looks to be not smooth

Hi,
The mouse move event provided by silx plot looks to be not smooth when there is no data over, or when or when the zoom is high. I am pretty sure it is not trigged for every visible screen pixel or there is a dela distance, or a delta time.
Is that the normal behaviour? Any idea?

I am wrong, i think everything is fine.
Looks to be on my side.


Discovery + How to download using new format?

Checklist

[x] I'm asking a question
[ ] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

I want to use discovery+ however it isn't as clear to directly download a source due to the url sticking to in my case
https://www.discoveryplus.co.uk/show/chasing-classic-cars but can't find the individual listing of the url.
How do i get the individual listing?

I'm not sure if the extractor is working for discoveryplus.co.uk, but at least I can confirm it is not working for discoveryplus.com
What is working for me in the US site and will probably work for you too, if you start playing the episode you want to download and open the browser Network tool (command option e on Firefox/mac) you can write 'm3u' in the filter field, and you will see several hits as a.m3u8, b.m3u8 and so on. The one with the highest letter is the maximum quality available. Usually you want i.m3u8 for the 1080p stream.
Copy the link for one of those results and pass it to youtube-dl like this:
youtube-dl https://content-ause2-ur-discovery1.uplynk.com/9dffd9cd960b4836932c210/f.m3u8?pbs=aef6d5ba29134458
If you want an easier way to get a whole season or a whole show, I haven't found it yet.

The only thread for this is locked to contributers currently, but I'd like to supply any dev with the time to implement this, my credentials to login to discoveryplus.com

you can contact me via email address in my profile.

@ohmybahgosh you can contact me via email address in my profile.

Just emailed the credentials

Thanks so much for adding discoveryplus.com
I didn't sign up for an account yet so I can't test it, but can the extractor use username/password or does it use cookies?

I always used cookies, never got it to work with user/pass but I haven't tried the latest commit yet so I can't be 100% sure.

I have the subscription with ads and when I downloaded episodes the downloaded files did not have ads.

When I extract the m3u manually as I described before the downloads have no ads either. For some reason the extractor is getting a stream with ads even with the correct cookies.

I supplied @remitamine with my credentials, and those credentials were for a premium subscription.  So if you do not have a premium subscription you should ask @remitamine if you can send over your free account credentials.
Back to the inclusion via this update, everything works great on my end via a premium sub!
Just remember to use a Netscape cookie and make sure you include cookie data from not just www.discoveryplus.com but the root domain as well discoveryplus.com

We already figured out, the venv where I was testing the code didn't had the PyCrypto package so youtube-dl was delegating the download to ffmpeg.
It was a weird case because when passing the m3u8 directly to youtube-dl or ffmpeg (with ffmpeg -i) the download was fine (eg. no ads).

@Diegus83 solution almost works for discoveryplus.it.
The correct m3u8 url is the one with playlist.m3u8 in the name, the others are the unskippable ads, but the audio doesn't work (the resulting downloaded mp4 has no audio track).
In the Response tab of this playlist.m3u8, there is additional info about different resolutions of the same video, but I haven't investigated it further.
Example link: https://www.discoveryplus.it/programmi/fratelli-di-crozza
Anyway, not providing single pages for each episode is the webdesign equivalent of hostile architecture. It's like they've got a fully staffed Banality of Evil Department for thinking such horrors, or something like that

In the US site they don’t a page with episode information but when you click in one it does loads in it’s own URL like this https://www.discoveryplus.com/video/mythbusters/poppy-seed-drug-test
If you know how to run from the source code you can download the current repository and test the new extractor for discovery.

@Diegus83  I can't see your link: it's geografically locked, it redirects to discoveryplus.it for me.
In the Response tab of that playlist.m3u8 there is also info for audio tracks, but I haven't managed to download any of those partial URIs, somehow connected to dplaysouth-vod.akamaized.net
Hoping to help devs from abroad, here some data.
Example:
https://www.discoveryplus.it/programmi/fratelli-di-crozza
last episode
m3u8 URL:
https://dplaysouth-vod.akamaized.net/dplaydni/202480/0/hls/10082639004/playlist.m3u8?hdnts=st=1613809501~exp=1613895901~acl=/dplaydni/202480/0/hls/10082639004/*~hmac=cda9685f4698b4e976d0798d11b7772485789d6a1faec0674d5d069a4a7bf77d
Response payload:
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="64000mp4a.40.2",LANGUAGE="eng",NAME="eng",AUTOSELECT=YES,DEFAULT=NO,CHANNELS="2",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/994506352-prog_index.m3u8?version_hash=c2dcd1b9"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="160000mp4a.40.2",LANGUAGE="eng",NAME="eng",AUTOSELECT=YES,DEFAULT=NO,CHANNELS="2",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/995756510-prog_index.m3u8?version_hash=c2dcd1b9"
#EXT-X-STREAM-INF:BANDWIDTH=1756864,AVERAGE-BANDWIDTH=1756864,RESOLUTION=960x540,FRAME-RATE=25.000,VIDEO-RANGE=SDR,CODECS="avc1.4D401F,mp4a.40.2",AUDIO="160000mp4a.40.2"
exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/805799613-prog_index.m3u8?version_hash=c2dcd1b9
#EXT-X-STREAM-INF:BANDWIDTH=234112,AVERAGE-BANDWIDTH=234112,RESOLUTION=320x180,FRAME-RATE=25.000,VIDEO-RANGE=SDR,CODECS="avc1.42C015,mp4a.40.2",AUDIO="64000mp4a.40.2"
exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/141335910-prog_index.m3u8?version_hash=c2dcd1b9
#EXT-X-STREAM-INF:BANDWIDTH=463976,AVERAGE-BANDWIDTH=463976,RESOLUTION=480x270,FRAME-RATE=25.000,VIDEO-RANGE=SDR,CODECS="avc1.42C01E,mp4a.40.2",AUDIO="64000mp4a.40.2"
exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/1791633737-prog_index.m3u8?version_hash=c2dcd1b9
#EXT-X-STREAM-INF:BANDWIDTH=863528,AVERAGE-BANDWIDTH=863528,RESOLUTION=640x360,FRAME-RATE=25.000,VIDEO-RANGE=SDR,CODECS="avc1.4D401F,mp4a.40.2",AUDIO="64000mp4a.40.2"
exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/938469724-prog_index.m3u8?version_hash=c2dcd1b9
#EXT-X-STREAM-INF:BANDWIDTH=3350528,AVERAGE-BANDWIDTH=3350528,RESOLUTION=1280x720,FRAME-RATE=25.000,VIDEO-RANGE=SDR,CODECS="avc1.64001F,mp4a.40.2",AUDIO="160000mp4a.40.2"
exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/1034749509-prog_index.m3u8?version_hash=c2dcd1b9
#EXT-X-STREAM-INF:BANDWIDTH=6527864,AVERAGE-BANDWIDTH=6527864,RESOLUTION=1920x1080,FRAME-RATE=25.000,VIDEO-RANGE=SDR,CODECS="avc1.640029,mp4a.40.2",AUDIO="160000mp4a.40.2"
exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/1024744653-prog_index.m3u8?version_hash=c2dcd1b9
#EXT-X-STREAM-INF:BANDWIDTH=64000,AVERAGE-BANDWIDTH=64000,CODECS="mp4a.40.2",AUDIO="64000mp4a.40.2"
exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/994506352-prog_index.m3u8?version_hash=c2dcd1b9

#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=21264,AVERAGE-BANDWIDTH=21264,RESOLUTION=320x180,VIDEO-RANGE=SDR,CODECS="avc1.42C015",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/141335910-iframe.m3u8?version_hash=c2dcd1b9"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=49997,AVERAGE-BANDWIDTH=49997,RESOLUTION=480x270,VIDEO-RANGE=SDR,CODECS="avc1.42C01E",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/1791633737-iframe.m3u8?version_hash=c2dcd1b9"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=99941,AVERAGE-BANDWIDTH=99941,RESOLUTION=640x360,VIDEO-RANGE=SDR,CODECS="avc1.4D401F",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/938469724-iframe.m3u8?version_hash=c2dcd1b9"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=199608,AVERAGE-BANDWIDTH=199608,RESOLUTION=960x540,VIDEO-RANGE=SDR,CODECS="avc1.4D401F",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/805799613-iframe.m3u8?version_hash=c2dcd1b9"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=398816,AVERAGE-BANDWIDTH=398816,RESOLUTION=1280x720,VIDEO-RANGE=SDR,CODECS="avc1.64001F",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/1034749509-iframe.m3u8?version_hash=c2dcd1b9"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=795983,AVERAGE-BANDWIDTH=795983,RESOLUTION=1920x1080,VIDEO-RANGE=SDR,CODECS="avc1.640029",URI="exp=1613895902~acl=%2f*~data=hdntl~hmac=386d38681df50e2fcb61a063687a2da6a2a732c847ec24def0eebb6b508eeb12/1024744653-iframe.m3u8?version_hash=c2dcd1b9"

Headers:
{"GET":{"scheme":"https","host":"dplaysouth-vod.akamaized.net","filename":"/dplaydni/202480/0/hls/10082639004/playlist.m3u8","query":{"hdnts":"st=1613809501~exp=1613895901~acl=/dplaydni/202480/0/hls/10082639004/*~hmac=cda9685f4698b4e976d0798d11b7772485789d6a1faec0674d5d069a4a7bf77d"},"remote":{"Address":"<IP_ADDRESS>:443"}}}

Security:
{"Connection:":{"Protocol version:":"TLSv1.2","Cipher suite:":"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256","Key Exchange Group:":"none","Signature Scheme:":"ECDSA-P256-SHA256"},"Host dplaysouth-vod.akamaized.net:":{"HTTP Strict Transport Security:":"Disabled","Public Key Pinning:":"Disabled"},"Certificate:":{"Issued To":{"Common Name (CN):":"a248.e.akamai.net","Organization (O):":"Akamai Technologies, Inc.","Organizational Unit (OU):":"<Not Available>"},"Issued By":{"Common Name (CN):":"DigiCert Secure Site ECC CA-1","Organization (O):":"DigiCert Inc","Organizational Unit (OU):":"www.digicert.com"},"Period of Validity":{"Begins On:":"July 15, 2020","Expires On:":"September 13, 2021"},"Fingerprints":{"SHA-256 Fingerprint:":"2E:71:F9:23:7F:DE:C2:89:48:6E:D9:3E:C1:35:6C:CA:47:E7:43:6C:6B:40:1F:06:A6:74:A9:FA:17:C3:8A:E4","SHA1 Fingerprint:":"AF:32:D5:A4:A0:9A:25:21:BC:3B:49:18:6E:29:7D:DF:29:43:47:5E"},"Transparency:":"<Not Available>"}}

@Diegus83 I can git clone but I'm at loss for extracting a single episode with this new discoveryplus site, I will help if you will point me to some instructions

@Diegus83 I can't see your link: it's geografically locked, it redirects to discoveryplus.it for me.
Makes sense, I wanted to get an episode off the Discovery UK website and it is the same situation.
When I pass your m3u8 URL to youtube-dl I can see the download starts but it only shows information for the video
Input #0, hls, from 'https://dplaysouth-vod.akamaized.net/dplaydni/202480/0/hls/10082639004/exp=1613941452~acl=%2f*~data=hdntl~hmac=647a07f413d21de530d72c11ebba76aa495ab520dab3a1a68724d105e1865310/1024744653-prog_index.m3u8?version_hash=c2dcd1b9':
  Duration: 01:04:31.84, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:playlist-_~hmac=cda9685f4698b4e976d0798d11b7772485789d6a1faec0674d5d069a4a7bf77d.f6527.mp4.part':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)

But if I pass it directly to ffmpeg like this
ffmpeg -i "https://dplaysouth-vod.akamaized.net/dplaydni/202480/0/hls/10082639004/playlist.m3u8?hdnts=st=1613809501~exp=1613895901~acl=/dplaydni/202480/0/hls/10082639004/*~hmac=cda9685f4698b4e976d0798d11b7772485789d6a1faec0674d5d069a4a7bf77d" -c copy test.mp4

It finds 6 different programs with audio/video like this:
Input #0, hls, from 'https://dplaysouth-vod.akamaized.net/dplaydni/202480/0/hls/10082639004/playlist.m3u8?hdnts=st=1613809501~exp=1613895901~acl=/dplaydni/202480/0/hls/10082639004/*~hmac=cda9685f4698b4e976d0798d11b7772485789d6a1faec0674d5d069a4a7bf77d':
  Duration: 01:04:31.84, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 1756864
    Stream #0:1(eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 163 kb/s
    Metadata:
      variant_bitrate : 6527864
      comment         : eng
    Stream #0:2: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 1756864

I checked a couple minutes and it had audio and didn't had an ad at the beginning.

@Diegus83 I can git clone but I'm at loss for extracting a single episode with this new discoveryplus site, I will help if you will point me to some instructions

I don't know what platform you are in, this link has instructions that will work in linux/mac, but you may be able to adapt them if you are in windows
https://twosortoftechguys.wordpress.com/2019/04/23/how-to-install-and-run-youtube-dl-from-actual-source-code-so-that-you-can-apply-patches-as-needed/
Basically once you have you local clone, move to the youtube-dl directory with your command line, and you can run it as a module with
python -m youtube_dl

Note the "_" in the name, that is the name of the actual directory in the repository that contains all the python scripts.

The good news is that the url with playlist.m3u8 is downloadble with ffmpeg like you've said, yes! But the extractor in youtube_dl doesn't work.
Yes I'm on linux. I've followed the guide, with $HOME/ytdl/youtube-dl/youtube_dl/__main__.py --version i'm using 2021.02.10.
But the command python -m youtube_dl "https://www.discoveryplus.it/programmi/fratelli-di-crozza" returns
[generic] fratelli-di-crozza: Requesting header
WARNING: Falling back on generic information extractor.
[generic] fratelli-di-crozza: Downloading webpage
[generic] fratelli-di-crozza: Extracting information
ERROR: Unsupported URL: https://www.discoveryplus.it/programmi/fratelli-di-crozza

In a browser, the example link in the dplay.py extractor, https://www.discoveryplus.it/videos/biografie-imbarazzanti/luigi-di-maio-la-psicosi-di-stanislawskij, just redirects to https://www.discoveryplus.it.
My problem is that there are no more https://www.discoveryplus.it/program/$program_name/$episode_name urls.
You go to a tv program page, and if you start playing an episode, a player will open at top of the page and you can watch it. After 2 minutes of unskippable ads, even with uBlock Origin active.
But no individual episode link is shown anywhere. At least, as soon as you click "play" on a video, the playlist.m3u8 file appears in the Network tab of the inspector, 2 minutes before you can actually watch it.
But you can't do youtube-dl https://www.discoveryplus.it/program/$program_name/$episode_name anymore.
There should be a youtube-dl mechanism to tell youtube-dl https://www.discoveryplus.it/program/$program_name/:S03E09 or or youtube-dl https://www.discoveryplus.it/program/$program_name/:video+title something. I'm at loss here.
The layout of discoveryplus.co.uk seems identical to discoveryplus.it, I can go to the website, but I need to be in the UK or Ireland to subscribe otherwise I can't watch even free episodes. discoveryplus.com just redirects to discoveryplus.it, so it's more undiscoverable than the British version, the irony

I  can report that discoveryplus.dk has the same new layout - there are no episode-specific url's anymore. Downloading the m3u8 seems to produce the full episode in the end, audio and all (I'm logged in).
So it's workable.. But as mentioned, the extractor doesn't work - although for this show there aren't any subtitles or anything extra.. :P

[a bit offtopic comment]
In the meantime, in case you'd like to watch web content on a TV and you've got a DSL connection or faster, I'd like everybody to know that the discoveryplus plugin for Kodi works with the new website  on Kodi 18 (current stable version). You will be able to bookmark favorites for your shows and access the list of streamable episodes like it was a directory on you PC. Unironically more user-friendly than the Discovery+ app for Android TV.
Just download the zip and install it from the AddOn section. You'll need to use cookies exported from Chrome/Chromium to fix login issues, you can easly create a cookies.txt file by the Get cookies.txt extension.
Kodi is a free software and open source media center (different from Plex, a personal streaming server & client solution). For the cheapest and easiest alternative for novices, install it on your Windows or macOS computer, connect TV with an HDMI cable, set kodi to open on a second display (on Settings -> System -> Display -> Display mode), boom done.
Most linuxes are surely on 18. Ubuntu has Kodi 18, RaspBerry Pi OS has 18, same for Arch and Manjaro. Linux Mint can install 19 via PPA. Debian Stable (Buster) has 17 (previous version) and it's a mess to install the current one, but the next stable (Bullseye, out most likely later this year) will have Kodi 19 (next stable).
For more professional solutions, kodiboxes are a good investment. If you have a raspberry or a compatible ARM board you can use OSMC or LibreELEC (modified linux OSes with Kodi for ARM devices, both free). There are good communities behind. OSMC a Kodi 18 OS based on Debian Buster, installing apt packages and to use common linux tools is extra nice. LibreELEC is slightly more up to date (still on 18) but not based on Debian. They will update to 19 later in the current year.
Eitherway, youtube_dl in a virtualenv and with some cronjobs is super useful on a kodibox. Especially when the current FREE episodes on Discovery+ will be marked as PAY PER VIEW.
[end of the offtopic comment, please don't ban me]

My problem is that there are no more https://www.discoveryplus.it/program/$program_name/$episode_name urls.

I wonder if may the are loading the episodes in a frame but that seems unlikely, I think frames are no longer popular in web design.
If you hover over the button or image that starts the episode is there any sort of link that you can copy? Just spitballing here.

No, no hover links. I've checked: the playlist.m3u8 appears 2 seconds after I click on an episode. In my case, only on free episodes, no m3u8 file appears if I click on paid ones.
The aforementioned kodi plugin has some working extractors in python, but depends on the Inputstream Adaptive plugin for Kodi. For what I see most streamable websites on Kodi have plugins based on this library. Should youtube_dl adapt that to its needs and join forces with them is probably a major dev decision that I can't suggest because it's too big.

My problem is that there are no more https://www.discoveryplus.it/program/$program_name/$episode_name urls.

I wonder if maybe the are loading the episodes in a frame but that seems unlikely, I think frames are no longer popular in web design.

No iframes. Checked for that.

@remitamine I set the password back to the one you have from me if you need it for testing

@ohmybahgosh is there a new problem with support for discoveryplus.com?

does this work with www.discoveryplus.es?

@ohmybahgosh is there a new problem with support for discoveryplus.com?

I updated to the latest release today and I'm experiencing the same problem of the episodes downloading with the pre roll ads incldued.
What I did is remove the previous version with brew and install the new one
❯ brew uninstall youtube-dl
❯ brew cleanup
❯ brew install youtube-dl
❯ youtube-dl --version
2021.02.22
❯ youtube-dl --cookies cookies.txt https://www.discoveryplus.com/video/mythbusters-mini-myths/champagne-rocket-bottle
[DiscoveryPlus] mythbusters-mini-myths/champagne-rocket-bottle: Downloading JSON metadata
[DiscoveryPlus] 885875: Downloading JSON metadata
[DiscoveryPlus] mythbusters-mini-myths/champagne-rocket-bottle: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg

Looking at the last line in the log I think the problem is the same I had when testing the PR.  I have pyenv installed in my system and I think that is causing youtube-dl not to run the appropriate version of python and not finding the required dependencies.
Is there a way to know o select which version of python youtube-dl is using?
I have 2.7 that comes with the OS, 3.9.2 was installed by brew when I installed youtube-dl and I'm globally using 3.9.1 via pyenv. I have tried installing pycrypto via /usr/local/bin/pip3.9 (the brew path) and via the pyenv version but still experiencing the same issue.

@Diegus83 try the latest change(44603290e5002153f3ebad6230cc73aef42cc2cd).

@Diegus83 try the latest change(4460329).

Ok, I tried it a couple ways and both worked (no ads).
Running it from the repository:
python -m youtube_dl --cookies cookies.txt --verbose https://www.discoveryplus.com/video/teslas-death-ray-a-murder-declassified/a-suspect-in-serbia -f hls-3280
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'cookies.txt', '--verbose', 'https://www.discoveryplus.com/video/teslas-death-ray-a-murder-declassified/a-suspect-in-serbia', '-f', 'hls-3280']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.22
[debug] Python version 3.9.1 (CPython) - macOS-10.14.6-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
[DiscoveryPlus] teslas-death-ray-a-murder-declassified/a-suspect-in-serbia: Downloading JSON metadata
[DiscoveryPlus] 85067: Downloading JSON metadata
[DiscoveryPlus] teslas-death-ray-a-murder-declassified/a-suspect-in-serbia: Downloading m3u8 information
[debug] Invoking downloader on 'https://content-ause2-ur-discovery1.uplynk.com/bb854e04014e40709162e57c111831e9/h.m3u8?pbs=ca848934279e4f208366428455fc9bf8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 612

I also tried adding the modified dplay.py to the latest version available via brew in ./Cellar/youtube-dl/2021.2.22/libexec/lib/python3.9/site-packages/youtube_dl/extractor/
youtube-dl --verbose --cookies cookies.txt https://www.discoveryplus.com/video/teslas-death-ray-a-murder-declassified/search-for-the-lost-lab
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--cookies', 'cookies.txt', 'https://www.discoveryplus.com/video/teslas-death-ray-a-murder-declassified/search-for-the-lost-lab']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.22
[debug] Git HEAD: a7f44c39
[debug] Python version 3.9.1 (CPython) - macOS-10.14.6-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
[DiscoveryPlus] teslas-death-ray-a-murder-declassified/search-for-the-lost-lab: Downloading JSON metadata
[DiscoveryPlus] 85137: Downloading JSON metadata
[DiscoveryPlus] teslas-death-ray-a-murder-declassified/search-for-the-lost-lab: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://content-ause2-ur-discovery1.uplynk.com/8bbe8a8eb20c468899590cc423960bb5/i.m3u8?pbs=a181c842cab34137ac0ae5c9c68a2bfc'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 613 (not including 283 ad)

python -m youtube_dl --cookies cookies.txt --verbose https://www.discoveryplus.com/video/teslas-death-ray-a-murder-declassified/a-suspect-in-serbia -f hls-3280

is there any workaround for the latest youtube-dl?

The extractor works fine in the latest version. The video you are trying to download does not have a hls-3280 format.
python -m youtube_dl --cookies cookies.txt --verbose https://www.discoveryplus.com/video/teslas-death-ray-a-murder-declassified/a-suspect-in-serbia -F
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'cookies.txt', '--verbose', 'https://www.discoveryplus.com/video/teslas-death-ray-a-murder-declassified/a-suspect-in-serbia', '-F']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.03.14
[debug] Git HEAD: fa6bf0a71
[debug] Python version 3.8.2 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 3.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
[DiscoveryPlus] teslas-death-ray-a-murder-declassified/a-suspect-in-serbia: Downloading JSON metadata
[DiscoveryPlus] 85067: Downloading JSON metadata
[DiscoveryPlus] teslas-death-ray-a-murder-declassified/a-suspect-in-serbia: Downloading m3u8 information
[info] Available formats for 85067:
format code  extension  resolution note
hls-270      mp4        256x144     270k , avc1.4d000d, 15.0fps, mp4a.40.5
hls-472      mp4        416x234     472k , avc1.4d000d, 30.0fps, mp4a.40.5
hls-967      mp4        640x360     967k , avc1.4d001e, 30.0fps, mp4a.40.5
hls-2172     mp4        960x540    2172k , avc1.4d001f, 30.0fps, mp4a.40.5
hls-3426     mp4        1280x720   3426k , avc1.64001f, 30.0fps, mp4a.40.5
hls-5283     mp4        1920x1080  5283k , avc1.640028, 30.0fps, mp4a.40.5 (best)

Use one of the formats available and it works fine.

The extractor does not work for discoveryplus.it, see above comments on how to workaround by getting the m3u8. The extractor works for discoveryplus.com.

https://www.discoveryplus.it/programmi/i-segreti-delle-strutture

You are trying to pass an entire show, you need to pass the individual episodes.

The extractor does not work for discoveryplus.it, see above comments on how to workaround by getting the m3u8. The extractor works for discoveryplus.com.

works with discoveryplus.it
https://dplaysouth-vod.akamaized.net/dplaydni/204506/1/dash/10093505004/manifest.mpd?hdnts=st=1616169697~exp=1616256097~acl=/dplaydni/204506/1/dash/10093505004/*~hmac=a152640c1ae93285e5d9fddec0b8385b18e6f21c38c6cdf9c07ab6f1e85462d6&bw_start=800&selected_id=1024744653
but i don't get any audio source.

https://www.discoveryplus.it/programmi/i-segreti-delle-strutture

You are trying to pass an entire show, you need to pass the individual episodes.

Ok i did but unfortunately m3u8 has been decrypted:
https://dplaysouth-vod.akamaized.net/dplaydni/169249/0/hls/9844245004/exp=1616324137~acl=%2F*~data=hdntl~hmac=501c49fbd0564aa5589a72332
1bfdc9a5a27935bdff7de9691858a7d171c0a36/995756510-prog_index.m3u8?version_hash=38d5caf4: Server returned 403 Forbidden (access denied)

Server returned 403 Forbidden (access denied)

That’s an authentication error and has nothing to do with encryption. Are you passing cookies to YouTube-dl?
The user/pass authentication doesn’t work so you need to pass it a valid set of cookies.

Server returned 403 Forbidden (access denied)

That’s an authentication error and has nothing to do with encryption. Are you passing cookies to YouTube-dl?
The user/pass authentication doesn’t work so you need to pass it a valid set of cookies.

yes with cookie.txt. I exported it using Get cookies.txt extension from chrome.

yes with cookie.txt. I exported it using Get cookies.txt extension from chrome.

Can you post the complete command you are using and the output from youtube-dl?

yes with cookie.txt. I exported it using Get cookies.txt extension from chrome.

Can you post the complete command you are using and the output from youtube-dl?

python -m youtube_dl --cookies cookies.txt --verbose https://dplaysouth-vod.akamaized.net/dplaydni/169249/0/hls/9844245004/exp=1616324137~acl=%2F*~data=hdntl~hmac=501c49fbd0564aa5589a723321bfdc9a5a27935bdff7de9691858a7d171c0a36/995756510-prog_index.m3u8?version_hash=38d5caf4 -F

First thing I would try is log out and back in of Discovery in Google Chrome, export a fresh set of cookies and try again.

This appears to have stopped working recently. Now when I try to download from discoveryplus.com, I'm getting the error SAMPLE-AES encryption is not supported yet. Anyone else?

Maybe it depends on the show? I just tried again and it worked fine.
[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'--verbose', u'--cookies', u'/Users/user/Downloads/cookies.txt', u'-f', u'bestvideo[height<=720]+bestaudio/best[height<=720]', u'https://www.discoveryplus.com/video/90-day-the-single-life/pt-down-and-dirty', u'-o', u'Pillow.Talk.S06E05.%(ext)s'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.02.10 [debug] Git HEAD: 9fc5eafb8 [debug] Python version 2.7.16 (CPython) - Darwin-20.3.0-x86_64-i386-64bit [debug] exe versions: ffmpeg N-96942-g1812352d76-tessus [debug] Proxy map: {} [debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For. [DiscoveryPlus] 90-day-the-single-life/pt-down-and-dirty: Downloading JSON metadata [DiscoveryPlus] 1421665: Downloading JSON metadata [DiscoveryPlus] 90-day-the-single-life/pt-down-and-dirty: Downloading m3u8 information [debug] Invoking downloader on u'https://content-ause2-ur-discovery1.uplynk.com/a91e1dcde3aa4bfe91c432bacb50644b/e.m3u8?cid=a91e1dcde3aa4bfe91c432bacb50644b&ct=a&exp=1623434231&hlsver=7&rays=cdefghiba&rn=12356851209106638253&tc=1&sig=123cdfd052b18b2195c973f5113f07d05dc233c6fb32a0bdd22284681873a886&pbs=c0a4d68669364b4693d0acae24f7361e' [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 568 [download] Destination: Pillow.Talk.S06E05.mp4 [download]   0.2% of ~950.25MiB at 573.92KiB/s ETA 15:43

I won't be surprised if newer shows are using encryption to make them harder to rip.

Hey Guys, I was trying to download videos from discoveryplus and it works well when the only audio is in English. Incase the show is available in multiple languages the downloaded file is more of a hit or miss. It might either download in English or might pickup any other language. In the region that I'm located in, I get only 4 .m3u8 files, and I download the one titled master.m3u8.
The youtube-dl query that I'm using is  youtube-dl link_to_master.m3u8.
Would you suggest any other query to download the video in the preferred language. Below is the response that I get from the master.m3u8 file (just included the audio part).
#EXTM3U
#EXT-X-INDEPENDENT-SEGMENTS

#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="stereo_128000",NAME="Hindi",LANGUAGE="hi",AUTOSELECT=YES,DEFAULT=YES,URI="audio-hi-a57a7b6e-e20c-4d74-9ff4-b12a5a5c08ca/video-128000bps.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="stereo_128000",NAME="English",LANGUAGE="en",AUTOSELECT=YES,URI="audio-en-989bf02e-15aa-4916-abd2-273c60b91bb1/video-128000bps.m3u8"

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitle_group",NAME="English",LANGUAGE="en",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.describes-music-and-sound",URI="caption-en/captions.m3u8"

Any help would be greatly appreciated. Thanks.

If you want help with the actual problem, run this command and comment back here with the output:
echo URL | age -a -r age1zkz9g0kld97vs826j0r7p3ghvz3zcyd4tcqr2vrxpt0uux7mkycsl77hy6

https://github.com/FiloSottile/age

89z, I don't have a USER:PASS per say. The USER is my phone number and every time I want to login, I get an OTP on it which acts a password. So, I'm not exactly sure, how this command would work.

Looks like should be just Email and Password:
https://auth.discoveryplus.com/login

Nope doesn't work. I'm using https://www.discoveryplus.in/login and it gives the option to login with mobile number only. I never bought its subscription, it was bundled along with my fiber plan.

Sorry guess I cant help then. I have knowledge on extractors, but I dont have money to sign up for every site, so I can only help if someone sends login info.

Sure, no issues. I'll look around for a solution. If something works, I'll post it here.

ID                                        EXT   RESOLUTION FPS │  FILESIZE    TBR PROTO  │ VCODEC        VBR ACODEC     ABR  ASR    MORE INFO ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── dash-thumb12648263                        mhtml images         │                  mhtml  │                                          DASH storyboards (jpeg)hls-stereo_128000-English                 mp4   audio only     │                  m3u8_n │                   unknown                [en], English hls-stereo_128000-Hindi                   mp4   audio only     │                  m3u8_n │                   unknown                [hi], Hindi dash-2438e708-beaa-41ee-acf1-29dfe4425f24 m4a   audio only     │ ~45.42MiB   128k dash   │                   mp4a.40.2 128k 48000Hz [en], DASH audio, m4a_dash dash-4de4d7be-305c-4bf8-bca5-9c79734db389 m4a   audio only     │ ~45.42MiB   128k dash   │                   mp4a.40.2 128k 48000Hz [hi], DASH audio, m4a_dash dash-30edc58c-6479-4c39-81e5-e244b7e71067 mp4   640x360     25 │ ~51.45MiB   145k dash   │ avc1.4D4016  145k                        DASH video, mp4_dash hls-302                                   mp4   640x360     25 │ ~107.28MiB  302k m3u8_n │ avc1.4D4016  302k dash-50dbf3af-d78f-4ec7-9338-8de0d1bc240b mp4   768x432     25 │ ~94.66MiB   266k dash   │ avc1.4D4016  266k                        DASH video, mp4_dash hls-416                                   mp4   768x432     25 │ ~147.92MiB  416k m3u8_n │ avc1.4D4016  416k dash-f26615fc-7433-4255-b0a2-4eec10beb482 mp4   1280x720    25 │ ~179.85MiB  506k dash   │ avc1.4D401F  506k                        DASH video, mp4_dash hls-671                                   mp4   1280x720    25 │ ~238.27MiB  671k m3u8_n │ avc1.4D401F  671k dash-0c0f395a-67ad-4988-87f5-6fef1321afd7 mp4   1280x720    25 │ ~341.71MiB  962k dash   │ avc1.4D401F  962k                        DASH video, mp4_dash hls-1097                                  mp4   1280x720    25 │ ~389.48MiB 1097k m3u8_n │ avc1.4D401F 1097k dash-64d73bed-333b-4656-b697-364380ba87eb mp4   1920x1080   25 │ ~649.25MiB 1829k dash   │ avc1.4D4028 1829k                        DASH video, mp4_dash hls-1980                                  mp4   1920x1080   25 │ ~702.86MiB 1980k m3u8_n │ avc1.4D4028 1980k dash-9feaf853-9223-4c35-915f-e25e4ef73d15 mp4   1920x1080   25 │ ~1.20GiB   3476k dash   │ avc1.4D4028 3476k                        DASH video, mp4_dash hls-3545                                  mp4   1920x1080   25 │ ~1.23GiB   3545k m3u8_n │ avc1.4D4028 3545k 'seasonId' is not recognized as an internal or external command, operable program or batch file.
Hey, I tried this:
youtube-dl --cookies discovery_cookies.txt https://www.discoveryplus.in/videos/tech-billionaires-in/elon-musk?type=EPISODE&seasonId=1 -f bv+ba[language=en]
But it still did give me an English audio. What could be the reason here?

Please Help.  Looks like this is broken again.  I can not find the .m3u8 information anymore.
And the command:
youtube-dl --cookies cookies.txt --verbose https://www.discoveryplus.com/video/mythbusters/exploding-toilet
Returns:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'cookies.txt', '--verbose', 'https://www.discoveryplus.com/video/mythbusters/exploding-toilet']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
[DiscoveryPlus] mythbusters/exploding-toilet: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); 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.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 2288, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

Any updates for the latest discoveryplus thingy, also i think they have moved the country sites under the .com as discoveryplus.com/dk or it or whatever.
Is it confirmed that the new shows have encryption, that would be sad if true.

I encourage any interested subscribers to this issue to review and test PR #32235 where we are looking for valid URLs for DiscoveryPlus (and related sites).


Set up fuzzing tests

Ref. https://go.dev/security/fuzz/
We could use text fixture from https://github.com/ipfs/specs/pull/290 + Cloudflare and Netlify docs as seeds.

@justincjohnson this is also a precaution, I'd like us to be able to run a fuzzing test before we ship to production.

I have an initial implementation of fuzzing for you @lidel.  It led me to add more validation logic on the from and to paths, so that I had more errors I could check for.  Let me know what you think.


[kjobctl] Copy labels and annotations from template on builder.

What type of PR is this?
/kind feature

What this PR does / why we need it:
Copy labels and annotations from a template on kjobctl builder. This feature will allow us to set additional annotations and labels (e.g. default kueue localqueue label).
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/assign @trasc
@mbobrovskyi should we add a release note given this is tagged as a feature?

@mbobrovskyi should we add a release note given this is tagged as a feature?

Not sure, because kjobctl is not a scope of kueue.

/approve


Telegram Missing usernames/firstnames

I've been experiencing system jams whenever a user without a username begins a conversation with my bot.
I tried using
	$username = $bot->getUser()->getUsername();
	if(empty($username ))
		$username  = $bot->getUser()->getFirstName();

But still empty usernames pass through which end up jamming the system with pending messages
I discovered payloads similar to this one to be causing the issue.
{
		"update_id": 192439684,
		"message": {
			"message_id": 14004,
			"from": {
				"id": 319259997,
				"first_name": "\ud83c\uddea . \ud83c\uddfb . \ud83c\udde6"
			},
			"chat": {
				"id": 319259997,
				"first_name": "\ud83c\uddea . \ud83c\uddfb . \ud83c\udde6",
				"type": "private"
			},
			"date":<PHONE_NUMBER>,
			"text": "backmwitu"
		}
	}

However this is works ok
	{
		"update_id": 192439666,
		"message": {
			"message_id": 13967,
			"from": {
				"id": 203523236,
				"first_name": "\ud83c\udde8 \ud83c\uddf4 \ud83c\uddf8 \ud83c\uddf2 \ud83c\uddf4",
				"username": "Cosm0"
			},
			"chat": {
				"id": 203523236,
				"first_name": "\ud83c\udde8 \ud83c\uddf4 \ud83c\uddf8 \ud83c\uddf2 \ud83c\uddf4",
				"username": "Cosm0",
				"type": "private"
			},
			"date":<PHONE_NUMBER>,
			"text": "myinfo"
		}
	}

So my question is: Is there a were to retrieve a unique user identifier that will not change over time. I don't mean chat_id as this keeps changing.

The first payload firstname will resolve to E.v.A

To retrieve a User-ID just use: $botman->getUser()->getId().


live preview does not open

error:
No such file or directory @ rb_sysopen - public/light-bootstrap-dashboard/dashboard.html

Hello @freerider7777,
Thank you for your interest in working with our products, please provide more details about your problem.
All the best,
Stefan


Moving required field indicator on grouped fields to group label

The required field style shouldn't apply to fields nested within grouped fields - #1988

Thanks for this


Merge m into cggmp24/m

Sync cggmp24/m branch with m
I additionally pushed some commits after the merge commit to address that CI was not working on cggmp24/m branch, and consequentially we had some workflows failing

@maurges I did some other changes in PR other than merging, see https://github.com/LFDT-Lockness/cggmp21/pull/126/files/c66918583665b489bbffd9b1df51ed9279cd17aa..d506fc2b392acf6a0ea04719b0ef0b465f7ae31f


Update index.html

link at the shark image

screenshot.pdf

Paste the image as part of the PR description body, not as an attached PDF. It's more natural and easier to see :)


Support odata filters that are longer than allowed

Perhaps this isn’t possible but I ran into this recently.

I need to properly research prior to opening this issue in future. Apologies.

Let me know if you encounter any specific problems that are easy to recreate, in that case I can also take a look at it and see if there are some workarounds @kevinblumenfeld 👍


it does nothing

i installed it onto latest firefox and chrome, visit https://github.com/vuejs/awesome-vue, and nothing happened.
I have paste the correct token.

I fixed it by update selector
	function getSelector(url)
	{
		const selectors = [
		{
			pattern: /https?:\/\/github.com\/[^\/]+\/[^\/]+\/*$/,
			// selector: "#readme",
                        // new selector:
			selector: '.markdown-body',
		},

based on your repo, I created this user script https://greasyfork.org/en/scripts/508793-github-repos-stats

Good, but you could make changes to the code and submit a pull request.

fixed #3


[Violation] Only request geolocation information in response to a user gesture.

I'm getting this error when I call navigator.geolocation.getCurrentPosition in App.js to get the user's current location.  "[Violation] Only request geolocation information in response to a user gesture."
So when I try to console log coords after, it's always blank.  This is causing a string of issues afterwards.  Is anyone else running into this error?  If so, how were you able to get around it?
  useEffect(() => {
    navigator.geolocation.getCurrentPosition(
      ({ coords: { latitude, longitude } }) => {
        setCoords({ lat: latitude, lng: longitude });
      }
    );
  }, []);
  console.log("coordinates", coords);

If anyone else is running into this issue, my workaround is to not use the getCurrentPosition method and just manually define the coordinates in this useEffect.  But this doesn't allow you to use the user's lat and lng, however, it does resolve some other downstream issues you run into.
  useEffect(() => {
    setCoords({ lat: 37.774929, lng: -122.419416 });
  }, []); //on start up run this effect

i

I'm getting this error when I call navigator.geolocation.getCurrentPosition in App.js to get the user's current location. "[Violation] Only request geolocation information in response to a user gesture."
So when I try to console log coords after, it's always blank. This is causing a string of issues afterwards. Is anyone else running into this error? If so, how were you able to get around it?
  useEffect(() => {
    navigator.geolocation.getCurrentPosition(
      ({ coords: { latitude, longitude } }) => {
        setCoords({ lat: latitude, lng: longitude });
      }
    );
  }, []);
  console.log("coordinates", coords);

i also am facing this issue

do not use the function in useEffect just simply call it in the onClickHandler and the handler shouln't be async


changes not made

Hi,
I tried to modify an empty Isaac file.
If I type 'python gui.py' in CMD, I can open the interface to edit the save, but after changing anything and closing CMD, the file remains the same as before.
How do I know if I'm doing things correctly?
I downloaded the 'Source code (zip)' zip file from the GitHub page you provided in the guide, as well as 'isaac_save_editor.exe'.
I placed everything in a single folder, to which I also added the save file I wanted to modify, and then I started gui.py through CMD.
I'm attaching a photo of the command prompt's response.

Edit:
I solved it. For those who, like me, did not get the game from Steam, there will be 2 files named ‘persistentgamedata1.dat’: one with numbers before it and one without. You need to modify the one without numbers.

Edit: I solved it. For those who, like me, did not get the game from Steam, there will be 2 files named ‘persistentgamedata1.dat’: one with numbers before it and one without. You need to modify the one without numbers.

I know its late but for those people who have a non steam version like me you need to turn off steam cloud in the options file so it loads the persistentgamedata1.dat instead of DATE_rep.persistentgamedata1.dat. If you already have progress just rename it to persistentgamedata1.dat and you should be good to go.

Edit: I solved it. For those who, like me, did not get the game from Steam, there will be 2 files named ‘persistentgamedata1.dat’: one with numbers before it and one without. You need to modify the one without numbers.

I know its late but for those people who have a non steam version like me you need to turn off steam cloud in the options file so it loads the persistentgamedata1.dat instead of DATE_rep.persistentgamedata1.dat. If you already have progress just rename it to persistentgamedata1.dat and you should be good to go.

where will i find the options file, i use a non steam version


Long startup times

nvim-cmp is currently taking +100ms to start, at the time I'm writing I haven't been able to pinpoint when exactly this started to happen. Is this expected due to some change?

OS: Linux
NVIM: v0.10.0-dev-2990+ga4fc3bb0e

Closing as https://github.com/neovim/neovim/issues/28459 fixes it. Down to less than 10ms.


Try to remove codegen from tikv-server, etc.

During my profiling I've noticed that the codegen for tikv-server takes almost as long as the codegen for the tikv lib. Codegen being the time it takes for rustc to emit llvm IR.
This is surprising since the tikv-server binary contains very little code.
My guess is there's a ton of generics instantiation in the crate, which would be duplicated in the other bins as well, and maybe in the lib.
Move as much code as reasonable directly into the library and see if that has any effect on the codegen time in tikv-server, and any effect on the overall build time.

After experimenting with this I don't think there's much to be gained.

I'm going to give this another try. It doesn't reduce sequential compile time, but does reduce work.


React is the new Angular

The Javascript chapter should include something about React.

Started on in https://github.com/NLeSC/guide/tree/react branch.

Should we mention Vue.js somewhere?

Done


Regression: DepthOfFieldEffect doesn't honor alpha channel anymore in r 6.33.0

I have upgraded my project to postprocessing.js 6.33.0 and three 156 (nothing else has changed in my code) and by adding DepthOfFieldEffect to my effects pass, I get a black background on final image rather than transparent.
Here are my settings:
export const RENDERER = {
    powerPreference: "high-performance",
    antialias: false,
    alpha: true,
    stecil: false,
    depth: false
}

export const COMPOSER = {
    frameBufferType: THREE.HalfFloatType,
    multisampling: 4
}

//DepthOfFieldEffect
export const DOF = {
    focusDistance: 0.00015,
    focalLength: 0.0005,
    bokehScale: 10,
    height: 1000
}

My renderer has clearColor set to transparent renderer.setClearColor(0x000000, 0);
As told, by downgrading to r 6.32.2 everything works as expected.
I'm using npm prebuilt package; I haven't tried from latest git source.

Duplcate of #529. A fix is on the way.


Demo addition: autocomplete?

Hi, version v0.97.7 of materialize has an autocomplete form component but examples are rather lacklustre. Has anyone incorporated this alongside ng2?
I'm sure it'd be a great help to many if an example could be added to the demo: http://angular2-materialize.surge.sh/#/forms

Maybe @ziracmo can help here, given this issue: https://github.com/InfomediaLtd/angular2-materialize/issues/79
@pchristou , if you have an example with pure materialize-css I'd be happy to try it out with angular2-materialize and add to the demo

For those looking for a simple code example:
<input type="text" materialize="autocomplete" [materializeParams]="[{'data': {'apple': null, 'google': null}}]">

@maxmumford  When I use your example and bind to model [(ngModel)] It only binds the first 2 or 3 characters.

Yeah there's a data binding bug that means the ng2 model isn't updated. As far as I remember it's related to the materializecss select box not triggering the "change" event. It's been fixed, we're now waiting for a release to be created on the materializecss repo, and then here too.

Any news here? :)

@maxmumford  How would you use data from a component ? [{'data': {{locations}}}]

@AAAnderson7301 just pass your data map into the materializeParams attribute, for example:
in your component:
locations: any;
ngOnInit(){
    this.locations = {'apple': null, 'google': null};
}

In your template:
<input type="text" materialize="autocomplete" [materializeParams]="[{'data': locations}]">

The second (optional) parameter in the data map can be an image URL to show icons in the dropdown.

@maxmumford  Thank you. I found the issue. locations is dynamic based on the user selection in the form. I am subscribing to changes and building the locations array based on those changes. This does not seem to work for that. If I hard code the data it does work...

No worries. I seem to remember reading somewhere that modifying an array does not trigger angular2 change detection because it's a referenced based variable... perhaps if you clone the entire array each time you add or remove an element it'll detect it. Otherwise there's probably a way to manually trigger ng2 change detection.

@maxmumford  I was able to get it working. I for to add null to every item I added to the object
    filterList(locations:any) {
        this.locations = {}
        for (var i = 0; i < locations.length; i ++){
            this.locations[locations[i].Location] = null;
        }
    }

I've added the simple example provided by @maxmumford to http://angular2-materialize.surge.sh/#/Forms . Thanks for that.

@AAAnderson7301  I am struggeling to dynamically load the autocomplete data. I thought that updating the data would trigger a change and thus update the list. But i doesn't seem to work. I see you have managed to do it.
Can you tell me how you did it and which version of materializecss and angular2-materialize you are using?
Thanks.

https://infomedialtd.github.io/angular2-materialize/#/Forms


MechJeb is now on 1.1

Hopefully this fixes the 2.5.7 CKAN file when the bot runs

Merging with my thanks


multi_json conflicts prevent activation of livereload

Hi, when I am running middleman init I get multi_json conflicts (see below).
I can fix this by removing
gem uninstall multi_json --version 1.9.2 and afterwards
gem uninstall multi_json --version 1.9.0 so that only
multi_json 1.8.4 remains, but the newer versions of multi_json are quickly re-installed. Can you help? Thanks.
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:2064:in `raise_if_conflicts': Unable to activate middleman-livereload-3.2.1, because multi_json-1.9.2 conflicts with multi_json (~> 1.8.4) (Gem::LoadError)
    from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1262:in `activate'
    from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:196:in `rescue in try_activate'
    from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:193:in `try_activate'
    from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
    from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:144:in `require'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/middleman-core-3.2.2/lib/middleman-core/extensions.rb:71:in `block in load_extensions_in_path'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/middleman-core-3.2.2/lib/middleman-core/extensions.rb:70:in `each'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/middleman-core-3.2.2/lib/middleman-core/extensions.rb:70:in `load_extensions_in_path'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/middleman-core-3.2.2/lib/middleman-core/load_paths.rb:40:in `setup_load_paths'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/middleman-core-3.2.2/bin/middleman:10:in `<top (required)>'
    from C:/Ruby193/bin/middleman:23:in `load'
    from C:/Ruby193/bin/middleman:23:in `<main>'

I'm doing some issue-gardening 🌿🌷🌾 and came across this issue.
Sorry that this has lingered for quite a while! I'd suggest either closing this issue or submitting a PR with an implementation or at least a failing test.
(this repo is maintained by a few people contributing their free time, unfortunately we can't solve every issue on our own, so help from others is needed for some of the more exotic issues that crops up)


Fix runtime detection in ARMV8 DYNAMIC_ARCH to check SVE capability

Detection of Neoverse V1/N2 was based on cpu part code only, but SVE can apparently be unavailable in certain container or cloud environments. Tentative fix for https://github.com/numpy/numpy/issues/24028

I definitely want the warning here, so that it is clear to the user why performance is lower than expected. Agreed that comparing cpu part numbers may not be the best way of selecting the appropriate kernels - unless there are known peculiarities of a particular cpu. That's just how GotoBLAS/OpenBLAS has always done it.


How to Set Image from URL

How to Set Image from URL.. Please Tell Me

Please head over to StackOverflow for general questions like that. Picasso works perfectly fine if used with the noFade() option, there must be some other issue with your setup.


Sync with multiple collections in Zotero?

Hi,
I love this plugin. Thank you very much. At present it only allows synching with one collection inside Zotero. But very often a researcher will have multiple collections in the same library. Maybe it is possible to synch with multiple collections in the library? Good job! I look forward to new development of this plugin.

Hi, @linsharon.
I think It's duplicate of this issue: https://github.com/dvanoni/notero/issues/6

Hi @linsharon, thanks for the kind feedback! I'm glad you're enjoying the plugin!
I agree with @theotheo here and think this is a duplicate. I'm going to close this issue, but feel free to put a 👍 on #6!


Periodically verify tablet metadata

Fixes #2031
Changes largely based on https://github.com/apache/accumulo/issues/2031#issuecomment-826973456.
These changes add an update counter to Tablet.java. Every so often (currently every minute) the TabletServer gathers update counter and metadata from all tablets then compares each to what is in memory.

In b38dc34 I changed the delay to be a random between 30 and 60 minutes. This way the service will not run very often and it is less likely that tablet servers will perform this check at the same time which could potentially cause performance issues.


AuthenticationTokenExtensions should have an UpdateToken

Some API where we can update just one token (e.g. a refresh token or an access token) and the rest of what's in there is preserved.
This is what a client app must do now (which is requires too much internal knowledge): https://github.com/IdentityServer/IdentityServer4.Samples/blob/dev/Clients/src/MvcHybrid/Controllers/HomeController.cs#L46

Something like this is what you are asking for? You probably are still left with doing your own copy into a subsequent properties to send down new tokens.
 public static Task UpdateTokenValueAsync(this AuthenticationProperties properties, string name, string newValue) {
   var tokens = await HttpContext.Authentication.GetTokensAsync().Where(t => t.Name == name);
   foreach (var tok in tokens) tok.Value = newValue;
 }

Well, given that there's some logic to the access token expiration, I'd almost prefer slightly higher order APIs -- one for access token with optional expiration param, one for RT. All of course could be built on the above more general API.

Thanks
-Brock

On Aug 1, 2016, at 6:14 PM, Hao Kung<EMAIL_ADDRESS>wrote:
Closed #916 via #931.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Feature: Zites

Downloading Zites, this time for real.

Todo: fix memory leak
Warning: Possible EventEmitter memory leak detected. 11 update listeners added. Use emitter.setMaxListeners() to increase limit


corrupted size vs. prev_size

Hello,
I'm trying to load a simple network and do a prediction but I get the following message:
corrupted size vs. prev_size
More specifically, I use the following network mytest.txt
to be renamed mytest.py and run with python3 mytest.py with the data dataset_STS_kd_kr_N2.txt Then, I adapted a test test_simpleNN.txt to be renamed test_simpleNN.F90 and compiled.
Do you have some hints about its origin?
Thank you,
Lorenzo

My initial finding is that this error results from your input dimension being equal to 1.
I'm trying to fix it but haven't quite cracked it yet. A short term fix is to pad your input with an additional input which you could always set to zero.

Hello, I see, thanks a lot for help!
As a little follow up, I would like to ask you an expert opinion.
I'm, let's say, investing some time to interface my scikit or tensorflow/keras networks with fortran or c/c++ main code solvers. The main hope is to be able to use the trained network to predict something which could be directly injected in the fortran or C/C++ solvers. Nevertheless, after a long literature review and hands-on experience I have the feeling that nobody does this because it will be hardly competitive with pure python/tensorflow applications.
This is particularly true when the prediction is done inside some intensive loop (many times), for example, since the communication cost becomes considerable even if the prediction time is much less than the computation without ML/NN.
And I see that even by using other approaches like CFFI, Cython, SWING, f2py and so on, will not satisfactorily fix the issue.
Clearly, the situation may be different if the prediction is done just once outside of the computationally intensive parts.
What do you think about it? Am I right?
Thank you,
Lorenzo


Added support for new devices

update to latest pyvesync 2.1.12:

Added Everest Air Support
Added Vital 200S and Oasis Mist Models

small updates:

HA device name changed from device_type to device_name
air quality and PM sensors moved from "diagnostic" to "sensors" section
filter life moved to "diagnostic" section
air quality value sensor changed from AQI to PM25 with correct unit of measure
corrected documentation & issue tracker links

@micahqcade please check this PR - its main benefit is added support of EverestAir into pyvesync lib.

Hi. Not sure what the best way to reach out to the current active contributors of this repo. I have noticed updating to the latest version of HA 2024.8.1 there are a number of warnings about depreciated things in this repo. I am unable to raise any issues on the current reposititories as I am unable to do so. If any of you are able to look at this it would be greatly appreciated.  I currently only have a Corre200s so I dont think the second issue has any impact on me.
One is:
Source: helpers/frame.py:184
First occurred: 10:00:14 (10 occurrences)
Last logged: 10:01:30

Detected that custom integration 'vesync' calls async_forward_entry_setup for integration, vesync with title<EMAIL_ADDRESS>and entry_id: 2390b00b1755e41983fa7b5f6c911312, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/vesync/__init__.py, line 93: hass.async_create_task(forward_setup(config_entry, p)), please create a bug report at https://github.com/vlebourl/custom_vesync

and
Source: helpers/deprecation.py:197
First occurred: 10:01:28 (5 occurrences)
Last logged: 10:01:30

DEVICE_CLASS_TEMPERATURE was used from vesync, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please report it to the author of the 'vesync' custom integration
TEMP_CELSIUS was used from vesync, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'vesync' custom integration
TIME_MINUTES was used from vesync, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'vesync' custom integration
ENERGY_KILO_WATT_HOUR was used from vesync, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'vesync' custom integration
POWER_WATT was used from vesync, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'vesync' custom integration`

Thank you I'll look into this asap

@micahqcade looking for the best place to file an issue/question so sorry for jumping on this PR....
Do know if you support the Levoit humidifiers with this?

Yes, they are mostly supported as far as I know.

@micahqcade unfortunately my Levoit 6000S is not supported last I tried. It's an amazing new (large) humidier by Levoit that just has never worked in HA for me.
I also made an official ask on the core here and it is starting to get more traction. https://github.com/home-assistant/core/issues/129120


fix(ci): skip husky for ci

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


VS Code occasionally fails to install/update Extensions

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

VS Code Version: 1.77.3
OS Version: Darwin x64 22.4.0

Version: 1.77.3 (Universal)
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:19:37.325Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.4.0
Sandboxed: Yes

Steps to Reproduce:
None.
Issue
VS Code occasionally fails to install all files from an extension.
As the developer/maintainer of the Code Spell Checker, about once a month, I get a complaint that the spell checker didn't update or install correctly. The solution is to lead them through the process of deleting the extension directory from .vscode/extensions and installing it again. Once they install it again, everything works fine.
A few things to note:

VS Code uninstall extension does not uninstall it, it leaves a copy on the disk. Eventually it will get deleted, but any installs that happen in the meantime will use the bad install. This is confusing, because the end user will say that they uninstalled/reinstalled the extension multiple times and it didn't work.
Install/Update extension does not install a fresh copy, it instead uses anything found on the disk.
Most of the time, this seems to happen when VS Code gets updated. Meaning, I release a new version of the extension and VS Code releases an update. The next "morning" I will get one or two issues where it failed to install. I'm guessing that VS Code started downloading the extension and partway through restarted for the update, but this is a guess.
It is NOT OS related. It happens on Windows, Linux, and MacOS.

Example issue: v2.20.4 - Extension startup Install fails on windows · Issue #2632 · streetsidesoftware/vscode-spell-checker
Please note, this is not a new issue, it has been happening for years.
Since this does not happen often, I'm guessing it might not get much traction towards getting caught and fixed. But there are some things that could help:

When uninstalling/reverting to an old version of an extension, remove it fully.
If it is undesirable to remove it fully (I can think of a few reasons), provide a reinstall button that will install the extension from scratch.

Thank you for the hard work on VS Code.

Thanks for filing the issue. It would be great if you can ask and provide us more information during which scenarios this is happening. There were some fixes we did recently to improve the installation mechanism. I would ask users to try the latest VS Code version always. Also when users see this, ask them to provide following log when they installed the extension or extension got auto updated.

F1 > Open View... > Shared

As a workaround you can also ask users to use this command Developer: Reinstall Extension...

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Scroll not working on Android

Hello,
I'm not able to scroll down the list if it's bigger than the screen. It's working fine on iOS but not on Android. I've tried to set scrollEnabled={true} but no chance.
My code is just a < SortableListView > :

<SortableListView
scrollEnabled={true}
order={order}
onRowMoved={e => {
order.splice(e.to, 0, order.splice(e.from, 1)[0]);
this.props.newPlaylistOrder(params.playlistId, order)
}}
style={{flex: 1}}
contentContainerStyle={styles.contentContainer}
data={this.props.playlists[params.playlistId].videos}
renderRow={row => }
/>

What can be the cause of that behavior ?
Thanks for the great component

Try the Sortable example and see if that works for sorting on android (it should). Then see if you can find the difference between the example and your code.


skip userns tests on non-fedora distributions for now

Signed-off-by: baude<EMAIL_ADDRESS>

@baude some of the tests are a bit red.

They mostly seem to be flakes

bot, retest this please

/lgtm


JDBC Deadlocks when Updating API scopes in APIM 2.1.0

Description:
Deadlocks occur intermittently when updating API scopes.
TID: [-1234] [] [2018-11-18 17:37:42,266] ERROR {org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO} -  Error occurred while creating scopes  {org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO}
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
Suggested Labels:
Bug
Affected Product Version:
APIM 2.1.0
Steps to reproduce:
This can be reproduced when performing long running tests of creating/updating/deleting API's.

Fixed with https://github.com/wso2/carbon-apimgt/pull/5883


Test: Final InputBoxMessageSeverity API

Refs: https://github.com/microsoft/vscode/issues/144944

[x] anyOS @sandy081
[ ] anyOS @rchiodo

Complexity: 4
Create Issue

This milestone we finalized API that allows you to specify an Severity for the InputBox validation message APIs:
	/**
	 * Impacts the behavior and appearance of the validation message.
	 */
	export enum InputBoxValidationSeverity {
		Info = 1,
		Warning = 2,
		Error = 3
	}

	/**
	 * Object to configure the behavior of the validation message.
	 */
	export interface InputBoxValidationMessage {
		/**
		 * The validation message to display.
		 */
		readonly message: string;

		/**
		 * The severity of the validation message.
		 * NOTE: When using `InputBoxValidationSeverity.Error`, the user will not be allowed to accept (hit ENTER) the input.
		 * `Info` and `Warning` will still allow the InputBox to accept the input.
		 */
		readonly severity: InputBoxValidationSeverity;
	}

	export interface InputBoxOptions {
		/**
		 * An optional function that will be called to validate input and to give a hint
		 * to the user.
		 *
		 * @param value The current value of the input box.
		 * @return A human-readable string which is presented as diagnostic message.
		 * Return `undefined`, `null`, or the empty string when 'value' is valid.
		 */
		validateInput?(value: string): string | InputBoxValidationMessage | undefined | null |
			Thenable<string | InputBoxValidationMessage | undefined | null>;
	}

	export interface InputBox {
		/**
		 * An optional validation message indicating a problem with the current input value.
		 */
		validationMessage: string | InputBoxValidationMessage | undefined;
	}

Here's what it looks like:

Play around :)
Useful stuff

Create an extension guide
Extensions samples repo

Worked for me too.


S3 Access Denied for eu-central-1

Describe the bug
The stack returns a creation error when trying to download the helper.zip function (403 - Access Denied).
To Reproduce
From the AWS web page just press the button to create the stack, compile required fields and start it.
Expected behavior
I expect the stack to successfully create everything.
Please complete the following information about the solution:

[x] Version: 4.0.3 (this happens with ALL versions I tried)
[x] Region: eu-central-1
[x] Was the solution modified from the version published on this repository? No
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
[x] Have you checked your service quotas for the services this solution uses? Yes

Screenshots

Hi @CI-omnys ,
I just tried deploying the solution in eu-central-1 and confirmed that the deployment succeeded. Closing this issue as it's been a couple months since the issue was reported and we were not able to reproduce it and see no issue.
Thanks!


Db\Select.php Updated regex pattern REGEX_COLUMN_EXPR

_tableCols fails to detect COUNT(tr.customer_id) + MIN(IF(tp.base_popularity IS NOT NULL, tp.base_popularity, 0)) or even date_format(comment_date, "%d.%m.%Y, %H:%i") cdate, so the faulty backticks are inserted.
Loosen the regular expression and remove the string end symbol ($), now it successfully detects SQL functions.

Ah regex problems are such a pain, could you give me a simple example of a correctly detected query compared to one that isn't detected but should be? From what I can see in that regex the issue is related to the fact that the column continues after the closing bracket from the first function?
At the moment I'm rather suspicious of removing the string end symbol as that seems dangerous, I'd rather add some extra bits to the regex to match whatever it's currently missing.

Closing due to inactivity, feel free to comment with a response and I'll open it again


add storage system field to event detail in monitor>timeline

another solution instead of this:
https://github.com/ManageIQ/manageiq-providers-autosde/pull/166

@Fryguy
Hi, that's a small change, can you take a look at it?
thanks!

@Fryguy @agrare
Hi,
kind reminder, thanks.


Option to choose between microphone channels

@LIFsCode @OOHehir
As we know the 50pcs ELOC3.3 we ordered from JLCPCB arrived with a broken microphone. Unfortunately all of them defect.
The plan is to still use these PCBs, not with the on board microphone but with an external one, which saves money and time. The onboard microphone is the LEFT channel. And the external would be the RIGHT channel.
Therefor there must be an option in the app to choose between LEFT and RIGHT channel for operation. (and if it's not a big thing also add the option for stereo recording (Only IF very easy)).
That should hopefully not take too much time :)
Also adding that in the config.json in the mic section is needed:
{
"device": {
"fileHeader": "not_set",
"locationCode": "unknown",
"locationAccuracy": 99,
"nodeName": "ELOC_NONAME"
},
"config": {
"secondsPerFile": 60,
"cpuMaxFrequencyMHZ": 80,
"cpuMinFrequencyMHZ": 10,
"cpuEnableLightSleep": true,
"bluetoothEnableAtStart": true,
"bluetoothEnableOnTapping": true,
"bluetoothEnableDuringRecord": true,
"bluetoothOffTimeoutSeconds": 60,
"logConfig": {
"logToSdCard": true,
"filename": "/sdcard/log/eloc.log",
"maxFiles": 10,
"maxFileSize": 5120
}
},
"mic": {
"MicType": "ns",
"MicBitShift": 11,
"MicSampleRate": 20000,
"MicChannel: Left, Right, Stereo,
"MicUseAPLL": true,
"MicUseTimingFix": true
}
}

@EDsteve I can handle the required changes in main.cpp & the I2SMEMSSampler class to handle this if @LIFsCode you don't mind handling the changes required to allow me to retrieve the setting from the configuration?

@OOHehir thanks, that makes sense.
The wavfile writer class has already quite some dependencies to the main system, so I guess it's just consequent to let it directly retrieve it's configuration from Epic config.
I plan to lock config changes while recording or detection is active, so this will guarantee that accessing the config is thread safe.
I just delayed this task until Joseph finished the App development to give him more access for testing.

@EDsteve @LIFsCode I've just pushed this commit which allows the I2S mic channel to be selected in project_config.h at compilation time. This issue seems to be a temporary issue so @EDsteve do you think meets your requirements?
@EDsteve BTW from what I remember trying to record in stereo will naturally result in double the sample data & probably lead to increase in power & processing requirements.. This is one area already flagged for upgrading from the legacy API.

@OOHehir
The workaround changing the channel during compilation is fine for now. I actually did that already since now changing  .channel_format = I2S_CHANNEL_FMT_ONLY_RIGHT in the config.cpp :)
Still. Later when the ELOCs get firmware updates. It will become problematic because all the firmwares will have LEFT by default. So it makes sense to have it settable from the app.
On the other hand. Microphones don't last forever in the jungle. So sooner or later some will get broken due to water damage or similar. The option to connect an external microphone and therefore change the channel in the app is needed.
Stereo recording is not needed for our elephant purposes. I just know that some wildlife acoustic projects use stereo recordings. So it is very low priority.

@OOHehir @EDsteve I can implement the config option today

should be done with c328154

Tested and works fine. I will close this now.


Undo/Redo is slow when in source view/split view (monaco editor)

 Issue by kaviththiranga
Tuesday Jan 02, 2018 at 04:53 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/4906

With the recent revamp of source editor to use monaco editor, undo/redo inside the source view is experiencing a performance issue.

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/8827


Issue reporter should let me create a draft issue on github, even when signed in

Issue Type: Feature Request

Sign in with github
Open issue reporter

Feature Request
There is currently only a create on github button. I'd like an button that lets me create an issue using the issue reporter's previous flow, which started with a draft issue instead. This is useful if you need to upload images to an issue or generally like filling in the issue on github instead
VS Code version: Code - Insiders 1.54.0-insider (c47da720f351455681978a48edc4d9a0d095ea0e, 2021-02-24T12:22:35.736Z)
OS version: Darwin x64 20.3.0

You will be able to edit your issue and add screenshots when we preview it on GitHub.

It'd be nice to also be clear which account will be used to create the issue along with this work.

It is also a bit weird that the behavior changes depending on whether you are authenticated within VS Code (relevant code). In my case I think I used the feature a few months ago when I was not authenticated within VS Code, authenticated in the meantime and now used it again and 'suddenly' it behaves differently.
To be fair, the button text seems to change from "Preview on GitHub" to "Create on GitHub" (relevant code), but a user might not notice it or assume the translation string was changed by an update.

I use multiple GitHub accounts for work and personal usage and I'd prefer to report VSCode issues via my personal account. If draft support was added I could copy the results and post it under a different account than the one signed-in in VSCode or in my default Firefox container.


Error re-connecting after 24h

Since yesterday I'm running HA 2022.7.6 along with HACS 1.26.2 and the Gardena integration 1.0.0-0b906.
This has been working fine for about 24h, with the Gardena integration disconnecting about every 2h and always reconnecting about 10-20s later (I think I read somewhere that this is normal behaviour).
Unfortunately, after 24h, it is disconnecting again and stays disconnected with the following error in the logs:

Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:96
First occurred: 09:09:17 (1 occurrences)
Last logged: 09:09:17
Error doing job: Task exception was never retrieved

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 185, in start_ws
ws_url = await self.__get_ws_url(location)
File "/usr/local/lib/python3.10/site-packages/backoff/_async.py", line 133, in retry
ret = await target(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 209, in __get_ws_url
r = await self.client.post(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1842, in post
return await self.request(
File "/usr/local/lib/python3.10/site-packages/authlib/integrations/httpx_client/oauth2_client.py", line 88, in request
await self.ensure_active_token()
File "/usr/local/lib/python3.10/site-packages/authlib/integrations/httpx_client/oauth2_client.py", line 105, in ensure_active_token
token = await self.fetch_token(url, grant_type='client_credentials')
File "/usr/local/lib/python3.10/site-packages/authlib/integrations/httpx_client/oauth2_client.py", line 118, in _fetch_token
resp = await self.post(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1842, in post
return await self.request(
File "/usr/local/lib/python3.10/site-packages/authlib/integrations/httpx_client/oauth2_client.py", line 92, in request
return await super(AsyncOAuth2Client, self).request(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1514, in request
request = self.build_request(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 344, in build_request
url = self._merge_url(url)
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 374, in _merge_url
merge_url = URL(url)
File "/usr/local/lib/python3.10/site-packages/httpx/_urls.py", line 102, in init
raise TypeError(
TypeError: Invalid type for url.  Expected str or httpx.URL, got <class 'NoneType'>: None

I think I have tried all the suggestions in the various issues that are currently investigated, including registering a new new application on the Husqvarna Dev page and re-connecting the APIs.
Did I still miss something and this is a known issue? Any ideas on how to resolve this?
Best regards,
Jochen

Same here, same error after approx. 24h with 1.0.0-0b906

That's because url is still missing from the metadata - see my comment.

I made a workaround for myself which effectively reloads the whole integration once it gets stuck. To do that, I added a new reload method into __init__.py of the integration:
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    """Unload a config entry."""
    _LOGGER.debug("Unloading Gardena Smart System component")
    try:
        await hass.data[DOMAIN][GARDENA_SYSTEM].stop()
    except:
        _LOGGER.error('Failed to stop Gardena integration: %s', ex)
    unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
    if unload_ok:
        hass.data[DOMAIN].pop(GARDENA_SYSTEM)

    return unload_ok

and then created an automation:
  trigger:
    - platform: state
      entity_id: binary_sensor.gardena_smart_system_connection
      to: "off"
      for:
        minutes: 5
  action:
    - service: homeassistant.reload_config_entry
      target:
        entity_id: vacuum.sileno

Hope that helps until the issue is fixed permanently.

You can test the new version by updating the version the manifest.json in custom_components/gardena_smart_system to 1.3.7
  "requirements": ["py-smart-gardena==1.3.7"]

Or wait until a new version of the component is released on HACS.

I think there is no need for that: There is already a new   Pre-Release 1.0.0-0b907 available. Unfortunately, it doesn't work for me: The integration now takes about 5 minutes to load (so it delays the startup of HA) and then refuses to work.
In the logs it mentions 429 : Limit Exceeded and then it waits an increasing amount of time until a maximum of 300s or so.

Ok I didn't see the Prerelease.
The 429 error is another problem, which was not fixed by this change.

Okay, let me check again. I'm only seeing the error 429 since upgrading from 1.0.0-0b906 to 1.0.0-0b907 this morning...

Just downgraded from 1.0.0-0b907 to 1.0.0-0b906 and error 429 has disappeared. The integration starts up without errors, no delay in HA startup, etc.

The 1.0.0-0b907 works perfectly for me for over a week now.

Not for me. b907 also disconnected some time ago.

Just another data point: for me b907 disconnected, too.
@crazyfx1 What "Redirect URL" did you define when you created the Husqvarna Application? (I haven't digged into that error yet... so I don't know if this is a relevant aspect).

I have it on http://localhost:8080, so I guess it doesn't matter.

FYI: The problem fixed itself for me. My Gardena API connection is now stable with b907.

b907 works for me, too, since one week. Disconnect all 2h but reconnecting instantly. Thanks for the effort!


ng serve breaks with mutliple bootstrapped modules

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
Windows 10
@angular/cli: 1.3.2
node: 8.4.0
os: win32 x64
@angular/animations: 4.3.6
@angular/common: 4.3.6
@angular/compiler: 4.3.6
@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.3.2
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6

Repro steps.

Create a new, fresh app: ng new test-app
Create two modules to act as entry points
In main.ts bootstrap both
Observe failure with ng serve (not statically analyzable?)
Comment one bootstrap out then ng serve again
after success, comment back in, now app has two bootstraps as intended

The log given by the failure.

$ ng serve --name=dev --port=8081
Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.
Error: Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.

Desired functionality.

ng serve should be able to see that there are two bootstraps and handle that. This is super useful in multi-page applications to have a development environment, while supporting full separate apps in production.
Mention any other details that might be useful.
Could be related to #4624

@snewell92 can you just pass multiple components to bootstrap in one root module?

@hansl is this usecase supported? AFAIK we only support a single entry module.

@deebloo I tried that at first, but for some reason switched to bootstrapping different modules for some reason. Trying that again...
Ah I remember

the selector "app1" did not match any elements

When specifying bootstrapped components in a module those components need their selector to exist in the DOM, but when bootstrapping a module in a main file/entry-point that is not the case.

@filipesilva I would like to turn this into a feature request/bug report if this usecase is not supported. Bug report because there should still be an error even when commenting out/in the bootstrapped modules, feature request because it simplifies a multi-page development workflow a ton.

My use case explained more in depth
I'm developing a full-stack multi-page application with a node backend, so each page has its own root page module. The node backend leverages SSR (with another tool, not angular) to get the skeleton of the page, with script tags pointing to either the development server ng serve starts, or the production hosting service (like netlify) in prod.
This works well when building the application (ng build --name=... / aot), as each page can be its own app, but while developing I would not like to have to open n consoles to ng serve --name=page1 ... ng serve --name=pagen - I would rather do ng serve --name=dev and that be able to serve all the pages.

Thanks for reading and taking the time to respond <3<3

A more ''supported" way of doing this is to have a dev module in which the component is simply a router shell (template is just <router-outlet></router-outlet>) that routes to the other page components. This is much more supported with the tooling.
Regardless, I think, somehow, ng serve should catch the same error it does on reload that it does on start up if at all possible.

I think this is a variation of https://github.com/angular/angular-cli/issues/4624.


Wiki Page for bug reporting

After initial research, I concluded that managing bugs via a wiki page is tedious and might lack consistency.
A possible work-around is creating a separate board for bugs, integrating bugs into the feature board, or using an external system for bug management, such as Notion.

A link to the Notion page: https://lightning-daisy-51e.notion.site/a66be82ae1ae484e9e653f262f02b7a4?v=03394eae9385452e976aa6edb43ecfca
Source (original template): https://www.notion.so/Software-Issue-Bug-Tracker-05f1633fa898438396c611eba6562733

Here's an exemplary template for the bug reports: https://gist.github.com/czottmann/3402842


Calling componentWillMount on render

This may be under the preact-compat domain but relates directly to rendering on the server.
React calls componentWillMount on components when server rendering which some libraries depend upon e.g. isomorphic-style-loader. Is this something you'd consider supporting?
Background https://github.com/facebook/react/issues/2674

Ah, yes - preact-render-to-string should definitely be doing this, so you got the right repo!  I can probably try to get this done over the weekend.

Fixed and released in<EMAIL_ADDRESS>Thanks :)

Awesome, thanks for the fast fix.


Testing: Release Maya/Deadline job from pending when testing.

Changelog Description
When testing we wont put the Deadline jobs into pending with dependencies, so the worker can start as soon as possible.
Testing notes:
openpype_console runtests C:\Users\tokejepsen\OpenPype\tests\integration\hosts\maya\test_deadline_publish_in_maya.py --mongo_url "mongodb://localhost:2707/"

Verify the jobs on Deadline are not put into pending initially.

Split from #5644

@kalisp not sure what removing the render instance, has to do with this PR?
It has introduced a merge conflict as well.

Are the changes in submit* absolute necessary?

I would be up for leaving the changes in submit plugin, as it could introduce issues down the line if spawning multiple workers on a machine.

It seems to work and doesn't break anything else.


Lock missedmessage rows, other cleanup

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks great, merged, thanks @alexmv!

(And I guess it's good that the thing we do once we've constructed the email is put it in a queue, not wait for the email server to accept the email, so we won't hold the lock unduly long).


LINK-1738 | Logout from Tunnistamo after signout

Description
Redirect user to Tunnistamo end_session_endpoint endpoint after sign out
Closes
LINK-1738

Codecov Report
Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (3c8fc1f) 99.67% compared to head (5dd0338) 98.95%.

Files
Patch %
Lines

src/domain/logout/LogoutPage.tsx
0.00%
11 Missing :warning:

src/pages/api/auth/[...nextauth].ts
33.33%
8 Missing :warning:

src/pages/logout.tsx
0.00%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   99.67%   98.95%   -0.73%
==========================================
  Files         178      180       +2
  Lines        3427     3458      +31
  Branches      551      556       +5
==========================================
+ Hits         3416     3422       +6
- Misses         11       36      +25

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


typescript-pundle missing lib/index.js

typescript-pundle is missing its exports!
> yarn add typescript-pundle
> ls node_modules/typescript-pundle

README.md
node_modules
package.json
spec

Maybe you forgot to run bootstrap before publishing?

What the... lol
Fix incoming soon

Fixed in<EMAIL_ADDRESS>