🐛 [Firestore] Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds

Bug report
Describe the bug
my app is using google_sign_in package to login then after login it will have to access firestore document.
when using android emulator api 33 and some real devices like oppo a 57 after login with google_sign_in nothing happen and then after few minutes waiting and cannot continue the login process, the console will produce something like this:

 error log

W/MessengerIpcClient( 5850): Received response for unknown request: 1
D/TrafficStats( 5850): tagSocket(122) with statsTag=0xffffffff, statsUid=-1
D/TrafficStats( 5850): tagSocket(6) with statsTag=0xffffffff, statsUid=-1
D/TrafficStats( 5850): tagSocket(6) with statsTag=0xffffffff, statsUid=-1
W/System  ( 5850): Ignoring header X-Firebase-Locale because its value was null.
D/FirebaseAuth( 5850): Notifying id token listeners about user ( SDrPaL2xLVcFkwfhWK8UqeLXujw1 ).
D/FirebaseAuth( 5850): Notifying auth state listeners about user ( SDrPaL2xLVcFkwfhWK8UqeLXujw1 ).
D/EGL_emulation( 5850): app_time_stats: avg=124526.28ms min=7373.22ms max=241679.36ms count=2
W/DynamiteModule( 5850): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 5850): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 5850): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
D/nativeloader( 5850): classloader namespace configured for unbundled product apk. library_path=/product/priv-app/PrebuiltGmsCore/lib/x86_64:/product/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/x86_64:/product/lib64:/system/product/lib64
V/NativeCrypto( 5850): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 295 native methods...
W/nikindo.teknika( 5850): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (unsupported, reflection, allowed)
I/ProviderInstaller( 5850): Installed default security provider GmsCore_OpenSSL
D/TrafficStats( 5850): tagSocket(161) with statsTag=0xffffffff, statsUid=-1
W/Firestore( 5850): (24.2.2) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds
W/Firestore( 5850):
W/Firestore( 5850): This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
E/flutter ( 5850): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: [cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
E/flutter ( 5850): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter ( 5850): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
E/flutter ( 5850): <asynchronous suspension>
E/flutter ( 5850): #2      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:367:43)
E/flutter ( 5850): <asynchronous suspension>
E/flutter ( 5850): #3      MethodChannelDocumentReference.get (package:cloud_firestore_platform_interface/src/method_channel/method_channel_document_reference.dart:68:42)
E/flutter ( 5850): <asynchronous suspension>
E/flutter ( 5850): #4      _JsonDocumentReference.get (package:cloud_firestore/src/document_reference.dart:146:7)
E/flutter ( 5850): <asynchronous suspension>
E/flutter ( 5850):
W/Firestore( 5850): (24.2.2) [WatchStream]: (8bf792d) Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}.
W/DynamiteModule( 5850): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 5850): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 5850): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
D/TrafficStats( 5850): tagSocket(150) with statsTag=0xffffffff, statsUid=-1
W/DynamiteModule( 5850): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 5850): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 5850): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.

and for additional information, i have good internet speed, no firewall, no adblock or something that will block the firebase connection.
this bug is also happened few months ago but it fixed then until yesterday this bug is appear again.
Steps to reproduce
Steps to reproduce the behavior:
Just make a simple app that using google_sign_in to access firestore database and run it in android emulator api 33
Expected behavior
When it's normal, the app will just login fine and then it will access firestore database immediately without have to wait
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on Arch Linux 5.19.2-arch1-1, locale en_US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.2)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.17.6
Flutter SDK 3.0.5
teknika 1.0.0+1

dependencies:
- android_id 0.0.7 [flutter]
- carousel_slider 4.1.1 [flutter]
- cloud_firestore 3.4.5 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.5
- device_info_plus 4.1.2 [flutter device_info_plus_platform_interface device_info_plus_macos device_info_plus_linux device_info_plus_web device_info_plus_windows]
- firebase_auth 3.6.4 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.21.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_storage 10.3.6 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_local_notifications 9.8.0+1 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]
- flutter_rating_bar 4.0.1 [flutter]
- font_awesome_flutter 10.1.0 [flutter]
- geolocator 9.0.1 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows]
- google_fonts 3.0.1 [flutter http path_provider crypto]
- google_maps_flutter 2.1.12 [flutter google_maps_flutter_android google_maps_flutter_ios google_maps_flutter_platform_interface]
- google_maps_place_picker_mb 2.0.0-mb.22 [flutter geolocator google_api_headers google_maps_flutter google_maps_webservice http location provider tuple uuid]
- google_sign_in 5.4.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- image_cropper 3.0.0 [flutter image_cropper_platform_interface image_cropper_for_web]
- image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- intl 0.17.0 [clock path]
- onesignal_flutter 3.4.1 [flutter]
- permission_handler 10.0.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface]
- provider 6.0.3 [collection flutter nested]
- share_plus 4.0.10+1 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- smooth_page_indicator 1.0.0+2 [flutter]
- sn_progress_dialog 1.0.8 [flutter]
- sortedmap 0.5.1 [quiver]
- url_launcher 6.1.5 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- webview_flutter 3.0.4 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]

dev dependencies:
- change_app_package_name 1.1.0
- dependency_validator 3.2.2 [args build_config checked_yaml glob io json_annotation logging package_config path pub_semver pubspec_parse yaml]
- flutter_launcher_icons 0.10.0 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_native_splash 2.2.7 [args flutter flutter_web_plugins image js lint meta path universal_io xml yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- archive 3.3.1 [crypto path]
- args 2.3.1
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build_config 1.1.0 [checked_yaml json_annotation path pubspec_parse yaml]
- characters 1.2.0
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 5.7.2 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.8.5 [cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.16.0
- cross_file 0.3.3+1 [js meta]
- crypto 3.0.2 [typed_data]
- dbus 0.7.7 [args ffi meta xml]
- device_info_plus_linux 3.0.0 [device_info_plus_platform_interface file flutter meta]
- device_info_plus_macos 3.0.0 [device_info_plus_platform_interface flutter]
- device_info_plus_platform_interface 3.0.0 [flutter meta plugin_platform_interface]
- device_info_plus_web 3.0.0 [device_info_plus_platform_interface flutter_web_plugins flutter]
- device_info_plus_windows 4.0.0 [device_info_plus_platform_interface ffi flutter win32]
- fake_async 1.3.0 [clock collection]
- ffi 2.0.1
- file 6.1.4 [meta path]
- firebase_auth_platform_interface 6.5.4 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 4.2.4 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 1.7.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.1.14 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.4 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_local_notifications_linux 0.5.1 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories]
- flutter_local_notifications_platform_interface 5.0.0 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.7 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- geolocator_android 4.1.0 [flutter geolocator_platform_interface]
- geolocator_apple 2.2.1 [flutter geolocator_platform_interface]
- geolocator_platform_interface 4.0.6 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.1.6 [flutter flutter_web_plugins geolocator_platform_interface]
- geolocator_windows 0.1.1 [flutter geolocator_platform_interface]
- glob 2.1.0 [async collection file path string_scanner]
- google_api_headers 1.3.0 [flutter package_info_plus]
- google_maps_flutter_android 2.1.10 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface stream_transform]
- google_maps_flutter_ios 2.1.11 [flutter google_maps_flutter_platform_interface stream_transform]
- google_maps_flutter_platform_interface 2.2.2 [collection flutter plugin_platform_interface stream_transform]
- google_maps_webservice 0.0.20-nullsafety.5 [http meta json_annotation]
- google_sign_in_android 6.0.1 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.4.0 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.2.0 [flutter quiver]
- google_sign_in_web 0.10.2 [flutter flutter_web_plugins google_sign_in_platform_interface js]
- http 0.13.5 [async http_parser meta path]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.0 [archive meta xml]
- image_cropper_for_web 1.0.2 [flutter flutter_web_plugins image_cropper_platform_interface js]
- image_cropper_platform_interface 3.0.2 [flutter plugin_platform_interface http]
- image_picker_android 0.8.5+2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.5+6 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface]
- io 1.0.3 [meta path string_scanner]
- js 0.6.4
- json_annotation 4.6.0 [meta]
- lint 1.10.0
- location 4.4.0 [flutter location_platform_interface location_web]
- location_platform_interface 2.3.0 [flutter meta plugin_platform_interface]
- location_web 3.1.1 [flutter flutter_web_plugins http_parser js location_platform_interface meta]
- logging 1.0.2
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- mime 1.0.2
- nested 1.0.0 [flutter]
- package_config 2.1.0 [path]
- package_info_plus 1.4.3+1 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.5 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 2.0.0 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.1
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- path_provider_android 2.0.19 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.11 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.2 [ffi flutter path path_provider_platform_interface win32]
- permission_handler_android 10.0.0 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.0.4 [flutter permission_handler_platform_interface]
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.1.0 [flutter permission_handler_platform_interface]
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- process 4.2.4 [file path platform]
- pub_semver 2.1.1 [collection meta]
- pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.1.0 [matcher]
- share_plus_linux 3.0.0 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 3.0.1 [share_plus_platform_interface flutter]
- share_plus_platform_interface 3.0.3 [flutter meta mime plugin_platform_interface]
- share_plus_web 3.0.1 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 3.0.1 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_android 2.0.12 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_span 1.8.2 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.8.0 [path]
- tuple 2.0.0 [quiver]
- typed_data 1.3.1 [collection]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher_android 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.0 [flutter plugin_platform_interface]
- url_launcher_web 2.0.13 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- uuid 3.0.6 [crypto]
- vector_math 2.1.2
- webview_flutter_android 2.9.5 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 1.9.2 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 2.9.3 [flutter path webview_flutter_platform_interface]
- win32 2.7.0 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

i'm trying run my app in another computer using android emulator and i get this in console debug:
W/Firestore( 9355): (24.2.2) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds
W/Firestore( 9355):
W/Firestore( 9355): This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
W/Firestore( 9355): (24.2.2) [WatchStream]: (bb44886) Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}.
W/DynamiteModule( 9355): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 9355): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 9355): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
E/flutter ( 9355): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: [cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
E/flutter ( 9355): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter ( 9355): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
E/flutter ( 9355):
E/flutter ( 9355): #2      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:367:43)
E/flutter ( 9355):
E/flutter ( 9355): #3      MethodChannelDocumentReference.get (package:cloud_firestore_platform_interface/src/method_channel/method_channel_document_reference.dart:68:42)
E/flutter ( 9355):
E/flutter ( 9355): #4      _JsonDocumentReference.get (package:cloud_firestore/src/document_reference.dart:146:7)
E/flutter ( 9355):
E/flutter ( 9355):

I just run my app in iOS simulator using the latest release of Firestore sdk from this repo https://github.com/invertase/firestore-ios-sdk-frameworks.git and everything is fine.
Seems like this bug is only happen in android

@noobcoder95
For OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds, please follow-up in https://github.com/firebase/flutterfire/discussions/5546 and check if any of the underlying comments help.
For Unhandled Exception: [cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff., please follow-up in https://github.com/firebase/flutterfire/discussions/5708 and check if any of the underlying comments help.
You also mentioned that you tried this on android emulator api 33 which is Android 13 OS. Can you try it on lesser Android OS version and see if you still get same error / behavior or not ?

@darshankawar after updating the package this bug is fix again. I don't really sure but I think the bug was from firebase_auth package

Good to know the issue is resolved at your end. Closing this based on comment above.

@darshankawar hai there, it seems like this bug is reappear again, now i can't login with firebase, again and again. the log is still the same that I provided a week ago. I don't know what is wrong with firebase, because I don't do anything relate with firebase package but still this bug is reappear again. this so bad because its prevent me to continue my development

please re open this issue and only close when it really solved

Hi! I have the same issue, and I've been involved on this since a month ago, I was working in a Mcincloud to test the code while I fix the error on my PC, but I lose the communication with the remote once and now I need to solve it here. I'm doing a master and I have to finish my final project for the next week. My application is an android kotlin one. I have already uninstalled and installed again the java, android studio, I make exceptions on the windows defender and still not working. I run the app in my friend's windows 11 computer and it works, but on mine is not, and I have the same. I check the internet conection in the emulator and my computer and it seems to be good. Can somebody help me with this, pleasee....

@noobcoder95
If you are sure that the issue is with firebase_auth plugin, then we would need a complete reproducible code sample that triggers the error you are facing.
If not, then, as mentioned earlier, please follow-up in https://github.com/firebase/flutterfire/issues/9387#issuecomment-1221987070

I have the very same issue. Any solution found?

Hello Guys, I'm having the same issue :(

Same issue here

I'm using react  native expo and am running an emulator to android, i have the same issue...

Everyone in thread facing the issue as titled, please follow-up in issues links mentioned in https://github.com/firebase/flutterfire/issues/9387#issuecomment-1221987070
If anybody has exact steps to replicate and narrow down the issue, please provide minimal code sample so that we can address it properly https://github.com/firebase/flutterfire/issues/9387#issuecomment-1236905310

I am getting this issue too with flutter

Facing the same issue. Please fix this issue.

This works fine if I use my physical device and different emulator like bluestacks. Might be related to android studio emulator

I used the same emulator in a Mcincloud, and it works fine. So I’m not pretty sure it can be that.

Everything works fine on a real device but I keep getting this issue using the Android emulator. Any fix in sight?

Facing same issue

As mentioned earlier, https://github.com/firebase/flutterfire/issues/9387#issuecomment-1251846509, please open new issue with all requested details in the issue template so that we can take a look at it.
This is a closed issue, so commenting on it with facing same issue or asking for updates here on resolution may not be answered.

Opened an issue: https://github.com/firebase/flutterfire/issues/9607

This can be handled by temporarily lowering the version of the Android emulator.
I am dealing with this by lowering the version to 31.2.10.
https://stackoverflow.com/a/73584389/17550420


make a backup of current user defaults

Hello. I already changed a lot of user defaults. I would like to save these changes too. Since I don't remember all the settings, that I changed. It would be nice to generate yaml from current user defaults. is it possible to make this by  read option?

I concur this would be a very welcome feature!

This would also make it possible to, for example, save a backup of the 'base' system state/settings, and then make a 'minimal diff' to see what settings I have actually changed since.


App hot reload failure

App hot reload failure

Hot reload is not working, and I changed the name in app.json with the provided advice, but it didn't work.

I solved this issue with Henit(henit-chobisa)!
1. I tried to use Gitpod, and for anyone with the same issue, go to Gitpod.io and make an account! It's a free cloud development environment.

2.

3. After setting up your Gitpod, you will be able to access your app through the browser.

4. Now to set up the Thrust, go to the Thrust repo and copy and paste the Linux version(Henit said Gitpod is using Linux).

5. After installing Thrust, run thrust start ./ to initiate the app with Thrust.
Once Thrust sets up the admin account, go to the port, and you should be able to see your app running in localhost:3000.

I am using MacBook Air with the M1 chip!(macOS Ventura 13.2.1)


dragEvent method is not exposed (vue3)

in this fork of this repo for vue3, dragEvent method from gridLayout component is not exposed to be used in parent component by $ref.
https://github.com/merfais/vue-grid-layout-v3

Has there been any update to this, I'm trying to use the drag from outside example and have worked around the other ref issues except this one?


Mobile issue: No option to set autocorrect = false

I found that in quill editor by default text correction is true. I need to disable it. How can I do that?

@apurvbacancy I'm not aware of such on option being available in Quill at the moment. I'll have a look to fix this issue in the fork that I started. But can't promise a deadline. You can follow updates here. Did some research for it on Stack, there might be options.


Finish adding the default data

Todos

[x] Implement the necessary room classes
[x] Create a populated db with the default data that is loaded on the first load of the app
[x] Test the room classes

closed with #21


[Bug]: 2.16.0 boot error because of missing files

Describe the bug
During opensearch bootup it's complaining it's missing files for the security analytics plugin:

Doesn't halt booting but it's ugly. Confirmed on both a kubernetes install and local docker image.
To reproduce
Boot a fresh 2.16.0 cluster and look for the error
Expected behavior
No error
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
k8s
local docker desktop
default images
Additional context
No response
Relevant log output
No response

/usr/share/opensearch/plugins/opensearch-security-analytics/
2.16.0
[opensearch@9f878c135158 opensearch-security-analytics]$ ls
commons-csv-1.10.0.jar	commons-lang3-3.14.0.jar  opensearch-security-analytics-<IP_ADDRESS>.jar  plugin-descriptor.properties  plugin-security.policy  security-analytics-commons-1.0.0.jar

2.15.0
[opensearch@2c2c9d882b41 opensearch-security-analytics]$ ls
antlr4-runtime-4.10.1.jar  commons-codec-1.16.1.jar  commons-lang3-3.14.0.jar  cron-utils-9.1.6.jar	  httpclient-4.5.14.jar  httpcore-nio-4.4.16.jar   opensearch-rest-client-2.15.0.jar	       plugin-descriptor.properties
common-utils-<IP_ADDRESS>.jar  commons-csv-1.10.0.jar    commons-logging-1.2.jar   httpasyncclient-4.1.5.jar  httpcore-4.4.16.jar	 kotlin-stdlib-1.6.10.jar  opensearch-security-analytics-<IP_ADDRESS>.jar  plugin-security.policy

Thera are differences:
Present in 2.16.0 but not in 2.15.0:
security-analytics-commons-1.0.0.jar

Present in 2.15.0 but not in 2.16.0:
antlr4-runtime-4.10.1.jar
commons-codec-1.16.1.jar
commons-logging-1.2.jar
cron-utils-9.1.6.jar
httpasyncclient-4.1.5.jar
httpclient-4.5.14.jar
httpcore-4.4.16.jar
httpcore-nio-4.4.16.jar
kotlin-stdlib-1.6.10.jar
opensearch-rest-client-2.15.0.jar
common-utils-<IP_ADDRESS>.jar

Present in Both Versions:
commons-csv-1.10.0.jar
commons-lang3-3.14.0.jar
opensearch-security-analytics-<IP_ADDRESS>.jar (or opensearch-security-analytics-<IP_ADDRESS>.jar in the other)
plugin-descriptor.properties
plugin-security.policy

Summary of Differences:
2.16.0 has one additional file: security-analytics-commons-1.0.0.jar.
2.15.0 contains several additional files related to HTTP clients, common utilities, and Kotlin, which are not present in 2.16.0.


JSSRC - Type recovery / Type hint call linker performance problems

Describe the bug
When importing juice-shop (TS/JS) into Joern the type recovery / type hint call linking takes ages.
To Reproduce

git clone https://github.com/juice-shop/juice-shop
import into Joern
see how long these two passes run while the raw CPG coming from jssrc2cpg and also all other passes are finished quickly.

Additional context
Maybe its a heap memory problem but as the project isn't that large I suspect a general performance problem with the two passes.

Will profile it 👍

Update: I've narrowed it down to RecoverForJavaScriptFile::isField. Will look at optimizing this query or finding a better way to handle this functionality.

@max-leuthaeuser Found that isField was doing linear time searches. This PR reduces the time to finish within 2-3 minutes whereas without the fix it wasn't terminating on my machine.


Fix the handling of alignment for closure structs

ubsan complained that our closure memory accesses were not properly aligned. The previous code wasn't tracking the actual alignof that the target struct wanted.
Due to how we pack the user's closure struct into the memory of ClosureComponent, we can't support arbitrary sizes. But I have at least added some error detection code to check that the user isn't trying to use a struct with wider than usual alignment requirements.
I've nuked the old alignment flag to register_closure because it wasn't working as intended and was somewhat hard to use (none of the example test* programs set it, nor did our renderer).

Failing CI tests -- you are triggering a signed vs unsigned warning on gcc.

Addressed comments.
I wonder why clang wasn't picking up the signed vs. unsigned warning.

All CI tests passing now.

LGTM. I assume you have also run the renderer-side testsuite with these changes in OSL?

Semi-related PS. I did some work over the weekend on fixing the OSX builds on Travis so that they will pass also.

Yes. And the undefined behavior sanitizer is happier about closure access at runtime now.


Improve testing of starknet_simulateTransactions

Tests in crates/starknet-server/tests/test_simulate_transactions.rs were written to have the same coverage as devnet-py the corresponding devnet-py tests. Currently there are TODOs:

Better testing of SKIP_FEE_CHARGE by using a greater than zero max_fee in several tests
Add testing of invoke tx simulation being reverted (could be done by using an invalid max_fee (checked: this leads to a Reverted case that is currently not tested))
- Another test needs replacement of .ge with .gt (basically we would want to assert that using SKIP_VALIDATE actually lowers the estimated fee, but currently it does not have effect, as described in this issue: https://github.com/lambdaclass/starknet_in_rust/issues/1051)

This issue can be addressed separately as it would not merely be enhancement but fix

Hey there! This sounds like a good first issue to work on and try my rust skills! Could I get assigned to it?

@joseSalazar4 you've been assigned

Try adding two more tests:

one which simulates a tx that gets reverted (and asserting that this is what really happened) - find a way to make it revert, there might be some helpful clues in the TODOs
one which tests SKIP_FEE_CHARGE in conditions that haven't yet been tested in the file

If you feel the tests are too similar, then just add one.
In any case, feel free to create at least a draft PR even if you're not yet done (but indicating so). That way we can see exactly what you've done so far and make concrete suggestions.


How to call older posts?

Hi,
Is there a way in which I can call an older post rather than the most recent post from the social feeds?
Thanks,
Emma

it not depends by the social script. Some social feed cannto be pulled before an X data.
Like many RSS give you only a specific qty of feed post.


Question about returned json

Thanks for the job first!
I have a question, you opted for a format of responses which is an array of objects, each being properties named after db fields.
Let me show an example
given a Table Test like this
id   value
1       bon
2       grand
3       petit
Applying <SELECT * FROM  Test> will provide a result like this
[{"id":1,"value":"bon"},{"id":2,"value":"grand"},{"id":3,"value":"petit"}]
I would rather like to have a result formatted this way:
{"columns":["id","value"], "values":[[1,"bon"],[2,"grand"],[3,"petit"]]}
Where do I have to look to make an option to format results according to sqlite3 as today and the option I just show (which is the sql.js way)?
The idea is to make the output of sqlite3 compatible with the one of sql.js...
Thanks for your help

Hi Gilbert,
Sure! To produce the sort of results you're looking for, you could start with something like:
var columns = Object.keys(results[0]);
var values = results.map(function (result) {
  return columns.map(function (key) {
    return result[key];
  });
});

var formattedResults = {
  columns: columns,
  values: values
};

Hope that helps!


Fix rules for chars

This PR addresses several issues regarding char detection.
Issues:

Unicode chars with hexadecimal digits are not allowed.
Unicode and octal chars with 1 or more digits are allowed.

Clojure accepts exactly four hex digits for Unicode
Octals must be between 0 and 377

Octal chars with the digits 8 & 9 were allowed
arbitrary special chars (e.g. \newline) are allowed

Clojure provides a fixed set for special chars

![\n\r\s] is not correct and results in:
https://github.com/nextjournal/clojure-mode/issues/9
Actually, Clojure accepts \n and white spaces when in a form… Which is crazy…
Clojure 1.10.3
user=> \
Syntax error reading source at (REPL:2:1).
EOF while reading character
user=> [\ \a]
[\space \a]
user=> [\
 \a]
[\newline \a]
user=>

resolves https://github.com/nextjournal/clojure-mode/issues/22, resolves https://github.com/nextjournal/clojure-mode/issues/9

@MrEbbinghaus thanks a lot for this!


nixos-rebuild --switch too slow, tracking issue

I'm opening this issue to track some things I've done relating to the continuous slowdown of nixos evaluation performance over time.
My system takes 13 seconds to evaluate (nix-instantiate '<nixpkgs/nixos>' -A system), which is too long!
What I've done
Measurements
commit (release): instantiation time for demo.nix (time nix-instantiate test.nix -A system, number of options (cat $(nix-build --no-out-link nixos/release.nix -A options)/share/doc/nixos/options.json | jq 'keys[]' -r | wc -l), number of modules (nix-instantiate --eval -E 'builtins.length (import nixos/modules/module-list.nix)')
a6caed56607d42b9168c3f1054e7d5913060076f (19.03): 2.74, 7630, 887
37694c8cc0e9ecab60d06f1d9a2fd0073bcc5fa3 (18.09): 2.40, 6937, 831
c8c521f0c03189fd604247e2b2bbe4ab7081968f (18.03): 2.25, 6280, 772
3ba3d8d8cbec36605095d3a30ff6b82902af289c (17.09): 1.62, 5741, 737
2c1838ab99b086dccad930e8dcc504b867149a0c (17.03): 1.22, 5114, 669
52ef8b0d0d66055e799325f0b65d4ecb30f44e49 (16.09): 0.73, 4234, 590
dda40aa8d18c836cecf64742ace96e14662afdc6 (16.03): 0.65, 3624, 535
cc7c26173149348ba43f0799fac3f3823a2d21fc (15.09): 0.62, 3131, 493
770822493e3962d795739fafd522e771bfe06e3d (14.12): 0.60, 2451, 407
module count has increased by 118%
option count has increased by 211%
average option count per module has increased from 6.0 to 8.6
time has increased by 356%
Turning off the options manual generation
I was hoping that the reason for the regression is due to all options being evaluated strictly, so here's my branch (probably could've just turned off the manual but oh well). Results: Decreases evaluation time by a constant of ~1 second, so my system now only takes 12 seconds.. Not good enough. See branch for a bit more info.
Alternatively, earlier, offloading option generation to build time
Branch here. Results: Mostly failed, recursive Nix doesn't work very well and it brings a lot of limitations with it. See branch for a bit more info.
Theory / Conclusion
Being out of time for now, I feel like the problem is a combination of:

The enable options (and similar ones). These enable options are defined for every module and they need to be evaluated regardless of whether you use the module or not, so this adds up with the ~1110 enable options we have in 19.03, and ever increasing
The module files itself. This ever increasing list of modules to include by default means that Nix needs to parse and evaluate all of them, which of course takes an increasing amount of time.

So this would also mean that the number of options a module defines has only very little influence on evaluation time (in contrast to what I've thought and told other people for some time now)! Of course the manual penalty of 1s is still there, but that's almost negligible.
Future Work

Do some proper profiling with NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1
Set up an automated way to track evaluation time for NixOS evaluation (maybe that already exists?)
Now that we have the better cross compilation, how much worse is the performance due to that?

Related

The gist by @edolstra for a potential future Nix version with support for modules that would be fast by design: https://gist.github.com/edolstra/29ce9d8ea399b703a7023073b0dbc00d
Somewhat related, a previous grave performance regression: https://github.com/NixOS/nixpkgs/issues/8152

Pings
@edolstra @nbp @Profpatsch @rycee @aanderse @Ekleog @Ericson2314

See also https://github.com/NixOS/rfcs/pull/22.

Results: Increases evaluation time by a constant of ~1 second

@Infinisil I think you mean "decreases"?

Another (general) approach to debugging evaluation times would be to add a flamegraph output to nix itself. Because apart from very simple counters we have no way to debug the evaluation as far as I’m aware of.
The bazel build system has an option to debug their evaluator by outputting the flamegraph format that can be read by the Chromium devtools (and so probably also firebug)

I just wrote a little script to minimize module-list.nix by removing everything that wasn't necessary:
for i in $(seq $(( $(cat module-list.nix | wc -l) - 1 )) -1 2); do
  echo $i
  if nix-instantiate ../lib/eval-config.nix --arg system 'builtins.currentSystem' --arg modules '[ ./configuration.nix ]' --arg baseModules "$(cat module-list.nix | sed ${i}d)" -A config.system.build.toplevel; then
    sed -i ${i}d module-list.nix
  fi
done

I put a minimal configuration.nix in ~/src/nixpkgs/nixos/modules
{
  boot.loader.grub.device = "nodev";
  fileSystems."/".device = "x";
}

Then
$ cd ~/src/nixpkgs/nixos/modules
$ ./minimize-modules
$ ./minimize-modules

I needed two runs because of module dependencies from earlier to later modules in the list.
The resulting module-list.nix consists of only 154 out of the original 890 modules:

[
  ./config/xdg/autostart.nix
  ./config/xdg/icons.nix
  ./config/xdg/menus.nix
  ./config/xdg/mime.nix
  ./config/i18n.nix
  ./config/krb5/default.nix
  ./config/ldap.nix
  ./config/networking.nix
  ./config/nsswitch.nix
  ./config/power-management.nix
  ./config/pulseaudio.nix
  ./config/shells-environment.nix
  ./config/swap.nix
  ./config/sysctl.nix
  ./config/system-environment.nix
  ./config/system-path.nix
  ./config/users-groups.nix
  ./hardware/all-firmware.nix
  ./hardware/ckb-next.nix
  ./i18n/input-method/default.nix
  ./i18n/input-method/ibus.nix
  ./misc/assertions.nix
  ./misc/documentation.nix
  ./misc/extra-arguments.nix
  ./misc/ids.nix
  ./misc/lib.nix
  ./misc/label.nix
  ./misc/meta.nix
  ./misc/nixpkgs.nix
  ./misc/version.nix
  ./programs/bash/bash.nix
  ./programs/shadow.nix
  ./programs/ssh.nix
  ./programs/zsh/oh-my-zsh.nix
  ./programs/zsh/zsh.nix
  ./programs/zsh/zsh-autosuggestions.nix
  ./programs/zsh/zsh-syntax-highlighting.nix
  ./rename.nix
  ./security/acme.nix
  ./security/chromium-suid-sandbox.nix
  ./security/google_oslogin.nix
  ./security/oath.nix
  ./security/pam.nix
  ./security/pam_usb.nix
  ./security/pam_mount.nix
  ./security/polkit.nix
  ./security/rtkit.nix
  ./security/wrappers/default.nix
  ./security/sudo.nix
  ./services/cluster/kubernetes/addons/dns.nix
  ./services/cluster/kubernetes/addon-manager.nix
  ./services/cluster/kubernetes/apiserver.nix
  ./services/cluster/kubernetes/controller-manager.nix
  ./services/cluster/kubernetes/default.nix
  ./services/cluster/kubernetes/flannel.nix
  ./services/cluster/kubernetes/kubelet.nix
  ./services/cluster/kubernetes/pki.nix
  ./services/cluster/kubernetes/proxy.nix
  ./services/cluster/kubernetes/scheduler.nix
  ./services/databases/mysql.nix
  ./services/desktops/accountsservice.nix
  ./services/desktops/bamf.nix
  ./services/desktops/dleyna-renderer.nix
  ./services/desktops/dleyna-server.nix
  ./services/desktops/pantheon/contractor.nix
  ./services/desktops/pantheon/files.nix
  ./services/desktops/flatpak.nix
  ./services/desktops/geoclue2.nix
  ./services/desktops/gsignond.nix
  ./services/desktops/gnome3/at-spi2-core.nix
  ./services/desktops/gnome3/evolution-data-server.nix
  ./services/desktops/gnome3/file-roller.nix
  ./services/desktops/gnome3/gnome-disks.nix
  ./services/desktops/gnome3/gnome-documents.nix
  ./services/desktops/gnome3/gnome-keyring.nix
  ./services/desktops/gnome3/gnome-online-accounts.nix
  ./services/desktops/gnome3/gnome-remote-desktop.nix
  ./services/desktops/gnome3/gnome-online-miners.nix
  ./services/desktops/gnome3/gnome-terminal-server.nix
  ./services/desktops/gnome3/gnome-user-share.nix
  ./services/desktops/gnome3/gvfs.nix
  ./services/desktops/gnome3/rygel.nix
  ./services/desktops/gnome3/seahorse.nix
  ./services/desktops/gnome3/sushi.nix
  ./services/desktops/gnome3/tracker.nix
  ./services/desktops/gnome3/tracker-miners.nix
  ./services/desktops/telepathy.nix
  ./services/desktops/tumbler.nix
  ./services/desktops/zeitgeist.nix
  ./services/hardware/bluetooth.nix
  ./services/hardware/bolt.nix
  ./services/hardware/udev.nix
  ./services/hardware/udisks2.nix
  ./services/hardware/upower.nix
  ./services/logging/rsyslogd.nix
  ./services/logging/syslog-ng.nix
  ./services/mail/postgrey.nix
  ./services/misc/etcd.nix
  ./services/misc/nix-daemon.nix
  ./services/misc/nixos-manual.nix
  ./services/misc/packagekit.nix
  ./services/misc/sssd.nix
  ./services/network-filesystems/samba.nix
  ./services/networking/avahi-daemon.nix
  ./services/networking/bind.nix
  ./services/networking/ddclient.nix
  ./services/networking/dhcpcd.nix
  ./services/networking/dhcpd.nix
  ./services/networking/dnsmasq.nix
  ./services/networking/firewall.nix
  ./services/networking/flannel.nix
  ./services/networking/iodine.nix
  ./services/networking/mstpd.nix
  ./services/networking/networkmanager.nix
  ./services/networking/racoon.nix
  ./services/networking/ssh/sshd.nix
  ./services/networking/unbound.nix
  ./services/networking/wpa_supplicant.nix
  ./services/printing/cupsd.nix
  ./services/security/certmgr.nix
  ./services/security/cfssl.nix
  ./services/security/fprintd.nix
  ./services/system/dbus.nix
  ./services/system/nscd.nix
  ./services/ttys/agetty.nix
  ./services/web-apps/matomo.nix
  ./services/web-servers/nginx/default.nix
  ./services/x11/colord.nix
  ./services/x11/hardware/libinput.nix
  ./services/x11/gdk-pixbuf.nix
  ./services/x11/xserver.nix
  ./system/activation/activation-script.nix
  ./system/activation/top-level.nix
  ./system/boot/grow-partition.nix
  ./system/boot/kernel.nix
  ./system/boot/loader/efi.nix
  ./system/boot/loader/grub/grub.nix
  ./system/boot/loader/loader.nix
  ./system/boot/modprobe.nix
  ./system/boot/resolved.nix
  ./system/boot/stage-1.nix
  ./system/boot/stage-2.nix
  ./system/boot/systemd.nix
  ./system/etc/etc.nix
  ./tasks/filesystems.nix
  ./tasks/kbd.nix
  ./tasks/network-interfaces.nix
  ./virtualisation/containers.nix
  ./virtualisation/docker.nix
  ./virtualisation/lxcfs.nix
  ./virtualisation/openvswitch.nix
  ./virtualisation/virtualbox-guest.nix
  ./virtualisation/virtualbox-host.nix
  ./virtualisation/vmware-guest.nix
]

Evaluation time for this (trivial) configuration.nix went down from ~1.9 to ~0.9 seconds:
$ time nix-instantiate ../lib/eval-config.nix --arg system 'builtins.currentSystem' --arg modules '[ ./configuration.nix ]' --arg baseModules 'import ./original-module-list.nix' -A config.system.build.toplevel
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
/nix/store/7zxpkl6ayw45bf3xf6l3cd5pxzb7zg6q-nixos-system-nixos-19.03.git.42bf842.drv
1.59s user 0.17s system 94% cpu 1.854 total
$ time nix-instantiate ../lib/eval-config.nix --arg system 'builtins.currentSystem' --arg modules '[ ./configuration.nix ]' --arg baseModules 'import ./module-list.nix' -A config.system.build.toplevel
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
/nix/store/2sylcv6g034jw4r36qywbnpxq7zkf0f3-nixos-system-nixos-19.03.git.42bf842.drv
0.69s user 0.10s system 90% cpu 0.868 total

Todo: Repeat for real configuration.nixs

Does Guix also suffer from this?
Has anyone done benchmarking on Guix vs Nix? I am still using Nix exclusively, but there are costs to a new language ecosystem (lack of tooling). Using an existing interpreter and language is from a maintenance perspective appealing.

If nix-instantiate is slow for your system, maybe nixos-rebuild switch --fast can help here, as it removes extra module evaluation.
Also, it may be that switching nixos-rebuild to Nix 2 can speedup in build-phase (where many small files are built). At least it doesn't block on stdout buffering.

@danbst --fast seems to only turn off building Nix before the actual system build, which nix-instantiate doesn't do already anyways. In this issue I'm also mainly focusing on evaluation time, since build time varies depending on what you already have built, whereas evaluation time is constant, even for no changes at all.

@Infinisil oh ok. It just title says "nixos-rebuild --switch is slow", so I put my 2cents...
Have you counted how many option declarations do you have in your configs (excluding base modules)? I see that minimal configuration takes 2.74s to evaluate, but your system takes 12s (excluding docs). Module system author says it is linear in number of modules+number of options+number of option declarations, which makes me wonder, what goes wrong.

I do have a bunch of options defined on my own, it's actually how I structure my whole config (https://github.com/Infinisil/system), and I do have loads of things enabled, so I guess it makes sense that it's a bit longer. The fact that a minimal system already takes almost 3 seconds to evaluate is what's annoying me here, and the fact that it increases over time.

Just yesterday I brainstormed some ideas for a NixOS module rewrite with performance (and security) in mind which could solve this problem. It would also be almost backwards compatible and integrate well with Flakes too. It would take a while to implement however, not sure how I can find the time for it. I think such a rewrite might be our best bet of fixing this unfortunately.

@Infinisil I was dissecting your config, here is what I found:

home-manager modules increase instantiate time, x2 for orakel machine. I've had 5 sec instantiate time, but when I removed all home-manager usages (home configs), time dropped to 2.5-3 sec.
some packages (!!) increase instantiate time. pkgs.beets, pkgs.mpd, pkgs.youtube-dl. After removing those instantiate time dropped to 2.3s.
minimal system instantiates in 1.5s for me
I've also went ahead and removed ~790 modules from module-list.nix, removed as many as possible for orakel to instantiate. Instantiate time dropped to 1.6s for orakel, and to 1.2s for minimal config.
with home-manager left as is and ~790 modules  removed, instantiate time dropped to 4.1s for orakel.

So far my conclusions are:

big number of modules in module-list.nix affects instantiate time, but not that much
big problems are attrset options which have lots of attrnames: services.* and systemd.*. Zipping those for every module takes time. Perhaps if we split those into more hierarchical structure (balanced tree), we can have a speedup.
home-manager config is best to run separately
there must be a way to measure nixos instantiation without measuring overhead of pkgs evaluation. While pkgs attrset is fast because of laziness, it's attrvalues may not be that fast.

Minimal set of modules for `orakel`
[
  ./config/fonts/fontconfig.nix
  ./config/fonts/fontconfig-penultimate.nix
  ./config/fonts/fontdir.nix
  ./config/fonts/fonts.nix
  ./config/fonts/ghostscript.nix
  ./config/xdg/autostart.nix
  ./config/xdg/icons.nix
  ./config/xdg/menus.nix
  ./config/xdg/mime.nix
  ./config/xdg/portal.nix
  ./config/appstream.nix
  ./config/xdg/sounds.nix
  ./config/i18n.nix
  ./config/krb5/default.nix
  ./config/locale.nix
  ./config/pulseaudio.nix
  ./config/qt5.nix
  ./config/resolvconf.nix
  ./config/vte.nix
  ./hardware/all-firmware.nix
  ./hardware/ckb-next.nix
  ./hardware/device-tree.nix
  ./hardware/ksm.nix
  ./hardware/printers.nix
  ./hardware/steam-hardware.nix
  ./i18n/input-method/default.nix
  ./i18n/input-method/fcitx.nix
  ./i18n/input-method/ibus.nix
  ./i18n/input-method/nabi.nix
  ./i18n/input-method/uim.nix
  ./misc/documentation.nix
  ./misc/label.nix
  ./misc/passthru.nix
  ./programs/chromium.nix
  ./programs/dconf.nix
  ./programs/evince.nix
  ./programs/file-roller.nix
  ./programs/fuse.nix
  ./programs/gnome-disks.nix
  ./programs/gnome-documents.nix
  ./programs/gnome-terminal.nix
  ./programs/nm-applet.nix
  ./programs/seahorse.nix
  ./programs/system-config-printer.nix
  ./programs/zsh/oh-my-zsh.nix
  ./programs/zsh/zsh.nix
  ./programs/zsh/zsh-autoenv.nix
  ./programs/zsh/zsh-autosuggestions.nix
  ./programs/zsh/zsh-syntax-highlighting.nix
  ./rename.nix
  ./security/acme.nix
  ./security/apparmor.nix
  ./security/audit.nix
  ./security/chromium-suid-sandbox.nix
  ./security/dhparams.nix
  ./security/google_oslogin.nix
  ./security/misc.nix
  ./security/oath.nix
  ./security/polkit.nix
  ./security/rtkit.nix
  ./security/sudo.nix
  ./services/audio/alsa.nix
  ./services/audio/mpd.nix
  ./services/backup/rsnapshot.nix
  ./services/backup/znapzend.nix
  ./services/desktops/accountsservice.nix
  ./services/desktops/bamf.nix
  ./services/desktops/dleyna-renderer.nix
  ./services/desktops/dleyna-server.nix
  ./services/desktops/pantheon/contractor.nix
  ./services/desktops/pantheon/files.nix
  ./services/desktops/geoclue2.nix
  ./services/desktops/gsignond.nix
  ./services/desktops/gvfs.nix
  ./services/desktops/gnome3/at-spi2-core.nix
  ./services/desktops/gnome3/chrome-gnome-shell.nix
  ./services/desktops/gnome3/evolution-data-server.nix
  ./services/desktops/gnome3/glib-networking.nix
  ./services/desktops/gnome3/gnome-initial-setup.nix
  ./services/desktops/gnome3/gnome-keyring.nix
  ./services/desktops/gnome3/gnome-online-accounts.nix
  ./services/desktops/gnome3/gnome-online-miners.nix
  ./services/desktops/gnome3/gnome-remote-desktop.nix
  ./services/desktops/gnome3/gnome-settings-daemon.nix
  ./services/desktops/gnome3/gnome-user-share.nix
  ./services/desktops/gnome3/rygel.nix
  ./services/desktops/gnome3/sushi.nix
  ./services/desktops/gnome3/tracker.nix
  ./services/desktops/gnome3/tracker-miners.nix
  ./services/desktops/system-config-printer.nix
  ./services/desktops/telepathy.nix
  ./services/desktops/tumbler.nix
  ./services/desktops/zeitgeist.nix
  ./services/hardware/acpid.nix
  ./services/hardware/actkbd.nix
  ./services/hardware/bluetooth.nix
  ./services/hardware/bolt.nix
  ./services/hardware/brltty.nix
  ./services/hardware/fancontrol.nix
  ./services/hardware/freefall.nix
  ./services/hardware/fwupd.nix
  ./services/hardware/illum.nix
  ./services/hardware/interception-tools.nix
  ./services/hardware/irqbalance.nix
  ./services/hardware/lcd.nix
  ./services/hardware/lirc.nix
  ./services/hardware/nvidia-optimus.nix
  ./services/hardware/pcscd.nix
  ./services/hardware/pommed.nix
  ./services/hardware/ratbagd.nix
  ./services/hardware/sane.nix
  ./services/hardware/sane_extra_backends/brscan4.nix
  ./services/hardware/sane_extra_backends/dsseries.nix
  ./services/hardware/tcsd.nix
  ./services/hardware/tlp.nix
  ./services/hardware/thinkfan.nix
  ./services/hardware/throttled.nix
  ./services/hardware/trezord.nix
  ./services/hardware/triggerhappy.nix
  ./services/hardware/u2f.nix
  ./services/hardware/udev.nix
  ./services/hardware/udisks2.nix
  ./services/hardware/upower.nix
  ./services/hardware/usbmuxd.nix
  ./services/logging/rsyslogd.nix
  ./services/logging/syslog-ng.nix
  ./services/logging/syslogd.nix
  ./services/mail/clamsmtp.nix
  ./services/mail/dovecot.nix
  ./services/mail/mail.nix
  ./services/mail/opendkim.nix
  ./services/mail/pfix-srsd.nix
  ./services/mail/postfix.nix
  ./services/mail/postgrey.nix
  ./services/mail/rspamd.nix
  ./services/misc/nix-optimise.nix
  ./services/misc/packagekit.nix
  ./services/misc/tautulli.nix
  ./services/misc/sssd.nix
  ./services/misc/taskserver
  ./services/monitoring/monit.nix
  ./services/monitoring/vnstat.nix
  ./services/network-filesystems/ipfs.nix
  ./services/network-filesystems/samba.nix
  ./services/networking/avahi-daemon.nix
  ./services/networking/ddclient.nix
  ./services/networking/dhcpd.nix
  ./services/networking/iodine.nix
  ./services/networking/iwd.nix
  ./services/networking/kresd.nix
  ./services/networking/nat.nix
  ./services/networking/networkmanager.nix
  ./services/networking/openvpn.nix
  ./services/networking/racoon.nix
  ./services/networking/radicale.nix
  ./services/networking/znc/default.nix
  ./services/printing/cupsd.nix
  ./services/scheduling/cron.nix
  ./services/security/clamav.nix
  ./services/system/localtime.nix
  ./services/torrent/deluge.nix
  ./services/torrent/transmission.nix
  ./services/ttys/agetty.nix
  ./services/web-servers/nginx/default.nix
  ./services/x11/colord.nix
  ./services/x11/hardware/libinput.nix
  ./services/x11/hardware/multitouch.nix
  ./services/x11/hardware/synaptics.nix
  ./services/x11/hardware/wacom.nix
  ./services/x11/gdk-pixbuf.nix
  ./system/boot/binfmt.nix
  ./system/boot/grow-partition.nix
  ./system/boot/timesyncd.nix
  ./system/boot/tmp.nix
  ./tasks/filesystems/zfs.nix
  ./tasks/scsi-link-power-management.nix
  ./virtualisation/container-config.nix
  ./virtualisation/docker.nix
  ./virtualisation/lxc.nix
  ./virtualisation/lxcfs.nix
  ./virtualisation/lxd.nix
  ./virtualisation/openvswitch.nix
  ./virtualisation/vmware-guest.nix

  ./config/fonts/fonts.nix
  ./config/ldap.nix
  ./config/networking.nix
  ./config/nsswitch.nix
  ./config/power-management.nix
  ./config/shells-environment.nix
  ./config/swap.nix
  ./config/sysctl.nix
  ./config/system-environment.nix
  ./config/system-path.nix
  ./config/users-groups.nix
  ./hardware/opengl.nix
  ./misc/assertions.nix
  ./misc/extra-arguments.nix
  ./misc/ids.nix
  ./misc/lib.nix
  ./misc/meta.nix
  ./misc/nixpkgs.nix
  ./misc/version.nix
  ./programs/bash/bash.nix
  ./programs/environment.nix
  ./programs/shadow.nix
  ./programs/ssh.nix
  ./security/pam.nix
  ./security/pam_mount.nix
  ./security/pam_usb.nix
  ./security/wrappers/default.nix
  ./services/hardware/udev.nix
  ./services/misc/nix-daemon.nix
  ./services/networking/bind.nix
  ./services/networking/dhcpcd.nix
  ./services/networking/dnsmasq.nix
  ./services/networking/firewall.nix
  ./services/networking/mstpd.nix
  ./services/networking/ssh/sshd.nix
  ./services/networking/wpa_supplicant.nix
  ./services/security/fprintd.nix
  ./services/system/dbus.nix
  ./services/system/nscd.nix
  ./services/x11/xserver.nix
  ./system/activation/activation-script.nix
  ./system/activation/top-level.nix
  ./system/boot/kernel.nix
  ./system/boot/loader/efi.nix
  ./system/boot/loader/grub/grub.nix
  ./system/boot/loader/loader.nix
  ./system/boot/modprobe.nix
  ./system/boot/resolved.nix
  ./system/boot/stage-1.nix
  ./system/boot/stage-2.nix
  ./system/boot/systemd.nix
  ./system/etc/etc.nix
  ./tasks/cpu-freq.nix
  ./tasks/filesystems.nix
  ./tasks/network-interfaces.nix
  ./virtualisation/containers.nix
]

I've been iterating over a desktop machine and been going from something that felt almost instant to something that is terribly slow, about a minute. It seems I'm spending about 45 secs in "setting up tmpfiles".
I was using home-manager from the build at some point, but have removed it.
$ ( echo start; sudo nixos-rebuild switch 2>&1; echo done ) | while read LINE; do echo "$(date +%s.%N) $LINE"; done
1584705236.059661095 start
[sudo] password for viktor:
1584705239.299187817 building Nix...
1584705239.750986723 building the system configuration...
1584705242.609866480 updating GRUB 2 menu...
1584705242.666183576 activating the configuration...
1584705242.706777323 setting up /etc...
1584705242.887951465 reloading user units for sddm...
1584705242.941042931 reloading user units for viktor...
1584705243.162807841 setting up tmpfiles
1584705333.316801979 done

Still a problem!

And again, still a problem!

Just an anecdote, but evaluating my not particularly big NixOS configuration defined with flakes takes over 1 GB of RAM and ~20 seconds just to evaluate on my aarch64 device...
If NixOS is to be usable on all devices, this is a major blocker IMO.

Without going into making RFCs, there is a hack which is possible to reduce the amount of imported modules.
Previously, NixOS modules used to be evaluated twice. A first time to compute the pkgs argument later provided to every module, and a second time to compute the configuration.
The hack I am thinking off, is that we could make a list similar to module-list.nix, but which mirror the enable flags, as well as the enable flags which are consequently being updated by these modules.  Thus we can make a full list of tiny modules in order to compute the tiny list of full modules.
Another option, would be to dig enable flags ahead of the module evaluation to pre-compute the list of imported modules. This would still require to have a list of enable flags per module.

Bad stalebot.

So I created a very minimal module list (way smaller than @danbst one) and it evals in 3.2 seconds.

However the minimal module list is still 2x faster than non-minimal.
Full experiment + code is here:
http://github.com/arianvp/lolmin


West Virginia 2023 joint 81k wages one dep

West Virginia 2023 joint 81k wages one dep
http://taxsim.nber.org/out2psl/teset35
I am guessing that the number of exemptions in the emulator is 1, but should be 3.

Joint, household with dep implemented now, closed with PR #88


Print to scale example

Hi all and thanks for this awesome librairy !
Describe the bug
In the Print to scale example, OL return a blank image when i export in A0 format,  300DPI quality and map rotation.
To Reproduce
Steps to reproduce the behavior:

Go to https://openlayers.org/en/latest/examples/export-pdf.html
Select A0 format
Select 300DPI resolution
Apply a rotation on the map
Click on Export PDF button

Most likely you don't have enough memory/gpu memory or your browser limits the possible canvas size.

Canvas size : 9933px x 14043px less than chrome canvas size limit
Config: i7 - 16Go - RTX2070

For me it takes a very long time to complete, but I did get a map.
map.pdf

Did not apply a rotation ...
With rotation there are two canvases:

16996 x 16907 = 287,351,372 (at ~45deg, depends on rotation)
14,043 x 9,933 = 139,489,119
Maximum area: 268,435,456 pixels (e.g., 16,384 x 16,384)
So depending on rotation you are over the limit. with the first canvas.

Effectively ! Thank you very much for the explanations @M393


fix(curriculum): wording change from "SVG canvas" to "SVG" in d3 course

Checklist:

[X] I have read and followed the contribution guidelines.
[X] I have read and followed the how to open a pull request guide.
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #49266
Changed the text from 'SVG canvas' to 'SVG' in the 'Data Visualization with D3' course.

Is there anything specific I need to do to fix these issues?

I also just noticed I had this set up on my main branch, will this be a problem as well? I'm not sure how I would switch these changes to a new branch.

Closing this PR and opened a new PR.


Add Multilingual Lexicon Perturbation Transformation

This perturbation translates words from any supported languages (e.g., English) to other supported languages (e.g., German) by using a multilingual lexicon. Thus, it can be used to test the robustness of a model in a multilingual setting.
This transformation can be seen as the light version of the Mixed-Language Perturbation (https://github.com/GEM-benchmark/NL-Augmenter/pull/40).
Authors: Genta Indra Winata, Samuel Cahyawijaya, and Bryan Wilie.

@kaustubhdhole : This transformation is the light version of the Mixed-Language Perturbation (#40). Do you have any feedback to further improve this transformation?
Thank you!

I think @Nickeilf has addressed most of the concerns. It seems fine to integrate this if you address the above points in your README and also the README of your previously submitted one. Thanks for your efforts!


API gateway image name logic

Description:

As of now, the image being built has the following format.
"API CR name" + "version in the API definition".
IMO, this has to be changed in the following way.
"API name in the API definition" + "version in the API definition".
Because, if multiple users use the same swagger with different API name, there is no point of having different docker images. Hence the above proposed convention.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

@pubudu538

After having a discussion on this, it was realized that, for the same API definition, there can be multple gateway image depending on how they are going to expose it. For example, for the same API definition, one may use Basic Auth while another person may use JWT. Hence having multiple images for the same API definition is possible. Hence, this will be closed.


towards v0.5.2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I'm not 100% sure what I should be reviewing, but the commits look fine to me. Thanks for updating!

@jonschwenk the review request is automated to ping all maintainers


Add background dot printer

The start_timer emits dots in the background while the buildpack does work. This is important for things like downloading a file while on spotty internet so that the user knows the buildpack isn't stuck.

Thank you for the PR. Just to set expectations timing wise - I won't have a chance to look at this PR until next week, since there are several things in my queue (both review-wise, and the Python WEB_CONCURRENCY work) ahead of it.

Updated with a changelog entry.
I didn't add one as I wasn't expecting the buildpack output changes to be released in an unusable state. I wanted to avoid any conflicts to reduce the cost of maintaining a long-lived branch until it was being actively worked on.
We might want to pre-populate the ## [Unreleased] section with added/changed/removed along with bullet points for each of the sub libraries when we release. It won't prevent changelog conflicts, but would make them faster and more intuitive to resolve.

I'm going to rebase this and then I want to merge it in. If there's a refactor needed or some changes needed, then I'll own it. If it's not up to standards or quality, then we need to figure out additional ways to scale out standard and quality measures.

Think we can close in favor of using https://crates.io/crates/bullet_stream


Validate Data types and MaxLength on Org profil & address

As ISED
I need to make sure that the character limits and data types are enforced
so that my data import works with the schema I have in Salesforce
This ticket is limited to the forms that have already been created or will be created in the test environment during this sprint
Description
https://regexlib.com/REDetails.aspx?regexp_id=2790
https://owasp.org/www-community/OWASP_Validation_Regex_Repository
Acceptance Criteria
Organization Profile Page

Type of org

[x] Required

Please describe your organization type

[x] Required

band number

[x] number
[x] Required

Org name

[x] Maxlength: 200 characters
[x] Required

Is operating name same as legal name?

[x] Required

Operating name

[x] Required

Applicant organization a subsidiary?

[x] Required

Please enter the name of the parent organization

[x] Required

organization an Indigenous entity?

[x] Required

short description of the Indigenous entity

[x] maxlength: 75 characters
[x] Required

overview of the organization

[x] maxlength 3500 characters
[x] Required

Date of incorporation or registration

[x] datepicker month & year drop down instead where it is more clear that it is an input field?
[x] Required

Applicant business number (9-digit business identifier provided by Canada Revenue Agency)

[x] type: number
[x] maxlength: 9
[x] Required

Organization Location Page
Unit number

[x] type: text input
[x] maxlength: 9
[x]  Optional

Street Number

[x]  Validation: 1-9 digits and or letter, no symbols
[ ]  Error message: Must be 9 or fewer numbers or letters, don't include symbols.
[x]  Required

Street name

[x]  Required

PO Box

[x]  Validation: 1-6 digits
[ ]  Error message: Must be 9 or fewer numbers, don't include letters or symbols.
[x]  Optional

City

[x]  Required

Province

[x]  Dropdown options: "Alberta", "British Columbia", "Manitoba", "New Brunswick", "Newfoundland", "Northwest Territories", "Nova Scotia", "Nunavut", "Ontario", "Prince Edward Island", "Quebec", "Saskatchewan", "Yukon Territories"
[x]  Required

Postal Code

[ ]  Validation: see comments for potential solution
[ ]  Error message: Must be in format H0H 0H0 with no spaces.
[x]  Required

Mailing address same?

[x]  Required
[x]  Scenario: conditionally opens mailing address input
Given that a user is on the organization address page and responding to "Is the mailing address the same as the above?"
when they select no
then all the fields for Mailing address appear below

Mailing address
Same validations, errors, requirements as above

^(?!.*[DFIOQU])[A-VXY][0-9][A-Z]●?[0-9][A-Z][0-9]$

This card is complete - missing validations are being tracked in issue #217

@marcellmueller @BryanGK The organization location page is showing the address fields as 'Optional'.  Can we please remove that word from the titles?

@MarsRomer it would appear that when the form pages were split out in separate files my updated pages were not properly copied over. I'll get that fixed ASAP.


API error

API design is incorrect. In order to find something I shouldn't require to have mutable access to neither the container that holds it nor the thing itself. Unfortunately at this moment I need mut access to perform find.
pub fn is_search_bar_visible(s: &mut Cursive) -> bool {
    s.call_on_name(
        "hideable_info_stack_view_name",
        |hideable: &mut HideableView<ResizedView<StackView>>| {
            let stack_view = hideable.get_inner_mut().get_inner_mut();//If I have just get_inner it doesn't compile because find_* inside requires mut.
            let pos = stack_view.find_layer_from_name(STACKED_SEARCH_BAR).unwrap();
            hideable.is_visible()
        },
    )
    .unwrap()
}

Hi, and thanks for the report.
Indeed, the entire chain of methods around call_on_any could be duplicated to support non-mutable access. (As is often the story with rust mutable/non-mutable methods).
I felt like the extra code duplication was not quite justified given that users very often have mutable access to the views, but there may be exceptions of course.

Hi,
Thank you for reply. As much as I do understand your reasons I actually think that the issue lies in methods like find_*, where they take &mut, which doesn't make sense. I am pretty certain that it can be refactored in way that searching for "things" shouldn't require &mut.

If the find method didn't require &mut you wouldn't have to have code dups. All that would happen: the find method would have better API.

Note that find_layer_from_name (and find_name) use call_on_any behind the scenes, and not the other way around. So to make find_layer_from_name and find_name take a &self, we'd need a call_on_any method that also takes &self, while still having a call_on_any_mut for cases when you do want to mutate what you find.
And you'd probably still want a find_name_mut that takes a &mut self so it could return mutable reference, without forcing interior mutability in the API.
If this use-case pattern is very common, then the code duplication could be justified, absolutely.

Thank you for the reply. If I find a free time I'll try to look at your code and see if it can be refactored/structured in better way.
Best regards


Error in function (type, msg, asError = TRUE)  :    SSL certificate problem: certificate has expired

Hopefully someone can help here. I got the same Error, when using rWikiPathways in Rstudio today. I am using the RVA package to visualize my data and it uses rWikiPathways for one part of it. I tested KEGG and REACTOME pathway analysis from the same package. Both work fine, just rWikiPathways gives me this error: "SSL certificate problem: certificate has expired"

@duanxiaoqian I can't reproduce this error. I tried a few functions in rWikiPathways and they work fine. Which function returns the SSL error?
@lbuschma I installed RVA and ran through the tutorial. I did not see this error. What steps are you performing to get the SSL error?

Thanks for the quick answer.
I basically adjusted the code from the tutorial to my needs and just used my RNAseq Dataset instead of the Dataset provided by the tutorial.
This is the code I used, whereas RNAseqENSEMBLordered is a Data Set with the EnsemblIDs as Rownames and the logFC and adj.p-Value (the only relevant columns, in my case I ordered it after the Expression (Column named: t). So only the input changed, rest is default settings of the Tool.
#Pathway Analysis Plots
RNAseqENSEMBLordered <- RNAseqEnsembl_names_HAP1[order(RNAseq_EnsemblIDs_HAP1$t, decreasing = TRUE),]
pathway.result <- plot_pathway(data = RNAseqENSEMBLordered,
pathway.db = "rWikiPathways",
gene.id.type = "ENSEMBL",
FC.cutoff = 1.2,
FDR.cutoff = 0.05,
Fisher.cutoff = 0.1,
Fisher.up.cutoff = 0.1,
Fisher.down.cutoff = 0.1)
pathway.result
Afterwards I get this error:
Running plot pathway. Acceptable data types are list() & data.frame()
Current program setting only accepts rownames as ENSEMBL, use parameter gene.id.type to adjust if needed.
Currently using the rWikiPathways database for enrichment
Error in function (type, msg, asError = TRUE)  :
SSL certificate problem: certificate has expired
Therefore I tested the other pathway analysis options the tool provides, as example KEGG (same dataset):

pathway.KEGG <- plot_pathway(data = RNAseqENSEMBLordered,

                           pathway.db = "KEGG",

                           gene.id.type = "ENSEMBL",

                           FC.cutoff = 1.2,

                           FDR.cutoff = 0.05,

                           Fisher.cutoff = 0.1,

                           Fisher.up.cutoff = 0.1,

                           Fisher.down.cutoff = 0.1,)

Running plot pathway. Acceptable data types are list() & data.frame()
Current program setting only accepts rownames as ENSEMBL, use parameter gene.id.type to adjust if needed.
Currently using the KEGG database for enrichment
More pathways in directional data than non directional data
hence using pathways exsting in directinal dataset
Plot file name not specified, a plot in ggplot object will be returned!
This works fine, I get a table and a plot with enriched KEGG pathways. That's the reason I was puzzled by the outcome, because I did the same analysis with another dataset 6 months ago and it worked fine, rWikiPathways and KEGG.

Again, it works for me. But, I suspect your system is complaining about the legacy http url in the rWikiPathways package, so I've updated that and you can install a dev version from GitHub by...
install.packages("devtools")
library(devtools)
install_github('wikipathways/rWikiPathways', build_vignettes=TRUE)
library(rWikiPathways)

However, even if this fixes the SSL error you are seeing, it appears as though RVA doesn't know how to parse the WikiPathways gmt format, so you will like just run into a subsequent error about reading the "Description" field which is delimlited by % in our gmts.
So, I think changes in the RVA code are needed to actually work with rWikiPathways. Sorry :(


Create Reporting Instructions Page(s)

User Story:
As an ECMPS user, I want access to the Reporting Instructions and other important documentation so that I can use them for reference
Acceptance Crietria:
Given I am an ECMPS user on the Resources Screen (Accessed from the utility nav toolbar)
When I click on 'View Reporting Instructions'
Then I see the following options on the Reporting Instructions Screen:
Monitoring Plan Reporting Instructions Download by the name: ECMPS Monitoring Plan Reporting Instructions 2021 Q4 https://app.zenhub.com/files/287570343/449899ef-7a75-4129-995c-ae4bf2e347bf/download
Part 75 Regulations (Link: https://www.ecfr.gov/current/title-40/chapter-I/subchapter-C/part-75?toc=1)
e-CFR (Link: https://www.ecfr.gov/cgi-bin/text-idx?SID=4002e94719ee5632c5970867e3c7e018&mc=true&tpl=/ecfrbrowse/Title40/40cfr75_main_02.tpl)
MATS (Link: https://www.ecfr.gov/cgi-bin/retrieveECFR?gp=&SID=6952010b8924c119705ba2727c050a07&mc=true&n=pt40.16.63&r=PART&ty=HTML#sp40.16.63.uuuuu)

https://app.zenhub.com/files/287570343/e9aa4921-56fd-464f-a443-39eb3af1d338/download

Added to ticket: Fixing Additional Resources link:

CDX link opens up site in new tab
Tutorials shows "Coming Soon" page

Test Case: TC504

Test Passed


F-Droid inclusion

Hi @mcdz ,
Since this app is Apache V2 licensed, are you considering the fact to add it to F-Droid? There is a strong community behind, and it could be useful for some of us.
You can find some documentation here.
Otherwise, if you don't want to work on the inclusion of this app by yourself, would it be ok for you if someone else do it for you?

Sure. I'll add it to f-droid. And it's open-source, so, code contribution is welcome 😊

F-Droid maintainer here. Would it be possible to have Fastlane structures in the app's repo, as well as tagged releases?


Disable == syntactically

@sellout just told me about a bug during SlamEngine development: he accidentally typed == instead of === and his code compiled but failed tests. #46 tried to disable unsafe == uses but we should consider just disabling all uses now that we can suppress warts.

Would be nice if it were a separate Wart.

Closed by https://github.com/puffnfresh/wartremover/issues/240


Add Dict.deleteKey, Dict.deleteKeys and Dict.selectKeys

Hi @mobily, please let me know if you'd like me to change anything at all here!

@anthony-khong thanks again for your contribution! could you resolve conflicts, please? in general, it looks really good, and I believe we can merge it once it's ready for merging 🚀

I've resolved the conflicts, changed the examples and verified that the tests are still good. Thank you for reviewing the PR, please let me know if you'd like me to change anything else!

thank you @anthony-khong, this looks awesome! ❤


Is there a way to enter a command, but just wait for enter?

I would like to enter a command in a pane, but I don't want it to be executed. In other words, the user will have to go to the correct pane and press enter to send the command. Is this possible? If so how?

As far as I know, this isn't possible.  Tmuxinator uses ruby to send commands to the operating system; the process of sending the commands by nature executes them.  After doing a little bit of googling I found some cases where people want to do something similar within the shell itself.  According to this, it would appear that the shell doesn't support this, either.

I'm going to close this issue for now.  If you find additional information that requires a change to tmuxinator itself, please re-open.

@emayssat-ms A workaround would be prefix the command with a comment, recall the last command (up key in Bash), delete the comment and press enter.

I also hope this feature, but currently I'm using read && prefix like read && cat log.txt.

I have found another way.... through the history.
history -s
Then just use up arrow to execute!


[Feat] Redesign Landing Page UI (index.html) to a Visually Appealing Design

Looking for contributors to redesign the complete UI of the landing page (index.html) to make it visually appealing and engaging for users. You are free to get creative and implement any design that enhances the look and feel of the page.
Guidelines:

You may use CSS frameworks like Bootstrap to speed up your work.
This is a Level 2 issue, so we expect a well-thought-out design that is responsive and visually engaging.
Before proceeding with development, please submit your design for approval.

How to Contribute:

Comment below if you're interested in contributing.
Share a preview or wireframe of your design for approval before starting development.

Looking forward to your creative designs!
Current Page:

@Vimall03 I am interested! I would like to give a suggestion. Instead of writing plain css, we can use tailwindcss.
Why to use tailwind?

Speedy developement
Modern design
Highly customizable
Easy to setup ( from a contributor perspective )
Responsiveness

@ArchanRD Yes Tailwind would be a great choice. Please share me the design you are going for, it doesn't need to have the elements or color pallet of the current design. You are free to implement a completely new design.

@Vimall03 Let me get back to you with the design. Please give me sometime.

Sure, take your time

hi @Vimall03 I am ready to do this.

@Vimall03 The design is ready. I have done my best to create a design in a short time. Though while development this design can be enhanced and can alter with the color pallete.
Figma: https://www.figma.com/design/hbfVm94AuIo6aPujnGOhha/Alimento?node-id=0-1&t=i65X6t77cosbSHEx-1

@ArchanRD Looks good, You can get started

Yeah! Sounds good.

@Vimall03 Instead of index.html can we create index.php, so that we can make sure that session works for buttons in navbar.

Yes, that would be better

@Vimall03 Here's the progress!

Integrated tailwindcss using npm. ( I will update the readme for tailwindcss setup )
Create fully responsive navbar

preview:
https://github.com/user-attachments/assets/b28017fc-5d12-4ff2-9852-76788515c82a

@ArchanRD  Cool, Also can you share the font that you will be using ?

Sure! The font is poppins from google fonts

The button text for " Register as vendor" is too long for a button. I would suggest to add a section in the landing page. We can do something like this.

@ArchanRD Okay, looks good

Hey @Vimall03 Could you please promote this issue to level 3. Though it is a single page but it is taking a lot to build it + responsive. I would really appreciate if you could do this!

I have done the alignment of the Home page but unable to create pull request and merge pull request

Hey @ArchanRD I understand, I will review the code at the time of PR and push it to level 3 if required. Don't worry about it for now.

@VanshGarg06, You are supposed to open an issue that you would like to work and get assigned to it first before you open a PR as per the guidelines of GSSoC'24.


Add support for pre-update hooks

This PR adds support for pre-update hooks. Pre-update hooks allow getting the before & after row images for a given mutation. The standard update hook is insufficient for many use cases. Some careful orchestration would allow getting the new row image by ID in the insert & update cases, in the delete case, the data is already gone.
The only caveat here is that it does require compiling SQLite with the SQLITE_ENABLE_PREUPDATE_HOOK directive. Given that it is not the default, one would think there is additional risk or a performance penalty involved.

Coverage decreased (-6.2%) to 51.744% when pulling be424d27acde822f080bdcd8a7ae6abd4d7d801e on segmentio:master into 25ecb14adfc7543176f7d85291ec7dba82c6f7e4 on mattn:master.

See review and please rebase

@rbranson Moving this to its won option like userauth and othersw ill also fix the build errors.

Implemented in v2.0.0 branch

Closed by #736


python312Packages.python-opendata-transport: 0.4.0 -> 0.5.0

Changelog: https://github.com/home-assistant-ecosystem/python-opendata-transport/releases/tag/0.5.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 345194 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.swiss_public_transport
python311Packages.python-opendata-transport
python311Packages.python-opendata-transport.dist
python312Packages.python-opendata-transport
python312Packages.python-opendata-transport.dist


Code feedback

Hey! So excited to finally see this library out!
I will provide a few code review and suggestions below. Feel free to convert this to a discussion or whichever format is more suitable for you.
https://github.com/apollographql/graphql-testing-library/blob/e18caf4ef4b3133b438500bafebdf127e4189417/src/handlers.ts#L92-L94
This isn't something MSW can solve with the current version range of TS we support, unfortunately. You can learn more about why here: https://github.com/mswjs/msw/issues/1691.
Solution: Provide a union of expected response types to the handler. I'm not sure if graphql.*() functions support that right now though. It looks like they infer the response resolver (and its return type) from the query. Let me know if this turns problematic, we can work on a solution for it.

https://github.com/apollographql/graphql-testing-library/blob/e18caf4ef4b3133b438500bafebdf127e4189417/src/handlers.ts#L163-L164
It would be great to let the folks use the built-in delay values too, like infinite or random server response time. Looks like a change here.

For debugging reasons, it would be nice to see what schema was used when a handler was run. You can achieve that by creating a custom request handler instead of wrapping graphql.operation(). You can then define its log() method to include the schema when debugging handlers.
I think that can be handy given you can swap the schema mid-test. You also get access to internal caching API which you can use to cache any computation you need (like gql(query) or AST parsing, if that makes sense).

If you have any questions about the WebSocket mocking, please let me know.

Hey @kettanaito 👋
Thanks so much for taking the time to dig in and for your comments! This is great feedback - I'll keep this open as I work through these items. I'm working on WS mocking right now and appreciate the offer to field any questions - I'll let you know, and will otherwise link to the PR once it's up :)

One update on using the built-in delay values, something I recently shipped. It's definitely nice to be able to reuse that :)
I noticed flakiness in Jest tests with concurrent React autobatching in a scenario with GraphQL queries with @defer and multipart responses. With a 5ms delay between chunks, they were sometimes being batched into a single render.
I want the default behavior in Node processes to be "each chunk causes a re-render" so I upped it to 20ms which seems to be firmly on the "not autobatched" side of the chasm: https://github.com/apollographql/graphql-testing-library/blob/main/src/handlers.ts#L41-L47 though I still need to test this with React 19 RCs.
Finally I'm continuing work on subscriptions, so far so good!

So excited to hear how the subscriptions will turn out!
A bit updates from my end, I'm planning on releasing the WebSocket support in MSW later this month. @alessbell, would I be able to hear your feedback before that? I don't mind postponing, it's really about hearing back and shipping the best API possible.

@kettanaito that's very exciting! So far I haven't run into any issues - I'm working out some details around reconnection attempts, but I'm far enough along that I'd say it's all clear on my end :)


Update HTTP Client to 0.9.X

Coverage remained the same at 56.675% when pulling 1374e952e3bd7e911865257ac434e0ee59affe6b on development into 545d122d84985658d5dc744f7aa0f36e8720a3a2 on master.


Fix #324

Reference:
https://github.com/theforeman/jenkins-jobs/pull/324#discussion_r1150722308

After some testing, this also needs this change for the job to pass:
                 dir(project_name) {
                     git url: git_url, branch: git_ref
+
+                    script {
+                        archive_git_hash()
+                    }
                 }
+
                 script {
-                    archive_git_hash()
                     sourcefile_paths = generate_sourcefiles(project_name: project_name, source_type: source_type)
                 }
             }
         }
     }


GridRowSelectionMixin issues

I know the guide is pending update for TypeScript but I have not been able to figure out how to do this yet. I tried using
    protected creatToolbarExtensions() {
        super.createToolbarExtensions();
        this.rowSelection = new Serenity.GridRowSelectionMixin(this);
    }
    protected getColumns() {
        var columns = super.getColumns();
        columns.splice(0, 0, Serenity.GridRowSelectionMixin.createSelectColumn(() => this.rowSelection));
        return columns;
    }

But "splice" doesn't seem to work for me. I do get a check box but only at the top of the grid next to the column titles. I have debugged in the console and the column is created fine, but doesn't show correctly on my grid. I am looking to add a select column so I can pass the value of a column in a tab grid back to the dialog. (parent), I'm tired right now so hopefully that just made sense :)

I'm looking at Bulk Action in Basic Sample now to see why "splice" is not working on my grid to show the checkboxes. I may be able to figure it out, if I do I will update and close this

I see your createToolbarExtensions method name is wrong

Oh bloody hell, I can't feel any dumber or embarrassed than I do at the present moment. Sorry about this.... :)