[Bug]: When you connect to wifi and turn on vpn

Platform
14
Plugin
connectivity_plus
Version
5.0.2
Flutter SDK
3.19.0
Steps to reproduce
when i am connected to wifi
I enter the program and it says that the connection to wifi is correct
When I turn on vpn and re-apply, it says connect to wifi n when it should say vpn
With mobile internet, this mod works correctly
Code Sample
class _SplashScreenState extends State<SplashScreen> {
  String _networkMessage = '';

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

  Future<void> _checkedNetwork() async {
    final connectivityResult = await (Connectivity().checkConnectivity());

    if (connectivityResult == ConnectivityResult.vpn) {
      setState(() {
        _networkMessage = "vpn";
      });
    }else if (connectivityResult == ConnectivityResult.mobile) {
      setState(() {
        _networkMessage = "mobile network";
      });
    } else if (connectivityResult == ConnectivityResult.wifi) {
      setState(() {
        _networkMessage = "wifi network.";
      });
    } else if (connectivityResult == ConnectivityResult.ethernet) {
      setState(() {
        _networkMessage = "ethernet network.";
      });
    } else if (connectivityResult == ConnectivityResult.bluetooth) {
      setState(() {
        _networkMessage = "bluetooth";
      });
    } else if (connectivityResult == ConnectivityResult.other) {
      setState(() {
        _networkMessage = "mentioned networks.";
      });
    } else if (connectivityResult == ConnectivityResult.none) {
      setState(() {
        _networkMessage = "any network";
      });
    }

    FlutterNativeSplash.remove();
  }

Logs
ConsumerProguardFiles', task ':webview_flutter_android:prepareDebugArtProfile', task ':webview_flutter_android:prepareLintJarForPublish', task ':webview_flutter_android:mergeDebugJavaResource', task
':webview_flutter_android:syncDebugLibJars', task ':webview_flutter_android:bundleDebugAar', task ':webview_flutter_android:mergeDebugResources', task ':webview_flutter_android:compileDebugSources', task ':webview_flutter_android:assembleDebug']
[+60492 ms] Tasks that were excluded: []
[  +10 ms] :app:compileFlutterBuildDebug (Thread[Daemon worker,5,main]) started.
[  +13 ms] > Task :app:compileFlutterBuildDebug
[   +3 ms] Caching disabled for task ':app:compileFlutterBuildDebug' because:
[   +1 ms]   Build cache is disabled
[   +1 ms] Task ':app:compileFlutterBuildDebug' is not up-to-date because:
[   +2 ms]   Value of input property 'dartDefines' has changed for task ':app:compileFlutterBuildDebug'
[   +3 ms]   Value of input property 'verbose' has changed for task ':app:compileFlutterBuildDebug'
[   +6 ms] Starting process 'command 'D:\flutter\bin\flutter.bat''. Working directory: D:\IdeaProjects\myzarinpal-flutterv4 Command: D:\flutter\bin\flutter.bat --verbose assemble --no-version-check --depfile
D:\IdeaProjects\myzarinpal-flutterv4\build\app\intermediates\flutter\debug/flutter_build.d --output D:\IdeaProjects\myzarinpal-flutterv4\build\app\intermediates\flutter\debug -dTargetFile=D:\IdeaProjects\myzarinpal-flutterv4\lib\main.dart
-dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true
--DartDefines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvbS9mbHV0dGVyLWNhbnZhc2tpdC8wNDgxN2M5OWM5ZmQ0OTU2ZjI3NTA1MjA0ZjdlMzQ0MzM1ODEwYWVkLw== -dFlavor= -dAndroidArchs=android-arm64 -dMinSdkVersion=21
-dIsAndroidLibrary=false debug_android_application
[  +36 ms] Successfully started process 'command 'D:\flutter\bin\flutter.bat''
[   +1 ms] [ +969 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +2 ms] [   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] [   +4 ms] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +8 ms] [   +9 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +9 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +11 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[  +21 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[  +23 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[  +49 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[  +34 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +78 ms] [+1699 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[  +27 ms] [  +56 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +2 ms] [  +31 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +34 ms] [   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +27 ms] [   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +6 ms] [   +1 ms] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +3 ms] [   +1 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[  +66 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +8 ms] [   +3 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[  +16 ms] [   +8 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +2 ms] [   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +8 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [   +6 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [   +5 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +10 ms] [  +10 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +17 ms] [   +2 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [   +1 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'PubDependencies' is not required, skipping update.
[   +1 ms] [ +877 ms] Initializing file store
[        ] [ +273 ms] Done initializing file store
[   +2 ms] [+1074 ms] native_assets: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: D:\IdeaProjects\myzarinpal-flutterv4\.dart_tool\package_config_subset}
[        ] [  +99 ms] Skipping target: gen_localizations
[        ] [  +14 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: D:\IdeaProjects\myzarinpal-flutterv4\.dart_tool\package_config_subset}
[        ] [ +710 ms] Found plugin app_links at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\app_links-3.5.0\
[        ] [ +991 ms] Found plugin connectivity_plus at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\connectivity_plus-5.0.2\
[   +2 ms] [  +91 ms] Found plugin device_info_plus at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\device_info_plus-9.1.2\
[        ] [  +73 ms] Found plugin file_picker at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\file_picker-5.5.0\
[        ] [  +27 ms] Found plugin file_selector_linux at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\file_selector_linux-0.9.2+1\
[        ] [  +10 ms] Found plugin file_selector_macos at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\file_selector_macos-0.9.3+3\
[  +20 ms] [  +16 ms] Found plugin file_selector_windows at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\file_selector_windows-0.9.3+1\
[   +8 ms] [   +6 ms] Found plugin firebase_auth at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_auth-4.17.4\
[        ] [  +14 ms] Found plugin firebase_auth_web at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_auth_web-5.9.4\
[        ] [  +38 ms] Found plugin firebase_core at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core-2.25.4\
[  +95 ms] [  +18 ms] Found plugin firebase_core_web at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core_web-2.11.4\
[  +18 ms] [   +8 ms] Found plugin firebase_database at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_database-10.4.5\
[   +9 ms] [  +18 ms] Found plugin firebase_database_web at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_database_web-0.2.3+21\
[  +17 ms] [   +6 ms] Found plugin firebase_messaging at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.7.15\
[   +5 ms] [  +26 ms] Found plugin firebase_messaging_web at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging_web-3.6.4\
[   +3 ms] [  +32 ms] Found plugin flutter_downloader at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_downloader-1.11.6\
[  +21 ms] [  +73 ms] Found plugin flutter_local_notifications at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_local_notifications-16.3.2\
[  +19 ms] [  +22 ms] Found plugin flutter_native_splash at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_native_splash-2.3.1\
[   +2 ms] [   +6 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_plugin_android_lifecycle-2.0.17\
[   +3 ms] [  +66 ms] Found plugin google_sign_in at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\google_sign_in-6.2.1\
[   +5 ms] [   +8 ms] Found plugin google_sign_in_android at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\google_sign_in_android-6.1.21\
[   +1 ms] [   +4 ms] Found plugin google_sign_in_ios at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\google_sign_in_ios-5.7.4\
[   +5 ms] [  +21 ms] Found plugin google_sign_in_web at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\google_sign_in_web-0.12.3+2\
[   +1 ms] [  +65 ms] Found plugin gtk at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\gtk-2.1.0\
[   +4 ms] [  +44 ms] Found plugin image_gallery_saver at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_gallery_saver-2.0.3\
[   +2 ms] [   +4 ms] Found plugin image_picker at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_picker-1.0.7\
[   +8 ms] [   +3 ms] Found plugin image_picker_android at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_picker_android-0.8.9+3\
[  +27 ms] [   +6 ms] Found plugin image_picker_for_web at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_picker_for_web-3.0.2\
[  +21 ms] [   +3 ms] Found plugin image_picker_ios at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_picker_ios-0.8.9+1\
[   +2 ms] [  +23 ms] Found plugin image_picker_linux at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_picker_linux-0.2.1+1\
[   +5 ms] [  +14 ms] Found plugin image_picker_macos at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_picker_macos-0.2.1+1\
[   +1 ms] [  +10 ms] Found plugin image_picker_windows at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\image_picker_windows-0.2.1+1\
[   +1 ms] [  +98 ms] Found plugin open_file at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\open_file-3.3.2\
[   +2 ms] [  +18 ms] Found plugin package_info_plus at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\package_info_plus-4.2.0\
[   +3 ms] [  +23 ms] Found plugin path_provider at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\path_provider-2.1.2\
[   +1 ms] [   +6 ms] Found plugin path_provider_android at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\path_provider_android-2.2.2\
[   +1 ms] [   +4 ms] Found plugin path_provider_foundation at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\path_provider_foundation-2.3.2\
[   +1 ms] [   +6 ms] Found plugin path_provider_linux at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\path_provider_linux-2.2.1\
[   +7 ms] [  +11 ms] Found plugin path_provider_windows at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\path_provider_windows-2.2.1\
[   +5 ms] [  +14 ms] Found plugin permission_handler at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\permission_handler-10.4.5\
[  +51 ms] [   +4 ms] Found plugin permission_handler_android at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\permission_handler_android-10.3.6\
[ +307 ms] [   +6 ms] Found plugin permission_handler_apple at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\permission_handler_apple-9.1.4\
[  +39 ms] [   +6 ms] Found plugin permission_handler_windows at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\permission_handler_windows-0.1.3\
[  +10 ms] [  +90 ms] Found plugin sentry_flutter at C:\Users\AlirezaBashi\AppData\Local\Pub\Cache\hosted\pub.dev\sentry_flutter-7.16.1\
[  +12 ms] [  +20 ms] Found plugin share_plus at C:\Users\Alire

Flutter Doctor
C:\Users\AlirezaBashi>flutter doctor -v
[✓] Flutter (Channel stable, 3.19.0, on Microsoft Windows [Version 10.0.19045.4046], locale en-US)
    • Flutter version 3.19.0 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (4 weeks ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\AlirezaBashi\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: D:\Programs\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2022.3)
    • Android Studio at D:\Programs\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.2
    • Flutter plugin version 78.1.1
    • Dart plugin version 233.13135.65

[✓] VS Code (version 1.87.0)
    • VS Code at C:\Users\AlirezaBashi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[✓] Connected device (4 available)
    • SM A536B (mobile) • RZCT40HELFW • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.19045.4046]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 122.0.6261.112
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 122.0.2365.80

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 cat

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

This was fixed in https://github.com/fluttercommunity/plus_plugins/pull/2599 still pending to release.

Thank you. When will the new version come?

the next release plan is discussed in the pinned issue: https://github.com/fluttercommunity/plus_plugins/issues/2653

Part of 6.0.1 release


Back-Button in MFA / U2F / OTP missing

Describe the bug
If a user clicks on either option to set up MFA or OTP, they have no option to go back. If browser-back is used, the "please reload this post form" occurs which then reloads the MFA / OTP site.
Expected behavior
There should be a back button if a user accidentally clicks on either option.
Screenshots

Thanks @buehler for reporting.
This is actually a rendering bug. I've located the error and will deploy a fix within the next hours.

fixed with #2224 and now deployed to production


Better spec pulling flow using releases

I think the best way to pull the spec is to use releases and pre-releases. The API can download the latest release from github into /spec.
Advantages:

The relation engine API on CI (kbase staging) can pull from prereleases, while prod pulls normal releases
Can use the release webhook event from github to get new releases
Can easily get info about the latest release with: https://developer.github.com/v3/repos/releases/
Can just download the tar and extract to /spec, so we don't have to install git in the container, and we don't run the risk of the git repo getting messed up
Can exclude files (such as test files) in the release
We can have a lot of control over what gets released

Closed by PR https://github.com/kbase/relation_engine_api/pull/11


README: Update the example using up-to-date API

Deprecated endpoints return 404 code, so the quick example is no more usable.
This commit uses the currently recommended vehicle_data endpoint.

Thanks!


chore(drive): improve withdrawal logging

Issue being fixed or feature implemented

During debugging we need more verbose information in logs
What was done?

Updated some log messages and data

How Has This Been Tested?

Debugging locally
Breaking Changes

None
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
[x] I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

Summary by CodeRabbit

New Features

Enhanced clarity in transaction logging by renaming "withdrawal transactions" to "asset unlock transactions."
Updated logging messages for rebroadcasting expired withdrawals for improved consistency.

Bug Fixes

Improved error handling in transaction broadcasting, now including transaction index for better failure context.

Refactor

Streamlined transaction payload handling for more efficient processing.

@coderabbitai review


etcd-snapshot subcommand does not out debug logs even when --debug flag is provided

Environmental Info:
K3s Version:

Master branch
Cluster Configuration:

Any etcd cluster
Describe the bug:

With a running k3s server, calling k3s etcd-snapshot save --debug does not correctly output debug logs.
Steps To Reproduce:

Installed K3s:

Steps To Reproduce:
Installed K3s:
Run any cluster
Attempt to save a snapshot with the --debug flag set in either CLI or config.yaml

Expected behavior:
All k3s subcommands that support debug flag should output debug logs
Actual behavior:
Only server and agent output debug logs with the flag set.
etcd-snapshot and others do not.
Backporting

[X] Needs backporting to all older releases.

Validated using the commit 48ffed38522aea0003b1997367969936967c8489 from master branch. Passing --debug flag displays the debug logs while using etcd-snapshot subcommands.
$ sudo k3s etcd-snapshot save --debug
INFO[0000] Managed etcd cluster bootstrap already complete and initialized
INFO[0000] Applying CRD addons.k3s.cattle.io
DEBU[0000] DesiredSet - Patch apiextensions.k8s.io/v1,

Validated on rc using k3s version v1.23.2-rc1+k3s1


wasm: fix for Initobj fails to compile for structs with double fields

There was no path for initialising double fields in structs so the following struct failed to compile the Initobj call:
public struct StructWithDouble
{
    public double DoubleField;
}

This PR adds double support for Initobj opcode.

closing to redo CI

@dotnet-bot test Windows_NT_Wasm Release WebAssembly
@dotnet-bot test Windows_NT_Wasm Debug and CoreCLR tests WebAssembly

@dotnet-bot test OSX10.12 Debug and CoreFX tests


Unable to load font from cyrilic folder path

This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.12
Reported for operating system, platform: Windows 7, x86_64
Comments on the original bug report:
On 2015-10-09 22:43:08 +0000, Dimitry wrote:

When trying to load font from a path  /user/Папка/font.ttf
it would result in an error and the pointer returned as 0.

On 2015-10-10 20:03:02 +0000, Philipp Wiesemann wrote:

Thank you for reporting this problem.
What is the error message returned by TTF_GetError() after loading the font failed?

This should be fixed with the latest version of SDL. Please reopen this bug if it's still active.


Incompatible library version

Ran installation instructions
import osmnx as ox
%matplotlib inline
ox.config(log_file=True, log_console=True, use_cache=True)

Received error
ImportError: dlopen(/Applications/anaconda/lib/python3.6/site-packages/fiona/ogrext.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libpng16.16.dylib
  Referenced from: /Applications/anaconda/lib/libgdal.20.dylib
  Reason: Incompatible library version: libgdal.20.dylib requires version 45.0.0 or later, but libpng16.16.dylib provides version 44.0.0

I'm on a Mac, OS Sierra. Python 0.2.1
Last successful Terminal entry was...
[I 21:52:18.347 NotebookApp] Saving file at /Untitled1.ipynb
conda create --yes -c conda-forge -n OSMNX python=3.6 osmnx
source activate OSMNX
python -c 'import osmnx; print(osmnx.version)'
0.2.1

See #25 for suggestions.
As this is an issue with conda installation (of dependencies) rather than with the OSMnx codebase, I'm going to close this here. Please feel free to open an issue at https://github.com/conda-forge/osmnx-feedstock/issues and we can assist there in the relevant repository.

For future reference, see https://github.com/conda-forge/osmnx-feedstock/issues/14


MP3 importer works incorrectly

Godot version
4.0 mono
System information
windows10
Issue description
The specific mp3 audio imported within the editor does not play clearly
Steps to reproduce
1.Download this audio file
tapSound.zip
2.Play using the system player
3.Play after import to Godot editor
4.Compare the sound when played twice
Minimal reproduction project
N/A

Information about the MP3 file:
$ ffprobe -i tapSound.mp3
Input #0, mp3, from 'tapSound.mp3':
Duration: 00:00:00.48, start: 0.023021, bitrate: 193 kb/s
Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
encoder         : LAME3.99r

https://user-images.githubusercontent.com/119792950/229340115-acd4e90d-6972-401d-9d1f-f437924a9107.mp4
This video may show the problem

Here are the waveforms from your video. Apart from the initial moment, both waves look identical:

The difference is so small that I'm not sure if this is an issue with Godot; it might be some setting in your system player that's causing this, like an equalizer. Try from another fresh media player without any custom settings (e.g. VLC) to see if it sounds the same as well.

I checked my system player and the equalizer does not open
Could it be the problem of the wave at the initial moment?
By the way, if you check loop playback when importing, the audio played the second time will sound the same as the sound of the system player

By the way, if you check loop playback when importing, the audio played the second time in the loop will sound the same as the sound of the system player

I noticed it now indeed, and the second time the waveform looks like the one from the system player, so it seems like that initial bit is softer the first time.

I applied a "fade-in" effect on Audacity and the waveform changes to almost exactly how Godot outputs the first time, maybe something like that is being applied internally?
https://user-images.githubusercontent.com/6501975/229371128-401abeba-6258-4f41-b894-9df9f6ee8d8f.mp4
Can you also try converting this sound to another audio format (.OGG or .WAV) to check if the same thing happens?

Audio in OGG format seems to have the same problem

Tested this on Godot 3 and the issue isn't ocurring there.

cc @ellenhp

This is related to the fade-in code that I was trying to fix in #71780

cc @ellenhp
This may be related to a different resampler being updated in 4.0. Cubic resampling is now used for all audio formats for greater consistency during playback.

Unrelated but wavs still use linear resampling as far as I know.


Fixed hlsl cbuffer variable gen bug

the cbuffer variables with elements not equal to zero should generate as array

I made a new PR,I will close this one


getting unexpected characters instead outerHTML string

Thank you for very helpful library.
I am scraping a multilingual content, and one of the is language is Russian. I am getting this very unexpected characters(I think unicode) instead of normal strings. This is problematic for my database searches.
I think some where in the library if  function config     how:"html"   is used , then the strings are changed to hexadecimal char like representation.When I embed it in the browser it gives me normal html out put but storing these characters in the database is problematic. When I omit this option the the innerText is returned successfully. But I want all the html part of the scrapped content.
can you help?
I think it is related to cherio, please look here https://github.com/cheeriojs/cheerio/issues/565
thanks
Here is more info on  sample configuration
{    "selectors":{       "getURLs":{          "articles":{             "listItem":".news-inline-item",             "data":{                "url":{                   "selector":"a",                   "attr":"href"                }             }          }       },       "getPostContent":{          "title":".article-column h1",          "content":{             "selector":".article-text",             "how":"html"          },          "images":{             "listItem":".article-text",             "data":{                "img":{                   "selector":"img",                   "attr":"src"                }             }          }       }    } }

Here is the url https://www.unian.ua/economics/agro/10708731-ukrajina-skorotila-eksport-cukru-mayzhe-na-tretinu.html

Thanks
I resolved it using Cherio, I think it's good if we have such config in this lib
   const ch = cheerio.load(${content}, { decodeEntities: false });     return ch('div').html();

Has a way to set this config on scrapeit ops?


Add additional store field when rule type is query or webhook

Addresses https://github.com/spaceuptech/space-cloud/issues/1268

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update readme, show different dist tags

Fixes #160

No problem, that's been done.

Cool, thanks a lot!


repro only uses one core to build

I'm not sure if this is intentional, due to makepkg or due to nspawn. Having all cores available would be great when rebuilding core since it contains multiple gcc packages. :)

Two folded. /usr/share/devtools doesn't set it. If anything it is read from ~/.makepkg.conf and do you want us to just set MAKEPKG="-j$(nproc)" by default in the container?

I think repro should do the same as devtools and keep {SRC,SRCPKG,PKG,LOG}DEST, MAKEFLAGS and PACKAGER from the host makepkg.conf.

@FFY00 There is no host makepkg.conf. Repro does not assume an Arch LInux host, which is why it goes through the current troubles.

Yes, and why is it not acceptable to read /etc/makepkg.conf if we document it?
And sorry, I messed up the order. I meant check ~/.makepkg.conf first and then fallback to /etc/makepkg.conf.

The issue of defaulting to one core is that it's going to become a common gotcha because this becomes an extra step in the setup instructions of a rebuilder. People running rebuilders shouldn't be required to have the same level of experience as packagers.

If packagers can't deal with this then we are all doomed.
I am not thinking of any major reason why we couldn't read /etc/makepkg.conf in other distributions, at least for getting MAKEFLAGS. If this is really a problem then we can add a build system flag to disable this behavior.
But anyway, it isn't a big deal.

Repro isn't suppose to be used by packagers. But by users that want to reproduce their packages.

Right, very well.
I still think a build system flag to enable/disable this behavior is a good solution.
But maybe we should just default to -j$(nproc) as a user is not expected to edit any makepkg.conf to get large builds to not take forever.


Vend the JDK with the engine

We do this for other toolchains but not Java.
It causes problems like https://github.com/flutter/engine/pull/27332 where a developer has JDK9+ installed and we only really work with 8.
This would also allow for simplification of the recipes, since the recipe would no longer have to download the JDK.

The current plan is to consume the JDK from the internal cipd package, and consume it via flutter_deps/.ci.yaml files on LUCI bots - https://github.com/flutter/engine/blob/bbd70828cdf949d54dd110c4e4536c04367490f1/.ci.yaml#L25
We are also clear to consume the Open JDK from a public cipd package/DEPS.  This has the added benefit that developers can use it for local development.


Any statistical considerations behind the choice of 'valid_size', and 'test_size'?

Hello,
First of all, I want to say how much I admire the incredible work your team has done! I'm really excited about the direction your team proposed with the automatic design of agent systems.
I have a quick question regarding the choice of validation and test set sizes. I've noticed that across different benchmark datasets, the validation set size is mostly set to 128 and the test set size to 800.
I'm curious to know if there are any statistical considerations or reasoning behind these specific numbers, regardless of the dataset.
Thank you.

Thank you for your comment and your kind words on our work! We did not have rigorous statistical considerations behind those numbers. The numbers are set based on the engineering insights from our empirical study to balance the cost and accuracy of evaluation. But I do believe further analysis on it will be interesting if you are interested in this parameter choice (which is also a common parameter in other autoML areas like NAS).

Thank you for your quick reply and the insights! I wanted to make sure before we run multiple experiments.


Figure out what to do with NTP in airgapped environments

With crc proxy support enabled, there are still some ntp requests
going to random servers, we need to understand how this should be handled
(I assume we should give a way to configure it to an internal ntp source?)

https://www.openshift.com/blog/advanced-network-customizations-for-openshift-install has some doc around this, but it is at install time.


deploy_block PRs whose parent branch is not master

I think it'd be nice if we could automatically deploy_block pulls that are dependent on other PRs going out first. One way to identify likely candidates is if their base branch is not master.
I know some of our repos use main as the master branch, so that might complicate things. Does GitHub's API indicate which is the master branch?

I know some of our repos use main as the master branch, so that might complicate things. Does GitHub's API indicate which is the master branch?

Example of a pull request which the parent branch is master
https://github.com/iFixit/ifixit/pull/46808

Example of a pull request which the parent branch is not master
https://github.com/iFixit/ifixit/pull/46899

https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#get-a-pull-request

Maybe a quick check that ref is not master or main could help in determining this

Looks like this API endpoint returns the repo's default branch: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-organization-repositories


Automatically revert slashes in Snakenet

Testnet slashes should be still tracked, but not applied. Therefore they should be automatically reverted before the grace period.
Context
We want to have the testing environment as close as possible, therefore we want to test slashing as well, but we don't want to apply penalties. We should maybe even reward those testing and exploring slashing conditions somehow.
Possible Implementation
A couple of implementation options comes to mind

bot that would automatically send sudo transactions (possibly batched) to revert slash
extrinsic applied automatically on the end of an era in runtime

I'd close this for now as this happens very occasionally and it's not hard to cancel manually.


Propagate opts when process child

Environment

Elixir version (elixir -v): 1.10.3
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): Postgres
Ecto version (mix deps): 3.4.4
Database adapter and version (mix deps): postgrex 0.15.4
Operating system: Mac OS

Current behavior
If I try to inject Repo and want to extend "Shared options" passed to the repo to apply it for each insert/update/delete statements then it is not passed to child inserts
Having my repo like this
defmodule EctoOpts.Repo do
  use Ecto.Repo,
    otp_app: :ecto_opts,
    adapter: Ecto.Adapters.Postgres

  defoverridable([insert: 2])

  def insert(struct, opts) do
    IO.puts "#{inspect opts}"
    super(struct, opts)
  end
end

and having the test like
test "do it" do
  user_attrs = %{
    "posts" => [
      %{}
    ]
  }

  %EctoOpts.User{}
  |> EctoOpts.User.changeset(user_attrs)
  |> Repo.insert(foobar: :enable)
end

then I get next output
> Executing task: mix test test/ecto_opts/test_opts_case_test.exs <

00:19:34.403 [info]  Already up
[foobar: :enable] # which is User insert call
[] # which is Post insert call

Is it works like this for some reason? In my project I made a workaround playing with Process.put/Process.get combo to propagate the setting for child inserts and then restore the state after action was done, but looks dirty imho.
Expected behavior
The opts are available recursively to each action call

Post is an association on the User, right? Internal operations like inserting association don't go through the main API (that you're overriding) so that's why it doesn't work. Your best bet is using default_options/1 callback.

@wojtekmach If it doesn't go though the main API that I am overriding then why it is called twice?
[foobar: :enable] #Ecto.Changeset<action: nil, changes: %{posts: [#Ecto.Changeset<action: :insert, changes: %{}, errors: [], data: #EctoOpts.Post<>, valid?: true>]}, errors: [], data: #EctoOpts.User<>, valid?: true>
[] #Ecto.Changeset<action: :insert, changes: %{user_id: 7}, errors: [], data: #EctoOpts.Post<>, valid?: true>

you showed how you're inserting user, could you show how you're inserting the post?

@wojtekmach I am not inserting the post manually :) it is a part of cast_assoc/3 in the User
  user_attrs = %{
    "posts" => [
      %{}
    ]
  }

  %EctoOpts.User{}
  |> EctoOpts.User.changeset(user_attrs)
  |> Repo.insert(foobar: :enable)

User.ex
defmodule EctoOpts.User do
  use Ecto.Schema

  import Ecto.Changeset

  schema "users" do
    has_many :posts, EctoOpts.Post
  end
  def changeset(struct, attrs) do
    struct
    |> cast(attrs, [])
    |> cast_assoc(:posts)
  end
end

Post.ex
defmodule EctoOpts.Post do
  use Ecto.Schema

  import Ecto.Changeset

  schema "posts" do
    belongs_to :user, EctoOpts.User
  end

  def changeset(struct, attrs) do
    struct
    |> cast(attrs, [])
  end
end

never mind, you're using associations. yeah, we don't guarantee that the options are passed through down to associations.

Right. We don’t guarantee neither insert (It May work in some cases) will be called nor pass the options downstream. It is easier if you tell us generally about your use case.

Right! Why guarantee? It is just about pass the options. Are all nested assoc inserts done within same process? Barely viewing the code seems it is.
The default_options/1 provides only global setting per operation for the repo which is in terms of current issue isn't enough.
The idea behind is to collect the changes make by repo per schema. And Repo seems the best entry point to do this. The best place to control the behaviour is use opts variable and adjust the flow to track/to do not track changes for example in tests, per case, etc.

@josevalim Just did it :)

you're still not telling us your use case, what options do you want to pass - what will you do with them?

Hmmm
The case is to take changes and store them somewhere(other db, file, whatever) but on recursive basis, all associated changes are tracked. The tracking depends on an option to disable/enable to be excluded with factories, tests, other specific change cases when it is not required.
# Main app repo
defmodule MyApp.Repo do
  use Ecto.Repo ...

  use MyTracker.Repo
end

# An extension to override main repo
defmodule MyTracker.Repo do
  defoverridable([insert: 2])

  defp do_tracking(%Ecto.Changeset{} = cs) do
    # Basicly get .changes and store them(somewhere).
  end

  def insert(struct, opts) do
    if Keyword.get(opts, :tracking_enabled, false) do
      do_tracking(struct)
    end
    super(struct, opts)
  end
end

# Expects to create User in my Repo, track User and all nested structs downside the changes tree
def do_something_important_here1(attrs) do
  MyApp.User
  |> MyApp.User.changeset(attrs)
  |> MyApp.Repo.insert([tracking_enabled: true])
end

# Expects to do not track anything and User is created
def do_something_important_here2(attrs) do
  MyApp.User
  |> MyApp.User.changeset(attrs)
  |> MyApp.Repo.insert()
end

We were used to pass all options but some actions caused issues when passed down, such as :on_conflict and returning, so we made it opt-in. Generally speaking, your pattern of overriding insert/2 is not officially supported, as insert/2 is not guaranteed to be re-entrant, so we would need another mechanism to support this. This particular feature can most likely be supported with changeset+prepare_changes, which I think is a clearer mechanism than overriding the repo.

@josevalim thanks for the answer!
Seems it would be legal to inject aka inherit Ecto.Changeset, let's say as MyApp.Ecto.Changeset, override cast/3 to automatically append current changeset to prepare_changes queue. For sure I have then edit all Repo.delete/2 usage and wrap it into changeset to get prepare changes call.

Still curios about the guarantee when associated insert isn't called. Does it go through associations and just applies exactly the same steps as parent's changeset?
Reading the code from the first sight always leads to this line which takes the current repo and applies the action which triggers Schema's action which triggers prepare_changes. Could you please provide an example for a such case or point to the code?

We call it for insert but you can see some association operations, such as delete_all and update_all, bypass the repo. But the point is we cannot guarantee this will always work, the fact we do call it is just a convenient implementation detail.

The first issue I see is how to track deletion, the plan is to query inside overridden delete/2 related schemas to delete and track the deletion. May I say it covers the case? Feels like yes.
The same is applicable for update/2 where it is possible to extract the diff(what is inserted/deleted) and track delete/insert as well.
I assume that when you mentioned delete_all and update_all they are related to delete/nilify callbacks because I found only this and this. For sure it would be great to have a single entry point for repo manipulation because it allows to get the returning which could be useful, I guess.
May be now I started to understand what you were trying to say. If "guarantee" is about it could break your logic later because of some internal changes then alright, it is time to take prepare_changeset solution which is less elegant comparing to the Repo pattern. Moreover it increases refactoring to existing project. If "guarantee" resides in hidden, non-controllable cascade calls then seems it is possible to handle them until Ecto becomes API stable v2 with more guarantees :)


Add build and usage guide

Building this project can be hard and confusing for people who have no experience with Java and it's hard to use it for people unfamiliar with CLI.

Grab a binary release from https://github.com/OlegSmelov/omgrofl-interpreter/releases


Creating a user in empty database fails

This commit (4e6006dcc88049a3fbcb45bc6ed96d74371b3f41) tries to create the auth_token during User creation, but in an empty database, the assign_user_id method won't do anything - I think.
I've changed the README (in a coming PR) to show with mysql that db:setup should be used instead of db:create and db:migrate because the latter won't execute seeds.rb, leaving the db empty.
Be good to fix the bug - probably in assign_user_id - 0d84112 - to make sure at least 1 is assigned.

Understood, yes their was some level of assumption that folks would seed the db, oops! Seems like a no-brainer in retrospect.

Also, I just realized what you meant w/ regards to the README. The first example shows db:setup but when we talk about mysql we demonstrate using rake db:create db:migrate, instead. Are you tackling this in the PR or should I assign myself?

You can do it - I'm going through the exercises again for my annualish review of these items. I may pick up some other tweaks and submit them all at once - I dunno - but I don't know if I'll get to stay heads down on this enough this week :)

Ha! Luckily I'm dedicating some time to a "refresh" of this platform over the next few weeks. Appreciate your efforts on this btw!

I ran across this again today, and a related problem in UserFixture and had to fix both to continue:
From b320f779adb6bb036708b556e62c0a97a9417774 Mon Sep 17 00:00:00 2001
From: chrismo<EMAIL_ADDRESS>Date: Tue, 6 Jan 2015 11:47:05 -0600
Subject: [PATCH] assign_user_id and UserFixture password fixes.

When the database is empty, which can happen in the test database and in
the dev database if the seeds.rb aren't applied, the assign_user_id
method would not assign an id and the newer before_filter block to
generate_token would fail.

UserFixture had a password on it that wouldn't pass the new validation
rules once that vulnerability is patched.
---
 app/models/user.rb           | 6 +++++-
 spec/support/user_fixture.rb | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app/models/user.rb b/app/models/user.rb
index 9c5cc7f..21b4fd1 100755
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -77,7 +77,11 @@ class User < ActiveRecord::Base
   def assign_user_id
     unless @skip_user_id_assign.present? || self.user_id.present?
       user = User.order("user_id").last
-      uid = user.user_id.to_i + 1 if user && user.user_id && !(User.exists?(:user_id => "#{user.user_id.to_i + 1}"))
+      uid = if user && user.user_id && !(User.exists?(:user_id => "#{user.user_id.to_i + 1}"))
+              user.user_id.to_i + 1
+            else
+              1
+            end
       self.user_id = uid.to_s if uid
     end
   end
diff --git a/spec/support/user_fixture.rb b/spec/support/user_fixture.rb
index 8a5f182..bb71be2 100644
--- a/spec/support/user_fixture.rb
+++ b/spec/support/user_fixture.rb
@@ -5,14 +5,14 @@ class UserFixture
   end

   def self.normal_user
-    password = 'aoeuaoeu'
+    password = 'thi$ 1s cOmplExEr'
     user = User.new(:first_name => 'Joe', :last_name => 'Schmoe',
                     :email =><EMAIL_ADDRESS>:password => password, :password_confirmation => password)
     def user.clear_password
-      'aoeuaoeu'
+      'thi$ 1s cOmplExEr'
     end
     user.build_benefits_data
     user.save!
     user
   end
-end
\ No newline at end of file
+end
--
1.8.4

If you save all of that to file.patch, should be able to apply with git am < file.patch

Done in 73e8ab972b29a716e0f87cb053f99b058a01b2bf. Thanks again! Also, I think I'll end up putting up a flash notification that you need to seed the data if the db shows empty (since we want folks to seed so that they can correctly utilize the application for training).


Update README.md

added a section describing the process of using PacBio long reads to the documentation

Hey @biobrad ,
Thanks for this mate - I'm going to close this PR and add your changes into the docs instead of the main readme.
George

No worries mate. Cheers for the heads up.
On Tue, 27 Feb 2024, 12:30 pm George Bouras, @.***>
wrote:

Hey @biobrad https://github.com/biobrad ,
Thanks for this mate - I'm going to close this PR and add your changes
into the docs instead of the main readme.
George
—
Reply to this email directly, view it on GitHub
https://github.com/gbouras13/hybracter/pull/53#issuecomment-1965653783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANITBGV243GEYS7ZNA2VRS3YVU42NAVCNFSM6AAAAABCN27J42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRVGY2TGNZYGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Bug]: TypeScript Linting Errors occuring again with Expo SDK 47

Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS, Android
@rnmapbox/maps version
10.0.0-beta.56
Standalone component to reproduce
npx tsc --version
Version 4.8.4

 npx tsc --noemit
node_modules/@rnmapbox/maps/javascript/components/Atmosphere.tsx:25:7 - error TS2322: Type 'ComponentType<any>' is not assignable to type 'HostComponent<{ reactStyle?: { [key: string]: StyleValue; } | undefined; style?: undefined; }>'.
  Type 'ComponentClass<any, any>' is not assignable to type 'HostComponent<{ reactStyle?: { [key: string]: StyleValue; } | undefined; style?: undefined; }>'.
    Type 'Component<any, any, any>' is not assignable to type 'Component<{ reactStyle?: { [key: string]: StyleValue; } | undefined; style?: undefined; }, {}, any> & Readonly<NativeMethods>'.
      Type 'Component<any, any, any>' is not assignable to type 'Readonly<NativeMethods>'.

25 const RCTMGLAtmosphere: HostComponent<{
         ~~~~~~~~~~~~~~~~

node_modules/@rnmapbox/maps/javascript/components/MarkerView.tsx:149:7 - error TS2322: Type 'ComponentType<any>' is not assignable to type 'HostComponent<NativeProps>'.
  Type 'ComponentClass<any, any>' is not assignable to type 'HostComponent<NativeProps>'.
    Type 'Component<any, any, any>' is not assignable to type 'Component<NativeProps, {}, any> & Readonly<NativeMethods>'.
      Type 'Component<any, any, any>' is not assignable to type 'Readonly<NativeMethods>'.

149 const RCTMGLMarkerView: HostComponent<NativeProps> =
          ~~~~~~~~~~~~~~~~

node_modules/@rnmapbox/maps/javascript/components/PointAnnotation.tsx:229:7 - error TS2322: Type 'ComponentType<any>' is not assignable to type 'NativePointAnnotation'.
  Type 'ComponentClass<any, any>' is not assignable to type 'HostComponent<NativePointAnnotationProps>'.
    Type 'Component<any, any, any>' is not assignable to type 'Component<NativePointAnnotationProps, {}, any> & Readonly<NativeMethods>'.
      Type 'Component<any, any, any>' is missing the following properties from type 'Readonly<NativeMethods>': measure, measureInWindow, measureLayout, setNativeProps, and 2 more.

229 const RCTMGLPointAnnotation: NativePointAnnotation =
          ~~~~~~~~~~~~~~~~~~~~~

node_modules/@rnmapbox/maps/javascript/components/ShapeSource.tsx:411:7 - error TS2322: Type 'ComponentType<any>' is not assignable to type 'NativeShapeSource'.
  Type 'ComponentClass<any, any>' is not assignable to type 'HostComponent<NativeProps>'.
    Type 'Component<any, any, any>' is not assignable to type 'Component<NativeProps, {}, any> & Readonly<NativeMethods>'.
      Type 'Component<any, any, any>' is not assignable to type 'Readonly<NativeMethods>'.

411 const RCTMGLShapeSource: NativeShapeSource =
          ~~~~~~~~~~~~~~~~~

Found 4 errors in 4 files.

Errors  Files
     1  node_modules/@rnmapbox/maps/javascript/components/Atmosphere.tsx:25
     1  node_modules/@rnmapbox/maps/javascript/components/MarkerView.tsx:149
     1  node_modules/@rnmapbox/maps/javascript/components/PointAnnotation.tsx:229
     1  node_modules/@rnmapbox/maps/javascript/components/ShapeSource.tsx:411

Observed behavior and steps to reproduce
I once again see TypeScript errors after I upgraded to Expo SDK 47 and Node 18. I yet didn't find the actual reason as tsconfig.json seems to stay the same aswell as my TypeScript version.
Expected behavior
No response
Notes / preliminary analysis
Is the /javascript directory actually meant to be shipped? Isn't the stuff in /lib enough?
Additional links and references
See also #2264 and #2333.

@KiwiKilian can you reproduce in a new expo project as well?!
Maybe we should be using the types key in package.json with something like this:
"types": "lib/typescript/index.d.ts",

Is the /javascript directory actually meant to be shipped? Isn't the stuff in /lib enough?

We're using the config suggested by react-native builder bob - https://github.com/callstack/react-native-builder-bob#manual-configuration

It's usually good to point to your source code with the react-native field to make debugging easier. Metro already supports compiling a lot of new syntaxes including JSX, Flow and TypeScript and it will use this field if present.

It's the same stuff used by react-native-reanimated and native-base for example
https://github.com/software-mansion/react-native-reanimated/blob/0d1cf52a5fb7ebdf5f6ab2d46a86e338473abe6e/package.json#L32
https://github.com/GeekyAnts/NativeBase/blob/master/package.json#L45

I have the same issue without using expo.
FYI, I created a project recently using react-native-builder-bob and here is the configuration
  "main": "lib/commonjs/index",
  "module": "lib/module/index",
  "types": "lib/typescript/index.d.ts",
  "react-native": "src/index",
  "source": "src/index",

Im puzzled, can't yet reproduce in a new Expo project... Might have to investigate further.
Which would be the correct main type file? Isn't it still /index.d.ts or really lib/typescript/index.d.ts?

@Andarius maybe you want to also try my fix in #2418 – simply change your version of @rnmapbox/maps in the package.json to github:trafficon/rnmapbox-maps#feature/require-native-component-type and check if the linting errors are also fixed for you.
Sadly I wasn't able to create a reproduction...

Hey @KiwiKilian, thanks for the fix! It works perfectly!

Ok, then I hope to we get #2418 merged and the next beta should be fine to use again.


Add function to retrieve title ID (3ds) or game code (nds) from ROM or directory

The game title ID for a 3ds game is in the Exheader at 0x1C8 / 0x200
Low title ID 0x230
(if that can help)


Use array path when delimiter is false

Addresses #19 and #25.
I went through some effort to make this backwards compatible - no external-facing behavior should be different using default options.  This could be made simpler by breaking the default behavior, so let me know which you would prefer.
User-facing changes:

The :delimiter option now takes false, in which case paths are returned as arrays rather than strings (#19).
Added a new option :stringify_keys, defaulting to true.

When false, object keys will not be converted to strings in array paths.
This should allow for diffing of objects where symbol keys have meaning (#25).
This only applies if :delimiter is false.

patch! and unpatch! work automatically with array paths, no option necessary.
Added README.md description of new option values.

Internal changes:

:prefix is now maintained in all relevant functions (most notably missing was diff_array).

When a change is added to the result set, it contains the fully qualified path and does not need an extra step to finalize it.

Paths are now maintained internally as array paths rather than string paths.

When :delimiter is in effect, these paths will be translated to string paths at the API boundaries.
'[*]' in string paths is now -1 in array paths (only exposed in comparison callbacks).

Broke diff_object out of diff, similarly to diff_array.
diff is now a wrapper for diff_internal

Primarily, this was to provide the API boundary for translating back to string paths.
Option default values are now applied once here, not every recursive call to diff_internal.

Removed several default values on options (most weren't used except in tests).

Let me know if this is too intrusive, I may have gotten carried away.

Added tests for the new behavior.

Thanks @grey-stripe , it looks great 👍  Sorry I somehow missed the PR notification.
You mentioned we it could be simpler by breaking the default behavior. I think I'm now happy to make a major release to break backward-compatibility, and make array diff the default. Could you update the PR?

@liufengyun - thanks for taking a look!  I removed the delimiter option so it no longer needs to translate array paths to string paths at the library boundaries.  I left patch backwards compatible because it did not complicate any of the other implementation, and (at least in my case), I have old patch diffs stored, and would like them to keep working when I upgrade.
Let me know if you'd like any other changes made.


Is there any difference in the new checker mode?

Is there any difference in the new checker mode?

the only diffrience on unmigrated checker mode is that it checks the username if its legacy before checking it on mojang's auth server, if its not a legacy username, it will be a "bad"


no way to edit /etc/pacman.d/mirrorlist and resolve.conf berfore installing archlinux

py -3 install.py base/archlinux
[*] Probing the Linux subsystem...
[*] Default user is thence at /home/thence.
[*] Reading /etc/{passwd,shadow,group,gshadow} entries for root and thence...
[*] Beginning extraction...
[!] Failed to extract usr/share/licenses/common/Apache/license.txt: [Errno 2] No such file or directory: 'C:\\Users\\thence\\AppData\\Local\\lxss\\home\\thence\\rootfs-temp\\usr\\share\\licenses\\common\\Apache\\license.txt'
[*] Backing up current rootfs to rootfs_base_archlinux_latest...
[*] Switching to new rootfs...
[*] Writing entries of root and thence to /etc/{passwd,shadow,group,gshadow}...
[*] Switching default user to root...
[*] Running post-install hook all...
[*] Detecting operating system...
[*] Initiating system upgrade...
:: Synchronizing package databases...
error: failed to update core (no servers configured for repository)
error: failed to update extra (no servers configured for repository)
error: failed to update community (no servers configured for repository)
error: failed to synchronize any databases
error: failed to init transaction (no servers configured for repository)
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: archlinux-keyring
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: fakechroot
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
:: Starting full system upgrade...
error: duplicated database entry 'acl'
error: duplicated database entry 'archlinux-keyring'
error: duplicated database entry 'attr'
error: duplicated database entry 'ca-certificates-mozilla'
error: duplicated database entry 'curl'
error: duplicated database entry 'e2fsprogs'
error: duplicated database entry 'expat'
error: duplicated database entry 'gnupg'
error: duplicated database entry 'gnutls'
error: duplicated database entry 'icu'
error: duplicated database entry 'libgcrypt'
error: duplicated database entry 'libidn'
error: duplicated database entry 'libpsl'
error: duplicated database entry 'libsystemd'
error: duplicated database entry 'libsystemd'
error: duplicated database entry 'libtasn1'
error: duplicated database entry 'lz4'
error: duplicated database entry 'perl'
error: duplicated database entry 'shadow'
error: duplicated database entry 'sqlite'
 there is nothing to do
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: ca-certificates-mozilla
error: target not found: gawk
[*] Fixing locale warnings...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Generating locales...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
  en_US.UTF-8ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
...ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
 done
Generation complete.
[*] Setting up sudo...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: sudo
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
grep: /etc/sudoers: No such file or directory
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
grep: /etc/sudoers: No such file or directory
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
[*] Fixing hostname resolution warnings with sudo...
[*] Installing patched fakeroot...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: base-devel
error: target not found: git
error: target not found: po4a
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/tmp/tmp.PQsAy9ZzUD /mnt/c/Users/thence/Downloads/WSL-Distribution-Switcher-master
/root/hook_postinstall_all.sh: line 201: git: command not found
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
sed: can't read PKGBUILD: No such file or directory
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
==> ERROR: PKGBUILD does not exist.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.

ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
==> ERROR: An unknown error has occurred. Exiting...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/mnt/c/Users/thence/Downloads/WSL-Distribution-Switcher-master
[*] Installing pacaur...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: yajl
error: target not found: expac
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
gpg: keyserver receive failed: Server indicated a failure
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/tmp/tmp.a3Nn7UAvHd /mnt/c/Users/thence/Downloads/WSL-Distribution-Switcher-master
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/root/hook_postinstall_all.sh: line 236: git: command not found
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
==> ERROR: PKGBUILD does not exist.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.

ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
==> ERROR: An unknown error has occurred. Exiting...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/root/hook_postinstall_all.sh: line 242: git: command not found
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
==> ERROR: PKGBUILD does not exist.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.

ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
==> ERROR: An unknown error has occurred. Exiting...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/mnt/c/Users/thence/Downloads/WSL-Distribution-Switcher-master
[*] Installing tools...
ERROR: ld.so: object '/usr/lib/libfakeroot/fakechroot/libfakechroot.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
error: target not found: vim
error: target not found: tmux
error: target not found: git
error: target not found: curl
error: target not found: wget
error: target not found: tar
error: target not found: gzip
error: target not found: bzip2
error: target not found: squashfs-tools
error: target not found: xz
[!] Failed to run hook in WSL: Command '['cmd', '/C', 'C:\\windows\\System32\\bash.exe', '-c', 'REGULARUSER="thence" WINVER="14393" /root/hook_postinstall_all.sh']' returned non-zero exit status 1.
[*] Switching default user back to thence...

Just don't rename hook_postinstall_all.sample.sh to hook_postinstall_all.sh before editing those files

Which Windows build are you using?  Also, pritunl hasn't been updated in a while.  Have you tried using the official Arch bootstrap tgz?

Installing official Arch bootstrap issuing this:
[*] Probing the Linux subsystem...
[*] Default user is root at /root.
[*] Reading /etc/{passwd,shadow,group,gshadow} entries for root...
[*] Beginning extraction...
[*] Backing up current rootfs to rootfs_ubuntu_xenial...
[*] Switching to new rootfs...
[*] Writing entries of root to /etc/{passwd,shadow,group,gshadow}...
[*] Running post-install hook all...
Error: 0x80070002
Press any key to continue…
[!] Failed to run hook in WSL: Command '['cmd', '/C', 'C:\\WINDOWS\\System32\\bash.exe', '-c', 'echo -n > /root/hook_postinstall_all.sh && chmod +x /root/hook_postinstall_all.sh']' returned non-zero exit status<PHONE_NUMBER>.


Reduce unneeded complexity (KISS)

Improve the code by reducing unnecessary abstractions.
This was pointed out by a user (Plecra) on Reddit
His comment:

My main recommendation would be to reduce your abstractions. The FileType trait isn't necessary - you only need a function that maps file types to headers (&'static [u8]), and another that can check them against a buffer. Other than that, there are a few nice std APIs that can help clean things up - iterator methods, ascii equality, etc.

The FileType trait has been removed. And the code has been improved. I'll leave this open for now though.


iso image with systemd stage1 fails to boot due to nonexistent /dev/root

Describe the bug
An iso image built with systemd stage1 (initrd.systemd.enable = true) fails to boot due to nonexistent /dev/root.
/etc/fstab:
overlay /nix/store overlay x-initrd.mount,lowerdir=/nix/.ro-store,upperdir=/nix/.rw-store/store,workdir=/nix/.rw-store/work 0 0

bash-5.2# systemctl status sysroot-iso.mount |cat
× sysroot-iso.mount - /sysroot/iso
     Loaded: loaded (/nix/store/4kazmgs52j4zp0kr3h5y9vdpmv6kc00d-initrd-fstab; generated)
     Active: failed (Result: exit-code) since Sun 2024-07-14 19:16:40 UTC; 1min 7s ago
      Where: /sysroot/iso
       What: /dev/root
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
        CPU: 1ms

Jul 14 19:16:40 localhost systemd[1]: Mounting /sysroot/iso...
Jul 14 19:16:40 localhost systemd[1]: sysroot-iso.mount: Mount process exited, code=exited, status=1/FAILURE
Jul 14 19:16:40 localhost mount[172]: mount: /sysroot/iso: no valid filesystem type specified.
Jul 14 19:16:40 localhost systemd[1]: sysroot-iso.mount: Failed with result 'exit-code'.
Jul 14 19:16:40 localhost systemd[1]: Failed to mount /sysroot/iso.

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 6.7.10, NixOS, 24.05 (Uakari), 24.05.20240317.f471be9
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.23.1
nixpkgs: /nix/store/xb5p9kg3gy00q7c8s638jf15j6qqj473-source

Add a :+1: reaction to issues you find important.

Experiencing the same issue but via nix-community/nixos-images#258.
full contents of fstab:
tmpfs / tmpfs x-initrd.mount,mount=0755 0 0
/dev/root /iso auto x-initrd.mount 0 0
/iso/nix-store.squashfs /nix/.ro-store squashfs x-initrd.mount,loop 0 0
tmpfs /nix/.rw-store tmpfs x-initrd.mount,mode=0755 0 0
overlay /nix/store overlay x-initrd.mount,lowerdir=/nix/.ro-store,upperdir=/nix/.rw-store/store,workdir=/nix/.rw-store/work 0 0

I have no idea why I'd only ended up posting the last line, I swear I copied the whole thing lol

I think this broke the netboot image: https://github.com/NixOS/nixpkgs/pull/331712

#291750, which is blocked by #309190

Also, almost a duplicate of this issue, with some background information on root= kernel command line option handling #217173


View APIs from different Spring Cloud Instances registered in Eureka

I want view all APIs from different  Spring Cloud Instances in one page(or instance/server)
is there any config can help me to do that?

Implement your own subclass of SwaggerResourcesProvider, based on this implementation. Just be sure to mark it as the @Primary bean.

@s-mop, have a look at the JHipster project: we have developed a custom registry app based on Eureka and it includes a Swagger UI + Zuul proxy which lets you do exactly what you want.
See: http://www.jhipster.tech/jhipster-registry/
Note: the Swagger feature is still undocumented and can be enabled with the "swagger" profile.
Indeed we use the SwaggerResourcesProvider but we also need to rewrite the basepath of json docs with a Zuul filter for the try it out button to work.


Update copyright statement and resolve contradiction

The license file has some noticeable weirdness:

It says All rights reserved, which is incompatible with the BSD 3-Clause License.
Lists Spencer Bliven as the copyright holder. Additional authors and affiliated organizations likely hold the copyright.
Completely unimportant, but significant changes were made post-2020.

I'm an outsider, but I don't think review by all authors is needed here.
Maybe @sbliven and @piehld (plus anyone who wants to) can review?

@dmyersturnbull Spencer wrote the original version of the package (at https://github.com/sbliven/rcsbsearch), which we then migrated to our organization for incorporating new developments and future maintenance.
Since Spencer's license was in the original repository, we included his license exactly as is in our new repository to adhere to the terms of the license. If he is OK with changing these lines, then we may consider doing so. But as things are currently, we cannot alter his license.

@piehld Unfortunately, from the language in LICENSE.txt, that's a clear copyright violation. We are not permitted to modify the source, or to distribute copies of the work even if no modifications were made.
Spencer will need to release the code under as open source. Otherwise, this repo should be made private immediately, and it will need to be rewritten to remove all of Spencer's code.

I copied the license from somewhere (probably a google search). The intent was to use BSD 3. The 'all rights reserved' part is weird and should be removed and reverted to the original license. For my part I would be open to relicensing if rcsb would prefer.
For the copyright statement I suggest 'Copyright 2024 rcsbsearchapi Contributors' to avoid mentioning individuals.

Thank you for following up and the willingness to adjust the license, @sbliven! That will certainly clear up any potential confusion in the future. We will take your recommendations of removing "All rights reserved" and changing the Copyright to "Copyright 2024 rcsbsearchapi Contributors".


Armv7: Instruction Disassembly/Lifting Completion

The following is the list of instructions which we currently disassemble and lift (Fully or Partially). If you have any instructions which differ from this table, there is likely a bug or a documentation failure, please let us know (also if you could provide the opcodes that would be great).

  I was looking at something that used these instructions and had a bunch of "unimplemented" warnings in the low and medium level IL view:

52e8001f ldrex r1, [r2]
42e80037 strex r7, r3, [r2]
bff35b8f dmb ISH
94e9feeb rfeia r4

A few more thumb2 examples where lifting is unimplemented as of 1.1.1461-dev:
90e8000c ldm r0, {r10, r11}
bae80f00 ldm r10!, {r0, r1, r2, r3}
The corresponding stm instructions are also unimplemented.

A few thumb examples where lifting is unimplemnted as of 1.1.1344:
ffb2      uxtb r7, r7
c7f30116  ubfx r6, r7, #4, #2
7eb2      sxtb r6, r7
b8fa88f8  clz r8, r8

Found some more armv7 examples that are not disassembled or lifted.
00 43 f0 f3     aese.8     q10,q0 c0 03 b0 f3    aesimc.8   q0,q0 84 43 b0 f3    aesmc.8    q2, q2 00 43 b0 f3    aese.8    q2, q0 02 43 b0 f3    aese.8    q2, q1 40 43 b0 f3    aesd.8    q2, q0
Digging deeper and it looks like all the aes instructions are missing, so the list above is incomplete.
Additionally, there are some vector instructions that don't show the proper disassembly (operands are missing).
8d0a42f4   vst1.32 {}, [r2]! 8d0742f4   vst1.32 {}, [r2]! 0f0a60f4   vld1.8  {}, [r0]

cbc97edc  01fb0111   mla     r1, r1, r1, r1
cbc97eea  a1fb0223   umull   r2, r3, r1, r2
cbc97ef2  02fb1311   mls     r1, r2, r3, r1

the table says mla is lifted but 1.2.1968-dev build shows it as unimplemented
also I find umull & mls very often as unimplemented

cbc97edc  01fb0111   mla     r1, r1, r1, r1
cbc97eea  a1fb0223   umull   r2, r3, r1, r2
cbc97ef2  02fb1311   mls     r1, r2, r3, r1

the table says mla is lifted but 1.2.1968-dev build shows it as unimplemented
also I find umull & mls very often as unimplemented

I can confirm, and it causes serious issues with any dataflow analysis that may be dependent on those unlifted instructions without any way to tell from IL that a dependent value may be invalid. I guess the dataflow analysis has no way to detect that there was an unlifted instruction in the dataflow somewhere, so I can't even check if this is happening without writing some architecture-specific code.

Is there any prospect of having these revisited soon? I'm starting to contemplate hacking up my own arch plugin to implement a number of these to avoid situations where looking at dataflow leads me down the wrong path due to the unlifted instructions.

Could you share a binary that has missing instructions to serve as a bench mark?

When I see these, it tends to be in batches of one or two instructions per firmware I look at, so I don't have anything I'd consider a good benchmark for "completion". I'm happy to DM binaries/bndbs that I can share as I hit them, though - I just hit one that uses uxtb earlier.

Priority list from 3pidemix
 192 vldr
  69 uxtb
  68 vmov.f32.F32
  67 vmul.f32.F32
  44 vstr
  32 vmrs
  32 ubfx
  24 vdiv.f32.F32
  21 vpop
  21 uxth
  20 vcvt.f32.F32.S32
  20 vcmpe.f32.F32
  20 clz
  16 vpush
  16 umull
  14 rbit
  13 vneg.f32.F32
  12 vcmp.f32.F32
   9 rrx
   6 vcvt.s32.f32
   6 udiv
   6 sxtb
   6 sbc
   5 sbcs
   4 vcvt.f32.F32.U32
   3 vldmia
   3 umlal
   3 rrxs
   2 vabs.f32.F32
   2 mla
   2 dsb
   1 vnmul.f32.F32
   1 vldmdb
   1 uxtab
   1 smull```

PSP and MSP MSRs are incorrectly disassembled as APSR(_nzcvq) in Thumb2 [mode.]
.syntax unified
.thumb
_start:
    msr psp, r0
    mrs r0, psp

    msr msp, r0
    mrs r0, msp

    msr apsr_nzcvq, r0

Assemble with e.g. arm-none-eabi-as -mcpu=cortex-m33 test.s -o test.o.
Binja's output:
msr apsr_nzcvq, r0
mrs r0, apsr
msr apsr_nzcvq, r0
mrs r0, apsr
msr apsr_nzcvq, r0

https://pastebin.com/VgAF3yeP
A few of these I've implemented lifting support by my own plugin (using Capstone as the instruction decoder) but I'm still missing a ton of these, I would add lifting support (obviously 100% coverage isn't needed but I prefer to have less unimplemented :P) , but I believe BN is missing support for vector instructions in #1213. Obviously not all of them are the same priority :)

I would add lifting support (obviously 100% coverage isn't needed but I prefer to have less unimplemented :P) , but I believe BN is missing support for vector instructions in #1213.
At least for now, you can lift most vector operations as a series of scalar operations. e.g. a vdup.32 could just be a dest = (src << 96) | (src << 64) | (src << 32) | src. You'll likely have to create some temporary variables for more complex ones.

The simple stuff like vector-width moves/loads/stores can be lifted simply using wide registers -- binja doesn't mind if you define a 128-bit register. Some of those basic operations are lifted in x86_64 for example.

unimplemented {umull r3, r6, r2, r3}
unimplemented {mls r2, r3, r6, r2}
unimplemented {uxtb r6, r6}
unimplemented {sbcs r1, r1}
unimplemented {clz r1, r1}
unimplemented {mla r0, r0, r0, r1}


iPad: Document loaded, blank Page.

Hi,
i'm using PDFJS v0.8.1145 (build ad623ff). i used it to create hybrid pdf-reader for desktop and mobile web.applications.
on desktop everything works fine.
on mobile (ipad) device the document was loaded also well as:

CreationDate: "D:20140217162941+01'00'"
IsAcroFormPresent: false
IsXFAPresent: false
ModDate: "D:20140217162941+01'00'"
PDFFormatVersion: "1.4"
Producer: "PDFlib 7.0.4 (C++/Win32)"

but the canvas will be blank (white). pagenumbers and meta information are correct.
i've no idea why.

well, on my case, i cant really show the pdf:
Here:

hi @yurydelendik.
any news to this -device performance issue- ?? maybe a precalc-1/2-resolution or something like that?

Given the old age of this issue, the fact that none of the links in https://github.com/mozilla/pdf.js/issues/4432#issuecomment-37191259 work any more, that there's other issues open about performance problems in iOS devices, and finally that the main focus of development is the Firefox built-in PDF Viewer; closing as INCOMPLETE for now.


[Feature] Show gold symbol next to gilded comments

I think this would be a nifty little feature. Just like in the browser, show a little icon next to a gilded comment.  I'm rich! I'll take two art please. Thanks
│mistery man.

Have you seen these ones?
✰	U+2730
✪	U+272A

Oh, nice! The circle with the star is much better.
On Wed, Apr 1, 2015, 12:11 PM michael-lazar<EMAIL_ADDRESS>wrote:

Have you seen these ones?
✰ U+2730
✪ U+272A
—
Reply to this email directly or view it on GitHub
https://github.com/michael-lazar/rtv/issues/57#issuecomment-88557581.


Update specs2-core, specs2-scalacheck to 4.12.4-js-ec

Updates

org.specs2:specs2-core
org.specs2:specs2-scalacheck

from 3.+ to 4.12.4-js-ec.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

labels: test-library-update

Superseded by #34.


Inconsistency data when I do a second query after delete entites from dbContext

I have a database with blogs and posts. One blog can have many posts. I do this:

Select a blog and include all its posts
delete from dbContext.Posts.Local one of the posts.
delete the post from blog.Posts property
Set Posts.IDBlog to 0
Set Posts.Blgs property to null

Now query for all the posts and I include the blog property
The result is:

The post that I deleted in dbContext.Posts.Local is not in this property.
However, the post entity that I deleted it has now the Blog property, but still has the IDBlog property to 0. So it is an inconsistency because the Blog property has not IDBlog to 0.
The Blog entity has now in its Posts property the entity that I deleted. It is an inconsistency too, because I have the entity in this propery but I don't this this entity in the dbContext.

In my case, sometimes I need to set the FK of the children to 0, to know that this entity is not related with the parent, but later I need to query again to the database but I need that the data that I change in the dbContext is consistency with the data that I have set.

This is fixed in the 2.0 code. The Deleted entity is still returned from the database (since it is still in the database) but it is no longer re-fixed up to existing tracked entities.


Auto Message on closing of pr but it must be only on merging pr

Bug in Auto Message by GitHub action Bot when merged
this will also add a label on merged pr but currently, it is add on the closing of the issue
Currently, when pr is closed we are getting this message also, but this must be there only when pr is merged
Bug screenshot

Solution
By Updating .yml file

@Vishal-raj-1 Please assign this issue to me so that this issue will be resolved because when anyone closes the issue he gets the message and a tag of gssoc as well which must be executed only on merging of pr


How do you set the size for a Marker?

Question
I have a marker like this:
            <Marker
              title={marker.key}
              image={mapPinImg}
              key={marker.key}
              coordinate={marker.coordinate}
              style={styles.marker}
            ></Marker>

const styles = StyleSheet.create({
  marker: { width: 160 },
});

But the width property does not do anything. I tried also using a larger image for the marker, but that's not working either.
What's the correct way for setting the size for the markers?
thanks!
John

Hi @codingdudecom ,
try this:
<Marker ...>
 <Image style={{ width: 160, height: 160 }} />
</Marker>

Thanks! it works
I used resizeMode: "contain" because the image was cropped. And also I had to set the same size on the Marker too because the placement of the marker was not correct
<Marker style={{width: 48, height: 48}}>
        <Image
                      source={require("../assets/map-pin.png")}
                      style={{ width: 48, height: 48, resizeMode: "contain" }}
                    />
</Marker>

Just put the image or svg icon inside View
<Marker style={styles.marker} coordinate={{latitude: lat, longitude: long,}}>

Just put the svg or image icon inside  tag also give width and height to Svg
<Marker style={styles.marker} coordinate={{latitude: lat, longitude: long,}}>

Just put the svg or image icon inside tag also give width and height to Svg


The drawing disappears at high zoom values on iPad

The effect happens sooner (lower zoom values) with images than with other elements. To reproduce: insert an image and start to pinch zoom. At a certain point the image will disappear instead of further zooming in.
It seems, that if I increase the size of the (same) image, that influences the zoom level at which the image disappears. Effectively, the image seems to disappear always at the same viewport relative size.
https://user-images.githubusercontent.com/14358394/169653405-04bf657b-b04a-49bf-9527-7b2f60a5b935.MOV
https://user-images.githubusercontent.com/14358394/169653922-c93069f0-e297-43a7-82d7-a5abbe3ca9c9.MOV

Actually, multiple things can be going on here. I think we still have a problem with detecting whether a zoomed-in element is visible. But your video is more likely caused by RAM/canvas size because all the elements disappear.
Can you share a diagram that manifests the above so I can test?

I wonder if this is also related to #5788 which also affects Safari browsers only.
@dwelle you can reproduce the effect with the simplest of drawings. Draw any element (e.g. a diamond) and zoom in. On my iPad using Safari the diamond disappears at around 800% zoom and appears again if I reduce zoom back to ~770%...


unable to delete shows

the recent Hex-a-Gone trails only shows are messing up the stats as it is counting each of the 2 qualifying round as wins.
tried going into the level stats to delete the shows but delete option is not available.

Just click the row you want to delete and press the delete key. Worked fine for me.

Just click the row you want to delete and press the delete key. Worked fine for me.

Working on a fix. Is just a display issue, don't worry about the numbers being incorrect will resolve once I get the fix out for it.
As for the delete show you have to be on the show stats screen not level stats.

Working on a fix. Is just a display issue, don't worry about the numbers being incorrect will resolve once I get the fix out for it.
As for the delete show you have to be on the show stats screen not level stats.

Should be fixed in v1.108

Should be fixed in v1.108


Complete deploy to Integration always fails

Hi!
We have implement the Complete deploy to xxx in all of our environments. While it works for PREP and PROD it always fails for INT with an error
[error]Failed to locate a deployment in Integration to complete!
Code is deployed though, but the error bothers still, what is wrong?

It is because of DirectDeploy : D


Added truncate for SampleSet distribution

Codecov Report

Merging #995 (516f4fa) into develop (5dd988a) will increase coverage by 0.01%.
The diff coverage is 75.00%.

@@             Coverage Diff             @@
##           develop     #995      +/-   ##
===========================================
+ Coverage    57.85%   57.87%   +0.01%
===========================================
  Files           74       74
  Lines         4114     4123       +9
===========================================
+ Hits          2380     2386       +6
- Misses        1734     1737       +3

Impacted Files
Coverage Δ

...ript/Distributions/SampleSetDist/SampleSetDist.res
35.71% <60.00%> (+3.28%)
:arrow_up:

...le-lang/src/rescript/Distributions/GenericDist.res
64.94% <85.71%> (+0.21%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update sbt to 1.5.3

Updates org.scala-sbt:sbt from 1.5.1 to 1.5.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.5.1).
You might want to review and update them manually.
master-branch-pipeline.yml
release-pipeline.yml

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch, old-version-remains

Codecov Report

Merging #67 (246f03f) into master (0c0717c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #67   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           36        36
  Branches         1         1
=========================================
  Hits            36        36

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 0c0717c...246f03f. Read the comment docs.


Calibration:add a new vehicle configuration files

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


The official website's command to try is not even working in the first place

Describe the bug
I used the example from the website to generate api documentation, and it does not work
To Reproduce
Steps to reproduce the behavior:

Copy command in asyncapi.com
Run on terminal
It does not work and show that the library is deprecated.

Expected behavior
It should generate something in example

issue is related to new releases of generator and html-template, and since commands from  https://www.asyncapi.com/tools/generator use always latest releases, then they do not work anymore
fix should be to make sure specific html template version is used<EMAIL_ADDRESS>and add --use-new-generator flag.
of course it needs to be checked first, then updated on website


Windows npm install issue

When I upgrade to 0.1.1, I got error from post install script on windows.
saying "ln -s " something. Obivisouly the "ln -s" command is not windows command.
Please verify it.

I found the problem is caused by post install script in package.json
 "postinstall": "ln -s lib/{ios,android} ."

Is that possible to make this works in windows environment as well?

Same issue and Android link missing as well

Save isue! 'ln' is not recognized as an internal or external command

same issue as

Wow same issue still. Nobody got a fix or workaround for this one?

I'll test this issue.  So no ones update this issue about 3 months ago. We need more PR.

Same issue. Windows x64.

Issues #129 and #140 both seem to be about symlink malfunctions. Where I see it is when running under Jenkins where ./gradlew invokes NPM/Yarn via a plugin that appears to be older than my workstation. A very frustrating example of, "It works on my computer!"


Changed the Menu flow/instructions for installing it

In the latest Atom version the menu does not have the same structure as it was described on the README file...

Manually updates to support most recent changes, thanks


Youtube will not always work

Some youtube videos work fine, on others the page loads but there is no player

There is no player or the player is there but the video is not playing? If the video is not playing than that means that the URL of a video has special encryption whose algorithm changes almost every day so it is impossible for me to keep up with those updates. But the player itself should always be there. Which video is not showing a player?

The player does not always appear, however I have moved to a new server and the proxy does not work at all. I will now create a new thread

Reopened due to reoccurence of issue: Answering your question, yes the player only opens on certain videos, on others it does not appear, below the address bar there is just over an inch of gray and then the video title and uploader info. On other videos the player opens just fine

send me a screenshot or the actual URL of the youtube video where this happens

Just as an example:
This Works fine:
https://www.youtube.com/watch?v=J---aiyznGQ
This does not work:
https://www.youtube.com/watch?v=GKSRyLdjsPA

Vevo videos aren't supported at the moment. You could install youtube-dl to make it work for now:
https://github.com/Athlon1600/php-proxy/blob/master/src/Plugin/YoutubePlugin.php#L66

It isnt just vevo videos, I have problems with others, for example Nyan Cat (Just as an example): https://www.youtube.com/watch?v=QH2-TGUlwu4 does not work

ah I didn't mean to say that this only applies to Vevo videos. No, YouTube does some special encryption on ALL videos that are "monetized". So that's basically all music videos and almost every video with massive amount of views (like nyan cat). Do you have access to your VPS? If you installed youtube-dl, you wouldn't be having this problem.

Ah ok,I get you. I am actually running this on an old PC in my garage so yes I have access to it, I put YouTube-DL in the plugins directory. It the proxy just goes to a white screen when I try and use it. The log mentiones that Class 'YoutubePlugin' could not be found

you don't need to modify php-proxy here in any way. Just look at the code:
https://github.com/Athlon1600/php-proxy/blob/master/src/Plugin/YoutubePlugin.php#L27
if youtube-dl command works on that computer, it will automatically be called and its results automatically parsed by YouTubePlugin

I get you, I got confused about what you meant, I will install YouTube-dl and try again

I installed YouTube-DL (apt-get youtube-DL) and restarted apache. It still does not work. Do I need to restart the entire server?

are you on windows or linux?

I'm on Linux
ellis@eobws1:~$ youtube-dl
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
ellis@eobws1:~$

I guess you would need to debug it first by editing YouTubePlugin.php:
https://github.com/Athlon1600/php-proxy/blob/master/src/Plugin/YoutubePlugin.php#L27
add:
var_dump($output);
exit;
after line 28. I'm very curious what the output of that command is.

I'm confused, is youtubeplugin.php meant to be in the plugins directory? When I put it in there the proxy gives error 500

aah never mind. I just found the problem. I tried installing youtube-dl myself through apt-get and this is the error I got when I tried to download that nyan cat video:
ERROR: Signature extraction failed: Traceback (most recent call last):"

it would appear that youtube-dl is out of date, but then I checked the version and it didn't match the latest version. Apt-get itself seems to be the problem because it is installing an outdated version of youtube-dl. You need to remove it, and then install it right from the official source here:
https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl
I just did that and everything started to work.

SUCCESS! Followed the install guide on the link and it works perfectly. Thank you for all the help and for making this amazing script


⚠ Bofrost.be has degraded performance

In 5a1e3cf, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3199 ms

Resolved: Bofrost.be performance has improved in d0513be after 9 minutes.