Cannot Open USB Device Error Message 2021 M1 Pro MacBook Pro

I have tried mounting my radar detector that uses USB 2.0 which UTM can see but cannot mount into the emulated x86/x64 versions of Windows XP, 7, and 11 ARM. I believe that the issue is that it does not detect any emulated versions of USB 3.0 drivers. UTM can see the device but when trying to mount it, I receive an error message from UTM. I wanted to ask the developers to help me retrieve any kind of logs to see why it is having an error and see if we can make it compatible with these emulated x86/x64 Windows VMs. I tested to ensure it was not my device but connecting it to an Intel based PC and it worked fine.
UTM Version: 2.4.1(40)
OS Version: 12.0.1 macOS Monterey
Intel or Apple Silicon? Apple Silicon M1 Pro
Crash log
QEMULauncher-2021-12-09-003436.txt

Debug log
debug.log
Please let me know if you can assist me with this issue or if I need to provide you anything else to help troubleshoot and resolve this issue. FYI, I also tried this on Parallels and it would not work either.
Thank You!

Thank your for providing the debug log and crash log. Generally, UTM is able to pass through USB devices to emulated guests.
Regarding the USB error: in your VM config, USB 3.0 support is enabled in the Sharing tab (this is the default setting). Please uncheck USB 3.0 (XHCI) support and try again. (I can tell because -device nec-usb-xhci,id=usb-controller-0 is in the debug log.)
Regarding the crash: does the VM crash immediately after the error in your screenshot?
For developers, here is an excerpt from the translated crash report.
Process:               QEMULauncher [14979]
Path:                  /Applications/UTM.app/Contents/XPCServices/QEMUHelper.xpc/Contents/MacOS/QEMULauncher.app/Contents/MacOS/QEMULauncher
Identifier:            com.utmapp.QEMULauncher
Version:               2.4.1 (40)
Code Type:             ARM-64 (Native)
Parent Process:        QEMUHelper [5833]
Responsible:           UTM [5606]
User ID:               501

Date/Time:             2021-12-09 00:34:34.2731 -0500
OS Version:            macOS 12.0.1 (21A559)
Report Version:        12
Anonymous UUID:        11940037-F7AA-8236-A18B-AE114BBACF71

Sleep/Wake UUID:       F785C8EE-501F-4958-A85D-FC68A860E9F8

Time Awake Since Boot: 160000 seconds
Time Since Wake:       29869 seconds

System Integrity Protection: enabled

Crashed Thread:        8

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

[…]

Thread 8 Crashed:
0   libsystem_kernel.dylib        	       0x1a56cd9b8 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1a570115c pthread_kill + 288
2   libsystem_c.dylib             	       0x1a563e314 abort + 164
3   qemu-x86_64-softmmu           	       0x105fe4c1c 0x105fd0000 + 85020
4   qemu-x86_64-softmmu           	       0x106121f70 process_queued_cpu_work + 208
5   qemu-x86_64-softmmu           	       0x106120d4c 0x105fd0000 + 1379660
6   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
7   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Full Translated Crash Report
Process:               QEMULauncher [14979]
Path:                  /Applications/UTM.app/Contents/XPCServices/QEMUHelper.xpc/Contents/MacOS/QEMULauncher.app/Contents/MacOS/QEMULauncher
Identifier:            com.utmapp.QEMULauncher
Version:               2.4.1 (40)
Code Type:             ARM-64 (Native)
Parent Process:        QEMUHelper [5833]
Responsible:           UTM [5606]
User ID:               501

Date/Time:             2021-12-09 00:34:34.2731 -0500
OS Version:            macOS 12.0.1 (21A559)
Report Version:        12
Anonymous UUID:        11940037-F7AA-8236-A18B-AE114BBACF71

Sleep/Wake UUID:       F785C8EE-501F-4958-A85D-FC68A860E9F8

Time Awake Since Boot: 160000 seconds
Time Since Wake:       29869 seconds

System Integrity Protection: enabled

Crashed Thread:        8

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1a56cdad0 poll + 8
1   glib-2.0.0                    	       0x1052a3ef0 g_poll + 40
2   qemu-x86_64-softmmu           	       0x1064e45b8 main_loop_wait + 344
3   qemu-x86_64-softmmu           	       0x106062c58 qemu_main_loop + 108
4   QEMULauncher                  	       0x104027ca0 0x104024000 + 15520
5   QEMULauncher                  	       0x104027d00 0x104024000 + 15616
6   dyld                          	       0x10420d0f4 start + 520

Thread 1:
0   libsystem_kernel.dylib        	       0x1a56c90c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a5701ab4 _pthread_cond_wait + 1228
2   qemu-x86_64-softmmu           	       0x1064cc268 qemu_event_wait + 128
3   qemu-x86_64-softmmu           	       0x1064d4288 0x105fd0000 + 5259912
4   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
5   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 2:
0   libsystem_kernel.dylib        	       0x1a56d0608 __sigwait + 8
1   libsystem_pthread.dylib       	       0x1a5701cc0 sigwait + 40
2   qemu-x86_64-softmmu           	       0x1064c9954 0x105fd0000 + 5216596
3   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
4   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
5   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 3:
0   libsystem_pthread.dylib       	       0x1a56fc2bc start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	       0x1a56fc2bc start_wqthread + 0

Thread 5:
0   libsystem_kernel.dylib        	       0x1a56cdad0 poll + 8
1   glib-2.0.0                    	       0x1052a3ef0 g_poll + 40
2   glib-2.0.0                    	       0x105292c60 g_main_context_poll + 96
3   glib-2.0.0                    	       0x1052908a8 g_main_context_iterate + 376
4   glib-2.0.0                    	       0x105290df0 g_main_loop_run + 616
5   qemu-x86_64-softmmu           	       0x10635657c 0x105fd0000 + 3695996
6   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
7   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 6:
0   libsystem_kernel.dylib        	       0x1a56c90c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a5701ab4 _pthread_cond_wait + 1228
2   qemu-x86_64-softmmu           	       0x1064cba68 qemu_cond_wait_impl + 104
3   qemu-x86_64-softmmu           	       0x106121d34 cpu_exec_start + 180
4   qemu-x86_64-softmmu           	       0x10612099c tcg_cpus_exec + 40
5   qemu-x86_64-softmmu           	       0x106120ce0 0x105fd0000 + 1379552
6   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
7   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 7:
0   libsystem_kernel.dylib        	       0x1a56c90c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a5701ab4 _pthread_cond_wait + 1228
2   qemu-x86_64-softmmu           	       0x1064cba68 qemu_cond_wait_impl + 104
3   qemu-x86_64-softmmu           	       0x106121d34 cpu_exec_start + 180
4   qemu-x86_64-softmmu           	       0x10612099c tcg_cpus_exec + 40
5   qemu-x86_64-softmmu           	       0x106120ce0 0x105fd0000 + 1379552
6   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
7   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 8 Crashed:
0   libsystem_kernel.dylib        	       0x1a56cd9b8 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1a570115c pthread_kill + 288
2   libsystem_c.dylib             	       0x1a563e314 abort + 164
3   qemu-x86_64-softmmu           	       0x105fe4c1c 0x105fd0000 + 85020
4   qemu-x86_64-softmmu           	       0x106121f70 process_queued_cpu_work + 208
5   qemu-x86_64-softmmu           	       0x106120d4c 0x105fd0000 + 1379660
6   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
7   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 9:
0   libsystem_kernel.dylib        	       0x1a56c90c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a5701ab4 _pthread_cond_wait + 1228
2   qemu-x86_64-softmmu           	       0x1064cba68 qemu_cond_wait_impl + 104
3   qemu-x86_64-softmmu           	       0x106121d34 cpu_exec_start + 180
4   qemu-x86_64-softmmu           	       0x10612099c tcg_cpus_exec + 40
5   qemu-x86_64-softmmu           	       0x106120ce0 0x105fd0000 + 1379552
6   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
7   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 10:
0   libsystem_kernel.dylib        	       0x1a56cdad0 poll + 8
1   glib-2.0.0                    	       0x1052a3ef0 g_poll + 40
2   glib-2.0.0                    	       0x105292c60 g_main_context_poll + 96
3   glib-2.0.0                    	       0x1052908a8 g_main_context_iterate + 376
4   glib-2.0.0                    	       0x105290df0 g_main_loop_run + 616
5   spice-server.1                	       0x104309c20 red_worker_main + 128
6   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
7   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 11:
0   libsystem_kernel.dylib        	       0x1a56cb8cc kevent + 8
1   QEMULauncher                  	       0x104027d50 0x104024000 + 15696
2   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
3   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 12:
0   libsystem_pthread.dylib       	       0x1a56fc2bc start_wqthread + 0

Thread 13:
0   libsystem_kernel.dylib        	       0x1a56c90c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a5701ab4 _pthread_cond_wait + 1228
2   qemu-x86_64-softmmu           	       0x1064cbfec qemu_sem_timedwait + 208
3   qemu-x86_64-softmmu           	       0x1064e6a98 0x105fd0000 + 5335704
4   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
5   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 14:
0   libsystem_kernel.dylib        	       0x1a56c90c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a5701ab4 _pthread_cond_wait + 1228
2   qemu-x86_64-softmmu           	       0x1064cbfec qemu_sem_timedwait + 208
3   qemu-x86_64-softmmu           	       0x1064e6a98 0x105fd0000 + 5335704
4   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
5   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 15:
0   libsystem_kernel.dylib        	       0x1a56c90c0 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1a5701ab4 _pthread_cond_wait + 1228
2   qemu-x86_64-softmmu           	       0x1064cbfec qemu_sem_timedwait + 208
3   qemu-x86_64-softmmu           	       0x1064e6a98 0x105fd0000 + 5335704
4   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
5   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8

Thread 16:
0   libsystem_pthread.dylib       	       0x1a56fc2bc start_wqthread + 0

Thread 8 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000002   x5: 0x00000000006e79cc   x6: 0x00000000000000e8   x7: 0x000000012da121c0
    x8: 0x14456230bbd0d3ba   x9: 0x14456231d7fce3ba  x10: 0x0000000000000000  x11: 0x0000000000000002
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000001
   x16: 0x0000000000000148  x17: 0x00000001ffae7530  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x000000016c2c3000  x21: 0x000000000000a503  x22: 0x0000000120388000  x23: 0x0000000106c9fd30
   x24: 0x000000012c916984  x25: 0x0000000106cbf790  x26: 0x0000000106c9dee8  x27: 0x00000001203881e8
   x28: 0x00000001a5708530   fp: 0x000000016c2c2e20   lr: 0x00000001a570115c
    sp: 0x000000016c2c2e00   pc: 0x00000001a56cd9b8 cpsr: 0x40001000
   far: 0x000000015078c000  esr: 0x56000080  Address size fault

Binary Images:
       0x1a56c4000 -        0x1a56f9fff libsystem_kernel.dylib (*) <c8524c02-b14f-30bd-a228-c44b4a448e68> /usr/lib/system/libsystem_kernel.dylib
       0x105240000 -        0x1053b3fff com.utmapp.glib-2.0.0 (1.0) <ee55ae15-bb01-3107-97ae-66b3fe44ba9d> /Applications/UTM.app/Contents/Frameworks/glib-2.0.0.framework/Versions/A/glib-2.0.0
       0x105fd0000 -        0x106a33fff com.utmapp.qemu-x86-64-softmmu (1.0) <a2379716-8e83-3c02-9c40-6a46dbcbde6a> /Applications/UTM.app/Contents/Frameworks/qemu-x86_64-softmmu.framework/Versions/A/qemu-x86_64-softmmu
       0x104024000 -        0x104027fff com.utmapp.QEMULauncher (2.4.1) <87b7eaec-4abc-3a11-b773-e3dba69c2c7c> /Applications/UTM.app/Contents/XPCServices/QEMUHelper.xpc/Contents/MacOS/QEMULauncher.app/Contents/MacOS/QEMULauncher
       0x104208000 -        0x104267fff dyld (*) <86a8ba48-8bb4-3b30-9cda-051f73c74f44> /usr/lib/dyld
       0x1a56fa000 -        0x1a5706fff libsystem_pthread.dylib (*) <4786e19a-9312-38e6-80ef-9c1394548118> /usr/lib/system/libsystem_pthread.dylib
       0x1a55c5000 -        0x1a5645fff libsystem_c.dylib (*) <002a39ae-6431-3b2e-85e7-c45fc2f95ad0> /usr/lib/system/libsystem_c.dylib
       0x1042b4000 -        0x1043effff com.utmapp.spice-server.1 (1.0) <6a031101-d6cd-379f-80d8-bbb8d760b84a> /Applications/UTM.app/Contents/Frameworks/spice-server.1.framework/Versions/A/spice-server.1

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=797.5M resident=0K(0%) swapped_out_or_unallocated=797.5M(100%)
Writable regions: Total=4.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=4.6G(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Activity Tracing                   256K        1
Kernel Alloc Once                   32K        1
MALLOC                           385.2M       85
MALLOC guard page                   96K        5
MALLOC_MEDIUM (reserved)           1.0G        9         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
OpenGL GLSL                        384K        5
STACK GUARD                       56.3M       17
Stack                             16.5M       17
VM_ALLOCATE                        2.8G      645
VM_ALLOCATE (reserved)             128K        1         reserved VM address space (unallocated)
__AUTH                            1680K      121
__AUTH_CONST                      8123K      249
__DATA                            15.3M      263
__DATA_CONST                      11.2M      271
__DATA_DIRTY                       560K       89
__FONT_DATA                          4K        1
__GLSLBUILTINS                    5176K        1
__LINKEDIT                       581.7M       25
__OBJC_CONST                      1069K       94
__OBJC_RO                         81.8M        1
__OBJC_RW                         3088K        1
__TEXT                           215.9M      283
__UNICODE                          588K        1
dyld private memory               1024K        1
mapped file                       35.9M        7
shared memory                      848K       14
===========                     =======  =======
TOTAL                              5.6G     2209
TOTAL, minus reserved VM space     4.2G     2209

Hello,
Thanks for responding. This error occurs with and without USB 3.0 enabled in settings. Here is screenshot attached with USB legacy 2.0 only.

On Dec 9, 2021, at 6:22 AM, CONATH @.***> wrote:
Thank your for providing the debug log and crash log. Generally, UTM is able to pass through USB devices to emulated guests.
Regarding the USB error: in your VM config, USB 3.0 support is enabled in the Sharing tab (this is the default setting). Please uncheck USB 3.0 (XHCI) support and try again. (I can tell because -device nec-usb-xhci,id=usb-controller-0 is in the debug log.)
Regarding the crash: does the VM crash immediately after the error in your screenshot?
For developers, here is an excerpt from the translated crash report.
Process:               QEMULauncher [14979]
Path:                  /Applications/UTM.app/Contents/XPCServices/QEMUHelper.xpc/Contents/MacOS/QEMULauncher.app/Contents/MacOS/QEMULauncher
Identifier:            com.utmapp.QEMULauncher
Version:               2.4.1 (40)
Code Type:             ARM-64 (Native)
Parent Process:        QEMUHelper [5833]
Responsible:           UTM [5606]
User ID:               501
Date/Time:             2021-12-09 00:34:34.2731 -0500
OS Version:            macOS 12.0.1 (21A559)
Report Version:        12
Anonymous UUID:        11940037-F7AA-8236-A18B-AE114BBACF71
Sleep/Wake UUID:       F785C8EE-501F-4958-A85D-FC68A860E9F8
Time Awake Since Boot: 160000 seconds
Time Since Wake:       29869 seconds
System Integrity Protection: enabled
Crashed Thread:        8
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
[…]
Thread 8 Crashed:
0   libsystem_kernel.dylib        	       0x1a56cd9b8 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1a570115c pthread_kill + 288
2   libsystem_c.dylib             	       0x1a563e314 abort + 164
3   qemu-x86_64-softmmu           	       0x105fe4c1c 0x105fd0000 + 85020
4   qemu-x86_64-softmmu           	       0x106121f70 process_queued_cpu_work + 208
5   qemu-x86_64-softmmu           	       0x106120d4c 0x105fd0000 + 1379660
6   qemu-x86_64-softmmu           	       0x1064cc438 0x105fd0000 + 5227576
7   libsystem_pthread.dylib       	       0x1a57014ec _pthread_start + 148
8   libsystem_pthread.dylib       	       0x1a56fc2d0 thread_start + 8
Full Translated Crash Report
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/utmapp/UTM/issues/3375#issuecomment-989762301, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACD6LBEK4PLUKIICWP6JL73UQCGPRANCNFSM5JVTKHSA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sorry, the attachment won't work via email. Please open the GitHub issue page and add the file in the comment field.
When does the crash happen? Is it right after the error message?

Sorry about that. Here is the updated screenshot. The crash does not happen after the error. The crash is isolated issue as it is random and I provided because the template for posting asked for debug and crash logs.

Thanks. The template is somewhat confusing I suppose; the crash log is only needed if the problem you are reporting is a crash.
Unfortunately there is not much info for me to go off off here other than the error -99. Maybe we can get more detail from the macOS Console app. Here's the steps to get additional info via Console app:

Quit UTM if it is opened.
Open Console app, click Start streaming.
In the Console app search box type "UTM" and press return, then click on the grey "any" dropdown and choose "process". The app should show no results (if there are any, click Clear).
Open UTM and start your VM, repeat the USB procedure until the error popup shows
Quit UTM
In Console app, click one of the lines of activity (center of the window), then in the Menu Bar, choose Edit => Select All and Edit => Copy.
Open TextEdit, choose File => New, then Format => Make Plain Text.
Choose Edit => Paste, then File => Save
In the "Save As:" field, type UTM-System-Log.log, in the "Where" field choose Desktop, then click Save.
Open this issue page in your web browser and attach the UTM-System-Log.log file in a new comment.

Thank you in advance!

UTM-System-Log.txt

Followed your instructions below. Reinstalled app, restarted Mac, and confirmed connect to VM. Still receive the same error.

Any other ideas @conath

@MAPE15 I would like to try to reproduce this error so we can get closer to finding the underlying issue and fixing it.
To do this I will need the config.plist from your VM, please (get it by ctrl-clicking the VM in UTM, select Show in Finder, ctrl-click the .utm file and choose Show Package Contents, then the config.plist file is there; copy the file to the desktop and rename to config.plist.txt; now upload here in the Comment field).
Additionally, if you can, please send the technical specifications of the USB device you are attempting to connect (model number, manual, etc.), as well as the way you are connecting it to your Mac (e. g. which adapter used incl. model).
Finally, it might be useful to get a screenshot of how the macOS System Information app sees your USB device. To get this:

quit UTM
connect the USB device
click on the Apple logo in the top left
while holding option/alt/⌥ click on System Information…
choose USB in the Hardware section
look at all the USB devices in the list and click on the most likely one
take screenshot and attach here

Thank you!

config.plist.txt
https://radenso.com/products/radenso-pro-m-radar-detector
https://cdn.shopify.com/s/files/1/0181/3771/files/Radenso_Pro_M_Manual.pdf
https://smile.amazon.com/gp/product/B07KS3PQG2/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 (main adapter)
https://smile.amazon.com/dp/B08CVTTNN4?psc=1&ref=ppx_yo2_dt_b_product_details (tested it with this monitors USB ports too)

My 2c is that USB support is shoddy and will continue to be shoddy until Apple provides capture APIs that allow for device reset. Right now we have to wait for the kernel to try to configure the device and fail and pass it to the capture application (UTM) to take over. Many devices don't like that and will not behave properly.

My 2c is that USB support is shoddy and will continue to be shoddy until Apple provides capture APIs that allow for device reset. Right now we have to wait for the kernel to try to configure the device and fail and pass it to the capture application (UTM) to take over. Many devices don't like that and will not behave properly.

A recent experience: Just yesterday I had trouble working with a USB to IDE adapter with UTM. The adapter is a cheap device and had trouble with working on the macOS. Connecting it to UTM was an additional struggle with lots of retries and a crash in the usb library.

A recent experience: Just yesterday I had trouble working with a USB to IDE adapter with UTM. The adapter is a cheap device and had trouble with working on the macOS. Connecting it to UTM was an additional struggle with lots of retries and a crash in the usb library.

So what do you guys recommend we do to get things working? @conath you are a developer of UTM right?

So what do you guys recommend we do to get things working? @conath you are a developer of UTM right?

I am not a low-level developer capable of fixing this, and osy is more knowledgeable on these topics. As osy has pointed out it is not in the scope of the UTM project to fix this right now.
What you could try (and this is really just a weird trick more than an actual solution) is re-connecting the device quickly to your Mac and very quickly click to connect it to the VM when the UTM alert appears. That could work around the "already in use" error. I really don't know if it would work for your specific device, though.

I am not a low-level developer capable of fixing this, and osy is more knowledgeable on these topics. As osy has pointed out it is not in the scope of the UTM project to fix this right now.
What you could try (and this is really just a weird trick more than an actual solution) is re-connecting the device quickly to your Mac and very quickly click to connect it to the VM when the UTM alert appears. That could work around the "already in use" error. I really don't know if it would work for your specific device, though.

Yeah I agree. It would not work with my specific device.

Yeah I agree. It would not work with my specific device.

I had this problem before and i managed by installing USB drivers for the usb ports , it worked for me.

I had this problem before and i managed by installing USB drivers for the usb ports , it worked for me.

Hi, I still got the same issue. Where did you get the USB drivers?

Same here when mounting a Samsung 2TB T7 external HDD (the small blue one).
Using UTM 4.4.4 on macOS Sonoma 14.0 on Macbook Pro M1 14".
Guest OS: Windows 11 Pro 22H2 (x64).


Fix #327 - Remove non ascii characters (apostrophe)

@hramezani & @jezdez : could one of you review this PR to fix #327 please? Thanks in advance.


fix(capacity/thin): don't add children for rebuild if there's no space

Don't attempt to add replicas to a nexus for rebuild if the replicas has no space to grow. This ensures we follow the same logic for add and online. Also, delete these replicas otherwise we're keeping them around even though we can't use them.

bors merge


Adding a localization_sensor

I would like to update the agent configuration in the quickstart example to provide the location of the agent. I believe I should be able to do this by adding the localization_sensor  to the pointnav_habitat_test.yaml as shown below, however I get a AttributeError: 'HabitatSim' object has no attribute 'get_agent_data' result.  I am guessing this has something to do with the way the agent is defined in this configuration. How would I update the config to add this sensor?
# @package _global_

defaults:
  - pointnav_base
  - /habitat/dataset/pointnav: habitat_test
  - /habitat/task/lab_sensors: localization_sensor #added this to get agent pose
  - _self_

habitat:
  environment:
    max_episode_steps: 500
  simulator:
    agents:
      main_agent:
        sim_sensors:
          rgb_sensor:
            width: 256
            height: 256
          depth_sensor:
            width: 256
            height: 256

Update: I should add that I can get the heading of the agent but updating pointnav.yaml by adding a compass_sensor lab sensor. however when I try to add a localization_sensor I get the above error

I believe I have achieved the same effect by adding gps_sensor and compass_sensor to the pointnav.yaml


initial code for day three: historical comparison

Not my final choice for viz - is placeholder for now. But getting the data in and some code to process

I think this is good to go now @ceenell
The reason I used JAS months is because that is a common simplification of the summer period (e.g., is the period used here)


Update docs to include advice on page view aggregation

Page view ID needs to be combined with amp ID and date.

Closing - the new docs include this now


Add bot

hai @lucas-clemente
Could you please add bot to close the issues which dosen't have any recent activity.(like very old & stale issues)
Thank you.

okay
Thank you for replying back


UnknownSolverStatusException with several CFAs

The attached
cohencu-ll.c.cfa.txt file produces an UnknownSolverStatusException when Theta tries to verify it with PRED_CART and BW_BIN_ITP.
Note that to parse this file, the following git patch might be necessary (a quick fix to handle CFAs as Lisp-like CFAs, allow big numbers to be parsed, and to handle - as negation, not subtraction): cfapatch.txt
A separate issue is soon to be opened about the contents of this patch.

Also note that while only one example is attached, many similar programs also produce the exception. The above example is transformed from an SV-COMP task.


Add time period feature to hotspot tab landing screen

something like that? Perhaps with a font instead of iPhone scribbles.

@PeterMain what do you think?

Not sure I’m following why we’d need this. It wouldn’t change the list entries below. The natura language part at the top we should cycle for all manner of metrics/timeframes but I don’t think we’re there yet.

On 26 Feb 2021, at 18:17, Coco Tang<EMAIL_ADDRESS>wrote:

@PeterMain what do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I think it sounds like you’re planning on adding this later, but I added what would change when you click the 7 day button in my imagination.
Sent from my iPhone

On Feb 26, 2021, at 1:23 PM, Peter Main<EMAIL_ADDRESS>wrote:

Not sure I’m following why we’d need this. It wouldn’t change the list entries below. The natura language part at the top we should cycle for all manner of metrics/timeframes but I don’t think we’re there yet.

On 26 Feb 2021, at 18:17, Coco Tang<EMAIL_ADDRESS>wrote:

@PeterMain what do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


After saving any type of files VS messing up formatting (and not only format)

VSCode Version: Version 1.33.1 (1.33.1)
OS Version: mac

Steps to Reproduce:

change files
try to save (same with auto save )

Does this issue occur when all extensions are disabled?: Yes
I switched off all extensions and it still occurs.

What do you mean by "VS messing up formatting (and not only format)"? Can you give a file and its messed up format?

Basically, you open any type of file, for example, js. Change smth and all code will move on 2 spaces (or tabs depends on settings) left (after the line of code with last change). It's happening after saving or auto-saving.
Next chage - next 2 spaces move left and so on for js.
For scss/css files the behavior was weirder, with formatting, moving the cursor to the end of the file and adding some rules.

Turn off format on save.

@octref hm, but then how I will save files automatically? The problem exists, I can send you my screen recording

Feel free to post the screen recording here.

then how I will save files automatically?

Those are two different things.

You can turn on "files.autoSave": "afterDelay" for auto saving
Save triggers "format on save". If the formatting is wrong, can you check what's the formatting setting on the lowerright for the file?


bug: ConstructiveDilemmaDeclaration is probably ill-defined

It seems that ConstructiveDilemmaDeclaration is ill-defined. Review the litterature and assure that it is properly defined. As is it is synonymous to conjunction-introduction, this doesn't make sense.

Just corrected in dev + test updated


TypeError: Cannot read property 'nextSibling' of null

Description

Live Demo

https://stackblitz.com/edit/lit-element-example-yqhp16?file=index.js

Steps to Reproduce

click button which innerHTML is 'click this to change data'.

Expected Results
No error is throw
Actual Results
TypeError: Cannot read property 'nextSibling' of null
Browsers Affected

[x] Chrome
[x] Firefox
[x] Edge
[x] Safari 11
[x] Safari 10
[x] IE 11

Versions

lit-element: v2.0.0-rc.2
webcomponents: v2.2.3

You're overriding createRenderRoot which disables the Shadow DOM and then you are nesting elements within your custom element without using a <slot></slot> in the template.
If you remove the uses of createRenderRoot and add <slot></slot> to each template there isn't an error, all the elements are rendered, and the counter works.
https://stackblitz.com/edit/lit-element-example-nk2u9j?file=index.js

Possibly Related: https://github.com/Polymer/lit-html/issues/293


Improved key generation

In the public comments to draft version of NIST Special Publication 800-208, ETSI TC CYBER WG QSC identified a multi-target attack against the method of pseudorandom key generation used in this referrence implementation. ETSI TC CYBER WG QSC suggested using the pseudorandom key generation method from SPHINCS+, however, there is still a multi-user attack against that key generation method.
This PR revises the pseudorandom key generation method by using the method from SPINCS+, but adding SEED as an input in order to protect against multi-user attacks. Since prf() only accepts 32-byte inputs, the new key generation method uses a new PRF. The resulting key generation method is sk[i] = prf_keygen(sk_seed, pub_seed || adrs).

Looks good to me. @ahuelsing can you confirm that this matches the changes as discussed per e-mail?

Yes, this was something we discussed. Indeed, I still have to write an errata for the RFC


Add at-rules

This adds autocompletion for CSS at rules, based on the list at https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule.

Nice. Would it make sense to make the completion type for these "keyword" instead of "class", since they play the role of syntactic keywords in this language?

Nice. Would it make sense to make the completion type for these "keyword" instead of "class", since they play the role of syntactic keywords in this language?

Good call- I've made the change.

Thanks! Merged as f280a6a


Update BIST tool to reflect #452 updates

The fpgaconf command line options were updated for consistency, so the BIST tool needs updates to reflect the newly-changed arguments.

Changes look good to me, but I don't have access to approve it.

Cleaned up commit wording while waiting for @OPAE/tools approval.

@buie1 The only other references I saw were in documentation. Since it's a simple update, I just wanted to get this regtest fixed as quickly as possible.


Use tabs in project files

The csproj files mix spaces and tabs. My editor (Rider) was apparently showing tabs as 2 spaces, resulting in an unreadable csproj file:

This PR formats the csproj files to use tab consistently.
I also noticed that various cs files have inconsistent tab/space usage. Not a big concern to me, but as I typically set my editor to auto-format, this produces quite some whitespace changes.

I'm actually surprised Rider let you do this, since the .editorconfig says that the indent_size for csproj files is 2 spaces.
Do me a favor? Update line 141-148 of the .editorconfig to make it a single group with indent_style = spaces and indent_size = 2. Also add json in the list of extensions.
Then reformat the csproj files.
Thanks!

I've made those changes.
It's a bit unclear why Rider does this, it doesn't seem to consider .editorconfig in all csproj files? :/


MQTT connection failed

Description of the problem
When trying to run the echo  bot example I'm getting:
fbchat._exception.FBchatException: MQTT connection failed
Code to reproduce
https://fbchat.readthedocs.io/en/stable/examples.html#echobot
Traceback
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/peter/PycharmProjects/shrek_messenger/echo.py", line 22, in <module>
    client.listen()
  File "/Users/peter/PycharmProjects/shrek_messenger/venv/lib/python3.7/site-packages/fbchat/_client.py", line 2883, in listen
    self.startListening()
  File "/Users/peter/PycharmProjects/shrek_messenger/venv/lib/python3.7/site-packages/fbchat/_client.py", line 2835, in startListening
    foreground=True,
  File "/Users/peter/PycharmProjects/shrek_messenger/venv/lib/python3.7/site-packages/fbchat/_mqtt.py", line 65, in connect
    raise _exception.FBchatException("MQTT connection failed")
fbchat._exception.FBchatException: MQTT connection failed

Have you tried the latest version? 1.9.7

Hello, I also had that problem to solve it, what I did was use fbchat with python 2.7 because it didn't work for me with python 3.6 or 3.7
Hope I can help you 🙌🏽


[BUG] Serial baudrate is too high

BEFORE YOU CREATE A BUG REPORT MAKE SURE YOU READ THIS:
https://github.com/kamilsss655/uv-k5-firmware-custom/wiki/80-‐-Tips-&-Tricks-and-Known-Issues
Describe the bug
Functional serial baudrate is out of spec's for my USB-to serial interface
Tested with CH340 and a Prolific
To Reproduce
Loading firmware (with bootloader) had his own speed. SoO no problem there,
Radio functions OK.
But the serial communication at this new high speed between radio and PC does not work
Tested with Chirp in Developement mede and modified PY-file.; Lookup "baud" and change 384000 to 250000
Expected behavior
release notes mention

messenger uart enabled (use 250000 baud)
CHIRP driver needs to be changed to 250000 baud as well

Pictures/video

Details:

Firmware version: 21.2 pre-release
Other project had same experince and explained...
https://arduino.stackexchange.com/questions/41856/ch340-max-serial-speed

CHG340 supports common baud rates: 50, 75, 100, 110, 134.5, 150, 300, 600, 900, 1200, 1800, 2400, 3600, 4800, 9600, 14400, 19200, 28800, 33600, 38400, 56000, 57600, 76800, 115200, 128000, 153600, 230400, 460800, 921600, 1500000, 2000000 baud.
250 000 baud isn't supported by that IC.
The Baud steps is either 200% or 150% of the previous value (There is exceptions).
Also here
https://arduino.stackexchange.com/questions/32035/what-usb-to-uart-chip-provides-highest-data-rates-with-arduino-boards

FT232R (FTDI): 183 to 3M baud, including 250k, 500k and 1M, 128 RX / 256 TX FIFO
PL2303 (Prolific): 75 to 1.2M baud, not including 250k, 500k and 1M, 256 RX / 256 TX FIFO
CP2102 (Silicon Labs): 300 to 921600 baud, including 250k and 500k, 576 RX / 640 TX FIFO
CH340G (WCH): 50 to 2M baud, not including 250k, 500k and 1M, unknown FIFO size

Suggest to use 230400

I don't know if it will be possible, but I have this dream of using messenger with the cardkb for messenger text entry.  The reason I mention is because it supports only 115,200.  Just throwing that out there cause it's always a challenge to type long messages or extended conversation.  I think it is doable: https://github.com/jon7sky/CardKB_UART.

This is about serial communication betwwn trhe Radio and the ESPRI-project.
We are experiencing what is possible as fast option. So 115K is much to low,

Resolved in v.21.4.
Works with:
ftdi, ch340 and prolific


Curl Error (48)

When deploying this script with the official zabbix docker images, if you deploy the alpine images you will need to install a few additional packages to the zabbix server.
apk add curl curl-dev openssl
You need curl-dev or curl will always return error 48.
Hope that helps anyone with the same issue.

I wouldn’t run zabbix-server in a docker container, but I guess it’s technically possible...


Read cubefile xs, ys, zs correctly

Read cubefile nx and use that to calculate xs (y and z as well)

Fix issue #1531

I am contributing via pull request basically for the first time ever. I hope I did this the right way.
Feedback would be very welcome ;)


add stylefmt

https://github.com/morishitter/stylefmt

not need, this project using postcss-sorting.

For formating, need read this.


ROCm OpenCL optimizer needs to consider VGPRs a precious resource

My apologies in advance if the tone of this report comes off too negative.
In github.com's preda/gpuowl project the optimzer can and should do a much better job with register allocation.
Consider the carryFused kernel in gpuowl.cl.  The default compilation uses 109 VGPRs giving an occupancy of 2.  By chance I stuck in unroll(1) attribute to prevent unrolling a loop that is executed just 4 times.  VGPR register usage dropped to 38, occupancy up to 6, 20% performance improvement.  This is a fairly straightforward routine where even unrolled it is very easy to get register usage under 48.   With work one could probably get to 32 or less.
To show how ludicrous some of ROCm optimizer's decisions can be, a similar routine used to take one input/output pointer accessing 8 scattered values.  The optimizer precalculated all 8 pointers (16 VGPRs) and did not reuse them untli data was output at the end of the kernel.  These pointers could be recalculated with just 2 integer instructions!
Sadly, my attempts at working around the optimizer are often unsuccessful.  In carryFused with loop unrolling, if you use the attribute that limits VGPR usage to 64, the compiler generates the horrible 109 register code and spills 45 of them to global memory.
Other kernels do not have an unroll(1) point that leads to well optimized code.  I've thrown in __asm volatile to try to stop the optimizer from going nuts to no avail.
I understand register allocation is a tough problem.  If a kernel uses lots of local memory, being piggish with register allocation makes sense.  Ideally, the compiler would know how hard it is to regenerate a value, how long it needs to keep a value before it is reused, and offer an attribute that gave the programmer control on say a scale from 1 to 10 as to how aggressive registers are consumed.  I'm sure you can think of other valid approaches.
Note that any effort you put forth will benefit more than just me.  All OpenCL users stand to gain significantly.
When I last used CUDA about 8 years ago, their compiler did an impressive job in its decision making when told to limit a kernel to N registers.  The final step in development was to look at each kernel disassembly and any kernels that were just over an occupancy crossover point would be changed to use a register or two less for a nice final performance bump.

@gwoltman thank you for these comments.  We definitely realize we have work to do in this area, and understand the value of doing so.
We would like to look more deeply at the carryFused kernel, but we don't see a unit test for it.  In fact, the only test mentioned in the repo is the self-test, and it's not clear that it uses this kernel at all.  Is a unit test something that you or preda can help with?  It would allow us to focus on this more quickly.

Start with ROCm 2.10 (there may be a bug in gpuowl using ROCm 3.0).
git clone https://github.com/preda/gpuowl.git
cd gpuowl
make
To test all is working, run gpuowl thusly:  "./gpuowl -prp 95300003"
You should get output lines that look like this:
2020-01-13 17:04:27 gfx906+sram-ecc-0 95300003 OK        0 loaded: blockSize 400,<PHONE_NUMBER>000003
2020-01-13 17:04:29 gfx906+sram-ecc-0 95300003 OK      800   0.00%; 1269 us/it; ETA 1d 09:36; 46c98a6a8ac389aa (check 0.65s)
Hit ^C.   The key thing to look for is the "OK".  If instead you see "EE" then the program is not working.
Create a directory called "dump".   Run "./gpuowl -prp 95300003 -dump dump" to generate assembly code in the dump directory.  The 5Msomething.s file will show you the carryFused kernel and its register usage.  By default, carryFused loops are not unrolled.
Run "./gpuowl -prp 95300003 -dump dump -use UNROLL_ALL" to generate the disassembly for carryFused with loops unrolled.  I'm seeing register usage go from 36 to 110.

Also,  "./gpuowl -prp 95300003 -time"  will output the time spent in each kernel.

Hi @gwoltman, please check latest ROCm Documentation and ROCm 5.7.1 to see if your query has been resolved.  If resolved, please close the ticket.  Thanks.

Original ticket is more than a year old and the person that opened the ticket has not responded to the latest request.  If this is still an issue, please file a new ticket and we will investigate.  Thanks!


[Feature] Go to top button

Till now the website lacks a "Go to top" button, I want to contribute to this project by building one. You can assign me under GSSOC'24.

Please assign this issue to me @Riyasharma28 under GSSoC'24.


Save selected Character + Level on Abilities page

Not sure if this is specific to my browser, but I feel like when I revisit the page for my next scenario it remembers everything except for when I navigate to the Abilities screen and it asks me to either select my class or to select my level. It's not the end of the world, but would be a nice enhancement.

Hi ! Thanks for your feedback.
We save the class chosen in cookies but not the level, that's a good point.
I'll definitely fix this asap !

it asks me to either select my class
About this issue, we save the class in cookies so it should be remembered. It not, try clearing your cookies for gloomhaven-deck, and retry :)
Feel free to check if this works for the nightly build version: https://gloomhaven-dev.netlify.app/

Thanks for the speedy response! Yes, thinking back it might have been a one-off/old issue, but yeah it's just been the level that's been reset to 1 in more recent times.

It should be merged on dev and master soon :)


Garnet: Enhanced the list scrolling performance in DataListSample

Issue
While applying new UX 1.1 into Garnet, the performance of garnet/Title, garnet/MarqueeSupport, garnet/DataList, garnet/Item reduced.
Fix
Enhanced the list scroll performance

Optimized composite layers
Used a message image defined in a JavaScript variable to reduce image loading time
Optimized the item css

Related Garnet PR : https://github.com/enyojs/garnet/pull/676
Enyo-DCO-1.1-Signed-off-by: YB Sung<EMAIL_ADDRESS>

Looks good.


[Bug]: "path too long" on Windows

Version
29.6.4
Steps to reproduce

Have a repository with many nested subdirectories (e.g. server/src/some company/epic/use case/feature/migrations)
Have long file names (e.g. epic-use-case-feature-migration.nest-module.contract.integration.spec.ts)
Put that repository somewhere deep in the Windows filesystem (e.g. C:/Users/Some Windows User/Documents/Professional/Software Projects/Clients/Some Company/Git Repositories/Backend)
Create a test that uses snapshots, which when run creates a file: C/Users/Some Windows User/Documents/Professional/Software Projects/Clients/Some Company/Git Repositories/Backend/server/src/some company/epic/use case/feature/migrations/__snapshots__/epic-use-case-feature-migration.nest-module.contract.integrations.spec.ts.snap

Expected behavior
Snapshot should be created successfully
Actual behavior
Windows complains about "path too long"
Additional context
Windows allows you to have up to 260 characters in your paths by default.
Environment
System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
  Binaries:
    Node: 18.16.0 - E:\Program Files\NodeJS\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.5.1 - E:\Program Files\NodeJS\npm.CMD
  npmPackages:
    jest: ^29.0.0 => 29.6.4

One way to solve this would be to change how snapshot names are generated to be a shorter hash of the test file name.

I don't think we'll change this by default, but you can provide a snapshotResolver as config yourself to customize where the file is written.


Argument check should support prefix matching

Sometimes it's not feasible or desirable to list out all possible arguments. For example, sometimes the number of arguments is variable throughout the script, and I only want to mock it once. In that case it would be ideal if the stubbing functionality could handle matching on prefixes rather than the entire command string.

Looks like you are describing the same as #15 so I will close this one as a duplicate


Added implementation of Circular Linked List

Implementation of Circular Linked List that includes insertion and deletion from the beginning, middle or end.

@Meghana-Red
Actually this repo is now been excluded from hactoberfest I was fearing that it will happen eventually their can be any reason like a lot of spam PR’s so it can’t be helped but yeah it’s a one month long program so their is a lot of time to do more PR’s on many different repo’s. So, yeah Happy Hactoberfest


Generated api check baselines

#212
@dougbu
Note the base branch is rel/1.1.2.

🆙 📅  Spoke to @javiercn. Looks like there is no way to disable api check in project.json world except not having a baseline.


TG0WDT_SYS_RESET upon waking up from deepsleep if FreeRTOS unicore is enabled (IDFGH-4116)

Development Kit:      [FireBettle ESP32]
Kit version
Module or chip used:  [ESP32-WROOM-32]
IDF version (run git describe --tags to find it):
// v4.3-dev-1197-g8bc19ba89
Build System:         [idf.py]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc (crosstool-NG esp-2020r2) 8.2.0
Operating System:     [Windows]
(Windows only) environment type: [ESP Command Prompt].
Using an IDE?: [Yes (VisualStudio Code /w ESP-IDF extension)]
Power Supply:         [USB]

Problem Description
Enabling 'Run FreeRTOS only of first core' causes a TG0WDT_SYS_RESET upon waking up from deepsleep.
Tested on a timer wakeup, aswell as ULP wakeup.
Steps to reproduce

Enable Run FreeRTOS only of first core

Code to reproduce this issue
#include <esp_sleep.h>

void app_main(void) {
	esp_deep_sleep(3000 * 1000);
}

I've also created a repo with everything needed to compile and flash this awell as the ULP wakeup example here.
Debug Logs
rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7040
ho 0 tail 12 room 4
load:0x40078000,len:14320
load:0x40080400,len:3484
0x40080400: _init at ??:?

entry 0x40080634
I (30) boot: ESP-IDF v4.3-dev-1197-g8bc19ba89 2nd stage bootloader
I (30) boot: compile time 21:19:28
I (31) boot: chip revision: 1
I (35) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (42) boot.esp32: SPI Speed      : 40MHz
I (46) boot.esp32: SPI Mode       : DIO
I (51) boot.esp32: SPI Flash Size : 2MB
I (56) boot: Enabling RNG early entropy source...
I (61) boot: Partition Table:
I (65) boot: ## Label            Usage          Type ST Offset   Length
I (72) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (79) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (87) boot:  2 factory          factory app      00 00 00010000 00100000
I (94) boot: End of partition table
I (98) boot_comm: chip revision: 1, min. application chip revision: 0
I (106) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x05928 ( 22824) map
I (123) esp_image: segment 1: paddr=0x00015950 vaddr=0x3ffb0000 size=0x01a48 (  6728) load
I (126) esp_image: segment 2: paddr=0x000173a0 vaddr=0x40080000 size=0x00404 (  1028) load
0x40080000: _WindowOverflow4 at D:/Projects/ESP32-IDF/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730

I (133) esp_image: segment 3: paddr=0x000177ac vaddr=0x40080404 size=0x0886c ( 34924) load
I (156) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x12d94 ( 77204) map
0x400d0020: _stext at ??:?

I (186) esp_image: segment 5: paddr=0x00032dbc vaddr=0x40088c70 size=0x01090 (  4240) load
0x40088c70: rtc_sleep_init at D:/Projects/ESP32-IDF/esp-idf/components/soc/src/esp32/rtc_sleep.c:154

I (188) esp_image: segment 6: paddr=0x00033e54 vaddr=0x400c0000 size=0x00064 (   100) load
I (198) boot: Loaded app from partition at offset 0x10000
I (199) boot: Disabling RNG early entropy source...
I (216) cpu_start: cpu freq: 160
I (216) cpu_start: Pro cpu up.
I (216) cpu_start: Single core mode
I (228) cpu_start: Pro cpu start user code
I (228) cpu_start: Application information:
I (228) cpu_start: Project name:     sandbox
I (233) cpu_start: App version:      b7d9811-dirty
I (238) cpu_start: Compile time:     Oct 15 2020 21:24:09
I (245) cpu_start: ELF file SHA256:  3b08505516b35916...
I (251) cpu_start: ESP-IDF:          v4.3-dev-1197-g8bc19ba89
I (257) heap_init: Initializing. RAM available for dynamic allocation:
I (264) heap_init: At 3FF80064 len 00001F9C (7 KiB): RTCRAM
I (270) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (277) heap_init: At 3FFB2190 len 0002DE70 (183 KiB): DRAM
I (283) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (289) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (295) heap_init: At 40089D00 len 00016300 (88 KiB): IRAM
I (302) spi_flash: detected chip: gd
I (306) spi_flash: flash io: dio
W (310) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (323) cpu_start: Starting scheduler on PRO CPU.
ets Jun  8 2016 00:22:57

rst:0x5 (DEEPSLEEP_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7040
ho 0 tail 12 room 4
load:0x40078000,len:14320
load:0x40080400,len:3484

The problem is actually flash read err, 1000 which implies the flash chip is slow to wake up, there is a setting for that.  Are you saying it never happens if you enter deepsleep from dual core mode?

Thanks for reporting, we will look into.

I guess you're right, the flash chip is the cause, the reset is just a symptom.
I cannot say that it never happens but I've never seen it happen, and it immediately dissapears when unicore mode is turned off. For more clarification, here is debug output from dual code & unicore without any other modifications (I've also turned all debug to error, so that the back-to-back resets are more easily visible):
https://gist.github.com/istokm/d50bf0bfe005be070c4cd1cafe5245ca
I've also tested this on multiple ESP32 boards I have next to me, all exhibit this behaviour.

Hi @istokm, could you clarify what is the "ESP32 Devkit v1" board? Is it https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/modules-and-boards-previous.html#esp32-core-board-v2-esp32-devkitc, or something else? A photo/link would help.
Also, could you please run esptool.py --port YOUR_PORT flash_id for all the boards where you observe failures? In particular, we need the "Manufacturer" and "Device" lines. Thanks.

could you clarify what is the "ESP32 Devkit v1" board?

It's the DOIT ESP32 DevKit v1 - https://docs.zerynth.com/latest/reference/boards/doit_esp32/docs/

Also, could you please run esptool.py --port YOUR_PORT flash_id for all the boards where you observe failures?

Firebeetle ESP32:
Detecting chip type... ESP32
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:2b:96:9a:4f:0c
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 4018
Detected flash size: 16MB

DFRobot Beetle ESP32:
Detecting chip type... ESP32
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:2b:96:98:5a:80
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 4018
Detected flash size: 16MB

DOIT ESP32 DevKit v1:
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision 0)
Features: WiFi, BT, Dual Core, Coding Scheme None
Crystal is 40MHz
MAC: 30:ae:a4:02:f5:4c
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 4016
Detected flash size: 4MB

Sparkfun ESP32 Thing plus:
Detecting chip type... ESP32
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: f0:08:d1:66:eb:ac
Uploading stub...
Running stub...
Stub running...
Manufacturer: c8
Device: 4018
Detected flash size: 16MB

And just for good measure, here is the only device I own where I do not observe this failure - Adafruit ESP32 Feather:
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:71:bf:7d:6f:94
Uploading stub...
Running stub...
Stub running...
Manufacturer: 20
Device: 4016
Detected flash size: 4MB

I guess the only thing it sets it apart is indeed the manufacturer number. Care to elaborate what that means exactly?
Thanks!

@istokm This issue was fixed on the master branch in https://github.com/espressif/esp-idf/commit/ff8d05466e83049bca44e1584891bfafc8c46cd7. If you prefer to stay on your current commit, you can disable CONFIG_ESP32_RTCDATA_IN_FAST_MEM option in menuconfig as a workaround.

Pulling master and recompiling indeed fixed it, thanks!

So basically without the fix the default wake stub didn't run after deepsleep and ESP32_DEEP_SLEEP_WAKEUP_DELAY was skipped leading to flash read err, 1000


How create managed server with Docker in host remote (Weblogic <IP_ADDRESS>)

How create managed server with Docker in host remote (Weblogic <IP_ADDRESS>) ?
Is there a step-by-step manual?

Is this still an issue?

Please follow the example https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-domain

I am not sure what you mean by host remote.  The above sample is <IP_ADDRESS> but all you need is to change the FROM clause to extend a <IP_ADDRESS> binary image.


chore: bdd-spring-1575564192 to 0.0.1

chore: Promote bdd-spring-1575564192 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Network Error on Localhost

As defined in issue #560 in Postwoman repo

Fixed issue in the latest commit


Inconsistencies with dynamic collections

I have noticed inconsistent behaviour when using the with(collection: collection_name) modifier to force mongoid to read from / write to a different collection.
First of all this doesn't work as expected:
Search.with(collection: "search_collection_1").where(...)

doesn't work. Instead you need to add all to make it work, like:
Search.all.with(collection: "search_collection_1").where(...)

Furthermore, when I create a new object with with then consequent updates to the object use the correct collection, i.e:
search = Search.with(collection: "search_collection_1").create(id: "xyz", data1: "some useful data...")
search.inc(usage: 1) # this will update the document in the correct collection

However during retrieval this is not the case:
search = Search.with(collection: "search_collection_1").where(id: "xyz").first
search.inc(usage: 1) # this will update the document in the *default* "searches" collection (practically it will do nothing, since the document is not there)

search.with(collection: "search_collection_1")
search.inc(usage: 2) # now it use the proper collection

Is this something that will be fixed?
Or is it supposed to work like this?

Another similar inconsistencies is that when you use with to allow runtime specific behavior, declaration in the store_in macro are discarded.
class Link
  store_in database: -> { Dispatcher.get_database(self) }

  def self.create_link1
    # will not write to proper db, will use the one from mongoid.yml
    Link.with(write: {w: 0}).create(url: "http://....", title: "abc...")
  end

  def self.create_link2
    # this will write to the correct db
    Link.with(write: {w: 0}, database: Dispatcher.get_database(self)).create(url: "http://....", title: "abc...")
  end

Can you check if this is still a problem against latest master?
Also I saw there was more then one issue in here, so if you could write some unit tests to illustrate every broken point, would be awesome.
You can use https://github.com/mongoid/mongoid/blob/master/examples/mongoid_test.rb as base for your tests.
thanks

I uploaded a gist with some tests: https://gist.github.com/glampr/06ff0fe2a387fd85419c
Everything but test_03 seems to be working fine in the latest from master, i.e. when retrieving a document with runtime collection, saving the object doesn't save to the collection where it came from.
#3701 and #3418 also seem fixed (included tests in gist)


LLM upload to Huggingface 🤗

I'm wondering if this LLM has been uploaded to Huggingface yet. If the model is not yet uploaded to Huggingface, do you have an estimate of when it will be?
Thanks

+1

+1+1+1

Almost there: https://github.com/huggingface/transformers/pull/26042

You should be able to use the chat and the base models with the PR checked out

@ArthurZucker thank you for putting this together!!! A really quick note: We'd recommend adding the prompt structure for the chat-finetuning to the chat inference, since performance really degrades without it! It looks something like this:
human: <some query>

adept:


[MOB-432] - refactor inapp displayer

This is pretty much same as before. Previously a value of false/true returned right away and then callback called on user click.
Now we return an error right away (== false earlier) then a Future is returned instead of callback. We can look maybe making this better in the future but this is no worse that what is before.
Returning a Future instead of callbacks will help us refactor the code better down the line. This relates to another dependent branch that I am working on.

The return value and the callback had different purpose and context though...

What do you think about returning ShowResult? This is a sum type depending on the outcome. I think that is a decent approach.
enum ShowResult {
case opened(Future<URL, Error>) // if opened returned future
case notOpened // if not opened nothing else is needed
}

Yeah, I think that's a good idea.


transfer options to string when options is a number to aviod throw an…

… error

@cainiao222 Why are you passing in a number? That sounds like a bug 🤔 not the fact that vfile can’t handle it?

@wooorm  I use unified to parse markdown content, when the markdown content has only number,the following  code in core.js   would throw an error,
function VFile(options) {
var prop
var index
var length
if (typeof options === 'number') {
options = options.toString();
}
if (!options) {
options = {}
} else if (typeof options === 'string' || buffer(options)) {
options = {contents: options}
} else if ('message' in options && 'messages' in options) {
return options
}
if (!(this instanceof VFile)) {
return new VFile(options)
}
the type of options is number, but here has not code to deal width the condition

I use unified to parse markdown content, when the markdown content has only number

Could you expand on this? I don’t think unified ever does that 🤔


500 is always returned when requesting a uri

url : /api/restaurants/random
{
  "timestamp": "2022-11-16 10:56:45",
  "status": 500,
  "error": "Internal Server Error",
  "path": "/api/restaurants/random"
}

#12


Add support for TrOCR Model

Add Support for TrOCR(https://huggingface.co/microsoft/trocr-base-printed) Model

Merged, thanks a lot! Would be great to advertise this new model a bit if you felt like posting on twitter / reddit / discord so that potential users are aware of its existance.

Thanks for nice addition! Anyway I have some issue for microsoft/trocr-large-printed when I try it with
    let vb = {
        let model = match args.model {
            Some(model) => std::path::PathBuf::from(model),
            None => match args.which {
                // Somehow this one is 404
                Which::Base => Api::new()?
                    .repo(hf_hub::Repo::with_revision(
                        "microsoft/trocr-base-printed".to_string(),
                        hf_hub::RepoType::Model,
                        "main".to_string(),
                    ))
                    .get("model.safetensors")?,
                Which::Large => Api::new()?
                    .repo(hf_hub::Repo::with_revision(
                        "microsoft/trocr-large-printed".to_string(),
                        hf_hub::RepoType::Model,
                        "main".to_string(),
                    ))
                    .get("model.safetensors")?,
            },
        };
        println!("model: {:?}", model);
        unsafe { VarBuilder::from_mmaped_safetensors(&[model], DType::F32, &device)? }
    };

and
cargo run --example trocr --release --  --which large --cpu --image candle-examples/examples/trocr/assets/trocr.png

i got an error
Error: shape mismatch for encoder.embeddings.cls_token, expected: [1, 1, 768], got: [1, 1, 1024]

Not sure what I miss?

Hi @katopz , I think we might be missing the encoder configurations for the large model.
Here's where the encoder config is for base https://github.com/huggingface/candle/blob/6d83d42efb1c8126c4fc34faee3f5a139b09dec6/candle-transformers/src/models/vit.rs#L38


Installation instructions for npm, yarn and pnpm are wrong

See https://zod-fixture.timdeschryver.dev/#installation
It suggests installing Vitepress.

Thanks @a3957273 !
This is closed by #70


High-DPI mode

Detecting DPi is something i need, so that i can then scale everything properly and do constraint based layout.
Is there anything in Ebiten yet for detection of DPI ?

Is there anything in Ebiten yet for detection of DPI ?

Not so far, and let me think if I should make the API. This is risky because this might break assumptions of Ebiten's graphics system.

I can see what you mean about risky as you presume a fixed X and Y screen space.
If its really not something you want to put in yet thats OK. I can always try out some ideas in a fork..


it is work on the web camera?

the android web camera has not display screen, the app work？

If you means connect an external camera to your phone. No this feature is not implemented.
If your device is an Android device. This library was tested and work with rasberry pi using Android things.
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/260

my device is android Mobile phone module whithout lcd

I think this should work but the best solution is test yourself and open an issue if you have any problems.
I recomend you use background stream mode if you haven't preview.
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtplibrary/src/main/java/com/pedro/rtplibrary/rtmp/RtmpCamera1.java#L50

OK


Switch from polling to socket connection for payment detection

Can sync from https://github.com/alt-win/paybutton.github.io

Sounds like SSE would probably be a better option unless we need the 2-way connection.

BCHD could be an option. Here's the public node: bchd.greyh.at


Visibility component flags per camera

What problem does this solve or what need does it fill?
I have a game which uses the same App (and &mut World, resources, window, e.t.c. a default App::default().run()) and its space in two different ways. I am using Camera3dBundle to render the main 3d space that the player occupies, and Camera2dBundle to render a form of 'ui' formed from various meshes. The advantages of using such a UI is the increased flexibility, how would you create a circular odometer using bevy_ui or bevy_egui?
The problem is sometimes randomly spawned objects accidentally 'intersect' with the 2d space/plane of the Camera2d/UI and (with the bevy_rapier3d debugging plugin added) show up rather strangely! I initially wrote up this issue before realising the only reason the meshes appear across the 3D-2D boundary is because of the 3d physics debugging I have added, of which the images below demonstrate. However I would also like to develop 'physically seperate' parts of my game, as in multiple entities existing in the same space (ignoring physics) but depending on which camera you are viewing from a different scene can show.
What solution would you like?
I would like the ability to flag the Visibility (or equivalent semantic) components of Entities to not show up on certain cameras. This would preserve the expected default of all meshes showing on all cameras, which is a very sensible default. I don't know bevy internals or the terminology, so maybe 'mesh' and 'entity' is the wrong term, but I would like to flag all of the 'main world' entities with a marker component / flag in that allows for, effectively, two seperate cameras to view the same space but actually render only runtime-configurable subsets of entities.
I don't mind if these flags have finite limits like a bit mask or they involve marker components, my current game only uses 5 cameras at the moment (4 for ui sticky to each corner) and I don't see why a u32 isn't appropriate for such circumstances
What alternative(s) have you considered?
I have tried to understand how I would use a sub app to solve this problem, but I don't quite know where they fit into this sort of problem. Maybe I would std::men::replace the &mut World of one app into another between renders, but that is getting a bit too advanced for my liking. In a similar vein, I have considered mutating the Visibility components of entities between camera renders but don't even know where to start on that!
Additional context
This image shows both normal 3d asteroids (larger) and the smaller 2d slices of asteroids in solid red.
This was with the bevy_rapier3d debugging plugin enabled, which is where the lines appear.

Can you use RenderLayers to achieve this effect?

I am taking a look at its documentation, how do I use it in relation to cameras?

Awesome: for future readers, the example here is pretty good!


lint: crashing on big merges

This has happened a few times now. Latest: merged master (b77898f) to refactor/get-started-2 at e634ed0e (huge merge which required solving a small conflict). Tried to commit:
λ git commit
husky > pre-commit (node v12.16.1)
$ pretty-quick --staged --no-restage --bail
�  Finding changed files since git revision e634ed0e.
�  Found 99 changed files.
✅  Everything is awesome!
$ ...\dvc.org\node_modules\.bin\lint-staged
Preparing... [started]
Preparing... [completed]
Running tasks (chunk 1/2)... [started]
...
Running tasks (chunk 2/2)... [completed]
Applying modifications... [started]
Applying modifications... [failed]
→ fatal: Unable to create '.../dvc.org/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Cleaning up... [started]
Cleaning up... [completed]
fatal: Unable to create '.../dvc.org/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
husky > pre-commit hook failed (add --no-verify to bypass)

I had to git commit --no-verify for now...

Running tasks (chunk 1/2)... [started]
...
Running tasks (chunk 2/2)... [completed]
...
→ fatal: Unable to create '.../dvc.org/.git/index.lock': File exists.

Sounds like these chinks are done in parallel causing .git/lock collisions.

I haven't had this happen in a while so maybe it's been fixed. I'll remove the priority for now...

closing this for now ... moreover, not clear what can be done anyways. Large merges happen very rare and we can handle them manually if needed.

👍


Sanitize http handler jaeger spans in collector.

Describe the bug
When we set error tag on a span to string ("True", for example) or error message, Jaeger collector doesn't sanitize the tags to mark the span erroneous. This issue is present in opentracing-tutorials python exercise; More information could be found here.
Zipkin, for instance, sanitize tags in Jaeger collector.
To Reproduce
Steps to reproduce the behavior:

Create a span in a golang app.
Mark span erroneous using either span.SetTag("error", "True") or span.SetTag("error", "error message")
Jaeger UI doesn't highlight span as erroneous.

Expected behavior
Jaeger collector should mark span as erroneous. If there is a message in a error tag, it should be added to error.message field; like in zipkin handler.
Screenshots

Version (please complete the following information):

OS: MacOS Mojave 10.14.6
Jaeger version: docker all-in-one 1.7
Deployment: docker all-in-one

What troubleshooting steps did you try?
Read the code. All handlers other than Zipkin doesn't have sanitizers.
Additional context
If adding sanitizers sounds reasonable to you; I will go ahead and create a pull request.

My preference is to fix it in the Python client. Turns out it already has the logic for separating tag values by types, but for some reason it doesn't seem to work here: https://github.com/jaegertracing/jaeger-client-python/blob/d56ae3440424b9e10b2d6a400b821814751d8236/jaeger_client/thrift.py#L72

Also, if someone is doing span.SetTag("error", "True") (with a string value), then that's just incorrect instrumentation and I don't think we need to fix that. Where did you find that example?

It is because of jaeger version in requirements.txt, python client is not marking spans as erroneous. I will create a pull request for that in tutorials.
On second comment, zipkin sanitizer is marking spans erroneous when error is set to "True" and also adding another annotation when a message is send in error tag;  Here is the code.
Also, shouldn't sanitizer be at collector level rather than in language client implementations?

I am not strongly opposed to sanitizer, but in this case the issue is only with Python client that has full ability to set the tag as a proper Boolean already, so I would rather fix it at the source than put an extra overhead of collectors.

This ticket can be closed now. I have raised a pull request in opentracing-tutorials to fix this issue.


[C++][Parquet] Add a "file iterator" abstraction and API-compatible interface for scanning directories of Parquet files

Since many systems write many Parquet files into a particular directory in HDFS, for example, one will want to be able to treat a collection of files from the same dataset semantically as one large table. This will save downstream clients of parquet-cpp from having to write this code themselves.
Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-567. Please see the migration documentation for further details.

Wes McKinney / @wesm:
We are planning to address this use case downstream in Apache Arrow. I do not think it is useful to implement such logic in a Parquet-specific way, so best left to consumers of parquet-cpp


Outdated emoji

Yakyak use outdated emoji. A new set of emoji is now available in the official client.

This! And  <3 converts to a purple heart instead of (conventional) red


Confusion about rails 5.2 cache versioning

Hello, I just saw in the history "Fix behavior for Rails 5.2+ cache_versioning" introduced by https://github.com/petergoldstein/dalli/pull/698. There support was added to check cache_key_with_version which is also used in https://github.com/rails/rails/blob/276fa9dd3cdd567a0a9d93ac6a001709896c7c47/activesupport/lib/active_support/cache.rb#L94
On the other hand I see calls to cache_version in https://github.com/rails/rails/blob/276fa9dd3cdd567a0a9d93ac6a001709896c7c47/activesupport/lib/active_support/cache.rb#L652
Trying out the example from @schneems in https://github.com/rails/rails/issues/33907 I still see the problem different behavior between dalli 2.7.9 and rails memory_store
ModelWithKeyAndVersion = Struct.new(:cache_key, :cache_version)
model_1_cache_1 = ModelWithKeyAndVersion.new("model/1", "1")
model_1_cache_2 = ModelWithKeyAndVersion.new("model/1", "2")

Rails.cache.fetch(model_1_cache_1) { "woohoo" }
Rails.cache.read(model_1_cache_1) # => "woohoo"

Rails.cache.read(model_1_cache_2) # => "woohoo" for dalli
Rails.cache.read(model_1_cache_2) # => nil for memory_store

Since I barely know anything about rails caching internals I wonder, if there is still a bug in dalli or if this different behavior is explainable?

It's tough to say, I don't think the cache_key_with_version is really well documented from the Rails side of things, i.e. if you have a custom (non-AR object) that you want to put in the cache then you'll need to know about this method (in addition to cache_key and cache_version). Depending on where you use the object you might need to implement this method no matter what cache store you are using. In that regards it's technically an implementation bug in my example.
That answer feels harsh though. I'm not sure exactly where I would claim the bug to be. One answer could be to abandon the dalli_store all together and instead have people use the mem_cache_store from Rails. I don't know if there are other benefits to maintaining a separate cache store backend.


Button in ListBoxItem not firing event

Hello,
I am trying to place a button inside a ListViewItem like this:
<ListBox FontSize="13" Items="{Binding Path=SelectedFPGA.Connections}" SelectedItem="{Binding Path=SelectedFPGA.SelectedConnection, Mode=TwoWay}" Background="{StaticResource DarkColor}" BorderThickness="0" VerticalAlignment="Stretch">
                <ListBox.ItemTemplate>
                  <DataTemplate>
                    <DockPanel>
                      <TextBlock Text="{Binding Signal}"></TextBlock>
                      <Image Height="18" Source="avares://VHDPlus/Assets/Images/Icons/twotone_link_white_18dp.png"></Image>
                      <TextBlock Text="{Binding Pin}"></TextBlock>
                      <Button Height="18" Width="18" Classes="Seperate" DockPanel.Dock="Right" Command="{Binding Seperate}" HorizontalAlignment="Right" ToolTip.Tip="Seperate connection" Margin="0" Padding="0">
                        <Image Height="18" Source="avares://VHDPlus/Assets/Images/Icons/Close_White_16x.png"></Image>
                      </Button>
                    </DockPanel>
                  </DataTemplate>
                </ListBox.ItemTemplate>
</ListBox>

It shows correcty but I can't figure out how to get the click event from it.
The :pointerover style does not work too so I am guessing that the Listboxitem consumes the click so the button does not fire the event.
I tried experimenting with Z-Index but it didn't change anything

Your command Seperate is in the same level as SelectedFPGA.Connections in VM?

Seperate is in the same level as Signal or Pin. But I already tried moving it somewhere else. I also tried the Click="Seperate" which would access the method in the View.cs file but it did nothing

You can check what happens to the event in the dev tools.

Can you provide MCVE?
Version of Avalonia?

I don't know what is wrong here but in I managed to make it work in a different ListBox so I guess it was my mistake

Can your share your last code of that Listbox?

@Touhid9814 answering closed issues will most likely not help you. If you have a question you need an advice, please open a new Q&A in discussion or join us on telegram https://t.me/Avalonia


Allow passing django file objects to sendfile

It would be great if sendfile could support django.core.files.File and django.db.models.fields.FileField as an argument in place of filename.
This could improve usability, since many files are stored as filefield.

That would only work if FileSystemStorage was being used as FileField doesn't store the MIME type, so we'd to inspect the file ourselves. The user could pass in a MIME type themselves, but that defeats the point of supporting FileField in the first place :smile_cat:

I was not thinking about mime-type guessing, since that is not stored nor accessible via django file API.
I was thinking about a more user-friendly approach by using:
sendfile(mymodel.file_field)
sendfile(myfile)

In place of the current:
sendfile(mymodel.file_field.path)
sendfile(myfile.name)

Obviously to work with FileField (and derived fields) field.storage must implement the path method or whatever method is required by sendfile and an ImproperlyConfigured error should be raised otherwise.

I'm liking this idea less and less. Users are going to be confused and frustrated if we tell them we support File and FileField directly, only to find out we only support one storage backend.
Thanks for submitting this issue, but I don't think we'll be implementing this.


Genetically_interacts_with edge not being found by ARAs in A.2

https://arax.ncats.io/?source=ARS&id=a1c2f30e-8bfc-4407-ad5c-7d43d70f11eb

Note that BTE (recently updated!) is currently finding 2 genetically_interacts_with edges from Automat Hetios API: https://github.com/biothings/BioThings_Explorer_TRAPI/issues/236#issuecomment-917334404

Gregory mentioned that they are working with Expander Agent on this issue.


Page layout with header, footer, and floating buttons

I would like to create a page with the following layout, which is basically a column:
[top] Header Widget (fixed on page, non-scrollable)
[mid] PagedListView (scrollable) with RefreshIndicator and (one) anchored FloatingActionButton
[bot] Footer Widget (fixed on page, non-scrollable)
But I am having throubles with it... any help is kindly appreciated.
If it is for help, this page is created within a tab page inside a scaffold.

Hi!
Your issue would be better fit for the flutter community resources than our github repository, where we mainly focus on fixing bugs or introducing new features. We do not provide support on general integration of the package into your codebase.
You can find the community here.
Thanks!


Viewing w/out using binder

Binder is super slow and annoying.  Is it possible to see a static version of these guides w/out having to wait for binder to launch?  I keep trying to view this, but I don't have the patience to wait on binder.

I found the website:  https://networkx.org/nx-guides/


doc: Update documentation playbook to reflect transition from Potential to Notion

https://github.com/artsy/README/issues/492 prompted me to take a look at our existing documentation playbook covering some of the same topics. I had failed to update it when we decided that Notion would be a preferable location for internal documentation instead of the Potential repo.

Ooh nice one. Thank you!

🚀


Explorer on mainnet shows incorrect uptime

Looks like we're counting from beginning of (Unix) time.

Barney mentioned yesterday that this wasn't done and he wasn't sure why it was closed so I had a look into it ... It looks like this was perhaps resolved for the stats app but not block explorer?


Fix default image tag type in values

What was changed

Fix the default type of the image tag from map {} to string "" in the values file.
Issue introduced in https://github.com/temporalio/helm-charts/pull/488
Why?

It's causing these errors when rendering the chart
coalesce.go:286: warning: cannot overwrite table with non table for temporal.temporal.server.image.tag (map[])

Checklist

Closes
None

How was this tested:
By rendering helm templates locally

Any docs updates needed?
No

Thanks :)


Opencast is not finding ActiveMQ which is running

Describe the bug
When I see system Notifications, I can see below 2 messages.
Active MQ Not Found
Service States Not Found
Opencast notification screenshot.

ActiveMQ Admin page screenshot which works fine.

To Reproduce
Steps to reproduce the behavior:
Followed the steps at: https://websiteforstudents.com/how-to-install-opencast-on-ubuntu-18-04-16-04/
Environment Information

OS: NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Browser: Mozilla

Opencast version with minor release: 8.1

A few things:

Debian based systems have packages available. This is highly recommended versus manually installing, much less compiling from source!
Installation instructions from our docs are generally a better idea than finding something on an unrelated website online.
8.1 is out of date, install 8.10, or better yet 9.1. This wouldn't affect the issue here though.
You didn't configure the activemq settings in the main Opencast config file.

If you're still seeing issues after configuring activemq we would need to see the log file Opencast generates.

A few things:

Debian based systems have packages available. This is highly recommended versus manually installing, much less compiling from source!
Installation instructions from our docs are generally a better idea than finding something on an unrelated website online.
8.1 is out of date, install 8.10, or better yet 9.1. This wouldn't affect the issue here though.
You didn't configure the activemq settings in the main Opencast config file.

If you're still seeing issues after configuring activemq we would need to see the log file Opencast generates.

Closing this since it's not confirmed on a supported version and I could not reproduce the issue.
Please re-open if there is a way to reproduce the issue.

Closing this since it's not confirmed on a supported version and I could not reproduce the issue.
Please re-open if there is a way to reproduce the issue.


A user can validate their email address to access a survey

A user can validate their email address so they can access a survey.
Acceptance criteria
Scenario 1:
User clicks a link to access the survey link, sees the "verify email" modal:
Header: Verify your email address
Text: To provide you with the best experience possible, we require you to validate your email address. (i icon, content tbd)
You will receive a link to access the survey at the email address you provide.
Box: T&C (TBC)
Checkbox: I agree to the Terms and Conditions above.
Input:
Email address
Buttons: "Cancel" & "Submit"
Scenario 2:
User adds their email address and clicks "Submit".
Modal:
Header: Thank you
Text: We sent a link to access the survey at the following email address:

Bold Text: Please click the link provided to access the survey.
The link will be valid for 24h.
Button: "Close"
User returns to Engagement page
Scenario 3:
User adds their email address and clicks "Submit".
Modal:
Header: We are sorry
Text: There was a problem with the email address you provided:

Bold Text: Please verify your email and try again.
If this problem persists, contact
Button: "Try Again" & "Return to Engagement"
Scenario 4:
Matches wireframes:
https://xd.adobe.com/view/c19819d0-bedb-4427-93c3-d06f784fc2af-94cb/screen/a1efade1-d448-48da-ab15-3974b36c2dd3/specs/
https://xd.adobe.com/view/c19819d0-bedb-4427-93c3-d06f784fc2af-94cb/screen/342e6adc-7b0d-4feb-a271-cec3d2aed777/specs/
https://xd.adobe.com/view/c19819d0-bedb-4427-93c3-d06f784fc2af-94cb/screen/fb21a8fe-7f6e-4de8-b05e-e3e3db88569b/specs/

Hey team! Please add your planning poker estimate with ZenHub @tiagograf-AOT @saravanpa-aot @djnunez-aot @jadmsaadaot


Internal Server Error when restoring packages

We are starting to use BaGet as our package repository instead of Azure DevOps Server. After one month of using it, builds started to fail due to Internal Server Errors when restoring packages. Looking at the BaGet logs we saw that this exception is being logged many times:
Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer
EventId: 2
RequestId: 80000839-0003-9500-b63f-84710c7967bb
RequestPath: /v3/package/mypackage/2<IP_ADDRESS>/mypackage.2<IP_ADDRESS>.nupkg
SpanId: |b99f9b84-43bfa581a4123fff.
TraceId: b99f9b84-43bfa581a4123fff
ParentId:

Connection ID "10736581526146779187", Request ID "80000839-0003-9500-b63f-84710c7967bb": An unhandled exception was thrown by the application.

Exception:
Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException(Int32 commandIndex, Int32 expectedRowsAffected, Int32 rowsAffected)
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeResultSetWithPropagationAsync(Int32 commandIndex, RelationalDataReader reader, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeAsync(RelationalDataReader reader, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
   at BaGet.Core.PackageService.TryUpdatePackageAsync(String id, NuGetVersion version, Action`1 action, CancellationToken cancellationToken) in /_/src/BaGet.Core/PackageService.cs:line 145
   at BaGet.Core.DefaultPackageContentService.GetPackageContentStreamOrNullAsync(String id, NuGetVersion version, CancellationToken cancellationToken) in /_/src/BaGet.Core/Content/DefaultPackageContentService.cs:line 65
   at BaGet.Web.PackageContentController.DownloadPackageAsync(String id, String version, CancellationToken cancellationToken) in /_/src/BaGet.Web/Controllers/PackageContentController.cs:line 49
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at BaGet.Web.OperationCancelledMiddleware.Invoke(HttpContext context) in /_/src/BaGet.Web/OperationCancelledMiddleware.cs:line 57
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()

To solve this, we had to reduce the number of packages stored in the database, from 100.000 to 50.000 packages, and the Internal Server Errors disappeared although that exception is still being recorded in the BaGet log. The reason so many packages are stored is because we have a continuous integration process involving many builds to publish and restore packages.
For more information, BaGet is installed in an IIS on a Windows Server 2019 Standard and the database server is a SQL Server 2019.
Is there anything we can do without modifying the code to avoid this exception? Change the database server to PostgreSQL or MySQL?
Thank you in advance for your dedication to this project.

Hi, I may have just fixed this for you. https://github.com/loic-sharma/BaGet/pull/716

We use private NuGet feed for providing binary updates to worker machines and I had to put download count increment into try/catch block to stop error propagation which caused HTTP 500 errors.
When dozens of downloads are initiated at the same moment, the HTTP 500 is guaranteed to occur.


Cherry-pick LUCENE-10122 and LUCENE-10062 from 9.0

Bring forward the two taxonomy faceting changes made against branch_9_0.

Looks like someone beat me to forward-porting LUCENE-10122. Just merged branch_9x to get that change and resolved conflicts. So this is now just forward-porting LUCENE-10062.

Just waiting on approval steps to run and will merge. (git has too many sharp edges for my liking, so I prefer to use the squash/merge button here :) )


PullPatch 4

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

Review Error for Setland34 @ 2024-12-12 22:42:24 UTC
User must have write permissions to review


Monitor logging cost

User story

As a customer I want to avoid unexpected cost increase for logging

In order to prevent unexpected cost increase for customers, Giant Swarm engineers should have alerting in place to detect abnormal increase in logs volumes.

duplicate of https://github.com/giantswarm/roadmap/issues/2150


error code CS0246

Hi, I'm getting the following error:

The type or namespace name 'IRestaurantData' could not be found (are you missing a using directive or an assembly reference?)
Startup.cs

Verify if you have reference to the OdeToFood.Core project

managed to fix my errors, it appears both the .Core and .Data library classes were created with the newer .NET Framework 3.1 and thus wasn't compatible with the version of the project, changed these and it worked.


Is date conversion not implemented when reading CSV using pyarrow?

I want to use pyarrow 0.14.1 in Python 3.6 to read a CSV file which has a column called Date where the date values are in YYYY-MM-DD format (e.g. 2018-11-17).
I want to convert the date values to date32() format using ConvertOptions.columntypes as shown in the code below.
However, I get an ArrowNotImplementedError.
Does this mean that this feature is not yet implemented?
I searched the pyarrow docs and the pyarrow issues forum on GitHub as well as searching generally on the web but the most similar issue I could find is https://github.com/apache/arrow/issues/3223 which is not the same.
import pyarrow as pa
from pyarrow import csv

file_path = '/home/wajadoogle/csvWithDateInYYY-MM-DDFormat.csv'

opts = csv.ConvertOptions()
opts.column_types = {'Date': pa.date32()}

table = csv.read_csv(file_path, convert_options=opts)

I get the following error.
File "/home/wajadogle/TestPyarrow.py", line 9, in <module>
    table = csv.read_csv(file_path, convert_options=opts)
File "pyarrow/_csv.pyx", line 450, in pyarrow._csv.read_csv
File "pyarrow/error.pxi", line 93, in pyarrow.lib.check_status

pyarrow.lib.ArrowNotImplementedError: CSV conversion to date32[day] is not supported

Thanks, Wes. I could help with this if you like. Can you give me a link to how I might contribute please?

Hi Wes,
Thanks.
I'll have a look.
Jim
On Wed, 28 Aug 2019 at 03:21, Wes McKinney<EMAIL_ADDRESS>wrote:

https://github.com/apache/arrow/blob/master/docs/source/developers/contributing.rst
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/issues/5209?email_source=notifications&email_token=AA2OAQMPZR5RLJ3MGUGVA3LQGXOLRA5CNFSM4IQT32YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5JVS4Q#issuecomment-525556082,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2OAQOREB5CAPLJKMU26DLQGXOLRANCNFSM4IQT32YA
.


DescriptorType has wrong Display impl for variant Cov

Displa
has "el" prepended but the FromStr impl seems to not have it
https://github.com/ElementsProject/elements-miniscript/blob/af410f6f6e4b645977e26e0809acae1a33e986b5/src/descriptor/mod.rs#L151

For some reason this is duplicated