[ocaml5-issue] Windows failures on threadomain

We have also observed failures on Windows on the threadomain test combining Domains and Threads.
Here is a fresh occurrence on 5.0.0~beta1:
https://github.com/jmid/multicoretests/actions/runs/3487203320/jobs/5834552533
random seed: 152027115
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 15, characters 0-113:
15 | (rule
16 |  (alias runtest)
17 |  (package multicoretests)
18 |  (deps threadomain.exe)
19 |  (action (run ./%{deps} --verbose)))

(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
random seed: 450754698

This exits with a weird exit code -1073741819

This was previously observed on #179 - also on the Windows 5.0.0~beta1 combination and with the same symptom of a weird exit code:
https://github.com/jmid/multicoretests/pull/179#issuecomment-1315796191

Following @dra27, I wrote a dummy executable to trigger a segfault:
PS> .\a
PS> echo $LASTEXITCODE
-1073741819

(-1073741819 is 0xc0000005, by the way).

(-1073741819 is 0xc0000005, by the way).

Which is access violation / segfault 👍

Saw what looks like a deadlock and a 6 hour timeout on threadomain on Windows 5.0.0+trunk - with none of the previous tests haven taken substantial amounts of time:
https://github.com/jmid/multicoretests/actions/runs/3497938069/jobs/5857667163
random seed: 528980161
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   52    0    0   52 /  500    60.4s Mash up of threads and domains
[ ]  106    0    0  106 /  500   [120](https://github.com/jmid/multicoretests/actions/runs/3497938069/jobs/5857667163#step:8:121).6s Mash up of threads and domainsTerminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

Again experienced a likely deadlock and a 6 hour timeout on threadomain, Windows, 5.0.0+trunk
https://github.com/jmid/multicoretests/actions/runs/3516210001/jobs/5892468944
random seed: 392404446
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   59    0    0   59 /  500    60.7s Mash up of threads and domains
[ ]  119    0    0  119 /  500   120.8s Mash up of threads and domains
[ ]  167    0    0  167 /  500   182.1s Mash up of threads and domains
[ ]  219    0    0  219 /  500   244.4s Mash up of threads and domainsTerminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

Another likely deadlock and 6 hour timeout on threadomain, Windows, 5.0.0~beta1
https://github.com/jmid/multicoretests/actions/runs/3521871766/jobs/5904199298
random seed: 345763773
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   53    0    0   53 /  500    60.2s Mash up of threads and domains
[ ]  100    0    0  100 /  500   123.1s Mash up of threads and domains
[ ]  157    0    0  157 /  500   183.4s Mash up of threads and domainsTerminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

A Windows crash on Windows 5.0.0+beta2
https://github.com/jmid/multicoretests/actions/runs/3564269738/jobs/5988029211
random seed: 156968988
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 15, characters 0-113:
15 | (rule

16 |  (alias runtest)

17 |  (package multicoretests)

18 |  (deps threadomain.exe)

19 |  (action (run ./%{deps} --verbose)))

(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

#227 just saw 3 timeouts on Windows - 2 on 5.0.0+trunk and 1 on 5.0.0+beta2:
https://github.com/jmid/multicoretests/actions/runs/3566575435/jobs/5993194133
https://github.com/jmid/multicoretests/actions/runs/3566535700/jobs/5993100329

Triggered again on Windows 5.0.0~beta2
https://github.com/jmid/multicoretests/actions/runs/3575340404/jobs/6011752541
random seed: 102722974
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 15, characters 0-113:
15 | (rule

16 |  (alias runtest)

17 |  (package multicoretests)

18 |  (deps threadomain.exe)

19 |  (action (run ./%{deps} --verbose)))

(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

Spotted again on Windows 5.0.0~beta2
https://github.com/jmid/multicoretests/actions/runs/3584338103/jobs/6030878640
random seed: 284870337
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   56    0    0   56 /  500    61.4s Mash up of threads and domains
[ ]  120    0    0  120 /  500   123.0s Mash up of threads and domains
[ ]  187    0    0  187 /  500   183.4s Mash up of threads and domains
[ ]  259    0    0  259 /  500   244.5s Mash up of threads and domains
[ ]  318    0    0  318 /  500   304.9s Mash up of threads and domains
File "src/threadomain/dune", line 15, characters 0-113:
15 | (rule

16 |  (alias runtest)

17 |  (package multicoretests)

18 |  (deps threadomain.exe)

19 |  (action (run ./%{deps} --verbose)))

(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]  377    0    0  377 /  500   365.0s Mash up of threads and domains

Likely deadlock on Windows 5.0.0+trunk causing 6h timeout:
https://github.com/jmid/multicoretests/actions/runs/3590624408/jobs/6044204690
random seed: 273255058
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   46    0    0   46 /  500    61.4s Mash up of threads and domains
Fatal error: exception User interruption
[ ]  100    0    0  100 /  500   121.7s Mash up of threads and domainsTerminate batch job (Y/N)?
^C
Error: The operation was canceled.

Another Windows 5.0.0+trunk crash observed:
https://github.com/jmid/multicoretests/actions/runs/3600691148/jobs/6065625839
random seed: 304025706
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 15, characters 0-113:
15 | (rule

16 |  (alias runtest)

17 |  (package multicoretests)

18 |  (deps threadomain.exe)

19 |  (action (run ./%{deps} --verbose)))

(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

TImeout again after 6h on Windows 5.0.0+trunk:
https://github.com/jmid/multicoretests/actions/runs/3602179393/jobs/6068821426
random seed: 501902873
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
^CFatal error: exception User interruption
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
Error: The operation was canceled.

Timeout after 6h on Windows 5.0.0+trunk:
https://github.com/jmid/multicoretests/actions/runs/3603978829/jobs/6072823161
random seed: 114004587
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   60    0    0   60 /  500    60.6s Mash up of threads and domainsTerminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

Same test failing on Windows 5.0.0+trunk - but in this one the symptom is different:
https://github.com/jmid/multicoretests/actions/runs/3615216149/jobs/6092171452
random seed: 289823404
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
Fatal error: Fatal error during lock: Invalid argument

File "src/threadomain/dune", line 15, characters 0-113:
15 | (rule

16 |  (alias runtest)

17 |  (package multicoretests)

18 |  (deps threadomain.exe)

19 |  (action (run ./%{deps} --verbose)))

(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code 3.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

Crash observed on Windows 5.0.0~beta2
https://github.com/ocaml-multicore/multicoretests/actions/runs/3618483166/jobs/6098392996
random seed: 57119427
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 15, characters 0-113:
15 | (rule

16 |  (alias runtest)

17 |  (package multicoretests)

18 |  (deps threadomain.exe)

19 |  (action (run ./%{deps} --verbose)))

(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

For the record, deadlock observed locally (mingw64 non-debug version, on powershell) with the following backtraces for the (only!) 4 threads:
Thread 4 (Thread 5116.0x1e2c):
#0  0x00007ff90e610bb1 in ntdll!DbgBreakPoint () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#1  0x00007ff90e63cc2e in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#2  0x00007ff90cd274b4 in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/System32/KERNEL32.DLL
#3  0x00007ff90e5c26a1 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 5116.0xa64):
#0  0x00007ff90e60dc14 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#1  0x00007ff90c120460 in WaitForMultipleObjectsEx () from /cygdrive/c/Windows/System32/KERNELBASE.dll
#2  0x00007ff90c12035e in WaitForMultipleObjects () from /cygdrive/c/Windows/System32/KERNELBASE.dll
#3  0x00007ff636cc9eb8 in do_sema_b_wait_intern (sema=sema@entry=0xbc, nointerrupt=nointerrupt@entry=0, timeout=timeout@entry=4294967295) at /usr/src/debug/mingw64-x86_64-winpthreads-10.0.0-1/src/cond.c:647
#4  0x00007ff636cca1f6 in do_sema_b_wait (val=0x1a86a1463f8, cs=0x1a86a1463d0, timeout=4294967295, nointerrupt=0, sema=0xbc) at /usr/src/debug/mingw64-x86_64-winpthreads-10.0.0-1/src/cond.c:606
#5  do_sema_b_wait (sema=0xbc, nointerrupt=0, timeout=4294967295, cs=0x1a86a1463d0, val=0x1a86a1463f8) at /usr/src/debug/mingw64-x86_64-winpthreads-10.0.0-1/src/cond.c:596
#6  0x00007ff636cca81c in pthread_cond_wait (c=c@entry=0x7ff636d92be0 <all_domains+32>, external_mutex=0x7ff636d92bd8 <all_domains+24>) at /usr/src/debug/mingw64-x86_64-winpthreads-10.0.0-1/src/cond.c:461
#7  0x00007ff636cbf2cd in caml_plat_wait (cond=cond@entry=0x7ff636d92be0 <all_domains+32>) at runtime/platform.c:111
#8  0x00007ff636caaa33 in backup_thread_func (v=0x7ff636d92bc0 <all_domains>) at runtime/domain.c:957
#9  0x00007ff636cccdc3 in pthread_create_wrapper (args=0x1a86a0d3cc0) at /usr/src/debug/mingw64-x86_64-winpthreads-10.0.0-1/src/thread.c:1533
#10 0x00007ff90d2faf5a in msvcrt!_beginthreadex () from /cygdrive/c/Windows/System32/msvcrt.dll
#11 0x00007ff90d2fb02c in msvcrt!_endthreadex () from /cygdrive/c/Windows/System32/msvcrt.dll
#12 0x00007ff90cd274b4 in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/System32/KERNEL32.DLL
#13 0x00007ff90e5c26a1 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 5116.0x13a0):
#0  0x00007ff90e60d744 in ntdll!ZwDelayExecution () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#1  0x00007ff90c11b03e in SleepEx () from /cygdrive/c/Windows/System32/KERNELBASE.dll
#2  0x00007ff636c95af0 in st_msleep (msec=50) at /cygdrive/c/opam/5b2/.opam-switch/build/ocaml-variants.5.0.0~beta2/otherlibs/systhreads/st_win32.h:24
#3  caml_thread_tick (arg=<optimized out>) at /cygdrive/c/opam/5b2/.opam-switch/build/ocaml-variants.5.0.0~beta2/otherlibs/systhreads/st_pthreads.h:300
#4  0x00007ff636cccdc3 in pthread_create_wrapper (args=0x1a87a392960) at /usr/src/debug/mingw64-x86_64-winpthreads-10.0.0-1/src/thread.c:1533
#5  0x00007ff90d2faf5a in msvcrt!_beginthreadex () from /cygdrive/c/Windows/System32/msvcrt.dll
#6  0x00007ff90d2fb02c in msvcrt!_endthreadex () from /cygdrive/c/Windows/System32/msvcrt.dll
#7  0x00007ff90cd274b4 in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/System32/KERNEL32.DLL
#8  0x00007ff90e5c26a1 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#9  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 5116.0x1e60):
#0  0x00007ff90e60d1c4 in ntdll!ZwWriteFile () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
#1  0x00007ff90c105136 in WriteFile () from /cygdrive/c/Windows/System32/KERNELBASE.dll
#2  0x00007ff90d2e0007 in msvcrt!_write () from /cygdrive/c/Windows/System32/msvcrt.dll
#3  0x00007ff90d2dfb67 in msvcrt!_write () from /cygdrive/c/Windows/System32/msvcrt.dll
#4  0x00007ff636cc5d1a in caml_write_fd (fd=1, flags=<optimized out>, buf=buf@entry=0x1a86a0902ac, n=75) at runtime/win32.c:123
#5  0x00007ff636cb6795 in caml_flush_partial (channel=channel@entry=0x1a86a090260) at runtime/io.c:248
#6  0x00007ff636cb7548 in caml_flush (channel=<optimized out>) at runtime/io.c:263
#7  caml_ml_flush (vchannel=<optimized out>) at runtime/io.c:763
#8  0x00007ff636cc9487 in caml_c_call ()
#9  0x000001a87a1c7f90 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thanks! The fewer threads the better! :sweat_smile:

Thread 3 looks like a backup thread (backup_thread_func)
Thread 2 looks like a tick thread (caml_thread_tick)
Thread 1 looks like it is printing/flushing

I suspect Thread 4 is starting up a new pthread?

Is it possible to access and inspect caml_state through gdb?
Could this be related to the race reported in #11800 on ocaml/ocaml?

I think I understood from an analysis by @dra27 of another sets of backtraces that thread 4 is just gdb.
Putting myself in the context of thread 1, I unfortunately get:
(gdb) p caml_state
Missing COFF symbol "caml_state".

but maybe there’s a smart way to know where it is located?

#11800 is supposedly about the debug runtime. This trace is in the normal (not debug) runtime.

Thread 1 is trying to display:
0x1a86a0902ac:  "\033[2K\r[ ]  181    0    0  181 /  500   120.5s Mash up of threads and domains (generating)"

As I don’t understand just how such a write could block, I wonder how ANSI sequences such as "\033[2K" are actually dealt with here.

#11800 is supposedly about the debug runtime. This trace is in the normal (not debug) runtime.

AFAIU, the debug runtime is the same runtime - just running with additional assertions enabled.
So I was wondering whether it could be the same bug showing up with different symptoms - assert failure under debug runtime (catching the problem earlier) - or deadlock under regular runtime :shrug:

This should be the caml_state of the only domain running at that moment.
(gdb) p *all_domains[0].state
$12 = {young_limit =<PHONE_NUMBER>3709551615, young_ptr = 0x1a86a34f7a8, young_start = 0x1a86a150000, young_end = 0x1a86a350000,
  current_stack = 0x1a86a037550, exn_handler = 0x1a86a03f370, action_pending = 0, c_stack = 0x90bd3ff920, stack_cache = 0x1a86a14ef30,
  gc_regs_buckets = 0x1a86a03f8c0, gc_regs = 0x1a86a03f8c0, minor_tables = 0x1a86a14eda0, mark_stack = 0x1a86a147ab0, marking_done = 0,
  sweeping_done = 0, allocated_words = 0, swept_words = 0, major_work_computed = 0, major_work_todo = 0, major_gc_clock = 0,
  local_roots = 0x90bd3ff8a0, ephe_info = 0x1a86a14eed0, final_info = 0x1a86a14ee50, backtrace_pos = 0, backtrace_active = 0,
  backtrace_buffer = 0x0, backtrace_last_exn = 1, compare_unordered = 0, oo_next_id_local = 21, requested_major_slice = 0,
  requested_minor_gc = 0, requested_external_interrupt = 1, parser_trace = 0, minor_heap_wsz = 262144, shared_heap = 0x1a86a0270d0, id = 0,
  unique_id = 0, pools_to_rescan = 0x1a86a14ef00, pools_to_rescan_len = 4, pools_to_rescan_count = 0, dls_root =<PHONE_NUMBER>176,
  extra_heap_resources = 0, extra_heap_resources_minor = 0, dependent_size = 0, dependent_allocated = 0, extern_state = 0x0,
  intern_state = 0x0, stat_minor_words = 3228687, stat_promoted_words = 1804365, stat_major_words = 1804389, stat_minor_collections = 1850,
  stat_forced_major_collections = 0, stat_blocks_marked = 1158945, inside_stw_handler = 0, trap_sp_off = 0, trap_barrier_off = 0,
  trap_barrier_block = 0, external_raise = 0x0, extra_params = {1822847990936,<PHONE_NUMBER>952,<PHONE_NUMBER>53832, 0 <repeats 61 times>}}

Timeout observed again on Windows 5.0.1+trunk
https://github.com/ocaml-multicore/multicoretests/actions/runs/3735075361/jobs/6337885090
random seed: 368379199
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   53    0    0   53 /  500    60.3s Mash up of threads and domainsTerminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

Another timeout on Windows 5.0.1+trunk:
https://github.com/ocaml-multicore/multicoretests/actions/runs/3743623784/jobs/6356003585
random seed: 277335132
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

A timeout in spawntree on Windows 5.0.0:
https://github.com/ocaml-multicore/multicoretests/actions/runs/3751703370/jobs/6373017120
random seed: 241483421
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  100     0.0s domain_spawntree - with Atomic
[ ]    0    0    0    0 /  100     0.0s domain_spawntree - with Atomic (generating)
Fatal error: exception User interruption
[ ]    7    0    0    7 /  100    65.7s domain_spawntree - with AtomicTerminate batch job (Y/N)?
^C

I suspect it might be the same cause, as many test runs let me think that the failures in threadomain come from stressing domains and not so much interactions with threads.

Seeing a crash on Threadomain with Windows trunk:
https://github.com/ocaml-multicore/multicoretests/actions/runs/3760352114/jobs/6390963989
random seed: 152292718
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

Seen a segfault in that test in Windows bytecode version 5.0.0 + PR11846 :face_with_spiral_eyes:
https://github.com/shym/multicoretests/actions/runs/3967786934/jobs/6800154168#step:12:55
random seed: 177187292
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

Seen a deadlock in Windows (native) 5.0.0 + PR 11846.
https://github.com/ocaml-multicore/multicoretests/actions/runs/3987032890/jobs/6836314978#step:12:135
Mon, 23 Jan 2023 14:02:38 GMT random seed: 337066981
Mon, 23 Jan 2023 14:02:38 GMT generated error fail pass / total     time test name
Mon, 23 Jan 2023 14:02:38 GMT
Mon, 23 Jan 2023 14:02:38 GMT [ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
Mon, 23 Jan 2023 14:03:39 GMT [ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
Mon, 23 Jan 2023 14:04:40 GMT [ ]   60    0    0   60 /  500    60.3s Mash up of threads and domains
Mon, 23 Jan 2023 14:05:40 GMT [ ]  119    0    0  119 /  500   121.5s Mash up of threads and domains
Mon, 23 Jan 2023 14:06:40 GMT [ ]  199    0    0  199 /  500   181.8s Mash up of threads and domains
Mon, 23 Jan 2023 14:07:42 GMT [ ]  246    0    0  246 /  500   241.8s Mash up of threads and domains
Mon, 23 Jan 2023 14:08:43 GMT [ ]  300    0    0  300 /  500   303.6s Mash up of threads and domains
Mon, 23 Jan 2023 19:50:10 GMT Fatal error: exception User interruption
Mon, 23 Jan 2023 19:50:10 GMT [ ]  366    0    0  366 /  500   364.5s Mash up of threads and domainsTerminate batch job (Y/N)?

Unfortunately PR11846 doesn’t solve this issue (by itself) then :disappointed:

Also seen as a segfault in bytecode trunk:
https://github.com/ocaml-multicore/multicoretests/actions/runs/3987032916/jobs/6836314822#step:12:55
random seed: 505129918
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.

OK, so there are still Windows issues unfortunately :grimacing:
Thanks for sharing!

Another crash observed on Windows bytecode 5.1 (hence relevant for the alpha-release):
https://github.com/ocaml-multicore/multicoretests/actions/runs/4849421922/jobs/8641391089
random seed: 466384513
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]   28    0    0   28 /  500    64.3s Mash up of threads and domains

I just observed another Windows 5.1 bytecode crash:
https://github.com/ocaml-multicore/multicoretests/actions/runs/5091518467/jobs/9151642800
random seed: 248611567
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

This continues to be an issue:
Last week there was a timeout on Windows trunk:
https://github.com/ocaml-multicore/multicoretests/actions/runs/5135424612/jobs/9240822390
random seed: 344189993
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
^CFatal error: exception User interruption
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
Error: The operation was canceled.

5 days ago there was a timeout on Windows 5.1.0~alpha2:
https://github.com/ocaml-multicore/multicoretests/actions/runs/5157992356/jobs/9291108160
random seed: 385703878
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

2 days ago a timeout on Windows 5.1.0~alpha2:
https://github.com/ocaml-multicore/multicoretests/actions/runs/5173787097/jobs/9319394555
random seed: 48318362
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

Observed another crash under Windows bytecode trunk 5.2
https://github.com/ocaml-multicore/multicoretests/actions/runs/5283892319/jobs/9560725030
random seed: 249675082
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   37    0    0   37 /  500    63.4s Mash up of threads and domains
[ ]   66    0    0   66 /  500   125.3s Mash up of threads and domains
[ ]  100    0    0  100 /  500   185.9s Mash up of threads and domains
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]  132    0    0  132 /  500   247.2s Mash up of threads and domains

Another timeout on Windows trunk 5.2
https://github.com/ocaml-multicore/multicoretests/actions/runs/5480068079/jobs/9982759106
random seed: 149217258
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
Fatal error: exception User interruption
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
^C
Error: The operation was canceled.

Observed another crash on Windows bytecode 5.1.0~beta1:
https://github.com/ocaml-multicore/multicoretests/actions/runs/5510563743/jobs/10044949590?pr=372
random seed: 390921558
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   37    0    0   37 /  500    61.8s Mash up of threads and domains
[ ]   87    0    0   87 /  500   124.5s Mash up of threads and domains
[ ]  126    0    0  126 /  500   185.7s Mash up of threads and domains
[ ]  167    0    0  167 /  500   247.7s Mash up of threads and domains
[ ]  209    0    0  209 /  500   308.5s Mash up of threads and domains
[ ]  242    0    0  242 /  500   369.6s Mash up of threads and domains
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]  279    0    0  279 /  500   430.0s Mash up of threads and domains

Timeout observed again on Windows 5.1 bytecode on the merge of #376 into main:
https://github.com/ocaml-multicore/multicoretests/actions/runs/5558724001/jobs/10154146278
random seed: 46092605
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

A crash was seen again on Windows MingW 5.1.0~rc1 after merging #381 to main
https://github.com/ocaml-multicore/multicoretests/actions/runs/5888043985/job/15968483011
random seed: 277479185
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741819.
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)

Another instance of the lock syndrom, on Windows bytecode 5.1 RC1:
https://github.com/ocaml-multicore/multicoretests/actions/runs/6025647307/job/16346804851?pr=387#step:18:88
random seed: 50131246
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
Fatal error: Fatal error during lock: Invalid argument

Fatal error: Fatal error during unlock: Operation not permitted

File "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code 3.

Timeout seen again on MingW bytecode 5.1 yesterday on merging #390 to main:
https://github.com/ocaml-multicore/multicoretests/actions/runs/6093487147/job/16533243721
random seed: 294174862
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   22    0    0   22 /  500    61.6s Mash up of threads and domains
[ ]   47    0    0   47 /  500   123.2s Mash up of threads and domains
[ ]   74    0    0   74 /  500   184.1s Mash up of threads and domains
[ ]  101    0    0  101 /  500   246.0s Mash up of threads and domains
[ ]  130    0    0  130 /  500   308.0s Mash up of threads and domains
[ ]  157    0    0  157 /  500   370.0s Mash up of threads and domains
[ ]  179    0    0  179 /  500   431.6s Mash up of threads and domains
[ ]  211    0    0  211 /  500   492.8s Mash up of threads and domains
[ ]  242    0    0  242 /  500   554.1s Mash up of threads and domains
Fatal error: exception User interruption
[ ]  264    0    0  264 /  500   614.1s Mash up of threads and domainsTerminate batch job (Y/N)?
^C
Error: The operation was canceled.

This triggered twice on the 0.3 branch on both Win bytecode 5.1 and trunk/5.2
5.1 https://github.com/ocaml-multicore/multicoretests/actions/runs/6481561494/job/17599327572
random seed: 48067126
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   26    0    0   26 /  500    60.8s Mash up of threads and domainsTerminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

trunk/5.2 https://github.com/ocaml-multicore/multicoretests/actions/runs/6481561482/job/17599327577
random seed: 509542723
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)Terminate batch job (Y/N)?
^CFile "src/threadomain/dune", line 4, characters 7-18:
4 |  (name threadomain)
           ^^^^^^^^^^^
(cd _build/default/src/threadomain && ./threadomain.exe --verbose)
Command exited with code -1073741510.
Fatal error: exception User interruption
Error: The operation was canceled.

The merge of 0.3 to main triggered a timeout again on  Win bytecode trunk:
https://github.com/ocaml-multicore/multicoretests/actions/runs/6483174713/job/17604168009
random seed: 530080289
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   27    0    0   27 /  500    62.0s Mash up of threads and domains
[ ]   52    0    0   52 /  500   122.2s Mash up of threads and domains
[ ]   80    0    0   80 /  500   183.1s Mash up of threads and domains
[ ]  106    0    0  106 /  500   243.4s Mash up of threads and domains
[ ]  135    0    0  135 /  500   304.1s Mash up of threads and domains
[ ]  160    0    0  160 /  500   369.7s Mash up of threads and domains
[ ]  184    0    0  184 /  500   430.0s Mash up of threads and domains
[ ]  208    0    0  208 /  500   490.2s Mash up of threads and domains
[ ]  235    0    0  235 /  500   550.8s Mash up of threads and domains
[ ]  262    0    0  262 /  500   611.5s Mash up of threads and domainsTerminate batch job (Y/N)?
^CFatal error: exception User interruption
Error: The operation was canceled.

On the branch restoring support for MSVC (e55a77a30699ef15ce23bc2d53d9500d40b0aa8c), livelock with the bytecode version:
random seed: 442357763
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
...
[ ]   77    0    0   77 /  500   687.5s Mash up of threads and domains
[ ]   82    0    0   82 /  500   748.8s Mash up of threads and domains
Error: The operation was canceled.

(with more than 3 hours between the last two lines) and with the native version:
random seed: 339093797
generated error fail pass / total     time test name

[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains
[ ]    0    0    0    0 /  500     0.0s Mash up of threads and domains (generating)
[ ]   76    0    0   76 /  500    60.1s Mash up of threads and domains
[ ]  172    0    0  172 /  500   121.1s Mash up of threads and domains
^C
[ ]  256    0    0  256 /  500   181.2s Mash up of threads and domains
Error: The operation was canceled.

(again with more than 3 hours between the last two lines).
Logs:

bytecode: https://github.com/shym/multicoretests/actions/runs/6625683272/job/18010158542
native: https://github.com/shym/multicoretests/actions/runs/6625683265/job/17997110303

Closing this long-standing issue as this has been fixed in ocaml/ocaml#12882 :tada:
More details are available in https://github.com/ocaml/ocaml/issues/12230#issuecomment-1989081101


run short fuzzing and valgrind in github action

This is a github action CI job aiming to make sure that bugs that are easy to find through fuzzing are detected already at the pull request stage.
If this job runs successfully, it means that

the fuzzers are possible to build in a number of variants (with/without avx, with/without sanitizers)
the corpus can be executed by the fuzzers, without problems
the corpus can be executed by a reproduce build, executed through valgrind
easy to find test cases not already in the corpus, are added to the corpus for the next run by storing them externally

To get this running, github actions needs to be enabled, and the password for logging in to bintray needs to be set (let's exchange that via email, or possibly make me an admin on this repo).
It is possible to see this in action over here: https://github.com/pauldreik/simdjson/commit/5879f251f51495051a6440258fab1a83783c76ca/checks?check_suite_id=305885237
I intended to let this run both on push, pull requests and as a cron job on master but I am not sure if I succeeded.

Thanks for the elevated rights, unfortunately I do not seem to be able to add github actions. Could you please visit https://github.com/features/actions and press "sign up for the beta" button?
Thanks

Done.


clarify requirements regarding PCR tests in Testcenter

How to adjust Schnelltestportal to enable PCR tests in Testcenter.

enable Testcenter in usermanagement?
add PCR test indicator in record patient data?
adjust record test results to describe used PCR test for DCC and non-DCC? Adjust result value range.
adjust API to consume new values
adjust backend integration
adjust PDF

Fragestellungen zur PCR Integration
GG_Integration PCR Test in das Portal.docx

Done


Is checkpoint_blocks used properly?

Seems checkpoint_blocks is fully used in evoformer forward()
https://github.com/aqlaboratory/openfold/blob/24118e804535515398e77010e11b1312f6ff1b62/openfold/model/evoformer.py#L574
but in first few recycles, grad is disabled, is it still necessary to put checkpoint_blocks there, it may impact performance a bit.
or add another check together, e.g.
m, z = checkpoint_blocks(
blocks,
args=(m, z),
blocks_per_ckpt=self.blocks_per_ckpt if self.training and torch.is_grad_enabled() else None,
)

Good catch. Fixed in a14e83.

same change with me in my local repo.


Inconsistencies for this page

When running this sample (in the Postgresql part) I spent some time fixing things to make app work. I leave my experiences for others that can run info the same problems:

Specify hibernate.dialect in persistence.xml file (to PostgreSQLDialect)
Remove @Past annotation from the Customer model bean (field birthdate) - error java.Date....
Remove Cascade section from Country field from annotation in Address model bean
Finally to have shopping basket working., add or uncomment the lines passing "cid" parameter to Xtml pages. Otherwise converstion id will not be propagated and customer basket can have 1 item type at most

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

ID: 264b32e3-9a21-233f-0056-b5bd970b47f2
Version Independent ID: 5e09b057-afba-d0a0-6fc0-94a78edd539f
Content: Tutorial: Java Enterprise app on Linux - Azure App Service
Content Source: articles/app-service/containers/tutorial-java-enterprise-postgresql-app.md
Service: app-service
GitHub Login: @JasonFreeberg
Microsoft Alias: jafreebe

Hi @maciek-polakowski, thanks for sharing what worked for you. We are sure it will be helpful to others.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Change blog to Nuxt,js, Alpine Theme

change blog to nuxt.js, alpine theme

@AFzOfficial #approved


Cloud Support?

I'd like to run this in the cloud, does this have Cloud Support?

nocode is cloudless

there's no code, therefore no computing resource is needed, therefore no cloud computing resource is needed to deploy nocode, and therefore nocode is deployed on all clouds already, as lim(x->0)(x/x) == 1.

more generally, nocode is deployed on every single computer in the world.
(with a serious face)


Naming the Higher Kinded Field Pattern

@belevy proposed a concept in #5 which parameterizes each field by a type constructor - this allows anyone to promote a plain Haskell record into an HKD record.
This has the form:
newtype T f rec = T (forall ty. Field rec ty -> f ty)

fromT :: (Applicative f, Record rec) => T f rec -> f rec
fromT (T k) = tabulateRecordA k

toT :: (Applicative f, Record rec) => rec -> T f rec
toT rec = T \field -> pure $ getRecordField field rec

Along with a variety of helper functions.
Ben uses the name Record and qualifies it in a Prairie.Advanced, so you'd write Advanced.Record and Advanced.zipWith etc.
This was independently derived at Mercury with the name Decorated.
@evanrelf suggested Wrap.
@mixphix suggested Prairie and Cases.
I'd like to discuss the name that we give this type here.

Reddit discussion: https://www.reddit.com/r/haskell/comments/1cn7ebc/naming_request_hkd_functionality_in_prairie/?
Twitter: https://twitter.com/mattoflambda/status/1788225146030866882

I do like Prairie as a pun - I think it's my favorite. But it does kind of suggest that the point of prairie the-library is Prairie-the-type, and I feel like the real point is the Record class and all the power it permits (ie diff and update and the fact that the [Update rec] sort of types can be serialized and deserialized). The higher-kinded thing is almost an accidental bonus.
If I'm riffing off of it, though,

Prairie, Records, "Higher Kinded"
What is "higher" than the prairie? Sky? Mountain?
A Valley is a field surrounded by "higher" elevation?
What is kinder than a prairie? A - idk - a farm? a pasture?

There's also the notion of Distributed. Distributing something over a field. Cropduster ? 😅

Is argument order up for bikeshedding? I personally think "record first in the type, last in the type applications" makes the most sense: T doesn't vary over the Record, it varies over the type constructor.

Sure, though I think that should be it's own discussion, unless we intend to come up with a "pronounceable" name where the type variable ordering matters. I think I am more concerned with the possible type class instances that we may lose - I'm unsure if we can write instance Functor (T f) for example, and I really don't know what instances are available for a kind Type -> (Type -> Type) -> Type.

Not a fan of using a pun for the name.
RecordF is probably best non qualified name option. I'm fine with Decorated as well.
I'm definitely not attached to Advanced since it's not really very informative as to what it's doing.
Perhaps RecordA for Applicative is better than RecordF.


Clean up and initial fix for exact restart - classic driver

This PR is addressing part of issue #479 .
Changes related to exact restart:

Raised ascii state variable outputs to %.16g
Added the prognostic state var energy.Tfoliage to write and read in the state file

Clean up:

Cleanly separated state and flux variables in vic_def.h and print_library_shared.c

In initialize_*.c, all state and flux variables are now initialized to zero (before some were missing); in initalize_soil.c, moved computation for derived variables into compute_derived_state_vars.

In 1compute_derived_state_vars, only computed the four variables when FROZEN_SOIL=TRUE`:
energy.Cs_node
energy.kappa_node
energy.moist
energy.ice

@yixinmao - I'm made a few minor comments.   Once you've cleaned thigs up here, ping @tbohn for the next review.

@jhamman I should have addressed all your comments (thank you!). @tbohn do you want to take a look at the current version again?

@yixinmao I've finished looking it over.  Other than my 2 comments, it looks good.  This is of course an important improvement in making the restarts more accurate.  It also helps clean up the code, which will help us maintain the code in the future.


More react-native default mocks

Also added aa mockComponent convenience function.
This adds new and improved default mocks for:

View
Image
ListView
ScrollView
TextInput
ActivityIndicator

Current coverage is 62.14% (diff: 0.00%)

Merging #1516 into master will decrease coverage by 0.74%

@@             master      #1516   diff @@
==========================================
  Files            97         98     +1
  Lines          3660       3704    +44
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2302       2302
- Misses         1358       1402    +44
  Partials          0          0

Powered by Codecov. Last update f162c7c...7748e88


[Remote Store] Initial upload after bootstrap

Is your feature request related to a problem? Please describe.
On bootstrap, there is an initial cluster state is created. But at this time the remote repositories are not yet available. We need to either initialize the repositories before the initial cluster state publish or skip the upload of initial cluster state.

Covered here: https://github.com/opensearch-project/OpenSearch/pull/9665


Make clear that two step confirmation branch is from extension

Make it blindingly obvious that the two step confirmation storylet is from an extension and not an in-game feature; this led to a very confused discussion on Discord today. Also fixes a small grammar issue and the game instructions formatting

Oof, I never thought it would come to this.
Will it be okay to update it to show "Small Mercies say: " as I did for FL Quirk Master?
Those square brackets really break the immersion for me :(


MidiCaps demo

@dorienh @elchico1990 @Dapwner @ismirsubmission198
Hey guys,
So I have made a demo for MidiCaps dataset:
https://huggingface.co/spaces/asigalov61/LAKH-MIDI-Dataset-Search
Feel free to add it to your project README.
Any feedback or suggestions would be very much appreciated.
Sincerely,
Alex

Amazing, very cool!


Use Bash's improved Conditional Expressions [[ instead of [. Formatted some code.

What this PR does / why we need it:
Changed code to use Bash's improved Conditional Expressions [[ instead of [.
Since all the modified are supposed to run as Bash Scripts, its better to use Bash's new and improved conditional expressions. Makes the code simpler and more intuitive.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
This is just to improve quality of code.

@lxfontes Why is the DCO failing here? As per the discussion that happened here, I have put up the email as<EMAIL_ADDRESS>I don't understand what exactly do I need to put as email in DCO. The above email was working the litmus repo but not working here.

Check #1564.


TextFormField has a bug cannot reinput on SamSung device

Hi Flutter developers team, i have an issue for your help.
When i clear all phone number, i cannot reinput again. This bug only occurs when keyboardType is TextInputType.phone. With other type, the bug has not happen. I tested on SamSung Note 8 device. Pls check it by video below. Thanks!
https://user-images.githubusercontent.com/27793997/122022849-33837e00-cdf1-11eb-97f9-c4857c226399.mp4

Hi @sondo65
Can you please provide your flutter doctor -v, a complete reproducible minimal code sample, and complete flutter run --verbose logs running the minimal code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


dragging tabs to split inside pycharm fails

Loving hyprland! thank you so much for your efforts,
I'm starting to use this as a daily driver and am having minimal issues, but just noticed this
Steps to reproduce:

Open pycharm
Open project
Open two files
Drag tab to right hand side to split window vertically (within pycharm)

Expected outcome:

pycharm should split the the files, one left, one right

Noted outcome:

when dragging the tabs, it automatically drops the tab focus, and it splits horizontally inside pycharm

Happy to provide any logs requested.
Note there is a work around, right clicking on a tab and spiting that way does work, so not a huge issue.
installed versions if this helps:
pycharm-professional 2022.2.1-1
hyprland 0.18.0beta-1
waybar-hyprland-git r2301.d2b4076a-1
Also tried on different monitors at different resolutions, just to make sure it wasn't monitor/resolution

have you set the windowrule (adjust the name of the class accordingly?
windowrulev2 = windowdance,class:^(jetbrains-.*)

JetBrains IDE's now have experimental Wayland support
Please try the versions in their Early Acess Program and see if they fix this issue.
Relevant Download links:
https://www.jetbrains.com/idea/nextversion/
https://www.jetbrains.com/pycharm/nextversion/
https://www.jetbrains.com/go/nextversion/

works
https://youtu.be/b-IdvHynyys


Bluetooth: controller: nRF21540 FEM support for nRF52x and nRF53x Series

Added nRF21540 FEM support for nRF52x and nRF53x Series.
Thanks to @bjornspock for the FEM contributions and @auroraslb for the DPPI refactoring.

Fixes #24142.
Contains cherry-picked commit from @auroraslb PR: #30732

@cvinayak this FEM configuration needs to be in Devicetree, not in Kconfig. @KAGA164 might have some input here.

I agree with @carlescufi  the FEM hardware configuration like pins should be in the device tree. We already have bindings for the nRF21540 FEM in the Zephyr. Also the FEM configuration is added to the nrf21540dk_nrf52840 dts file https://github.com/zephyrproject-rtos/zephyr/blob/a4f0ca8649065101efc628dab8fd6fbe62954b94/boards/arm/nrf21540dk_nrf52840/nrf21540dk_nrf52840.dts#L113 and https://github.com/zephyrproject-rtos/zephyr/blob/a4f0ca8649065101efc628dab8fd6fbe62954b94/boards/arm/nrf21540dk_nrf52840/nrf21540dk_nrf52840.dts#L216. I would like to add also a support for nrf21540EK which is currently in the PR #31523 but it seems to be blocked because we have only use case for it in the NCS not in the Zephyr. The BLE Controller should automatically enable support for FEM if its configuration is in the devicetree then we could easy build samples for nrf21540dk and also when the EK shield is used we could enable it when west build is invoked

@carlescufi and @KAGA164 This PR is collection of other authors works. I do not have the knowledge or time in the near future to rework, there is already a related issue https://github.com/zephyrproject-rtos/zephyr/issues/30708, if someone wants to work on it, they can use this PR as base and add commits to port to DTS macros.

@auroraslb or @KAGA164 could you please pick this up and rework it accordingly?

@auroraslb or @KAGA164 could you please pick this up and rework it accordingly?

@carlescufi does that mean I should not work on #30708? Just clarifying.

@carlescufi This PR is relatively big in terms of feature support, should be reviewed as-is and merged. The DT porting should be addressed in #30708, which can be done by @mbolivar and I can assist in its review and testing.
Hope the functional changes in this PR gets some reviews, else this is now entering the merge conflicts due to other PRs modifying the files common to this PR.

@auroraslb or @KAGA164 could you please pick this up and rework it accordingly?

@carlescufi does that mean I should not work on #30708? Just clarifying.

Sorry for the delay. No, apparently no one is working on that, so you can feel free to pick that up in fact.

@mbolivar-nordic @anangl @rugeGerritsen @KAGA164 could you please review?


chore: add build and test scripts for the qwik-ci

seems like tests are failing

@shairez looks like snapshot testing in the repo fails depending on the environment, because it works on my local and in the codespaces. I'll debug and ping you once done

@shairez looks like snapshot testing in the repo fails depending on the environment, because it works on my local and in the codespaces. I'll debug and ping you once done

Thanks buddy! 🙏


doc/stdenv: fix build

https://hydra.nixos.org/build/128037886/nixlog/1/tail
error: element "variable" not allowed anywhere

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

The manual builds, not sure why the action isn't working.


Selectors in the ui are not working

The problem
When i click on the button to select a character or any other selector like set value, it chages the dialogic editor to the 2d editor
To Reproduce
Add any funcion, that has a selector,  like a text event and click the selector to change the character
Expected behavior
It should display the correspondent list of elements
Screenshots
https://media.giphy.com/media/VoDdKeYSsAOBmg6Yay/giphy.gif
System (please complete the following information):

OS: Win 10
Godot Version: 3.3.2
Dialogic Version: 1.2

Possible fixes
Godot console threw:
WARNING: BaseButton's Enabled Focus Mode property has been deprecated due to redundancy and will be removed in Godot 4.0. Please use Control.set_focus_mode instead.

I downladed the souce from the repo, the last commit was "making the character optional to make script timelines easier" and now i works

Hey @delleloper thanks for writing it down. Afaik both emilio and I have encountered this bug. But it always goes away if you disable and enable the plugin once or twice, so I really have no idea what it could be.
If anyone has an idea what could be the issue, please make us know.

I hope this error will go away magically when we simplify and refactor most of the elements. But it seems to be an issue with how Godot instanced scenes work on plugin (tool) scripts. My guess is that it fails to get the proper references when initialized and it automatically fails when they try to populate the dropdowns. We will see what can be done 😩

If it's an issue with Godot, has it been reported there?

We are still not sure what the source of the issue is, but every time I encounter a Godot bug I report it on the official repo 👍🏻

I got the same problem recently,
After testing several cases, it seems that in my case it only happens if a node of my 2D scene is selected when I try to select the character.
In the case where no node is selected, the selection works without problem.
Although I don't know if this is a general case or only mine

This was fixed in the version 1.2.5, I will do an official release either today or tomorrow :)


Graph datapoint optimisations (make it faster, etc)

Swiping to next sensor is a bit laggy for example. Let's discuss how to make graphs more smooth in general first and if cannot, maybe we will disable the animation between moving different sensors by pressing the arrow icons.

Handled on card https://github.com/ruuvi/com.ruuvi.station/issues/1245


removed TemplateResponseMixin (and template) from SignatureCallbackView

proposed fix for #53

@smcoll can you rebase this PR, for the CI ?

@zebuline done, but it looks like some keys are missing for CI

#62 should fix encrypted vars issue for travis. Can you rebase again ?

@zebuline it doesn't look like that resolved it

@smcoll there is some errors (real errors :) ): https://travis-ci.org/novafloss/django-docusign/builds/146654583
AttributeError: 'SignatureCallbackView' object has no attribute 'render_to_response'

@zebuline you're right.  i think i resolved that, but i'm still seeing authentication errors in the build.

@smcoll Yes, it is a feature :/
Travis does not send encrypted vars to "untrusted" builds (PR from forks). I have to fetch your branch in this repo (https://github.com/novafloss/django-docusign/tree/53-remove-templateresponsemixin); it will relaunch the build "push".

Yeah, the build passed !
Thx @smcoll for your work.


Fix incorrect version on resource parameter

Closes #5812
In addition to resolving the issue in 5812, several tests that were not being run have been fixed.

@barhodes - CR version 3.3.1 is released with those changes.


Globalizing the toolkit

Provide log messages for different locales via unique message ids: German (de_DE), French (fr_FR), Italian (it_IT), Spanish (es_ES). Brazilian Portuguese (pt_BR), Japanese (ja_JP), Simplified Chinese (zh_CN), Russian (ru_RU), Traditional Chinese (zh_TW), Korean (ko_KR).
#17

Task completed in branch master and v1.1.0_m


net: sockets: use z_finalize_typed_fd() to identify as sockets

Fill-in the mode field of the fd_entry so that the implementation can be made aware that the specific file descriptors created are sockets.
This PR should go in after #73799. Just the last commit is relevant here.

rebased - @rlubos @jukkar @nandojve


update treebank data to normalized version

We're still using the original Alpheios treebank data, which uses some now non-standard tagging that Arethusa's configuration doesn't understand.
E.g. verb participles were tagged with 't' for part of speech instead of 'v'
(See ἐμπρέποντας in  urn:cts:greekLit:tlg0085.tlg005 at sentence id 2185285 word id 35)

It seems there are sentence renumbering changes in at least some of the PerseusDL files so it can't be a wholesale replacement. May have to do this as we find discrepancies.
For the moment I have replaced the "t" postag with "v" (participles to verbs)

@monzug general regression testing of treebank functionality is required before release.

in the same text, there is also  φέρουσαν   which is also a verb participle but we do not longer say it in pop-up and compare to release we are missing the inflection icon.
screenshots from release for  φέρουσαν   and    ἐμπρέποντας

same verbs in texts-test env

ah, this is an unfortunate difference in the way the treebank and morpheus deal with participles.
Morpheus defines the pofs of the inflection as verb participle, and the mood as participle. The treebank defines the pofs of the inflection as verb and the mood as participle.
I think we could have the inflection code handle this scenario and provide the right inflection table.

Alpheios Components 3.3.0-qa.20200522457

this looks ok in text env Alpheios Embedded Library 3.1.6-qa.20200514440
Alpheios Components 3.3.0-qa.20200522457


HTTP cursor authentication the same as Substreams API key

Ref: https://github.com/pinax-network/substreams-sink/issues/18

[ ] Header X-Api-Key

Moved cursor logic outside of substreams-sink


test: Rpc queue unit tests for sending, receive, send parameters, and invoking at the appropriate update stage

The following pull request is for the migration of the RPC Queue tests from the netcode-scaledemo over to the MLAPI repository.
This Rpc Queue tests the following (with no network connection):

Sending and Receiving pipeline to validate that both sending and receiving pipelines are functioning properly.
Usage of the ServerRpcParams.Send.UpdateStage and ClientRpcParams.Send.UpdateStage functionality.
Rpcs receive will be invoked at the appropriate NetworkUpdateStage.

One testing cycle will send a ServerRpc and ClientRpc per NetworkUpdateStage.
This test performs two testing cycles.
This test will fail if:
It cannot instantiate the NetworkingManager.
If all tests are not completed within 30 seconds.
If any rpc update stage does not match with the originating value, server received value, and client received value.

@NoelStephensUnity — all the things I annotated are minor :) you wanted me to nit-pick, so I did :P


Unable to Verify using Github

Unable to Verify using Github
To Reproduce

Go to 'https://opencollective.com/opensource/apply/intro'
Click on 'Verify using GitHub'
Click on 'Approve'
See error

Error response from api
{
    "error": {
        "code": 500
    }
}

cc @gustavlrsn

@dreygur I'm not able to reproduce this error. Can you confirm if it is still occurring?

It's not occurring anymore

@dreygur thank you for the confirmation. Closing this issue.


feat(planning_error_monitor): read params from yaml

Description

Add a planning_error_monitor param yaml file.
This feature enables planning_error_monitor to read some parameters from above yaml file.
This is so that abobe parameters can be changed in other projects.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@kazuki527
can you rebase to awf:main ?

@kazuki527
Thankyou , can you also add PR for tier4/autoware_launcher?


Change the lang when changing language

Right now it's always <html lang="en">

Hasn't been an issue so far. Let's close this.

Could this be an issue for screen readers (i.e. maybe they’d switch the voice to one for a particular language)?


[Discussion] Add more connection failure tracking and tests.

Unlikely to be correct, but if the ConnectPlan is the right place, then a few more questions.

Are there more places for routeDatabase.failed?
Where should routeDatabase.connected be called?
Which exceptions indicate serious problems?

RealConnection.trackFailure doesn't look right for HTTP/2.

Only failure from disabling the RouteDatabase tracking prior to this
CallTest[jvm] > readTimeoutFails()[jvm] FAILED
    java.lang.AssertionError:
    Expecting actual not to be null
        at okhttp3.RecordedResponse.assertCode(RecordedResponse.java:61)
        at okhttp3.CallTest.readTimeoutFails(CallTest.kt:1023)


CORS-Error while loading code snippets from github

The demo site throws a cors error while loading the code snippets from gihub.

Hi,
Thank you for reporting this.
I have made some changes please let me know if you are still having issues.
Regards Joakim

Now its working fine. Thank you.


Requiring rspec/autorun when running RSpec via the rspec command is deprecated.

I tried to run all specs just with simple rspec command ( I am using binstubs).
Requiring `rspec/autorun` when running RSpec via the `rspec` command is deprecated.  Called from ~/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/activesupport-4.1.0.rc1 \ /lib/active_support/dependencies.rb:247:in `require'.
Is there already any "official" solution for that deprecation message?
This is fresh Rails (4.1.0.rc1) project.
    rspec-collection_matchers (0.0.3)
      rspec-expectations (>= 2.99.0.beta1)
    rspec-core (3.0.0.beta2)
      rspec-support (= 3.0.0.beta2)
    rspec-expectations (3.0.0.beta2)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (= 3.0.0.beta2)
    rspec-mocks (3.0.0.beta2)
      rspec-support (= 3.0.0.beta2)
    rspec-rails (3.0.0.beta2)
      actionpack (>= 3.0)
      activemodel (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
      rspec-collection_matchers
      rspec-core (= 3.0.0.beta2)
      rspec-expectations (= 3.0.0.beta2)
      rspec-mocks (= 3.0.0.beta2)
      rspec-support (= 3.0.0.beta2)
    rspec-support (3.0.0.beta2)

@dredozubov  Fix, Thank you!


[Hotfix]: Fix Select Readonly State

This PR fixes select readonly state not being peresent.

FS-216


test: use sinon and sinon-chai for unit tests

uses sinon and sinon-chai
for unit testing
@youennf what do you think? I also noticed that the legacy createAnswer technically doesn't have answer options... see issue over on webrtc-pc

LGTM!


feat: Improve reported stats in the Loop example

Incorporate stats from lift, join, adding timings for each step.
$ target/release/examples/loop --join

|     Cycles |   Segments |       Exec |      Prove |       Lift |       Join |   Duration |        RAM |       Seal |      Speed |
|         64 |          1 |     18.4ms |      1.25s |      2.21s |        0ns |      3.47s |    962.6MB |    215.3kB |    18.9khz |
|        128 |          1 |     20.7ms |      2.33s |      2.25s |        0ns |       4.6s |    962.6MB |    238.3kB |    28.5khz |
|        256 |          1 |     23.9ms |      4.55s |      2.21s |        0ns |      6.78s |     1.68GB |      250kB |    38.6khz |
|        512 |          1 |     30.3ms |      8.65s |       2.2s |        0ns |     10.88s |     3.36GB |    262.2kB |    48.2khz |
|         1k |          1 |     41.5ms |     18.78s |      2.25s |        0ns |     21.07s |     6.72GB |    275.5kB |    49.8khz |
|         2k |          2 |      110ms |     38.72s |      4.55s |      2.35s |     45.73s |     6.72GB |      551kB |    45.9khz |
|       4.1k |          4 |    220.5ms |     1:16.8 |      8.91s |      7.12s |       1:33 |     6.72GB |      1.1MB |    45.1khz |

I'd like to see speed numbers rather than (or maybe in addition to) raw duration numbers for exec, prove, etc.

Can we put N/A instead of 0ns?

I'm not sure lift/join makes a lot of sense for the loop example. How about we put this all under cargo risczero benchmark and then print basically what Parker's tool is doing?

@flaub
Adding speed information for each step would look like this:
|      Cycles |    Segments |         RAM |        Seal |   Exec time |  Prove time |   Lift time |   Join time |  Total time |  Exec speed | Prove speed |  Lift speed |  Join speed | Total Speed |
|          64 |           1 |     962.6MB |     215.3kB |      18.6ms |       1.29s |       2.34s |         N/A |       3.65s |      3.5Mhz |     50.7khz |     28.1khz |         N/A |       18khz |
|         128 |           1 |     962.6MB |     238.3kB |      20.1ms |       2.39s |       2.23s |         N/A |       4.64s |      6.5Mhz |     54.9khz |     58.8khz |         N/A |     28.3khz |
|         256 |           1 |      1.68GB |       250kB |      24.8ms |       4.67s |       2.24s |         N/A |       6.93s |     10.6Mhz |     56.2khz |    116.9khz |         N/A |     37.8khz |
|         512 |           1 |      3.36GB |     262.2kB |      31.7ms |        9.7s |       2.27s |         N/A |         12s |     16.5Mhz |     54.1khz |    230.9khz |         N/A |     43.7khz |
|          1k |           1 |      6.72GB |     275.5kB |      42.1ms |      20.59s |       2.29s |         N/A |      22.92s |     24.9Mhz |     50.9khz |    457.3khz |         N/A |     45.7khz |
|          2k |           2 |      6.72GB |       551kB |     110.9ms |      43.07s |       4.69s |       2.47s |      50.34s |     18.9Mhz |     48.7khz |    447.4khz |    849.2khz |     41.7khz |
|        4.1k |           4 |      6.72GB |       1.1MB |     226.9ms |      1:20.9 |       9.13s |        7.4s |      1:37.6 |     18.5Mhz |     51.9khz |    459.4khz |    567.1khz |       43khz |

Would you want to have this in the loop example, or would you prefer to drop it from here and use it only in cargo risczero benchmark?

i think these should say 64k, 128k, ... 1M, 2M,...

if we've run lift and join, shouldn't the seal size be back to ~200kB?

I think we should make a new cargo risczero benchmark command that has this output:
cycles:     997685
segments:   2
exec:       125.12813ms
prove:      [12.153576671s, 773.772782ms]
lift:       [1.411728127s, 1.293531374s]
prove+lift: 13.565304798s
join:       [1.659020277s]

Closing this PR in favor of adding this information to cargo risczero benchmark.


Apache3

@dagiro : Thanks for your contribution! The author, @hrasheed-msft, has been notified to review your proposed change.

Review in progress.

#sign-off

@dagiro @hrasheed-msft - These commits need to be moved to the private repo for validation and staging . After the new PR has been created, verified, and merged, we'll close this PR. Thanks.

I’m not a Microsoft employee; I do not have access to any private repo.
From: Rebecca Agiewich<EMAIL_ADDRESS>Sent: Monday, November 26, 2018 9:58 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: dagiro<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Apache3 (#19392)
@dagiro https://github.com/dagiro  @hrasheed-msft https://github.com/hrasheed-msft  - These commits need to be moved to the private repo for validation and staging . After the new PR has been created, verified, and merged, we'll close this PR. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/azure-docs/pull/19392#issuecomment-441735604 , or mute the thread https://github.com/notifications/unsubscribe-auth/AVUGPanvWv5ZHjuw1qHUpqYDr1ZrA6kiks5uzCutgaJpZM4Yv9i7 .  https://github.com/notifications/beacon/AVUGPZ6HTZnLmWlbgZt9rYJCbPJBiSdYks5uzCutgaJpZM4Yv9i7.gif

@dagiro @hrasheed-msft - To clarify, the review team will create the PR to pull the commits into the private repo. We'll then ask the author to review and verify before merging. When the changes are merged into the private repo, we'll close this PR. Thanks

#please-close


Canvas2d transform improvement

Our Canvas2d and webgl code regarding render transform differs.
It makes difficult to debug some cases, and it prevents us from refactor all that "temporary parent" code to "pixi/@display" package.
This PR does not add new functionality nor does it change behaviour.  No moving floors around, no doing extra multiplications/divisions, it should be the same code.
I'll add some resolution-related examples a bit later.
+81-158 , yeah, that's a good balance!

https://pixijs.io/examples/?v=dev#/demos-basic/cacheAsBitmap.js with {forceCanvas:true} doesnt work at the moment. im debugging it.

OK, it works now.


The snippet provided
 /subscriptions/***' or the scope is invalid
          az provider register --namespace Microsoft.SaaS
          az term accept \
              --publisher vmware-inc \
              --product azure-spring-cloud-vmware-tanzu-2 \
              --plan tanzu-asc-ent-mtr

fails with :
The client 'XXX' with object id 'XXX' does not have authorization to perform action 'Microsoft.SaaS/register/action' over scope '

Also btw all Azure Spring Cloud references should be updated with Azure Spring Apps

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

ID: b9b09efa-c6ea-a491-d8f5-3aeae3a1555f
Version Independent ID: 4da6e18e-743c-00b4-5484-734c83c9d1bb
Content: Quickstart - Provision Azure Spring Apps using Bicep
Content Source: articles/spring-apps/quickstart-deploy-infrastructure-vnet-bicep.md
Service: spring-apps
GitHub Login: @KarlErickson
Microsoft Alias: karler

see also https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-cli#cause

@ezYakaEagle442
Thanks for your feedback! We will investigate and update as appropriate.

Agree, please review and fix

We have represented this work in an Azure DevOps work item, and will investigate and fix.
#please-close


Progress in Imgur album doesn't update when switching pages through the quick switcher

Specifically, when you use the quick switcher to change pages, it does not update the page indicator.

Fixed!


Historical data?

Hi! Thanks for the hard work.
I am  currently using https://github.com/renemarc/balena-airthingswave to plug my wave into openHab.
Works great and all, but you don't seem to be able to fetch historical data from the device like the App can.
Since you did a bit of work with the device I was wondering if you knew how to sync the full dataset.
Thanks!

Hi! I want to first apologize for the delayed response. You brought up an excellent point. A lot of existing scripts and community integrations with the Wave device family are only able to access current values. The Airthings mobile app is able to pull values over an extended period of time.
In short, I'm not exactly sure how it does that. I'd need to investigate that a bit more. Querying the device less often would also be an enhancement to battery life. There's definitely net benefit for supporting such a feature.
In the meantime, the web API does let you query historical data. That requires synchronizing the app with your device on a regular basis. Ideally, I'd like to remove the dependency on the mobile app moving forward.

Better late than never, but windowing longer time periods from the device is possible using: struct.pack("<BHHHH", 0x01, 2, 0, hours, 0) where hours is the number of hours you want to go back. 1 week, for example would be 168 hours.
You can see this code in action in a project that uses wave-reader-utils as a dependency, see:

https://github.com/ztroop/wave-plus-exporter/blob/main/exporter.py


feat(dashboard_rbac): manage roles for dashboard

SUMMARY
This PR add roles management to DashboardProperties modal under Feature flag
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

https://user-images.githubusercontent.com/56388545/108028455-882a0e80-7034-11eb-9e93-3e254f381c86.mov
TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

@riahk it would be great if you could take a look at this PR!

@simcha90 I found an issue when trying to remove all roles & save then it failed to save
https://user-images.githubusercontent.com/47772523/108352842-1a2a4680-71f0-11eb-99e3-ad0241e95da8.mov

I've added a few developers that are more familiar with this code. These add/edit modals become quite complex over time and are frequent sources of bugs in the codebase. Would it be possible to add tests for the new functionality to help reduce the likelihood of future regressions?

@amitmiran137 fixed, @willbarrett added

Codecov Report

Merging #13145 (26556fc) into master (2ce7982) will increase coverage by 2.56%.
The diff coverage is 66.25%.

@@            Coverage Diff             @@
##           master   #13145      +/-   ##
==========================================
+ Coverage   53.06%   55.62%   +2.56%
==========================================
  Files         489      474      -15
  Lines       17314    15762    -1552
  Branches     4482     4044     -438
==========================================
- Hits         9187     8768     -419
+ Misses       8127     6994    -1133

Flag
Coverage Δ

cypress
55.62% <66.25%> (+2.56%)
:arrow_up:

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

Impacted Files
Coverage Δ

.../src/SqlLab/components/EstimateQueryCostButton.jsx
20.83% <ø> (ø)

...end/src/SqlLab/components/ExploreResultsButton.jsx
8.00% <ø> (ø)

...et-frontend/src/SqlLab/components/QueryHistory.jsx
50.00% <0.00%> (ø)

...erset-frontend/src/SqlLab/components/ResultSet.tsx
4.16% <0.00%> (-0.09%)
:arrow_down:

...end/src/SqlLab/components/RunQueryActionButton.tsx
52.77% <ø> (ø)

...erset-frontend/src/SqlLab/components/SouthPane.jsx
64.10% <ø> (ø)

...end/src/SqlLab/components/TemplateParamsEditor.jsx
23.80% <ø> (ø)

superset-frontend/src/chart/Chart.jsx
57.89% <ø> (ø)

superset-frontend/src/chart/ChartContainer.jsx
100.00% <ø> (ø)

superset-frontend/src/chart/ChartRenderer.jsx
75.67% <0.00%> (-1.04%)
:arrow_down:

... and 249 more

Continue to review full report at Codecov.

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

@simcha90 This change is causing a test to fail in Node 15 since in this version of Node they changed the way to handle promise rejections. In previous versions of Node, promise rejections are handled as warnings, so the test pass but that doesn't mean that the test is correct. I don't know if we support Node 15 but I'm using it for development for security reasons. Can you check what's causing the promise rejection?


feat: add visibility change dialog

I am not familiar with ts/react coding, so please make a double check before merge.
Show visibility change dialog when sharing private memos, including workspace memos. In this dialog, user can change the visibility of the memo to public, so that the memo can be viewed by anyone with the link.
related issue:  #2868

Let's not make things too complicated. If you want to change the visibility, please edit the memo.

Or we can show a visibility selector in memo sharing dialog.

Or we can show a visibility selector in memo sharing dialog.

I think it is a good idea. I will close the pr and open a new pr for it.


document.removeItem

Items should be easily removable from a document.  This may require a UUID for each document item.

Fixed by https://github.com/aptible/ember-json-schema/pull/14


Fix example in README and add a little more detail

Types is no longer exported, so we should use something else in the example.
Also, it would be clearer if, rather than importing an undisclosed ./types file, we use StringType and RefType to show their proper use.
Along the same lines, I replaced the undisclosed getModel function with a set of example meshes, which neatly demonstrates the RefType and dispose() call made later.
Lastly, I used setTimeout to trigger a function that destroys the created entity so that it's clear how the ModelSystem works.

Good catch, the README definitely needs a little love.
I'd prefer to keep the example mesh stuff out of here though. The intention of the getModel(String) method was to demonstate your own random function that returns a Three.js Object3D

Yes, I get that now; however, it would be much clearer (IMO) if the example were self-contained, especially since there is no mention of Three.js here in the root HECS package.

To be clear: one of the first obstacles in getting HECS to work I had was "does my bundler handle everything properly." (It turned out that Rollup had some issues, but Webpack worked fine). To that end, it would be helpful to have something to copy/paste as a starter, something that would give a new user confidence that the HECS starter code is right, now go figure everything else out that you need to to get started.

I 100% agree. For now there's this example on codesandbox https://codesandbox.io/s/hecs-example-1-r1k67 but i'd like to make a more real world example


Remove support for 32-bit Linux builds

32 bit hardware is no longer being produced. Ubuntu 18.04 LTS was the last version that supported 32-bits. Ubuntu 18.04 was a long-term support version that was supported for five years, but that support ended in May 2023. Although our builds still worked on Ubuntu 22.04 LTS, they no longer work on Ubuntu 24.04 LTS, which was released earlier this year. There are other Linux distributions that still provide 32-bit versions. However, Ubuntu is used to create the Linux Rebel Engine builds. We could continue to build Linux 32-bit Rebel Engine builds on Ubuntu 22.04 LTS until it reaches end of live in April 2027. However, it makes sense to accept that 32-bit support has ended.
This PR removes support for Linux 32-bit builds from the build action.

Build tests are now passing with RebelToolbox/RebelEngine#105.


update submodules tests to set GIT_ALLOW_PROTOCOL = file

motivation: Recent versions of git made a security fix to disallow the file transport by default. The GitRepository submodule test cases fail with these recent versions, because they use local submodules which rely on the file transport.
changes: The GitRepositoryTests submodule tests set the environment variable GIT_ALLOW_PROTOCOL=file to tell git to allow use of the file protocol only for these tests where it's required.
credit for this change to @dtweston

https://github.com/apple/swift-tools-support-core/pull/371
@swift-ci smoke test

self hosted failure expected as they do not support cross repo testing


[Bug]: Invalid rendering because of no colorspace

Attach (recommended) or Link to PDF file
image2.pdf
Web browser and its version
Firefox nightly
Operating system and its version
Windows 11
PDF.js version
last one
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Open the pdf
What is the expected behavior?

What went wrong?

Link to a viewer
No response
Additional context
The bug has been reported:
https://issues.apache.org/jira/browse/PDFBOX-5851
As mentioned in the bug report, scn and SCN are used without a previous call to cs so we fallback on DeviceGray:
https://github.com/mozilla/pdf.js/blob/ed83d7c5e16798a56c493d56aaa8200dd280bb17/src/core/evaluator.js#L4876-L4877
We should probably have a null rgb color or something like that to indicate to use a fully transparent one.
The rendering is correct in either Acrobat or Chrome.

As mentioned in the bug report, scn and SCN are used without a previous call to cs so we fallback on DeviceGray:

Yes, because as far as I understand that's what the PDF specification says should be the default value in https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#G7.3881830

Parameter
Type
Value

color space
name or array
The current colour space in which colour values shall be  interpreted (see 8.6, "Colour Spaces"). There are two  separate colour space parameters: one for stroking and one  for all other painting operations. Initial value: DeviceGray.

We should probably have a null rgb color or something like that to indicate to use a fully transparent one.

We might need to somehow limit that to the /Pattern handling, since given the above I'd worry about regressions elsewhere if we do that unconditionally (especially since the PDF document in question is corrupt).


Why can't connect to socket.io v1.3.5

Can you help me? I see the link : https://github.com/Quobject/SocketIoClientDotNet
connect with socket.io is ok but when I do it is still not work? What the problem? I develop on wpf C# and I use library : SocketIoClientDotNet and I follow code example.

I can connect to socket.io .v1.3.5.
Please post this question on http://stackoverflow.com/help/how-to-ask.

@mattqs Thank you for reply ):


Makefile: fix FHS install locations (v2)

FHS mandates that system binaries (that are not needed for bootup into
singleuser / repair mode) go to /usr/sbin, while normal user commands
go /usr/bin. For software that is installed by the local operator
(instead of the OS'es package management), the prefix "/usr" is replaced
by "/usr/local".
Packaging systems and local operators sometimes need a method for easily
changing these locations for their special needs (eg. MVCC installations)
And they also need a method to do the actual file placement under some
(temporary) root directory, while retaining the hierarchy as it is,
w/o changing the prefixes that are potentially built in.

Therefore cleaning up the install rules:

introduce environment variables following decades old conventions:
(note that these should be set equally for all build/install stages)

$PREFIX  - the base installation prefix (defaults to /usr/local)
$BINDIR  - directory for user binaries (defaults to $PREFIX/bin)
$SBINDIR - directory for system binaries (defaults to $PREFIX/sbin)

change $DESTDIR into the target installation root (only applied when
copying into the final installation image, but not for any builtin
lookup pathes)

Signed-off-by: Enrico Weigelt, metux IT consult<EMAIL_ADDRESS>

I think breaking some compatibility for some existing build cases that rely on DESTDIR is OK if it is moving to something more expected and standard. As for moving the containerd binary from bin to sbin, that is something we should wait until a 2.0 release to do since that effects the installed layout rather than just the build process.

I think breaking some compatibility for some existing build cases that rely on DESTDIR is OK if it is moving to something more expected and standard.

Thanks for your support.

As for moving the containerd binary from bin to sbin, that is something we should wait until a 2.0 release to do since that effects the installed layout rather than just the build process.

Okay, I'll keep those patches in the deb queue, until we've sorted it all out.
There're other pathes should be changed. The trivial one are manpage (/usr/share/man instead of /usr/man).
A more more complex one is the shims, which really belong into /usr/libexec/containerd, since they're AFAIK only
to be called by containerd as helper programs. That's yet a bit tricky, since containerd does the lookup based on its
own executable's directory. We'd need to add another lookup try that uses the libexec path (which also should be
build-time configurable).
And we also have lots of hard coded pathes in defaults_unix.go, that should be customizable at build-time.
Since this file just contains a bunch of consts - and I'm a bit reluctant to do lots changes in other places to make
them cope with variables - I'd propose just autogenerating that file from Makefile. (unfortunately, the only other way
I'm aware of is overwriting variables at link time, but that doesn't work with consts). I'll send a completely separate
patch for that.
--mtx

@dmcgowan @AkihiroSuda so, we are fine regarding introducing BINDIR, but don't want to change the location of the existing files in 1.x series.
@metux do you want to keep this PR open till 2.x or want to reduce the scope for 1.x?

sbin isn't appropriate even for v2


Add optional options hash.

Default options is {prepare: false}
Details can be found here: https://github.com/rails/rails/blob/f4d1aa5310284ebceb51970140fa08f6c8ea19b6/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L571

Sorry, confused with repo firsty :)

Thanks for this. I am working on a pretty big overhaul of the RPM. I'll roll your changes into that.

Thanks!

@retgoat Will this work for you? https://github.com/randy-girard/app_perf_rpm/pull/12


Deployment failed when deploying to a Deployment Slot due to app name/slot name validation logic

"Deployment Failed with Error: Error: Publish profile is invalid for app-name and slot-name provided. Provide correct publish profile credentials for app.
Looking at the validation logic, it splits the username by "__", but usernames configured by Azure App Service are of the format $appname(slotname), not $appname__slotname.
Therefore, it always fails to match and validate appname and slotname.
Note: This is via Azure Arc enabled App Service - this sets usernames in the format $appname(slotname) but the non-Azure Arc enabled App Service sets them in $appname__slotname.
Validations.ts
let splitUsername: string[] = creds.username.startsWith("$") ? creds.username.toUpperCase().substring(1).split("__") : creds.username.toUpperCase().split("__");
Workaround:
In the Workflow, set appname="appname(slotname)" and slotname="production".  This passes validation logic and also successfully deploys to the slot.

Hi @j4fm Thank you for suggesting the workaround. This issue is being investigated and will let you know the solution.

Hey @j4fm. We have the updated validation logic here in LaylaLiu-gmail/webapps-deploy@v3 as a temporary fix. While we are working on more consistent solution, you can use the above if you don't want change your appname to "appname(slotname)".

Thank you @BALAGA-GAYATRI, for the moment I have switched to testing out pure app service but will likely come back to azure arc app service, so this will be useful for then.

Closing the issue.

facing the same issue again is there any way for permanent fix??? can anyone help on this??


[Proposal] Flutter html renderer add crossOrigin support for Image ( DomHTMLImageElement )

Use case
This proposal is based on #118666 example (I simplified it a bit).

Example code
import 'dart:ui' as ui;

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter image decode',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  ui.Image? original;
  ui.Image? copy;

  @override
  void initState() {
    super.initState();

    loadImage();
  }

  @override
  void dispose() {
    original?.dispose();
    copy?.dispose();

    super.dispose();
  }

  void loadImage() {
    const imgUrl = 'https://upload.wikimedia.org/wikipedia/commons/d/de/Color-Green.JPG';
    const NetworkImage(imgUrl).resolve(ImageConfiguration.empty).addListener(ImageStreamListener(imageListener));
  }

  // ignore: avoid_positional_boolean_parameters
  Future<void> imageListener(ImageInfo imageInfo, bool synchronousCall) async {
    final image = imageInfo.image;
    final clonedImage = image.clone();

    original = clonedImage;
    setState(() {});

    final originalByteData = (await clonedImage.toByteData())!;

    final pixelDataNoChanges = originalByteData.buffer.asByteData();
    ui.decodeImageFromPixels(
      pixelDataNoChanges.buffer.asUint8List(),
      image.width,
      image.height,
      ui.PixelFormat.rgba8888,
      (ui.Image result) {
        copy = result;
        setState(() {});
      },
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Image.toByteData test'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            const Text('Original'),
            RawImage(width: 200, height: 200, image: original),
            const Text('Copy'),
            RawImage(width: 200, height: 200, image: copy),
          ],
        ),
      ),
    );
  }
}

In case of canvaskit renderer ( --web-renderer canvaskit ) the results are fine since flutter/engine#38361 merged ( master channel ).
In case of html renderer ( --web-renderer html ) it is possible Image.toByteData will fail since image's source points to other domain and this could lead to tainted canvas. Note: if image uses base64 source for instance asset image then everything works fine.

Because the pixels in a canvas's bitmap can come from a variety of sources, including images or videos retrieved from other hosts, it's inevitable that security problems may arise.
As soon as you draw into a canvas any data that was loaded from another origin without CORS approval, the canvas becomes tainted. A tainted canvas is one which is no longer considered secure, and any attempts to retrieve image data back from the canvas will cause an exception to be thrown.

Browser will raise an exception:

Uncaught (in promise) DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

Html renderer uses the <img> element to render images, here is how we can get it's bytes:

there is no direct way see security example
the image should be drawn on a canvas context.drawImage then canvas.toDataURL / canvas.getImageData can return it's bytes here is an example however <img> should use crossOrigin to avoid tainted canvas

Check out this JS example and observe the console output:
<!DOCTYPE html>
<html>
  <head>
    <script>
      function startDownload() {
        var imageURL = "https://upload.wikimedia.org/wikipedia/commons/d/de/Color-Green.JPG";
        var imageDescription = "Description";
        downloadedImg = new Image();
        downloadedImg.crossOrigin = "Anonymous";
        downloadedImg.addEventListener("load", imageReceived, false);
        downloadedImg.alt = imageDescription;
        downloadedImg.src = imageURL;
      }

      function imageReceived() {
        var canvas = document.createElement('canvas');
        var context = canvas.getContext('2d');
        canvas.height = downloadedImg.naturalHeight;
        canvas.width = downloadedImg.naturalWidth;
        context.drawImage(downloadedImg, 0, 0, downloadedImg.naturalWidth, downloadedImg.naturalHeight);
        var base64String = canvas.toDataURL();
        console.log(base64String);
      }
      startDownload();
    </script>
  </head>
  <body></body>
</html>

Output:
data:image/png;base64,iVBORw0K ... 5ErkJggg==
Remove this line: downloadedImg.crossOrigin = "Anonymous";
Output:
Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.     at Image.imageReceived (file:/// ... /web.html:21:35)
I think #59072 can be closed since Image.toByteData is implemented on the engine side, here is it's evolution:

flutter/engine#20750 added base64 support for html renderer (perfect for asset images)
flutter/engine#21370 / flutter/engine#28357 added support to draw <img> on canvas then get it's bytes.
ImageByteFormat.png could be implemented similar to ImageByteFormat.rawRgba \ ImageByteFormat.rawStraightRgba if src is not base64 format since HTMLCanvasElement.toDataURL by default performs png format but this could be another issue / proposal.

Proposal
There should be a way to modify underlying DomHTMLImageElement.crossOrigin on the engine side here and here.
setJsProperty<String>(imgElement, 'crossOrigin', crossOrigin); where crossOrigin is passed to HtmlCodec's constructor or always use constant 'Anonymous'.
crossOrigin could be registered also to DomHTMLImageElement so imgElement.crossOrigin = crossOrigin is easier call.

Current workaround: just add headers: const {'accept': '*/*'} to your Image.network or to your NetworkImage this requires proper CORS header by the server, note: DomHTMLImageElement.crossOrigin = 'anonymous' would also require it.

flutter/engine#54961


Fix e2e tests

Closes #26

That green check is so darn beautiful.
... next we need more meaningful E2E tests :D That aren't flaky to graph changes.


consider static linking instead

https://doc.rust-lang.org/reference/linkage.html
you should be able to compile your rust code as a static .lib, and then link to it on the c++ project, getting rid of that nasty 13mb header file

fixed,. .. will be there in next release


Introduction To C programming

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

Introduction To C programming #2608.pdf
👋 Good afternoon - and welcome to the EngEd program.
I'll be running a final review on your PR when ready.
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.

@hectorkambow
Hello Sir, Just checked my article I'm sorry for that and I won't repeat it again  and I updated but some commands and names I can't because they are the same every where
Thank You

@WanjaMIKE Hey i already updated yesterday only can you please check it out

Okay, I will check them @MouliDev

Why did you close this issue?