Crash in StateMachine.deadlineExceeded()

Hi,
I recently started using async http client to download large amount of gridded weather data. While downloading data from a distant and unreliable server, the application crashes with a timeout error, that is not catchable.
This crash is hard to reproduce on a minimal test case. I notice is daily in failed downloads from weather models. It might take hours of continuous data download until it is triggered.
Stack trace:
Received signal 11. Backtrace:
0x55b08f018a92, Backtrace.(printBacktrace in _B82A8C0ED7C904841114FDF244F9E58E)(signal: Swift.Int32) -> () at /__w/open-meteo/open-meteo/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:66
0x55b08f018d07, closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install(signals: Swift.Array<Swift.Int32>) -> () at /__w/open-meteo/open-meteo/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:80
0x55b08f018d07, @objc closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install(signals: Swift.Array<Swift.Int32>) -> () at /__w/open-meteo/open-meteo/<compiler-generated>:79
0x7f9c5131e51f at ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7f9c51375f42, __pthread_once_slow at ./nptl/pthread_once.c:114
0x55b0903fe9eb
0x55b08ee5a313, AsyncHTTPClient.HTTPClientError.deadlineExceeded.unsafeMutableAddressor : AsyncHTTPClient.HTTPClientError at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift:1182
0x55b08ee5a313, AsyncHTTPClient.Transaction.StateMachine.deadlineExceeded() -> AsyncHTTPClient.Transaction.StateMachine.DeadlineExceededAction at /__w/open-meteo/open-meteo/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/Transaction+StateMachine.swift:720
0x7f9c3003b4ff
Segmentation fault (core dumped)

Infos:

Ubuntu 22.04 (effects 20.04 as well). Unsure if it is also present on macOS
Swift 5.7 docker
AsyncHTTPClient 1.12.0
Connect and read timeout set to 5 minutes. Download time per file ~20 seconds.
File download is sequential, multiple hundreds of files. No parallel execution of any downloads.
Code is retrying 404 errors with back-off timer. Files are downloaded while they are uploaded to the HTTP server. Code available here).
Occasionally the server connection is dropped

Dummy code flow:

For file in hundreds of files:

await download
retry if failed (up to 3 hour deadline)
convert downloaded data

Observed behaviour:

Timeouts trigger crash

Expected behaviour:

Timeout exceptions are propagated and can be catched

Suspicion:

Timeouts are not cancelled for some edge cases that throw exceptions (like 404). For the majority of downloads (even with 404 errors) it works fine.

Let me know, which additional information is required to better locate the bug
Thanks!
Best, Patrick

Full program output: Runtime 19 minutes until crash
[ DEBUG ] Starting OmFileManager (App/OmFileManager.swift:30)
[ INFO ] Downloading forecastHour 0 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf00.grib2.idx (App/Curl.swift:96)
[ DEBUG ] Ranged download 9004228-10722612,11756554-12899687,17665947-19462452,20499883-21637548,27225326-29087614,30875143-32024733,38002963-39940054,41786697-42960972,49400854-51301964,53505445-54668890,61299934-63198886,65044396-66207941,72408283-74317444,76331699-77484432,83908885-85825422,88062944-89218796,95919876-97836616,100256891-101409244,108427128-110357358,113029550-114177080,121418891-123363777,126168847-127315895,134865043-136824445,139787088-140939142,147958992-149933163,152323345-153472990,160720305-162741812,165278553-166440775,173902112-175986945,178681470-179862314,187734108-189918844,192849163-194046805,202342712-204594246,207599500-208816289,209733982-212010074,215023219-216242740,217095769-219418929,222425291-223671251,224479140-226806110,229820304-231050397,231810500-233308233,236318480-237544610,278214284-278932153 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf00.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 67023023 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 1 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf01.grib2.idx (App/Curl.swift:96)
[ DEBUG ] Ranged download 8838525-10536186,11624387-12768323,17882188-19682538,21233234-22379340,28211903-30072918,32447743-33599376,39750941-41664756,44057806-45227077,51951934-53848986,56017716-57183359,63650058-65544641,67887174-69045954,75661977-77558760,80056496-81211899,87993745-89904220,92610860-93769931,100812587-102716767,105539834-106687635,113983100-115897628,118922795-120075431,127585168-129513277,132662723-133810463,141562679-143492639,146060452-147215324,154481161-156449685,159138519-160292602,167758781-169759369,172573522-173747464,181476680-183538161,186543350-187718741,195846480-198022360,201210688-202419611,210846522-213091721,216362924-217589423,218452839-220705860,223989739-225210977,226052216-228335422,231586582-232821882,233657965-235957355,239196754-240436038,241225695-242711966,245912233-247155887,288786645-289500915 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf01.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 66772612 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 2 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf02.grib2.idx (App/Curl.swift:96)
[ DEBUG ] Ranged download 8846664-10535196,11605090-12752827,18073864-19879687,21440285-22581971,28625534-30499794,32842870-33994424,40159711-42087300,44469173-45639357,52431044-54339761,56503363-57663042,64159734-66054942,68394794-69557027,76257360-78156561,80655423-81810180,88674390-90597013,93287294-94456906,101584590-103488580,106328004-107487157,114840861-116757142,119769255-120924495,128510156-130440418,133602812-134762153,142590111-144528528,147108831-148266249,155607175-157560569,160241805-161405377,168938531-170926295,173764587-174942940,182743148-184792818,187796085-188982332,197185808-199358101,202517222-203726799,212193321-214447399,217700340-218925183,219822922-222087045,225344795-226572285,227453661-229747292,232975372-234205155,235037388-237335274,240551566-241784861,242605146-244094722,247297913-248537458,290483608-291195174 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf02.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 66871248 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 3 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf03.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8799000-10501672,11571806-12720967,18092109-19919422,21511221-22664619,28751555-30651566,32387135-33542154,39754446-41698865,44108830-45281083,52113527-54035469,56769373-57939157,64485271-66385539,68717575-69895319,76670764-78579091,81068592-82233759,89194360-91123059,93815819-94988580,102210324-104144881,107001396-108172042,115634961-117559150,120603498-121761346,129430178-131368009,134536816-135699941,143590116-145533136,148139516-149308874,156686378-158656540,161358088-162534009,170103028-172092820,174920333-176109493,183983550-186035891,189033486-190238223,198488504-200672877,203828444-205035133,213647269-215902408,219137775-220357583,221319234-223597928,226848285-228067986,228989707-231285681,234499140-235721066,236618227-238946807,242148313-243383397,244159388-245652163,248831214-250064806,292372653-293083002 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf03.grib2 (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Converting GRIB, size 67219374 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 4 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf04.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ INFO ] Download failed, retry every 5 seconds, (1 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8795555-10502842,11562186-12713423,18102362-19926500,21527126-22671611,28963049-30869905,32725467-33886064,40358243-42310353,44734273-45902901,52781019-54712642,56899530-58073116,64711382-66619020,68982117-70155734,77021897-78933556,81480921-82642587,89657694-91580595,94302270-95470333,102737025-104670353,107544244-108711202,116240997-118178725,121223156-122392769,130112759-132057468,135255171-136419630,144409610-146360312,148973898-150144548,157633031-159610131,162331674-163509896,171208999-173218288,176084563-177275657,185244799-187307408,190345217-191550421,199833953-201998994,205174574-206389111,214956510-217208314,220474901-221691118,222651594-224923297,228177265-229393756,230330845-232606346,235830966-237056516,237963366-240288799,243505162-244732885,245562464-247049838,250246272-251474317,293969355-294676839 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf04.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 67245724 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 5 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf05.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8805761-10516032,11558023-12713523,18153240-19989385,21617713-22771012,29110926-31034453,32904277-34065940,40600114-42564997,45018814-46198387,53176151-55132944,57348302-58523697,65254100-67183253,69551591-70726524,77671181-79598447,82144674-83307967,90397052-92336405,95095876-96260239,103603100-105546130,108457167-109635836,117229874-119171277,122265950-123436787,131218527-133175755,136406700-137574190,145614379-147578702,150227765-151402342,159032731-161021269,163780742-164962143,172690563-174702208,177599757-178794265,186826498-188920941,191995854-193214226,201603076-203766639,206980903-208196750,216842478-219082405,222360245-223577253,224542981-226801958,230072552-231298290,232249077-234526400,237771931-238988991,239895569-242185431,245409944-246638979,247413610-248887355,252099966-253332067,295816574-296521925 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf05.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 67452476 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 6 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf06.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8911052-10673693,11706401-12866900,18161496-20034938,21693063-22852694,28906918-30847671,32751498-33916930,40350409-42340883,44828224-46020913,53100806-55060471,57302255-58481084,65259558-67191465,69618536-70798124,77779254-79733283,82334620-83508341,90717145-92682667,95491061-96667613,104130724-106080228,109058997-110233649,117962560-119910734,123027816-124194655,132094188-134080496,137369758-138542137,146689006-148673194,151387135-152568045,160346758-162352581,165169271-166357455,174323811-176353220,179310763-180518168,188702322-190791426,193915996-195138508,203624271-205807623,209059714-210280182,219019914-221248802,224563577-225784748,226790956-229035409,232319510-233549731,234515959-236759878,240024381-241255985,242240313-244510331,247763535-248997620,249761771-251218220,254466489-255704961,298316591-299018277 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf06.grib2 (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Converting GRIB, size 67780616 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 7 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf07.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ INFO ] Download failed, retry every 5 seconds, (1 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8963743-10709572,11745225-12909793,18434899-20311757,21979027-23132360,29563733-31509705,33439368-34609805,41134666-43138635,45669652-46867907,54053725-56037843,58311082-59494633,66400450-68362180,70811922-71995717,79060945-81032735,83674628-84845148,92141413-94122971,96964109-98136639,105703607-107659821,110654850-111824363,119621283-121596765,124778719-125949964,133989270-135981290,139305283-140482899,148775729-150773372,154226432-155414058,163191829-165214636,168064357-169257541,177230830-179273829,182260325-183474420,191664424-193775138,196916967-198144880,206588763-208770146,212042419-213268124,221872885-224087323,227408414-228632979,229539557-231767191,235067287-236301868,237163416-239386372,242672718-243909654,244771786-247006229,250276985-251518032,252386178-253827808,257079657-258323981,301150630-301836304 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf07.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 67928265 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 8 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf08.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8961080-10717540,11750920-12920907,18473458-20361408,22013597-23170170,29688582-31645654,33615717-34787699,41399632-43415810,45991352-47209712,53918884-55913255,58214083-59408629,66352402-68331313,70854567-72034717,79197846-81174237,83870079-85045691,92460897-94447116,97352441-98538441,106180662-108160493,111236111-112411580,120312811-122300044,125521578-126697667,134820563-136833489,140211575-141395995,149778496-151797278,154580515-155772229,163626828-165668161,168569842-169768485,177867760-179924255,182947032-184166001,192455870-194574825,197743908-198976030,207478499-209665491,212948071-214177667,222801185-225009003,228326184-229554785,230490862-232707386,236003478-237242224,238130597-240346386,243631929-244872981,245772286-247990502,251251328-252496838,253281999-254713674,257965652-259214727,301944482-302625818 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf08.grib2 (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Converting GRIB, size 68195738 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 9 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf09.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ INFO ] Download failed, retry every 5 seconds, (1 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] connection go away received [ahc-connection-id: 0, ahc-http-version: http/2, ahc-pool-key: [https://nomads.ncep.noaa.gov:443](https://nomads.ncep.noaa.gov/) TLS-hash:<PHONE_NUMBER>494591581] (AsyncHTTPClient/HTTPConnectionPool.swift:515)
[ DEBUG ] connection closed [ahc-connection-id: 0, ahc-http-version: http/2, ahc-pool-key: [https://nomads.ncep.noaa.gov:443](https://nomads.ncep.noaa.gov/) TLS-hash:<PHONE_NUMBER>494591581] (AsyncHTTPClient/HTTPConnectionPool.swift:525)
[ DEBUG ] Ranged download 9055106-10839944,11883407-13057941,18466924-20355599,22004137-23170267,29726826-31695846,33663468-34839731,41499331-43537105,46118806-47339604,54721333-56732860,59051328-60254867,67315730-69308581,71856090-73046770,80354690-82346027,85088954-86276250,93767948-95771078,98726207-99916978,107682941-109679154,112790539-113979240,122065380-124069684,127358715-128540871,136803710-138843916,142272355-143461151,151246053-153291910,156129371-157336274,165267093-167321911,170265095-171477862,179674228-181727427,184797156-186021457,194512342-196637036,199825846-201063480,209779632-211970180,215276898-216510350,225286680-227490904,230807256-232040120,233029393-235241810,238544922-239778930,240728633-242948632,246231561-247476278,248444488-250654450,253910299-255168080,255947094-257372271,260619368-261869875,304601418-305280572 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf09.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 68549587 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 10 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf10.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 9076058-10852916,11887684-13066029,18679701-20573500,22227915-23403444,29782594-31767256,33750365-34929564,41643201-43700085,46297929-47514959,54946980-56965547,59313323-60513488,67644867-69655445,72235527-73430511,80777948-82781579,85573383-86765199,94422991-96440502,99427384-100630871,108535841-110533062,113680661-114865553,123035165-125050371,128368733-129566794,137944526-139995775,143453683-144649922,153299220-155353078,158205917-159409706,167503508-169561434,172505918-173724298,182058977-184113642,187180369-188409730,196909518-199014871,202182850-203424405,212097258-214267642,217572404-218809054,227556613-229755938,233048790-234294306,235306766-237498974,240781728-242017671,242986119-245185133,248458843-249715795,250656726-252859689,256111175-257362173,258140906-259560037,262802473-264053509,306793054-307469342 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf10.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 68652274 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 11 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf11.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ INFO ] Download failed, retry every 5 seconds, (1 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 9162800-10923913,11950726-13128894,18544180-20443464,22114533-23290329,29726054-31715766,33710388-34892363,41671549-43733206,46351967-47569405,54957740-56985640,59346563-60550501,67708596-69724976,72311351-73519800,80901652-82922370,85710484-86906893,94593284-96630932,99637040-100846192,108758300-110772829,113917683-115121469,123306125-125325658,128633593-129835529,138252950-140310002,143767248-144966678,153572927-155632538,158502466-159719153,167743648-169804133,172778074-174000273,182212650-184280607,187357301-188591656,196964760-199078621,202264955-203510712,212062110-214215114,217522939-218762174,227377728-229572869,232883436-234130635,235116475-237318881,240609650-241867056,242811344-245020913,248285674-249546388,250476879-252676505,255929775-257196297,258103661-259521249,262755565-264011396,306750046-307426794 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf11.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 68888970 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 12 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf12.grib2.idx (App/Curl.swift:96)
[ DEBUG ] Ranged download 9129274-10919761,11952151-13132583,18788167-20696281,22382784-23560996,30038298-32041637,34041364-35219829,42018852-44086264,46714911-47926877,55360547-57407403,59773422-60996996,68168389-70214206,72790458-73999261,81456333-83513089,86310250-87509479,95235083-97268489,100291670-101501114,109474999-111496044,114653280-115858209,124121618-126154658,129471252-130675282,139135894-141197689,144658013-145867910,153782593-155846065,158711467-159928872,167957106-170023468,172992546-174216418,182515651-184586426,187657975-188894398,197372871-199487494,202700214-203950322,212635274-214814305,218126841-219369392,228186883-230382728,233688096-234938955,235928734-238133014,241420223-242682330,243627921-245839908,249114052-250380820,251336911-253553922,256792160-258065825,258979830-260397800,263615593-264875599,307599468-308277563 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf12.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 69185330 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 13 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf13.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 9159173-10924486,11940972-13122782,18761351-20667036,22344765-23523077,30219144-32226344,34223255-35410735,42218252-44286822,46913718-48133863,55643901-57688654,60044004-61251385,68407212-70451778,73044050-74254877,81725206-83773969,86578089-87776567,95514901-97563727,100609724-101821439,109873682-111900953,115094838-116302193,124588422-126627846,129971706-131175004,139639356-141703521,145169316-146379941,154277065-156343280,159196281-160406401,168409653-170476801,173419165-174644858,182889548-184951291,188019507-189258088,197737635-199867644,203049538-204301824,212994192-215170216,218470225-219718037,228501743-230695513,233994385-235253023,236259876-238450622,241733808-243001840,243965590-246163546,249424526-250688043,251633418-253836039,257084648-258364657,259256564-260673765,263879816-265143743,308026972-308704124 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf13.grib2 (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Converting GRIB, size 2947354 bytes (App/Curl.swift:266)
[ ERROR ] Grib reader did not get all matched variables. Matches count 105. Grib count 5. Grib size 2947354 (App/Curl.swift:278)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf13.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 2947354 bytes (App/Curl.swift:266)
[ ERROR ] Grib reader did not get all matched variables. Matches count 105. Grib count 5. Grib size 2947354 (App/Curl.swift:278)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf13.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 69176229 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 14 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf14.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 9223583-10994308,12041555-13224096,18711312-20617107,22307623-23489782,29802424-31815746,33817641-35007018,41843982-43916483,46546032-47767817,55238921-57296845,59681711-60901413,68134853-70177033,72797523-74014751,81541841-83600749,86438016-87640876,95501349-97556957,100629924-101844014,109944568-111978153,115181255-116393790,124712410-126767100,130134272-131339236,139837590-141902008,145385947-146596682,155298919-157365522,160218872-161435114,169461728-171531687,174473347-175698749,183849873-185925620,188990814-190231663,198689193-200808580,204004326-205258195,213931250-216105460,219389545-220641961,229466549-231660247,234945142-236209878,237222010-239426727,242712505-243980878,244942917-247140772,250406209-251679281,252563099-254765844,258018616-259308240,260235553-261652097,264858904-266131779,309004821-309686438 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf14.grib2 (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Converting GRIB, size 0 bytes (App/Curl.swift:266)
[ ERROR ] Grib reader did not get all matched variables. Matches count 105. Grib count 0. Grib size 0 (App/Curl.swift:278)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf14.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 69353239 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 15 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf15.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8994685-10776260,11833697-13016219,18524551-20433987,22150607-23334812,29678803-31696851,33701362-34893614,41732170-43795149,46411693-47637270,55163972-57225498,59610322-60832204,68133813-70199856,72810670-74030250,81576836-83645117,86497170-87712016,95583889-97657478,100740429-101957585,110028826-112066507,115270454-116481358,124798922-126863327,130244257-131449368,139936604-142002518,145476717-146694423,155342923-157409447,160249742-161464739,169466925-171536821,174503560-175729293,183902909-185969371,189018009-190258194,198637435-200757360,203913587-205167522,213819759-215996243,219256117-220511219,229368996-231567856,234849554-236118429,237134749-239348058,242630230-243901193,244871774-247079211,250344979-251622034,252511617-254754488,258010238-259292807,260147895-261569963,264784033-266063549,309207719-309902850 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf15.grib2 (App/Curl.swift:96)
[ DEBUG ] Converting GRIB, size 69554182 bytes (App/Curl.swift:266)
[ INFO ] Compressing and writing data (App/GfsDownload.swift:172)
[ INFO ] Downloading forecastHour 16 (App/GfsDownload.swift:163)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf16.grib2.idx (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 8946915-10739842,11791721-12975991,18478551-20388279,22080067-23264216,29586977-31602037,33601345-34792018,41614824-43676435,46287603-47512048,54935255-56992199,59360946-60582222,67730929-69793762,72406809-73627250,81124409-83176701,86013755-87229521,95075009-97151955,100239973-101457832,109542123-111589569,114780494-115991655,124229606-126285575,129639179-130843162,139286950-141350062,144844787-146060159,154638722-156703604,159563377-160775508,168777022-170845132,173798978-175022878,183220642-185291095,188345469-189581679,197898138-200030348,203196125-204447254,213051818-215225050,218483913-219737649,228565985-230767898,234048477-235306496,236318143-238524643,241809105-243080181,244057043-246273127,249537581-250823808,251783181-254020934,257275218-258568321,259423255-260856321,264096674-265375092,308424297-309112437 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t12z.wrfprsf16.grib2 (App/Curl.swift:96)
Received signal 11. Backtrace:
0x562042cbc262, Backtrace.(printBacktrace in _B82A8C0ED7C904841114FDF244F9E58E)(signal: Swift.Int32) -> () at /__w/open-meteo/open-meteo/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:66
0x562042cbc4d7, closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install(signals: Swift.Array<Swift.Int32>) -> () at /__w/open-meteo/open-meteo/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:80
0x562042cbc4d7, @objc closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install(signals: Swift.Array<Swift.Int32>) -> () at /__w/open-meteo/open-meteo/<compiler-generated>:79
0x7fd7691c251f at ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7fd769219f42, __pthread_once_slow at ./nptl/pthread_once.c:114
0x5620440a257b
0x562042afdae3, AsyncHTTPClient.HTTPClientError.deadlineExceeded.unsafeMutableAddressor : AsyncHTTPClient.HTTPClientError at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift:1182
0x562042afdae3, AsyncHTTPClient.Transaction.StateMachine.deadlineExceeded() -> AsyncHTTPClient.Transaction.StateMachine.DeadlineExceededAction at /__w/open-meteo/open-meteo/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/Transaction+StateMachine.swift:720
0x7fd758058e5f
Segmentation fault (core dumped)

That is a baffling error. The crash appears to be a segmentation fault (signal 11) inside the unsafeMutableAddressor for loading a static let. Conceptually this seems extremely unlikely. Does it reproduce consistently for you? If it does, can you run the program with lldb attached so you can get a better stack trace?

Yeah, I am also surprised how this is possible. I was also running the code with an address sanitizer just to check for stack corruption. There is some C SIMD code with large stack allocations to convert data after download.
In the past 12 hours it happened in 3 of 18 program executions. I will try to manually run it with lldb attached, but I am not sure if I can catch it this way. Otherwise I will try to add a signal handler and keep the process alive and attach afterwards.
I am also downloading data from non-tls servers and it seems to work fine. Could it be a combination of closed connection and TLS reconnect? Here is another log file:
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t22z.wrfprsf16.grib2.idx (App/Curl.swift:96)
[ DEBUG ] connection go away received [ahc-connection-id: 2, ahc-http-version: http/2, ahc-pool-key: [https://nomads.ncep.noaa.gov:443](https://nomads.ncep.noaa.gov/) TLS-hash:<PHONE_NUMBER>206577786] (AsyncHTTPClient/HTTPConnectionPool.swift:515)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'StreamClosed(streamID: HTTP2StreamID(201), errorCode: HTTP2ErrorCode<0x8 Cancel>, location: "/__w/open-meteo/open-meteo/.build/checkouts/swift-nio-http2/Sources/NIOHTTP2/HTTP2StreamChannel.swift:827")' (App/Curl.swift:120)
[ DEBUG ] connection closed [ahc-connection-id: 2, ahc-http-version: http/2, ahc-pool-key: [https://nomads.ncep.noaa.gov:443](https://nomads.ncep.noaa.gov/) TLS-hash:<PHONE_NUMBER>206577786] (AsyncHTTPClient/HTTPConnectionPool.swift:525)
[ INFO ] Download failed, retry every 5 seconds, (1 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
[ DEBUG ] Ranged download 302108792-303681378,304658496-305955399,316815893-319256852,325996580-327256517,331145181-332803199,333492067-338255296,342392685-342626196,342755589-343644973,347841388-350445164,351805352-353246832,356340702-358493669,368389123-370103542,376808492-378534018,395814755-397882817 (App/Curl.swift:245)
[ INFO ] Downloading file https://nomads.ncep.noaa.gov/pub/data/nccf/com/hrrr/prod/hrrr.20221017/conus/hrrr.t22z.wrfprsf16.grib2 (App/Curl.swift:96)
[ INFO ] Download failed, retry every 5 seconds, (0 minutes elapsed, curl error 'downloadFailed(code: 404 Not Found)' (App/Curl.swift:120)
Received signal 11. Backtrace:
0x55c1f8fcf262, Backtrace.(printBacktrace in _B82A8C0ED7C904841114FDF244F9E58E)(signal: Swift.Int32) -> () at /__w/open-meteo/open-meteo/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:66
0x55c1f8fcf4d7, closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install(signals: Swift.Array<Swift.Int32>) -> () at /__w/open-meteo/open-meteo/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:80
0x55c1f8fcf4d7, @objc closure #1 (Swift.Int32) -> () in static Backtrace.Backtrace.install(signals: Swift.Array<Swift.Int32>) -> () at /__w/open-meteo/open-meteo/<compiler-generated>:79
0x7f2a727a151f at ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7f2a727f8f42, __pthread_once_slow at ./nptl/pthread_once.c:114
0x55c1fa3b557b
0x55c1f8e10ae3, AsyncHTTPClient.HTTPClientError.deadlineExceeded.unsafeMutableAddressor : AsyncHTTPClient.HTTPClientError at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/HTTPClient.swift:1182
0x55c1f8e10ae3, AsyncHTTPClient.Transaction.StateMachine.deadlineExceeded() -> AsyncHTTPClient.Transaction.StateMachine.DeadlineExceededAction at /__w/open-meteo/open-meteo/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/AsyncAwait/Transaction+StateMachine.swift:720
0x7f2a5805886f
Segmentation fault (core dumped)

I think the TLS situation is probably a red herring, but it's an interesting idea.

So far I had no luck in replicating the issue in lldb with local ubuntu docker on arm64. On my production setup the swift toolchain with lldb is not available (yet). Also ubuntu refuses to generate core dump files, but I hope to get this working soon.
I am also running a test right now with a thread pool size of 1.
Additionally, I was reviewing HTTPClient.swift and Transaction+StateMachine.swift for potential raise conditions, but all code paths use locking correctly.

Yeah, in the crashing thread context can you run frame select 5 (to get to the frame containing the unsafe mutable accessor) and also register read and put the output here?

(lldb) frame select 5
frame #5: 0x000055a4a851dcd4 openmeteo-api`Transaction.StateMachine.deadlineExceeded() [inlined] AsyncHTTPClient.HTTPClientError.deadlineExceeded.unsafeMutableAddressor : AsyncHTTPClient.HTTPClientError at HTTPClient.swift:1182:23 [opt]
(lldb) register read
General Purpose Registers:
       rbx = 0x00007f0d7215a6e8
       rbp = 0x00007f0d7215a7d8
       rsp = 0x00007f0d7215a5e8
       r12 = 0x000055a4abfa3fd8
       r13 = 0x00007f0d7215a688
       r14 = 0x00007f0d7215a6d8
       r15 = 0x00007f0d7215a5e8
       rip = 0x000055a4a851dcd4  openmeteo-api`AsyncHTTPClient.Transaction.StateMachine.deadlineExceeded() -> AsyncHTTPClient.Transaction.StateMachine.DeadlineExceededAction + 260 at Transaction+StateMachine.swift:720:41
16 registers were unavailable.

Can you also provide dis for frame 5?

It's interesting to see that we're crashing inside swift_once.

I could try to run it in production with -sanitize=thread or address to maybe rule out some stack/memory corruption issues. Otherwise I am also baffled.

Can you do memory read (0x3aee760 + %rip)?

(lldb) memory read (0x3aee760 + %rip)
error: memory read takes a start address expression with an optional end address expression.
warning: Expressions should be quoted if they contain spaces or other special characters.

memory read "(0x3aee760 + %rip)"
Cannot create Swift scratch context (couldn't load the Swift stdlib)
error: invalid start address expression.
error: address expression "(0x3aee760 + %rip)" evaluation failed

Ah dang, gotta spell things better. It would have been wrong anyway, %rip has moved on. Try memory read 0x3aee760+0x55a4a851dcc1

Sorry for the delay
(lldb) memory read 0x3aee760+0x55a4a851dcc1
0x55a4ac00c421: 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00  ................
0x55a4ac00c431: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

Our other good options are for you to try to produce a smaller repro that we can run on our end. Additionally, if you can bear it, running under Valgrind may produce some insights, and ASAN in prod would be useful too.

Sure. I will upload it in a moment. It is 1GB raw, but 10 MB compressed + 50 mb executable

https://assets.open-meteo.com/github-async-http-client-issue-642.zip 168MB compressed, 1.4 GB raw, docker swift:5.7.0-jammy plattform linux/amd64
I will try to create a smaller reproducible test. As this depends on downloading data while being published with an unreliable connection, it is hard to reproduce.

Note: You would have to copy and paste the URL to download. This CDN has referral protection.

I experimented with ASAN on docker swift:5.7.0-jammy.  Compiled with swift build -c release -Xswiftc -g -Xswiftc -static-stdlib -Xswiftc -sanitize=address it crashes at the first static var initialisation with swift_once.
(lldb) run --help
Process 9959 launched: '/app/.build/release/openmeteo-api' (x86_64)
=================================================================
==9959==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x55555b281c40 in thread T0
    #0 0x555555c702a2  (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x71c2a2)
    #1 0x55555800409f  (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x2ab009f)
    #2 0x555557e77f7c  (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x2923f7c)
    #3 0x7ffff769ef67  (/lib/x86_64-linux-gnu/libc.so.6+0x99f67)
    #4 0x555557fbe27b  (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x2a6a27b)
    #5 0x555557e78048  (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x2924048)
    #6 0x7ffff769ef67  (/lib/x86_64-linux-gnu/libc.so.6+0x99f67)
    #7 0x555557fbe27b  (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x2a6a27b)
    #8 0x555557e780c3  (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x29240c3)

Address 0x55555b281c40 is a wild pointer inside of access range of size 0x000000000001.
SUMMARY: AddressSanitizer: bad-free (/app/.build/x86_64-unknown-linux-gnu/release/openmeteo-api+0x71c2a2)
==9959==ABORTING
(lldb) AddressSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Process 9959 stopped
* thread #1, name = 'openmeteo-api', stop reason = Deallocation of non-allocated memory
    frame #0: 0x0000555555c79b80 openmeteo-api`::AsanDie() at asan_rtl.cpp:45:7
Target 0: (openmeteo-api) stopped.
(lldb) bt
* thread #1, name = 'openmeteo-api', stop reason = Deallocation of non-allocated memory
  * frame #0: 0x0000555555c79b80 openmeteo-api`::AsanDie() at asan_rtl.cpp:45:7
    frame #1: 0x0000555555c90cfc openmeteo-api`__sanitizer::Die() at sanitizer_termination.cpp:55:7
    frame #2: 0x0000555555c78167 openmeteo-api`::~ScopedInErrorReport() at asan_report.cpp:190:7
    frame #3: 0x0000555555c747ec openmeteo-api`::ReportFreeNotMalloced() at asan_report.cpp:239:1
    frame #4: 0x0000555555c70306 openmeteo-api`::__interceptor_free() at asan_malloc_linux.cpp:112:3
    frame #5: 0x00005555580040a0 openmeteo-api`_swift_stdlib_getUnsafeArgvArgc + 400
    frame #6: 0x0000555557e77f7d openmeteo-api`one-time initialization function for _unsafeArgv + 13
    frame #7: 0x00007ffff769ef68 libc.so.6`___lldb_unnamed_symbol3495 + 232
    frame #8: 0x0000555557fbe27c openmeteo-api`swift_once + 92
    frame #9: 0x0000555557e78049 openmeteo-api`one-time initialization function for arguments + 25
    frame #10: 0x00007ffff769ef68 libc.so.6`___lldb_unnamed_symbol3495 + 232
    frame #11: 0x0000555557fbe27c openmeteo-api`swift_once + 92
    frame #12: 0x0000555557e780c4 openmeteo-api`static Swift.CommandLine.arguments.getter : Swift.Array<Swift.String> + 20
    frame #13: 0x000055555770d6d8 openmeteo-api`openmeteo_api_main [inlined] default argument 0 of static Vapor.Environment.detect(arguments: Swift.Array<Swift.String>) throws -> Vapor.Environment at <compiler-generated>:0 [opt]
    frame #14: 0x000055555770d6d3 openmeteo-api`openmeteo_api_main at main.swift:14:33 [opt]
    frame #15: 0x00007ffff762ed90 libc.so.6`___lldb_unnamed_symbol3139 + 128
    frame #16: 0x00007ffff762ee40 libc.so.6`__libc_start_main + 128
    frame #17: 0x0000555555bef995 openmeteo-api`_start + 37

This is basically a simple vapor application app --help to print routes
import Vapor

var env = try Environment.detect() <--- calls swift_once
try LoggingSystem.bootstrap(from: &env)
let app = Application(env)
defer { app.shutdown() }
try configure(app)
try app.run()

The interesting part: If compiled without -static-stdlib, It works fine:
swift build -c release -Xswiftc -g -Xswiftc -sanitize=address
lldb .build/release/openmeteo-api

(lldb) run --help
Process 11118 launched: '/app/.build/release/openmeteo-api' (x86_64)
[ DEBUG ] Starting OmFileManager (App/OmFileManager.swift:30)
Usage: /app/.build/release/openmeteo-api <command>

Commands:
                   benchmark Run benchmark
                        boot Boots the application's providers.
                     cronjob Emits the cronjob definition
                    download Download a specified model run
[...]

So the StateMachine.deadlineExceeded might just be caused by swift_once and -static-stdlib on linux. I will try to come up with a simple producible test

Ooooh, yeah, using static-stdlib is exactly the kind of thing that might cause trouble here! I'd love to see if you can shrink the reproducer.

That's pretty short ;)
echo "print(CommandLine.arguments)" > test.swift
swiftc -static-stdlib -sanitize=address test.swift
./test
==5796==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x558d119001e0 ...

lldb test
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'lldb'
(lldb) target create "test"
Current executable set to '/app/SwiftOnceTest/test' (x86_64).
(lldb) run
Process 5792 launched: '/app/SwiftOnceTest/test' (x86_64)
=================================================================
==5792==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x55555656f240 in thread T0
    #0 0x555555629fd2  (/app/SwiftOnceTest/test+0xd5fd2)
    #1 0x5555559b3ecf  (/app/SwiftOnceTest/test+0x45fecf)
    #2 0x55555582797c  (/app/SwiftOnceTest/test+0x2d397c)
    #3 0x7ffff7af5f67  (/lib/x86_64-linux-gnu/libc.so.6+0x99f67)
    #4 0x55555596e0ab  (/app/SwiftOnceTest/test+0x41a0ab)
    #5 0x555555827a48  (/app/SwiftOnceTest/test+0x2d3a48)
    #6 0x7ffff7af5f67  (/lib/x86_64-linux-gnu/libc.so.6+0x99f67)
    #7 0x55555596e0ab  (/app/SwiftOnceTest/test+0x41a0ab)
    #8 0x555555827ac3  (/app/SwiftOnceTest/test+0x2d3ac3)

Address 0x55555656f240 is a wild pointer inside of access range of size 0x000000000001.
SUMMARY: AddressSanitizer: bad-free (/app/SwiftOnceTest/test+0xd5fd2)
==5792==ABORTING
(lldb) AddressSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Process 5792 stopped
* thread #1, name = 'test', stop reason = Deallocation of non-allocated memory
    frame #0: 0x00005555556338b0 test`::AsanDie() at asan_rtl.cpp:45:7
Target 0: (test) stopped.
(lldb) bt
* thread #1, name = 'test', stop reason = Deallocation of non-allocated memory
  * frame #0: 0x00005555556338b0 test`::AsanDie() at asan_rtl.cpp:45:7
    frame #1: 0x000055555564aa2c test`__sanitizer::Die() at sanitizer_termination.cpp:55:7
    frame #2: 0x0000555555631e97 test`::~ScopedInErrorReport() at asan_report.cpp:190:7
    frame #3: 0x000055555562e51c test`::ReportFreeNotMalloced() at asan_report.cpp:239:1
    frame #4: 0x000055555562a036 test`::__interceptor_free() at asan_malloc_linux.cpp:112:3
    frame #5: 0x00005555559b3ed0 test`_swift_stdlib_getUnsafeArgvArgc + 400
    frame #6: 0x000055555582797d test`one-time initialization function for _unsafeArgv + 13
    frame #7: 0x00007ffff7af5f68 libc.so.6`___lldb_unnamed_symbol3495 + 232
    frame #8: 0x000055555596e0ac test`swift_once + 92
    frame #9: 0x0000555555827a49 test`one-time initialization function for arguments + 25
    frame #10: 0x00007ffff7af5f68 libc.so.6`___lldb_unnamed_symbol3495 + 232
    frame #11: 0x000055555596e0ac test`swift_once + 92
    frame #12: 0x0000555555827ac4 test`static Swift.CommandLine.arguments.getter : Swift.Array<Swift.String> + 20
    frame #13: 0x000055555566136f test`main + 31
    frame #14: 0x00007ffff7a85d90 libc.so.6`___lldb_unnamed_symbol3139 + 128
    frame #15: 0x00007ffff7a85e40 libc.so.6`__libc_start_main + 128
    frame #16: 0x00005555555a96c5 test`_start + 37

```

On macOS `-static-stdlib` is no longer supported. I am tempted to remove `static-stdlib` from my build chain and deploy swift libraries separately although this complicates updates.

@Lukasa Should I report this issue to the swift forums or to the swift issue tracker?

Thank you very much for your help and open-source work!

I think the Swift issue tracker for now! Please link that issue back to here so we can track it.


help: Add new "Writing messages" section.

This PR is based on and replaces #24265 and #24552.

Moves pages from "Sending messages" to a new help center section to document what you can do in a Zulip message, and make this information easy to find.
Adds include blocks for each section of "Message formatting" for reusability.
Creates a new page corresponding to each section that currently doesn't have a page. Renames sections to match new page names.

Fixes #24208.
Fixes part of #24209 (bold, Italic, and link buttons).
Screenshots and screen captures:

https://zulip.com/help/format-your-message-using-markdown

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
[x] Automated tests.

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

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

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Links.

Thanks, this is great! I filed #24711 for integration review, and #24712 for the part I got stuck on.

@alya I rebased the PR to remove conflicts. Also, edits by maintainers are enabled so you can push changes directly to this PR if that helps.

@drrosa If you get a chance to rebase again, that'll be nice for continuing to move down the commits list next week. Thanks!

Hey @drrosa, could you write a brief summary so that the reviewer know about the current progress of this work?

@laurynmm would you be up for checking this out? I have a feeling that this is something important we want to merge.

Yeah, @drrosa just post a comment with the state of the PR and what's still here. It looks like a few of the original changes were moved to other PRs. I'm subscribed to get email alerts for this, so when I see that comment, then I'll do a revision pass.

We've been updating each section in Message formatting and adding dedicated pages. Going from the top of the page down, we've finalized/merged changes up to and including "/me action messages".
The commits in this PR correspond to the last four section/pages left to go, plus three small commits to update sidebar titles and related articles in other pages.

@zulipbot add "help center review"

Also, as a side note/question, what's determining the order of the left sidebar links? It's a bit confusing that they are ordered differently in the help/format-your-message-using-markdown page. But maybe that's just confusing when doing the review.

The ordering of the left sidebar pages was determined here https://github.com/zulip/zulip/pull/24265#issuecomment-1416686858. Yeah, it makes it a bit confusing, but I think it made it easier to make changes when we first started working on this. However, now that we are pretty much done with it, we can reorder the contents of the Message formatting page to match the Writing messages section in the left sidebar.

Finally, these could be follow-up issues:

I think the help/test-emphasis page is missing the "Examples" subheader?

Nice catch! I added a new commit to fix this issue.

The help/start-a-video-call page could probably use some intro text.

This one can be a follow-up. :)

@laurynmm Updated the PR to address your feedback.

@drrosa - Other than one small comma fix I noted, these changes look good to me.

@laurynmm Done!

Fixed the two issues noted above; the only user-visible change is this new text for the todo page:

@timabbott
I retested the to-do list feature just now, and I think there's a small bug. I noticed that if there's a new-line with additional content right after the /todo, the content will not be ignored and it will be sent as a regular message.
For example, the following message will not create the to-do list:
/todo
additional content

but if we add at least one   space character after the /todo, then the additional content will be ignored:
/todo
additional content


WIP: adding necessary changes to view as dark mode

While the code I created does appear as dark mode (when these specific elements are changed in index.css), the code is not actually differentiating between light/dark mode (yet).  Just doing this pull request so you can review how I did the changes.  If you run the code currently, it will appear normally (light mode) but I attached screenshots of what the webpage looks like when the dark mode values would be used so you can compare it to the current webpage!

Just adding a note that after adding changes to .less rather than .css, dark mode change is appearing now for index! Will continue working on changes for rest of pages.

Referring to @Imran-imtiaz48 comment -- my latest commit (final flyout fixes for darkmode) should reflect these changes already.  Unsure if maybe this check was done before I had committed that code but please let me know if I am missing anything else, thanks!

Hi @zoltan-dulac , there is a change request on July 11 that I cannot dismiss and in turn it is blocking the merge.  Wanted to see if it could be dismissed on your end.


pkg/scaffold/role,pkg/operator-sdk/new.go: generate role rules from helm chart

Description of the change:
When creating a helm-based project, parse the Helm chart templates to generate the role
Motivation for the change:
Instead of scaffolding a static role, which will likely have unnecessary rules and be missing necessary rules, we can generate the role rules dynamically from the chart templates.
This will enable operators to be generated with the correct RBAC rules for nearly all existing Helm charts.
/cc @dmesser @robszumski

This PR currently has a couple of rough edges (and probably others I haven't thought about):

Many Helm charts (at least 82 of 266 in the official stable repo) have templates for cluster-scoped resources (e.g. ClusterRole and ClusterRoleBinding), but this PR makes no attempt to discern between templates for namespace-scoped resources and cluster-scoped resources, and therefore groups all the rules together into either a Role or ClusterRole, depending on whether --cluster-scoped is set.
The result is that rules that need to be in a ClusterRole incorrectly end up in a Role when --cluster-scoped is not set.

To create a rule, we need the pluralized resource name, but all we have in the template is a GVK. This PR makes a best effort attempt to convert a kind to a resource, but some resources may have plural names that don't match our conversion.


Switch to git namespaces for remotes

To avoid needing to do ref rewriting when fetching specific branches or peers, we should switch to using git namespaces instead of the /remote/ hierarchy, inside of storage.

Closed via #37
I'll create follow-up issues after the storage RIP.


Faster exit from isTypeRelatedTo with identityRelation

Reduces the total compile time of the test in #36564 by about 6%.
Fixes #36564.

@typescript-bot run dt
@typescript-bot perf test this

@typescript-bot pack this

10-run average from the original machine shows a 7% improvement.  Very nice!

This change fixes a failure in checking in @types/mongoose of the form:
interface E {
    stack: string;
}
declare var y: E | undefined
declare var x: E;
var x = y; // error expected here, but none given
x.stack

It's very surprising to me that we didn't give an error here before. Note that we did give an error for number | undefined.

Maybe it's because we weren't strictly checking duplicate declaration sites before. Normal code like var x: E | undefined = y gives the error before this change.


Refactor GroupKeyReveal for multi-version support

Rename the existing GroupKeyReveal struct to GroupKeyRevealV0 and introduce a new GroupKeyReveal interface. This change enables adding new versions of GroupKeyReveal while retaining the V0 type for proper documentation of its behavior.
Support for GroupKeyReveal V0 will be preserved.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

55 of 59 (93.22%)  changed or added relevant lines in 10 files are covered.
72 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.04%) to 40.853%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

itest/assertions.go
0
1
0.0%

rpcserver.go
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/test/helpers.go
2
86.95%

commitment/tap.go
2
84.17%

tapchannel/aux_leaf_signer.go
3
43.43%

tapgarden/caretaker.go
4
68.5%

asset/asset.go
61
81.6%

Totals

Change from base Build<PHONE_NUMBER>7:
0.04%

Covered Lines:
25808

Relevant Lines:
63173

💛  - Coveralls


Help with file "zebrafish_cell_types_mapping"

hi,
Thanks for this great tool ！！！
I cannot find the file "zebrafish_cell_types_mapping" in the toturial:

https://github.com/snap-stanford/SATURN/blob/main/Vignettes/frog_zebrafish_embryogenesis/dataloader.ipynb
Could you help with this problem ?
Thanks !!!

https://github.com/snap-stanford/SATURN/blob/main/Vignettes/frog_zebrafish_embryogenesis/data/zebrafish_cell_types_mapping

thanks


Fix contentsafety readme table layout

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.

I would suggest making sure the README is looking good with the tool Michael recommended: https://learn.microsoft.com/en-us/nuget/nuget-org/package-readme-on-nuget-org#preview-your-readme


Initial review of predicates library

This is the initial commit of a predicates library, very loosely based on the Java Predicate type and modeled after the design of the futures library. Behavior is centered around a Predicate trait and associated primitives and combinators.
This PR won't actually be merged, merging into a fake branch is just an easy way to review the changes while still allowing me to have code on the master branch so I could check Travis and Appveyor settings. No crate has been pushed to crates.io yet, once this is reviewed I will push a 0.1 crate.
@posborne @azdle @tpmanley @varzac @pnelsen

Thanks for all the feedback guys! Squashed and creating the 0.1 crate now.


SF Local Cluster Support for Linux VM (wsl2) when systemd is not running as PID1

This features enables support for setting up SF Local cluster inside WSL2 based Ubuntu VM. Inside Ubuntu VM systemd is not running as PID1, this script change will enable that via system genie (by creating a separate namespace). Once genie is setup, installation of SF SDK happens inside the genie namespace and everything needs to be done inside genie namespace with respect to SF cluster and its management.

linux machine/VM - Installation, Cluster Setup, Cleanup, start, stop and connection work perfectly fine.
linux machine/VM using private runtime+SDK - while providing private bits, it creates an dependency issue (Depends: nodejs-legacy but it is not installable; Depends: libcurl3 (>= 7.16.2) but it is not going to be installed) and then pulls from repo. looking into this.
WSL VM - If systemd is not running, script sets up genie, Installation, Cluster Setup, Cleanup, start, stop and connection work perfectly fine.
WSL VM with genie using private SDK/runtime -  while providing private bits, it creates an dependency issue (Depends: nodejs-legacy but it is not installable; Depends: libcurl3 (>= 7.16.2) but it is not going to be installed) and then pulls from repo. looking into this.


Update Post “when-are-termites-most-active-on-the-gold-coast”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
4e4af1d88c696ae78a67d7f80429351c249f2bb0

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/6540aa789610bb00082994a5


Support per-config configTracker disable via ConfigMap/Secret annotation

This allows a user to annotate a specific ConfigMap or Secret to be disabled/ignored via the
configTracking logic that tracks config changes makes configuration copies for the primary Deploy
This is the minimum implementation necessary to support the use-case of using the same db or apiKey
secret for a Canary target. This allows these Secret values to change without triggering a new
Canary analysis. One example where this is helpful is with systems that auto-provision and rotate
secrets. Note the secret manager needs to be able to configure and preserve the flagger specific
annotation.
Annotating a configmap/secret will affect all Canaries with targets referencing them the same way.
Per Canary and per Target API's were discussed but seemed excessive.
We could not think of many scenarios where you would want to enable config-tracking for a specific
config in one workload but disable it for that same exact config in another workload.
It is still possible to implement these per-workload API's on top of this simpler mechanism in the future.
Closes #435

@stealthybox do we test if the disabled configs make in the primary deployment unchanged?

@stefanprodan thanks for noticing -- this was bugging me in the back of my head for the past few days.
I think I got lazy last week because the test didn't already have any structure to loop through volumes, mounts, etc.
I just added the relevant positive and negative checks for primary Volumes.
I skipped VolumeMounts because a real apiserver should fail a template spec that doesn't have matching volume names. The mock client doesn't do this sort of validation, but I'm pretty sure our e2e tests that run on the CI kind clusters would.
What do you think?


DataGrid: Add ability to set column SortDirection

It would be nice to be able to save and load the previous grid settings. However, there doesn't appear to be a way to set the SortDirection for a column right now.

Maybe could be solved with rework of IDataGridCollectionView #2412


Documentation Error - app.delete

Describe the bug
code example in Documentation for : https://tinyhttp.v1rtl.site/docs#appdelete is wrong, copied from documentation for app.put
app.put('/', (req, res) => {
  res.send(`${req.method || 'PUT'} request to homepage`)
})

should read
app.delete('/', (req, res) => {
  res.send(`${req.method || 'DELETE'} request to homepage`)
})

It's fixed now


Add missing dependency

npm install currently failing on new clone of project

Hey thanks for your PR, i cannot reproduce your issue though and babel-plugin-transform-es2015-modules-commonjs package should be included in babel-preset-philpl

Npm version issue: fails reliably on npm 2.x.x (node 4), succeeds reliably on npm 3.x.x (node 5, or with manual npm update). Up to you how you want to handle it :-)
➜  react-mapbox-gl git:(master) nvm use 4
Now using node v4.4.4
➜  react-mapbox-gl git:(master) npm -v
2.15.1
➜  react-mapbox-gl git:(master) npm install
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN peerDependencies The peer dependency browserify@>= 5 included from minifyify will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
|

<EMAIL_ADDRESS>install /Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-cli/node_modules/chokidar/node_modules/fsevents
node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-cli/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" is installed via remote

<EMAIL_ADDRESS>install /Users/michaelallan/discard/react-mapbox-gl/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents
node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/michaelallan/discard/react-mapbox-gl/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" is installed via remote

<EMAIL_ADDRESS>prepublish /Users/michaelallan/discard/react-mapbox-gl
npm run clean && npm run build

<EMAIL_ADDRESS>clean /Users/michaelallan/discard/react-mapbox-gl
rm -rf dist

<EMAIL_ADDRESS>build /Users/michaelallan/discard/react-mapbox-gl
babel src --out-dir dist

ReferenceError: Unknown plugin "babel-plugin-transform-es2015-modules-commonjs" specified in "/Users/michaelallan/discard/react-mapbox-gl/.babelrc" at 0, attempted to resolve relative to "/Users/michaelallan/discard/react-mapbox-gl"
at /Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/options/option-manager.js:220:17
at Array.map (native)
at Function.normalisePlugins (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/options/option-manager.js:196:20)
at OptionManager.mergeOptions (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/options/option-manager.js:317:36)
at OptionManager.addConfig (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/options/option-manager.js:248:10)
at OptionManager.findConfigs (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/options/option-manager.js:454:16)
at OptionManager.init (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/options/option-manager.js:502:12)
at File.initOptions (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/index.js:243:89)
at new File (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/file/index.js:159:72)
at Pipeline.transform (/Users/michaelallan/discard/react-mapbox-gl/node_modules/babel-core/lib/transformation/pipeline.js:49:16)
npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/michaelallan/.nvm/versions/node/v4.4.4/bin/node" "/Users/michaelallan/.nvm/versions/node/v4.4.4/bin/npm" "run" "build"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build: babel src --out-dir dist
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script 'babel src --out-dir dist'.
npm ERR! This is most likely a problem with the react-mapbox-gl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     babel src --out-dir dist
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs react-mapbox-gl
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls react-mapbox-gl
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/michaelallan/discard/react-mapbox-gl/npm-debug.log
npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/michaelallan/.nvm/versions/node/v4.4.4/bin/node" "/Users/michaelallan/.nvm/versions/node/v4.4.4/bin/npm" "install"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>prepublish: npm run clean && npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script 'npm run clean && npm run build'.
npm ERR! This is most likely a problem with the react-mapbox-gl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run clean && npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs react-mapbox-gl
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls react-mapbox-gl
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/michaelallan/discard/react-mapbox-gl/npm-debug.log
➜  react-mapbox-gl git:(master) ✗ rm -rf node_modules
➜  react-mapbox-gl git:(master) ✗ nvm use 5
Now using node v5.11.1
➜  react-mapbox-gl git:(master) ✗ npm -v
3.8.6
➜  react-mapbox-gl git:(master) ✗ npm install
// Success

Ok well let's merge it doesn't cost that much it's just a dev dependency


fix echo example

fix sendPositionAndLook (remove stance)
fix bot.entity.onGround
fix sending of packet settings

TYVM :smile:


username.toLowerCase

Express validator requires username isEmail() but is sensitive to differences in capitalization of the username string.
This pull request adds mongoose lowercase: true, parameter to UserSchema in server/models/user.js, which should ensure usernames are always stored in the db in lowercase, as well as adding .toLowerCase() to several client side views and/or apis for good measure.
If I create an account with the username<EMAIL_ADDRESS>I should still be able to login as<EMAIL_ADDRESS>

While testing these changes, I noticed difficulties with Safari Private Browsing mode. Trying to login with any valid username using Safari Private Browsing Mode results in simultaneous "Logged In" & "An Error Occurred" toasts. Routes that depend on being logged in seem to be inaccessible.
Safari's JS console eventually indicates 999+  warning messages, suggesting there is a loop in the routing logic of the app that is not resolving. It eventually emits the error QuotaExceededError: Dom exception 22.
Some quick googling suggests this has something to do with Safari Private Browsing Mode disabling access to local storage. Not sure if this qualifies as a serious bug. Most people probably don't try to use the wedding app in private browsing mode.

http://stackoverflow.com/questions/14555347/html5-localstorage-error-with-safari-quota-exceeded-err-dom-exception-22-an
http://stackoverflow.com/questions/21159301/quotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st

sorry for taking so long to get back!
that is a good idea 👍.
Is there any chance that the pull request can be changed to only include that commit instead?
wow that's a bit weird that you cannot access local storage, but your right it's probably not something that I would consider fixing.

done in dcbce1d


Problem with exit 0 in docker environment

runTest.coffee
```coffee
 50         mocha.run (failures) ->
 51           safelyExitWebdriver ->
 52             process.on 'exit', ->
 53               console.log "process exit"
 54             process.exit failures

What's the problem? Do you have more info?

Yeah, later pls - maybe at night ;-)

it's only my notice ;)

I re-watched the behavior of a defect appears again. and not confirmed.


Repo housekeeping

chore(.vscode): remove .vscode folder, this should not be part of version control
chore(.gitignore): ignore .vscode folder

lgtm!

oops reverted as it broke the tests

💥 Ouch, let me check that.

partially my fault as i didn't realise ci wasn't running for PRs from remotes 🤦
this might be a more involved fix - ci is using an orb which does the requirements for you. it's currently using the requirements.txt and i'm not if poetry is an option

There should be a solution for that, maybe something like this:
https://deployeveryday.com/2019/03/15/python-poetry-circle-ci.html

yep I'm sure there is! all I meant by "ci config needs to be rethought" is just that we need to rewrite it as it's currently relying quite heavily on an orb we can no longer use


Rename Split Directive to BinaryDecomposition

Problem
Currently split is not a descriptive name for what the directive is doing.
Solution
Rename Split to Binary decomposition or a more descriptive name.
Alternatives considered
(Describe any alternative solutions you have considered.)
Additional context
(If applicable.)

I think its better to do this as a separate PR as a general rule of thumb


Permissions not popping up

I'm using permissions.requestPermission(permission, successCallback, errorCallback); but nothing shows up. I an on android 13 and SDK 33.
var permissions = cordova.plugins.permissions;

permissions.requestPermission(permissions.CAMERA, success, error);

function error() {
  console.warn('Camera permission is not turned on');
}

function success( status ) {
  if( !status.hasPermission ) error();
}

Has a success callback but shows hasPermission: false without showing ability to grand permission.
Works fine in Android 12.

me too brother. :(

We've had no problems checking or requesting the CAMERA permission using this plugin and are also targeting SDK 13, and have tested this successfully on real Android 11, 12 and 13 devices, where we've then been able to access the camera after granting the permission.
Here are our relevant API level settings from config.xml:
    <preference name="android-minSdkVersion" value="30" />     <preference name="android-targetSdkVersion" value="33" />     <preference name="android-compileSdkVersion" value="33" />
Possibly if you don't have it, you may want to try changing the compileSdkVersion to 33 as well as the targetSdkVersion? Not sure if that will help but wouldn't hurt to try. Our minSdkVersion is just to limit our users to Android 11 or higher as we don't want to support earlier versions than that.
We also have these settings in the config.xml, that you will also need for the camera permission:
    <platform name="android">         <config-file parent="/*" platform="android" target="AndroidManifest.xml">             <uses-feature android:name="android.hardware.camera" android:required="false" />             <uses-permission android:name="android.permission.CAMERA" />         </config-file>     </platform>

Hi ppl,
Any workaround about this  ?
Im facing the same problem :
I do use permChecker.requestPermission(permChecker.CAMERA, success, err).
But, success callback is called and response in it indicates : {hasPermission: false} but isnt showing at all android perm asking popup.
But if i just ignore this plugin and allow android to handle it by itself, popup is showing and everything goes well.
My assumption is that maybe Android changed something in android 13 that now, prevent this plugin to show permission asking popup.
But im no native dev.
Any more ideas about this ?

Hi, i am facing the same problem with request permission (permission.WRITE_EXTERNAL_STORAGE) in Android 13,target SDK 33.It returns haspermission false always without asking permission pop. It's working fine in Android 12 or below. I have already upgraded my target and compile SDK version to 33 . Any solution or workaround?

android-targetSdkVersion:33
android-compileSdkVersion:33
Android: 13
I have the same problem.
requestPermissions() doesn't show permission popup.

Same problem here.
requestPermissions() doesn't show permission popup.
Any workaround about this ?
android-minSdkVersion" value="22"
android-targetSdkVersion" value="33"
android-compileSdkVersion" value="33"

Same problem, no error.
Cordova android 10.1.2
android-targetSDKVersion=33
android-minSdkVersion=30
android-compileSdkVersion=33

Hi all,
just in case this helps someone:
I had the same issue where I couldn't get the Camera permission to pop up and the solution pretty much was what Neil suggested in this post.
The plugin cannot request permissions that aren't declared in AndroidManifest.xml
To my surprise, cordova-plugin-camera doesn't actually use the Camera permission, as they don't use the Camera directly.
So I've had to add the permission semi-manually. To my config.xml, I've added the following:
<config-file parent="/manifest" target="AndroidManifest.xml">
   <uses-permission android:name="android.permission.CAMERA" />
</config-file>

After that, I received aapt error while building, the solution to that was to modify the <widget> tag in the config.xml
I've added the following attribute to the <widget> tag:
xmlns:android="http://schemas.android.com/apk/res/android"
All credit goes to Neil and this post:
https://github.com/NeoLSN/cordova-plugin-android-permissions/issues/84
Thank you guys for solving this headache for me.
Also, I'm on cordova-android 11.0.0

Hi, thank you all for participating in this beautiful plugin.
I would appreciate it if you guys can help me out here. I'm using ionic 7 on android 13 with this plugin. However, the when trying to read a file from the External filesystem, i get this error:
'Error launching app update Please grant read external storage permission'.
Then when I try to run this code:
`const permissions = cordova.plugins.permissions;
console.log(permissions);
await permissions.checkPermission(permissions['READ_EXTERNAL_STORAGE'], async checkResult => {
console.log(checkResult);
if (!checkResult.hasPermission) {
    await permissions.requestPermission(permissions['READ_EXTERNAL_STORAGE'], async requestResult => {

        console.log(requestResult);

    }, err => {
        console.log('err', err);
    });

} else {
    console.log(`already granted`);
}

}, err => {
console.log('err', err);
});`
I get {hasPermission: false} on both has and requestPermission. I already have defined the permission in my AndroidManifest.xml
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />     <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
Same result with REQUEST_INSTALL_PACKAGES. I have no idea what to do here, I've been stuck on this for 2 days now straight. Any insight or help would be greatly rewarded with appreciation :3

READ_EXTERNAL_STORAGE doesn't exist from API level 33.

Sorry guys for late , here is the solution
I think we need to keep adding that for every persmission we gonna use from now on
<platform name="android">

  <config-file parent="/*" platform="android" target="AndroidManifest.xml">
        <uses-feature android:name="android.hardware.camera" android:required="false" />
        <uses-permission android:name="android.permission.CAMERA" />
    </config-file>

....


Correction for raw affiliation Motion analysis service, Physical Medicine and Rehabilitation, Teaching Hopital of Nantes, France; Nantes Université, Movement - Interactions - Performance, MIP, UR 4334, F-44000 Nantes, France; School of Health & Society, The University of Salford, UK

Correction needed for raw affiliation Motion analysis service, Physical Medicine and Rehabilitation, Teaching Hopital of Nantes, France; Nantes Université, Movement - Interactions - Performance, MIP, UR 4334, F-44000 Nantes, France; School of Health & Society, The University of Salford, UK
raw_affiliation_name: Motion analysis service, Physical Medicine and Rehabilitation, Teaching Hopital of Nantes, France; Nantes Université, Movement - Interactions - Performance, MIP, UR 4334, F-44000 Nantes, France; School of Health & Society, The University of Salford, UK
new_rors: 03gnr7b55;01tmqtf75;04q2ax456
previous_rors: 03gnr7b55;01tmqtf75
works_examples: W4386134300
contact: 66a457d805d4544d0f0e99881239ad61:d0af11384fcf2d055a0c7a623a8e7e @ univ-nantes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


update number of reactions and comments

hello we all know that Number of reactions and comments is updated everyday so does facebook_page_scraper offer this possibility to update .
and my second question is can we scrap comments as a text with the name of the user who commented?
thanks

It just scrapes whatever is there on the front end.
No, such a feature does not exist.

please if i want to change names of fields of json result how to do it?

@ihabpalamino It is returning a dictionary with a key whose value is the post's data. So, if you want to change the field right from the source code, you can tweak scraper.py file


GenerateForm calls Enum.ToString

Sampling data from BasicViews - percentages are relative to time spent in the view

Notice here that calling Enum.ToString and all of the things that it does are more expensive than generating the URL in routing. It's half as expensive as generating an antiforgery token, which does crypto....

a73db1a


SideMenu Pod File Error

Not able to Install the Dependency from POD
I used this command in Pod
target 'MyApp' do
pod 'SideMenu', '~> 2.2'
end
[!] Unable to satisfy the following requirements:

SideMenu (~> 2.2) required by Podfile

None of your spec sources contain a spec satisfying the dependency: SideMenu (~> 2.2).
You have either:

out-of-date source repos which you can update with pod repo update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

2.2.0

Jon Thank you
I just tried 2.2.0
My Pod file is
target 'SideBar' do
pod 'SideMenu', '~>2.2.0'
end
!] Unable to satisfy the following requirements:

SideMenu (~> 2.2.0) required by Podfile

None of your spec sources contain a spec satisfying the dependency: SideMenu (~> 2.2.0).
You have either:

out-of-date source repos which you can update with pod repo update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.
I recieved the same error.
thank you

Does it work without the version requirement?

thanks it works without the version requirement.
Appreciate the help


initial policy controller update

What
Adds reconciler for policy to cmd/main.go  and incorporate commonPredicateFilters
How
WIP
Breaking Changes
WIP

@OfTheDelmer to update for NgrokTrafficPolicy name change
@Abdiramen to review if predicates are doing all that's necessary


Feat/add install packages schematic

Description

Schematic to facilitate the installation of packages regardless of the project's package manager.
Related Issue

#95
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

After conversations with @inigomarquinez, we agreed not to have a schematic for installing packages.


Added PocketCasts.app v1.0

PocketCasts.app is an OSX wrapper to be able to use the PocketCasts web player in a separate application. This makes it able to use play/pause keys on your keyboard, which is not possible using the normal web player.

You need to brew upgrade periodically. The cask as existed for over two months.
Yours is incomplete, in comparison, so I suggest you take a look at it anyway. You’re also infering the license without data, as far as I can tell.


rm open in cloud notebook until tested there, also fix open links to …

…use community for now
If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

This does two things:  1) I removed the "open in cloud notebook" button at the top because I haven't tested there yet and don't want to release it until it's been verified (I will put it back once I've verified it's working). 2) For the remaining open in Github and Open in Colab buttons, I'm changing the path to reflect community instead of official.


stem base

add stem base (PO:0008039 part of stem) for gall locations like in Loxalus illinoisensis

added


array: remove S.pluck

I don't see a compelling reason to provide a shorthand for map + prop but not for map + get. I also don't find the shorthand clearer:
S.map (S.prop ('foo'))

S.pluck ('foo')

The problem with the shorthand is that I forget which of the two possible combinations it is short for. ;)

I used map(prop('foo')) the other day thinking that Sanctuary wouldn't have pluck (it seems a bit contrary to the simplistic nature of Sanctuary)…then was surprised when I scrolled past it later. I didn't update my code…so I think 👍  from me too ;)

Ha. You've had it in for this function from pretty much day one, David.


Door unlock service/switch for VTO2211G

I can't find any switch or service related to unlocking door after adding VTO2211G. How to achieve this ?

I need to build this in. I don't currently have a way to test it, which is why I didn't include it yet. I'll add support for this and ask if you can test it for me.

i am ready to help

0.9.7 is released that adds a service to open doors via a VTO.
With the UI

With YAML
service: dahua.vto_open_door
data:
  door_id: 1
target:
  entity_id: camera.cam13_main

Service is working fine!

Hello,
Do you know how can I convert this service into a switch button to show in Lovelace and HomeKit ?
Thank you


return false; in libspdm_rsp_measurements.c should be changed to return libspdm_generate_error_response(.

the following line 352 return false; in libspdm_rsp_measurements.c should be changed to return libspdm_generate_error_response(.
https://github.com/DMTF/libspdm/blob/83cbb2fd450e67a60e7e549069b595905099e637/library/spdm_responder_lib/libspdm_rsp_measurements.c#L351-L353
just like in libspdm_rsp_challenge_auth.c
https://github.com/DMTF/libspdm/blob/83cbb2fd450e67a60e7e549069b595905099e637/library/spdm_responder_lib/libspdm_rsp_challenge_auth.c#L188-L193

Related discussion : https://github.com/DMTF/libspdm/discussions/1391.


MNIST Example

Thank you for the excellent work! I wanted to ask if it's possible to conduct toy experiments using the MNIST dataset. As you know, MNIST is a standard dataset used in image classification tasks.
Thanks!

what is the number of variables?
pixel level?
224224?
10241024 for HR img task?
It seems like not a good idea, not the proper scenario, e2e using it directly, is the dimension too high?

what is the number of variables? pixel level? 224_224? 1024_1024 for HR img task? It seems like not a good idea, not the proper scenario, e2e using it directly, is the dimension too high?
if me: conv/CNN or patch/ViT to small number, eg <100, then KAN.
another related issue: #9

MNIST images are of the size 28x28, relatively small.
I haven't read the paper carefully yet, but I think we need more research to generalize KAN to vision

I made basic test on MNIST https://github.com/KindXiaoming/pykan/pull/57 though it gives me segmentation fault on cuda or with larger than 28*28, 25,10 networks

It should be possible to apply convolution with https://pytorch.org/docs/stable/generated/torch.nn.Unfold.html and use relatively small KAN

I trained a ClassicMLP model on MNIST with an input size of 784, hidden layer sizes of [128, 64], and an output size of 10. This model was trained using the Adam optimizer with a learning rate of 0.001. It achieved an accuracy of approximately 93.93% on the test set.
Regarding the KAN model, I used a basic architecture with a single hidden layer of size 128 and an output layer of size 10, similar to the ClassicMLP output layer. I trained the KAN network using the same Adam optimizer and learning rate. It achieved a higher accuracy of around 97.03% on the test set.
Have you tried any optimizations or experimented with different architectures to address the memory issue with your KAN model?

I trained a ClassicMLP model on MNIST with an input size of 784, hidden layer sizes of [128, 64], and an output size of 10. This model was trained using the Adam optimizer with a learning rate of 0.001. It achieved an accuracy of approximately 93.93% on the test set.
Regarding the KAN model, I used a basic architecture with a single hidden layer of size 128 and an output layer of size 10, similar to the ClassicMLP output layer. I trained the KAN network using the same Adam optimizer and learning rate. It achieved a higher accuracy of around 97.03% on the test set.
Have you tried any optimizations or experimented with different architectures to address the memory issue with your KAN model?

Hello @goknurarican , Can you please share the demo code, especially for KAN model on MNIST. Because the current pykan model can hardly fit in the GPU with large dimensions like 768. I am curious how you did that?

What is the network architecture?   [784:2828,   128,   10]？   directly flat 2828 to 768?
grid  and  k?   k=3?   grid?


Allow identity bindings

Bindings of this form do not appear to work:
this.Bind(this.ViewModel, x => x, x => x.foo.bar);

That is, the x => x appears to cause the binding to fail.
Investigate whether we can enable this scenario.

It reminds me of what I'm currently using:
var subscriptionForViewModel = this.WhenAnyValue(x => x.ViewModel)
   .Where(x => x != null);
// with
subscriptionForViewModel
   .Subscribe(x => Grade.DataContext = x);
// or
subscriptionForViewModel.BindTo(this, x => x.DataContext);

What is the suggested approach? I tried once to use that approach for using Xaml Binding instead of numerous this.Bind() and didn't work for me either. The only approach that works are either of the two mentionned above.


[camera/image_proc-2] process has died

I have a error message when I execute roslaunch turtlebot3_autorace_instinsic_camera_calibration.launch
process[republish-1]: started with pid [3405]
process[camera/image_proc-2]: started with pid [3406]
/opt/ros/kinetic/lib/image_proc/image_proc: error while loading shared libraries: libopencv_calib3d3.so.3.2: cannot open shared object file: No such file or directory
[camera/image_proc-2] process has died [pid 3406, exit code 127, cmd /opt/ros/kinetic/lib/image_proc/image_proc _approximate_sync:=true image_raw:=image __name:=image_proc __log:=/home/burger/.ros/log/ccdd3c4e-9ba4-11e8-9c4b-000c29da7948/camera-image_proc-2.log].
log file: /home/burger/.ros/log/ccdd3c4e-9ba4-11e8-9c4b-000c29da7948/camera-image_proc-2*.log
I think is libopencv_calib3d3.so.3.2 course this error,but I can't solve it.
How do I solve this?

Hi @DGCHAO :)
What is your ROS version?? and have you used opencv before?

Thank you reply me.My ROS version is kinetic.This is my first time using OpenCV.I want reinstall of opencv3.If I look into /opt/ros/kinetic/lib, i see libopencv_calib3d.so, libopencv_calib3d.so.3.3, and libopencv_calib3d.so.3.3.1, but not what I need libopencv_calib3d.so.3.2 .

Hi @kijongGil
Unfortunately, I still have not solved this problem.  I have tried several methods, update ubuntu, create a 3.2 to 3.3 soft connection, and modify ld.so.conf.I can't find a way.

I'm sorry for late reply.
It is hard to answer about opencv. I recommend formatting ubuntu and installing ROS according to the following manuals.
http://emanual.robotis.com/docs/en/platform/turtlebot3/pc_setup/#install-ubuntu-on-remote-pc

Thank you

I have solved the problem.I create a symlink from libopencv_calib3d3.so.3.3 to libopencv_calib3d3.so.3.2.It is work now.


[AutoPR deploymentmanager/resource-manager] Add deploymentmanager/resource-manager/readme.typescript.md

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4178

(message created by the CI based on PR content)


Improve Toastify Design and Aesthetics

Improve Toastify Design and Aesthetics
Issue Description
Objective:
Enhance the design and aesthetics of the Toastify notifications in the MyLibrary project to improve user experience and visual appeal.
Tasks:

[ ] Evaluate the current Toastify design and identify areas for improvement.
[ ] Implement a more visually appealing and user-friendly notification design.
[ ] Consider using custom styles, animations, or transitions to enhance the notifications.
[ ] Ensure that notifications are consistent with the project's overall design theme.
[ ] Test the improved Toastify design on various devices and browsers.

Additional Information (Optional):
You are also allowed to use any other toastify library other than react-toastify for enchancements.
Acceptance Criteria

[ ] Toastify notifications have an improved and visually appealing design.
[ ] Notifications are easy to read and understand.
[ ] The improved design is consistent with the project's overall aesthetics.
[ ] Toastify notifications are responsive and work well on different devices and browsers.

Contribution Guidelines
Please refer to our Contributing Guidelines for information on how to contribute to this design improvement task.
Timeline
The timeline for improving the Toastify design and aesthetics is flexible, but we encourage timely completion to enhance the user experience of MyLibrary.
Let's make MyLibrary's notifications look and feel better!

Hi @suryanshsingh2001, I would like to work on this issue.

@Pinaka-Pani-18 Sure, I have assigned the issue. You can start working on it. Do share your working gif for the toastify in your PR to simplify PR review. Happy Coding 🧑💻

Hi @suryanshsingh2001, I couldn't find the package.json file, which is why I couldn't install the Node modules needed to start the project.

Hi @suryanshsingh2001, I haven't made any changes in the project, but I'm encountering this error upon running the project. Please take a look at the screenshot below. Do you have any insights on the cause of this error or how to resolve it?

Could you share the code snippet of App.jsx, BookList.jsx and Header.jsx of your local clone.

Hi @suryanshsingh2001, I haven't made any changes in the project, but I'm encountering this error upon running the project. Please take a look at the screenshot below. Do you have any insights on the cause of this error or how to resolve it?

Sorry for the inconvenience, I could not able to complete this issue.

No problem @Pinaka-Pani-18

Hey @suryanshsingh2001 can i work on this project?
i have worked on such design intrusive projects and I would be super happy to contribute to the project

Hey @suryanshsingh2001 can i work on this project? i have worked on such design intrusive projects and I would be super happy to contribute to the project

i have worked on such design intrusive projects and I would be super happy to contribute to the project
Go ahead, assigned you the issue!

Gentle Reminder ⏰
Hi! When you're assigned an issue, please note that if there's no activity for over 7 days, we may need to unassign it to ensure project progress. This helps keep things moving smoothly.
Thank you for your understanding! 🙏

Unassigning @Sauhard74 due to inactivity.


Renames to pynxtools

I closed #88 to work from a clean repo.
As agreed in the TF meeting yesterday we rename nexusutils to pynxtools.
Wherever we refer the package we use pynxtools (in lower case). When we state it somewhere in free from text we use pyNXtools.
@shabihsherjeel Do you think we should use pyNXtools in the name in pyproject toml. Then people would need to pip install pyNXtools and import pynxtools. I typically prefer all lowercase, so I don't need to use the shift keys but I think it comes down to preference.
For now I only replaced everything to the lower case variant and we may can update it as soon as we move this repo and fix the urls (mainly in the readme).
I also claimed pynxtools on pypi already (therefore the version 0.0.999 is not available anymore 😎)
Publishing should only be done after moving to the FAIRmat-NFDI organization.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

89 of 90 (98.89%)  changed or added relevant lines in 39 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.897%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/dataconverter/test_readers.py
5
6
83.33%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4142

Relevant Lines:
7410

💛  - Coveralls

I vote for keeping it all lower case for things like pip install, etc. We can use pyNXtools for titles to Readme's, papers, etc. This is also not a necessity or rule. It just looks easier to read quickly.
So to answer concisely: No. We shouldn't use pyNXtools in the name in pyproject.toml.


[AUTO-MERGE] Merge main into develop via merge-main-to-develop

A new change in main cannot be merged into develop as part of the regular sync job in private-kedro-sync, hence this PR. Please resolve the conflicts manually, and make sure to obtain 2 approvals once the builds pass.
IMPORTANT NOTICE
Please let private-kedro-sync merge this PR automatically, with merge commit enabled.

Go to #1120 instead...


zh: Add config change example

What is changed, added or deleted? (Required)
Add an example for updating task config.

Which TiDB Data Migration (DM) version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v2.0 changes for now)
[x] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

@csuzhangxc @kissmydb PTAL

@toutdesuite PTAL


Create a Contact component

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Contact/contact-3.html
If you need to use any icon please use it from Hero Icons
Good luck.

@Rajdip019  assign me this issue ..

@Rajdip019  I have made this component and already sent you pr please check it


Streaming full example

I wrote a full example for streaming. It may be useful for others. not 100% sure on folder layout.

This looks perfect! I should add some non-streaming examples as well. Thank you for your contributions!