Download bilbili videos in 1080p resolution?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
How can I download bilbili videos in 1080p resolution? By default the videos get downloaded either in 720p or 480p resolution. I suppose that's because to access full HD resolution viewing, Bilibili requires login. What's the workaround?
I also tried using the cookies method by logging into bilbili and exporting my cookies.txt file. Then I used this command. But still the resolution of video was low.
yt-dlp https://www.bilibili.com/video/BV1W8411b7K5/?=8&share_source=copy_web&vd_source=14d801274def2dd112297a8c82660e8c res:1080--cookies cookies.txt
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
Microsoft Windows [Version 10.0.19045.2251]
(c) Microsoft Corporation. All rights reserved.

D:\YTDOWN> yt-dlp -vU https://www.bilibili.com/video/BV1W8411b7K5/?=8&share_source=copy_web&vd_source=14d801274def2dd112297a8c82660e8c res:1080--cookies cookies.txt
[debug] Command-line config: ['-vU', 'https://www.bilibili.com/video/BV1W8411b7K5/?=8']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 5.1.1-full_build-www.gyan.dev (setts), ffprobe 5.1.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5/?=8
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] Downloading playlist BV1W8411b7K5 - add --no-playlist to download just the video BV1W8411b7K5
[download] Downloading playlist: 【c4d高端操作】俄国动态MSE-DOV03
[BiliBili] Playlist 【c4d高端操作】俄国动态MSE-DOV03: Downloading 20 videos of 20
[download] Downloading video 1 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=1
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] Format(s) 720P 高清, 1080P 高码率, 1080P 高清 are missing; you have to login or become premium member to download them
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 218329869: Extracting chapters
[debug] Default format spec: bestvideo*+bestaudio/best
[info] BV1W8411b7K5_p1: Downloading 1 format(s): 6+2
[debug] Invoking http downloader on "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/51/05/840850551/840850551-1-100023.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1669557288&gen=playurlv2&os=akam&oi=3075724705&trid=ef8764defcf34cb4bd3a07246d6f8f79u&mid=0&platform=pc&upsig=62096b70bcf937a30b710a99701f0eca&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1669557288~hmac=97385e8a6f98a467d1e03631ae0933b1ea2bc280781dc09dc5cbd9efc8649f9f&bvc=vod&nettype=0&orderid=0,1&buvid=&build=0&agrr=0&bw=94216&logo=80000000"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: 【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].f6.mp4
[download] 100% of    1.08MiB in 00:00:00 at 2.62MiB/s
[debug] Invoking http downloader on "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/51/05/840850551/840850551-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1669557288&gen=playurlv2&os=akam&oi=3075724705&trid=ef8764defcf34cb4bd3a07246d6f8f79u&mid=0&platform=pc&upsig=ca897f22769106ce2050a7ba3be59f26&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1669557288~hmac=9c28d7f047d1e7c62b27d96e7d09cf2ae9647779370bc8604804f95bccffaa0c&bvc=vod&nettype=0&orderid=0,1&buvid=&build=0&agrr=0&bw=33934&logo=80000000"
[download] Destination: 【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].f2.m4a
[download] 100% of  397.67KiB in 00:00:00 at 2.60MiB/s
[Merger] Merging formats into "【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].f6.mp4" -i "file:【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].f2.m4a" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].temp.mp4"
Deleting original file 【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].f6.mp4 (pass -k to keep)
Deleting original file 【c4d高端操作】俄国动态MSE-DOV03 p01 Cube [BV1W8411b7K5_p1].f2.m4a (pass -k to keep)
[download] Downloading video 2 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=2
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] Format(s) 1080P 高清, 720P 高清 are missing; you have to login or become premium member to download them
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 218329869: Extracting chapters
[debug] Default format spec: bestvideo*+bestaudio/best
[info] BV1W8411b7K5_p2: Downloading 1 format(s): 4+2
[debug] Invoking http downloader on "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/49/66/840856649/840856649-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1669557292&gen=playurlv2&os=akam&oi=3075724705&trid=6d844d3573574bf39ad303f57cfd5a9cu&mid=0&platform=pc&upsig=697da61808bb3f7ce414097d2a092585&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1669557292~hmac=246ae958a0bc38e3432c675fb7919aeab9983adb412909c56c385673d6451b70&bvc=vod&nettype=0&orderid=0,1&buvid=&build=0&agrr=0&bw=30452&logo=80000000"
[download] Destination: 【c4d高端操作】俄国动态MSE-DOV03 p02 Design & Light _ Redshift _ XP Dynamics [BV1W8411b7K5_p2].f4.mp4
[download]  23.5% of   77.45MiB at    1.31MiB/s ETA 00:45

Quote your URL, and put spaces b/w options

Same issue.
I get this notification.
BiliBili] Format(s) 720P 高清, 1080P 高码率, 1080P 高清 are missing; you have to login or become premium member to download them

Is the cookies of an account that has premium?

No. My account doesn't have premium. It's a free account through which I am able to view videos in 1080p if I login in Firefox or Chrome.

Also, the message "...; you have to login or become premium member ..." is strange.  Presumably it means "...; you have to login as a member or premium member ..."?

I have a Premium account and I took the test, no problem on my side...
[debug] Command-line config: ['-F', '--cookies', 'cookies/bilibili.txt', 'https://www.bilibili.com/video/BV1W8411b7K5/?=8&share_source=copy_web&vd_source=14d801274def2dd112297a8c82660e8c', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b644025b]
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-131-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, certifi-2022.09.24, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1725 extractors
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5/?=8&share_source=copy_web&vd_source=14d801274def2dd112297a8c82660e8c
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] Downloading playlist BV1W8411b7K5 - add --no-playlist to download just the video BV1W8411b7K5
[download] Downloading playlist: 【c4d高端操作】俄国动态MSE-DOV03
[BiliBili] Playlist 【c4d高端操作】俄国动态MSE-DOV03: Downloading 20 items of 20
[download] Downloading item 1 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=1
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p1:
ID EXT RESOLUTION FPS │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR
────────────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~109.29KiB   69k https │ audio only          mp4a.40.2   69k
1  m4a audio only     │ ~213.08KiB  134k https │ audio only          mp4a.40.2  134k
2  m4a audio only     │ ~407.20KiB  256k https │ audio only          mp4a.40.2  256k
3  mp4 360x360     29 │ ~546.24KiB  344k https │ avc1.64001E    344k video only
4  mp4 360x360     30 │ ~497.92KiB  313k https │ av01.0.00M.08  313k video only
5  mp4 480x480     29 │ ~  1.21MiB  778k https │ avc1.64001E    778k video only
6  mp4 480x480     30 │ ~  1.10MiB  711k https │ av01.0.01M.08  711k video only
7  mp4 720x720     29 │ ~  2.70MiB 1737k https │ avc1.64001F   1737k video only
8  mp4 720x720     30 │ ~  2.05MiB 1324k https │ av01.0.04M.08 1324k video only
9  mp4 1080x1080   29 │ ~  4.04MiB 2606k https │ avc1.640028   2606k video only
10 mp4 1080x1080   30 │ ~  3.02MiB 1945k https │ av01.0.08M.08 1945k video only
11 mp4 1080x1080   29 │ ~  7.54MiB 4857k https │ avc1.640028   4857k video only
12 mp4 1080x1080   30 │ ~  6.02MiB 3880k https │ av01.0.08M.08 3880k video only
[download] Downloading item 2 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=2
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p2:
ID EXT RESOLUTION FPS │   FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
────────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~ 21.90MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~ 43.23MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~ 83.05MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 960x360     29 │ ~ 44.01MiB 135k https │ avc1.64001F 135k video only
4  mp4 1280x480    29 │ ~ 79.31MiB 244k https │ avc1.64001F 244k video only
5  mp4 1920x720    29 │ ~139.85MiB 430k https │ avc1.640028 430k video only
6  mp4 2048x768    29 │ ~161.81MiB 497k https │ avc1.640032 497k video only
[download] Downloading item 3 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=3
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p3:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~10.49MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~20.71MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~39.79MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~11.76MiB  75k https │ avc1.64001E  75k video only
4  mp4 852x480     29 │ ~20.18MiB 129k https │ avc1.64001F 129k video only
5  mp4 1280x720    29 │ ~33.66MiB 216k https │ avc1.640028 216k video only
6  mp4 1920x1080   29 │ ~69.60MiB 446k https │ avc1.640032 446k video only
[download] Downloading item 4 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=4
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p4:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~12.39MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~24.47MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~47.00MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~11.03MiB  60k https │ avc1.64001E  60k video only
4  mp4 852x480     29 │ ~16.99MiB  92k https │ avc1.64001F  92k video only
5  mp4 1280x720    29 │ ~26.48MiB 144k https │ avc1.640028 144k video only
6  mp4 1920x1080   29 │ ~51.07MiB 277k https │ avc1.640032 277k video only
[download] Downloading item 5 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=5
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p5:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~16.30MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~32.17MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~61.81MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~21.98MiB  91k https │ avc1.64001E  91k video only
4  mp4 852x480     29 │ ~34.05MiB 141k https │ avc1.64001F 141k video only
5  mp4 1280x720    29 │ ~52.36MiB 216k https │ avc1.640028 216k video only
6  mp4 1920x1080   29 │ ~97.53MiB 403k https │ avc1.640032 403k video only
[download] Downloading item 6 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=6
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p6:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~10.03MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~19.81MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~38.05MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~19.62MiB 132k https │ avc1.64001E 132k video only
4  mp4 852x480     29 │ ~33.92MiB 227k https │ avc1.64001F 227k video only
5  mp4 1280x720    29 │ ~49.99MiB 335k https │ avc1.640028 335k video only
6  mp4 1920x1080   29 │ ~76.07MiB 510k https │ avc1.640032 510k video only
[download] Downloading item 7 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=7
[BiliBili] 1W8411b7K5: Downloading webpage
...

So 720/1080 appear only for premium members?

Non-premium users have access up to basic 1080p, when using a premium account a higher bitrate version is unlocked, maybe up to 4K+ if available.
Full verbose output using a non-premium account:
[debug] Command-line config: ['-F', '--cookies', 'cookies/bilibili_test.txt', 'https://www.bilibili.com/video/BV1W8411b7K5/?=8&share_source=copy_web&vd_source=14d801274def2dd112297a8c82660e8c', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b644025b]
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-131-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, certifi-2022.09.24, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1725 extractors
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5/?=8&share_source=copy_web&vd_source=14d801274def2dd112297a8c82660e8c
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] Downloading playlist BV1W8411b7K5 - add --no-playlist to download just the video BV1W8411b7K5
[download] Downloading playlist: 【c4d高端操作】俄国动态MSE-DOV03
[BiliBili] Playlist 【c4d高端操作】俄国动态MSE-DOV03: Downloading 20 items of 20
[download] Downloading item 1 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=1
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] Format(s) 1080P 高码率 are missing; you have to login or become premium member to download them. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p1:
ID EXT RESOLUTION FPS │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR
────────────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~109.29KiB   69k https │ audio only          mp4a.40.2   69k
1  m4a audio only     │ ~213.08KiB  134k https │ audio only          mp4a.40.2  134k
2  m4a audio only     │ ~407.20KiB  256k https │ audio only          mp4a.40.2  256k
3  mp4 360x360     29 │ ~546.24KiB  344k https │ avc1.64001E    344k video only
4  mp4 360x360     30 │ ~497.92KiB  313k https │ av01.0.00M.08  313k video only
5  mp4 480x480     29 │ ~  1.21MiB  778k https │ avc1.64001E    778k video only
6  mp4 480x480     30 │ ~  1.10MiB  711k https │ av01.0.01M.08  711k video only
7  mp4 720x720     29 │ ~  2.70MiB 1737k https │ avc1.64001F   1737k video only
8  mp4 720x720     30 │ ~  2.05MiB 1324k https │ av01.0.04M.08 1324k video only
9  mp4 1080x1080   29 │ ~  4.04MiB 2606k https │ avc1.640028   2606k video only
10 mp4 1080x1080   30 │ ~  3.02MiB 1945k https │ av01.0.08M.08 1945k video only
[download] Downloading item 2 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=2
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p2:
ID EXT RESOLUTION FPS │   FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
────────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~ 21.90MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~ 43.23MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~ 83.05MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 960x360     29 │ ~ 44.01MiB 135k https │ avc1.64001F 135k video only
4  mp4 1280x480    29 │ ~ 79.31MiB 244k https │ avc1.64001F 244k video only
5  mp4 1920x720    29 │ ~139.85MiB 430k https │ avc1.640028 430k video only
6  mp4 2048x768    29 │ ~161.81MiB 497k https │ avc1.640032 497k video only
[download] Downloading item 3 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=3
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p3:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~10.49MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~20.71MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~39.79MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~11.76MiB  75k https │ avc1.64001E  75k video only
4  mp4 852x480     29 │ ~20.18MiB 129k https │ avc1.64001F 129k video only
5  mp4 1280x720    29 │ ~33.66MiB 216k https │ avc1.640028 216k video only
6  mp4 1920x1080   29 │ ~69.60MiB 446k https │ avc1.640032 446k video only
[download] Downloading item 4 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=4
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p4:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~12.39MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~24.47MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~47.00MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~11.03MiB  60k https │ avc1.64001E  60k video only
4  mp4 852x480     29 │ ~16.99MiB  92k https │ avc1.64001F  92k video only
5  mp4 1280x720    29 │ ~26.48MiB 144k https │ avc1.640028 144k video only
6  mp4 1920x1080   29 │ ~51.07MiB 277k https │ avc1.640032 277k video only
[download] Downloading item 5 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=5
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p5:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~16.30MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~32.17MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~61.81MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~21.98MiB  91k https │ avc1.64001E  91k video only
4  mp4 852x480     29 │ ~34.05MiB 141k https │ avc1.64001F 141k video only
5  mp4 1280x720    29 │ ~52.36MiB 216k https │ avc1.640028 216k video only
6  mp4 1920x1080   29 │ ~97.53MiB 403k https │ avc1.640032 403k video only
[download] Downloading item 6 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=6
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p6:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~10.03MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~19.81MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~38.05MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 640x360     29 │ ~19.62MiB 132k https │ avc1.64001E 132k video only
4  mp4 852x480     29 │ ~33.92MiB 227k https │ avc1.64001F 227k video only
5  mp4 1280x720    29 │ ~49.99MiB 335k https │ avc1.640028 335k video only
6  mp4 1920x1080   29 │ ~76.07MiB 510k https │ avc1.640032 510k video only
[download] Downloading item 7 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=7
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p7:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~16.37MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~32.32MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~62.09MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 960x360     29 │ ~29.99MiB 123k https │ avc1.64001F 123k video only
4  mp4 1280x480    29 │ ~50.61MiB 208k https │ avc1.64001F 208k video only
5  mp4 1920x720    29 │ ~85.73MiB 352k https │ avc1.640028 352k video only
6  mp4 2048x768    29 │ ~94.95MiB 390k https │ avc1.640032 390k video only
[download] Downloading item 8 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=8
[BiliBili] 1W8411b7K5: Downloading webpage
[BiliBili] BV1W8411b7K5: Extracting videos in anthology
[BiliBili] 218329869: Extracting chapters
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for BV1W8411b7K5_p8:
ID EXT RESOLUTION FPS │  FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR
───────────────────────────────────────────────────────────────────────────────
0  m4a audio only     │ ~ 8.36MiB  67k https │ audio only       mp4a.40.2   67k
1  m4a audio only     │ ~16.51MiB 133k https │ audio only       mp4a.40.2  133k
2  m4a audio only     │ ~31.72MiB 255k https │ audio only       mp4a.40.2  255k
3  mp4 960x360     29 │ ~16.77MiB 135k https │ avc1.64001F 135k video only
4  mp4 1280x480    29 │ ~27.62MiB 222k https │ avc1.64001F 222k video only
5  mp4 1920x720    29 │ ~44.31MiB 356k https │ avc1.640028 356k video only
6  mp4 2048x768    29 │ ~48.80MiB 392k https │ avc1.640032 392k video only
[download] Downloading item 9 of 20
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1W8411b7K5?p=9
...

The yt-dlp extraction doesn't appear to find the low res combined mp4 that the current yt-dl extractor finds. I suppose it might be useful for someone who wants to pipe the output and doesn't care about the resolution.

I remember it works.
But it just logs wrong that it can't distinguish if it's because not logged in or just not premium account.

i use bilibili downloader bilibilivideodownloader.online/en/

Is there a way to use a cookies.txt file so that it understands that we are logged in?

I'm on the same boat, any way of downloading basic 1080p? Also, my yt-dlp seems to get stuck with --cookies-from-browser chrome, it only shows [Cookies] Extracting cookies from chrome.

Most likely duplicate of https://github.com/yt-dlp/yt-dlp/issues/5874

--cookies /path/to/cookies.txt is working for me. Although you will still see the warning message, just ignore it.
[BiliBili] Format(s) 720P 高清, 1080P 高码率, 1080P 高清 are missing; you have to login or become premium member to download them
Actually, if you use -F option, you will see the formats for higher resolutions.

This still happening, I still can't download high resolution videos in bilibili.tv
[debug] Command-line config: ['https://www.bilibili.tv/en/video/2040560425', '--cookies', 'cookies.txt', '-v'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI) [debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (pip) [debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31) [debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7 [debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, secretstorage-2.3.1, sqlite3-2.6.0, websockets-11.0.3 [debug] Proxy map: {} [debug] Loaded 1786 extractors [BiliIntl] Extracting URL: https://www.bilibili.tv/en/video/2040560425 [BiliIntl]<PHONE_NUMBER>: Downloading webpage ERROR: [BiliIntl] None: Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: 'Bad Gateway'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

This still happening, I still can't download high resolution videos in bilibili.tv
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8 (No ANSI), screen utf-8 (No ANSI)
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (pip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, secretstorage-2.3.1, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[BiliIntl] Extracting URL: https://www.bilibili.tv/en/video/2040560425
[BiliIntl]<PHONE_NUMBER>: Downloading webpage
ERROR: [BiliIntl] None: Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: 'Bad Gateway'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

It seems you are seeing an ip-based restriction issue. The video may be not available in your geo region.

same problem.
I have logged using --cookies cookies.txt,I can get the 1080p when use -F,but i can't download it.it will report:
Format(s) 1080P 高清, 720P 高清 are missing; you have to login or become a premium member to download them.

same problem. I have logged using --cookies cookies.txt,I can get the 1080p when use -F,but i can't download it.it will report: Format(s) 1080P 高清, 720P 高清 are missing; you have to login or become a premium member to download them.

show the verbose log with -vUF --no-simulate --cookies cookies.txt passed


CHore: Add new mappers and route for task run counts by state

This PR introduces a new UI-specific API for reading task run counts broken down by state type.

Marking this as blocked till I finish writing tests for the API but tested this locally and it's working with the data shape described here.


Gradle error with the latest build tools

With today's update of the build tools, SDK and library-support, Crouton doesn't compile anymore from Maven:
Error:Module version de.keyboardsurfer.android.widget:crouton:1.8.4 depends on libraries but is not a library itself

I use in my build.gradle file the following:
compile('de.keyboardsurfer.android.widget:crouton:1.8.4') {
     exclude group: 'com.google.android', module: 'support-v4'
}

@yoavst thanks ,it works

Thanks @yoavst it worked


Install docker-buildx-plugin along with docker-ce.

Recently the docker pull for opam-vars started failing with this error:
2023-02-15 00:40.31: New job: opam vars of ubuntu-22.10-5.0_opam-2.1
                     (ocaml/opam@sha256:a5a1dbb59a383cd67195b360aa4ae57c4bdd3c275a1be950068f54d60e4bbafc)
2023-02-15 00:40.31: Exec: "docker" "build" "--pull" "-t" "ocurrent/ocaml-ci:ubuntu-22.10-ocaml-5.0"
                           "-"
ERROR: BuildKit is enabled but the buildx component is missing or broken.
       Install the buildx component to build images with BuildKit:
       https://docs.docker.com/go/buildx/
2023-02-15 00:40.31: Job failed: Command "docker" "build" "--pull" "-t" "ocurrent/ocaml-ci:ubuntu-22.10-ocaml-5.0"
"-" exited with status 1

We need to install additional docker packages to get the buildx component.
The docker docs recommend installing all of docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin. However I've tested with just docker-ce docker-buildx-plugin which is working.

NOTE this is already deployed on live-engine

No opinion on my end, I'm not familiar with this part of Docker.


4.2.2 Release tasks

Working on the 4.2.2 release...
First thing is I need to make sure the release doesn't need to be a 4.3.0 minor bump—there are a few substantive changes... but they should all be backwards compatible. Might do a minor bump anyways, just because that indicates expanded functionality...

[ ] Update CHANGELOG
[ ] Cut a rug tag
[ ] Add tag release notes
[ ] Blog post on Planet (not big enough for this kind of fanfare)
[ ] Submit PR to update BLT (might not be necessary for this point release)

I need to fix the build failure first... looks like it's related to a Firewall role update I just pushed.

So... the Firewall issue is something related to Travis or the Docker setup—it's not directly related to the Firewall role itself 😱

Strange, it hangs for me locally too. But if I do a docker stop and docker start, then run the playbook again, it completes successfully. Something maybe wrong with the service file? It works when testing on the role's own Travis rig...

Possibly related? https://github.com/ansible/ansible/issues/19763#issuecomment-285494166

I've tracked it down to this task:
- name: Get software for Python-based control.
  yum: "name={{ item }} state=installed"
  with_items:
    - "curl"
    - "python-pycurl"
    - "@development"
    - "unzip"

Using that, I can reproduce the hang in the Firewall role itself.

And further, it's something in the @development package.

Tracing that back, it looks like it was added for RHEL back in https://github.com/geerlingguy/drupal-vm/pull/103, and it was added initially for Debian waaaaay back in https://github.com/geerlingguy/drupal-vm/commit/23dbc920e58592a10e2059b41d3a1fe1e42afd77
I'm not sure we even need it anymore (for Debian or CentOS)—as I think that should be the role of the xdebug role to install just the packages it needs (maybe?). In any case, this could kill two birds with one stone (assuming tests pass on a test branch I'm about to push up). The Python install step is usually the slowest step in the entire build, and not installing all dev dependencies would speed things up.

...however, now that firewall is working, postfix is stalling out on the same (start + enable) step :-/

Opened a bug report in Ansible: https://github.com/ansible/ansible/issues/22466
But I wonder if it's something Docker-related. Hmm.

It was the $@*($ Docker image having an out of date version of systemd. Rebuilt the image on Hub, and now it's all hunky-dory.

Rerunning the build now (https://travis-ci.org/geerlingguy/drupal-vm/builds/209545751), and we'll see if it works!

All right, build is passing now, so I'm moving on towards the actual release. I'll see if Debian tests pass, and if they do, I might merge that PR too (but not default to Debian yet—that's still under discussion elsewhere!).

Not going to wait on the Debian test to pass; that will require a little more tweaking.

Release is here: https://github.com/geerlingguy/drupal-vm/releases/tag/4.3.0

BLT PR: https://github.com/acquia/blt/pull/1174

Closing this out for now. No need to worry about a blog post just yet—too many other things to write about!


AddObsoleteAttribute on ProvidedStaticParameter

It would be nice to have AddObsoleteAttribute on ProvidedStaticParameter too.

Yes. Ideally add as a suggestion on http://fslang.uservoice.com (which I'd consider approved subject to discussion), and submit a PR here. Won't make F# 4.0 though - vNext

Closing as its a design issue


Update to GraphiQL 0.11.11

Any concerns with using the most recent GraphiQL version? Tooltips and deep-links into docs are valid reasons for upgrading ;)

Oops 🙈

Hi, do you intend to fix the CI?

btw you can use the graphiql_version='latest' to achieve this.


Make visible by default the widget to exclude file types in Find in Files

In view of what @jnsebgosselin said on issue #7803, we really need to make that widget visible so that people know that that functionality exists ass part of the plugin.
We also need to change the default options present in that widget.

Maybe we could add some kind of instruction/documentation about this widget in the tooltip?
Also, as pointed out in https://github.com/spyder-ide/spyder/issues/7810, maybe we could change the gear icon to turn on/off the option by a checkbox instead and set the widget to active/inactive depending if the checkbox is checked or not.

@jnsebgosselin, the changes you suggest can be done for Spyder 4. In the meantime, I'll just show the Exclude patterns field by default.


Repeating blocks

Do you have any plans to add a repeating input helper like Gutenblock?

We've included a Select MediaSelect Input Inspector Repeat and other form fields to help you build blocks faster. A repeat component will handle the hard work of letting users add infinite items to an array of form fields, replacing items, and deleting them.

I think that would make this start way too opinionated. Don't ya think so?

Definitely not, at least not a good implementation. That's a huge missing piece in Gutenberg development – it's a huge pain to build components that have repeating elements.

A dirty functional approach
// WP React seems to do a shallow object check? This forces updated state
let edited = 0;
const repeater = ({key, renderComponent, renderContainer}) => ({ attributes, setAttributes }) => {
	let thisAttribute = Array.isArray(attributes[key]) ? attributes[key] : [{}];
	return renderContainer({
		children: <React.Fragment>
			{
				thisAttribute.map((item, i) => {
					const thisIndex = i;
					const setIndexedAttribute = (obj) => {
						edited++;
						Object.keys(obj).map(k => thisAttribute[thisIndex][k] = obj[k]);
						setAttributes({
							edited,
							[key]: thisAttribute
						});;
					}
					return renderComponent({
						index: i,
						attributes: thisAttribute[thisIndex],
						setAttributes: setIndexedAttribute
					})
				})
			}

 {
				thisAttribute.push({});
				edited++;
				setAttributes({
					edited,
					[key]: thisAttribute
				});
			}}>Add attribute

		</React.Fragment>
	})
}

	edit: repeater({
			attribute: 'categories',
			renderContainer: ({ children }) =>
{children}
,
			renderComponent: ({ attributes: { name }, setAttributes }) =>
				<MyComponent
					name={
						<PlainText
							value={ name }
							placeholder={'Name'}
							onChange={ value => setAttributes( { name: value } ) }
						/>
                                 />
                })

it's a huge pain to build components that have repeating elements.

Not exactly the same thing, but InnerBlocks can be used in most cases when I would have used a repeater in the past. Create a container block to contain your repeating element, and then create a separate block for use inside.
You can restrict the container to ONLY contain your repeater, and you can restrict your repeater to ONLY be used inside your container.
https://github.com/WordPress/gutenberg/tree/master/packages/editor/src/components/inner-blocks
import { registerBlockType } from '@wordpress/blocks';
import { InnerBlocks } from '@wordpress/editor';

registerBlockType( 'my-plugin/container', {
	// ...

	edit( { className } ) {
		return (

				<InnerBlocks
          allowedBlocks={ 'my-plugin/repeater' }
          template={ [ 'my-plugin/repeater' ] }
        />

		);
	},

	save() {
		return (

				<InnerBlocks.Content />

		);
	}
} );

registerBlockType( 'my-plugin/repeater', {
  parent: [ 'my-plugin/container' ],

	edit( { className } ) {
		return (

         {/* whatever */}

		);
	},

	save() {
		return (

				{/* whatever */}

		);
	}
} );

It can still be a bit rough around the edges, but the core functionality works well, especially if you're keeping it relatively simple.
Since it's a core feature, it feels pretty safe to make use of it. I assume the implementation will only improve.

For anyone else who sees this, InnerBlocks presents some problems, like three levels of extra markup between the container and children. It will save() the way you expect, but the editing experience is bad IMO.

I think the most confusing part is determining whether you have the container block or a child block selected

This is the main reason why I'm trying to develop a single block to deal with repeating elements.

For anyone else who sees this, InnerBlocks presents some problems, like three levels of extra markup between the container and children.

I've also noticed that, which makes it a bit complicated to properly arrange the inner elements in the desired way.
I found out that Kadence Blocks use the kind of approach that I'm trying to achieve in their Advanced Button and Icon blocks, but I haven't been able to replicate it in my own block.
Have you made any progress regarding this matter, @braco @drdogbot7 ?

This discussion should take place in the Gutenberg repo, it has nothing to do with CGB.

@Jebble thanks for your amazing contribution! [clap] [clap]

@Jebble thanks for your amazing contribution! [clap] [clap]

It will simply have a lot more traction in the correct repo as this has simply nothing to do with what you're discussing. I'm sorry you can't handle some feedback :)


"Source" line in a notification can get truncated down to "Sour..."

The "Source:" section of a notification is can get heavily truncated, to the point that it says "Sour.." which at that point is obstructing what the text is representing.

Not sure if there is much to do here, but it is a slight usability issue as I was demoing this feature to a PM and they asked "what's sour?"

Version: 1.29.0-insider (user setup)
Commit: 4d9f1d23a556dccd2c0fd5203923a24b21e41209
Date: 2018-10-22T05:18:34.128Z
Electron: 2.0.11
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

OS Version: Windows 10

Steps to Reproduce:

Have PowerShell set as your terminal
Create a conda environment
Launch the Python extension for VS Code
Open a fresh terminal which will trigger the notification

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

I opened https://github.com/Microsoft/vscode/issues/65218 to provide a possible solution to this issue.


Help

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code
// If relevant, paste all of your challenge code in here

Screenshot

Get help starter

@esiewwfashion thanks for the issue but if you get stuck with a challenge or need help, please first ask questions to the Help Room. If you are still having issues, please fill out the issue form with as much detail about your problem so that we can help. Happy coding!


add include-qt-plugins

Hi!
It's my first pull request. I hope I'm doing well.
I implemented the include-qt-plugins which is related to #15 and used it successfully for compiling on windows runner.
I strongly aligned the code to enable-plugins.
I would ask you to test the implementation (best with linux oder macos) and approve the pull request.
Bests,
Stephan

You are doing well. By none of your faults, the Qt plugin option will override its value entirely, rather than expanding it. So the looping is wrong. Instead the input list should be condensed to a single use of --include-qt-plugins.
I need to think a bit, if we want to have it that way. Commonly, people fall into the trap of thinking, that they do not replace the default of sensible when adding and removing stuff. In that way, maybe a change in Nuitka could make your code correct, but then we would --no-include-qt-plugins to remove from the list of sensible plugins.
Since no other option is like this, it's kind of indicative of a bug in Nuitka. I would ask you to allow for me to make a change to this option for say 1.6.2 in behavior. You would then just do the same as you did, but with --no as well, as it would be better. I do not think, we should not cater to this kind of UI bug in Nuitka, effectively making it harder to change.

One thing that would be nice, if these options that pertain to plugins, could be namespaced in some way, and make sure the plugin is actually enabled. I think I can take that on, once I find the time. The ordering in the schema is kind of weird for now as well.

A simpler change would be to just make an store=append option in Nuitka, I might even do that for 1.6.1 because that will make them additive already, even if they replace still sensible. Then subtraction remains impossible for now, unless not specifying sensible yourself, but that would be OK.

I can follow your thoughts just partially. Is there anything I should/could do?

@JaegerStephan no, I am just going to make code's your assumption that you can specify --include-qt-plugins multiple times work, right now it's not the case. We missed the boat for 1.6.2, but I am going it right now, the small version, that is just going to be incrememtal rather than replacing, and then we can merge as is.

You can run your instance of the action against current factory version of Nuitka. I hope the action docs are sufficient for you to know how to do it. :-)

Thank your for your proposal but I think I'll wait until it is on the main branch since I'm working in enterprise environment and have to request for any action (as well as new branches and versions). So far I'll work with my own fork. But I'll be happy to use it soon from a new version :-)

Ok, going to merge it even before 1.7, so it can be used with develop already, once my change hits there.


[lat] Macrons not scraped

The Latin "big scrape" files are missing macrons (vertical bars above vowels indicating contrastive length) on the grapheme side. This is because, in Wiktionary backend, Latin words WITHOUT macrons are used as headwords. Example: https://en.wiktionary.org/wiki/malus#Etymology_2_2
Note that that page does pair the macroned form mālus with thhe pronunciation maːlus like we want it to. It seems to me that we need to switch from using the backend headword to the word rendered on the page.
(As it happens, this is exactly the same issue that we discuss for the CoNLL-SIGMORPHON 2017 shared task in http://wellformedness.com/papers/gorman-etal-2019.pdf, which also scraped data from Wiktionary.)

It occurs to me this could affect other languages and we just haven't noticed yet.


[firebase_auth] Sign in with Apple

http://firebase.googleblog.com/2019/11/sign-in-with-apple-auth.html
Would love to know when this will become available for Flutter devs! 😄

Apple sign in plugin already exists, happy to review any PR that adds this functionality to firebase_auth.

I launch the PR https://github.com/FirebaseExtended/flutterfire/pull/1526 , that solve this issue for iOS devices, because apple_sign_in only work in iOS.

I believe that this was fixed in #1549 but let me know if I'm mistaken.


Store and Expose RawNode in YTNode

Describe your suggestion
Right now, it is impossible to deserialize and serialize any YTNode, because in most cases the RawNode data being provided get's discarded after the constructor.
If the RawNode used to initialize a YTNode is preserved, it becomes possible to store the RawNode to disk, then to resume the data from disk by passing the RawNode back to YTNode.
Suggestion
Add a public field in YTNode base class.

export class YTNode {

     readonly raw: RawNode;

     constructor(raw: RawNode) {
           this.raw = raw;
     }

    //....
}

Other details
No response
Checklist

[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
[X] I have provided sufficient information.

Instead of doubling the memory use for everyone by keeping two copies of the data in memory, you could call actions.execute yourself and then store the raw response data and pass it to Parser.parseResponse() any time you want to parse it. That also means you'll only have to serialise a single object, instead of each node.

This doesn't really solve the use case of the following (but let me know if there's alternative way of doing this).
A Playlist can have continuation data, ideally, we would want to store only the continuation token to avoid large data being written to disk. The continuation data can be easily stored/restored from RawNode, without the need to store the entire raw response data (which is really big!) right away. We can simply then use the restored continuation data and get the remaining playlist whenever we like it.
I believe with the current implementation there is no way of achieving this.
RawNode is a perfect media to deserialize and serialize each YTNode at will, instead of the need to deserialize / serialize the whole data every time.
It would be nice if we could manually capture RawNodes required for each individually YTNode if possible (and therefore making most of the entire library easy to pause / resume from disk), but the easiest way and less breaking change seems to be simply capture the raw data in YTNode.
Alternatively a bonus for this, is that it might allow better debugging experience and know what the YTNode actually had captured and parsed after the class has been created.

Alternatively, have this field on as an optional value for all YTNode.
For example, we can set a global context object if we want to preserve raw data or not.
The default behavior is to discard raw data as fast as possible for better memory footprint,
however, an option (such as an InnerTubeConfig option), can set it to preserve raw data, and only during parsing of that innertube instance will the raw data be preserved.


Profile view method radius labels not in consistent places

This has been corrected by using a different coordinate system (fraction of axes) to define the y position of the radius label for draw_rads


run gemma2 error

What is the issue?
Error: llama runner process has terminated: signal: abort trap error:error loading model architecture: unknown model architecture: 'gemma2'
OS
macOS
GPU
Apple
CPU
Apple
Ollama version
ollama version is 0.1.42

Hi there, sorry for the error. Gemma 2 requires Ollama 0.1.47 or higher: https://ollama.com/download

Can confirm. Upgrade is needed and worked as intended. Thanks for this amazing project!


Uterances More Smarterer

Makes alexa smart again

look at picture behind trajan. the one next to the couch with the 2 people on it


"Unable to attach to browser" when using pwa-edge launch config to launch a browser if VSCode is run with Administrator

VS Code Version:
Tested on these two versions:(code --version output)

1.53.2
622cb03f7e070a9670c94bae1a45d78d7181fbd4
x64

and
1.54.0-insider
6eaef7d42f982a0e9b22ac465245fc2c27721fd0
x64

OS Version: Windows 10 19042.804

See the video for more detailed info
https://user-images.githubusercontent.com/9698542/108463973-49a58580-72ba-11eb-8b16-4bb726ee4d67.mp4

Create a empty folder, create a .vscode folder in it and create a launch.json in .vscode with the following content:

{
    "version": "1.0.0",
    "configurations": [
        {
            "name": "Launch browser",
            "type": "pwa-msedge",
            "request": "launch",
            "url": "https://www.google.com",
            "webRoot": "${workspaceFolder}"
        }
    ]
}

Open VSCode with Administrator and go to Run and click Launch browser

It will pop up a box saying `Unable to attach to browser". However, it launch VS Code without Administrator access, it will work.

Does this issue occur when all extensions are disabled?: Yes(Open cmd.exe with Administrator and start with code --disable-extensions)

I followed the steps in the original issue. Edge opens in admin mode, but I also get this dialog from VS Code:

@alexr00 I'm not able to repro this, can you share the launch config you're testing with?

Closing to see if someone else is able to verify. This is the launch config I'm using:
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "pwa-msedge",
      "request": "launch",
      "name": "test",
      "url": "http://localhost:8080",
    },
  ]
}

Works for me


Execution failed for task ':expo:compileDebugJavaWithJavac' on Expo SDK 50

Hi @jamsch! My another project using Expo version 50.0.17. I'm trying to integrate with this library but got the following error when running on Android (it worked well on iOS):
> Task :expo:compileDebugJavaWithJavac FAILED
/Users/quantmvo/<my-project-path>/node_modules/expo/android/build/generated/expo/src/main/java/expo/modules/ExpoModulesPackageList.java:27: error: cannot find symbol
            expo.modules.speechrecognition.ExpoSpeechRecognitionModule.class,
                                          ^
  symbol:   class ExpoSpeechRecognitionModule
  location: package expo.modules.speechrecognition
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':expo:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

After searching solutions on the Internet, I came to this issue with a similar error as I got. I'm wondering if your project supports Expo SDK 50. If not, is there a way so that I can use your library perfectly without changing the SDK version?

Hi @quantmvo-kms I've just released a version for SDK 50 under 0.1.12. You can type npm install @jamsch/expo-speech-recognition@sdk-50 to install it. Let me know if it works okay.

I've used that version and it worked on both iOS and Android. However, I found some other problems. I will compare the two versions 0.2 and 0.1 to verify the issues I'm facing and report new issues to you. Thanks again for your great support!


Mistake in the example section

In the example section, there is a mistake in the description column for Second(Now()).
Currently displaying this:
Second( Now() ) | Returns the minute component of the current time and date.
It should read Returns the second component of the current time and date.
Thanks!
Alan Chai

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

ID: a5b79448-a9fd-7910-7060-b81a23caed77
Version Independent ID: c71d2b47-1570-3fdc-92a6-c66134e7a4bb
Content: Day, Month, Year, Hour, Minute, Second, and Weekday functions - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-datetime-parts.md
Service: powerapps
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Corrected the typo.


Add golang cases dependency and removes string.Title deprecated function

Add golang cases dependency and removes string.Title deprecated function

This PR add cases packages to the vendor and replaces all strings.Title with cases.Title function call.
Fixes: #32274
@nathanjsweet
Signed-off-by: yogesh1801<EMAIL_ADDRESS>

/label release-note/misc

Something I'm wondering from a review perspective is whether adding 15K lines of dependencies for this is worthwhile, or if we can achieve the same functionality with a simpler solution, such as just declaring title case versions of the target strings.

@joestringer i have changed the description and also ran go mod tidy and vendor which was earlier failing a test,
secondly you are correct, i dont think adding 15K lines of code, which are more of a files from cases dependency, instead we can declare the title casing for the target strings, which indeed can save these changes,
Will proceed with with this approach if you ask me to do so.

@joestringer There is problem with k8s.io/code/generator and other packages which still use deprecated versions of strings, rest all of the deprecated strings call have been removed

@chancez should i work further on removing necessary deprecated calls and also work CI to check deprecated call as suggested in the comment section of issue #32274

@chancez should i work further on removing necessary deprecated calls and also work CI to check deprecated call as suggested in the comment section of issue #32274

I will defer to @joestringer and @nathanjsweet on that. IMO as long as your PRs aren't overly big, I don't see any issues fixing deprecations.

I like the proposal for using a nolint directive for usage of strings.Title, given the Go v1 API promises.

@joestringer of course I can do that,
So for time being can i close the PR and work on the issue from afresh which will include using nolint directive as well as removal of other deprecated calls which are more important,

Should this be closed in favor of https://github.com/cilium/cilium/pull/32936 ?

Should this be closed in favor of #32936 ?

@chancez yes it can be closed in favour of #32936
And can u please add relevant release notes to the mentioned PR and review it once
That would be very helpful


Pyqt executable does not work

I am trying to build my pyqt project using nuitka  but disconnects call does not work in final executable file.
could anyone please help me figure out if it is a bug or not?

This is definitely not an acceptable report without the issue template filled out.


Get pikaday from npm instead of Bower

This implements #114.
I also upgraded the ember-cli-moment-shim which does not use moment from bower as well.

Ping @stravid @edgycircle. Any change to get this merged soon? Thanks.

LGTM, does this also fix the ember-beta branch?
Does the tests for ember-1.13.1 work locally for you? If so, could you force push to re-trigger Travis CI?

I restarted Travis CI, everything looks great. You have the honours @duizendnegen :)


the .gitignore is not correct

It ignores prebuilt libraries in the bundled cocos2d, preventing compilation on other developers' machines.
cmake-build-debug, which is the working directory of cmake and cannot be reused on other machines, is not ignored.

So I should remove '*.lib' and add 'cmake-build-debug', right?

Yes, and note that cmake-build-debug needs to be removed in git.
I recommend to re-initialize the project and do a force push with necessary files.


[Azure Bot service] 503 Service Unavailable

[question]
When FB messenger requests Webhook API, but FB messenger receives 503 service unavailable in the FB developer's console.
My chatbot builds on Azure Bot Function and develops with Bot framework V3 Nodejs
I don't change any code. The chatbot almost haven't got messages from MS Azure Bot service  since 2019/9/4
screenshot: https://social.msdn.microsoft.com/Forums/getfile/1479455

@hristp, this seems a service interruption issue, please update this ticket once you have more info (per you are the service DRI this week).


feat: implement isPalindrome(...) function

So that all checks pass and the satisfying green checkmark is shown when pushing commits.

I just noticed, that another test on BubbleSort also fails. Though the tests for palindromes should at least pass now

Hi @AntonPieper, funny that you digged into that part of the repo, as I did not expect anybody would bother 😄 You are completely right, there are some failing tests and unfinished functions. The parts you discovered will be used as illustrative material in the upcoming lecture on testing/debugging. That's why I will leave this PR unmerged.


Verify the platform as quickly as possible

This PR moves the platform check to the beginning of the script, rather than somewhere in the middle.
This prepares for the possibility of adding a GitHub workflow to test behavior on Linux / macOS platforms, to confirm that the script reports that it doesn't support those platforms (rather than checking the $__SUDO_TEST and $SUDOEXE variables first and potentially reporting an error message for those checks instead).

Good idea. I'll move this in my (bigger) PR.

Closing due to lack of activity.


Can't set keybinding in any pop widget, such as findWidget, command widget, quickfind widget, etc.

VSCode Version: 1.49.2
OS Version: Windows_NT x64 10.0.19041

I use emacs keybinging in vscode, and install the https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx. I can't set keybinding in any pop widget such as  findWidget, command widget, quickfind widget.
I set the ctrl+y in findWidget, but this not work. (ctrl+y should act as paste.I already unbinding the origin ctrl+y)
I also just set the ctrl+y to paste command, not the emacs-mcx't command, still not work.

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

@zy9306 It appears to me that the extension tuttieee.emacs-mcx defines many keybindings. Please ask for support about the keybindings defined by the extension at the extension itself.


XUnity.AutoTranslator does not create all folders for translating a game

I am trying to translate a game from English to Spanish, but when I use XUnity.AutoTranslator it does not create all the folders or components to change the language of the game.

when using XUnity.AutoTranslator it looks like this

I don't know if I'm missing something, or doing something wrong.

The GameAssambly.dll library says that your game is compiled in li2cpp
Accordingly you need
MelonLoader IL2CPP Plugin
Or
BepInEx IL2CPP Plugin
Well, the corresponding loader
BepInEx IL2CPP loader
MelonLoader IL2CPP loader
And the option that you chose is only suitable for mono versions of the game
In other words, you have a packaged game in byte code and to run the translator you need a loader that can work with this byte code
And mono is essentially like an unpacked game


Allow idempotency when running script on existing install

Thanks for your PR!
I would like however that you target the dev branch please.
See: https://github.com/luxas/kubernetes-on-arm#contributing
Also, do you have an example where this is required?

You have .deb install for those with a distro already installed.... arch linux doesnt play well with .deb packages... so I manually ran the script to copy the files over

Closing and reopening against dev


Faulty Path/String assumptions

I've noticed multiple bugs regarding data types in utils.rs. Since they are of the same type, I made it a single ticket.
First bug appends two paths with the format! macro instead of using Path::join.
Second bug is similar with a function which seems to try to perform Path::strip_prefix("/").
Third bug converts the executed program and its arguments to String, and gives the Path a different behavior than the arguments (where the Path drops invalid characters and the arguments are simply dropped if they contain invalid characters).
I could also find the format! issue from the first bug in rootfs.rs.
All of the examples above operate on Paths with String as an intermediate data type. String is always UTF-8 compatible, but Path is not. This means that assert_eq!(Path::new(format!("{}{}", a.display(), b.display())), a.join(b)); will fail for some paths. I have not had time to find where these functions are used, so I don't know how big of an issue this is, but it should be fixed before it becomes a serious issue. It should also be verified that CStrings/OsStrings never use Strings as an intermediate data type.

Thanks for the report. Would you be interested in fixing it?

In the near future I'm afraid I wouldn't have time for that.

I can help fix this. I've noticed this before and have a feeling we have to revisit some of this code.


Netgear cable modem/router stops working during download

Checklist

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

Question

WRITE QUESTION HERE
Brief: Using youtube-dl causes my router to stop working.  Is this a known issue?  Will ISPs disconnect a router to stop downloads?
I'm using the latest youtube-dl: 2019.09.01 on Ubuntu 16.04.  My router/cable modem is a Netgear C3700-100NAS with Firmware: V2.02.22.   ISP is Comcast in the eastern us.  I'm trying to download the playlist:
https://www.youtube.com/watch?v=7rc7n-okKC0&list=PLHlQmm96_F4kQ9whFoaBptIw1n38v_3Zk
As I get 8-10 downloaded, my router stops working and I am unable to access the internet.  Trying to open a web page fails with name service error, and I cannot ping the comcast name serivice <IP_ADDRESS> or <IP_ADDRESS>.  To clear the failure I have to reboot the Netgear router.   Then I can get a few more downloaded before the internet goes down again.  My internet provider is Comcast.  Is this a known issue, and is there an easy fix?  Is Comcast cutting me off?
To clear the issue I need to reboot the netgear cable modem/router.
Since I'm getting partial downloads, I've switched to downloading individual videos, and my command line is:
youtube-dl -x --audio-format=mp3 --audio-quality=7 https://www.youtube.com/watch?v=W_3Jq0P1uQA
I will try downloading via a VPN to see if things improve.

Sounds strange, does this ever happen with any other downloads as well?
Customer premise equipment can be accessed by the ISP (TR-069), so this is something that's theoretically possible, although it sounds still unlikely as described here.
Trying a VPN sounds reasonable. Test with another router to rule out any hardware issue if necessary. And maybe contact your ISP to see if they know something.

If you're losing connection when sending continuous data over your cable modem, you should contact your ISP.  Comcast offers support on their forum at https://forums.xfinity.com/t5/Your-Home-Network/bd-p/YHN if you want to contact them directly.  They pull logs off your router and try to figure out why your internet is failing.

Sounds strange, does this ever happen with any other downloads as well?

No, and my internet connection is heavily used.  This only happens with extended download session using youtube-dl.  I would guess this uncovers some obscure firmware bug in my cable modem, or Comcast's equipment really doesn't like what youtube-dl is doing, and cuts me off until I restart and get a DHCP address again.

Customer premise equipment can be accessed by the ISP (TR-069), so this is something that's theoretically possible, although it sounds still unlikely as described here.

I'm just guessing.  I have some basic understanding of IP sockets, a little knowledge is a dangerous thing levels maybe, but youtube-dl has to play some minor tricks to download from youtube, maybe comcast gets triggered with these files.  But clearly wild speculation :)

Trying a VPN sounds reasonable. Test with another router to rule out any hardware issue if necessary. And maybe contact your ISP to see if they know something.

The VPN worked.  Also I'm really only trying to get the audio and changing options really sped things up dramatically.  The default option took 30 minutes or more a video, even with -f bestaudio.  Changing to -f 18 made the files download in about a minute each.
You can close this issue.


Correlation coefficient as an output from autoRIFT + destriping

Hi all,
I am attempting to use autoRIFT for offset tracking across a slow-moving landslide using optical satellite imagery. autoRIFT is running fine, however, I get a lot of unnaturally high offsets in high-relief areas which I assume are caused by shadow effects and are only partially removed by the NDC filter. Here is an example from correlating two SPOT-5 scenes:

I have thus been thinking about alternative ways to filter the estimated pixel displacement and was wondering if it would be possible to retrieve the correlation coefficient for every matched template as an output from autoRIFT to assess how reliable each match is?
Another problem that occurs when I use Landsat 5 imagery as an input is that I get a regular stripe pattern in the offset imagery, especially for the horizontal pixel displacement.

Have you had similar experiences or perhaps any suggestions on how to deal with this in autoRIFT? I have attempted to destripe the output by subtracting the mean in the line direction of the image, similar to what was described by Scherler et al. (2008) (doi:10.1016/j.rse.2008.05.018), but I wonder if there is a different way to approach this.

Hi  @arimue arimue
Glad you've got autoRIFT up and running and are finding it useful and thanks a ton for posting the figures... that helps a ton with diagnosing issues.So to your questions:

It looks to me like the two images that you are correlating have some orthorectification issues... you can clearly see residual parallax in the offset map... if you plotted the offset as a function of slope and aspect (https://tc.copernicus.org/articles/5/271/2011/) you'll probably see a strong relation. Improved filtering will not help. Also the patterns of offset are very coherent in space which tells me that the offsets are real, not spurious.

The striping is due to banding in the input imagery... for glaciers is handled this issue using and fft decomposition and removing power in the along-track direction then reconstructing the image but we have not yet implimented this in autoRIFT (on the to-do list). A simple fix might be simply to test alternate image bands.

Hope that helps.
Alex

Thank you so much for all the suggestions, @alex-s-gardner. I will take another look at orthorectification. However, would it generally be possible to get the correlation coefficient as an output from autoRIFT, or do you just not think that it would be a good filter criterion?

@arimue using correlation coefficient is a totally logical thing to suggest. We played around with using the correlation coefficient as a filter quite a bit in the early days but found that the NDC filter was far superior and including information on the correlation coefficient had little added value. For this reason we decided not to export the correlation coefficient. The CC is buried deep in the code (CPP implementation of the NCC kernel) so it would take considerable work to pass this back to the user.

Alright, good to know. I will stick to the NDC filter then and close this issue.
Thanks again @alex-s-gardner


Publish to crates.io

Hi, it would be nice if these crates get published to crates.io 👍🏻
Btw nice lib, works like a charm. Many thanks!

Thanks for the feedback. I'm glad to hear that the code works for you.
There are still some issues left with the current code, which were supposed to be fixed by some almost finished unreleased code. But unfortunately I'm not working on any embedded-graphics related projects at the moment and I'm unsure when and if I will resume work on this.

Hi Ralf, thanks for you feedback. Currently, I use eg-bdf as (local) dependency in my project. While developing with it, I ran into some issues (mostly with positioning and aligning the rendered fonts) and some missing features. I have made some changes and additions to the code.  Would you be interested in taking a PR to this project?
Furthermore I think this project can be of use to many using the embedded graphics lib (and its very limited standard font libs). Would you (or the maintainers of this project) agree if I publish the project on crates.io ?

My last comment about this project maybe sounded a bit to pessimistic about the future of this project. Some things have changes since then.
I'll dig out the code I wrote to fix some of the issues with eg-bdf and the associated tooling and try to commit the changes soon. If I remember correctly the code changes were pretty extensive so that PRs might not be very useful at this point. But help is always appreciated and if you want to create issues for the problems you found or create PRs after my changes are merged I would gladly take a look at them.

@rfuest FYI, this is the fork I'm currently running with in my app: https://github.com/eflukx/eg-bdf

Would you (or the maintainers of this project) agree if I publish the project on crates.io ?

I'd prefer if you let us publish this crate under the e-g org umbrella, though I appreciate it's a bit frustrating using git dependencies until we get round to it. I think it would be confusing for people to visit a fork of the repo from crates.io, for one.

Fully agree! (that's why is was asking.. ;))

Great :) glad we're on the same page


Long running operation has finished but there was no result

I followed the documentation on this page and am getting the following error:
{ error:
   { Error: Long running operation has finished but there was no result
       at self.getOperation (/Users/artz/Sites/website/node_modules/@google-cloud/speech/node_modules/google-gax/build/src/longrunning.js:284:39)
       at Operation._unpackResponse (/Users/artz/Sites/website/node_modules/@google-cloud/speech/node_modules/google-gax/build/src/longrunning.js:228:13)
       at noCallbackPromise.currentCallPromise_.then.responses (/Users/artz/Sites/website/node_modules/@google-cloud/speech/node_modules/google-gax/build/src/longrunning.js:197:18) code: 2 } }

My full code is below:
try {
    const [operation] = await speechClient.longRunningRecognize({
      config: {
        languageCode: 'en-US',
        encoding: 'OGG_OPUS',
        sampleRateHertz: 16000,
        model: 'video'
      },
      audio: {
        uri: `gs://${ video.bucket }/${ video.audio }`
      }
    })
    const [response] = await operation.promise()
    return response
} catch (error) {
  return { error }
}

I am testing with this file: http://assets.vizual.ai/audio/326c5427-4b03-4b37-a24d-4868198dbfb8.ogg
Any thoughts appreciated.

Even I am getting the same error for some audio files. I am using .flac as input from google cloud storage.
@artz , Did you find the solution for this issue?

@krisalay No, still waiting for a response. I will contact Google's support team and cross-reference this issue.

@artz , I used ffprobe to find the metadata for your audio file.
Input #0, mp3, from './arq.mp3':
  Metadata:
    encoder         : Lavf58.17.103
  Duration: 00:02:23.40, start: 0.023021, bitrate: 128 kb/s
    Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.24
[FORMAT]
filename=./arq.mp3
nb_streams=1
nb_programs=0
format_name=mp3
format_long_name=MP2/3 (MPEG audio layer 2/3)
start_time=0.023021
duration=143.400000
size=2294637
bit_rate=128013
probe_score=51
TAG:encoder=Lavf58.17.103

It shows bit_rate = 128k, I changed it to 16k, and it works fine. Although the response, is not that accurate. Can you let me know which model (video, phone_call, default) are you using for the transcription?

@artz , I am not sure what will be the optimum bit_rate of audio file for better result from the google's speech to text.
If you find something about it, let me know.

I tried using the video and the default models, same results.  @krisalay are you thinking it's because the bit rate in the audio is too high?  Is this a bug or a feature? :)

Here are some Best practices for recommendations on getting greater efficiency and accuracy –
https://cloud.google.com/speech-to-text/docs/best-practices

@beccasaurus, Thank you for the documentation for best practices.
But, nothing is specified about the optimum bit rate for the audio.
I have an audio file with 16k sampling & 8k bit rate, and it gives the same error "Long running operation has finished but there was no result".

@beccasaurus I read that documentation, but it doesn't mention bitrate, only sampling rate.  Do we need to be concerned with the bitrate as well?  It seems like 128k should work?
Also, is it normal to get "no results" or does that signify an error in the format?  Ideally the API would give some helpful error code to help me pinpoint the issue.

Still waiting for a resolution on this issue, is there another avenue of support for this service?  Unfortunately I will have to research other options if I can't get audio like the one provided transcribed.

I've been trying to dig into this a little and the results are a little confusing for me as well. I'm not actually able to reproduce the same error, however what I do see is the operation finishing with no results. This appears to happen via CLI as well as the Node client, so I have to assume this is backend specific. One thing to note is that in the Node client, my operation seems to hang indefinitely because the Operation completes but contains neither a result or an error, causing it to continue polling.
Inspecting the attached audio file I also noticed that the sample rate is 48000, however neither setting this value or resampling the file seems to matter. I have to assume the bit rate is the issue here as others have already pointed out, but I'm unable to find any documentation in the upstream API in regards to what it should be.

For some audio, we are getting results, but not for others. Still waiting for the issue to be resolved.
Also what does this error actually mean? Is there some issue with the audio or the service?
We are not able to figure out the exact solution.
@google-admin can you please reply with some solution, or the any other information regarding the error?

For some audio, we are getting results, but not for others. Still waiting for the issue to be resolved.
Also what does this error actually mean? Is there some issue with the audio or the service?
We are not able to figure out the exact solution.
@google-admin can you please reply with some solution, or the any other information regarding the error?

Any audio (more then 3 min length) give this err

I'm also getting this same error for almost all audio more than a few minutes long.

Hey guys, I've struggled with it several days, then I found out what was wrong – I uploaded my .ogg files to Google Storage with gzip: true. That was a problem.
(I found this because when I deal only with streams - upload source to app -> convert to ffmpeg -> upload to storage, everything works fine, but when I started dealing with files and uploaded them with gzip - they produce the same error "Long running operation has finished but there was no result")
Hope it help!

Howdy all,
Question about Codec, are your audio files:

OGG VORBIS (not supported)
OGG_OPUS (supported)

Howdy all,
Question about Codec, are your audio files:

OGG VORBIS (not supported)
OGG_OPUS (supported)

mine is OPUS and everything is ok

Going to close this as I'm assuming that is the issue, but if that is not, I'll keep investigating.
:)


Error on publish

Start server on localhost:1313 works fine from button at the bottom of the Server Management site. But I can't get Publish to work properly.
Relevant settings in config.yml:
baseurl: /
contentDir: content/
publishDir: public/

Resulting error message
Unhandled Error
Error: Could not find a default config.
    at SiteService._findFirstMatchOrDefault (C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/services/site/site-service.js:77:19)
    at SiteService.buildWorkspaceForPublish (C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/services/site/site-service.js:82:34)
    at C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/api.js:114:21
    at C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/api.js:27:9
    at Object.get (C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/configuration-data-provider.js:71:9)
    at getSiteService (C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/api.js:23:31)
    at Object.api.publishWorkspace (C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/api.js:112:5)
    at handlers.(anonymous function) (C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/ipc-main-binder.js:45:25)
    at EventEmitter.<anonymous> (C:/Users/Jan/AppData/Local/Programs/hokus-cms/resources/app.asar/build/electron/ipc-main-binder.js:67:9)

Did I miss something?

Lucky for you, I'm already working on it.
There are some misconceptions in the current serve/build approach, which is very limiting.
A user, when you start a server, should be able to select configurations defined by him, like:

config.toml
staging.toml
...
production.toml
"config.toml,production.toml" (using the inheritance Hugo feature)

The same should apply to when you build something.
Besides that, the build process should not be tied to the publishing process. The user should be allowed to have many publishing ways and destinations (like staging and production).
Do you agree with this approach? It's already on its way, by it's never too late to change the course.

Oh, if you want to use the current build, I believe you should change the site config to have a build config:
"build": [
  {
    "key":"default",
    "env": {},
    "args": [],
  }
], ...

In the next release this config scheme will change a lot. And the build configuration will be movedto the workspace config - in the hokus.{toml, yml,yaml,json} at the root of your website -  (where it makes more sense).

Sorry. This setting in config.yml didn't work out:
build:
- key: default
  env: {}
  args: []

Added the setting in hokus.yaml. Same result.
I'm probably not getting, what you mean by "Site config". Perhaps I should just wait for next release to see publish in action.

Your concept of several config-files for different purposes is spot on in my view. That would make Hokus not only a really useful web-editor (which is awesome in it's own right), but also a must-have add-on/dashboard with extra functions targeted at webmasters/webeditors. It even smells like it might become possible to publish (or serve at localhost) from a selected theme without changing config-files. That would be even more awesome.

You are right.
The idea is to make non-tech people consume Hugo templates by just using Hokus interface.
If this works, Hokus will bring Hugo to a new level, unleashing it's power to a greater audience.
Hokus + Hugo = Wordpress Competitor. It's ambitions, I know.
In the very next version will be possible to start a website from a template. It is already implemented and working with many existent templates. The only problem is that the templates are unaware of Hokus (yet), so they don't provide a hokus.{yaml|json|toml|yml} file.

Oh, by site config I mean the configuration located at the /yourusername/Hokus/someconfig.toml
I call the hokus.yaml the workspace config. These concepts will be more clear in the future when more site sources will be available. A SiteSource can generate many workspaces.

Really nice work with this. But a little push would come in handy.
After having installed v. 0.2.0 and added your suggestions above. Publish button at Site Management appears to work smoothly. So does the publish dialog, and the message "Site succesfully published" shows up at the end.
The only remaing showstopper: I'm not able to find the published files in "F:\\data\\hokus\\hugosite\\public" - or anywhere else for that matter... Replacing "F:\\data\\hokus\\hugosite\\public" with null doesn't bring any change.
So close...
Site config (config.hugosite.json):
{
  "key": "hugosite",
  "name": "hugosite",
  "source": {
    "type": "Folder",
    "path": "F:\\data\\hokus\\hugosite"
  },
  "serve": [
    {
      "args": [],
      "env": {}
    }
  ],
  "build": [],
  "transform": [],
  "publish": [
    {
      "key": "default",
      "config": {
        "type": "folder",
        "path": "F:\\data\\hokus\\hugosite\\public"
      }
    }
  ]
}

workspace-config (hokus.yaml):
serve:
- key: default
  config: config.yml
build:
- key: default
  config: config.yml

Hugo config.yml in workspace (exerpt):
contentDir: content/
publishDir: public/

You can find the files in the default folder:
C:\Users{your_user}\Hokus\sites{your_site_key}\publish{your_publish_key}
You can also find the last build files in:
C:\Users{your_user}\Hokus\sites{your_site_key}\build{your_build_key}
For now, the publish is just a copy of the build.
I've published a new release, fixing a property naming issue. The process was expecting a "dest" instead of a "path".
I recommend you to download the 0.2.1 version, to use the right convention.
Oh, and you can change your config.hugosite.json to this:
{
  "key": "hugosite",
  "name": "hugosite",
  "source": {
    "type": "Folder",
    "path": "F:\\data\\hokus\\hugosite"
  },
  "publish": [
    {
      "key": "default",
      "config": {
        "type": "folder",
        "path": "F:\\data\\hokus\\hugosite\\public"
      }
    }
  ]
}

The "serve" and "build" now belongs to the hokus.{ext} file, inside the Hugo site folder. The "transform" is not ready yet and may change.
Your "workspace config" additions look fine. Note that you can have more configs now. I haven't fully tested this yet.
And keep in mind that I overwrite the publishDir in the config.yml by setting a flag --destination for the build (hugo.exe --destination {auto-generated-path}).
Now is time to go deeper and think about a real-world Publisher. The FolderPublisher was just the simplest case I could think to get something working fast. Since you are my most active user, please, I ask you directly: where do you publish your sites? Using which transport mechanism?
To give you directions, I'm thinking about working in one of these (but other ideas are welcome):

AWSS3Publisher
GitPublisher
FTPPublisher

Or do you use Netlify? In this case, a new SiteSource (a GitSiteSource) would be necessary, which is more complicated...
Another question: do you intend to use Hokus in production?

Thank you for your (fast) advice. Now both localhost and publish work fine in my setup.
I have only use Hokus for testing so far, but at this I wouldn't hesitate to use Hokus for managing minor Hugo-websites.
I would be a little more reluctant, when it comes to larger sites. This is due to the exposure of posts as flat lists. Handling hundreds (or as in my case: up to 30.000 posts per site) in Hugo calls for more division of the material. F.ex. based on categories and/or (arche)types/forms.
Unfortunately I'm not able to give any advice with regards to AWSS3Publisher, GitPublisher, FTPPublisher or Netlify. I stick to self-hosting on a small Ubuntu server through Nginx, and this works seamless.

Nice! You are welcome.
You are right about large sites, the UI is not ready to handle it well.
But it can be achieved without too much difficulty.
If you want, create new Issues. I'll attend them when I have time to spare.
Your setup is interesting, very straightforward. You are hosting your websites on the same machine you are developing them.


Cmdlet description using attribute declarations

PowerShell by default generates most of the help text for cmdlets in binary modules in an expected way except for the Cmdlet Description,synopsis and related links. Just for specifying the cmdlet synopsis, description,related links looks like we need to generate the whole help text in MAML format. Is there a way to specify Cmdlet description,synopsis, related links  as an Attribute in c# source code like we specify the output type?
[Cmdlet("Get", "Greeting")]
[OutputType(string)]
public class GetGreeting : PSCmdlet
{
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Person's name")]
public string Name { get; set; }
}
Steps to reproduce

Expected behavior

Actual behavior

Environment data

Not currently, although it's not impossible to implement, it would just need changes to the help documentation to go looking for additional attributes or attribute properties for help content.
Currently the most "straightforward" way I've found to go about it is with the PlatyPS module; it can generate a Markdown file with your cmdlet name and parameters that you can fill out with help information, and then it will generate a MAML file to put in the module from the Markdown. There are still a handful of odd edge cases and it's a bit weird to get used to working with, but on the whole it's a ton easier than hand-crafting MAML.

Can this be taken up as a new feature request if native help documentation support for this does not exist?

What about localization? I do not think this is the right way.

The suggestion is interesting for sure and I agree that it could be helpful. Localization is the primary reason to have downloadable help in MAML.
Look at the following example of help for Get-Process. As you can see the description and related link blocks can get very long. It would just make the C# code look messy. Though adding a attribute property for Synopsis could be fine. Still MAML / PlatyPS is the right way to go as it also allows you to specify examples, which I believe are most useful.
NAME
    Get-Process

SYNOPSIS
    Gets the processes that are running on the local computer.

SYNTAX
    Get-Process [[-Name] <String[]>] [-FileVersionInfo] [-Module] [<CommonParameters>]

    Get-Process [-FileVersionInfo] -Id <Int32[]> [-Module] [<CommonParameters>]

    Get-Process [-FileVersionInfo] -InputObject <Process[]> [-Module] [<CommonParameters>]

    Get-Process -Id <Int32[]> -IncludeUserName [<CommonParameters>]

    Get-Process [[-Name] <String[]>] -IncludeUserName [<CommonParameters>]

    Get-Process -IncludeUserName -InputObject <Process[]> [<CommonParameters>]

DESCRIPTION
    The `Get-Process` cmdlet gets the processes on a local computer.

    Without parameters, this cmdlet gets all of the processes on the local computer. You can also specify a particular
    process by process name or process ID (PID) or pass a process object through the pipeline to this cmdlet.

    By default, this cmdlet returns a process object that has detailed information about the process and supports
    methods that let you start and stop the process. You can also use the parameters of the `Get-Process` cmdlet to
    get file version information for the program that runs in the process and to get the modules that the process
    loaded.

RELATED LINKS
    Online Version: https://docs.microsoft.com/powershell/module/microsoft.powershell.management/get-process?view=power
    shell-7&WT.mc_id=ps-gethelp
    Debug-Process
    Get-Process
    Start-Process
    Stop-Process
    Wait-Process

@adityapatwardhan PlatyPS is good if you want many changes. We are happy with the default PowerShell Help except we need one or 2 additional sections. We generate code for our cmdlets so it wouldn't be a big deal for us to include these as attributes in our code irrespective of how unwieldy those attributes look.
While using PlatyPS, we are having to go through multiple steps - Generate MD files from PlatyPS; those MD files have sections which are not complete. Generate some intermediate XML files with the info that we need to populate the MD files empty sections generated by PlatyPS. Use these MD files to finally patch the MAML files that we need for help text. The MAML files are missing the Synopsis section (probably due to a bug in PlatyPS that we have filed with them).
If the above feature that we are asking for was supporting, we had much simpler process for help text generation.

If the above feature that we are asking for was supporting, we had much simpler process for help text generation.

Current HelpSystem was designed many years ago. Since then, much has changed. We have already discussed that this system should be modernized. Unfortunately, MSFT team has not yet published a public roadmap.
There was an idea to exclude MAML altogether.
Now I think we could use ideas from new PowerShellGet 3.0 for HelpSystem too.
This would dramatically simplify the help creation and support.

Just to tack on to this, C# doc comments allow any XML within them. This can then be parsed out at build time, so you could also document something like this:
/// <powershell-help>
///   <description>
///    The `Get-Process` cmdlet gets the processes on a local computer.
///
///    Without parameters, this cmdlet gets all of the processes on the local computer. You can also specify a particular
///    process by process name or process ID (PID) or pass a process object through the pipeline to this cmdlet.
///
///    By default, this cmdlet returns a process object that has detailed information about the process and supports
///    methods that let you start and stop the process. You can also use the parameters of the `Get-Process` cmdlet to
///    get file version information for the program that runs in the process and to get the modules that the process
///    loaded.
///   </description>
/// </powershell-help>
[Cmdlet(VerbsCommon.Get, "Process")]
public class GetProcessCommand : PSCmdlet
{
...
}

Pros:

Aligns with existing C# help
Easy to structure, declare and read
Documentation lives next to code

Cons:

Not easily localisable (then again, .NET will have needed to solve this already)
Not available at runtime, so requires an extra build step and asset

The essential issue for attributes is that it's hard to structure strings provided as arguments to them. One solution to that is to use a resource file. For example, something I'm working on for PSScriptAnalyzer:
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public sealed class RuleAttribute : ScriptAnalyzerAttribute
    {
        private readonly Lazy<string> _descriptionLazy;

        public RuleAttribute(string name, string description)
        {
            Name = name;
            _descriptionLazy = new Lazy<string>(() => description);
        }

        public RuleAttribute(string name, Type descriptionResourceProvider, string descriptionResourceKey)
        {
            Name = name;
            _descriptionLazy = new Lazy<string>(() => GetStringFromResourceProvider(descriptionResourceProvider, descriptionResourceKey));
        }

        public string Name { get; }

        public DiagnosticSeverity Severity { get; set; } = DiagnosticSeverity.Warning;

        public string Namespace { get; set; }

        public string Description => _descriptionLazy.Value;

        private static string GetStringFromResourceProvider(Type resourceProvider, string resourceKey)
        {
            PropertyInfo resourceProperty = resourceProvider.GetProperty(resourceKey, BindingFlags.Static | BindingFlags.NonPublic);
            return (string)resourceProperty.GetValue(null);
        }
    }

One solution to that is to use a resource file.

And we fall to an design with an external file. In the case it is better to think about an universal format which can be used for both script and binary cmdlets. And I'd expect that the universal format is Markdown :-) This dramatically simplify HelpSystem.

And we fall to an design with an external file

Yeah I think anything with localisation support is going to need to separate implementation from documentation, and markdown is a better way to go on that


LAB_04_MFAConditionalAccessandAADIdentityProtection.md

English:
click the Directory + subscription
icon, located to the right of the Cloud Shellicon
Current Translation:
按一下 Cloud Shell 圖示右邊的 目錄 + 訂用帳戶 圖示
Suggested Translation:
按一下 Cloud Shell 圖示右邊的 [目錄 + 訂用帳戶] 圖示
Description:
It is UI and should use UI format

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Run bugfix tool and waiting for result.