Crash on enterprise builds few seconds after launch. Deferring to Google Analytics for Firebase for event data collection

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.1
Firebase SDK version: GoogleAppMeasurement 6.6.2
Firebase Component: Google-Mobile-Ads-SDK
Component version: 7.62.0
Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem
Crash on launch for all our enterprise builds and exceptions (no crashes) on develop builds, only reproducible when trying to update Google-Mobile-Ads-SDK and its dependencies
Enterprise build displays the following issue in the console
 - <AppMeasurement>[I-ACS025027] Deferring to Google Analytics for Firebase for event data collection. https://goo.gl/YNbdK2
- <AppMeasurement>[I-ACS800002] Cannot register experiment client invalid flags. Flag name, value: redundant_engagement_removal_enabled, 0

[reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 1894, TID: 779600, Thread name: com.apple.CoreMotion.MotionThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4   libobjc.A.dylib                     0x000000018979f894 <redacted> + 56
5   CoreMotion                          0x0000000190025040 CoreMotion + 307264
6   CoreMotion                          0x0000000190025574 CoreMotion + 308596
7   CoreMotion                          0x0000000190025484 CoreMotion + 308356
8   CoreMotion                          0x0000000190056c64 CoreMotion + 511076
9   CoreMotion                          0x0000000190056cc4 CoreMotion + 511172
10  CoreFoundation                      0x000000018a5364fc <redacted> + 28
11  CoreFoundation                      0x000000018a535de0 <redacted> + 276
12  CoreFoundation                      0x000000018a530bc8 <redacted> + 1016
13  CoreFoundation                      0x000000018a5304b8 CFRunLoopRunSpecific + 452
14  CoreFoundation                      0x000000018a53121c CFRunLoopRun + 84
15  CoreMotion                          0x00000001900565fc CoreMotion + 509436
16  libsystem_pthread.dylib             0x000000018a1ab974 <redacted> + 132
17  libsystem_pthread.dylib             0x000000018a1ab8d0 _pthread_start + 52
18  libsystem_pthread.dylib             0x000000018a1b3ddc thread_start + 4

Steps to reproduce:
Whenever we try to update the Google Mobile Ads SDK from 7.43.0 to 7.62.0 we receive a crash in our enterprise builds few seconds after launching the app. We also observe an exception related to GULAppEnvironmentUtil.m
[UIApplication applicationState] must be used from main thread only

we set a breakpoint in GULAppEnvironmentUtil.m and the exception triggers on the method isFromAppStore
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
+ (BOOL)isFromAppStore {
  static dispatch_once_t isEncryptedOnce;
  static BOOL isEncrypted = NO;

  dispatch_once(&isEncryptedOnce, ^{
    isEncrypted = IsAppEncrypted();
  });

  if ([GULAppEnvironmentUtil isSimulator]) {
    return NO;
  }

  // If an app contain the sandboxReceipt file, it means its coming from TestFlight
  // This must be checked before the SCInfo Folder check below since TestFlight apps may
  // also have an SCInfo folder.
  if ([GULAppEnvironmentUtil isAppStoreReceiptSandbox]) {
    return NO;
  }

  if (HasSCInfoFolder()) {
    // When iTunes downloads a .ipa, it also gets a customized .sinf file which is added to the
    // main SC_Info directory.
    return YES;
  }

  // For iOS >= 8.0, iTunesMetadata.plist is moved outside of the sandbox. Any attempt to read
  // the iTunesMetadata.plist outside of the sandbox will be rejected by Apple.
  // If the app does not contain the embedded.mobileprovision which is stripped out by Apple when
  // the app is submitted to store, then it is highly likely that it is from Apple Store.
  return isEncrypted && !HasEmbeddedMobileProvision();
}

Something's not right with the stack traces in this issue. -[UIApplication applicationState] is only used in FirebaseMessaging, not in GoogleUtilities. See this search query.
Can you symbolicate the symbols in the first stack trace you posted or share a sample project that reproduces this issue?

I have a symbolicated crash log for our enterprise build
Date/Time:           2020-07-14 15:30:56.9170 -0700
Launch Time:         2020-07-14 15:30:43.6397 -0700
OS Version:          iPhone OS 12.1.1 (16C50)
Baseband Version:    1.02.18
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region:<PHONE_NUMBER>
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->
      __TEXT<PHONE_NUMBER>bd0000-00000001066a4000 [ 26.8M] r-x/r-x SM=COW  ...a.app/OurApp

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [747]
Triggered by Thread:  3

Thread 0:
0   libsystem_kernel.dylib        	0x000000018a129a3c mach_msg_trap + 8
1   CoreFoundation                	0x000000018a536090 __CFRunLoopServiceMachPort + 240
2   CoreFoundation                	0x000000018a530d2c __CFRunLoopRun + 1372
3   CoreFoundation                	0x000000018a5304b8 CFRunLoopRunSpecific + 452
4   GraphicsServices              	0x000000018c7e3be8 GSEventRunModal + 104
5   UIKitCore                     	0x00000001b8260950 UIApplicationMain + 216
6   OurApp                       	0x0000000104bf6abc main + 158396 (main.m:25)
7   libdyld.dylib                 	0x0000000189fe5050 start + 4

Thread 1:
0   libsystem_pthread.dylib       	0x000000018a1b3dd0 start_wqthread + 0

Thread 2 name:  com.apple.uikit.eventfetch-thread
Thread 2:
0   libsystem_kernel.dylib        	0x000000018a129a3c mach_msg_trap + 8
1   CoreFoundation                	0x000000018a536090 __CFRunLoopServiceMachPort + 240
2   CoreFoundation                	0x000000018a530d2c __CFRunLoopRun + 1372
3   CoreFoundation                	0x000000018a5304b8 CFRunLoopRunSpecific + 452
4   Foundation                    	0x000000018af333e0 -[NSRunLoop+ 33760 (NSRunLoop) runMode:beforeDate:] + 304
5   Foundation                    	0x000000018af33284 -[NSRunLoop+ 33412 (NSRunLoop) runUntilDate:] + 152
6   UIKitCore                     	0x00000001b8357288 -[UIEventFetcher threadMain] + 140
7   Foundation                    	0x000000018af31fc0 -[NSThread main] + 72
8   Foundation                    	0x000000018b06ec44 __NSThread__start__ + 1044
9   libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
10  libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
11  libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 3 Crashed:

Thread 4 name:  KSCrash Exception Handler (Primary)
Thread 4:
0   libsystem_kernel.dylib        	0x000000018a1299b8 _kernelrpc_mach_port_mod_refs_trap + 8
1   libsystem_kernel.dylib        	0x000000018a129dd0 mig_dealloc_reply_port + 88
2   libsystem_pthread.dylib       	0x000000018a1ae4d0 _pthread_terminate + 296
3   libsystem_pthread.dylib       	0x000000018a1ae3a8 _pthread_terminate + 0
4   libsystem_pthread.dylib       	0x000000018a1acc80 pthread_getschedparam + 0
5   libsystem_pthread.dylib       	0x000000018a1ab980 _pthread_body + 144
6   libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
7   libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 5 name:  com.apple.NSURLConnectionLoader
Thread 5:
0   libsystem_kernel.dylib        	0x000000018a129a3c mach_msg_trap + 8
1   CoreFoundation                	0x000000018a536090 __CFRunLoopServiceMachPort + 240
2   CoreFoundation                	0x000000018a530d2c __CFRunLoopRun + 1372
3   CoreFoundation                	0x000000018a5304b8 CFRunLoopRunSpecific + 452
4   CFNetwork                     	0x000000018ab5963c -[__CoreSchedulingSetRunnable runForever] + 216
5   Foundation                    	0x000000018af31fc0 -[NSThread main] + 72
6   Foundation                    	0x000000018b06ec44 __NSThread__start__ + 1044
7   libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
8   libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
9   libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 6 name:  JavaScriptCore bmalloc scavenger
Thread 6:
0   libsystem_kernel.dylib        	0x000000018a134eec __psynch_cvwait + 8
1   libc++.1.dylib                	0x0000000189733c34 std::__1::condition_variable::wait+ 31796 (std::__1::unique_lock<std::__1::mutex>&) + 28
2   JavaScriptCore                	0x0000000191a051fc void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >+ 385532 (std::__1::unique_lock<bmalloc::Mutex>&) + 100
3   JavaScriptCore                	0x0000000191a09340 bmalloc::Scavenger::threadRunLoop+ 402240 () + 172
4   JavaScriptCore                	0x0000000191a08a98 bmalloc::Scavenger::Scavenger+ 400024 (std::__1::lock_guard<bmalloc::Mutex>&) + 0
5   JavaScriptCore                	0x0000000191a0a51c std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer+ 406812 (std::__1::__thread_struct*) + 0
6   libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
7   libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
8   libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 7 name:  com.apple.CFSocket.private
Thread 7:
0   libsystem_kernel.dylib        	0x000000018a135330 __select + 8
1   libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
2   libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
3   libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 8 name:  AVAudioSession Notify Thread
Thread 8:
0   libsystem_kernel.dylib        	0x000000018a129a3c mach_msg_trap + 8
1   CoreFoundation                	0x000000018a536090 __CFRunLoopServiceMachPort + 240
2   CoreFoundation                	0x000000018a530d2c __CFRunLoopRun + 1372
3   CoreFoundation                	0x000000018a5304b8 CFRunLoopRunSpecific + 452
4   AVFAudio                      	0x000000019061c8b4 GenericRunLoopThread::Entry+ 592052 (void*) + 168
5   AVFAudio                      	0x0000000190648bd8 CAPThread::Entry+ 773080 (CAPThread*) + 92
6   libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
7   libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
8   libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 9:
0   libsystem_pthread.dylib       	0x000000018a1b3dd0 start_wqthread + 0

Thread 10:
0   libsystem_kernel.dylib        	0x000000018a129a3c mach_msg_trap + 8
1   libxpc.dylib                  	0x000000018a1fa7fc _xpc_send_serializer + 104
2   libxpc.dylib                  	0x000000018a1fa610 _xpc_pipe_simpleroutine + 104
3   libxpc.dylib                  	0x000000018a1ddb50 xpc_pipe_simpleroutine + 64
4   libsystem_trace.dylib         	0x000000018a1c37cc ___os_activity_stream_reflect_block_invoke + 40
5   libdispatch.dylib             	0x0000000189fad2f0 _dispatch_client_callout + 20
6   libdispatch.dylib             	0x0000000189fb08b4 _dispatch_block_invoke_direct + 240
7   libdispatch.dylib             	0x0000000189fb0790 dispatch_block_perform + 116
8   libsystem_trace.dylib         	0x000000018a1c3270 _os_activity_stream_reflect + 540
9   libsystem_trace.dylib         	0x000000018a1d0258 _os_log_impl_stream + 452
10  libsystem_trace.dylib         	0x000000018a1cfe30 _os_log_impl_flatten_and_send + 6204
11  libnetwork.dylib              	0x000000018b5b42a0 nw_connection_log_event_summary + 6512
12  libnetwork.dylib              	0x000000018b5b19d8 nw_connection_log_summary + 10384
13  libnetwork.dylib              	0x000000018b5aa488 nw_connection_send_stats_report + 3184
14  libnetwork.dylib              	0x000000018b71d6cc __nw_connection_cancel_inner_block_invoke + 796
15  libnetwork.dylib              	0x000000018b822bb8 nw_queue_context_async_if_needed + 108
16  libnetwork.dylib              	0x000000018b71d1b8 nw_connection_cancel_inner + 224
17  libnetwork.dylib              	0x000000018b757100 tcp_connection_cancel + 668
18  CFNetwork                     	0x000000018ad1ebe4 TCPIOConnection::_cleanupConnection+ 1862628 () + 280
19  CFNetwork                     	0x000000018abf70a8 HTTP2Connection::_onqueue_closeConnection+ 651432 (bool) + 376
20  CFNetwork                     	0x000000018abf6f1c invocation function for block in HTTP2Connection::stop+ 651036 () + 32
21  libdispatch.dylib             	0x0000000189fabd58 _dispatch_call_block_and_release + 32
22  libdispatch.dylib             	0x0000000189fad2f0 _dispatch_client_callout + 20
23  libdispatch.dylib             	0x0000000189fb46e0 _dispatch_lane_serial_drain + 552
24  libdispatch.dylib             	0x0000000189fb5264 _dispatch_lane_invoke + 428
25  libdispatch.dylib             	0x0000000189fb6428 _dispatch_workloop_invoke2 + 632
26  libdispatch.dylib             	0x0000000189fb5f14 _dispatch_workloop_invoke + 432
27  libdispatch.dylib             	0x0000000189fbd508 _dispatch_workloop_worker_thread + 588
28  libsystem_pthread.dylib       	0x000000018a1adb20 _pthread_wqthread + 316
29  libsystem_pthread.dylib       	0x000000018a1b3dd4 start_wqthread + 4

Thread 11 name:  ComScore-Thread
Thread 11:
0   libsystem_kernel.dylib        	0x000000018a134eec __psynch_cvwait + 8
1   PMLegacy                      	0x0000000108e91728 ComScore::WaitableEvent::wait+ 5674792 (int) const + 188
2   PMLegacy                      	0x0000000108eddd80 ComScore::ContextTasksThread<ComScore::Core>::run+ 5987712 () + 224
3   PMLegacy                      	0x0000000108e91bd0 ComScore::Thread::threadEntryPoint+ 5675984 () + 104
4   PMLegacy                      	0x0000000108e93174 threadEntryProc + 32
5   libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
6   libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
7   libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 12 name:  ComScore-NetworkThread
Thread 12:
0   libsystem_kernel.dylib        	0x000000018a134eec __psynch_cvwait + 8
1   PMLegacy                      	0x0000000108e91728 ComScore::WaitableEvent::wait+ 5674792 (int) const + 188
2   PMLegacy                      	0x0000000108eddd80 ComScore::ContextTasksThread<ComScore::Core>::run+ 5987712 () + 224
3   PMLegacy                      	0x0000000108e91bd0 ComScore::Thread::threadEntryPoint+ 5675984 () + 104
4   PMLegacy                      	0x0000000108e93174 threadEntryProc + 32
5   libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
6   libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
7   libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 13 name:  com.apple.CoreMotion.MotionThread
Thread 13:
0   libsystem_kernel.dylib        	0x000000018a129a3c mach_msg_trap + 8
1   libxpc.dylib                  	0x000000018a1fa7fc _xpc_send_serializer + 104
2   libxpc.dylib                  	0x000000018a1fa610 _xpc_pipe_simpleroutine + 104
3   libxpc.dylib                  	0x000000018a1ddb50 xpc_pipe_simpleroutine + 64
4   libsystem_trace.dylib         	0x000000018a1c37cc ___os_activity_stream_reflect_block_invoke + 40
5   libdispatch.dylib             	0x0000000189fad2f0 _dispatch_client_callout + 20
6   libdispatch.dylib             	0x0000000189fb08b4 _dispatch_block_invoke_direct + 240
7   libdispatch.dylib             	0x0000000189fb0790 dispatch_block_perform + 116
8   libsystem_trace.dylib         	0x000000018a1c3270 _os_activity_stream_reflect + 540
9   libsystem_trace.dylib         	0x000000018a1d0258 _os_log_impl_stream + 452
10  libsystem_trace.dylib         	0x000000018a1cfe30 _os_log_impl_flatten_and_send + 6204
11  libsystem_trace.dylib         	0x000000018a1ce5e0 _os_log_error_impl + 132
12  CoreMotion                    	0x000000019004d7bc 0x18ffda000 + 473020
13  CoreMotion                    	0x000000019004daa8 0x18ffda000 + 473768
14  CoreMotion                    	0x0000000190112850 0x18ffda000 + 1280080
15  IOKit                         	0x000000018a8354f0 __IOHIDEventSystemClientQueueCallback + 244
16  CoreFoundation                	0x000000018a50e708 __CFMachPortPerform + 192
17  CoreFoundation                	0x000000018a536d60 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
18  CoreFoundation                	0x000000018a536468 __CFRunLoopDoSource1 + 444
19  CoreFoundation                	0x000000018a530ff8 __CFRunLoopRun + 2088
20  CoreFoundation                	0x000000018a5304b8 CFRunLoopRunSpecific + 452
21  CoreFoundation                	0x000000018a53121c CFRunLoopRun + 84
22  CoreMotion                    	0x00000001900565fc 0x18ffda000 + 509436
23  libsystem_pthread.dylib       	0x000000018a1ab974 _pthread_body + 132
24  libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
25  libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 14:
0   libsystem_pthread.dylib       	0x000000018a1b3dd0 start_wqthread + 0

Thread 3 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000002   x2: 0x00000000000120a8   x3: 0x000000010a053883
    x4: 0x000000010642732c   x5: 0x000000016b4e6730   x6: 0x000000000000000a   x7: 0x0000000000000000
    x8: 0x000000016b4e70ac   x9: 0x00000001c456c290  x10: 0x00000001c456b5f0  x11: 0x0000000000000002
   x12: 0x00000000fffffffd  x13: 0x0000010000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
   x16: 0x0000000000000000  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x0000000000000000  x23: 0x00000002830d5260
   x24: 0x0000000281b87ce0  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x00000002815835a0
   x28: 0x0000000000000114   fp: 0x0000000000000000   lr: 0x0000000000000000
    sp: 0x000000016b4e67d0   pc: 0x0000000000000000 cpsr: 0x20000000

This stack trace doesn't contain any Firebase symbols.

I notice the console also prints
Client relinquished <BKProcessAssertion: 0x13d113140; "Web content visibility" (extension:inf); id:…F44C69AD57CF>

This only happens on enterprise builds and after updating Google-Mobile-Ads-SDK and its dependencies, however before this assertion starts triggering after app-measurement-sdk kicks in
[C18 Hostname#ad0a353c:443 tcp, url: https://app-measurement.com/sdk-exp, tls] cancelled
	[C18.1 <private> 2601:643:8001:35a0:9d6:91c9:2b11:3175.60088<->IPv6#c0d5bf89.443]
	Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns
	Duration: 0.410s, DNS @0.001s took 0.029s, TCP @0.038s took 0.019s, TLS took 0.105s
	bytes in/out: 3443/775, packets in/out: 9/9, rtt: 0.041s, retransmitted packets: 1, out-of-order packets: 0

I made sure to disable firebase completely in our .plist, I set
FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED   this issue only happens after we update Google-Mobile-Ads-SDK and its' dependencies, our podfile indicates.
pod 'Google-Mobile-Ads-SDK', '7.62.0'
pod 'GoogleAppMeasurement', '~> 6.0'

Hey @artud2000, sorry for the slow response. The BKProcessAssertion log in your comment references a background task that isn't owned by a Google SDK. The AppMeasurement framework is used by both GoogleMobileAds and FirebaseAnalytics, so you should still see a few app-measurement requests even with Analytics disabled.
While I haven't ruled out Google Mobile Ads as the source of this crash, this issue isn't actionable without a repro or more complete diagnostic of the crash. Currently the symbolicated crash log indicates that the crash happened on thread 3, but there are no symbols listed under that thread:
10  libsystem_pthread.dylib       	0x000000018a1ab8d0 _pthread_start + 52
11  libsystem_pthread.dylib       	0x000000018a1b3ddc thread_start + 4

Thread 3 Crashed:

Thread 4 name:  KSCrash Exception Handler (Primary)
Thread 4:

Hi @morganchen12 I was assigned to a different project, but I'll pass this thread to the engineer working on the issue, he might be able to provide some more info.
Regards,
Arturo


How do you define a gradle reproducer

Issue type
Missing information
Problem description
My gradle is not producing a valid meta inf manifest and I get back is this is not a valid reproducer with out telling me why and tell me to use the template even when I can’t because I used the init task to get a basic setup due to not being able to write build scripts by hand
I change gradle.bat to gradle.bat and modded it to use a portable jre due to not having admin if that was it I reverted those changes for the jre for your testing but it seems anything I give is invaild
Context (optional)
don’t just demand people use the template and explain what things are needed to match it for what you need
Probably getting blocked for this
Page with the problem
https://github.com/gradle/gradle/issues/26191#issuecomment-1731034061

I tried copying and editing a valid meta inf manifest it just got replaced by the broken one


ui-select should set css class ng-touched after the user touched the select

I am using the combination .ng-invalid.ng-touched to show only validation errors after the user touched the form field.
The ui-select field should follow angular core and add this css class.
If I have time I can look into that and supply a pull request. It shouldn't be a big issue. But I would like to get feedback on the issue first.

+1

+1

+1

+1

is already fixed in version 0.12


Results do not match other implementations

The following queries provide results that do not match those of other implementations of JSONPath
(compare https://cburgmer.github.io/json-path-comparison/):

[x] $[:]
Input:
[
  "first",
  "second"
]

Expected output:
["first", "second"]

Actual output:
NOT_SUPPORTED
FormatException: Unexpected bracket expression

[x] $..[0]
Input:
[
  "first",
  {
    "key": [
      "first nested",
      {
        "more": [
          {
            "nested": [
              "deepest",
              "second"
            ]
          },
          [
            "more",
            "values"
          ]
        ]
      }
    ]
  }
]

Expected output (in any order as no consensus on ordering exists):
["deepest", "first nested", "first", "more", {"nested": ["deepest", "second"]}]

Error:
type 'List<dynamic>' is not a subtype of type 'Iterable<JsonPathMatch<dynamic>>'

[x] $["key"]
Input:
{
  "key": "value"
}

Expected output:
["value"]

Actual output:
NOT_SUPPORTED
FormatException: Unexpected bracket expression

[x] $[""]
Input:
{
  "": 42,
  "''": 123,
  "\"\"": 222
}

Expected output:
[42]

Actual output:
NOT_SUPPORTED
FormatException: Empty brackets

[x] $[-1]
Input:
[
  "first",
  "second",
  "third"
]

Expected output:
["third"]

Error:
RangeError (index): Invalid value: Not in inclusive range 0..2: -1

[x] $[0]
Input:
{
  "0": "value"
}

Error:
type 'List<dynamic>' is not a subtype of type 'Iterable<JsonPathMatch<dynamic>>'

[x] $[0]
Input:
"Hello World"

Expected output:
[]

Error:
type 'List<dynamic>' is not a subtype of type 'Iterable<JsonPathMatch<dynamic>>'

[ ] $['single'quote']
Input:
{
  "single'quote": "value"
}

Expected output:
NOT_SUPPORTED

Actual output:
[]

[ ] $['two'.'some']
Input:
{
  "one": {
    "key": "value"
  },
  "two": {
    "some": "more",
    "key": "other value"
  },
  "two.some": "42",
  "two'.'some": "43"
}

Expected output:
NOT_SUPPORTED

Actual output:
[
  {
    "key": "other value",
    "some": "more"
  }
]

[ ] $[two.some]
Input:
{
  "one": {
    "key": "value"
  },
  "two": {
    "some": "more",
    "key": "other value"
  },
  "two.some": "42"
}

Expected output:
NOT_SUPPORTED

Actual output:
[
  {
    "key": "other value",
    "some": "more"
  }
]

[x] $..[*]
Input:
{
  "key": "value",
  "another key": {
    "complex": "string",
    "primitives": [
      0,
      1
    ]
  }
}

Expected output (in any order as no consensus on ordering exists):
["string", "value", 0, 1, [0, 1], {"complex": "string", "primitives": [0, 1]}]

Actual output:
[
  0,
  1
]

[x] $[*]
Input:
{
  "some": "string",
  "int": 42,
  "object": {
    "key": "value"
  },
  "array": [
    0,
    1
  ]
}

Expected output (in any order as no consensus on ordering exists):
["string", 42, [0, 1], {"key": "value"}]

Actual output:
[]

[ ] $.[key]
Input:
{
  "key": "value",
  "other": {
    "key": [
      {
        "key": 42
      }
    ]
  }
}

Expected output:
NOT_SUPPORTED

Actual output:
[]

[ ] $.
Input:
{
  "key": 42,
  "": 9001,
  "''": "nice"
}

Expected output:
NOT_SUPPORTED

Actual output:
[
  {
    "": 9001,
    "''": "nice",
    "key": 42
  }
]

[x] $.屬性
Input:
{
  "\u5c6c\u6027": "value"
}

Expected output:
["value"]

Actual output:
[
  {
    "\u5c6c\u6027": "value"
  }
]

[ ] $[?(@.key=='value')]
Input:
[
  {
    "key": "some"
  },
  {
    "key": "value"
  }
]

Expected output:
[{"key": "value"}]

Actual output:
NOT_SUPPORTED
FormatException: Filter not found: "."

[ ] $(key,more)
Input:
{
  "key": 1,
  "some": 2,
  "more": 3
}

Expected output:
NOT_SUPPORTED

Actual output:
[]

[x] $[0,0]
Input:
[
  "a"
]

Expected output:
["a", "a"]

Actual output:
[
  "a"
]

[x] $[4,1]
Input:
[
  1,
  2,
  3,
  4,
  5
]

Expected output:
[5, 2]

Actual output:
[
  2,
  5
]

[ ] $[*,1]
Input:
[
  "first",
  "second",
  "third",
  "forth",
  "fifth"
]

Expected output:
NOT_SUPPORTED

Actual output:
[]

For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/Dart_json_path.

You might also be interested in the JSONPath draft development (https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-jsonpath) and the slack channel to drive a common interpretation of JSONPath (https://join.slack.com/t/jsonpath-standard/shared_invite/zt-es623y9z-~JOiqJTylBXSttT5n_xaPQ).

Great feedback, thank you!

Hey @cburgmer , the Slack link doesn't work for me. Any chance to get a new one?

Hey @cburgmer , the Slack link doesn't work for me. Any chance to get a new one?

the Slack link doesn't work for me

@glyn can you help out please?

the Slack link doesn't work for me

@glyn can you help out please?

@f3ath Please note that the official communication channel on JSONPath standardisation is the IETF JSONPath mailing list.
However, you (and anyone else reading this) are welcome the join the jsonpath-standard slack workspace. The following link will expire in 30 days: https://join.slack.com/t/jsonpath-standard/shared_invite/zt-fp521hp0-D7gmDcmOMK4UkrRRug~SQQ.

@f3ath Please note that the official communication channel on JSONPath standardisation is the IETF JSONPath mailing list.
However, you (and anyone else reading this) are welcome the join the jsonpath-standard slack workspace. The following link will expire in 30 days: https://join.slack.com/t/jsonpath-standard/shared_invite/zt-fp521hp0-D7gmDcmOMK4UkrRRug~SQQ.


Tracers are now hashable.

Description
jax.jit(hash)(1) does not error on any recent version of JAX. I went back and checked and the last time this seems to have produced an error was 0.4.8.
Is this intended? It means that tracers do not duck-type as either concrete JAX arrays or as numpy arrays. In particular see #21825, which this caused.
System info (python version, jaxlib version, accelerator, etc.)
jax:    0.4.29
jaxlib: 0.4.29
numpy:  1.26.4
python: 3.11.9 (main, Apr 19 2024, 11:43:47) [Clang 14.0.6 ]
jax.devices (1 total, 1 local): [CpuDevice(id=0)]
process_count: 1
platform: uname_result(system='Darwin', node='Air.localdomain', release='22.5.0', version='Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:43 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T8112', machine='arm64')

What was the error you saw? I see this
In [1]: import jax, jax.numpy as jnp, numpy as np, jax._src.test_util as jtu

In [2]: jax.jit(hash)(1)
---------------------------------------------------------------------------
OverflowError                             Traceback (most recent call last)
Cell In[2], line 1
----> 1 jax.jit(hash)(1)

    [... skipping hidden 15 frame]

File ~/venv/lib/python3.11/site-packages/jax/_src/dtypes.py:298, in _scalar_type_to_dtype(typ, value)
    296 if typ is int and value is not None:
    297   if value < np.iinfo(dtype).min or value > np.iinfo(dtype).max:
--> 298     raise OverflowError(f"Python int {value} too large to convert to {dtype}")
    299 return dtype

OverflowError: Python int<PHONE_NUMBER>870 too large to convert to int32

The error on 0.4.8 is
❯ python
Python 3.11.9 (main, Apr 19 2024, 11:43:47) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import jax
>>> jax.__version__
'0.4.8'
>>> jax.jit(hash)(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".../jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/pjit.py", line 238, in cache_miss
    outs, out_flat, out_tree, args_flat = _python_pjit_helper(
                                          ^^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/pjit.py", line 180, in _python_pjit_helper
    args_flat, _, params, in_tree, out_tree, _ = infer_params_fn(
                                                 ^^^^^^^^^^^^^^^^
  File ".../jax/_src/api.py", line 311, in infer_params
    return pjit.common_infer_params(pjit_info_args, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/pjit.py", line 480, in common_infer_params
    jaxpr, consts, canonicalized_out_shardings_flat = _pjit_jaxpr(
                                                      ^^^^^^^^^^^^
  File ".../jax/_src/pjit.py", line 918, in _pjit_jaxpr
    jaxpr, final_consts, out_type = _create_pjit_jaxpr(
                                    ^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/linear_util.py", line 322, in memoized_fun
    ans = call(fun, *args)
          ^^^^^^^^^^^^^^^^
  File ".../jax/_src/pjit.py", line 874, in _create_pjit_jaxpr
    jaxpr, global_out_avals, consts = pe.trace_to_jaxpr_dynamic(
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/profiler.py", line 314, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/interpreters/partial_eval.py", line 2049, in trace_to_jaxpr_dynamic
    jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/interpreters/partial_eval.py", line 2066, in trace_to_subjaxpr_dynamic
    ans = fun.call_wrapped(*in_tracers_)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../jax/_src/linear_util.py", line 166, in call_wrapped
    ans = self.f(*args, **dict(self.params, **kwargs))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jax._src.traceback_util.UnfilteredStackTrace: TypeError: unhashable type: 'DynamicJaxprTracer'

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unhashable type: 'DynamicJaxprTracer'

On 0.4.29 I see no error at all. And I think that's the problem! To be clear, I think expected behaviour is for tracers not to be hashable.

I understand the error is different, but I do see an error on 0.4.29 (the one I posted above). Are you saying you see no error at all?

https://github.com/google/jax/pull/21826 should fix

Sure, it's a matter of preference :)

I noticed this a couple months ago and tried to fix, but it turns out the hashability of tracers is used by a number of internal codepaths

All tests are passing on my change.

I see some internal failures

My previous fix was #20903, but we couldn't land it because of those failures.

Jake was right.


it wont work with gemini what to do

i even tried
from langchain_google_genai import GoogleGenerativeAI
but langsmith unable to import like ughh

make sure the agents.yaml looks like this
framework: crewai
topic: create movie script about cat in mars
roles:
  researcher:
    backstory: Skilled in finding and organizing information, with a focus on research
      efficiency.
    goal: Gather information about Mars and cats
    role: Researcher
    llm:
      model: "google/gemini-1.5-flash-001"
    tasks:
      gather_research:
        description: Research and gather information about Mars, its environment,
          and cats, including their behavior and characteristics.
        expected_output: Document with research findings, including interesting facts
          and information.
    tools:
    - ''

Documentation here https://docs.praison.ai/models/google/
Also make sure you set the model in agents.yaml like this model: "google/gemini-1.5-flash-001"

Documentation here https://docs.praison.ai/models/google/ Also make sure you set the model in agents.yaml like this model: "google/gemini-1.5-flash-001"

Yes


feat: get users by params is enabled.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zksu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Code quality not met

please tell me how to improve

@radiorz

Follow casdoorg-go-sdk
All English only, including comments
No npmmirror


Show tags of all search results

This is a basic implementation of #2462.
It's rather similar to the $showPath property that you can attach to any entity-list. Now there's another property called $showTags that adds all tags to the list items. I've only enabled it for the search results page, but this might come in handy in other circumstances too.
Obviously the search results link to the corresponding shelf/book/chapter/page, but the tags also contain links. This is an issue since nesting <a> elements is not allowed. To avoid this I've added a $disableLinks property to tag-list, which replaces the tag links with <span> elements.

Thanks for this @burnoutberni, All merged for the next feature release!
I did make some changes as described in 3eaf03a7ac77d3d2765541659312d45e10890824, these primarily tweaked the design a bit just so that the tags are a little more subtle, and hence less distracting, when listed within entities. I also changed the position since I felt the tags were really secondary to the name, path and hint text, hence should come afterwards.


Use a technical account to connect to 🐎🦋

The technical account would allow to reach all users(volunteers and non volunteers)

Outdated


Add collaborators to this repo

Comment below to be added as a collaborator
We will all be using this repository today. Even though it's public right now, you will not be able to make changes until you're given the correct permissions. We've automated this process via the GitHub API. Once you comment, we will add you as a collaborator.
You'll start to receive a lot of emails. (❗) You can slow these down immediately by clicking the Unwatch button at the top of the page and selecting either the Participating and @mentions or Ignore option.

Test

Hello!

test

cheers

test

hi,

VIjay here

test

test

Hello


Build for 2.13-M4(5) ?

There's a push in the ecosystem to get ready for 2.13 ahead  of time. We would like to migrate our libraries to 2.13 as well, but in  that case we won't be able to use monadless ...

Scala 2.13 RC2 has just been released: https://twitter.com/scala_lang/status/1130665636428779520

@kaishh Can you please rename the issue?  Scala 2.13 is out now:
https://users.scala-lang.org/t/scala-2-13-0-is-here/4675


Support both string and array variables recieved

Currently only arrays are supported.
When sent a request with arrays as variables I get the following error: body: { error: { message: 'Argument 1 passed to GraphQL\\Validator\\Rules\\QueryComplexity::setRawVariableValues() must be of the type array, string given, called in /portal/library/composer/webonyx/graphql-php/src/GraphQL.php on line 62 and defined' } } }.
Any reason why only arrays are allowed if this is intentional? If not it should support both formats.

Closing due to inactivity, feel free to re-open with new data.

Hi! I have this problem.
Compare:
Work (addon ChromeiQL generate query)
{"query":"{\n  echo(message: "Hello World")\n}\n","variables":null,"operationName":null}
Error (addon GraphIQL Feen! generate query)
{"query":"{\n  echo(message: "Hello World")\n}\n","variables":""}

Fatal error:  Uncaught TypeError: Argument 1 passed to GraphQL\Validator\Rules\QueryComplexity::setRawVariableValues() must be of the type array, string given, called in /home/bitrix/www/files/graphql-php/vendor/webonyx/graphql-php/src/GraphQL.php on line 137 and defined in /home/bitrix/www/files/graphql-php/vendor/webonyx/graphql-php/src/Validator/Rules/QueryComplexity.php:61
Stack trace:
#0 /home/bitrix/www/files/graphql-php/vendor/webonyx/graphql-php/src/GraphQL.php(137): GraphQL\Validator\Rules\QueryComplexity->setRawVariableValues('')
#1 /home/bitrix/www/files/graphql-php/vendor/webonyx/graphql-php/src/GraphQL.php(86): GraphQL\GraphQL::promiseToExecute(Object(GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter), Object(GraphQL\Type\Schema), '{\n  echo(messag...', Array, NULL, '', NULL, NULL, NULL)
#2 /home/bitrix/www/files/crypto/test.php(409): GraphQL\GraphQL::executeQuery(Object(GraphQL\Type\Schema), '{\n  echo(messag...', Array, NULL, '')
#3 {main}
thrown in /home/bitrix/www/files/graphql-php/vendor/webonyx/graphql-php/src/Validator/Rules/QueryComplexity.php on line 61


is possible reduce size  on a .gif?

if i use the library with a gif, it convert the gif to jpg
is posible reduce but get a .gif as result ?

No, android doesn't support .gif format officially according to API Reference


Star Eagle game crash after changing modules

The game crashes every time I changed modules for Star Eagle. Ex: I tried to replace lower HE tanks, game crashed. I tried to replace lower Engineering bay and store module with an workshop and science module game crashed as well. Happened with Stroud_Ecklund and Hope modules both with Akila and Porrima ship services.

Details
After finishing Freestar Rangers quest line and receiving the ship.
Game Version
1.10.32.
Language
English (EN)
New Game
Yes
Reproduction Steps
None. Cannot restart a new game and finish an entire quest line to check this while I am at NG+ 5.

Replacing the Freestar Key with UCColonies key in [GBFM:001322D8] in StarfieldCommunityPatch.esm didn't solve the issue. Still crashing after replacing modules.
Removing completely 1322d8 from StarfieldCommunityPatch.esm solved it. I had only 1 crash after, when I entered the ship. Seems to be stable now, after replacing all sort of modules and enter/exit the ship multiple times.

Seems to be fixed in SFCP 0.1.3


🔀  feature/design-system-3.0.0

This will be the update to get the packages and everything updated.
A future PR will have the actual updates to move to the new Navigation Menu.

[x] ⬆  @radix-ui/..., @jeromefitz/..., stitches, and types
[x]  🚑 turn off Banner and Upcoming Next Event

This pull request has been deployed to Vercel.

Latest commit:
0253196

✅ Preview:
https://jeromefitzgerald-d2wvpgmtf-jerome5.vercel.app

🔍 Inspect:
https://vercel.com/jerome/jeromefitzgerald/EMfR6ZhnuHjUZYWDm6n4niXcu1ju

View Workflow Logs


ps_mbo/vendor/ramsey/collection/src/AbstractArray.php, line 87 - Error importing orders from Baselinker

Hi,
We are having a issue with our website, we can not import orders from Baselinker to our Prestashop website, www.jollymag.ro
We are reciving this error
" Error adding the order to the store: [PHP Unknown error #8192] Return type of Ramsey\Collection\AbstractArray::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (/home/jollymag/public_html/modules/ps_mbo/vendor/ramsey/collection/src/AbstractArray.php, line 87)"
We contacted baselinker and they told us that the ps_mbo module have issue.
Can someone help us with this issue?
Thanks in advance!
Best regards!

Hello. Thanks for the issue. Can you give us more details please
PrestaShop Version?
Mbo version ?
Php version?

PRESTA: 8.1.2
PHP: 8.1
MBO: v4.6.1  ( We`ve downloaded it direcly from GITHUB ps_mbo_master)

Can you help please?

since we talked we`ve upgrated to v4.10.2 - the problem is still there.

To help you understand, we faced that issue in December, this was my conclusions
We use a ramsey/uuid lib which allows us to generate UUIDs

In MBO, Version 4.2.3 is currently installed, which supports PHP 7.2

https://github.com/ramsey/uuid/blob/4.2.3/composer.json#L12

From version 4.3.0, PHP7 support is removed

https://github.com/ramsey/uuid/blob/4.3.0/composer.json#L12

So we are stuck on 4.2.3, as MBO requires PHP>=7.2.5

Ramsey/uuid require ramsey/collection (1.0 + and < 2.0)

It is in this lib that the signature of the offsetGet method is not respected as it should be

We are currently using version 1.1.4 of this lib

The error reported is corrected in version 1.2.0 but we cannot switch to this version because its support is PHP7.3+

[https://github.com/ramsey/collection/blob/1.2.0/composer.json#L22
]

So we are stuck

As this error is not blocking and in prod mode it does not appear, WONT FIX

We will upgrade to the correct versions if our PHP support changes

since we talked we`ve upgrated to v4.10.2 - the problem is still there.

Thanks for the answer 👌🏾 , we will release a 4.10 patch very soon 🤞🏾

ok, can you please let us know when the release for the new patch will be?
Thanks a lot!

Hopefully before tomorrow evening 🤞🏾 Or it'll we next week
Depending on reviews and QA

Github release done
https://github.com/PrestaShopCorp/ps_mbo/releases/tag/v4.10.3

Hi,
We`ve istaled the new version.
But the problem is not resolved!
"Error adding the order to the store: [PHP Unknown error #8192] Return type of Ramsey\Collection\AbstractArray::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (/home/jollymag/public_html/modules/ps_accounts/vendor/ramsey/collection/src/AbstractArray.php, line 87)"

even with the version v4.10.3  - is the same problem :(
Any other ideeas?

Github release done
https://github.com/PrestaShopCorp/ps_mbo/releases/tag/v4.10.3

Please help!


Login fails with 500 error due to missing Captcha

Logging in with username & password on the web app now requires passing a captcha verification. The payload to POST /api/v2/user/signon is now like this:
{
  "password": "...",
  "username": "...",
  "verCode": "RYPAW",
  "verKey": "71471592-433f-48cc-8b4b-77df3cff4c42"
}

Without the verCode and verKey, the server responds with HTTP Error 500.
Additional information: The challenge may only appear once you click the login button. Logging in with Google, Apple, or Facebook doesn't require a captcha.

having the same issue; the lib was working fine a couple of days ago when I tried to create a daily extract of my data. I suspect the captcha would kick in to gatekeep accounts that use more resource now.


implement a Rust version of the API

Hi, I have also build a similar embeeding project like yours which also provide a OpenAI version embeeding usage. embedding-server-github
But I found the inference speed on Python is not that good, so I want to have a Rust implementation version of it. I wonder weather you guys  interested in it.

Also I found the API uses a global model to provide the service, it could make my life easier to have a balancer.

@linkedlist771 Thanks for writing. feel free to port it to Rust. My plate is full. For the balancer, I think nginx will get the job done, right?


no_proxy not supported

https://github.com/couchapp/couchapp/pull/108 introduced support for proxy variables but did not implemented support for no_proxy

Same issue here. The NO_PROXY variable is ignored.


Warning: Input is changing an uncontrolled input of type text to be controlled

I am using simple Input type like this:
<Input type="text" id="host" placeholder="Enter Coupa host name" required value={this.state.values.host}
onChange={(evt) => this.handleHost(evt.currentTarget.value)}/>
...
handleHost = (value) =>{
this.setState((prev) => {prev.values.host = value })
}
But I got this warning:
Warning: Input is changing an uncontrolled input of type text to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component
Everything works fine, but still cannot figure out why I have this.
Maybe it is not issue of reactstrap but such questions are unanswered in stack-overflow.

what is your initial value of this.state.values.host? It cannot be undefined if you plan on setting it later. This is per react, not reactstrap.
It being undefined tell react that it is not set and that you do not plan on controlling the input... Then when you set it, you tell react you want to control it and thus react gives you a warning.

You are 100% right - when the value is not initialized react treats it as uncontrolled component.
Thanks for the support!

What dose it mean when React says input field is an uncontrolled field? How it will affect the a web page with a form of uncontrolled input fields.  I can see a warning message in console while changing values of the field, other than that what are other issues going to be there on the system?

@dipakchandranp , This is a general React question, and not related to reactstrap. Please have a look at the React's documentation:
Controlled Components
Uncontrolled Components
...or this would have been a good question for stackoverflow.

You are 100% right - when the value is not initialized react treats it as uncontrolled component.
Thanks for the support!

100% accurate. The input must contain an initial value. Thanks!

I have the same problem. However I do have an inital value being set in the state so I'm not sure if it is something to do with the color picker being summoned as a separate window.

    this.state = {
        color: this.props.data.color,
        alias: this.props.data.displayName
    };


Try to cache trivy db

Let's give this a try: https://github.com/kairos-io/kairos/pull/2889#issuecomment-2376371602
TL;DR; Give this a try: https://github.com/marketplace/actions/cache-trivy
or find some other way to avoid the TOO MANY REQUESTS error when pulling trivy db

Maybe this: https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runspost
here: https://github.com/yogeshlonkar/trivy-cache-action/blob/5e3c2d406dd3a13d95a3eabc520e0ac19ab729b5/action.yml#L20
?


126.abilities permissions hashcash

Write up the "abilities / welcome / submit-permissions" flow as discussed in https://github.com/magic-wormhole/magic-wormhole/issues/126
Also note the implications on servers / clients and write up an alternative that makes the interaction between new-client, old server better and reduces the round-trips.
[draft]

I think the most important part that we haven't decided on yet is how to do the feature negotiation. Let me propose yet another idea:
The server tells all supported authentication methods in their welcome message. The client then picks one and adds its response to the bind message.

This does not add an extra message, which is good for both round trips and backwards compatibility.
The client gets to choose on the method, which I personally prefer (server supports everything in general, but not the client).
Old client, new server: The client will ignore the server's authentication information, and won't answer it. The server may decide to accept the client nevertheless or to error out.
New client, old server: Since the server didn't request anything, the client won't answer it. Business as usual.

I think the most important part that we haven't decided on yet is how to do the feature negotiation.

Maybe it's only "implicit" in the thing I wrote down, but it's: "the server chooses" (based on what the client supports). So you're essentially proposing the inverse above ("the client chooses" based on what the server supports).
Current clients send bind right away, so that would also have to change in your proposal above. This is a pretty inconsequential change, I think, because old clients won't send the right stuff in bind anyway (and new clients will wait).

Okay, I added a section about "negotiation". Does it make sense to write down some "pros" and "cons" for each?

For "client decides", the server might prepare "extra" challenges (e.g. if a thing needs a nonce or anything).
For "client decides", then the client doesn't have to send extra things that might help identify the client long-term (e.g. a public-key for an account) and can always choose the "most-private" method (from its perspective) that the server offers. The server can still offer "no-op" or "null" permission, instructing new clients to just send a normal bind.

You got "client decides" twice in the last post, probably a typo?
Let me try my version of the "client decides approach again", with respect to message ordering:

I assume that in the current state server and client send the bind and welcome message right away without one waiting on the other. It is not in the spec at the moment, but it is implicit by the fact that all anything else may result in deadlocks.
In my proposal, this is now relaxed: the client may wait for the server welcome message.
Old client, new server: Both will send their message right away. The client will ignore the server's authentication information, and won't answer it. The server may decide to accept the client nevertheless or to error out.
New client, old server: The client waits for the welcome message. Since the server didn't request anything in it, the client won't answer it and do a bind like in ye olde times.

I added another section .. I think it reflects the above. (That is, "hybrid approach with client-decides negotiation").

Although it some cases it might be more work for the server, I think I definitely prefer the privacy implications of the "client decides" negotiation. (That is, it doesn't have to do a "less private" thing unless the server demands that by not asking for anything else).
This still lets server operators decide, with slightly different lever. They can decide what the minimum a client must give them is and only present that client with those options. Essentially with only "none" and "hashcash" supported at first, that means the server operators must decide if they'll only server clients that can do hashcash.

Okay, see #12 for draft of the welcome/bind version, but with client-decides negotiation.

Superseded by #12


error

how can I fix it?
:~/spring-cloud-gateway-demo/security-gateway$ docker-compose up
Pulling uaa (scg-demo-uaa:latest)...
ERROR: pull access denied for scg-demo-uaa, repository does not exist or may require 'docker login'

@benwilcock same issue. can you help?

The docs point to running the build.sh script in the gateway folder first, so that your local Docker registry will contain the required images. https://github.com/benwilcock/spring-cloud-gateway-demo/blob/master/security-gateway/build.sh

hey, the build process is not working correctly. because in uaa image step, there is a broken link (in step of getting war file from maven.)  there is no "central.maven.org" url so you need to change link to "https://search.maven.org/remotecontent?filepath=org/cloudfoundry/identity/cloudfoundry-identity-uaa/4.30.0/cloudfoundry-identity-uaa-4.30.0.war".
(one more addition; i was getting below error message due to docker time issue. my time was behind 2 days from current. (If you are using Docker, a bug that causes time drift when the host computer goes to sleep https://askubuntu.com/a/1208252) i synchronized ntp and it's gone.

Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 1d 21h 16min 59s). Updates for this repository will not be applied.

@Gondagar I've created a PR for this :)


Add terms to a field from a controlled vocabulary

As a cataloger,
I want to select terms from a controlled vocabulary(ies) when adding subjects or names to a record,
So that records use the same controlled vocabulary(ies) across collections.
Acceptance Criteria: The vocabularies presented (auto-suggest) to the cataloger will depend on the content-type.
Related: #19 #103

We would like to pick and choose source vocabularies.
We will have a mixture of strings and controlled vocabularies and need to determine if we are going to store the URI or the string or both.


Bump version number in toml README

@atoulme We should probably add a script for bumping version numbers, so we don't miss any in future :)


Basic rank fusion implementation in Anserini

In order to fully repro #2307 in Anserini, we'll need some basic rank fusion impl in Anserini.

Ref #2355


[Doc-improvement] [Teams Toolkit Overview]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/teams-toolkit-fundamentals.md
90
18
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


cmark files and multiline fragments

What does this PR accomplish?
Does all handling of multiline literals, except for displaying, which must be handled in a separate PR.
Closes #37 which requires proper handling of chunks with multiline fragments
Changes proposed by this PR:

Calculate a full span for common mark files and the associated mapped range.
Extract spans from multiline fragments.
feather_up! for testability

@zhiburt https://github.com/drahnr/cargo-spellcheck/pull/74/commits/e535f383ae6d81ea8c9d180a3a2457353aa21497 is the relevant part for #37 - I was not aware things would explode afterwards at multiple code segments, I am sorry having you sent there.

Short question: does this PR helps to fix chunk for single lines? or helps me here: #65?

No, this prepares all systems except for suggestion or chunk display impl for multiline fragments. So this does not interfere with or fix #65

Short question: does this PR helps to fix chunk for single lines? or helps me here: #65?

No, this prepares all systems except for suggestion or chunk display impl for multiline fragments. So this does not interfere with or fix #65

@laysauchoa the above is intentional to avoid you having to deal with merge conflicts, the display is going to be a separate PR once #74 and #65 are in master.


Docs: Create a proper readme

Just curious...what help is all needed here?

Hmm. "help needed" is sort of strong. The point is, I create terrible documentation, and would really like if somebody else could do that part :P.

I'll be glad to help, though not exactly sure how to get started using this, if that makes sense. :]

@jwood803 quick samples are in the samples directory. The short version is that you need only a few things to get started:

Reference the nuget feed https://www.myget.org/F/fsprojects/api/v3/index.json in NuGet.Config (casing matters in the filename btw).
Add FSharp.Dnx as a dependency, and set it as the compiler (see https://github.com/fsprojects/fsharp-dnx/blob/318a4a8b044d1f07f952cb4066e3480dfeed246a/sample/HelloFSharp/project.json for the simplest sample, only thing that need to change is that version of FSharp.Dnx needs to be 1.0.0-* instead of just empty string).
Add the F# file list to the project.json (again, see sample).

That's what you need to get up and running. Now, I should probably write a real quick README, detailing those points I just gave you (and might even do so eventually), but I would really like a solid writeup with a bit more details and explanations.

I can do that and write down those steps with screenshots at the very least.

@Alxandr For the project type, would one need to create just an F# Library and then add the items from above or is there another project type that must be used?

Actually, you don't need to involve Visual Studio at all. What I tend to do is to create a FSproj (to get some tooling), and then do all of the DNX stuff outside of visual studio. If you want to go the visual studio route of DNX project, it's this one:

Though, you'll get absolutely no F# tooling by going that route.

Thanks @Alxandr! I think I have an idea to set it up. Just now getting started with this new ASP.NET 5 stuff so it's still a bit confusing. :smiley_cat:
Good thing is, I can put all of what I do in the README.

Maybe off topic (but should be somewhere in the docs)... how do you define a compile time constant? I tried to add a <DefineConstants> to the Globals PropertyGroup in the .xproj file.. but it appears to be ignored. Suggestions?


I have a question about Polygon's textureCoordinates (Irregular vertical plane)

What happened?
I noticed that flipping its positions sometimes yields the correct result, but I don't know when it's necessary to flip it(Irregular vertical plane)
Reproduction steps

...
Sandcastle example
No response
Environment
Browser:
CesiumJS<EMAIL_ADDRESS>Operating System:any

Hi there,
I think the root of this issue may be that polygons are design to be tangent to the ellipsoid surface rather than perpendicular. I would suggest a billboard or possibly a Wall Geometry for your use case.
CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. In the future, please take any questions to the Cesium Forum where there are members of the community and developers from the team who can help. Thanks!


Add some unit tests?

One of the things I noticed when I was developing the C implementation was that unit tests helped me avoid breaking things.
As the C# implementation starts to mature, can I suggest adding a bunch of unit tests and perhaps a soak test (repeated client/server connects and disconnects), would be a really good way to flush out issues, and also to catch any errors if somebody checks in something.
eg. you can run the unit tests on each checkin via travis.
Has worked great so far for the C implementation.
cheers

Glenn

Another thing that might be useful, is when you have a C# client, test that it connects and works properly against the C implementation and vice versa. This is a good way to ensure your C# implementation matches the spec. Similarly, this would be a good thing to run on each commit via travis.

Yeah, I'd thought about going through and porting over the unit tests from the C implementation. I may have to modify some things to add test methods, but should help ensure it's as functional as I think it is, and that I don't keep accidentally breaking things going forward ;)
As far as testing with the C implementation, I have been testing with the C# wrapper around the native implementation, having my C# client connect to a wrapped server. It's so far been the easiest way to test, actually. Although, I have yet to test the other way around, which I definitely should.

I think this is a great idea

Actually, I guess the thing I said about not testing against a reference client isn't strictly true - I DID test a WebGL Unity build against a .NET server, and the WebGL Unity build of course used the browser extension, which itself is implemented as a wrapper around the reference implementation. So that did work.
Anyway, I've got a bunch of unit tests ported over from netcode.io, and that did help me resolve a few bugs and make some important API changes. I've also got a test method which just runs all of the connection tests in a while loop with some duration. I've so far only tested it set to 10 minutes (around 1500 iterations of all connection test cases on my machine), though tonight perhaps when I go to bed I'll set it to something significantly longer and check the results in the morning :)
Also probably tomorrow I'll put together a more involved soak test based on the soak.c test in the reference implementation.

Great stuff!


Zabbix plugin

This is regarding the closed case #989 which is not resolved. Please reopen it.
Thanks
Kumar

I don't have anything to add to that issue.


"Failed to take control of destination" error

After going to Help > Acquire ADMX Files I get a "System.Windows.Forms" error: "Failed to take control of destination".
This happens during the "Unpacking MSI..." stage.
Any help? Thanks.

Hmm, installing ADMX files appears to work for me on a fresh Windows 10 2004 installation. Which Windows version do you have? Could you double-check that you are logged on as an administrator? (Policy Plus will only ask to elevate if you are.) Are you trying to download the ADMX files to the default location or to somewhere else?

Using Windows 7 Home - Lots of changes to the services and the scheduled tasks etc. on it. Default location.

Thank you for the details. There were indeed some problems here, which should be fixed in https://github.com/Fleex255/PolicyPlus/commit/a67e5d826571bcd38ea9a2c9c9fe8a9866b83b53. At your convenience, please try the updated dev build and let me know if that works for you,

Yes, this worked. Just posted a new issue though about something that randomly happened today.


compile and test with JDK 20

Draft PR using JDK 20

Temporarily changed to JDK 17 to see if that's an easier intermediate target -- does not seem to make a big difference unfortunately.

Temporarily changed to JDK 17 to see if that's an easier intermediate target -- does not seem to make a big difference unfortunately.

Yeah, 17 is actually where all the issues come from.  Going from 17 to 20 is a no-op from what I have seen in C* land.

You might try compile with 11 and run tests with 20?  Not sure if that is possible with the Stargate build.

Temporarily changed to JDK 17 to see if that's an easier intermediate target -- does not seem to make a big difference unfortunately.

Yeah, 17 is actually where all the issues come from. Going from 17 to 20 is a no-op from what I have seen in C* land.

Interesting. Did not know 20 might have fewer compatibility issues, was expecting reverse based on history. Will change to 20 then.

Did not know 20 might have fewer compatibility issues

It is not that it has fewer, it is just that it does not have any new ones over 17.

@JeremiahDJordan The issue with Duzzt+QueryBuilder is strange in that somehow apis/ (Quarkus-based, separate from Coordinato) has no problem running annotation pre-processing to create similar QueryBuilder on that side -- yet in-Coordinator one fails with various different root causes, seemingly related to StringTemplate (ST4), module/classpath access, version of ST4. With older one Duzzt 0.1.0 depends on, there's
[ERROR]   Caused by: java.lang.IllegalAccessException: class org.stringtemplate.v4.misc.ObjectModelAdaptor cannot access class com.sun.tools.javac.code.Symbol$MethodSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @2d85487

which I thought would be resolved by adding
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <compilerArgs>
            <arg>--add-opens</arg>
            <arg>jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
          </compilerArgs>
        </configuration>

but has no effect it seems; is used (verified by adding bogus directive).

Superceded by #2783 (which itself is blocked), closing.


[Doc-a-thon] Updating ubuntu-upgrade.md

#sign-off

Hi @mattmcinnes - This pull request was opened in the public repo. Content developers should work in the private repo, per the Microsoft Docs contributor guide. Would you make this content update in the private repo instead? Thank you! We'll close this PR.


Is this project dead?

The article looked extremely promising and it looks like there were a bunch of issues logged at the start with ambitious goals. But it looks like nothing ever happened after that initial drop. No issues have been updated and no documentation was ever created. Is this DOA?

I highly recommend checking out WireGuard with Subspace instead. It is so much easier to install and manage than anything OpenVPN based. See https://github.com/subspacecommunity/subspace

@opub  thankyou for sharing subspace.
I was wondering what happend to this project, but it seems like is only for internal usage.


How do I solve this problem? "log writing failed. deadlock; recursive locking"

log writing failed. deadlock; recursive locking
log writing failed. deadlock; recursive locking
log writing failed. deadlock; recursive locking
log writing failed. deadlock; recursive locking

How do I find the cause in my rails app?

Sneakers does not implement any loggers. You have posted no information to work with. Ruby has reentrant and non-reentrant mutex implementations. Perhaps use the reentrant one.


⚠ Bofrost.ch has degraded performance

In 5d31bdf, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 2435 ms

Resolved: Bofrost.ch performance has improved in dc93d32 after 7 minutes.


Update README.md

/test this

:star: PR built and available in a preview environment carlossg-croc-hunter-jenkinsx-serverless-pr-23 here


Handle empty sample type columns and add sentence about references not having tumor cells

Closes #713
Closes #707
Here I'm making a few fixes to the workflow:

I added a sentence about not having tumor cells in the supplemental cell type report. This is the only place we explicitly talk about references, so I chose to include it only in the supplemental and not in the main report too.
I updated generate_unfiltered_sce.R to handle missing columns for is_cell_line and is_xenograft. If both are missing, then Not provided is used as the sample_type.
I will note that we use the is_cell_line column specifically when determining if cell typing should be skipped, so I think we do want to note that those columns can be included, even if they aren't required. I accounted for them in the example metadata and readme and then also added a note about it to the external instructions for creating the sample metadata.

I updated the bullets and also added them to the external instructions. This should be ready for another look.


fix sectionlist typing

This PR imports the type from react native and fixes the places where the desktop sectionlist implementation deviated from RN, or TS-ignores them.
cc @keybase/y2ksquad

Hmm this no longer passes TS after a fresh checkout and a yarn modules, looking...

Hmm I'll look at these storyshots and make sure they're not broken :/

The teams ones look good but the wallets one does not. Will fix tomorrow.

Okay, the stellar one looks the same on master.

Bump @chrisnojima


Question: omnisharp-roslyn supports dotnet 2.0 preview in the latest release ?

Question: omnisharp-roslyn supports dotnet 2.0 preview in the latest release? I mean it will work if I have installed dotnet core 2 preview and generated project with help dotnet 2.0 preview?

Yes and no. It's not clear which builds it will work with. The mono build requires a mono fix in order to process .NET Core 2.0 preview projects. (We're using a special mono build with omnisharp-vscode for that).

So if I want to try mono roslyn binary I need to install mono and download roslyn mono binary?

In theory, yes. In practice, the fix hasn't made it's way into the latest Mono builds yet.

Ok. In the theory, should it work on Linux based os  or it's should work only for Windows OS?

Windows builds work just fine.

Thanks :)

Actually, it looks like that Mono fix I was referring to is in the latest Mono beta build: <IP_ADDRESS>. However, it sounds like you were actually looking for Windows?

No, I am trying to use your binaries for Linux Fedora and Centos with installed dotnet 2.0 preview and with project generated with help dotnet 2 preview. And even more : all of this I launch in the docker container ...

If you're already trying it, should I assume it doesn't work? Are you getting some sort of error?

@DustinCampbell in the future releases you will be support dotnet-core binaries, or only net46 and mono binary?

In future release, OmniSharp will only have five releases:

omnisharp-win-x64
omnisharp-win-x86
omnisharp-mono-osx
omnisharp-linux-x86
omnisharp-linux-x64

Mono builds will include a local Mono runtime and framework so you don't need to have Mono installed to make it work.
The releases will still support processing .NET Core, .NET Framework, Xamarin, Unity, etc. projects.

Can I get somehow mono local binary for using 1.22 binaries without installation mono?

you could try installing the latest C# for VS Code beta into VS Code. Then, open a C# project in VS Code, let it download the Mono runtime/framework and OmniSharp. Finally, grab the binaries from the extension folder, which should be something like ~/.vscode/extensions/ms-vscode/ms-vscode.csharp-1.12.0-beta4/bin. There'll be a run script in there that you can run to start OmniSharp.

Hi. Sorry for jumping in late. I am trying to clarify my understanding of how omnisharp supports .NET Core.
Is it fair to say that Omnisharp-roslyn can work with just plain .NET Core? No mono required? I understand there may be reduced features (like it wont work against mono projects), but mono is not a hard dep if I just want to use omnisharp-roslyn against .NET Core?
Could you clarify the phrase "...The mono build requires a mono fix ..."? Is there a mono build of omnisharp and a non-mono build? Will the non-mono build just work on .NET Core? Any pointers to that build?

Let me clarify as there are two aspects to this problem:

What sorts of projects does OmniSharp support for processing, providing completion, etc.? This is not changing at all.
What does OmniSharp itself run on? This is changing, but it should be pretty much invisible to you.

Here are the details about the second point:
Yes, we'll be moving OmniSharp to run only on Mono. Sadly, due to the way that .NET Core handles assembly resolution, and the fact that MSBuild can run arbitrary code (in the form of Tasks) which can have additional dependencies, OmniSharp can't run on .NET Core and still handle all .NET Core projects. If we wanted to run on .NET Core, we'd need to (at worst) have a different build of OmniSharp matched to a particular .NET Core SDK. Does that make sense?
So, Mono will be a hard dependency, but OmniSharp will ship a local version of Mono that it runs on. So, you won't need to install Mono on the machine. This is how C# for VS Code works today.

First, thank you for explaining this!
Now, speaking with my Linux distro package maintainer hat on, please consider that this will make it harder for us to package and use omnisharp-roslyn.

What does OmniSharp itself run on? This is changing, but it should be pretty much invisible to you.

Unfortunately, dependencies and bundling local versions of packages are some of the bigger issues for Linux distributions. Many enterprise distributions do not ship mono but some have begun looking at .NET Core. Most distributions also want their software to be built from upstream source and prohibit local copies of binaries (so bundling mono would be a concern).

Yes, we'll be moving OmniSharp to run only on Mono. Sadly, due to the way that .NET Core handles assembly resolution, and the fact that MSBuild can run arbitrary code (in the form of Tasks) which can have additional dependencies, OmniSharp can't run on .NET Core and still handle all .NET Core projects.

What would it take to make .NET Core suitable for use by Omnisharp?

The intent from our discussions at Summit were to ensure that the linux/osx packages listed under releases would include this built in mono, with a bootstrapping script (.sh file I assume).  So for other editors, all you would have to do is pull the latest release and be able to integrate into your calling system fairly simply.
And dustin can correct me if I'm wrong, that the embedded mono will run on most environments self contained without any external dependencies. (I could be wrong here however)

Now, speaking with my Linux distro package maintainer hat on, please consider that this will make it harder for us to package and use omnisharp-roslyn.

Why is that? We are not adding a dependency on Mono to OmniSharp. We are including the Mono runtime and a set of framework binaries with OmniSharp, similar to how a standalone .NET Core app would work today.

What would it take to make .NET Core suitable for use by Omnisharp?

AFAICT, it is not possible without matching OmniSharp to the specific .NET Core SDK as the project you're trying to process.

And dustin can correct me if I'm wrong, that the embedded mono will run on most environments self contained without any external dependencies. (I could be wrong here however)

That's correct.

Why is that? We are not adding a dependency on Mono to OmniSharp. We are including the Mono runtime and a set of framework binaries with OmniSharp, similar to how a standalone .NET Core app would work today.

The way most linux distributions package software for inclusion is by unbundling all embedded binaries/libraries from a piece of software. Lets say you have a native application that displays pngs and uses libpng. There are potentially hundreds or thousands of applications in the linux distribution that will want to do that. So they rip the embedded copy of libpng out from all those applications and make them link against the one system-installed copy. This brings some very powerful advantages to the distribution:

If a security vulnerability occurs in libpng, they can rebuild and ship one version of libpng and suddenly all applications that are using libpng are now fixed. The alternative would be to find every application that bundles libpng and fix it one at a time.
If multiple versions of libpng were used in the distribution, the maintainers have to go find and fix every version of libpng that is being shipped. Imagine backporting a very sensitive security fix to a dozen different versions of libpng each requiring a slightly different fix.
There is no chance that any project is carrying a forked version of libpng. Since all projects are using the same version, any and all performance improvements/bug fixes/security-fixes that go into upstream will eventually improve all users. If each project carried a fork of libpng with different local patches, upstream libpng will never benefit from it, and neither will other applications. Generally, this forces all applications using libpng to contribute their fixes/improvements upstream, improving open source software in general.

So, Linux distributions strongly prefer that any software they include (such as omnisharp-roslyn, in an ideal world) does not include bundled/embedded copies.
And yes, this problem will affect standalone .NET Core applications too. I fully expect Linux distributions to come up with guidelines saying .NET Core applications must be framework-dependent and use libraries on the system.
For more background, see:

https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries
https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies
https://lwn.net/Articles/378865/

Ah. I see where you're coming from now. Sorry that I didn't catch on sooner.
FWIW, I don't think we have any aspirations of distributing OmniSharp in such a manner. As always, OmniSharp is simply distributed as a tarball/zip. I should also mention that OmniSharp can be run on a non-local Mono and we will likely provide a Mono package that isn't bundled with our Mono bits for any and all who wish to distribute it in such a fashion.

Dustin/others.
I'm using the latest Mono beta on Linux with v1.22 but am still seeing issues.  Is this expected at this time and if so, is there any work-around to make Omnisharp (specifically looking to make it work with Emacs) work with core 2.0 preview2?
Thanks,
-seb.
seb@sds1:/tmp/test$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

seb@sds1:/tmp/test$ mkdir omnisharp-roslyn
seb@sds1:/tmp/test$ wget -qO - https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.22.0/omnisharp-ubuntu.16.04-x64-netcoreapp1.1.tar.gz | tar -C omnisharp-roslyn/ -xzf -

seb@sds1:/tmp/test$ dotnet --version
2.0.0-preview2-006497
seb@sds1:/tmp/test$ dotnet new console -o app
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on app/app.csproj...
  Restoring packages for /tmp/test/app/app.csproj...
  Generating MSBuild file /tmp/test/app/obj/app.csproj.nuget.g.props.
  Generating MSBuild file /tmp/test/app/obj/app.csproj.nuget.g.targets.
  Restore completed in 234.92 ms for /tmp/test/app/app.csproj.

Restore succeeded.

seb@sds1:/tmp/test$ mono --version
Mono JIT compiler version <IP_ADDRESS> (tarball Thu Jul 27 14:33:05 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen (concurrent by default)

seb@sds1:/tmp/test$ omnisharp-roslyn/OmniSharp -s $(pwd)/app/
OmniSharp: -s /tmp/test/app/
info: OmniSharp.Startup[0]
      Omnisharp server running on port '2000' at location '/tmp/test/app/' on host -1.
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Initializing in /tmp/test/app/
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Auto package restore: True
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Update workspace context
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Resolving projects references
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      MSBUILD_EXE_PATH environment variable set to /tmp/test/omnisharp-roslyn/msbuild/MSBuild.dll
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      MSBuildExtensionsPath environment variable set to /tmp/test/omnisharp-roslyn/msbuild
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      MSBuild will use local OmniSharp installation.
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      No solution files found in '/tmp/test/app/'
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      Loading project: /tmp/test/app/app.csproj
fail: OmniSharp.MSBuild.ProjectFile.ProjectFileInfo[0]
      The "ReportAssetsLogMessages" task failed unexpectedly.
      System.IO.FileLoadException: Could not load file or assembly 'NuGet.ProjectModel, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
      File name: 'NuGet.ProjectModel, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
         at Microsoft.NET.Build.Tasks.ReportAssetsLogMessages.ExecuteCore()
         at Microsoft.NET.Build.Tasks.TaskBase.Execute()
         at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
         at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__25.MoveNext()
fail: OmniSharp.MSBuild.ProjectFile.ProjectFileInfo[0]
      The "CheckForTargetInAssetsFile" task failed unexpectedly.
      System.IO.FileLoadException: Could not load file or assembly 'NuGet.ProjectModel, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
      File name: 'NuGet.ProjectModel, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
         at Microsoft.NET.Build.Tasks.CheckForTargetInAssetsFile.ExecuteCore()
         at Microsoft.NET.Build.Tasks.TaskBase.Execute()
         at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
         at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__25.MoveNext()
warn: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      Failed to load project file '/tmp/test/app/app.csproj'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Detecting CSX files in '/tmp/test/app/'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Could not find any CSX files
info: OmniSharp.Services.WorkspaceHelper[0]
      Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
info: OmniSharp.Startup[0]
      Configuration finished.

Update your OmniSharp script to pass --assembly-loader=strict to mono when launching OmniSharp. This change is already in but we haven't pushed a release with it yet.

@sebbov: Does that work for you now?

@DustinCampbell yes it seems to, thanks!
I build from head of master and get:
seb@sds1:/tmp/omnisharp-roslyn$ artifacts/scripts/OmniSharp -s /tmp/test/app
OmniSharp: -s /tmp/test/app
info: OmniSharp.Startup[0]
      Omnisharp server running on port '2000' at location '/tmp/test/app' on host -1.
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Initializing in /tmp/test/app
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Auto package restore: True
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Update workspace context
info: OmniSharp.DotNet.DotNetProjectSystem[0]
      Resolving projects references
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      OmniSharp initialized with Mono MSBuild.
          MSBUILD_EXE_PATH: /usr/lib/mono/msbuild/15.0/bin/MSBuild.dll
          MSBuildExtensionsPath: /usr/lib/mono/xbuild
          TargetFrameworkRootPath: /usr/lib/mono/xbuild-frameworks
          RoslynTargetsPath: /tmp/omnisharp-roslyn/artifacts/publish/OmniSharp/default/net46/msbuild/Roslyn

info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      No solution files found in '/tmp/test/app'
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      Loading project: /tmp/test/app/app.csproj
info: OmniSharp.MSBuild.MSBuildProjectSystem[0]
      Update project: app
info: OmniSharp.Script.ScriptProjectSystem[0]
      Detecting CSX files in '/tmp/test/app'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Could not find any CSX files
info: OmniSharp.Services.WorkspaceHelper[0]
      Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
info: OmniSharp.Startup[0]
      Configuration finished.

The OmniSharp.Core script doesn't work, but I guess that may not be what I need after all.

Glad it works! OmniSharp.Core will ultimately be going away.

With #915 now merged, I think this can be closed.


AbstractRDFParser: Base IRI is not added to namespace table

Current Behavior
Hello everyone,
I'm having an issue parsing RDF Turtle files with declared base IRIs (see attached code :
`org.eclipse.rdf4j.rio.RDFParseException: Default namespace used but not defined [line 3]
at org.eclipse.rdf4j.rio.helpers.RDFParserHelper.reportFatalError(RDFParserHelper.java:347)
at org.eclipse.rdf4j.rio.helpers.AbstractRDFParser.reportFatalError(AbstractRDFParser.java:682)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.reportFatalError(TurtleParser.java:1308)
at org.eclipse.rdf4j.rio.helpers.AbstractRDFParser.getNamespace(AbstractRDFParser.java:280)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.parseQNameOrBoolean(TurtleParser.java:967)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.parseValue(TurtleParser.java:573)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.parseSubject(TurtleParser.java:397)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.parseTriples(TurtleParser.java:332)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.parseStatement(TurtleParser.java:202)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.parse(TurtleParser.java:164)
at org.eclipse.rdf4j.rio.turtle.TurtleParser.parse(TurtleParser.java:127)
at org.eclipse.rdf4j.rio.RDFParser.parse(RDFParser.java:107)
at TurtleParserTest.turtleParserTest(TurtleParserTest.java:23)`

Here is a minimal example to reproduce the issue (see attached maven project):
Turtle file
@base <http://www.example.org#> .
:s :p :o .

Java code
// dependency to rdf4j-rio-turtle 4.3.3
File turtleFile = new File("path/to/file");
TurtleParser parser = new TurtleParser();
parser.parse(new FileInputStream(turtleFile));

parser-issue.zip
The issue might be that when the base URI gets parsed, it is not added to the namespace table of the AbstractRDFParser class in the setBaseURI(...) method. I think it could be easily fixed (by someone who is more familiar with the project).
Expected Behavior
The base IRI should be added to the namespace table in order to process prefixed IRIs appropriately.
Here is the method:
org.eclipse.rdf4j.rio.helpers.AbstractRDFParser#setBaseURI(java.lang.String)
For the fix, I'm suggesting to add a line namespaceTable.put("", this.baseURI); to the method. Maybe someone who is familiar with the RDF4J project could validate this fix.
Steps To Reproduce
No response
Version
4.3.3
Are you interested in contributing a solution yourself?
Perhaps?
Anything else?
No response

Hi @MaximilianWenzel,
you have to define the prefix as follows:
@prefix : <http://www.example.org#> .

See also https://stackoverflow.com/questions/34146707/turtle-difference-between-base-and-empty-prefix
I hope this helps.
Best regards,
Ken

Thank you for the timely answer and the reference! Unfortunately, I was not aware of the difference yet.


script.elementum.jackett stuck on version 0.0.1

for some reason it stuck on version 0.0.1, while it already has version v3.0.0
https://github.com/ElementumOrg/repository.elementumorg/blob/5506e2731eb24c7f9b1082ab491bf0e2d85593a0/resources/repository.json#L24-L27
also, for reference - https://github.com/fugkco/script.elementum.jackett/issues/31

Yes, that is because repository expects a new version in addon.zip.
That is the way how Kodi identifies a newer version. It does not look on zip file name, but reads addon.zip to parse version.
@fugkco  Would be great if you could update a version with addon.zip changes to list actual version name.

@elgatito , But I can't see addon.xml in burst repo.
And it's updating
How does it work?

@vasilky3 How you don't see it? - https://github.com/elgatito/script.elementum.burst/blob/master/addon.xml

@elgatito, sorry been watching from phone. forgot to press "show all"

@elgatito where does it check the version? If you don't mind, I can change it to be github release version and raise a PR

@fugkco https://github.com/ElementumOrg/repository.elementumorg/blob/master/lib/repository.py#L124
It not probably even the check of the version. It just takes addon.xml for each addon and make a common addons.xml

@fugkco
i think it makes more sense to commit your updated addon.xml (after it was altered by scripts/update-version.py) in
https://github.com/fugkco/script.elementum.jackett/blob/master/.github/workflows/publish.yml
so your git repo will always have correct data.
rather than making a hack  (specific for your approach) in repository.py that would read your addon.xml, read latest tag, replace version in XML with that tag (basically a copy-paste of your approach from scripts/update-version.py).
although, if you add logic this as option (let's say "replace_addon_version_with_latest_tag") - then maybe it is ok.
  {
    "id": "script.elementum.jackett",
    "username": "fugkco",
    "assets": {
      "zip": "https://github.com/{username}/{repository}/releases/download/v{version}/{id}.zip"
    },
    "replace_addon_version_with_latest_tag": true
  },


Update Privacy Policy

How fun!
See: https://ico.org.uk/for-organisations/data-protection-reform/overview-of-the-gdpr/

This issue was moved to LibCrowds/vue-pybossa-frontend#8


.NET sample for Event Hub Kafka client  OAuth don't exist

On a page https://learn.microsoft.com/en-us/azure/event-hubs/authorize-access-azure-active-directory#samples we have 3 examples:

I don't have question to first 2, but it's strange that Microsoft don't provide samples for .NET Kafka client. As you see on a next screenshot - provided examples on any languages, except Microsoft own .NET platform.

Please, create a good, documented sample of .net client configuration with OAuth for Azure Event Hub Kafka endpoint.

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

ID: a7b89aee-8938-c033-2815-03c543702e39
Version Independent ID: d6c48306-31c5-e050-c22d-37895f362fbb
Content: Authorize access with Azure Active Directory - Azure Event Hubs
Content Source: articles/event-hubs/authorize-access-azure-active-directory.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

@SychevIgor
Duplicate of #https://github.com/MicrosoftDocs/azure-docs/issues/104826

@SychevIgor
We are going to close this thread as duplicate you can follow the update here https://github.com/MicrosoftDocs/azure-docs/issues/104826


#8957: Sweep infrastructure revamp

Ticket

https://github.com/tenstorrent/tt-metal/issues/8957

Problem description

Existing infra doesn't support capability for easy reporting and storage of test inputs, results, filtering, etc.

What's changed

New sweep infrastructure including MongoDB support for storing test vectors and results.
Separation of test vector generation and running

Checklist

[ ] Post commit CI passes
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Try to squash some of these commits together when you get the chance, and use rebase rather than merge to update with main. We'll want to spawn some more tickets from the main one for the different features.


In downloaded template pre-ticked answers do not download

@briri could you check - this is def not working for DMPonline (@raycarrick )
Expected behaviour:]
When you download a template and there are pre-ticked answers one would expect to see these in the download form.
Actual behaviour:
I have created a template with pre-ticked answer but when I go to download this is missing
Steps to reproduce:
Ensure that if there is a pre-ticked answer in template this will get downloaded

@raycarrick-ed  I will look at this next.

I have added a PR for this. The changes can be seen in screenshots
Example screenshots of template:

Preview


Data don't show anymore

Seems all data, except earnings, don't show anymore.
I tried from two different pc, from Firefox and Brave but the result it's the same.

Finviz updated their site so old parsing code does not work anymore. I'll update the code in the next couple of days. Stay tuned.

I updated the code to fix the display issue. Everything works except ratings. Ratings are displayed dynamically on the new finviz site so I'll have to redesign a few things in the extension to show them. It should take a week or so.

It works. Thank you very much!


Can't use @viselect/react in create react app

What is the problem?
i encountered this error
Failed to compile.

<EMAIL_ADDRESS>119:25
Module parse failed: Unexpected token (119:25)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|
|   removeEventListener(t, e) {
>     return this.t.get(t)?.delete(e), this;
|   }
|

What is the current behavior?
<-- What happens in your situation -->
Please provide the steps to reproduce and create a CodeSandbox.

What is the expected behavior?

Your environment:
react: "react": "^17.0.2",
"react-scripts": "4.0.3",
Version (@viselect/react):
Browser:  chrome
OS:  windows 10

Hey! Consider using something like vite or use the conditional-chaning plugin :)

Closing due to inactivity.


Merging Video Audio missing ffmpeg.exe warning

A feature request:
Please add a warning if ffmpeg.exe is not found in the directory of yt-dlp.exe. As a new user to both the GUI and yt-dlp I never understood why it split audio and video files, until youtube-dl-gui did the install of ffmpeg.exe and it worked in both programs conveniently.

Although I have already specified the requirements in the Readme and explained how to configure it in the wiki, there will be prompts displayed in the GUI later.
As for why the files are separated into video and audio, it's because YouTube also separates them to provide more compatible playback options on a wider range of devices.
In fact, I do not recommend complete beginners to use this tool, as it is only meant to assist users in using command-line programs like yt-dlp through a GUI. There are more beginner-friendly software available in online resources, and even free online services that allow direct download of a single file.


fix SAM-attr conversion bug; int[]'s not byte[]'s

per discussion on email list

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/866/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/867/
Test PASSed.

LGTM, is there more work pending on this, or is it good to go?

I think it's gtg

Thanks @ryan-williams!