yt-dlp (version: 2024.11.04): AV1 is not prioritised

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
With the yt-dlp 2024.11.04, AV1 should be prioritised but instead vp9 video gets downloaded.
Downloaded file
The video file was a size of 105322631 bytes or 101MiB. This indicates that the format is 614 (low bit rate) instead of 616 as reported by yt-dlp (see below in details)
Format available
$ yt-dlp -F https://www.youtube.com/watch?v=XyUvTO-zNt0
[youtube] Extracting URL: https://www.youtube.com/watch?v=XyUvTO-zNt0
[youtube] XyUvTO-zNt0: Downloading webpage
[youtube] XyUvTO-zNt0: Downloading ios player API JSON
[youtube] XyUvTO-zNt0: Downloading mweb player API JSON
[youtube] XyUvTO-zNt0: Downloading m3u8 information
[info] XyUvTO-zNt0: Downloading subtitles: en, de
[info] Available formats for XyUvTO-zNt0:
ID      EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb3     mhtml 48x27        0    │                  mhtml │ images                                  storyboard
sb2     mhtml 80x45        0    │                  mhtml │ images                                  storyboard
sb1     mhtml 160x90       0    │                  mhtml │ images                                  storyboard
sb0     mhtml 320x180      0    │                  mhtml │ images                                  storyboard
233     mp4   audio only        │                  m3u8  │ audio only          unknown             [en] Default
234     mp4   audio only        │                  m3u8  │ audio only          unknown             [en] Default
599-drc m4a   audio only      2 │    1.59MiB   31k https │ audio only          mp4a.40.5   31k 22k [en] ultralow, DRC, m4a_dash
600-drc webm  audio only      2 │    1.90MiB   37k https │ audio only          opus        37k 48k [en] ultralow, DRC, webm_dash
599     m4a   audio only      2 │    1.59MiB   31k https │ audio only          mp4a.40.5   31k 22k [en] ultralow, m4a_dash
600     webm  audio only      2 │    1.90MiB   37k https │ audio only          opus        37k 48k [en] ultralow, webm_dash
139-drc m4a   audio only      2 │    2.51MiB   49k https │ audio only          mp4a.40.5   49k 22k [en] low, DRC, m4a_dash
249-drc webm  audio only      2 │    2.76MiB   54k https │ audio only          opus        54k 48k [en] low, DRC, webm_dash
250-drc webm  audio only      2 │    3.62MiB   70k https │ audio only          opus        70k 48k [en] low, DRC, webm_dash
139     m4a   audio only      2 │    2.51MiB   49k https │ audio only          mp4a.40.5   49k 22k [en] low, m4a_dash
249     webm  audio only      2 │    2.76MiB   54k https │ audio only          opus        54k 48k [en] low, webm_dash
250     webm  audio only      2 │    3.61MiB   70k https │ audio only          opus        70k 48k [en] low, webm_dash
140-drc m4a   audio only      2 │    6.67MiB  129k https │ audio only          mp4a.40.2  129k 44k [en] medium, DRC, m4a_dash
251-drc webm  audio only      2 │    6.71MiB  130k https │ audio only          opus       130k 48k [en] medium, DRC, webm_dash
140     m4a   audio only      2 │    6.67MiB  129k https │ audio only          mp4a.40.2  129k 44k [en] medium, m4a_dash
251     webm  audio only      2 │    6.71MiB  130k https │ audio only          opus       130k 48k [en] medium, webm_dash
597     mp4   256x144     12    │    1.03MiB   20k https │ avc1.4d400b     20k video only          144p, mp4_dash
602     mp4   256x144     12    │ ~  4.15MiB   81k m3u8  │ vp<IP_ADDRESS>   81k video only
598     webm  256x144     12    │    1.01MiB   20k https │ vp9             20k video only          144p, webm_dash
269     mp4   256x144     24    │ ~  8.07MiB  157k m3u8  │ avc1.4D400C    157k video only
160     mp4   256x144     24    │    1.37MiB   27k https │ avc1.4D400C     27k video only          144p, mp4_dash
603     mp4   256x144     24    │ ~  7.92MiB  154k m3u8  │ vp<IP_ADDRESS>  154k video only
278     webm  256x144     24    │    2.72MiB   53k https │ vp<IP_ADDRESS>   53k video only          144p, webm_dash
394     mp4   256x144     24    │    1.72MiB   33k https │ av01.0.00M.08   33k video only          144p, mp4_dash
229     mp4   426x240     24    │ ~ 11.73MiB  228k m3u8  │ avc1.4D4015    228k video only
133     mp4   426x240     24    │    2.35MiB   46k https │ avc1.4D4015     46k video only          240p, mp4_dash
604     mp4   426x240     24    │ ~ 13.64MiB  265k m3u8  │ vp<IP_ADDRESS>  265k video only
242     webm  426x240     24    │    3.29MiB   64k https │ vp<IP_ADDRESS>   64k video only          240p, webm_dash
395     mp4   426x240     24    │    2.64MiB   51k https │ av01.0.00M.08   51k video only          240p, mp4_dash
230     mp4   640x360     24    │ ~ 23.95MiB  465k m3u8  │ avc1.4D401E    465k video only
134     mp4   640x360     24    │    4.42MiB   86k https │ avc1.4D401E     86k video only          360p, mp4_dash
18      mp4   640x360     24  2 │   20.13MiB  391k https │ avc1.42001E         mp4a.40.2       44k [en] 360p
605     mp4   640x360     24    │ ~ 27.75MiB  539k m3u8  │ vp<IP_ADDRESS>  539k video only
243     webm  640x360     24    │    6.06MiB  118k https │ vp<IP_ADDRESS>  118k video only          360p, webm_dash
396     mp4   640x360     24    │    4.97MiB   97k https │ av01.0.01M.08   97k video only          360p, mp4_dash
231     mp4   854x480     24    │ ~ 32.83MiB  637k m3u8  │ avc1.4D401E    637k video only
135     mp4   854x480     24    │    6.77MiB  131k https │ avc1.4D401E    131k video only          480p, mp4_dash
606     mp4   854x480     24    │ ~ 37.19MiB  722k m3u8  │ vp<IP_ADDRESS>  722k video only
244     webm  854x480     24    │    9.03MiB  175k https │ vp<IP_ADDRESS>  175k video only          480p, webm_dash
397     mp4   854x480     24    │    8.68MiB  169k https │ av01.0.04M.08  169k video only          480p, mp4_dash
232     mp4   1280x720    24    │ ~ 54.64MiB 1061k m3u8  │ avc1.4D401F   1061k video only
136     mp4   1280x720    24    │   12.78MiB  248k https │ avc1.4D401F    248k video only          720p, mp4_dash
609     mp4   1280x720    24    │ ~ 53.77MiB 1044k m3u8  │ vp<IP_ADDRESS> 1044k video only
247     webm  1280x720    24    │   15.08MiB  293k https │ vp<IP_ADDRESS>  293k video only          720p, webm_dash
398     mp4   1280x720    24    │   16.54MiB  321k https │ av01.0.05M.08  321k video only          720p, mp4_dash
270     mp4   1920x1080   24    │ ~190.10MiB 3691k m3u8  │ avc1.640028   3691k video only
137     mp4   1920x1080   24    │   55.46MiB 1077k https │ avc1.640028   1077k video only          1080p, mp4_dash
614     mp4   1920x1080   24    │ ~123.73MiB 2403k m3u8  │ vp<IP_ADDRESS> 2403k video only
248     webm  1920x1080   24    │   37.23MiB  723k https │ vp<IP_ADDRESS>  723k video only          1080p, webm_dash
399     mp4   1920x1080   24    │   31.21MiB  606k https │ av01.0.08M.08  606k video only          1080p, mp4_dash
616     mp4   1920x1080   24    │ ~271.60MiB 5274k m3u8  │ vp<IP_ADDRESS> 5274k video only          Premium

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ yt-dlp -vU https://www.youtube.com/watch?v=XyUvTO-zNt0

[debug] Command-line config: ['-vU', 'https://www.youtube.com/watch?v=XyUvTO-zNt0']
[debug] User config "/home/lamy/.config/yt-dlp/config": ['--format', 'bestvideo[height<=?1440]+bestaudio/best', '--write-sub', '--write-auto-sub', '--sub-langs=en,en-GB,de', '--embed-subs', '--embed-metadata', '--embed-chapters', '--embed-thumbnail']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [197d0b03b] (pip)
[debug] Python 3.13.0 (CPython x86_64 64bit) - Linux-6.11.7-300.fc41.x86_64-x86_64-with-glibc2.40 (OpenSSL 3.4.0 22 Oct 2024, glibc 2.40)
[debug] exe versions: ffmpeg 7.0.2 (setts), ffprobe 7.0.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, mutagen-1.47.0, requests-2.32.3, sqlite3-3.47.0, urllib3-2.2.3, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[youtube] Extracting URL: https://www.youtube.com/watch?v=XyUvTO-zNt0
[youtube] XyUvTO-zNt0: Downloading webpage
[youtube] XyUvTO-zNt0: Downloading ios player API JSON
[youtube] XyUvTO-zNt0: Downloading mweb player API JSON
[debug] Loading youtube-nsig.0ccfa671 from cache
[debug] [youtube] Decrypted nsig CBm0X3Gzt-Fz-_J => NNbTP85qZxm9rw
[debug] Loading youtube-nsig.0ccfa671 from cache
[debug] [youtube] Decrypted nsig Nki_j9kOJEm7UwX => wJbOgnbLkUy5GQ
[youtube] XyUvTO-zNt0: Downloading m3u8 information
[info] XyUvTO-zNt0: Downloading subtitles: en, de
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] XyUvTO-zNt0: Downloading 1 format(s): 616+251
[info] Writing video subtitles to: This changed the way I think about vegetables [XyUvTO-zNt0].en.vtt
[debug] Invoking http downloader on "https://www.youtube.com/api/timedtext?v=XyUvTO-zNt0&ei=-u02Z7XrAbKJ6dsPxZ_J6Ag&caps=asr&opi=112496729&exp=xbt&xoaf=5&hl=en&ip=<IP_ADDRESS>&ipbits=0&expire=1731678314&sparams=ip%2Cipbits%2Cexpire%2Cv%2Cei%2Ccaps%2Copi%2Cexp%2Cxoaf&signature=CBFD8E175341041D20AA35BA72C587281BED37BA.069FD73FE66D5A84B268B5D69DA8B2A04D71EBB9&key=yt8&kind=asr&lang=en&fmt=vtt"
[download] Destination: This changed the way I think about vegetables [XyUvTO-zNt0].en.vtt
[download] 100% of   64.78KiB in 00:00:00 at 762.80KiB/s
[info] Writing video subtitles to: This changed the way I think about vegetables [XyUvTO-zNt0].de.vtt
[debug] Invoking http downloader on "https://www.youtube.com/api/timedtext?v=XyUvTO-zNt0&ei=-u02Z7XrAbKJ6dsPxZ_J6Ag&caps=asr&opi=112496729&exp=xbt&xoaf=5&hl=en&ip=<IP_ADDRESS>&ipbits=0&expire=1731678314&sparams=ip%2Cipbits%2Cexpire%2Cv%2Cei%2Ccaps%2Copi%2Cexp%2Cxoaf&signature=CBFD8E175341041D20AA35BA72C587281BED37BA.069FD73FE66D5A84B268B5D69DA8B2A04D71EBB9&key=yt8&kind=asr&lang=en&tlang=de&fmt=vtt"
[download] Destination: This changed the way I think about vegetables [XyUvTO-zNt0].de.vtt
[download] 100% of   70.32KiB in 00:00:00 at 558.08KiB/s
[info] Downloading video thumbnail 42 ...
[info] Writing video thumbnail 42 to: This changed the way I think about vegetables [XyUvTO-zNt0].webp
WARNING: webm doesn't support embedding a thumbnail, mkv will be used
[debug] Invoking hlsnative downloader on "https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1731674713/ei/-e02Z4qzN5Hi6dsPstGu-Qg/ip/2001:a61:b98:4c01:90bf:4d1a:f6a5:de72/id/5f252f4cefb336dd/itag/616/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/wft/1/sgovp/clen%3D97874684%3Bdur%3D432.098%3Bgir%3Dyes%3Bitag%3D356%3Blmt%3D1715382846433534/rqh/1/hls_chunk_host/rr2---sn-hoxu-h0jz.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/met/1731653113,/mh/ez/mm/31,29/mn/sn-hoxu-h0jz,sn-h0jelnez/ms/au,rdu/mv/m/mvi/2/pl/40/rms/au,au/initcwndbps/2138750/spc/qtApAb5AmSebbEgcTzHfYkck0GiwoTxfHp04fUyrLEDGSnDthQ/vprv/1/playlist_type/DVR/dover/13/txp/5532434/mt/1731652400/fvip/3/short_key/1/keepalive/yes/fexp/51299154,51312688,51326932/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,wft,sgovp,rqh,xpc,spc,vprv,playlist_type/sig/AJfQdSswRQIhAIM6q5aBmkQ_kC3vZAdrcxdzb_1rhdn9ZE_XgySxvUBeAiBXQWat3plTpjUP2OhY42vmie8trknrG6MpFnqX_7zBbA%3D%3D/lsparams/hls_chunk_host,met,mh,mm,mn,ms,mv,mvi,pl,rms,initcwndbps/lsig/AGluJ3MwRQIgKyF-ImL9l9Qb-vA-AJn-aAlwhFQlihqMLqJ8k32BG7gCIQDcZX1Pu8JI2Dv5RqsmMPMUZt6zJbIP1M4QMcdOUgR0TA%3D%3D/playlist/index.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 75
[download] Destination: This changed the way I think about vegetables [XyUvTO-zNt0].f616.mp4
[download] 100% of   93.40MiB in 00:00:20 at 4.62MiB/s
[debug] Invoking http downloader on "https://rr2---sn-hoxu-h0jz.googlevideo.com/videoplayback?expire=1731674713&ei=-e02Z4qzN5Hi6dsPstGu-Qg&ip=2001%3Aa61%3Ab98%3A4c01%3A90bf%3A4d1a%3Af6a5%3Ade72&id=o-AIE8hiFs6HBUWYGXYU0NnepxYpWNsFEzn3AND8lvwooC&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1731653113%2C&mh=ez&mm=31%2C29&mn=sn-hoxu-h0jz%2Csn-h0jelnez&ms=au%2Crdu&mv=m&mvi=2&pl=40&rms=au%2Cau&initcwndbps=2138750&spc=qtApAb5DmSebbEgcTzHfYkck0GiwoTxfHp04fUyrLEDGenM&vprv=1&svpuc=1&mime=audio%2Fwebm&rqh=1&gir=yes&clen=7034241&dur=432.121&lmt=1715382196097229&mt=1731652400&fvip=3&keepalive=yes&fexp=51299154%2C51312688%2C51326932&c=IOS&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAIpE6DfW1g564yDTrBPGp7e8xJlpSPHrlEh7cbQ2mK-2AiEAxPqwZ8L9xLGU4M4ivyKDQrW3UIBQesmhMm51AB4NOEc%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhAJCAVTSP2pvQ3yoTq9gDNhGJgmom8o3s5I-__N8wmZ3VAiEA0co5s71ZKfBD08Vyk3WdwoEPC2et86xdTBD2SX9sqUs%3D"
[download] Destination: This changed the way I think about vegetables [XyUvTO-zNt0].f251.webm
[download] 100% of    6.71MiB in 00:00:00 at 10.01MiB/s
[Merger] Merging formats into "This changed the way I think about vegetables [XyUvTO-zNt0].mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:This changed the way I think about vegetables [XyUvTO-zNt0].f616.mp4' -i 'file:This changed the way I think about vegetables [XyUvTO-zNt0].f251.webm' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:This changed the way I think about vegetables [XyUvTO-zNt0].temp.mkv'
Deleting original file This changed the way I think about vegetables [XyUvTO-zNt0].f616.mp4 (pass -k to keep)
Deleting original file This changed the way I think about vegetables [XyUvTO-zNt0].f251.webm (pass -k to keep)
[EmbedSubtitle] Embedding subtitles in "This changed the way I think about vegetables [XyUvTO-zNt0].mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:This changed the way I think about vegetables [XyUvTO-zNt0].mkv' -i 'file:This changed the way I think about vegetables [XyUvTO-zNt0].en.vtt' -i 'file:This changed the way I think about vegetables [XyUvTO-zNt0].de.vtt' -map 0 -dn -ignore_unknown -c copy -map -0:s -map 1:0 -metadata:s:s:0 language=eng -metadata:s:s:0 handler_name=English -metadata:s:s:0 title=English -map 2:0 -metadata:s:s:1 language=deu -metadata:s:s:1 handler_name=German -metadata:s:s:1 title=German -movflags +faststart 'file:This changed the way I think about vegetables [XyUvTO-zNt0].temp.mkv'
[Metadata] Adding metadata to "This changed the way I think about vegetables [XyUvTO-zNt0].mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:This changed the way I think about vegetables [XyUvTO-zNt0].mkv' -map 0 -dn -ignore_unknown -c copy -write_id3v1 1 -metadata 'title=This changed the way I think about vegetables' -metadata date=20240510 -metadata 'description=Thanks to Trade Coffee for sponsoring this video! Visit https://www.drinktrade.com/MinuteFood to enjoy 30% off your first month of coffee.

Different foods have different likelihoods of harboring germs and getting you sick - so what’s the riskiest food out there?

𝗧𝗵𝗲 𝘀𝗰𝗶𝗲𝗻𝘁𝗶𝗳𝗶𝗰 𝗻𝗶𝘁𝘁𝘆-𝗴𝗿𝗶𝘁𝘁𝘆:
-DeWaal CS, Glassman M (2013). Outbreak alert! 2001–2010: a review of foodborne illness in America. Center for Science in the Public Interest, Washington, DC. https://www.cspinet.org/sites/default/files/attachment/outbreak_alert_2013_final.pdf
-Fischer N, Bourne A, Plunkett D (2015). Outbreak alert! A review of foodborne illness in the US from 200-2013. Center for Science in the Public Interest, Washington, DC. https://www.cspinet.org/sites/default/files/attachment/outbreak-alert-2015.pdf
-Interagency Food Safety Analytics Collaboration (2015). Foodborne illness source attribution estimates for Salmonella, Escherichia coli O157 (E. coli O157), Listeria monocytogenes (Lm), and Campylobacter using outbreak surveillance data. https://www.cdc.gov/foodsafety/pdfs/ifsac-project-report-508c.pdf
-Interagency Food Safety Analytics Collaboration (2022). Foodborne illness source attribution estimates for 2020 for Salmonella, Escherichia coli O157, and Listeria monocytogenes using multi-year outbreak surveillance data, United States. GA and D.C.: U.S. Department of Health and Human Services, Centers for Disease Control and Prevention, Food and Drug Administration, U.S. Department of Agriculture’s Food Safety and Inspection Service. https://www.cdc.gov/foodsafety/ifsac/pdf/P19-2020-report-TriAgency-508.pdf
-Mead, P. S., Slutsker, L., Dietz, V., McCaig, L. F., Bresee, J. S., Shapiro, C....Tauxe, R. V. (1999). Food-Related Illness and Death in the United States. Emerging Infectious Diseases, 5(5), 607-625. https://doi.org/10.3201/eid0505.990502.
-Mughini-Gras, L.; Kooh, P.; Augustin, J.C.; David, J.; Fravalo, P.; Guillier, L.; Jourdan-Da-Silva, N.; Thébault, A.; Sanaa, M.; Watier, L.; et al (2018). Source attribution of foodborne diseases: Potentialities, hurdles, and future expectations. Front. Microbiol. 9. https://doi.org/10.3389/fmicb.2018.01983
-Painter JA, Hoekstra RM, Ayers T, Tauxe RV, Braden CR, Angulo FJ, Griffin PM (2013). Attribution of foodborne illnesses, hospitalizations, and deaths to food commodities by using outbreak data, United States, 1998-2008. Emerg Infect Dis. 19(3):407-15. https://doi.org/10.3201/eid1903.111866
-Richardson LC, Bazaco MC, Parker CC, Dewey-Mattia D, Golden N, Jones K, Klontz K, Travis C, Zablotsky Kufel J, Cole D (2017). An updated scheme for categorizing foods implicated in foodborne disease outbreaks: a tri-agency collaboration. Foodborne Pathog Dis. 14(12):701–710. https://doi.org/10.1089/fpd.2017.2324
-Scallan, E., Hoekstra, R. M., Angulo, F. J., Tauxe, R. V., Widdowson, M., Roy, S. L....Griffin, P. M. (2011). Foodborne Illness Acquired in the United States—Major Pathogens. Emerging Infectious Diseases, 17(1), 7-15. https://doi.org/10.3201/eid1701.p11101.

𝗚𝗼𝗼𝗱 (𝗮𝗰𝗰𝗲𝘀𝘀𝗶𝗯𝗹𝗲) 𝗿𝗲𝗳𝗲𝗿𝗲𝗻𝗰𝗲𝘀:
-https://www.cdc.gov/foodsafety/cdc-and-food-safety.html
-https://tools.cdc.gov/medialibrary/index.aspx#/media/id/304694
-https://www.consumerreports.org/health/food-recalls/risky-recalled-foods-you-should-know-about-a4109713872/
https://www.smithsonianmag.com/science-nature/which-foods-are-most-likely-make-you-sick-180967241/
-https://www.cspinet.org/sites/default/files/media/documents/resource/RiskyMeat_CSPI_2013.pdf
-https://www.vox.com/2015/3/6/8158289/food-poisoning
-https://wwwn.cdc.gov/norsdashboard/
-https://www.popsci.com/salmonella-food-poisoning-greens/

𝗦𝘂𝗽𝗲𝗿-𝗵𝗲𝗹𝗽𝗳𝘂𝗹 𝗲𝘅𝗽𝗲𝗿𝘁𝘀 𝘄𝗵𝗼 𝗰𝗼𝗺𝗺𝘂𝗻𝗶𝗰𝗮𝘁𝗲𝗱 𝘄𝗶𝘁𝗵 𝗺𝗲 𝗮𝗯𝗼𝘂𝘁 𝘁𝗵𝗶𝘀 𝘁𝗼𝗽𝗶𝗰:
-Dr. Alejandro Castillo, Associate Professor of Food Science & Technology at Texas A&M University
-Dr. Benjamin Chapman, Department Head and Food Safety Specialist in the Department of Agricultural and Human Sciences at North Carolina State University
-Brian Ronholm, Director of Food Policy at Consumer Reports
-Dr. Donald Schaffner, Extension Specialist in Food Science and Distinguished Professor at Rutgers University
-Dr. Abby Snyder, Associate Professor of Food Science at Cornell University

MinuteFood is created by Kate Yoshida, Arcadi Garcia & Leonardo Souza, and produced by Neptune Studios LLC.

Merch | https://store.dftba.com/collections/minutefood
TikTok | https://tiktok.com/@minutefood_
Twitter | https://twitter.com/minutefood
Instagram | https://instagram.com/minutefood_
Facebook | https://facebook.com/minutefood' -metadata 'synopsis=Thanks to Trade Coffee for sponsoring this video! Visit https://www.drinktrade.com/MinuteFood to enjoy 30% off your first month of coffee.

Different foods have different likelihoods of harboring germs and getting you sick - so what’s the riskiest food out there?

𝗧𝗵𝗲 𝘀𝗰𝗶𝗲𝗻𝘁𝗶𝗳𝗶𝗰 𝗻𝗶𝘁𝘁𝘆-𝗴𝗿𝗶𝘁𝘁𝘆:
-DeWaal CS, Glassman M (2013). Outbreak alert! 2001–2010: a review of foodborne illness in America. Center for Science in the Public Interest, Washington, DC. https://www.cspinet.org/sites/default/files/attachment/outbreak_alert_2013_final.pdf
-Fischer N, Bourne A, Plunkett D (2015). Outbreak alert! A review of foodborne illness in the US from 200-2013. Center for Science in the Public Interest, Washington, DC. https://www.cspinet.org/sites/default/files/attachment/outbreak-alert-2015.pdf
-Interagency Food Safety Analytics Collaboration (2015). Foodborne illness source attribution estimates for Salmonella, Escherichia coli O157 (E. coli O157), Listeria monocytogenes (Lm), and Campylobacter using outbreak surveillance data. https://www.cdc.gov/foodsafety/pdfs/ifsac-project-report-508c.pdf
-Interagency Food Safety Analytics Collaboration (2022). Foodborne illness source attribution estimates for 2020 for Salmonella, Escherichia coli O157, and Listeria monocytogenes using multi-year outbreak surveillance data, United States. GA and D.C.: U.S. Department of Health and Human Services, Centers for Disease Control and Prevention, Food and Drug Administration, U.S. Department of Agriculture’s Food Safety and Inspection Service. https://www.cdc.gov/foodsafety/ifsac/pdf/P19-2020-report-TriAgency-508.pdf
-Mead, P. S., Slutsker, L., Dietz, V., McCaig, L. F., Bresee, J. S., Shapiro, C....Tauxe, R. V. (1999). Food-Related Illness and Death in the United States. Emerging Infectious Diseases, 5(5), 607-625. https://doi.org/10.3201/eid0505.990502.
-Mughini-Gras, L.; Kooh, P.; Augustin, J.C.; David, J.; Fravalo, P.; Guillier, L.; Jourdan-Da-Silva, N.; Thébault, A.; Sanaa, M.; Watier, L.; et al (2018). Source attribution of foodborne diseases: Potentialities, hurdles, and future expectations. Front. Microbiol. 9. https://doi.org/10.3389/fmicb.2018.01983
-Painter JA, Hoekstra RM, Ayers T, Tauxe RV, Braden CR, Angulo FJ, Griffin PM (2013). Attribution of foodborne illnesses, hospitalizations, and deaths to food commodities by using outbreak data, United States, 1998-2008. Emerg Infect Dis. 19(3):407-15. https://doi.org/10.3201/eid1903.111866
-Richardson LC, Bazaco MC, Parker CC, Dewey-Mattia D, Golden N, Jones K, Klontz K, Travis C, Zablotsky Kufel J, Cole D (2017). An updated scheme for categorizing foods implicated in foodborne disease outbreaks: a tri-agency collaboration. Foodborne Pathog Dis. 14(12):701–710. https://doi.org/10.1089/fpd.2017.2324
-Scallan, E., Hoekstra, R. M., Angulo, F. J., Tauxe, R. V., Widdowson, M., Roy, S. L....Griffin, P. M. (2011). Foodborne Illness Acquired in the United States—Major Pathogens. Emerging Infectious Diseases, 17(1), 7-15. https://doi.org/10.3201/eid1701.p11101.

𝗚𝗼𝗼𝗱 (𝗮𝗰𝗰𝗲𝘀𝘀𝗶𝗯𝗹𝗲) 𝗿𝗲𝗳𝗲𝗿𝗲𝗻𝗰𝗲𝘀:
-https://www.cdc.gov/foodsafety/cdc-and-food-safety.html
-https://tools.cdc.gov/medialibrary/index.aspx#/media/id/304694
-https://www.consumerreports.org/health/food-recalls/risky-recalled-foods-you-should-know-about-a4109713872/
https://www.smithsonianmag.com/science-nature/which-foods-are-most-likely-make-you-sick-180967241/
-https://www.cspinet.org/sites/default/files/media/documents/resource/RiskyMeat_CSPI_2013.pdf
-https://www.vox.com/2015/3/6/8158289/food-poisoning
-https://wwwn.cdc.gov/norsdashboard/
-https://www.popsci.com/salmonella-food-poisoning-greens/

𝗦𝘂𝗽𝗲𝗿-𝗵𝗲𝗹𝗽𝗳𝘂𝗹 𝗲𝘅𝗽𝗲𝗿𝘁𝘀 𝘄𝗵𝗼 𝗰𝗼𝗺𝗺𝘂𝗻𝗶𝗰𝗮𝘁𝗲𝗱 𝘄𝗶𝘁𝗵 𝗺𝗲 𝗮𝗯𝗼𝘂𝘁 𝘁𝗵𝗶𝘀 𝘁𝗼𝗽𝗶𝗰:
-Dr. Alejandro Castillo, Associate Professor of Food Science & Technology at Texas A&M University
-Dr. Benjamin Chapman, Department Head and Food Safety Specialist in the Department of Agricultural and Human Sciences at North Carolina State University
-Brian Ronholm, Director of Food Policy at Consumer Reports
-Dr. Donald Schaffner, Extension Specialist in Food Science and Distinguished Professor at Rutgers University
-Dr. Abby Snyder, Associate Professor of Food Science at Cornell University

MinuteFood is created by Kate Yoshida, Arcadi Garcia & Leonardo Souza, and produced by Neptune Studios LLC.

Merch | https://store.dftba.com/collections/minutefood
TikTok | https://tiktok.com/@minutefood_
Twitter | https://twitter.com/minutefood
Instagram | https://instagram.com/minutefood_
Facebook | https://facebook.com/minutefood' -metadata 'purl=https://www.youtube.com/watch?v=XyUvTO-zNt0' -metadata 'comment=https://www.youtube.com/watch?v=XyUvTO-zNt0' -metadata artist=MinuteFood -metadata:s:1 language=eng -movflags +faststart 'file:This changed the way I think about vegetables [XyUvTO-zNt0].temp.mkv'
[debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json 'file:This changed the way I think about vegetables [XyUvTO-zNt0].mkv'
[EmbedThumbnail] ffmpeg: Adding thumbnail to "This changed the way I think about vegetables [XyUvTO-zNt0].mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:This changed the way I think about vegetables [XyUvTO-zNt0].mkv' -map 0 -dn -ignore_unknown -c copy -attach 'file:This changed the way I think about vegetables [XyUvTO-zNt0].webp' -metadata:s:4 mimetype=image/webp -metadata:s:4 filename=cover.webp -movflags +faststart 'file:This changed the way I think about vegetables [XyUvTO-zNt0].temp.mkv'

The video file was a size of 105322631 bytes or 101MiB. This indicates that the format is 614 (low bit rate) instead of 616 as reported by yt-dlp (see below in details)

No. The ~ means estimated. yt-dlp does not know the actual filesize before it is downloaded. Instead, the filesize is estimated based on the bitrate info YouTube provides. This is the max bitrate, which can lead to widely inaccurate size estimates.

@seproDev The video file was a size of 105322631 bytes or 101MiB. This indicates that the format is 614 (low bit rate) instead of 616 as reported by yt-dlp (see below in details). So premium video file is not downloaded.

Please read my comment

Previously I used to do like this: -S "vcodec:av1,res:1440", but this would download av1 video of lower resolution (like 720p) if higher resolution (e.g. 1080) is not in av1 but only in h.264 (especially for old popular youtube video).
How to prioritize resolution first and then codec? For example I would like to download with following decreasing priority:

prefer 1440p av1
prefer 1440p vp9  if 1440p and higher resolution av1 is not available
prefer 1440p h.264  if 1440 vp9 and av1 is not available
prefer 1080p av1
prefer 1080p vp9  if 1080p and higher resolution av1 is not available
prefer 1080p h.264  if 1080p and higher resolution vp9 and av1 is not available

-S "res:1440,vcodec:av1"


Add Tcell implementation for terminal backend

Adds the option to use https://github.com/gdamore/tcell as the terminal screen. This PR also addresses #223, being that tcell enables proper rendering on Windows devices (including Windows Terminal).
Works on #100.

@googlebot I signed it!

Pull Request Test Coverage Report for Build 1495

83 of 216 (38.43%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.4%) to 91.315%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terminal/tcell/event.go
80
81
98.77%

terminal/tcell/cell_options.go
3
33
9.09%

terminal/tcell/tcell.go
0
102
0.0%

Totals

Change from base Build 1218:
-1.4%

Covered Lines:
7581

Relevant Lines:
8302

💛  - Coveralls

The mouse button change has been implemented. All that's left is to change the CHANGELOG, and code coverage. But I'm not exactly sure what code coverage is complaining about (I've already added tests for the private helper functions for cell_options.go).

We don't need to worry about the code coverage warning. Some part of the added code contains tcell functions that cannot be easily tested, since tcell doesn't seem to have convenient fakes. I think at this point you have done all that can be done for code coverage on this PR, so we can just ignore that warning when merging.
I will review your latest commits shortly and we can move forward.

Hmm, I think this issue is due to how tcell defines its colours. If I recall correctly and referring to https://jonasjacek.github.io/colors/ , the "8 system colours" which we define in color.go are the following:
// The supported terminal colors.
const (
	ColorDefault Color = iota

	// 8 "system" colors.
	ColorBlack
	ColorRed
	ColorGreen
	ColorYellow
	ColorBlue
	ColorMagenta
	ColorCyan
	ColorWhite
)

When using any of the specified colours above and in 256 color mode... ignoring ColorDefault, since we subtract 1 from the specified termdash cell.Color to convert to tcell color:
// cellColor converts termdash cell color to the tcell format.
func cellColor(c cell.Color) tcell.Color {
	return tcell.Color(c&0x1ff) - 1
}

The "8 system colours" simply map to xterm-colors 0-7 directly, which are the "dark variants" of the main 8 system colours, whereas termbox uses 8-15 hence the brighter variants of the main 8 system colours.

I'm not exactly sure what's the best way to go about fixing this... Since when we pass in a cell.Color in 256 color mode, tcell supports all the 256 colours defined by xterm-256, and it's very easy to convert directly from cell.Color to tcell.Color with just an off-by-one subtraction.

Thank you very much for explaining the behavior. I agree with you that we should not prevent the user from selecting all the colors (0-7, 8-15, ...). Now that we understand why this happens, I think we can proceed with this PR as is.
We could file an issue to track the color difference and solve it by defining a new ColorMode, something like "Termbox Compatible" mode. When this mode is selected and tcell is used as the terminal driver, we would translate between 0-7 and 8-15 in a way that would match termbox. Do you think this solution would work?
As mentioned we can and probably should address this outside of this PR to keep it focused. Please let me know what you think.

That sounds good to me! Let's defer the colour differences for a future PR then, and document the gotchas in the wiki.

Turns out this was a red herring. The color differences were due to my local terminal profile. Both termbox and tcell produce exactly the same output on a vanilla terminal.


Meta Bind is better

Y'all should use this new Meta Bind plugin. It has slick Buttons!
https://github.com/mProjectsCode/obsidian-meta-bind-plugin

Does this mean that this project is no longer going to be supported?
Recently adopted this and I enjoy how easy it was to understand and start using in my work notes. While they may boast more features and include buttons, after working with theirs I do not want to switch.

I agree with Sackary, just the fact that Meta Bind doesn't support dynamic button naming conventions such as automatically pulling the date makes it less enjoyable to use. But at the same time I've been having issues with Buttons not working

I can't get Meta Bind to work to create a new note with templater

I'm new to Obsidian and to Buttons.
Right now, I'd really like to put 2 actions in a button, e.g.,
name MyButton
type command
action Search: Search in all files
type link
action file://C:/Program Files/Scrivener3/Scrivener.exe

Is that fairly doable with Buttons? (If so, I could learn the plugin code and do it if it.)
Or, can Meta Bind already do that?
Also, what would be cool is to pass search parameters to action Search...
Thanks,
David Alm


Schduler not running when using SequentialExecutor.

Hi,
Every time I run airflow using SequentialExecutor, my dag files are empty and there is a message that says: 'The scheduler does not appear to be running.
The DAGs list may not update, and new tasks will not be scheduled.'
Any idea why is this happening?
When I run airflow with LocalExecutor the scheduler works automatically, but there is no way to save files in the dag folder because it lives in usr/local/airflow/dags which I don't know where that is.
Any help to clarify this?

I'm having the same issue. I'm new to both Airflow and Docker. I was able to confirm that /usr/local/airflow/dags does not exist by doing the following:

Get the id of the docker container by running docker ps

Then connect to the container in bash by running docker exec -it <container id> bash
Then list the directory to see what's in it with ls -al /usr/local/airflow

I'm not sure if that's the clarification you're requesting or if you already know all that and it's redundant.

+1 on this issue

+1 on this issue

Hi,
Could you list the command you used to start airflow? Are you using the provided docker-compose files ?
I'm guessing you have two distinct problems here.
Using the LocalExectuor (and will run into the same problem with other modes), you need a bind mount.
If you look at the docker-compose files, you will see :+1:
volumes:             - ./dags:/usr/local/airflow/dags
This mounts your local 'dags' folder, from your current workdir, to /usr/local/airflow/dags, in the running container.
Any luck this works for you ?

Is this solved by this PR?
https://github.com/puckel/docker-airflow/pull/359

Hi,
It solves my issue of finding my dags folder. But Scheduler doesnt run with SequentialExecutor

i have the same problem,
"The scheduler does not appear to be running. Last heartbeat was received 54 minutes ago.The DAGs list may not update, and new tasks will not be scheduled."
are you solved it?

Although PR #359 looks to have solved the issue, the fix is not a part of a tagged release yet. The fix doesn't exist in the most recent tagged release which is version 1.10.4.
What I did in the interim is created a Dockerfile as below:
# Upstream: https://github.com/puckel/docker-airflow/blob/1.10.4/Dockerfile
FROM puckel/docker-airflow:1.10.4

# For SequentialExecutor, apply relevant subset of https://github.com/puckel/docker-airflow/pull/359/files for airflow scheduler to run:
USER root
RUN sed -i 's/LocalExecutor/SequentialExecutor/' /entrypoint.sh
USER airflow

ENV EXECUTOR Sequential
HEALTHCHECK CMD "[ -f /usr/local/airflow/airflow-webserver.pid ]"

I then use the image created using this Dockerfile in my docker-compose.yml. The middle section of the above Dockerfile can presumably be removed after updating to 1.10.5.

Although PR #359 looks to have solved the issue, the fix is not a part of a tagged release yet. The fix doesn't exist in the most recent tagged release which is version 1.10.4.
What I did in the interim is created a Dockerfile as below:
# Upstream: https://github.com/puckel/docker-airflow/blob/1.10.4/Dockerfile
FROM puckel/docker-airflow:1.10.4

# For SequentialExecutor, apply relevant subset of https://github.com/puckel/docker-airflow/pull/359/files for airflow scheduler to run:
USER root
RUN sed -i 's/LocalExecutor/SequentialExecutor/' /entrypoint.sh
USER airflow

ENV EXECUTOR Sequential
HEALTHCHECK CMD "[ -f /usr/local/airflow/airflow-webserver.pid ]"

I then use the image created using this Dockerfile in my docker-compose.yml. The middle section of the above Dockerfile can presumably be removed after updating to 1.10.5.

Hi, would u mind to share the docker-compose.yml? It looks like I did something wrong.
Here are my Dockerfile and docker-compose.yml
# Upstream: https://github.com/puckel/docker-airflow/blob/1.10.4/Dockerfile
FROM puckel/docker-airflow:1.10.4

# For SequentialExecutor, apply relevant subset of https://github.com/puckel/docker-airflow/pull/359/files for airflow scheduler to run:
USER root
RUN sed -i 's/LocalExecutor/SequentialExecutor/' /entrypoint.sh
USER airflow

ENV EXECUTOR Sequential
HEALTHCHECK CMD "[ -f /usr/local/airflow/airflow-webserver.pid ]"

version: '3'
services:
    postgres:
        image: postgres:9.6
        environment:
            - POSTGRES_USER=airflow
            - POSTGRES_PASSWORD=airflow
            - POSTGRES_DB=airflow

    webserver:
        build:
            dockerfile: Dockerfile
        restart: always
        depends_on:
            - postgres
        environment:
            - LOAD_EX=n
            - EXECUTOR=Local
            - FERNET_KEY=1PBwo32ccOspd6wpAkXkdU-YhPvIuc5qWqbdm4qr-Nk=
        volumes:
            - ./dags:/usr/local/airflow/dags
            # Uncomment to include custom plugins
            # - ./plugins:/usr/local/airflow/plugins
        ports:
            - "8080:8080"
        command: webserver
        healthcheck:
            test: ["CMD-SHELL", "[ -f /usr/local/airflow/airflow-webserver.pid ]"]
            interval: 30s
            timeout: 30s
            retries: 3

I had the same message about it not running although the scheduler was actually triggering DAGs.
It could be as simple as the start_date being too recent? The DAG needs a full interval after start date to start running. Some sample DAGs have the following start date:
'start_date': airflow.utils.dates.days_ago(0)
This won't allow tasks to run from the scheduler (for me anyway). Changing the start_date to a static datetime (two days ago if it's a daily schedule) solved it for me:
'start_date': datetime(2019, 12, 20)

yes, simply you need to make your DAGs run once.
i.e. if you schedule hourly DAG, you need to set it two hours before
if you schedule weekly DAG, you need to set it two weeks before
so does for daily, you need to set it two days before.


Example is missing the config file

Docoumentation refers the user to example.sh:
api-linter check --cfg ./example_config.json example_bad_naming.proto

However I could not find the example_config.json file.  Did I just completely miss it?  Maybe it was not checked in?

I think I deleted it accidentally -- I will add it back -- right now, you can remove the --cfg flag. Thanks!


⚠ T:Riza Roblox Proxy has degraded performance

In ea5a7a2, T:Riza Roblox Proxy (https://rprxy.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 1372 ms

Resolved: T:Riza Roblox Proxy performance has improved in 7e6ee61.


Initial YUV and external memory support

CC: @AustinJ235 @Eliah-Lakhin @rukai

Forgot the tasklish:

[x] Added an entry to CHANGELOG_VULKANO.md or CHANGELOG_VK_SYS.md if knowledge of this change could be valuable to users
[ ] Updated documentation to reflect any user-facing changes - in this repository
[ ] Updated documentation to reflect any user-facing changes - PR to the guide that fixes existing documentation invalidated by this PR
[x] Ran cargo fmt on the changes

Also, I'm a bit unsure the best way to chain together (3-4) structure types.  If there's a better way, please do let me know.

Forgot the tasklish:

[x] Added an entry to CHANGELOG_VULKANO.md or CHANGELOG_VK_SYS.md if knowledge of this change could be valuable to users
[ ] Updated documentation to reflect any user-facing changes - in this repository
[ ] Updated documentation to reflect any user-facing changes - PR to the guide that fixes existing documentation invalidated by this PR
[x] Ran cargo fmt on the changes

Also, I'm a bit unsure the best way to chain together (3-4) structure types.  If there's a better way, please do let me know.

@gurchetansingh Thank you very much for your contribution!
The code looks good, I'm happy to proceed with merging. But can you please also add a line to CHANGELOG_VK_SYS since there are changes in vk-sys subproject?

@gurchetansingh Thank you very much for your contribution!
The code looks good, I'm happy to proceed with merging. But can you please also add a line to CHANGELOG_VK_SYS since there are changes in vk-sys subproject?

@Eliah-Lakhin thank you for reviewing!  I have updated the MR to add more detail to CHANGELOG_VK_SYS.

@Eliah-Lakhin thank you for reviewing!  I have updated the MR to add more detail to CHANGELOG_VK_SYS.

@gurchetansingh Pull Request is merged! :)

@gurchetansingh Pull Request is merged! :)

Thank you so much @gurchetansingh for your work on this! I have been wishing for a while to see external memory being supported by vulkano!

Import support will be added later. Support for external buffers and images can also be added later if someone needs it.

This is something that would be awesome to have. To be more specific, the use-case I'm after is to ask wlroots-based compositor to capture a frame of the entire screen by exporting DMA-BUF and then import this DMA-BUF into a Vulkan image (using ImportMemoryFdInfoKHR).
I was just curious if you were planning to implement import as well? I would be happy to help out with testing 🙂

Hi @maximbaz!

Thank you so much @gurchetansingh for your work on this! I have been wishing for a while to see external memory being supported by vulkano!

Glad you like it and happy to do my part!  I've always felt Vulkano is a terrific crate and just needs a little TLC from it's users, now the legendary tomaka doesn't have the cycles to work on it anymore.  With a bit of auto-generation, magic is possible!

I was just curious if you were planning to implement import as well? I would be happy to help out with testing 🙂.

Yes, already working on that!  Help testing would be terrific!  I'll CC you on the next MR hopefully sometime next week.
Another thing I'd love to see in Vulkano is VK_EXT_image_drm_format_modifier support.  Check out the Mesa MR:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1466
If you're interested in compositors as I am, then maybe you could start adding support for that one 😉.

Ooh yes I'm following that MR for quite a while as well, had to disable DRM modifiers in my compositor so that I could get to play with my project at least somehow! Do I understand correctly that we have to wait until that MR is landed before we could even try to add this for Vulkano?
In any case I agree that supporting DRM format modifiers would be awesome to have, not sure if I will be able to make a meaningful code contribution, but at the very least I will be willing to help with some testing - lets see!
And thanks, looking forward to see your next MR! 🚀

Do I understand correctly that we have to wait until that MR is landed before we could even try to add this for Vulkano?

Well, it is apart of the Vulkan spec and Vulkano doesn't necessarily require an open-source implementation.  I think you should be able to build that MR and test via Vulkano cargo/unit tests.

In any case I agree that supporting DRM format modifiers would be awesome to have, not sure if I will be able to make a meaningful code contribution.

If you have the cycles, I think you'll be able to figure it out ... with patience, friendship and teamwork anything is possible 🚀🚀🙂


Not able to download modules from private hosting

My terraform structure  is ->

.github/workflowfiles
infra/env/teama/storage.tf
modules/storage/main.tf
...................................
Modules are hosted at private registry .Now the issue is when resource defined in teama folder calls the modules , infracost gives out an error saying module path not found.
Error: Error loading Terraform modules: error downloading 'file:///home/runner/work/infra-cost-test/infra-cost-test/infrastructure/env/teama/.infracost/terraform_modules/teama.storage/terraform.hosting.company.com/company/storage/azurerm': source path error: (path omitted )
Error: Process completed with exit code 1.
Can someone helps by telling how to use it with private path please?

Hey @samarth3112 thanks for raising this issue, the current version of Infracost 0.10.6 doesn't support private registry modules. See this issue https://github.com/infracost/infracost/issues/1667 on the main CLI repository for more information. We've made a change to fix this, and it's currently sitting in master. It will be published with the upcoming 0.10.7 release. We're aiming to release 0.10.7 today, so this should hopefully resolve your issue. I'll ping you here when the release is published and good to use in GitHub actions.

@samarth3112 v0.10.7 is live, you're probably already using infracost/actions/setup@v2 which automatically installs the latest patch version of 0.10, so can you please re-run the action and let us know if that works?
If your registry modules are private, you can read this new docs section that explains what is needed (notice the commented-out INFRACOST_TERRAFORM_CLOUD_TOKEN in the README in https://github.com/infracost/actions).

Going to close this but feel free to add a comment if it's still having issues

Sry for late reply .The call to pvt modules is failing.
Error: Error loading Terraform modules: error looking up registry module teamapostgresdb.postgresql_database: Module versions endpoint returned status code 401
Error: Process completed with exit code 1.

@alikhajeh1  : i am also  trying to work my way using plan but somehow terraform show is not working with wrapper we have. Is there a way to directly covert hcl file to json , or can directly accept hcl

hey @samarth3112,

Sry for late reply .The call to pvt modules is failing.note we are not using ent terrform but open source one.

Error: Error loading Terraform modules: error looking up registry module teamapostgresdb.postgresql_database: Module versions endpoint returned status code 401
Error: Process completed with exit code 1.

Sorry, I'm a little confused. So the module is open source but private? So is this something that your organisation hosts on GitHub?
If possible, could you post the source attribute of this module please?
Could you rerun infracost breakdown in the problem project, using the --log-level=debug flag, and post the output here

i am also trying to work my way using plan but somehow terraform show is not working with wrapper we have. Is there a way to directly covert hcl file to json , or can directly accept hcl

Again, I think I'm a little confused by what you're asking? Is the:terraform plan -out tfplan.binary
terraform show -json tfplan.binary > plan.json

failing? And if so with what message?
There are ways to covert HCL files to JSON, but if you want a Terraform plan JSON there isn't a way outside of, using the default infracost breakdown method, which I believe is failing for you because of private modules, or using the terraform show method.

Sorry, I'm a little confused. So the module is open source but private? So is this something that your organisation hosts on GitHub?  Answer : Modules is not open source hosted on org registry .eg hosting.myorg.in . By open source i mean terrafrom cloud is not been used.
Could you rerun infracost breakdown in the problem project, using the --log-level=debug flag, and post the output here. Shall Do ..
Crux of issue is ,
The json file is not able to be parsed from hlc

orgcli -boilerplate -auth_resource 'https://org.hosting.xyz.com/' -api_backend 'https://org.hosting.xyz.com/api' terraform show -json tfplan.binary > plan.json. (Here it fails)

@samarth3112 what does it fail with?

name: terraform cost
run: |
ls
pwd
cat plan.json
infracost breakdown --path /home/runner/work/poc-design/plan.json --format=json  --out-file=/tmp/infracost-base.json
Github .
i tired nearly every way and even cat that .json file , its showing fully its there but infracost breakdown is not able to see that . its weird indeed !

@samarth3112  could you try with
run: |
    infracost breakdown --path plan.json --format=json --out-file=/tmp/infracost-base.json

Error: No valid Terraform files found at the given path, try a different directory .Its still the same

Yes its a json perfect as above . i copied the contents from cat outpust and tested locally on terminal . Its able to give cost .But issue on github worker.

Does it req any env to be set . As on this step there is no env defined ?

Yes plan is computed in a different step .I tried ll and in /tmp
Run ls -l /tmp
total 64
prwx------ 1 runner   docker       0 Jul 20 15:15 clr-debug-pipe-1740-5283-in
prwx------ 1 runner   docker       0 Jul 20 15:15 clr-debug-pipe-1740-5283-out
prwx------ 1 runner   docker       0 Jul 20 15:15 clr-debug-pipe-1759-5826-in
prwx------ 1 runner   docker       0 Jul 20 15:15 clr-debug-pipe-1759-5826-out
check_suite_focus=true#step:9:17) plan1.json

{"format_version":"0.2","terraform_version":"1.0.11","variables":{"account_replication_type":{"value":"LRS"},"

terraform_cost_final:
env:
working-directory: .
needs:  terraform_json_convert
runs-on: ubuntu-latest
name: Terraform cost real
steps:

-
  name: Setup Infracost
  uses: infracost/actions/setup@v2
  with:
      api-key: ${{ secrets.INFRACOST_API_KEY }}

-
  name: download terraform json file
  uses: actions/download-artifact@v2
  with:
    name: upload_json_plan
    path: ${{ env.working-directory }}

- name: Run infracost
  run: |
     ls -l
     pwd
     echo $HOME

     infracost breakdown --path plan1.json --format json --out-file /tmp/infracost.json
  working-directory: ${{ env.working-directory }}

This also is not working .

hey @samarth3112, this is very bizarre. I've built you a special binary which includes some better debugging support so that we can get to the bottom of this. You'll need to manually download this binary into the "Run infracost" step, something like this should work:
curl -o infracost-build https://infracost-public-dumps.s3.amazonaws.com/builds/2107/infracost-linux-amd64
chmod +x ./infracost-build
./infracost-build breakdown --path plan1.json --format json --out-file /tmp/infracost.json --log-level debug

Then if you could post the debug logs here, that would be great, I'm looking for lines that are called from the func isTerraformPlanJSON. Thanks

Note i've only built linux binaries for this build, as I assume you're using a linux action runner, but if you need another OS let me know

So finally able to resolve it . By our cli in the created json , two extra lines were getting added . Trimmed it using sed and then it was able to process it .
Thanks for your active support

@tim775 did something similar to this happen with the plan.json files that the hashicorp/setup-terraform@v2 GitHub Action was generating? Is that why we added the terraform_wrapper: false when users were using that action? I wonder if we should trim the json in the CLI to avoid these issues as they're very tricky to debug...


[Help] sudo failed just after install  google-authenticator-libpam and modify /etc/pam.d/sshd

I read  from someone's article, roughly speaking,  there are 4 steps for installation:

sudo apt-get install libpam-google-authenticator
sudo vim /etc/pam.d/sshd to add:
auth required pam_google_authenticator.so
sudo vim /etc/ssh/sshd_config # no -> yes
ChallengeResponseAuthentication yes
sudo /etc/init.d/ssh restart

I have completed step1 and 2. Then, I can not move to step3. Because I am not able to "sudo" any more. All sudoers on system are all failed to sudo. I am sure all passwords are correct. I have no idea where it goes wrong.
I am appreciating your kindly suggestions.

If step 2 affected your ability to sudo, then either you didn't edit /etc/pam.d/sshd (maybe common-auth?), or something is seriously wrong with your PAM config unrelated to this PAM module.
Too late now, but for the future: While editing PAM configs, always keep a root shell open as a fallback.
If you have the root password maybe you can run su. If not, then regaining root is more of a Linux support question than about this PAM module.

I am lucky, that I solved this problem by:

a user A can login with ssh-key.
A login and runs the google-authenticator binary, then scans the QRcode with the Google Authenticator app to add new item to app.
A calls "sudo ls" and gives the verification code. Like a charm, it works.
A runs vi /etc/pam.d/sshd,  adding "nullok" to let it be "auth required pam_google_authenticator.so nullok".

Well, what I learned is that, on my server (OS:Debian GNU/Linux 10 (buster)). This command: "sudo apt-get install libpam-google-authenticator" simply enables this feature in one step.

Uh, that doesn't sound right. I run Debian and I've never encountered this. Can you grep /etc/pam.d/* for google?


unpack_nested_data is slower than tidyr::unnest

From what I can see, unpack_nest_data is an order of magnitude slower than tidyr::unnest.
library(tidyverse)
library(microbenchmark)
library(uptasticsearch)
library(data.table)

n <- 1000

nested_df <-
  tibble(
    x = 1:n,
    y = rep(list(c("a", "b", "c")), n)
  )

nested_dt <- as.data.table(nested_df)

microbenchmark(
  unnest(nested_dt),
  unnest(nested_df),
  unpack_nested_data(nested_dt, col_to_unpack = "y"),
  times = 100
)

Since unpack_nested_data has the same functionality as tidyr::unnest but is limited to data.table and unnesting one column, it should be faster than tidyr::unnest in those cases.
Most of the computational cost is in the line lapply(listDT, data.table::as.data.table). I wrote a version of the function which uses the basic idea of tidyr::unnest without the nonstandard evaulation and without the dplyr verbs (but still with purrr since that's already an imported package).
unpack_nested_data <- function(chomped_df, col_to_unpack)  {

    if (!("data.table" %in% class(chomped_df))) {
        msg <- "For unpack_nested_data, chomped_df must be a data.table"
        futile.logger::flog.fatal(msg)
        stop(msg)
    }
    if (".id" %in% names(chomped_df)) {
        msg <- "For unpack_nested_data, chomped_df cannot have a column named '.id'"
        futile.logger::flog.fatal(msg)
        stop(msg)
    }
    if (!("character" %in% class(col_to_unpack)) || length(col_to_unpack) !=
        1) {
        msg <- "For unpack_nested_data, col_to_unpack must be a character of length 1"
        futile.logger::flog.fatal(msg)
        stop(msg)
    }
    if (!(col_to_unpack %in% names(chomped_df))) {
        msg <- "For unpack_nested_data, col_to_unpack must be one of the column names"
        futile.logger::flog.fatal(msg)
        stop(msg)
    }

    outDT <- data.table::copy(chomped_df)
    listDT <- outDT[[col_to_unpack]]

    is_df <- purrr::map_lgl(listDT, is.data.frame)
    is_atomic <- purrr::map_lgl(listDT, purrr::is_atomic)
    if (all(is_df)) {
        newDT <- data.table::rbindlist(listDT, fill = TRUE)
    } else if (all(is_atomic)) {
        newDT <- as.data.table(unlist(listDT))
    } else {
        msg <- "For unpack_nested_data, col_to_unpack must be all atomic vectors or all data frames"
        futile.logger::flog.fatal(msg)
        stop(msg)
    }

    if (nrow(newDT) == 0) {
        msg <- "The column given to unpack_nested_data had no data in it."
        futile.logger::flog.fatal(msg)
        stop(msg)
    }

    group_vars <- setdiff(names(chomped_df), c(names(newDT), col_to_unpack))
    n <- purrr::map_int(listDT, NROW)
    rest <- chomped_df[rep(1:nrow(chomped_df), n), ..group_vars, drop = FALSE]
    outDT <- data.table::data.table(newDT, rest)
    if ("V1" %in% names(outDT)) {
        data.table::setnames(outDT, "V1", col_to_unpack)
    }
    return(outDT)
}

This is about 2.5x faster than tidyr::unnest in the example above. I can submit a pull request if this makes sense. It works but it doesn't match all of the edge cases in the tests yet.

Hi Will,
Thank you for looking at this so thoroughly! I have a few questions about your proposed code changes, but I think the appropriate place to handle that discussion is in a PR.
Can you please PR in your proposed changes to this function? We will discuss there. I'm also curious to see if the new version passes unit tests


fix always true modePerformancePerTestCase

Codecov Report

Merging #135 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
- Coverage   67.68%   67.65%   -0.03%
==========================================
  Files          43       43
  Lines        3763     3763
  Branches      650      650
==========================================
- Hits         2547     2546       -1
  Misses       1003     1003
- Partials      213      214       +1

Impacted Files
Coverage Δ

...dson/plugins/performance/PerformancePublisher.java
85.2% <100%> (ø)
:arrow_up:

...ns/performance/actions/PerformanceBuildAction.java
78.12% <0%> (-3.13%)
:arrow_down:

Continue to review full report at Codecov.

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


Custom Room ID

Hi,
When I open hello demo site, this automatically redirect to random URL. Instead of random URL
I want user to enter custom ROOM ID / URL
Can you please help me with this?

You should get the ROOM-ID from the user somehow and then initiate the code starting from here https://github.com/vasanthv/hello/blob/master/index.html#L78
You could wrap all those lines in a separate function and initiate them when you have the room-id.


Remove dependencies from Hot Chocolate when provided by framework

Product
Hot Chocolate
Is your feature request related to a problem?
I want to reduce the package size & amount of dependencies to reduce surface area for CVE'S.
The solution you'd like
I would like that any dependency that can be provided by the framework ie System.Text.Json the framework is leveraged to reduce dependencies.

Happy to submit this as a PR

Closing this issue as it is an ongoing effort.

@michaelstaib for the packages I identified as being able to be optimised would you accept PR? Happy to turn it around relatively quickly


Help diagnosing gatsby-plugin-image issue using withArtDirection

Bug is related to

[ ] embla-carousel (core package)
[x] embla-carousel-react
[ ] embla-carousel-autoplay
[ ] embla-carousel-docs (documentation website)

Embla Carousel version

v6.0.1

Describe the bug

While I don't think this is an issue with Embla Carousel specifically, I would like to get a better understanding of what's potentially causing this so I can help report it to the gatsby team.
When GatsbyImage component is used with the carousel, it works fine (images load when they enter the view port).
When GatsbyImage is used withArtDirection with the carousel, the images load fine, but then "flicker" every time the carousel is dragged.
The withArtDirection WITHOUT the carousel works fine, e.g. an overflow: scroll container with some of the images out of viewport

CodeSandbox
https://codesandbox.io/s/broken-butterfly-ltxgv
I first noticed this when testing React18 but also reproduced in React17. Here's a minimal repro on a react17 branch:
https://github.com/ardiewen/gatsby-image-react18-repro/tree/react17
Steps to reproduce

Start the minimal repro in develop mode
Go to '/artdirected'
Scroll the images to see the behaviour

Expected behavior

If you go to the artdirection.js and disable the ref and change the overflow to scroll, it behaves as it should (no flickering).

Additional context

The "flickering" DOESN'T appear to be the entire component rerendering, as the placeholders aren't reset, it's almost like the component thinks that there's a media query change happening? perhaps related to the transform animation on drag?

Hi @ardiewen,
I only had 2 minutes to debug and I found this: It seems like the artDirection image is being re-rendered whenever you drag the carousel and release the pointer. You can reproduce this like so:

Open up dev tools.
Toggle open the first slide element in order to reveal its content.
Toggle open the <picture> element in order to show its content.
Drag and release the carousel.
Watch the picture element being removed and added again.

At this point I have no idea why this is happening though.
Best,
David

Hey @davidcetinkaya thanks for your prompt response! I managed to isolate the issue.
I first thought it had to do with the transform animation, but it looks like any re-render of the parent container will cause an art directed image to also rerender, even if it's been loaded.
This is not the case with the regular GatsbyImage. Rerendering parent containers will not cause a child GatsbyImage to rerender once its been loaded.
I'll create an issue on the gatsby repo.

Hi @ardiewen,
Glad to hear that. Let’s hope that they will fix the issue soon. Good luck with everything 👍🏻.
Best,
David


Command 'Android XML Editor Open' resulted in an error

When I press to Android XML Editor: Open
The next error is displayed.

Im also getting this same error...
Re-installing does not help. I really want to switch over from Android Studio to VSCode and this is the only function that I use in android.
I can provide any other info about my vscode environment that could help solve this issue.

I was getting the same error - the extension caches the assets in a directory local to it's installation location (IE in the error message above, the extension is installed at c:\users\annag.vscode\sextensions\totalcross.android-xml-editor-0.0.1) and the directory \media\drawable does not exist. The \media directory exists, but the subdirectory drawable does not. So the extension cannot copy (cache) the assets into this directory (actually, the line that causes the error is when extension.js createOrShow() tries to empty the cached contents.
In any case, the directory should be created if it does not exist, and it is my guess that this error was not noticed by the developers because they have created this directory whilst coding the extension, and had not tried installing it as if they were a new user.
In any case, I suggest creating this directory and trying to run the extension again.
I have a fix for this (actually, I've expanded the extension by allowing the user to configure the assets location via the workspace settings. I have my android workspace root at the root of the project, rather than the /app/ directory, which means that the location src/main/resources/drawable is wrong and it would be better to have this as user configurable instead of hard coded).
Although whether my fix gets into the code, I don't know... I've noticed that there is a current pull request waiting to be merged, that changes the assets location from src/main/resources/drawable to src/main/res/drawable, as the SDK uses res instead of resources for the name. However this is yet to be merged and it leaves me wondering if any of the developers are even active any more?)
Anyway, hope this helps!

I've fixed this. Pull request created, if you know how to apply a patch (or check out github source) you can modify your installation with the new code in the meantime...
https://github.com/Knowcode-AI/android-xml-editor/pull/7
The files you need to change are:

~/.vscode/extensions/totalcross.android-xml-editor-0.0.1/package.json (which adds a setting for Android XML Editor into vscode settings, so you can specify your /res/drawables folder if it is different to src/main/res/drawable)
~/.vscode/extensions/totalcross.android-xml-editor-0.0.1/src/extension.ts (the code to apply the above setting, and it now checks if the cache directory exists before attempting to delete it! The directory won't exist when first installed, which is why @garednavarro gets the above error)

I copied a copy and tested it, but it didn't work.


Monorepo conversion (using bun)

Summary
Since there is a lot of confusion regarding which files belong to docs, and which belong to the UI library, as well as which files are simply for code quality and which not, we should have a split bringing separation of concerns that isolates each app/package into their own namespace, while still allowing the flexibility of re-usage of one another (eg: UI lib being used in docs namespace).
To achieve this, the answer is monorepo.
Structure

[x] apps

[x] storybook
[x] web

[x] packages

[x] cli
[x] ui

Stack
Task runner: Bun
Package manager: Bun
Lint: ESLint
Format: Prettier
Test: Vitest
Changes
Issues
API changes

Summary
Since there is a lot of confusion regarding which files belong to docs, and which belong to the UI library, as well as which files are simply for code quality and which not, we should have a split bringing separation of concerns that isolates each app/package into their own namespace, while still allowing the flexibility of re-usage of one another (eg: UI lib being used in docs namespace).
To achieve this, the answer is monorepo.
Structure
* [x]  apps

  * [x]  storybook
  * [x]  web

* [x]  packages

  * [ ]  cli
  * [x]  ui

Stack
Task runner: Bun Package manager: Bun Lint: ESLint Format: Prettier Test: Vitest
Changes
Issues
API changes

would love to learn more about this monorepo!.

@coderabbitai pause

@coderabbitai resume

This is an amazing PR @SutuSebastian. Good job!


feat(cross-filters): add support for temporal filters

SUMMARY
Add support for time grain based native-filters and cross-filters. The frontend work is done in https://github.com/apache-superset/superset-ui/pull/1281 (this PR can be merged independently of that PR, as it only adds backend support for the feature). Other changes:

Add new TypedDicts for AdhocFilterClause and QueryObjectFilterClause and implement necessary changes where we were previously assuming filters were Dict[str, Any].
Break up to_adhoc function into simple_filter_to_adhoc and form_data_to_adhoc, as the previous implementation was mixing filter objects with form data. Also fix affected tests + remove a mock that is deemed unnecessary.

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up FEATURE_DASHBOARD_NATIVE_FILTERS=true FEATURE_DASHBOARD_CROSS_FILTERS=true

FYI this doesn't work properly with SQLite yet due to the dates being strings. If it's important to add support for SQLite I can add that - otherwise I propose leaving it to a follow-up PR for a rainy day.

🏷 2021.31


support protected default constructor

Currently only public default constructors are supported by Kundera. However, the JPA spec says: "Either public or protected no-arg constructor must exist. Additional constructors are fine". So it be cool, if you also can support this, because one do not always want to provide public default constructors ;)

@zazi
Enabling the support for protected default constructor is targeted for an upcoming patch release in February and will be added in trunk soon.
Chhavi

Fixed with Kundera-2.15.1.


Yi Pro 2K Home - High stream corrupts after two simultaneous connections

Good day!
First, thanks for this great project!
I've had issues with the High stream profile dropping frames (especially important i-frame) when more than one client is connected.
All clients no longer receive I-frames, which doesn't allow the stream to show the entire picture. It only shows a grey screen with partial updates.

I understand that the camera has limited resources, but the current behavior doesn't seem functional, since it may corrupt an existing stream fed to an NVR.
If the camera simply doesn't have enough resource to serve more than one client, I would expect it to refuse additional connections to keep the existing stream healthy.
The Low profile still works fine even after the High profile was corrupted.
Here's the camera's resources while two clients are simultaneously connected:
Mem: 57956K used, 2956K free, 1124K shrd, 192K buff, 4176K cached
CPU: 38.9% usr 15.2% sys  0.0% nic 43.3% idle  0.0% io  0.0% irq  2.4% sirq
Load average: 1.46 1.37 1.31 2/108 16988

Let me know if I can provide any relevant logs to help diagnose the issue.
Thanks!
EDIT: I'm using the latest version 0.3.2.
It could related with Issue #846, but since 0.3.2 did fix the original issue, I thought I would open a separate one.

As you can read here
http://www.live555.com/liveMedia/faq.html#scalability
there is no limit in the code about concurrent connections.
But 1 connection at a time is too little, with my cam I tested 5 connections (high res) without problem with these stats:
Mem: 53384K used, 7528K free, 1148K shrd, 656K buff, 6868K cached
CPU: 31.3% usr 10.8% sys  0.0% nic 57.7% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 1.18 1.16 1.18 3/120 32205

Probably is related to the size of the I-Frame, like the problem fixed in #846.
You should take a log of the RTSP server daemon.
killall wd_rtsp.sh
killall rRTSPServer
rRTSPServer -m y623 -r both -a no -p 554 -d 15

I'm glad to hear that it's supposed to work.
The first time I ran the rRTSPServer, it failed. (Probably not relevant)
Regardless, here's the log of the failure:
Failed start.txt
Here's about 10 seconds worth of log, while two clients are connected:
rRTSPServer_logs.txt
Thanks or this prompt response!

The first time I ran the rRTSPServer, it failed. (Probably not relevant) Regardless, here's the log of the failure: Failed start.txt

This behavior is normal: you killed the daemon while a client connection was running.
You have to wait for the system to free up network resources.

Here's about 10 seconds worth of log, while two clients are connected: rRTSPServer_logs.txt

EDIT: Looking at the logs, I would guess it broke around '1716993824219'. Where start - fMaxSize 393216 - fLimitNumBytesToStream 0 - fPreferredFrameSize 0 started to show.

This line is when the daemon starts to deliver frames, so it's not a problem.
In the previous lines, the daemon was running but no clients was connected yet.
There is only a problem between lines<PHONE_NUMBER>570 and<PHONE_NUMBER>758: there are 23 lost frames after an I-Frame.
The lost frames are related to the delivery phase, there are no errors in the capture phase.
I don't know why. It could be a buffer problem (the size of the buffer is 393216 bytes) or a performance issue.
The peculiarity of this model is that I-Frames are very big. In the models I own these are about 150 KB.

I'm sorry, I've been busy for a long while.
Is there anything I can do to help determine the root cause?
It's not exactly essential to my surveillance network, but it would be nice to improve its stability.

Please, try this beta:
https://github.com/user-attachments/files/17078115/y623_0.3.2.tgz

I upgraded using these steps.
The upgrade went fine, but ONVIF and RTSP credentials no longer works.
HTTP access still works.
I tried removing the password entirely and rebooted the camera, but I still get Unauthorized response.

I would like to make a correction, hadn't removed the credentials entire, only the password and left the user. (Still didn't work)
I tried a fresh install and I had a different result.
I'm now authorized to access ONVIF service, but the rtsp server isn't started.
I tried all RTSP server program options, but always reverts to the standard one.
I set credentials again so that I can access SSH, but at that point I started getting Unautorized again just like after I did a manual upgrade.
rRTSPServer Logs:
1726877833165: the size of the buffer is 917872
1726877833166: capture - mapping file fshare_frame_buf, size 917872, to b6cf3000
1726877833167: capture - closing the file fshare_frame_buf
1726877833168: capture - frame header size = 28
1726877833169: capture - starting capture main loop
1726877833170: capture - buf_idx_end == buf_idx_end_prev
1726877833181: capture - buf_idx_end == buf_idx_end_prev
1726877833191: capture - buf_idx_end == buf_idx_end_prev
1726877833201: capture - buf_idx_end == buf_idx_end_prev
1726877833211: capture - buf_idx_end == buf_idx_end_prev
1726877833221: capture - buf_idx_end == buf_idx_end_prev
1726877833231: capture - buf_idx_end == buf_idx_end_prev
1726877833242: capture - buf_idx_end == buf_idx_end_prev
1726877833252: capture - buf_idx_end == buf_idx_end_prev
1726877833262: capture - buf_idx_end == buf_idx_end_prev

Same errorSame problem described here:
https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/909
I'm trying to fix it.

Thanks!
Looking forward to it!
No rush on my account. I'm just happy that it's being worked on.

I tried the latest firmware 0.3.3 and there's some good and some bad news.
The good news is that the original issue seems resolved!!
My camera now supports more than one simultaneous HIGH streams.
Although there seems to be a considerable amount of ghosting happening even with a single client but its tolerable. (Previous picture details are still slightly visible after the picture changed)
Only the standard live555 actually works.
The bad news is that some other functionalities broke.
ONVIF Authentication didn't work after a manual upgrade, but was fixed with a factory reset.
SSH access is always denied.
Camera snapshots aren't loading. When I tried the snapshot URLs in the browser, I get the following:
The image “http://xxxx/cgi-bin/snapshot.sh?res=high&watermark=yes” cannot be displayed, because it contains errors.
I also noticed that the screenshot is actually working for a very short period of time after booting.
I would like to provide additional details, but I'm not sure how without SSH access.
Thanks!!

Probably something was wrong in the update procedure.
I tested the hack with several cams (including a y623) and it worked properly.
Please, format again the sd card and try to install 0.3.3 from scratch.

Good news is that the snapshots works now and we can throw the ONVIF authentication issue under a failed upgrade as well.
Unfortunately, SSH and FTP still give me authentication failed errors.
For the purpose of testing, I'm using the same password as HTTPD which works fine.

Omg I just had to use "root" as that user.
I'm an imbecile.
Sorry about that!
I think we can close this! (Victory!!)
I will open something new if I encounter something else.
Thanks for your help!!


Feature request - Toast improvements

Feature request

I would love to have a different view for toast that have a long text (like 2 lines) and have an action button > If an action is long, it can be displayed on a third line.

Maybe we could add an icon like:

I copied these from the material guidelines:
https://material.io/design/components/snackbars.html#anatomy

Or this is maybe a new components "Snackbar" ?

The feature would still be pretty neat.. please dont flag this as stale 🗡

I’m not implementing this and I don’t see anyone else doing it either.


Remove example apps

Motivation
Removing example applications (they will be still available in the previous tag).
This is aligned with decision made on the list to use separate repositories with templates for cordova and react.

Follow up work with documentation will be done as separate PR.


//test/integration/... requires compiling all extensions

I have noticed that when testing //test/integration/... it compiles all extensions. I think this is probably because there is some server test in there that also compiles all extensions, but I'm not sure.
Optimally, we should be able to run these tests without having to compile any extra extensions beyond potentially core ones like router, HCM, etc. This is useful on platforms that won't support all extensions.
cc @junr03

The only test that needs to compile all extensions is //test/integration:run_envoy_test. This test seems to test that envoy process fails with bogus command line parameters. This should work with envoy without any extensions at all, I think. Unless I'm missing something the solution is to create another target that builds the server without any extensions.
$ bazel query "rdeps(//test/integration/..., //source/exe:envoy-static)"
//test/integration:run_envoy_test
//source/exe:envoy-static
Loading: 0 packages loaded
$

@yanavlasov I think there are a couple of others like the hot restart test that use the full binary. But yeah, the solution is to build the binary twice, one the real version and one the light version. Note that @jmarantz already has a custom binary going for the hot restart test.


Wrong offset in submesh triangles indices

Hi,
I tried to build a renderable from multiple meshes. One by one each meshes is well displayed but if i try to create a new renderable using them as submeshes it's not working well.
The material of the last (and with the greater number of vertices) submesh is applied to the whole renderable. Changing other materials do not change the renderable aspect.
Plus there is some triangles which are missing (the last ones).
The vertices list is a concatenation of each parts vertices in a a specific order.
Each submesh is added in the same order as for the vertices and its triangle indices are changed accordingly.
It seems to me that the triangle indices offset must be wrong since it feels like each submesh is drawn from a common indices buffer but each draw start from the first element of that buffer. That would explain the missing lasts triangles and the common material (since the last and biggest submesh overwrite the previous triangles).

Thanks for the report. Was this from loading a .sfb file or from using RenderableDefinition?

It is using RenderableDefinition, i have several arrays of vertices and the corresponding indices.
The code looks like that :
//First I create a global vertices buffer and specific indices buffer(for each submesh)
ArrayList<RenderableDefinition.Submesh> meshes = new ArrayList<>();
RenderableDefinition.Submesh[] modelSub = new
RenderableDefinition.Submesh[mtlObjs.size()];
RenderableDefinition[] rendDef = new RenderableDefinition[1];
ArrayList<Integer>[] indicesList= new ArrayList[mtlObjs.size()];
int k = 0;
int count = 0;
Obj rendO = null;
for (Obj o : mtlObjs.values()){

     rendO = ObjUtils.convertToRenderable(o);

      float[] vertices0 = ObjData.getVerticesArray(rendO);
      float[] normals0 = ObjData.getNormalsArray(rendO);
      FloatBuffer texCoords = ObjData.getTexCoords(rendO, 2);

       for (int l = 0; l < vertices0.length; l+=3){
             Vertex v = Vertex.builder().setPosition(new Vector3(vertices0[l], vertices0[l+1], vertices0[l+2])).setNormal(new Vector3(normals0[l], normals0[l+1], normals0[l+2])).build();
              verticesA.add(v);

        }

         int[] indicesO = ObjData.getFaceVertexIndicesArray(rendO);

         indicesList[k] = new ArrayList<>();

         for (int j = 0; j < indicesO.length; j++){
               indicesList[k].add((indicesO[j]+count));
          }
          //Updating id to get the geometry right
          count = verticesA.size();

          k++;
}

//then I create the renderable
Consumer<? super Material> action = (Consumer<Material>) material -> {
      for(int i = 0; i < mtlObjs.size()-1; i++){
          modelSub[i] = RenderableDefinition.Submesh.builder().setName("Model" + i).setTriangleIndices(indicesList[i]).setMaterial(material.makeCopy()).build();
          meshes.add(modelSub[i]);
       }
};

Consumer<? super Void> action2 = (Consumer<Void>) aVoid -> {
       rendDef[0] = RenderableDefinition.builder().setSubmeshes(meshes).setVertices(verticesA).build();
       try{
            ModelRenderable.builder()
              .setSource(rendDef[0])
              .build()
               .thenAccept(renderable ->{ models[2] = renderable;
                   })
                   .exceptionally(
                         throwable -> {
                              Toast toast =
                                   Toast.makeText(context, "Unable to load obj", Toast.LENGTH_LONG);
                                        toast.setGravity(Gravity.CENTER, 0, 0);
                                        toast.show();
                                        return null;
                                    });
        }catch (Exception e){
            e.printStackTrace();
        }
   };

MaterialFactory.makeOpaqueWithColor(context, new Color(0.5f, 0.3f, 0f, 0.8f)).thenAccept(action).thenAccept(action2);

Thanks for the additional information! I've reproduced the bug, it will be fixed in an upcoming release.

As a workaround until the fix is released, you can also deal with this by offsetting the indices in the indicesList by the sum of the length of all the indices list in previous submeshes.


Remove navbar while keep transparent topbar.

What would it take to create a custom fullscreen display, like show transparent top bar and hide navbar entirely? To make it similar to what iOS has in 7+ versions: overlaying status bar with color provided by application and without navigation buttons.

It should be possible to customise the UI visibility options to display the application under the status bar with the navigation bar hidden, but having a transparent status bar might be more complicated as it would most likely require a style resource and possibly changes to the manifest. You might be able to achieve the same outcome using Window.setStatusBarColor(int);, but we had AIR packaging errors the last time we tried.

Actually setting status bar color is a nice-to-have feature, but not required. What I'm looking for is to toggle navbar visibility or remove it for good. I will check the article thanks. Perhaps any advice how would I tweak currently implemented functions to achieve requested arrangement without hassle?
Initially my thinking was to duplicate the ShowUnderSystemUiFunction and see if there is a way to  set flags properly to remove navbar leaving content "under" and topbar as transparent - this would produce the desired effect. But it seem like this won't work.

Adding View.SYSTEM_UI_FLAG_HIDE_NAVIGATION to the uiOptions in ShowUnderSystemUiFunction will give you the layout you require:
int uiOptions =
	View.SYSTEM_UI_FLAG_LAYOUT_STABLE
	| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
	| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
	| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;

However, the navigation bar won't auto hide after a user re-opens it (drags from the side of the screen), so you will need to have a stage click handler (or similar) to ensure it's re-hidden when a user subsequently interacts with your app.

Right. As my app requires user to actively swipe on stage this approach won't work here. Navbar reappears on almost every touch. I wonder if there is a firm way to hide this bar for good.

All right, adding View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY flag solves the problem. Now I event don't have to bother with navbar overlapping the app, as it appears only briefly on swipe from side and is removed on stage tap, as intended. Thanks for this ANE!

:-)


Feature: Adding Company Response Data

Description
This PR updates the Company struct to optionally include all the available information for the enrich endpoint.
Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] Chore (cleanup or minor QOL tweak that has little to no impact on functionality)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

@joshfinnie need to add linkedin_slug

@joshfinnie can you also update the version so we can upload to crates


FE: Add tooltips to Side-Bar action buttons

Requirements

Side-Bar buttons must contain tooltip with a hint indicating their action.
Affected icons:

[x] New root folder
[x] Folder actions
[x] Rename folder
[x] New Subfolder
[x] Delete folder

Relates to

#214
#239


KoreToK: add case for append

This is similar to ksequence
Fixes: #2245

this was make from a fork. I've created another PR from the k repo here https://github.com/kframework/k/pull/2266


Use default mouse cursor for buttons

Checklist

[X] I've looked at the documentation to make sure the behavior isn't documented and expected.
[X] I'm sure this is an issue with Leaflet, not with my app or other dependencies (Angular, Cordova, React, etc.).
[X] I've searched through the current issues to make sure this hasn't been reported yet.
[X] I agree to follow the Code of Conduct that this project adheres to.

Steps to reproduce
Add a zoom control to the map.
Expected behavior
Default (arrow) cursor should be used there. According to W3C the pointer cursor should only be used for links.
See eg. https://ux.stackexchange.com/questions/105024/why-dont-button-html-elements-have-a-css-cursor-pointer-by-default/105027#105027
Current behavior
Controls (eg. zoom control) uses cursor: pointer on buttons.
Minimal example reproducing the issue
No response
Environment

Leaflet version: 1.9
Browser (with version): Chrome 111
OS/Platform (with version): Linux

Thank you for this information.
If you read through the comments many people are thinking that this rule is outdated. Microsoft and Apple are both having in theier guidelines that only links should have a hand pointer, but they are not doing it on theier own website too.
I think we should keep the hand-pointer for interactive elements too, but I'm open for discussions.
@Malvoz maybe you want to add something?

The change of cursor from arrow to hand-pointer when hovered over the button gives a hint to the user that the following button is clickable. Hence I believe hand-pointer is fine for the buttons and should not be changed.

According to W3C the pointer cursor should only be used for links.

The CSSWG's Author Requirements was changed to the following in https://github.com/w3c/csswg-drafts/commit/272dd50ed23ee2fa24bc8a58d25378fc12711c73 (emphasis mine):

Authors should use pointer on links and may use on other interactive elements.

I personally agree with @Falke-Design and @Vedant-Manjrekar to keep cursor: pointer, for the reasons mentioned.

Are these elements currently button elements? If not, I think that is the best semantic change we can do.

@jonkoops Agree! That's https://github.com/Leaflet/Leaflet/issues/7821.


Least permission needed instead of complete role.

HI Team,
To enable sending metrics from CloudSQL service, below role is mentioned to be added on service account which has some additional permissions which may not needed for sending metrics. Same applies to other mentioned roles for rest of the services having additional permissions.
Can we know what exact permissions are need for sending metrics rather than having the complete Role?
There are some security concerns on using the full Role.
roles/cloudsql.viewer

cloudsql.*.export
cloudsql.*.get
cloudsql.*.list
cloudsql.instances.listServerCa

@vikramsinghsaggu  instead of using the preset of roles we've documented it should be enough to grant simply Viewer on the project level.  Will it help, or do You still expect precise list of permissions to build custom Role?

Closing due to missing input from issue author. Please contact us if issue is still relevant.


[error] Module parse failed: Unexpected token (102:44) err

Getting an error when trying to use this npm package.
package.json below
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-konva": "^17.0.2-6",
"react-konva-utils": "^0.3.0",
"konva": "^7.0.6",

This should be fixed with the last konva, react-konva and react-konva-utils versions.


Enchance h2oGPT UI to have librechat like features.

Enhancement request coming from a customer for h2oGPT UI

Enhance UI to give a more OpenAI-UI-like experience
Option to choose/change model in between a chat session without losing context
Persistent chat history with the ability to share it using a URL
Admin capability to monitor usage / chats etc
Integration with OIDC for authentication

They suggested Librechat https://www.librechat.ai/ meets their requirements and want something similar natively in the platform.
cc @somanathghalimath @shivam5992 @genrichards

Discussion on the topic at https://h2oai.slack.com/archives/C05MUTAHKU5/p1715925510510869

Suggest using OpenWebUI over librechat - https://h2oai.slack.com/archives/C05MUTAHKU5/p1715925510510869
https://openwebui.com/
https://github.com/open-webui/open-webui

h2oGPT backend can be used for Open Web UI:
https://github.com/h2oai/h2ogpt/blob/main/docs/FAQ.md#open-web-ui


Add OneGraphs Explorer to GraphQL Playground.

Summary
Add OneGraph's open source GraphiQL explorer.
We might need to change to GraphiQL or test with the current playground.
Basic example

https://github.com/onegraph/graphiql-explorer-example
https://github.com/onegraph/graphiql-explorer
Motivation
GraphQL can be difficult to get started with. This will make onboarding and creating Queries a lot easier.

Why does Gridsome not use the GraphiQL playground? The one from Prisma is seriously lacking! I can't explore any of the data I need and instead have to make guesses. It's not a good solution.

This is a deal breaker to use gridsome. I always use GraphiQL explorer to construct my queries to use with gatsby. Hope we have this in the future.

You CAN use graphiql, I cloned https://github.com/OneGraph/graphiql-explorer-example then installed it and changed the graphql URL in App.js to localhost. It's a pity it's not included in gridsome by default :cry:

You CAN use graphiql, I cloned https://github.com/OneGraph/graphiql-explorer-example then installed it and changed the graphql URL in App.js to localhost. It's a pity it's not included in gridsome by default cry

"How did you do that?" <-- what that guy said!


Improper behavior wrt non-regular fields (e.g., hidden/definitions)

What version of CUE are you using (cue version)?

$ cue version
built from source. Commit: c6ade67b538f585a309c52d271b17119cf18f98b

Does this issue reproduce with the latest release?
yes
What did you do?
I am reformulating my configuration. Doing so I ran into a problem, apparently having to do with improper handling of hidden fields in version 0.3.0-alpha1. With 0.2.2 I do not run into this problem.
I show here a very simplified version of the problem.

--- in/test.cue
#A : _

#N: #A & {
  _E: {
    name: "hello"
  }
}

l: #N

Then run

$ cue eval -a test.cue

What did you expect to see?
Probably

#A: _
#N: {
    _E: {
        name: "hello"
    }
}
l: {
    _E: {
        name: "hello"
    }
}

What did you see instead?

l._E: field `name` not allowed:
    test.cue:4:3
    test.cue:4:7

The same behavior is observed if we use #E (a definition) instead of _E a hidden field.
The problem apparently disappears if we use E (a regular field)

This issue has been migrated to https://github.com/cue-lang/cue/issues/496.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


⚠ Samsung has degraded performance

In b4f715a, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2205 ms

Resolved: Samsung performance has improved in 5b6d429.


Ability to manually set jvm_path

I use different java installations, so I need to be able to set the jvm path used by jpype. Also, it would be nice to have a minimal example on top of the README. Using pandas gives a working two-liner (has been tested).
P.S. thanks for the library, great work!

Thanks PR! I commented.


[Feature] pipenv guide for windows

Problem

There is no documentation to install pipenv for windows user in the Development Section of Readme.md.

Description

This will help the windows users to install pipenv right from the documentation making it easier and less time consuming.
Implementation

[x] I would be interested in improving this document.

Apologies! As I am the beginner to opensource
The changes were not merged properly.

@TimidRobot A response from you will be highly appreciated.

This issue has already pulll request. Pls work on another issue.

Okay! I'll add it as instructed.

According to the documentation of pipenv homebrew installation is discouraged (NOTE in the screenshot) because pip installation works way smoother than homebrew.  should I remove installation homebrew installation from the Readme.md and add pipenv installation for all three windows, linux and MacOS and for reference I'll add the pip official documentation link.?

hey @satyampsoni, I want to resolve this issue, I am a windows user myself, and I know how to install pipenv to windows. I can add the instructions to the documentation to help other windows users.

I have changes done. I am just waiting for @TimidRobot reply then I'll commit the changes

Okay Noted


Knowledge backend new

Description

Related Issues

Solution and Design

Test Plan

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Docs update

Checklist

[ ] My pull request is atomic and focuses on a single change.
[x] I have read the contributing guide and my code conforms to the guidelines.
[ ] I have documented my changes clearly and comprehensively.
[x] I have added the required tests.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 7 committers have signed the CLA.:white_check_mark: TransformerOptimus:x: Tarraann:x: jedan2506:x: nborthy:x: boundless-asura:x: NishantBorthakur:x: Fluder-ParadyneTarraann seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.