_swift_release_dealloc EXC_BAD_ACCESS (KERN_INVALID_ADDRESS)

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
It happened once in my released app on iOS, i have no clue about what this is except it seems to be coming from Network.
I have got the crash from my crashlytics report (please see in screenshots section).
This happened on iPhone 12 under iOS 16.1.1
Expected results
The app should not crash
Actual results
The app is crashing
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
# Crashlytics - Stack trace
# Application: com.myappname.ios
# Platform: apple
# Version: 2.3.0 (23)
# Issue: a0d2904a1a2b510023f59e21c88ac8ae
# Session: 09bb8864939e41bfb9f487e0cf05b038_DNE_8_v2
# Date: Mon Sep 25 2023 10:22:09 GMT+0200 (UTC+02:00)

com.apple.main-thread
0  libsystem_kernel.dylib         0x1248 stat64
1  libsystem_kernel.dylib         0x1248 stat
2  Foundation                     0x6c618 _NSFileExistsAtPath
3  Foundation                     0x85c08 _NSStandardizePathUsingCache
4  Foundation                     0x61178 -[NSString(NSPathUtilities) _stringByStandardizingPathUsingCache:]
5  Foundation                     0x60948 _NSExpandTildeInPath
6  Foundation                     0x60414 -[NSString(NSPathUtilities) stringByExpandingTildeInPath]
7  Foundation                     0x60304 NSSearchPathForDirectoriesInDomains
8  UIKitCore                      0x4600b0 _restorationDirectory
9  UIKitCore                      0x4f72bc -[UIApplication(StateRestoration) _saveApplicationPreservationState:viewController:sessionIdentifier:beginHandler:completionHandler:]
10 UIKitCore                      0x1a57e0 -[UIApplication(StateRestoration) _saveApplicationPreservationStateIfSupported]
11 UIKitCore                      0xd3fd30 __130-[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:windowScene:]_block_invoke_2
12 UIKitCore                      0x1a3e68 -[_UIAfterCACommitBlock run]
13 UIKitCore                      0x1a3d9c -[_UIAfterCACommitQueue flush]
14 libdispatch.dylib              0x24b4 _dispatch_call_block_and_release
15 libdispatch.dylib              0x3fdc _dispatch_client_callout
16 libdispatch.dylib              0x127f4 _dispatch_main_queue_drain
17 libdispatch.dylib              0x12444 _dispatch_main_queue_callback_4CF
18 CoreFoundation                 0x9a6f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
19 CoreFoundation                 0x7c058 __CFRunLoopRun
20 CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
21 GraphicsServices               0x1368 GSEventRunModal
22 UIKitCore                      0x3a23d0 -[UIApplication _run]
23 UIKitCore                      0x3a2034 UIApplicationMain
24 Runner                         0x8ca4 main + 5 (AppDelegate.swift:5)
25 ???                            0x1ac85c960 (Missing)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Foundation                     0x42334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
8  Foundation                     0x4221c -[NSRunLoop(NSRunLoop) runUntilDate:]
9  UIKitCore                      0x4d733c -[UIEventFetcher threadMain]
10 Foundation                     0x5b808 __NSThread__start__
11 libsystem_pthread.dylib        0x16cc _pthread_start
12 libsystem_pthread.dylib        0xba4 thread_start

io.flutter.1.ui
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

io.flutter.1.raster
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

io.flutter.1.io
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

io.worker.1
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.2
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.3
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.4
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.5
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.6
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

dart:io EventHandler
0  libsystem_kernel.dylib         0x2480 kevent
1  Flutter                        0x597760 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
2  Flutter                        0x5c56bc (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  libsystem_pthread.dylib        0x16cc _pthread_start
4  libsystem_pthread.dylib        0xba4 thread_start

io.worker.1
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.2
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.3
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

io.worker.4
0  libsystem_kernel.dylib         0x141c __psynch_cvwait
1  libsystem_pthread.dylib        0x806c _pthread_cond_wait
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

com.google.firebase.crashlytics.MachExceptionServer
0  FirebaseCrashlytics            0x214c8 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1  FirebaseCrashlytics            0x218a8 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2  FirebaseCrashlytics            0x18958 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  FirebaseCrashlytics            0x1b1dc FIRCLSMachExceptionServer + 521 (FIRCLSMachException.c:521)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0xb48 mach_msg2_trap
1  libsystem_kernel.dylib         0x13008 mach_msg2_internal
2  libsystem_kernel.dylib         0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib         0x108c mach_msg
4  CoreFoundation                 0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                 0x7bd34 __CFRunLoopRun
6  CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
7  CFNetwork                      0x2565a8 _CFURLStorageSessionDisableCache
8  Foundation                     0x5b808 __NSThread__start__
9  libsystem_pthread.dylib        0x16cc _pthread_start
10 libsystem_pthread.dylib        0xba4 thread_start

com.apple.coreaudio.AQClient
0  libsystem_kernel.dylib          0xb48 mach_msg2_trap
1  libsystem_kernel.dylib          0x13008 mach_msg2_internal
2  libsystem_kernel.dylib          0x13248 mach_msg_overwrite
3  libsystem_kernel.dylib          0x108c mach_msg
4  CoreFoundation                  0x7aaf0 __CFRunLoopServiceMachPort
5  CoreFoundation                  0x7bd34 __CFRunLoopRun
6  CoreFoundation                  0x80ed4 CFRunLoopRunSpecific
7  AudioToolbox                    0x1d6240 (Missing UUID a08deb0e4ff933ef94723716c1babb51)
8  libAudioToolboxUtility.dylib    0x14354 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*)
9  libsystem_pthread.dylib         0x16cc _pthread_start
10 libsystem_pthread.dylib         0xba4 thread_start

caulk.messenger.shared:high
0  libsystem_kernel.dylib         0xac4 semaphore_wait_trap
1  caulk                          0x2888 caulk::mach::semaphore::wait_or_error()
2  caulk                          0x2fc0 caulk::concurrent::details::worker_thread::run()
3  caulk                          0x3788 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*)
4  libsystem_pthread.dylib        0x16cc _pthread_start
5  libsystem_pthread.dylib        0xba4 thread_start

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread

Crashed: com.apple.root.background-qos
0  libswiftCore.dylib             0x3da11c _swift_release_dealloc
1  libswiftNetwork.dylib          0x1cdc destroy for NWPath
2  libswiftNetwork.dylib          0x39cfc outlined destroy of NWPath
3  libswiftNetwork.dylib          0x37388 closure #1 in NWPathMonitor.init(requiredInterfaceType:)
4  libswiftNetwork.dylib          0x2560 thunk for @escaping @callee_guaranteed (@guaranteed OS_nw_path) -> ()
5  Network                        0x925e7c __nw_path_necp_update_evaluator_block_invoke
6  libdispatch.dylib              0x24b4 _dispatch_call_block_and_release
7  libdispatch.dylib              0x3fdc _dispatch_client_callout
8  libdispatch.dylib              0x15b8c _dispatch_root_queue_drain
9  libdispatch.dylib              0x16284 _dispatch_worker_thread2
10 libsystem_pthread.dylib        0xdbc _pthread_wqthread
11 libsystem_pthread.dylib        0xb98 start_wqthread

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread

Thread
0  libsystem_kernel.dylib         0x1050 __workq_kernreturn
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread
2  libsystem_pthread.dylib        0xb98 start_wqthread

Thread
0  libsystem_kernel.dylib         0x1050 __workq_kernreturn
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread
2  libsystem_pthread.dylib        0xb98 start_wqthread

Thread
0  libsystem_kernel.dylib         0x1050 __workq_kernreturn
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread
2  libsystem_pthread.dylib        0xb98 start_wqthread

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.5, on macOS 14.0 23A339 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.82.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Crashed: com.apple.root.background-qos
0  libswiftCore.dylib             0x3da11c _swift_release_dealloc
1  libswiftNetwork.dylib          0x1cdc destroy for NWPath
2  libswiftNetwork.dylib          0x39cfc outlined destroy of NWPath
3  libswiftNetwork.dylib          0x37388 closure #1 in NWPathMonitor.init(requiredInterfaceType:)
4  libswiftNetwork.dylib          0x2560 thunk for @escaping @callee_guaranteed (@guaranteed OS_nw_path) -> ()
5  Network                        0x925e7c __nw_path_necp_update_evaluator_block_invoke
6  libdispatch.dylib              0x24b4 _dispatch_call_block_and_release
7  libdispatch.dylib              0x3fdc _dispatch_client_callout
8  libdispatch.dylib              0x15b8c _dispatch_root_queue_drain
9  libdispatch.dylib              0x16284 _dispatch_worker_thread2
10 libsystem_pthread.dylib        0xdbc _pthread_wqthread
11 libsystem_pthread.dylib        0xb98 start_wqthread

This is a thread created by Apple code, running only Apple code; there's no Flutter code anywhere on this thread. You'd need to report this to Apple.
Closing as this is not a Flutter issue.


[FLINK-13662][kinesis] Relax timing requirements

Relaxes the timing constraints in FlinkKinesisProducerTest#testBackpressure by relying on a Deadline instead of 100ms syncs. Some syncs (that were just used as sleeps) have been replaced with a sleep-loop.
To prevent the Deadline usage from obfuscating errors in case timeLeft() returns a negative value, a new method timeLeftIfAny() throws TimeoutException was introduced, which should be usable as a drop-in replacement for usage that follow this pattern:
if (deadline.hasTimeLeft()) {
    <do something with deadline.timeLeft()>
} else {
    <abort>
}

The problem in the above example is that there is no guarantee that timeLeft() returns a positive value, because time.

Thanks @zentol for replying to the comments. My questions are answered and the change looks good to me.
I can help to rebase and merge this PR. And you can enjoy your holiday. Have a good Christmas!

Merging.


General Grievance: Blacklist<PHONE_NUMBER>

General Grievance requests the blacklist of the number<PHONE_NUMBER>. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by VLAZ in Charcoal HQ


Updates to mod incompatibility checker

I'm pondering making some additional changes to mod incompatibility checker after LABS gets updated to v11, so probably part of v11.1 release:

Definitions should specify criticality of the incompatibility:

Critical - guaranteed to break TM:PE in a bad way
Major - likely to break TM:PE but in a recoverable way (diable conflicting mod an things return to normal)
Minor - causes some problems but user can choose to ignore

Might be better to have a class that defines the incompatible mods, rather than txt file
Critical conflicts will always be checked, regardless of user settings
Distinction between major/minor is possibly irrelevant but just putting the idea out there for feedback

Thoughts?

Moving to code is a good idea. Syntax checks, and severity enum will also be checked by the compiler.
When you display "severity" to the user, they might not pay attention to what it means and will only care will this run on my game? And if you allow them to click ignore the conflicts, many will ignore (and suffer) without remembering the cause.

I was thinking the severity would override user choice to varying degrees.
Example:

Minor - respects user settings in mod options, eg. they can choose to bypass checking
Major - will always check and warn, but they can choose to ignore
Critical - will demand the conflict be resolved and game restart before continue

Info 28.7546777: Something went wrong while checking incompatible mods - see main game log for details.

Incompatible mod detector is failing completely when one or more mods were not instantiated correctly on game init(missing dependencies or other problem) - probably needs try...catch or additional check.

I have a try..catch around whole thing currently so the errors probably aren't great. I'll try and improve that for the v11.2 release as it might help track down some broken mods. I should at least be outputting the mod path or something as that would give some way to find mod even if it's not loading in to game properly.

Getting there....
Info 21.5842923: Assembly: TrafficManager v1.0.6877 in MOD ERROR
Info 21.5849921: Assembly: TrafficManager v1.0.6665 in MOD ERROR
Info 21.5856742: Assembly: TrafficManager v1.0.7080 in MOD ERROR
Info 21.5863450: Assembly: TrafficManager v1.0.7338 in MOD ERROR
Info 21.5870234: Assembly: TrafficManager v11.1.0 in MOD ERROR
Info 21.5882154: Assembly: TrafficManager v11.1.0 in \TrafficManager

Only the last mod (local build) was enabled.

I tried using asm.Location but it was empty for all mods. So then, seeing as I was going to need PluginInfo for the mods anyway (eg. to unsubscribe and other stuff), I tried Singleton<PluginManager>.instance.FindPluginInfo(asm); but it only works for enabled assemblies!
The parent folder (eg. workshop id in most cases) will be useful for logging and maybe also to display in whatever dialog I concoct.
I also, for TM:PE versions prior to 11.1.0, want to try and query the Version field or, if not present, the Name field/property on the TrafficManagerMod class - being able to show versions or name older mods or their name (which sometimes contains version) will be useful for disambiguation. I suspect I can do that via reflection, but haven't quite worked out how to yet.
Being able to get a date (either of build if such a thing exists, or file last changed on disk) would also be most useful.

Hrm, I can iterate Singleton<PluginManager>.instance.GetPluginsInfo() and create a dictionary of <Guid, PluginInfo> then I can cross-reference that with asm.ManifestModule.ModuleVersionId to link an assembly to a PluginInfo where possible.
But what to do if two PluginInfo.userModInstance.GetType().Assembly.ManifestModule.ModuleVersionId gives same Guid value? (Eg. someone uploads a copy of an old version of TM:PE to workshop without changing anything, there's now two mods with same Guid?)

Just dumping some info about old versions TM:PE TrafficManagerMod:
Version + game version available as far back as 1.7.1 (1.7.0 was released as version 1.7.1 by mistake) in 2016. Game version info, or lack thereof, will make any obsolete versions very obvious:
public static readonly string Version = "1.7.1";

public static readonly uint GameVersion = 155313168u;
public static readonly uint GameVersionA = 1u;
public static readonly uint GameVersionB = 5u;
public static readonly uint GameVersionC = 0u;
public static readonly uint GameVersionBuild = 4u;

.Version appears somewhere in .Name as far back as v1.9.0 in 2017:
public string Name => "Traffic Manager: President Edition [" + Version + "]";

Occasionally .Version has other stuff in it - how to parse in to a Version instance for easy comparison?
public static readonly string Version = "1.10.15-stable";

LABS vs. STABLE introduced in 10.21:
public static readonly string Version = "10.21";

#if LABS
        public string Branch => "LABS";
#elif DEBUG
        public string Branch => "DEBUG";
#else
        public string Branch => "STABLE";
#endif

Is this a viable way to clean -whatever from a string version number prior to using Version.TryParse()?
string clean = Regex.Replace(version, "[^0-9\.]", string.Empty);

Just accidentally did a hot save and the assembly checker noticed the zombie!
Info 18.4499741: Assembly: TrafficManager v11.1.0 in MOD ERROR
Info 18.4506880: Assembly: TrafficManager v1.0.7338 in MOD ERROR
Info 18.4513620: Assembly: TrafficManager v1.0.7080 in MOD ERROR
Info 18.4520180: Assembly: TrafficManager v1.0.6665 in MOD ERROR
Info 18.4526769: Assembly: TrafficManager v1.0.6877 in MOD ERROR
Info 18.4536098: Assembly: TrafficManager v11.1.0 in \TrafficManager

// hot reload

Info<PHONE_NUMBER>: Assembly: TrafficManager v11.1.0 in \TrafficManager
Info<PHONE_NUMBER>: Assembly: TrafficManager v11.1.0 in MOD ERROR
Info<PHONE_NUMBER>: Assembly: TrafficManager v1.0.7338 in MOD ERROR
Info<PHONE_NUMBER>: Assembly: TrafficManager v1.0.7080 in MOD ERROR
Info<PHONE_NUMBER>: Assembly: TrafficManager v1.0.6665 in MOD ERROR
Info<PHONE_NUMBER>: Assembly: TrafficManager v1.0.6877 in MOD ERROR
Info<PHONE_NUMBER>: Assembly: TrafficManager v11.1.0 in MOD ERROR

Note 3 x 11.1.0 in second set of results. I just wish I could accurately get paths. Still working on it...

Also it looks like the game uses the assembly that's first in the list, assuming that's how hotloading works (it puts the newly detected assembly at top of list) - look:
Info 45.5013651: Assembly: TrafficManager v11.1.1 in \TrafficManager
Info 45.5022161: Assembly: TrafficManager v11.1.0 in MOD ERROR
Info 45.5028974: Assembly: TrafficManager v1.0.7338 in MOD ERROR
Info 45.5035862: Assembly: TrafficManager v1.0.7080 in MOD ERROR
Info 45.5042713: Assembly: TrafficManager v1.0.6665 in MOD ERROR
Info 45.5049646: Assembly: TrafficManager v1.0.6877 in MOD ERROR
Info 45.5060715: Assembly: TrafficManager v11.1.0 in MOD ERROR

So I'm wondering now if we can fake a hotload to choose which version of TM:PE is active. That would mean we could switch between LABS and STABLE at will - have both subscribed, and so long as only one is enabled it can get added to top of assemblues list...?

@krzychu124 @dymanoid do you think this would be viable thing to do?
So long as only one version of the mod is enabled, I can get it's Guid and scan to see if it's at top of asseblies list and, if not, fake a hotload to trick the game in to reloading it and putting it top of list = it's now the active assembly.

Finally got reflection mostly working:
Info 21.3403873: -- TrafficManager v11.1.0 LABS - aubergine
Info 21.3410013: -- TrafficManager v1.0.7338 STABLE - krzychu - should be v11.0
Info 21.3418188: -- TrafficManager v10.20 OBSOLETE - LinuxFan
Info 21.3424263: -- TrafficManager v1.10.6 OBSOLETE - tmhardie (alpha/debug)
Info 21.3430252: -- TrafficManager v1.10.12 OBSOLETE - 591857426 (fixed for industry dlc)
Info 21.3439599: -- TrafficManager v11.1.1 LABS - Local dev build

Not sure why 11.0 STABLE is being reported as v1.0.7338 STABLE (reverting to assembly version because it had some problem reading the TrafficManagerMod.Version member.

Now reliably getting versions and I've added special case for v10.20 to treat it as STABLE for now (manually annotated for clarity):
Info 21.3293601: Assembly: TrafficManager v11.1.0 LABS    -> aubergine
Info 21.3302959: Assembly: TrafficManager v11.0 STABLE    -> krzychu
Info 21.3309732: Assembly: TrafficManager v10.20 STABLE    -> linuxfan
Info 21.3316470: Assembly: TrafficManager v1.10.6 OBSOLETE    -> rogue upload
Info 21.3323342: Assembly: TrafficManager v1.10.12 OBSOLETE    -> rogue upload
Info 21.3333248: Assembly: TrafficManager v11.1.1 LABS    -> local dev build

The "hot load" won't help for old versions if they were already loaded. The will still remain in the process and might still process events causing unexpected behavior. There is no way to get rid of "dead instances" but to restart the game.


HTML5 File upload

Does superagent support req.post('/').attach(file) where file is an HTML5 File object?

Yep.

This isn't working for me. Anyone else having this issue?

@tnrich could you provide your browser version details and what specifically happens when it doesn't work?

Sorry this was an issue with express not handling file uploads by default.
I used the multer package to get them to come in. Thanks for the response
:)
On Fri, Dec 11, 2015 at 5:06 PM Peter Lyons<EMAIL_ADDRESS>wrote:

@tnrich https://github.com/tnrich could you provide your browser
version details and what specifically happens when it doesn't work?
—
Reply to this email directly or view it on GitHub
https://github.com/visionmedia/superagent/issues/652#issuecomment-164092268
.


Added fields to 'alert'

The 'description' and 'time' fields were missing from the 'alert' type

Thanks!


We're making a dark theme

I think we should have a dark theme implemented for those weird people that actually like it

Gonna do this


Microsoft.Security new version - 2024-02-01

ARM (Control Plane) API Specification Update Pull Request

Tip: overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

 Click here to see the details of Step 1
Breaking changes review (Diagram Step 1)
If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
You believe there is no need for you to request breaking change approval, for any reason.
Such claims must be reviewed, and the process is the same.

 Click here to see the details of Step 2
ARM API changes review (Diagram Step 2)

If this PR is in purview of ARM review then automation will add the ARMReview label.
If you want to force ARM review, add the label yourself.
Proceed according to the diagram at the top of this comment.

 Click here to see the diagram footnotes
Diagram footnotes
[1] ARM review queue (for merge queues, see [2])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
If you need further help with anything, see Getting help section below.

Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!

[x] New API version. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the Diagram Step 2, "ARM API changes Review", for this PR.

Additional information

 Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

Getting help

First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Hi @aviramyi! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

This is flagged as part of the automated tests as well here

/azp run

please fix duplicate schemas to make sdk generation work, more detail please see https://github.com/Azure/sdk-release-request/issues/4762#issuecomment-1827286038 and https://github.com/Azure/azure-rest-api-specs/pull/27389/checks?check_run_id=21141086420

please fix duplicate schemas to make sdk generation work, more details please see Azure/sdk-release-request#4762 (comment) and https://github.com/Azure/azure-rest-api-specs/pull/27389/checks?check_run_id=21141086420

Hi @kazrael2119,
I reviewed the attached link.
Unfortunately, each of the mentioned issues is under a different team that share Microsoft.Security RP.
Given that information, and the fact that this spans across teams, I would really appreciate if we can bypass this validation, as my PR didn't add any errors that weren't there before.
Here is a PR that was approved and merged with these issues.
Appreciate your assistance.

please fix duplicate schemas to make sdk generation work, more details please see Azure/sdk-release-request#4762 (comment) and https://github.com/Azure/azure-rest-api-specs/pull/27389/checks?check_run_id=21141086420

Hi @kazrael2119, I reviewed the attached links and errors. Unfortunately, each of the mentioned issues is under a different team that share Microsoft.Security RP.
Given that information, and the fact that this spans across teams, I would really appreciate if we can bypass this validation, as my PR didn't add any errors that weren't there before. Here is a PR that was approved and merged with these issues.
Appreciate your assistance.

could you help check this duplicate?

and could you ask pricing team to fix the duplicate operations?
Duplicates have those paths:
  - get /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings
  - get /{scopeId}/providers/Microsoft.Security/pricings
error   | DuplicateOperation | Duplicate Operation 'Pricings' > 'Get' detected(This is most likely due to 2 operation using the same 'operationId' or 'tags'). Duplicates have those paths:
  - get /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}
  - get /{scopeId}/providers/Microsoft.Security/pricings/{pricingName}
error   | DuplicateOperation | Duplicate Operation 'Pricings' > 'Update' detected(This is most likely due to 2 operation using the same 'operationId' or 'tags'). Duplicates have those paths:
  - put /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}
  - put /{scopeId}/providers/Microsoft.Security/pricings/{pricingName}

this caused the sdk generation failed, and we can't approve any sdk breaking if the sdk generation is failed

please fix duplicate schemas to make sdk generation work, more details please see Azure/sdk-release-request#4762 (comment) and https://github.com/Azure/azure-rest-api-specs/pull/27389/checks?check_run_id=21141086420

Hi @kazrael2119, I reviewed the attached links and errors. Unfortunately, each of the mentioned issues is under a different team that share Microsoft.Security RP.
Given that information, and the fact that this spans across teams, I would really appreciate if we can bypass this validation, as my PR didn't add any errors that weren't there before. Here is a PR that was approved and merged with these issues.
Appreciate your assistance.

could you help check this duplicate?
and sdk generation failure is caused by the following error:
error   | DuplicateOperation | Duplicate Operation 'Pricings' > 'List' detected(This is most likely due to 2 operation using the same 'operationId' or 'tags'). Duplicates have those paths:
  - get /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings
  - get /{scopeId}/providers/Microsoft.Security/pricings
error   | DuplicateOperation | Duplicate Operation 'Pricings' > 'Get' detected(This is most likely due to 2 operation using the same 'operationId' or 'tags'). Duplicates have those paths:
  - get /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}
  - get /{scopeId}/providers/Microsoft.Security/pricings/{pricingName}
error   | DuplicateOperation | Duplicate Operation 'Pricings' > 'Update' detected(This is most likely due to 2 operation using the same 'operationId' or 'tags'). Duplicates have those paths:
  - put /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}
  - put /{scopeId}/providers/Microsoft.Security/pricings/{pricingName}

I think after this pr #27497 merged into main, these will be fixed

Yes, Azure's policy is that a "service" (RP) is a set of operation endpoints that version uniformly together. And, only after this is done properly can customers use the documentation correctly and SDK packages can be made. In addition, we cannot ship any SDK package where some api-versions are preview and some are GA. The api-versions must be unified before this PR can be approved.


Revert "Update to 1 in STEP and README.md"

This reverts commit 65ecfb997f765376ee66a743d73ae6fc4811e970.
Summary

README.md was updated to Step 1 by github-actions. The commit dac85be has reset the -step.txt file, but README.md hasn't been reset.
Changes

Revert to Step 0

Closes:
Task list

[x] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

Thanks for this! But this course is still in the process of being created, I should've marked it as such sorry!


Find users by tag

As a user with many persons in address book, I can find users based on tag so that I can find groups of contacts easily.

#24 need to address the same issue.

#43 is a more generalised version of this.


Samplegen: read from files

Set up infrastructure for standalone samples to be able to read from files and assign the file content to a local variable.

Does not yet work for sample function parameters.
IO utils are not yet imported in any languages.

Codecov Report

Merging #2414 into master will increase coverage by 0.03%.
The diff coverage is 91.93%.

@@             Coverage Diff              @@
##             master    #2414      +/-   ##
============================================
+ Coverage     86.72%   86.75%   +0.03%
- Complexity     5241     5262      +21
============================================
  Files           458      460       +2
  Lines         20867    20941      +74
  Branches       2252     2256       +4
============================================
+ Hits          18096    18168      +72
- Misses         1968     1970       +2
  Partials        803      803

Impacted Files
Coverage Δ
Complexity Δ

.../google/api/codegen/metacode/InitCodeLineType.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

.../com/google/api/codegen/metacode/InitCodeNode.java
86.48% <100%> (+1.02%)
77 <6> (+6)
:arrow_up:

...m/google/api/codegen/metacode/InitCodeContext.java
100% <100%> (ø)
3 <1> (+1)
:arrow_up:

...gle/api/codegen/transformer/SampleTransformer.java
98.97% <100%> (+1.13%)
19 <2> (+1)
:arrow_up:

...pi/codegen/viewmodel/ReadFileInitCodeLineView.java
100% <100%> (ø)
3 <3> (?)

...ogle/api/codegen/config/SampleParameterConfig.java
75% <75%> (ø)
4 <4> (?)

...e/api/codegen/transformer/InitCodeTransformer.java
94.56% <83.33%> (-0.68%)
89 <2> (+3)

...degen/transformer/java/JavaSurfaceTransformer.java
98.45% <0%> (ø)
60% <0%> (ø)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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

@beccasaurus @pongad @vchudnov-g PTAL

PTAL @vchudnov-g @pongad


Icon request - half star for reviews

Thank you for your hard work 👍
I switched from font awesome, to see where I can help other libraries.
This could be considered a change request.

I would like to display the above as 2 1/2 stars, like most ratings look:

You do cater for this scenario with: star-half, but I need to use CSS to rotate by 180 degrees.
Maybe you could add another version of star-half, such as star-half-f, which is just the inverse on the x-axis? I'm not sure. I do believe the inverse would be the most common use-case for ratings.
Keep up the good work!

Hey,
Thanks for the idea and details, just added  star-half-f to the current todo 😉

Added in v3.1.0


Paper state of the field and layout

Possibly enlarge on the state of the field, and split the text up more for readability rather than two large paragraphs

Hello @Assistedevolution,
thank you for the revision!
We have split the paragraphs to improve readability and we have included additional explanations from the original submission and more information in the GitHub repository.
We bring to your attention that JOSS papers have word limits of 1000 words. We currently have 1191 words thus already exceeding the limit. We prefer not make our paper any longer by providing additional background. We are publicising a tool we developed for our needs that we think others will find useful also. We think our readers will be familiar with the background or will be able to further explore the background from citations and additional information we include in the GitHub repository.
Thank you

Thanks @YuliyaLab, I missed that you had 1000 word limit. I would still break the big paragraphs up for readability.

The big paragraphs have been broken up.


fix: Add meltano to constraints file

Had a failure crop up in the latest Meltano release 2.15.0 . It'd be nice to pin our target to a version of Meltano and get any errors like this in a Dependabot PR.

ERROR: Could not open requirements file: [Errno 2] No such file or directory: '.github/workflows/constraints.txt'
This doesn't happen for anything but the integration job. Not clear why

@visch is it worth resolving the merge conflicts on this one to get it merged or should we just close it?

@edgarrmondragon  closing this is ok. This was a one-time issue that I thought would be easy to throw up a PR and have dependabot help me!


Move crate defmt to defmt/

I'd like cargo watch or cargo check in the root directory to check all the host crates, but before this change it will only check the defmt crate.

Just noticed that I need to adapt the crates in firmware/

bors r+


How Do I add a library from GitHub when setting up Arduino as an ESP-IDF component (IDFGH-8420)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
4.4.2
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
CMD
What is the expected behavior?
After following the instructions listed here: https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html to build my code in Arduino as an esp-idf component, I quickly came to the realization that libraries such as OneWire.h and ESPAsyncWebServer.h were not supported in this framework so I went to GitHub, downloaded these libraries and added them under components/arduino/libraries. However, after doing so and trying to build my project again using idf.py build in the esp-idf terminal withing VSCode, the compilation terminated because it could not find the file or directory. I tried inserting the library in a different way inside my project by adding it as a git submodule but that resulted in the same error. I then tried adding the relative path in the #include statement using "../components/arduino/espasyncwebserver-master/espasyncwebserver.h" and the main.cpp folder compiled but the the actual .h had a bunch of unresolved include statements. Any idea on how to fix the issue?
What is the actual behavior?
Instead of building properly, the build fails because it cannot find the specified file or directory
Steps to reproduce.

Build arduino as an esp-idf component by following this documentation: https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html and ensuring you are using esp-idf version 4.4.2
Build simple blink project and ensure it works (which it did for me)
Add an arduino library from github like oneWire.h to your project under components/arduino/libraries (or elsewhere) and add it in main .cpp with a #include statement and re-build your project once more
...

Build or installation Logs.
PS C:\Users\matth\Documents\ArduinoLibBuilder\MVPCodeInEsp-idf> idf.py build
Executing action: all (aliases: build)
Running ninja in directory c:\users\matth\documents\arduinolibbuilder\mvpcodeinesp-idf\build
Executing "ninja all"...
[1/10] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\Users\matth\Documents\ArduinoLibBuilder\MVPCodeInEsp-idf\build\bootloader\esp-idf\esptool_py && c:\Espressif\frameworks\esp-idf-v4.4.1\tools\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/Users/matth/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/matth/Documents/ArduinoLibBuilder/MVPCodeInEsp-idf/build/bootloader/bootloader.bin"
Bootloader binary size 0x6330 bytes. 0xcd0 bytes (11%) free.
[2/8] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/main.cpp.obj
FAILED: esp-idf/main/CMakeFiles/__idf_main.dir/main.cpp.obj
ccache C:\Espressif\frameworks\esp-idf-v4.4.1\tools\tools\xtensa-esp32-elf\esp-2021r2-patch3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -Iconfig -IC:/Users/matth/esp/esp-idf/components/newlib/platform_include -IC:/Users/matth/esp/esp-idf/components/freertos/include -IC:/Users/matth/esp/esp-idf/components/freertos/include/esp_additions/freertos -IC:/Users/matth/esp/esp-idf/components/freertos/port/xtensa/include -IC:/Users/matth/esp/esp-idf/components/freertos/include/esp_additions -IC:/Users/matth/esp/esp-idf/components/esp_hw_support/include -IC:/Users/matth/esp/esp-idf/components/esp_hw_support/include/soc -IC:/Users/matth/esp/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/Users/matth/esp/esp-idf/components/esp_hw_support/port/esp32/. -IC:/Users/matth/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/Users/matth/esp/esp-idf/components/heap/include -IC:/Users/matth/esp/esp-idf/components/log/include -IC:/Users/matth/esp/esp-idf/components/lwip/include/apps -IC:/Users/matth/esp/esp-idf/components/lwip/include/apps/sntp -IC:/Users/matth/esp/esp-idf/components/lwip/lwip/src/include -IC:/Users/matth/esp/esp-idf/components/lwip/port/esp32/include -IC:/Users/matth/esp/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/matth/esp/esp-idf/components/soc/include -IC:/Users/matth/esp/esp-idf/components/soc/esp32/.
No response

@MatthewGerges2
I think that there are 2 necessary steps to get a library working within the Arduino as Component Model:

add the library to the "components/arduino/libraries" folder as you have already done
add the library to "components/arduino/CMakeList.txt"

set(LIBRARY_SRCS
  libraries/ArduinoOTA/src/ArduinoOTA.cpp
  libraries/AsyncUDP/src/AsyncUDP.cpp
....

It may also be necessary to modify the include list in "components/arduino/CMakeList.txt"
set(includedirs
  variants/${CONFIG_ARDUINO_VARIANT}/
  cores/esp32/
  libraries/ArduinoOTA/src
  libraries/AsyncUDP/src
  libraries/BLE/src
  libraries/BluetoothSerial/src

To make it easier, these are the changes necessary to include ESPAsyncWebServer and also for AsyncTCP (if necessary). This modifications were done in "components/arduino/CMakeList.txt" and it can build the sketch using that library.
set(LIBRARY_SRCS
  libraries/ArduinoOTA/src/ArduinoOTA.cpp
  libraries/AsyncUDP/src/AsyncUDP.cpp
  libraries/AsyncTCP/src/AsyncTCP.cpp
  libraries/BluetoothSerial/src/BluetoothSerial.cpp
  libraries/BluetoothSerial/src/BTAddress.cpp
  libraries/BluetoothSerial/src/BTAdvertisedDeviceSet.cpp
  libraries/BluetoothSerial/src/BTScanResultsSet.cpp
  libraries/DNSServer/src/DNSServer.cpp
  libraries/EEPROM/src/EEPROM.cpp
  libraries/ESPAsyncWebServer/src/AsyncEventSource.cpp
  libraries/ESPAsyncWebServer/src/AsyncWebSocket.cpp
  libraries/ESPAsyncWebServer/src/SPIFFSEditor.cpp
  libraries/ESPAsyncWebServer/src/WebAuthentication.cpp
  libraries/ESPAsyncWebServer/src/WebHandlers.cpp
  libraries/ESPAsyncWebServer/src/WebRequest.cpp
  libraries/ESPAsyncWebServer/src/WebResponses.cpp
  libraries/ESPAsyncWebServer/src/WebServer.cpp
  libraries/ESPmDNS/src/ESPmDNS.cpp
  libraries/Ethernet/src/ETH.cpp

set(includedirs
  variants/${IDF_TARGET}/
  cores/esp32/
  libraries/ArduinoOTA/src
  libraries/AsyncUDP/src
  libraries/AsyncTCP/src
  libraries/BLE/src
  libraries/BluetoothSerial/src
  libraries/DNSServer/src
  libraries/EEPROM/src
  libraries/ESPAsyncWebServer/src
  libraries/ESP32/src
  libraries/ESPmDNS/src
  libraries/Ethernet/src

I think we can close this issue as solved. This is not a bug.

@MatthewGerges2
There is another way to solve this issue. Maybe easier.
Just add a libs/ESPAsyncWebServer to your main source folder. It shall contain the Library ESPAsyncWebServer from github. I did that also for libs/AsyncTCP using AsyncTCP Library from me-no-dev.
In your main source code folder, add this CMakeLists.txt file content:
idf_component_register(
   SRC_DIRS               "." "libs/AsyncTCP/src" "libs/ESPAsyncWebServer/src"
   INCLUDE_DIRS           "." "libs/AsyncTCP/src" "libs/ESPAsyncWebServer/src"

It will include all library source code and include files to your project and it will also solve the issue.
It will also copile and include all source code from main source folder.

Thanks so much. I used the first solution. I appreciate it! I'll close the issue now

Sorry I just reopened this issue again but do you know how I could by any chance include any of the two the following 2 libraries after downloading them and extracting them to my project:
https://github.com/mobizt/Firebase-ESP32
https://github.com/mobizt/Firebase-ESP32
I tried the strategies you mentioned above but I'm getting lots of errors! Your help is greatly appreciated!!

@SuGlider your help would be greatly appreciated - you really helped me out last time too!

@MatthewGerges2 - Please be more specific in order to help me to help you.
What is the sketch you are trying to run?
What sort of error do you see?
What have you already tried?
What issues do you see in each case?

At a first glance, I'd suggest you to:
1- clone Firebase-ESP32 under main/libraries folder:

cd main
md libraries
cd libraries
git clone --recursive https://github.com/mobizt/Firebase-ESP32.git Firebase-ESP32
cd ..

2- Copy some Firebase-ESP32 example there, such as basic.ino, renaming it to "basic.ino.cpp".

cp libraries/Firebase-ESP32/examples/Basic/Basic.ino ./Basic.ino.cpp

2- Modify your main/CMakeLists.txt to this:
idf_component_register(
   SRC_DIRS               "."
                          "libraries/Firebase-ESP32/src"
                          "libraries/Firebase-ESP32/src/addons"
                          "libraries/Firebase-ESP32/src/json"
                          "libraries/Firebase-ESP32/src/json/extras/print"
                          "libraries/Firebase-ESP32/src/json/MB_JSON"
                          "libraries/Firebase-ESP32/src/mbfs"
                          "libraries/Firebase-ESP32/src/rtdb"
                          "libraries/Firebase-ESP32/src/rtdb/stream"
                          "libraries/Firebase-ESP32/src/session"
                          "libraries/Firebase-ESP32/src/signer"
                          "libraries/Firebase-ESP32/src/sslclient/esp32"
                          "libraries/Firebase-ESP32/src/wcs"
                          "libraries/Firebase-ESP32/src/wcs/base"
                          "libraries/Firebase-ESP32/src/wcs/custom"
                          "libraries/Firebase-ESP32/src/wcs/esp32"

   INCLUDE_DIRS           "."
                          "libraries/Firebase-ESP32/src"
                          "libraries/Firebase-ESP32/src/addons"
                          "libraries/Firebase-ESP32/src/json"
                          "libraries/Firebase-ESP32/src/json/extras/print"
                          "libraries/Firebase-ESP32/src/json/MB_JSON"
                          "libraries/Firebase-ESP32/src/mbfs"
                          "libraries/Firebase-ESP32/src/rtdb"
                          "libraries/Firebase-ESP32/src/rtdb/stream"
                          "libraries/Firebase-ESP32/src/session"
                          "libraries/Firebase-ESP32/src/signer"
                          "libraries/Firebase-ESP32/src/sslclient/esp32"
                          "libraries/Firebase-ESP32/src/wcs"
                          "libraries/Firebase-ESP32/src/wcs/base"
                          "libraries/Firebase-ESP32/src/wcs/custom"
                          "libraries/Firebase-ESP32/src/wcs/esp32"
)

4- build it

idf.py build

I proceeded exactly as explained above and I've successfully built the basic.ino.cpp example.

Hi @SuGlider, I there any official documentation on how to include existing libraries in to your project?

Hi @SuGlider, I there any official documentation on how to include existing esp32 library in to your project?

No.... not that I have knowledge, at least.

Wow tanks you very much!
I will try as soon as i can.


[ECS] Implement JsonFileJournal and use it as SQLiteJournal replacement

Fixes #3183

By the way - this implementation is rather slow and disk-intensive as it reads and rewrites the journal file on each modification (i.e. each call to write() or clean()).
I could probably refactor this to do read/write only once and keep the file opened/locked for the whole duration of the process and keep the data in memory at that time. But I'm just not sure which one is the higher priority: a) overall speed vs b) journal file availability to any other processes while ECS is running. Current implementation favours the latter

Thanks for the PR :+1:
I've allowed the CI to give the feedback. It must pass before review

Still working on the PHPStan issues. But there are some that I don't quite understand:

"empty($dependencies[\Nette\Caching\Cache::TAGS])" is forbidden to use - why? a) I've copied this one from Nette; b) what's wrong with checking if array key is empty (either undefined or contains an empty array)? What am I supposed to use instead then?

@TomasVotruba I have fixed PHPStan issues and rebased on top of latest main branch - hopefully that solves the PHPUnit problems as they were happening way outside of ECS scope and I can't seem to run the full suite locally (phpunit dies after a while with "include() failed - too many open files").
Please allow the checks to run once again.

@mkilmanas applied allow check

Thanks. However I just realized that now it has logical issues, so there will be another update soon

Hopefully this is it.
Though I would like someone to dig through the code to verify it. Ironically, while trying to minimize the cognitive complexity of one class it has now grown into quite a few classes, and I'm not so sure if that makes it easier to understand what's going on.

I'm wondering, if there is some better and simpler solution. Possibly without nette/cache? All we need to save hash for config and one category.

I'm wondering, if there is some better and simpler solution. Possibly without nette/cache? All we need to save hash for config and one category.

I'm wondering, if there is some better and simpler solution. Possibly without nette/cache? All we need to save hash for config and one category.

So you're thinking a file like this would be enough of a "cache"?
{
    "src/Foo.php": "db940ebadadb9d64a8c02718749fd2c5",
    "src/Controller/BarController.php": "66f8401f426b3cedc450b32e9edc50eb",
    ...
}

What are the tags currently used for anyway? Aren't you interested only if a) the file ins question; b) the config file has changed since last run?

@TomasVotruba - any views/suggestions on how we could proceed from here?
I tend to agree that this solution looks like a bit of an overkill, but I would like to know the expectations for acceptable approach and a deeper understanding on the use-case of the caching here.

Hi, I'm sorry I missed the notification here. I'm looking into this now...

So you're thinking a file like this would be enough of a "cache"?

Yes, I think that's what is used here.
The tags are used only to invalidate all file cache if config has changed.

Thank you! I'll see what I can do about symplifing it and possibly remove nette/caching and use your bare implementatoin.

I'm trying to build on your work and make it create our custom cache classes - with 0-dependency on external frameworks.: https://github.com/symplify/symplify/pull/3284/files

Great - whichever way makes it work is great : 👍 😄


copy_packages doesn't work with symlink in install path

The output of npm -g -p ll has elements like:
/Users/alexr/.nvm/v0.6.14/lib/node_modules/npm/node_modules/which:which@1.0.5:/Volumes/Data/Users/alexr/.nvm/v0.6.14/lib/node_modules/npm/node_modules/which
Note that /Users is a symlink to /Volumes/Data/Users. The grep inside the expression for INSTALLS fails to match.

@ohmantics/@MethodGrab: Please check the latest version of nvm - npm link-ed packages should now work, which should fix this issue.


Fix definition for bg and fg types

Fixes #335 for clarity.

@diego-c PR has been merged here https://github.com/embark-framework/neo-blessed/pull/2


Coverage not picking up all source files even with nyc-arg --all flag

@isaacs Related to https://github.com/tapjs/node-tap/issues/615
When using tap with nyc-arg --all, the coverage report should include all source files. However, it still includes only the source files that tests have touched, which is the default behavior in nyc.
I've created a minimal reproduction here – https://github.com/paambaati/tap-coverage-repro#readme

Quick update – after some digging, I've found that this PR (see https://github.com/paambaati/tap-coverage-repro/pull/1/files) fixes this issue.
tl;dr of the fix
This isn't a tap issue, but an nyc issue. nyc does not know how to parse TypeScript files, so the key is to extend the configuration from @istanbuljs/nyc-config-typescript – see https://github.com/istanbuljs/nyc#typescript-projects
However, including the --extends configuration under nyc-arg in .taprc isn't working though.
# .taprc
nyc-arg:
  - --extends='@istanbuljs/nyc-config-typescript'

Leaving this issue open so the above issue can be tracked.

See also: #807


Fix typos & review translation

The translation need re-review !

@3imed-jaberi @Aissaoui-Ahmed Need your reviews

@Aissaoui-Ahmed DONE!


Edition2 Review: Ch04 CRD

Chapter 2 suggested revisions:

Exception handling 'line' to '{field}'
Add pip upgrade and cache purge to 'install_packages.sh' - fixes hung install in cloud shell
add python3 shebang, PEP8 consistent tab indents and return format (falls under issue #133)
Add 'Year:string' to flights_schema, df06.py - couldn't track where this variable was inserted, needed for pipeline to work

thanks, Colin!  Could you fix the conflict in df07.py and sign the CLA?


[CodeGenerator:] Lazy default instantiation for IoC

You can use Entitas to manage your dependencies, e.g.
[Game]
public class MyService {
    // ...
}

This will generate a MyServiceComponent and you can do
game.SetMyService(new MyService());

var service = game.myService.value;

which is similar to wiring up your context like in other IoC frameworks.
This is great for decoupling, mocking and testing. This also works for interfaces
[Game]
public class IService {
    // ...
}

Suggestion
Add a convention or an Attribute to define the default value, so we don't have to set all dependencies ourselves. For unit testing we can still set mock services.
This means there will be no manual setup for us to do and we can write the following at any point of time and get a valid instance
// Will lazily instantiate a default instance if not set before
var service = game.myService.value;

What about services that will be used on multiple pools but needs to have only one instance?

You would wire up this instance to all contexts in the beginning and therefore the lazy instantiation wouldn't kick in

I connect entitas to zenject and it work like a charm. Only SceneContext on scene before you hit play xD, and all dependencies in right place. Love it.

The wave of closing issues doesn't stop here... Will close, focusing on more important features for now.


[FEATURE] - ADD OPTIONAL CERTIFICATE MANIFEST CREATION

ADD OPTIONAL CERTIFICATE CREATION WITH TERRAFORM MODULE
IN ADDITION TO THE HELM CHART WE HAVE TO APPLY TWO CERTIFICATE MANIFESTS:

[x] TEST TERRAFORM MOUDLES kubectl_manifest AND kubectl_path_documents - CHECK EXAMPLES FOR MODULE kubectl_manifest / kubectl_path_documents TO GET FAMILIAR WITH CREATING K8S MANIFEST W/ TERRAFORM
[x] ADD BRANCH WITH feaure/issue-11/ PREFIX (SEE WORKFLOWS IN THIS REPO)
[x] ADD CERT FOR CONSOLE AND API (BEST WOULD BE ONE DEFINITION WITH 2 RUNS - DONT REPEAT OURSELFS MANIFEST STRUCTURE IS THE SAME)
[x] USE VARIABLES INSIDE MANIFEST (SEE EXAMPLE FLUX LINK - TAKE CARE ITS PART OF A HELM CHART RENDERING, ITS SIMILAR BUT NOT 100% THE MANIFEST FORM - SEE EXAMPLE BELOW FOR REAL MAIFEST)
[x] ADD CONDITION FOR CREATION OF CERTIFICATE LIKE create_cert
[x] REUSE VARIABLES FROM HELM DEPLOYMENT (INGRESS, UNUSED ISSUER NAME)

REFERENCE:
FLUX
DOCS
# EXAMPLE RENDERED/EXISTING MANIFEST

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name:  {{ var.name }}
  namespace: {{ var.namespace  }}
spec:
  commonName: {{ var.name + var.domain  }}
  dnsNames:
    - {{ var.name + var.domain  }}
  issuerRef:
    kind: ClusterIssuer
    name: {{ var.nameClusterIssuer  }}
  secretName: {{ varSecretName  }}

tested - readme updated.


[FLINK-25223][connectors/elasticsearch] Disable Elasticsearch 7 Testcontainer tests due to frequent CI failures

What is the purpose of the change
This PR is a quick fix to disable the tests using Elasticsearch 7 Testcontainers because they are failing frequently in the CI.
Further investigation and a real fix of the problem remains to be done.

Shouldn't they use the junit5 Disabled annotation since ElasticsearchSinkBaseITCase uses junit5?

You're right, didn't take a closer look at first. Fixed it now


Suggestions for restructuring

Here are some suggestions to make the code better.
Move core to top-level
Currently, it is organized as:
self-hosting-101
├── self_hosting
│   ├── __init__.py
│   ├── core
│   │   ├── ...
│   └── project.py
└── tasks.yml

My suggestion is to make it this:
self-hosting-101
├── core
│   ├── ...
└── selfhosting.py
└── tasks.yml

Only the two files selfhosting.py and tasks.yml are related to this project and everything else is generic and will be part of core.
If core becomes a new repository or a python package, the structure of self-hosting-101 will stay the same except losing core.
Remove global state
Now that we have an App, make tasks and valiators part of the app rather than keeping them global.
Validator API
The concept of site is not generic enough and I think that should go away.
Also, expecting every Validator to have a title field is not a good API. I think we can use str(validator) to get the title of it.
class check_webpage_content(Validator):
    def __init__(self, url, expected_text):
        self.url = url
        self.expected_text = expected_text

   def __str__(self):
       return f"Check webpage content: {self.url}"

    def validate(self):
        content = requests.get(self.url).text
        if self.expected_text not in content:
            message = f'Text "{self.expected_text}"\nis expected in the web page {self.url},\nbut it is not found.'
            raise ValidationError(message)

I've also replaced the CheckFailed with ValiadtionError.
The do_validate has been renamed to validate, the original validate in that class need to get a new name.
The implementation of the check_webpage_content in Rajdhani was aware of the base_url, which is not possible if we want to be generic. That means we need to specify the entire URL in tasks.yml. Let's see how that task can be specified.
- check_webpage_content:
      url: "{{ config.base_url }}/search"
      expected_text: "
Search Trains
"

We may have to support some kind of Jinja expressions in the tasks.yml, similar how Ansible works.
Core Validators
Add some core validators. These validators will be available for every app and they need not be added explicitly.
Add app.run
Add a run method to the App that would parse the command-line args, does the initialization and start the webserver serving the flask app.

url: "{{ config.base_url }}/search"

This would change on a per-app basis rather than the configuration.
The learner app would be needed to determine the exact base URL, and there would be multiple during runtime.
Also, I don't think we should make the creator think in terms of URLs that change deployment-to-deployment.
Validators (once created) should provide the right level of abstraction as per the context. For example for self-hosting, the abstractions should let the creator check for "does this package exist?" or "is this application deployed?".
For webapps, for which check_webpage_content is ideal should let the creators think in terms of "does this endpoint serve the correct data?". Computing the exact URLs should be the responsibility of validators.

Fair, but what is the right level of abstraction?

I think one at the level of the concepts being taught, without being too specific.
Like, if a creator want to teach webapps with a project about X, it should be at the level that it can generalize across different X. For rajdhani for example, the right level of abstraction for checks would be to "check website content", "check creation", "check updation", "check deletion".
For a linux/infra course, that could be at the level of packages/files/services that can be used for self-hosting as well as deployment of other apps.
For a course on containers relying on docker, that would be at the level of docker.

How about this?
Support adding config to the tasks.yml and pass the config to all the validators.  The config support python string substitution and the variable name will be available.
config:
    base_url: https://{name}.rajdhani.pipal.in/
    domain: {name}.selfhosting.pipal.in

This would support all the cases that you mentioned without adding too much complexity. What do you think @nikochiko?

Agreed! Seems like a good approach.
How about renaming tasks.yml to treadmill.yml now that we have more than just the tasks there?

keep it as tasks.yml for now. We'll get back to the name later.


Feature Request: Shared configuration, cross-solution

It would be great if there was a way to define the preferred StyleCop configuration (with stylecop.json and perhaps an accompanying ruleset file) and have it applied to every solution of an organization.
The model I'm thinking of is how ESLint works in the nodeJS world. You can define your code style preferences and package them as an npm package. Anyone can follow those rules by installing that package.
Perhaps something similar can be implemented with NuGet?
Looking into the csproj format, I see two separate moving parts:

CodeAnalysisRuleSet, which specifies the custom rule set file
stylecop.json, which I understand it is expected to be at the root of the project level.

In the ideal situation, it should be possible to point both these two elements to a NuGet package containing the common organization-wide ruleset and stylecop.json file.

Shared configurations are already possible. Approaches include:
Use Directory.Build.props for applying configurations to projects in subdirectories
https://github.com/tunnelvisionlabs/MouseFastScroll/blob/5644aeb0115dad820c78ea4446dd540ee57fbfe1/Directory.Build.props#L35-L45
Roll-your-own NuGet package which configures analyzers

Declares a dependency on analyzer packages
Configures the rule set for projects
Includes and configures stylecop.json for projects

Example: https://github.com/mdmsua/csharp-styleguide

Thanks for such a fast response! I  need to spend some time studying these approaches as I'm not familiar with props files.

It worked great. I'll try to make some time to write a guide. Perhaps I'll make a PR to have it as part of the documentation of this project.

I created a PR here https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/2644/files

Thank you for the explanation, you have saved me a lot of time @sharwell . But I am facing a problem with including a default .editorconfig in a nuget package:
I tried  to add this line  in Directory.Build.props  the same way the stylecop.json is added
    <AdditionalFiles Include="$(MSBuildThisFileDirectory).editorconfig" Link=".editorconfig" />
I noticed that a reference to the file is added to the project as it appears in the solution explorer but when i click on it, it won't  open  so I tried to navigate to its containing folder and it is not there. But when i copy it to the package directory C:\Users[username].nuget\packages[package_name][verion]\build it works. Is this a bug or i am doing something wrong.

But I am facing a problem with including a default .editorconfig in a nuget package

This is not currently supported. .editorconfig is a filesystem-based specification and must be placed in a specific location relative to source files or the IDE will not be able to locate it.

Does this feature related to nuget packaging or Roslyn?

It's a Roslyn issue/limitation.

but it works for .net standard or .net core projects ? Do i have to lower the version of StyleCop or what ?

I'm not sure what the requirements are here. This seems like a question for the NuGet team since it depends on how all the individual packages were constructed, deployed, and consumed.


Cannot convert value of type 'Data' to expected argument type 'Data'

I'm converting my Swift 2.x code to Swift 3.x. I came across this error
Please help

This question would be better suited for StackOverflow.

Have you solved the issue? I'm having exactly the same problem.

@YuriAR Yes

How did you do it?

Just use the correct pods

What do you mean? I've just did a fresh pod install with exactly the same pods as the project.

Then, 'm sorry, I can't help any further


"E_IAP_NOT_AVAILABLE" when calling initConnection on react-native-iap

I am building a mobile app (React Native) that requires subscriptions to use. I will be using Apple/Google pay on the respective platforms. I would like to request subscriptions with the react-native-iap library for React Native
I get the error "E_IAP_NOT_AVAILABLE" when calling the initConnection method from the react-native-iap library. I get this on both iOS and Android

My setup: expo@46 react@18 <EMAIL_ADDRESS><EMAIL_ADDRESS>I have tried downgrading react-native-iap to versions 8.0.1 and 7.0.3 (and reinstalling modules) with the same result.
I can't seem to find any questions similar to this issue. Any ideas would be appreciated

For Android, are you running on the Emulator? (It only works on physical devices).
For Ios, what device/iOS version are you testing with? What Storekit mode are you using?

I am testing on physical devices. I am using an iPhone 13 on iOS 15 and Samsung S22 on android 12. I am not using StoreKit. I am going to create subscriptions to the ones I created on AppStore Connect. I can't use any of the methods though because initConnection throws that exception

@babydough The thing that comes to mind is that you might be using setup({storekitMode: 'STOREKIT2_MODE'}) on a device with older iOS. Another option is that IAP purchases are not available on those devices. Are you able to purchase on other apps?

and on android it throws this error when calling clearProductsIOS

That makes sense. Thank you @LorienHW for your help

@LorienHW I just did what you said and logged those values. RNIapIos was null and isStorekit2Avaiable() returned false. This is on the latest release. Also note this error happens on Android as well. Do you think this could be an issue with Expo Go or something? I'm not very familiar with native modules or how they interact with Expo

yeah, so for me RNIapIos is defined, so it never checks isStorekit2Avaiable(). i do think its likely that this is somehow related to Expo, however i have never used Expo so i dont know really what it would be. but it kind of seems like the native module has maybe not been built in

If you are using expo, take a look at: https://stackoverflow.com/a/73159706/570612

Is there any way to get around the error if you are using expo and don't want to build the project every-time?

Just so everyone is aware, I ended up switching to RevenueCat and now use the  react-native-purchases library. It is true that I have to build my app every time I want to test a change, which definitely is annoying.
@anishamalde I usually have to comment out any code before I test locally on both libraries. It won't work with Expo Go. At least the code is pretty straight forward once you have everything setup

@LorienHW @domuen @andresesfm  i used react-native-iap -12.7.2 and i got similar error and got RNIapIos is null and isStorekit2Availabel() is false ...what is the solutions ? please help Sir...

Could be a problem with pod install?

@iasreact1 did you fill up the Agreements, Tax, and Banking section? It might be the problem. Remember that it takes till 24hs to be accepted.

this worked for me : https://github.com/dooboolab-community/react-native-iap/issues/1404#issuecomment-1794639457

If you are using expo, take a look at: https://stackoverflow.com/a/73159706/570612

yup, expo go won't work. thanks, expo development (native) build is required. thanks

Could be a problem with pod install?

Yes, in my case, I just re-run 'pod install' and make sure the output contains "Installing RNIap", and the error is gone.

SOLVED
im adding this in my initConnection :
RNIap.purchaseUpdatedListener(purchase => {
RNIap.acknowledgePurchaseAndroid(purchase.purchaseToken);
});
fixed when i add a condition :
if (Platform.OS === 'android') {
RNIap.purchaseUpdatedListener(purchase => {
RNIap.acknowledgePurchaseAndroid(purchase.purchaseToken);
});
}

I'm using an iOS emulator with iPhone 14 and iOS 17.5 but still encountering the E_IAP_NOT_AVAILABLE error.

I'm using an iOS emulator with iPhone 14 and iOS 17.5 but still encountering the E_IAP_NOT_AVAILABLE error.


Performance on Google Pixel 8 Pro

Plugin Version or Commit ID
.15
Unity Version
2022.3.34f1
Your Host OS
Windows
Target Platform
Android
Description
Are there recommendations for improving performance on a phone? I'm seeing significant lag on a recent Pixel. Thanks for any advice!
Code to Reproduce the issue
Build and run on an Android phone
Additional Context
No response

Performance in .14 seems far better for landmark tracking if that helps.

Since I'm not sure what you're referring to, could you please clarify a few things?

Which comparisons are you making? (Scene names might have changed between v0.14.4 and v0.15.0, so please provide the exact names for each version.)
What exactly do you mean by 'performance'? A comparison video would make it easier to understand.

I assume that the landmark might be displayed for an image that appeared a few frames earlier and that the number of frames (= lag) has increased. How much delay are you experiencing?

Does switching the running mode to VIDEO (from LIVE_STREAM) improve the situation?

This could reduce the lag, though it may lower FPS.

Maybe it's related to https://github.com/homuler/MediaPipeUnityPlugin/issues/1238#issuecomment-2335015675

RunningMode.sync or RunningMode.Async makes little difference in FPS


OpenXR: The sky does not redraw correctly in the right eye if SSR is enabled

Godot version
v4.0.beta.custom_build [91713ced8]
System information
Fedora 37, SteamVR beta 1.25.3
Issue description
The sky does not update correctly in the right eye if screen space reflections are enabled in OpenXR, creating artifacts and ghosting.
The left eye looks normal.

Steps to reproduce

Enable SSR in a VR project
Look at the sky

Minimal reproduction project
openxr_sky_ssr.zip

Related: #69843, #69000


[OTHER]Want to upadte feedback form with good css and custome message after form submit

What would you like to share or ask?

Checklist

[X] I have checked the existing issues.
[X] I have read the Code Of Conduct
[X] The changes don't break the code
[X] Please attach the screenshots and video of the development work once it is done

I really like your application  and want to work on your project ,please assign this issue to me under gssoc-ext 2024


Enforce -mtune=core2 and -mtune=yonah on macOS

I've used the same cpu which is used by Rust: core2 for x86_64[1] and yonah for i686[2]. I also used mtine instead of mcpu because it was deprecated at gcc since version 5[3].
It closes https://github.com/thepowersgang/mrustc/issues/214
I also added missed i686-apple-darwin target.
Footnotes:
[1]  https://github.com/rust-lang/rust/blob/1.54.0/compiler/rustc_target/src/spec/x86_64_apple_darwin.rs
[2]  https://github.com/rust-lang/rust/blob/1.54.0/compiler/rustc_target/src/spec/i686_apple_darwin.rs
[3]  https://github.com/gcc-mirror/gcc/commit/9d913bbf3fc996874649168d7d144a642012ac9b

-mtune merely optimizes for better performance on a specific cpu while still allowing it to run on older systems, this means it doesn't enable target features supported by the specified cpu like xchg16b support. You should probably use -march instead.

@bjorn3 very good catch. Let me fix it.


Modify the header and footer background in the flat theme

Hi,
Thanks for your work on this plugin.
I would like to be able to change the background of the header and the footer in the flat theme (or event the default theme).
I don't think there is a way to do this ?
Thanks.

If you need to make a change in the theme, just copy the given golang theme file (e.g. flat.go) file in your Golang project and follow these instructions


[DO NOT MANUAL MERGE] Release Qualification

Trigger release qualification jobs
none

@silverdev: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-e2e-rbac-no_auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth-default

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@silverdev: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-e2e-rbac-no_auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth-default

prow/daily-e2e-rbac-auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@silverdev: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-e2e-rbac-no_auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth-default

prow/daily-e2e-rbac-auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth

prow/daily-e2e-rbac-auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth-default

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@silverdev: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-e2e-rbac-no_auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth-default

prow/daily-e2e-rbac-auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth

prow/daily-e2e-rbac-auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth-default

prow/daily-e2e-rbac-no_auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@silverdev: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-e2e-rbac-no_auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth-default

prow/daily-e2e-rbac-auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth

prow/daily-e2e-rbac-auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth-default

prow/daily-e2e-rbac-no_auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth

prow/daily-e2e-cluster_wide-auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-cluster_wide-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@silverdev: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/daily-e2e-rbac-no_auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth-default

prow/daily-e2e-rbac-auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth

prow/daily-e2e-rbac-auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-auth-default

prow/daily-e2e-rbac-no_auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-rbac-no_auth

prow/daily-e2e-cluster_wide-auth.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-cluster_wide-auth

prow/daily-e2e-cluster_wide-auth-default.sh
a8eb9c59a3c3162db94ce3901ffbf1c9f68a71d0
link
/test daily-e2e-cluster_wide-auth-default

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


CDN? NPM?

First off, amazing fix :) Edge still doesn't support details/summary in 2017, so this shim is still incredibly useful.
Is this library available on a CDN or on NPM? Right now I'm using http://rawgit.com/ but it would be nice to have a package on NPM that can be used with webpack.  One upside with NPM is immediate CDN access via https://unpkg.com/

Thanks for reminding me Edge remains less than cutting.  We were just discussing whether we still needed to use this shim.  Clearly we do.
I have not yet submitted this to any CDN or package manager, but I'd be happy to look into it.
I'll update here if I get that set up.

http://caniuse.com/details/embed/ 83.31% usage of browsers that do support Details/Summary so it may not be important to support Edge / IE.  In any case, thanks in advance for looking into this!

I added this to npmjs.org at https://www.npmjs.com/package/ok-details


[Features] Support MariaDB Monitoring and Backup/Restore

This is a follow-up of apecloud/kubeblocks#5381 , which should:

[ ] support backup and restore a cluster
[ ] support monitoring (metrics collection and dashboard)

Kubernetes: v1.23.8+k3s1
KubeBlocks: 0.7.2
kbcli: 0.7.2
I'm having a problem with environment variables and paths when I build the actionset for backup, only when copying the backup file to the DATASAFED_LOCAL_BACKEND_PATH directory will the backup actually be backed up to the backuprepo, using the DP_BACKUP_DIR doesn't work, Is DATASAFED_LOCAL_BACKEND_PATH the correct path? am I using the playground environment and the csi-hostpath-sc storageclass  problem? @shanshanying

/${DP_BACKUP_DIR}/${DP_BACKUP_NAME}.mbstream   //  ERROR
${DATASAFED_LOCAL_BACKEND_PATH}/${DP_BACKUP_NAME}.mbstream  // When recovering,  can get the corresponding backup file


New Jersey 4/5 updates

Adjusted age to 55+
Updated list of essential workers
Added qualifier for 16+ with intellectual/developmental disabilities
Added more info link to health conditions

[{"key":"global","type":"customStrings","value":{"content":{"c19.eligibility.question/health.are_you_a_person_aged":{"en-us":"Are you a person aged 16+ with intellectual and developmental disabilities?"}}}},{"key":"new_jersey","type":"vaccination","value":{"content":{"phases":[{"id":"current","qualifications":[{"question":"c19.eligibility.question/long_term_care_resident.are","moreInfoText":"c19.eligibility.moreinfo/long_term_care_resident.are.nj.current"},{"question":"c19.eligibility.question/age.55_up"},{"question":"c19.eligibility.question/health","moreInfoText":"c19.eligibility.moreinfo/health.nj.current","moreInfoUrl":"https://covid19.nj.gov/faqs/nj-information/slowing-the-spread/who-is-eligible-for-vaccination-in-new-jersey-who-is-included-in-the-vaccination-phases#direct-link"},{"question":"c19.eligibility.question/essential_worker","moreInfoText":"c19.eligibility.moreinfo/essential_worker.nj.current","moreInfoUrl":"https://covid19.nj.gov/faqs/nj-information/slowing-the-spread/who-is-eligible-for-vaccination-in-new-jersey-who-is-included-in-the-vaccination-phases#direct-link"},{"question":"c19.eligibility.question/housing.are","moreInfoText":"c19.eligibility.moreinfo/housing.are.nj.current"},{"question":"c19.eligibility.question/tribal.are"},{"question":"c19.eligibility.question/health.are_you_an","moreInfoText":"c19.eligibility.moreinfo/health.are_you_an.nj.current","moreInfoUrl":"https://covid19.nj.gov/faqs/nj-information/slowing-the-spread/who-is-eligible-for-vaccination-in-new-jersey-who-is-included-in-the-vaccination-phases#direct-link"}]}]}}},{"key":"new_jersey","type":"strings","value":{"content":{"c19.eligibility.moreinfo/essential_worker.nj.current":{"en-us":"This includes:\n- Childcare workers in licensed and registered settings\n- Clergy\n- Communications, IT, and media workers\n- Educators and staff, including pre-K to 12 and higher education\n- Eldercare and support workers\n- Elections personnel\n- First responders\n- Healthcare workers\n- Hospitality workers\n- Individuals experiencing homelessness and those living in shelters\n- Judicial system workers\n- Laundry services workers\n- Librarians and library support staff\n- Long-term care and high-risk congregate care facility residents and staff\n- Medical supply chain employees\n- Members of tribal communities\n- Migrant farm workers\n- Postal and shipping service workers\n- Public safety workers\n- Real estate, building, and home services workers\n- Retail financial institution workers\n- Sanitation workers\n- Social service workers and support staff\n- Transportation workers\n- Utilities workers\n- Warehousing and logistics workers","ko-kr":null,"vi-vn":null,"zh-cn":null,"es-us":null,"de-de":null,"es-es":null,"fi-fi":null,"fr-fr":null,"he-il":null,"it-it":null,"ja-jp":null,"pt-pt":null,"sv-se":null,"th-th":null},"c19.eligibility.moreinfo/health.are_you_an.nj.current":{"en-us":"Developmental disabilities are a group of conditions due to an impairment in physical, learning, language, or behavior areas."}}}}]


Enable avatar for List Checkbox Item

Hi.
Is it possible to combine the "avatar" feature of ListItem in the ListCheckbox? (like shown in the sample mockup below)

I've checked the ListCheckbox's options and didn't found anything related to do so.  What could be the proper way to a accomplish this?
Some of my considerations:

Use ListItem with a checkbox added to rightActions, and handle the checkbox state using ListItems's onClick event (to ensure that the user could click anywhere in the item to check it, not only by selecting the action)

Implement the rightIcon option in ListCheckbox. By doing so, it could be solved by using rightIcon={<Avatar><img src={url}/></Avatar>}.

Thanks :)

I successfully implemented this as described in item 1., but I still wondering if this is the best practice.

List Items generated using .map()
Generates the array of <ListItem /> components, adding a rightAction <Checkbox /> and binding the event to handle the state both on Checkbox.onChange and ListItem.onClick
  return this.state.checkData.map((item) => {
            return (
                <ListItem key={item.ContentSubscriber.userId}
                    avatar={item.ContentSubscriber.User.profilePic}
                    caption={item.ContentSubscriber.User.name}
                    legend={item.ContentSubscriber.User.email}
                    // selectable={true}
                    rightActions={
                        [<Checkbox
                        checked={item.Checked}
                        disabled={item.blockChange}
                        onChange={this.onItemClick.bind(this,item.ContentSubscriber.userId)} />]
                    }
                    onClick={this.onItemClick.bind(this,item.ContentSubscriber.userId)}
                    disabled={item.blockChange}

                    >

                </ListItem>
      )
});

onItemClick event
onItemClick(id) {
          var new_state = this.state.checkData.map(function (item) {
            if (item.blockChange){
                return item;
            }
            var n_data = {
                ContentSubscriber: item.ContentSubscriber,
                Checked: (item.ContentSubscriber.userId == id? !item.Checked: item.Checked)
            };
            return n_data;

        });

        this.setState({ checkData: new_state
            });
}

I think this can be closed then. You should be able to pass anything via composition :)


Spinner indicator while loading and when waiting for page updates for "Don't ask again" across all DevHUB components

Is your feature request related to a problem? Please describe.
Through https://github.com/NEAR-DevHub/neardevhub-bos/pull/687 we already improved the UX for activity posts. Both the like and post buttons now have spinning indicators as long as the transaction goes on, and until the page contents are refreshed
Describe the solution you'd like
I would like to see the same UX across whole DevHub as it is now with Activity post. I would like it for: communities, discussions, blogs, the new proposals feature. I would also like to have developer documentations, with clear guidelines on how to create user friendly interactions when the "Don't ask again" feature is enabled. It is also needed for wallets confirming the transaction in a separate window, like Meteor wallet.
Describe alternatives you've considered
We know that this solution creates another issue for when transactions are confirmed manually. In the case where the user cancels sending the transaction, the spinners will still spin. To solve this, a callback method is needed in the VM like described here: https://github.com/NearSocial/VM/issues/105

See the first video of creating a discussion in the Pull request, and note that there's an issue on refreshing the feed ( up to 5 second delay ).


Handle upgrades for globalnet config moved to configMap

As part of issue#299, globalnet config params shown below are moved to configMap (submariner-globalnet-info) on the Broker cluster.
So far this information was stored as part of broker-info.subm file and was referred to during 'subctl join' operation.
Once issue#299 is addressed, subctl will refer to configMap instead of broker-info.subm file.
This could create issues when users try to execute the latest subctl on existing clusters.
This PR is to support seamless upgrade from subctl-0.4 to subctl-0.5
Params:
GlobalnetStatus
globalnet-cidr-range
globalnet-cluster-size
globalCIDR allocations of connected clusters

@sridhargaddam @vthapar as discussed in the team call, please document this as part of the v0.5 release notes: https://github.com/submariner-io/submariner-website/issues/193


max width for content page

Hello, it's me again. Happy holidays!
I'm looking to add a parameter contentMaxWidth so that I can tweak the max width of the content. It's currently hard-coded as 960px, which is a little too wide for my liking.
I haven't tested this PR (not really sure how to test...).

Well, Thanks for the pr!
If you want to test your feature, just run npm start, it will run the example.
And I noticed the content max-width only affects the main content width, which means it only affects the one column of there columns.
is this your intent?

I've changed the max content width to apply the right two columns, with a default 1440 size.

I assumed the sidebar on the right was fixed width, so changing the middle column would suffice. This works too!

If you want to test your feature, just run npm start, it will run the example.

Thanks, good to know!


Do not use a shared static scratch buffer for JSON token parsing. Instead use stack space.

Fixes https://github.com/Azure/azure-sdk-for-c/issues/1079
cc @hihigupt

ping @JeffreyRichter, @RickWinter, @vhvb1989, @antkmsft - I would appreciate a review and feedback or approval so I can merge this.


Add important dates feature

This PR adds #84. Example and sample output:
from __future__ import print_function
import mlbgame

important_dates = mlbgame.important_dates(2017)
print(important_dates)

Opening Day 2017: Sunday, April 02.
Last day of the 1st half: Sunday, July 09.
2017 All Star Game: Tuesday, July 11.
First day of the 2nd half: Friday, July 14.
Last day of the 2017 season: Sunday, October 01.
2017 Playoffs start: Tuesday, October 03.
2017 Playoffs end: Wednesday, November 01.

@trevor-viljoen Great work! Could you please fix the pep8 issues as described in the codeclimate issue sbefore I merge?


Add support for vcpkg

Looks like you have mixed the pipeline generation changes with the vcpkg work. It is probably best to keep those changes separate.

Looks like the pipeline generation is already part of https://github.com/Azure/azure-sdk-tools/pull/1026.

Updated PR to remove the pipeline generation commit


Does source-controller work with Google Workload Identity?

Hello everyone,
I constantly receive the issue below when trying to pull helm charts from Google's Artifact Registry:
chart pull error: failed to download chart for remote reference: failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden

However, when I run wget --header "Metadata-Flavor: Google" http://<IP_ADDRESS>/computeMetadata/v1/instance/service-accounts/default/email -qO - I can see that the service account is properly attached to the source-controller pod.
Any idea on what could be the issue?

Forgot to send provider to gcp on the HelmRepository...


RFC: Better websockets

Add enhanced websocket support, making websocket handling a lot easier and feel more "Starlite".
The main features are two new classes:

The websocket_listener: A special websocket handler, listening and sending incoming data in a loop
WebsocketListener: An abstract base class building upon websocket_listener and allowing to define things in a more OOP way

Examples
from starlite.handlers.websocket_handlers import websocket_listener

@websocket_listener("/")
async def handler(data: str) -> str:
  return data

this is equivalent to:
from starlite import websocket, WebSocket
from starlite.exceptions import WebSocketDisconnect

@websocket("/")
async def handler(socket: WebSocket) -> str:
  await socket.accept()
  while True:
    try:
      data = await socket.receive_text()
      await socket.send_text(data)
    except WebSocketDisconnect:
      break

It allows to send and receive either bytes, text or json, all configure by the type annotations of the handler function:
from starlite.handlers.websocket_handlers import websocket_listener

@websocket_listener("/")
async def handler(data: list[str]) -> dict[str, str]:
  return {"message": data}

Dependencies
Dependencies are handled on the route handler level, and passed into the listener function, so this works as expected:
from starlite.di import Provide
from starlite.handlers.websocket_handlers import websocket_listener

@websocket_listener("/", dependencies={"foo": Provide(lambda: "foo")})
async def handler(data: str, foo: str) -> str:
  return data

And since this uses the regular signature/kwargs modelling, we can still inject things like socket or state:
from starlite.handlers.websocket_handlers import websocket_listener
from starlite.datastructures import State

@websocket_listener("/")
async def handler(data: str, socket: WebSocket, state: State) -> str:
  return data

Handling websockets synchronously
Since we don't need to handle the socket directly anymore, it's possible to use synchronous functions as well and this "just works":
from starlite.handlers.websocket_handlers import websocket_listener

@websocket_listener("/")
def handler(data: str) -> str:
  return data

Class based listeners
The class based listener build upon the websocket_listener, by providing an OOP way to handle websocket events, using synchronous or asynchronous methods as well:
from starlite.handlers.websocket_handlers import WebsocketListener

class MyListener(WebsocketListener):
  path = "/"

  def on_connect(self, socket: WebSocket) -> None:
    print("socket connected")

  def on_receive(self, data: str) -> str:
    return "hello, world!"

  def on_disconnect(self, socket: WebSocket) -> None:
    print("socket disconnected")

Todo
Ideally we want to integrate similar functionalities to route handlers in regards of data (de)serialisation. This is probably best done once #1295 is merged, as it would greatly simplify this.
This is not a blocker though, and from a functionality standpoint this can be released as-is.

i would be start testing this in a few days , really nice.

Hi @provinzkraut , will there be a way with the new websocket to emit to frontend out of the route handle like in flask_socketio (https://flask-socketio.readthedocs.io/en/latest/) ?

Hi @provinzkraut , will there be a way with the new websocket to emit to frontend out of the route handle like in flask_socketio (https://flask-socketio.readthedocs.io/en/latest/) ?

Can you be a bit more specific which of their features you're referring to?
Broadcasting (sending a message to all connected clients) won't be a built-in functionality implemented here, but it's planned. You can look at a very basic implementation of this here: https://github.com/starlite-api/starlite/pull/1378

I rebased this on, and set the target to rename-target. Once that one is merged, this PR can be merged into main.