Flutter web run crashes with no useful exception or error

Steps to Reproduce
I am trying to run my flutter app on web but Chrome crashes without any useful exception or error.
What I run
flutter run --web-port 7357 -t lib/screens/Launch.dart -v

And this is the output I get
[  +16 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+25070 ms] Waiting for connection from debug service on Chrome... (completed in 25.4s)
[        ] Synced 43.9MB.
[        ] <- accept
[        ] Caching compiled dill
[  +83 ms] Using Google Chrome 94.0.4606.54

[ +235 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[ +446 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:55735/devtools/browser/11f85dce-a9d2-4caa-bdb6-cdfa1f8b0683
[+1202 ms] DwdsInjector: Received request for entrypoint at http://localhost:7357/main_module.bootstrap.js
[   +4 ms] MetadataProvider: Loading debug metadata...
[  +20 ms] MetadataProvider: Loaded debug metadata (no sound null safety)
[   +9 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:7357/main_module.bootstrap.js
[+3487 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: false
[  +94 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:55760/gCrWQ1hX5Ns=/ws

[  +22 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:55760/gCrWQ1hX5Ns=/ws
[  +15 ms] Debug service listening on ws://<IP_ADDRESS>:55760/gCrWQ1hX5Ns=/ws
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[   +3 ms] 🔥  To hot restart changes while running, press "r" or "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[        ] An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:55760/gCrWQ1hX5Ns=
[ +363 ms] DevTools activation throttled until 2021-09-28 09:58:37.519951.
[+1013 ms] app initialization tasks running
[ +235 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:55760/gCrWQ1hX5Ns=
[+5172 ms] DevHandler: Stopped debug service on ws://<IP_ADDRESS>:55758

[+1042 ms] Application finished.
[   +3 ms] "flutter run" took 40,335ms.
[  +77 ms] ensureAnalyticsSent: 74ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

output of running flutter analyze
Analyzing nutmeg-flutter...

   info • Unused import: 'package:nutmeg/db/SubscriptionsFirestore.dart' • lib/db/MatchesFirestore.dart:2:8 • unused_import
warning • The parameter 'toFirestore' is required • lib/db/SportCentersFirestore.dart:10:10 • missing_required_param
   info • Unused import: 'package:google_sign_in/google_sign_in.dart' • lib/db/UserFirestore.dart:3:8 • unused_import
   info • Don't import implementation files from another package • lib/screens/MatchDetails.dart:5:8 • implementation_imports
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: InfoWidget.rightWidget • lib/screens/MatchDetails.dart:231:7 • must_be_immutable
   info • This function has a return type of 'Widget', but doesn't end with a return statement • lib/screens/MatchDetails.dart:411:10 • missing_return
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AbstractButtonWithLoader.width, AbstractButtonWithLoader.controller, AbstractButtonWithLoader.shouldAnimate • lib/screens/MatchDetailsModals.dart:220:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AbstractButtonWithLoader.width, AbstractButtonWithLoader.controller, AbstractButtonWithLoader.shouldAnimate • lib/screens/MatchDetailsModals.dart:257:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AbstractButtonWithLoader.width, AbstractButtonWithLoader.controller, AbstractButtonWithLoader.shouldAnimate • lib/screens/MatchDetailsModals.dart:299:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AbstractButtonWithLoader.width, AbstractButtonWithLoader.controller, AbstractButtonWithLoader.shouldAnimate • lib/screens/MatchDetailsModals.dart:359:7 • must_be_immutable
   info • 'RaisedButton' is deprecated and shouldn't be used. Use ElevatedButton instead. See the migration guide in flutter.dev/go/material-button-migration-guide). This feature was deprecated after v1.26.0-18.0.pre. • lib/screens/Registration.dart:68:22 • deprecated_member_use
   info • 'accentColor' is deprecated and shouldn't be used. Use colorScheme.secondary instead. For more information, consult the migration guide at https://flutter.dev/docs/release/breaking-changes/theme-data-accent-properties#migration-guide. This feature was deprecated after v2.3.0-0.1.pre. • lib/utils/UiUtils.dart:82:5 • deprecated_member_use
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AbstractButtonWithLoader.width, AbstractButtonWithLoader.controller, AbstractButtonWithLoader.shouldAnimate • lib/widgets/Buttons.dart:128:16 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AbstractButtonWithLoader.width, AbstractButtonWithLoader.controller, AbstractButtonWithLoader.shouldAnimate • lib/widgets/Buttons.dart:164:7 • must_be_immutable
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AbstractButtonWithLoader.width, AbstractButtonWithLoader.controller, AbstractButtonWithLoader.shouldAnimate • lib/widgets/Buttons.dart:175:7 • must_be_immutable
   info • Unused import: 'package:flutter_test/flutter_test.dart' • test/utils/UtilsTest.dart:1:8 • unused_import
   info • Unused import: 'package:nutmeg/utils/LocationUtils.dart' • test/utils/UtilsTest.dart:2:8 • unused_import

output of running flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-x64, locale en-NL)
    • Flutter version 2.5.1 at /Users/alessandrol/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (10 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/alessandrol/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Users/alessandrol/.jenv/versions/system/bin/java
    ✗ Cannot execute /Users/alessandrol/.jenv/versions/system/bin/java to determine the version

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5284.31

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.54

! Doctor found issues in 2 categories.

The launched main is
void main() {
  WidgetsFlutterBinding.ensureInitialized(); //imp line need to be added first

  if (!kIsWeb) {
    FlutterError.onError = (FlutterErrorDetails details) async {
      print("*** CAUGHT FROM FRAMEWORK ***");
      await FirebaseCrashlytics.instance.recordFlutterError(details);
    };
  }

  runZonedGuarded(() {
    runApp(MultiProvider(
      providers: [
        ChangeNotifierProvider(create: (context) => UserState()),
        ChangeNotifierProvider(create: (context) => MatchesState()),
        ChangeNotifierProvider(create: (context) => SportCentersState()),
      ],
      child: new MaterialApp(
        navigatorKey: navigatorKey,
        debugShowCheckedModeBanner: false,
        home: new Container(
            decoration: new BoxDecoration(color: Colors.grey.shade400),
            child: Center(child: new LaunchWidget())),
        theme: appTheme,
      ),
    ));
  }, (Object error, StackTrace stackTrace) {
    print("**** ZONED EXCEPTION ****");
    if (!kIsWeb) {
      FirebaseCrashlytics.instance.recordError(error, stackTrace);
    }
  });
}

Hi @alexlipa91,
Do you experience this with the sample flutter app? or is it just an issue with your project?

yes, this happens also with the sample app
flutter create -s material.FittedBox.1 sample
cd sample
flutter run -v

launches the app correctly but then it crashes after 1/2 seconds and the logs are the following
[   +7 ms] /Users/alessandrol/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/alessandrol/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/alessandrol/flutter/bin/cache/flutter_web_sdk/
--incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/kz/pw3pnnfn4hv1s9v6l78cr07r0000gp/T/flutter_tools.6JYrSH/flutter_tool.gClL7l/app.dill
--libraries-spec file:///Users/alessandrol/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /Users/alessandrol/workspace/sample/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-root /var/folders/kz/pw3pnnfn4hv1s9v6l78cr07r0000gp/T/flutter_tools.6JYrSH/flutter_tools.eiW6k4 --filesystem-scheme org-dartlang-app --initialize-from-dill
build/b1b715402d823b7fd5c2b68d2edcb2ce.cache.dill.track.dill --platform file:///Users/alessandrol/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[  +13 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+14888 ms] Waiting for connection from debug service on Chrome... (completed in 15.0s)
[        ] Synced 26.2MB.
[        ] <- accept
[        ] Caching compiled dill
[  +81 ms] Using Google Chrome 94.0.4606.61

[  +76 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[ +402 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:54735/devtools/browser/22f5fe43-c3ef-497b-93fb-c905104b6bc1
[ +835 ms] DwdsInjector: Received request for entrypoint at http://localhost:54722/main_module.bootstrap.js
[   +4 ms] MetadataProvider: Loading debug metadata...
[  +12 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +6 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:54722/main_module.bootstrap.js
[+1987 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[  +69 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:54759/yIek4pnL4gY=/ws

[  +25 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:54759/yIek4pnL4gY=/ws
[  +10 ms] Debug service listening on ws://<IP_ADDRESS>:54759/yIek4pnL4gY=/ws
[        ] 💪 Running with sound null safety 💪
[   +3 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[   +1 ms] An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:54759/yIek4pnL4gY=
[ +404 ms] DevTools activation throttled until 2021-09-29 23:40:05.358738.
[ +841 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:54759/yIek4pnL4gY=
[+2090 ms] DevHandler: Stopped debug service on ws://<IP_ADDRESS>:54756

[ +374 ms] Application finished.
[   +3 ms] "flutter run" took 22,986ms.
[  +88 ms] ensureAnalyticsSent: 85ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

P.S. I added my main on the first comment

Hi @alexlipa91, If I use the steps here

flutter create -s material.FittedBox.1 sample
cd sample
flutter run -v

I'm able to run the app.
I also updated my sample to use the config you have but I removed the Providers and Crashlytics and I was still able to run it.
Can you try the sample below to see if you're able to run the app?

code sample
/// Flutter code sample for FittedBox

// In this example, the image is stretched to fill the entire [Container], which would
// not happen normally without using FittedBox.

import 'dart:async';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized(); //imp line need to be added first

  if (!kIsWeb) {
    FlutterError.onError = (FlutterErrorDetails details) async {
      print("*** CAUGHT FROM FRAMEWORK ***");
    };
  }

  runZonedGuarded(() {
    runApp(
      new MaterialApp(debugShowCheckedModeBanner: false, home: MyApp()),
    );
  }, (Object error, StackTrace stackTrace) {
    print("**** ZONED EXCEPTION ****");
  });
}

/// This is the main application widget.
class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: Scaffold(
        appBar: AppBar(title: const Text(_title)),
        body: const Center(
          child: MyStatelessWidget(),
        ),
      ),
    );
  }
}

/// This is the stateless widget that the main application instantiates.
class MyStatelessWidget extends StatelessWidget {
  const MyStatelessWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 400,
      width: 300,
      color: Colors.red,
      child: FittedBox(
        child: Image.network(
            'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl-2.jpg'),
        fit: BoxFit.fill,
      ),
    );
  }
}

This is the output of flutter run using the code snippet you provided me and this is a screen recording of how I see the problem if it is useful
 ~/workspace/sample  flutter run -v                                                                                 ✔  16:22:54 
[  +92 ms] executing: sysctl hw.optional.arm64
[  +17 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[   +6 ms] executing: [/Users/alessandrol/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +22 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] ffb2ecea5223acdd139a5039be2f9c796962833d
[        ] executing: [/Users/alessandrol/flutter/] git tag --points-at ffb2ecea5223acdd139a5039be2f9c796962833d
[  +19 ms] Exit code 0 from: git tag --points-at ffb2ecea5223acdd139a5039be2f9c796962833d
[        ] 2.5.1
[  +10 ms] executing: [/Users/alessandrol/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/alessandrol/flutter/] git ls-remote --get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +101 ms] executing: [/Users/alessandrol/flutter/] git rev-parse --abbrev-ref HEAD
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +28 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +16 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.6
[        ] executing: sw_vers -buildVersion
[  +25 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20G165
[  +58 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +53 ms] executing: /Users/alessandrol/Library/Android/sdk/platform-tools/adb devices -l
[  +16 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[   +8 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[        ] Xcode not found. Run 'flutter doctor' for more information.
[   +1 ms] executing: xcrun xcodebuild -version
[  +11 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[   +5 ms] executing: xcrun xcodebuild -version
[  +16 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[  +42 ms] List of devices attached
[   +6 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +28 ms] executing: xcrun xcodebuild -version
[  +10 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[  +69 ms] Skipping pub get: version match.
[ +130 ms] Generating /Users/alessandrol/workspace/sample/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +187 ms] Launching lib/main.dart on Chrome in debug mode...
[ +131 ms] Updating assets
[  +87 ms] Waiting for connection from debug service on Chrome...
[  +79 ms] <- reset
[   +9 ms] /Users/alessandrol/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/alessandrol/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/alessandrol/flutter/bin/cache/flutter_web_sdk/
--incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/kz/pw3pnnfn4hv1s9v6l78cr07r0000gp/T/flutter_tools.RccAqP/flutter_tool.mocMRj/app.dill
--libraries-spec file:///Users/alessandrol/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /Users/alessandrol/workspace/sample/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-root /var/folders/kz/pw3pnnfn4hv1s9v6l78cr07r0000gp/T/flutter_tools.RccAqP/flutter_tools.6jEbXB --filesystem-scheme org-dartlang-app --initialize-from-dill
build/b1b715402d823b7fd5c2b68d2edcb2ce.cache.dill.track.dill --platform file:///Users/alessandrol/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[  +15 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+15885 ms] Waiting for connection from debug service on Chrome... (completed in 16.0s)
[        ] Synced 26.2MB.
[        ] <- accept
[        ] Caching compiled dill
[  +91 ms] Using Google Chrome 94.0.4606.61

[ +172 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[ +393 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:58674/devtools/browser/23c68b78-8bd2-40c2-b37b-fad0d6d6c959
[+1093 ms] DwdsInjector: Received request for entrypoint at http://localhost:58661/main_module.bootstrap.js
[   +5 ms] MetadataProvider: Loading debug metadata...
[  +12 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +5 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:58661/main_module.bootstrap.js
[+2231 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[  +74 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:58696/BGR0TiaGQOw=/ws

[  +26 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:58696/BGR0TiaGQOw=/ws
[  +12 ms] Debug service listening on ws://<IP_ADDRESS>:58696/BGR0TiaGQOw=/ws
[        ] 💪 Running with sound null safety 💪
[   +3 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[   +1 ms] An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:58696/BGR0TiaGQOw=
[ +389 ms] DevTools activation throttled until 2021-09-29 23:40:05.358738.
[ +881 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:58696/BGR0TiaGQOw=
[+2747 ms] DevHandler: Stopped debug service on ws://<IP_ADDRESS>:58692

[ +638 ms] Application finished.
[   +3 ms] "flutter run" took 25,641ms.
[  +84 ms] ensureAnalyticsSent: 80ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

I see it now.
Can you check on the master branch and see if you still experience this issue?
Run the following commands to upgrade to the master branch.
flutter channel master
flutter upgrade --force
flutter doctor

same problem :( It just crashes without anything useful. I don't know if it is something with Chrome or what it can be

another thing I tried is to run in release mode adding --release arg and what I see instead is a blank screen

@alexlipa91, can you try with a different browser and see if you still experience this issue?

how can I point flutter to a different browser?

At the moment, the devtools only support edge and chrome, so you might have to install edge to run with that.
Alternatively, you can try running in web-server mode, with
flutter run -d web-server which will allow you to run it in other browsers.


napari version bump to 0.4.15

This PR changes the napari dependency version to 0.4.15 for better compatibility with existing napari plugins in the ecosystem.

next version of Aydin will be depending 0.4.15 @haesleinhuepf ! I will make a release soon and will keep you posted so we can move on with integrating the Aydin napari plugin too.


add support for appVersion

Thanks, will cut a release soon with the changes.

Any update on the new release?

Done ✅

:tada:


Make internal links consistent

I think ideally the content should be adjusted to use proper markdown permalinks i.e. whatever so links work across all environments (dev/staging/prod).


Incorporate news aggregator?

User @johnridesabike just announced his reason news aggregator in Discord.
https://github.com/johnridesabike/reason-planet
It currently aggregates blogposts from

https://reasonml.github.io/blog/
https://reasonml.github.io/reason-react/blog/
https://bucklescript.github.io/blog/
https://esy.sh/blog/

We think it would be an ideal fit for reasonml.org, as this site already aims to be the entry point for reason newcomers.

I hope we can just have one communication channel in the future... would make it much easier to have properly planned, scheduled and well-formatted content

Just to follow up to that, ideally this is how the blog section (with aggregated content) could look like:

Giving visual distinction and structure is something I really value in blogs (with proper highlights on the most important / most recent posts etc).
Link to the design: https://xd.adobe.com/spec/1cd19c3a-a0bb-4f93-4e11-725589888696-6ae0/screen/e26316a6-a350-4fd3-8331-629db3b945e6/Reason-1400-Blog

I'll consider this to be done for now, please reopen if there's anything missing!


Introduce authentication and autorization via Spring Security

Check https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#_starters_requiring_no_special_build_configuration where it is stated that spring-boot-starter-security requires no special configuration and WebFlux form login + HTTP basic authentication is supported.


Go remove okapi

PR Removes need for okapi and instead uses native oberon library.
Benefits:

Removes CGO and all its headaches
Simplifies setup of the services SDK (doesn't require shipping native binaries)

Codecov Report
Base: 11.82% // Head: 42.68% // Increases project coverage by +30.86% :tada:

Coverage data is based on head (c17beb5) compared to base (8dbb377).
Patch coverage: 67.85% of modified lines in pull request are covered.

:exclamation: Current head c17beb5 differs from pull request most recent head b4781b9. Consider uploading reports for the commit b4781b9 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1110       +/-   ##
===========================================
+ Coverage   11.82%   42.68%   +30.86%
===========================================
  Files          29       14       -15
  Lines        5989     1059     -4930
===========================================
- Hits          708      452      -256
+ Misses       5281      518     -4763
- Partials        0       89       +89

Impacted Files
Coverage Δ

go/services/security.go
61.97% <62.50%> (ø)

go/services/account_service.go
41.70% <100.00%> (ø)

go/services/service_base.go
63.85% <100.00%> (ø)

dart/lib/src/trinsic_util.dart

...vices/trust-registry/v1/trust-registry.pbgrpc.dart

dart/lib/src/account_service.dart

dart/lib/src/credential_service.dart

dart/lib/src/trustregistry_service.dart

...ib/src/proto/services/provider/v1/provider.pb.dart

dart/lib/src/service_base.dart

... and 36 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I think the benefits are compelling -- the largest drawback I can see is that this brings Go out of step with every other SDK we have where we do use Okapi.
That said, I think developer usability is king, and having to install a separate set of binaries and use CGO seriously impacts that -- so I'm in favor.

I think the benefits are compelling -- the largest drawback I can see is that this brings Go out of step with every other SDK we have where we do use Okapi.

True, but this issue isn't bad. The bigger goal is to keep the API surface consistent among all the SDKs, not keep the underlying implementation details consistent.

Additionally, if we ever need to do anything more with Okapi on the SDK side (say, local verification), then we're right back to square one.

Yes and no. Directly pulling in the CGO binaries is easier than pulling them in 2 levels up the chain. Also, if we can keep our network SDK and our "offline" SDK more separate.

That said, I think developer usability is king, and having to install a separate set of binaries and use CGO seriously impacts that -- so I'm in favor.

Totally agree with making developer usability better. That said, golang community's attitude of "just rewrite it in go" is equally annoying, and certainly doesn't help their case.
@sethjback as we discussed, typescript might benefit from this as well, if we can remove the 2MB WASM binary that is required for anything.


Why rendering errors are caught by promise catch?

Description
import React, { useEffect, useMemo, useState } from 'react'
import { View, Text } from 'react-native'

const p = () => new Promise(r => {
  setTimeout(() => {
    r(undefined)
  }, 3000)
})

function RNTesterApp() {
  const [arr, setArr] = useState([])

  const getTabData = async () => {
    try {
      const val = await p()
      setArr(val)
    } catch (err) {
      console.log('render error', err)
    }
  }

  useEffect(() => {
    getTabData()
  }, [])

  const val = useMemo(() => arr.length - 10000, [arr])

  return (
    <View>
      <Text>{val}</Text>
    </View>
  )
}
export default RNTesterApp

LOOK this demo, When setArr(undefined) , arr.length will throw an error, which will not be caught by getTabData catch in web, but will be caught in RN and log "render error" . Why is this?
Steps to reproduce
Use Demo
React Native Version
0.72.5
Affected Platforms
Runtime - Android, Runtime - iOS
Output of npx react-native info
System:
  OS: macOS 14.5
  CPU: (24) arm64 Apple M2 Ultra
  Memory: 665.20 MB / 64.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 16.20.2
    path: ~/.local/state/fnm_multishells/83001_1731661580388/bin/node
  Yarn:
    version: 1.22.21
    path: /opt/homebrew/bin/yarn
  npm:
    version: 6.14.17
    path: ~/.local/state/fnm_multishells/83001_1731661580388/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.1 AI-241.18034.62.2411.12071903
  Xcode:
    version: 15.1/15C65
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.5
    wanted: 0.72.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs
TypeError: Cannot read property 'length' of undefined

This error is located at:
    in App
    in Unknown
    in RCTView (created by View)
    in View (created by CssInterop.View)
    in CssInterop.View (created by FmpProfiler)
    in FmpProfiler (created by FMPWrapper)
    in FMPWrapper
    in Unknown (created by Appcontainer)
    in Appcontainer
    in RCTView (created by View)
    in View (created by CssInterop.View)
    in CssInterop.View (created by AppContainer)
    in RCTView (created by View)
    in View (created by CssInterop.View)
    in CssInterop.View (created by AppContainer)
    in AppContainer
render error [TypeError: Cannot read property 'length' of undefined]

Reproducer
https://github.com/andyjxli/rn-demo
Screenshots and Videos

Warning
Unsupported version: It looks like your issue or the example you provided uses an unsupported version of React Native.Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support.

I think this has nothing to do with the version

The error happens when accessing arr.length from inside useMemo which is called during render. We therefore have a component stack and annotate this as a render error.

The error happens when accessing arr.length from inside useMemo which is called during render. We therefore have a component stack and annotate this as a render error.

I want to know why it was caught by function 'getTabData catch'? I this is not normal, because this error not during getTabData function body code.

This is because you're using React 18 in concurrent mode by default in React Native. setState will not apply the state update synchronously, but instead batch all state changes until the end of the current task.

This is because you're using React 18 in concurrent mode by default in React Native. setState will not apply the state update synchronously, but instead batch all state changes until the end of the current task.

but it was not happened in web, it was not caught by function getTabData's catch, this is web code:
import { createRoot } from 'react-dom/client'
import { useEffect, useMemo, useState } from 'react'
import App from './App.tsx'
createRoot(document.getElementById('root')!).render(

)
const p = () => new Promise(r => {
setTimeout(() => {
r(undefined)
}, 3000)
})
function App() {
const [arr, setArr] = useState([])
const getTabData = async () => {
try {
const val = await p()
setArr(val)
} catch (err) {
console.log('render error', err)
}
}
useEffect(() => {
getTabData()
}, [])
const val = useMemo(() => {
const res = arr.length - 10000
return res
}, [arr])
return (

{val}

)
}


Add unit test pipeline

It would be nice to add unit test pipeline to avoid potential trivial mistakes (typo's for instance). Each feature should be merged to main branch after CI verification. Thus, it will prevent anyone from breaking the plugin.

why i don't add test. for some functional test can be add. but there has lots of ui relate things. write test for these a little trouble.

Do you think it's possible to separate the UI presentation and data calculation logic as much as possible? Because this would be very helpful for testing.
Also, I am a functional programming enthusiast and also deeply interested in unit testing. I found two techniques that are very helpful for testing and code maintenance:

In functional programming languages, we always like to push mutation to the edge to directly test the middle part. This is similar to what people often call Dependency Rejection, which is the simplest way to make code easier to test. Scott Wlaschin has an excellent example here: https://fsharpforfunandprofit.com/posts/dependencies/#approach-2-dependency-rejection . The concept discussed in "Functional Core, Imperative Shell" (https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell) is also similar. Additionally, I have used this approach in neotest-elixir.

Humble Object pattern - this pattern was originally invented to solve the problem of difficult-to-test UIs. Our code can be divided into two parts: deep (heavy business logic but few dependencies) or wide (many dependencies but little decision-making logic). If a module is both deep and wide, then it becomes difficult to test and maintain. I have used this pattern extensively at work because it really solves many problems.

I am happy to work with you to solve these testing issues if needed, but I would first like to know your thoughts and plans. @glepnir

there is no fp style currently. this plugin  has lots of too old code and some bad design. currently I am developing the next version. refactor some module. abstract some public interfaces. then i can try to add a bit unit test.  but just a little test case. if you want help  PR welcome when 0.3 publish :)


Render category search within a link on sidebar

This update for add the search as a link on sidebar. While typing for search a category, what you are typing will also appear in a link. To be able to browse category even if its not on the list.

I've also fix the page /tags, it was not working anymore probably due on the Hard fork, the WS response change the naming from "categories" to "tags". And removed the triggers.


[BUG][Spark] INSERT INTO struct evolution in map/arrays breaks when a column is renamed

Bug
Describe the problem
Schema evolution in INSERT doesn't always work properly when the new column is added to a struct nested within an array or map. If another column is renamed, the operation fails when it should succeed.
Steps to reproduce
For example with a map, in python, renaming column key to renamed_key and added a field comment in the a struct inside the map:
(
  spark.createDataFrame([[1, {"event": (1, 1)}]], "key int, metrics map<string, struct<id: int, value: int>>")
    .write
    .option("overwriteSchema", "true")
    .format("delta")
    .saveAsTable("insert_map_schema_evolution")
)
(
  spark.createDataFrame([[1, {"event": (1, 1, "deprecated")}]], "renamed_key int, metrics map<string, struct<id: int, value: int, comment: string>>")
    .write
    .mode("append")
    .option("mergeSchema", "true")
    .format("delta")
    .insertInto("insert_map_schema_evolution")
)
[[DATATYPE_MISMATCH.CAST_WITHOUT_SUGGESTION](https://docs.databricks.com/error-messages/error-classes.html#datatype_mismatch.cast_without_suggestion)] Cannot resolve "metrics" due to data type mismatch: cannot cast "MAP<STRING, STRUCT<id: INT, value: INT, comment: STRING>>" to "MAP<STRING, STRUCT<id: INT, value: INT>>".

Note that the struct inside the map isn't evolved to add the new field. Without the unrelated column being renamed, this works well:
(
  spark.createDataFrame([[1, {"event": (1, 1)}]], "key int, metrics map<string, struct<id: int, value: int>>")
    .write
    .option("overwriteSchema", "true")
    .format("delta")
    .saveAsTable("insert_map_schema_evolution")
)
(
  spark.createDataFrame([[1, {"event": (1, 1, "deprecated")}]], "key int, metrics map<string, struct<id: int, value: int, comment: string>>")
    .write
    .mode("append")
    .option("mergeSchema", "true")
    .format("delta")
    .insertInto("johan_lasperas.playground.insert_renamed_array_map")
)

Observed results
The operation fails.
Expected results
The operation succeeds, the table schema is changed to key int, metrics map<string, struct<id: int, value: int, comment: string>> and the data is inserted.
Willingness to contribute
The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?

[ ] Yes. I can contribute a fix for this bug independently.
[ ] Yes. I would be willing to contribute a fix for this bug with guidance from the Delta Lake community.
[ ] No. I cannot contribute a bug fix at this time.

Hello @johanl-db,
Could you please assign this issue to me? I am confident I can help resolve it and would appreciate any guidance as needed.

@Richard-code-gig thanks for volunteering for this.
I would start by adding a test in e.g. deltaInsertIntoSuite to cover the problematic case and work from there.
I believe this only impacts INSERT by position:

SQL:  INSERT INTO <table> VALUES (...)  or `INSERT INTO  SELECT ...
Scala/Python: df.write.insertInto()

INSERT by name (INSERT INTO <table> (columns) VALUES (...) / df.write.save() / df.write.saveAsTable()) is probably not affected - or better said, it doesn't really properly support schema enforcement / evolution already so supporting this specific case is irrelevant for now.
Once you have a test, head over to DeltaAnalysis.resolveQueryColumnsByOrdinal where the logic aligning schema for INSERT by position is. I believe the issue is that addCastToColumn doesn't properly support schema evolution in maps one way or another

Okay thanks. I am picking it up now.

I hope this message finds you well. I have reviewed the issue regarding schema evolution in Delta Lake, particularly the problem that arises when renaming a column while trying to insert new data into a table with nested structures.
I believe I can contribute a fix for this bug independently. Before I get started, I wanted to check if there are any specific guidelines or preferred practices for contributing to the Delta Lake codebase that I should be aware of.
I am excited about the opportunity to contribute to the project and help improve the functionality.

@Pshak-20000 You can take a look at https://github.com/delta-io/delta/blob/master/CONTRIBUTING.md for general information about contributions to this project.
You may want to start by checking with @Richard-code-gig to see if he's still working on this issue or not.
The typical process is then to open a pull request against this repository with a proposed fix + tests, I'm happy to provide some guidance and support with code reviews

Hello @johanl-db, @Pshak-20000 I am working on it and almost done. Johanl I need your help on something minor to complete the assignment, please let me know how I can reach you. Thanks

You can reach me here or through my email<EMAIL_ADDRESS>if that’s more convenient. Let me know what you need help with!!!. Looking forward to hearing from you.

Hello @johanl-db, @Pshak-20000 I am working on it and almost done. Johanl I need your help on something minor to complete the assignment, please let me know how I can reach you. Thanks

You can join the Delta slack workspace and reach me there: https://go.delta.io/slack
Or you can open a draft PR and we can have a discussion on the PR directly.

Hi,
Just wanted to give an update!
I’ve successfully managed to get it working and am now in the process of writing the test cases and ensure backward compatibilities in line with the project guidelines. I expect to submit a PR sometime this week.
I initially thought it would be a simpler task, but it's taken a bit more effort than I anticipated.

Hi @johanl-db,
The PR is now successful. The 1 failing check and the dependent canceled checks are caused by an unrelated issue, as observed in this commit and addressed in this PR.


[Performance- FindInFiles] Action Item 1- Make find in files UI non-blocking.

Make find in files UI non-blocking. The first searches for a medium to large project takes quite long and being blocking, it gives a very bad perception of its performance.


MSPE vs RMSPE

The pystacked table, graphs and saved results say "MSPE" but these are really RMSPEs.
Will relabel and leave reported numbers unchanged.

Relabelled output and changed e(mspe) to e(rmspe).


drop the target files

@homunkulus r+

:pushpin: Commit 213d929 has been approved by japaric

:hourglass: Testing commit 213d929 with merge 213d929...

@homunkulus r+

:pushpin: Commit 1c90948 has been approved by japaric

:hourglass: Testing commit 1c90948 with merge 1c90948...

:sunny: Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing 1c9094814d810a2747cad2551355aa24b479a0a2 to master...


[Request]: Need a way to open Dev Tools Pane

Hi,
Is there a way to open a Dev Tools Pane similar to the below image taken from another extension.
If not this would be a useful feature to add so that JavaScript console.log() output can be seen.

I also suggest that the Tool Bar (highlighted in green below) of the Visual Web Editor should have the ability to be hidden and/or moved to the other side:

Thank you,
MB

Please create other issue for toolbar enhancement.

Ok,
New issue has been created :)

Is there a way to open a Dev Tools Pane similar to the below image taken from another extension.

I don't know how to do that. Which specific extension are you referring to?

Hello,
Refer to the following image for labels. The other extension is called, "Live Preview, boxed in Lavander or Pink color." Clicking on the hamburger, boxed in green will reveal the option, Open Devtool Pane, boxed in Light Blue color. Clicking on that will activate the Dev Tools Pane, boxed in Red Color.
Basically, it's just like Right-Clicking on a Firefox page and choosing, Inspect
It's just difficult on most of the tools that have this features to easily access the Inspect functionality of browsers.
It should be just easy as a keyboard short cut or Right-Clicking on the live preview page.

Thank you,
MB

VS Code includes a built-in developer tool accessible directly from the application.
To open it, go to the top menu bar, select Help > Toggle Developer Tools.
This will launch the Chrome DevTools window.

Urin,
Thank you for the information. I'd forgotten that option. I was just curious to see if
there was an easier way to bring up the Dev Tools function, for example, by toggling
it from within your extension, perhaps with a right-click, or keyboard short cut, or a
button, something quicker than always having to go to the help menu.
Thank you for your input.
MB :)

As a result of the investigation, I’ve decided not to implement it because it would require significant changes. If a method for this is provided through the VSCode API in the future, I’ll reopen this issue and consider implementing it.


freac: Update to version 1.1.6, fix autoupdate

Relates to Excavator out of date: https://github.com/ScoopInstaller/Extras/runs/5777899107?check_suite_focus=true#step:3:246

[x] I have read the Contributing Guide.

/verify


fix(storageLimit)

Place of Storage Limit and Number of Storage Volumes switched.
Storage Limit disabled if Number of Storage Volumes equals zero.
In add components and mod requests (in onSubmit Function) a form control is skipped if it is disabled, also filterEnteredData in application-base-class skips pushing to valuesToConfirm if a form control is disabled.
Try to fulfill the following points before the Pull Request is merged:

[ ] Give a meaningfull description for the PR
[ ] The PR is reviewed by one of the team members.
[ ] It must be checked if anything in the Readme must be adjusted (development-, production-, setup).
[ ] It must be checked if any section in the wiki (https://cloud.denbi.de/wiki/) should be adjusted.
[ ] If the PR is merged in the master then a release should be be made.
[ ] The PR is responsive on smaller screens.
[ ] If the requirements.txt have changed, check if the patches still work
[ ] If the new code is well commented

For releases only:

[ ] If the review of this PR is approved and the PR is followed by a release then the .env file
in the cloud-portal repo should also be updated.
[ ] If you are making a release then please sum up the changes since the last release on the release page using the clog tool with clog -F

Maybe the storage limit shouldn't be visible if no number of storage is selected?
Or if Storage Limit becomes disabled , change the value to 0 ( the default is 20 and i think it can be confusing if the input is disabled but a value is still shown)


To get search results as an array

Can I get search results which are highlighted as an array?
And is there an option to search two words separated by spaces as a one string?

Hi,
Thanks for submitting.
Please read the contribution guidelines and provide the required information named there.


Advice on how best to use Elvish for development and infrastructure automation

I have a project that I have built over the last couple of decades, and that I have used to support many consulting clients.  It is a framework to support and empower automation for software development and infrastructure automation.  The target audiences are site reliability engineers (SREs), DevOps (and DevSecOps) engineers, and developers in general.  My hope is to address a massive opportunity that I perceive regarding the techniques, the tools, and the examples that currently exist.
I had previously built my project using Bash. In so doing, I made the same "default" scripting choice that limits and cripples most projects.  My project's scripting shell is a particularly crucial tool choice that will make-or-break my project's potential success.  So now I am redesigning and rewriting my project, starting with the choice of a scripting shell that can fulfill my project's ultimate purpose.
I have considered and rejected a myriad of other shell candidates, based on essential principles that I have gleaned.  I have spent a few months trying Fish, and found that it is not suitable for several reasons.  I spent a few weeks trying Xonsh, and found that its slow performance is unacceptable.  I am now trying Elvish, and it seems very promising.
I have asked some questions here and there in the Elvish project's issues, and the community has been kind enough to indulge me and to engage with me.  However, it was suggested that I should open an issue that better collects and focuses my questions into a single discussion--one that is less likely to be perceived as polluting or distracting from other issues.  I accept that suggestion, I offer my apologies for any harm I may have caused, and I ask for the community's advice on my project.
I have a little over four decades of experience and exposure as a software and system engineer, architect, database administrator, technical consultant, etc.--I have pretty much worn all the hats.  Lately, I focus on DevSecOps.  I run my own consulting business that provides crucial development, security, and operational support to enterprise-class clients around the world.
I strongly prefer an approach centered on the Unix philosophy.  In that realm there are numerous tools offered and MANY examples.  The tools are (rightly) focused on a particular portion of the overall solution to automating the software development lifecycle (SDLC) all the way through to deployment and operations.  As a necessary consequence, someone must write the "glue" that connects all those tools together.  Ideally, that "glue" logic should bind those tools into a seamless pipeline for transforming the ideas in our heads into the technology that runs our world.  That pipeline should do so using the best practices that we are able to design, with all of the functional and nonfunctional requirements that matter.
The massive opportunity that I perceive is to provide a very solid example that covers the full scope of choosing good tools, designing the best practices, and implementing it all objectively WELL.  In other words, I observe that the existing examples are too specialized towards a particular part of the overall challenge, while I believe that we desperately need a generalized example that constitutes a full solution.
As we all know, most examples of tool and technique use are purposefully abbreviated to show just the point of discussion.  In many cases, the author even says that explicitly.  That is all good.  As an industry, though, it is obvious that individuals and organizations often fail (sometimes catastrophically) at imitating, collecting, and assembling those trivialized examples into a coherent whole.  My heart breaks for the people caught in such situations.  A few examples go much further, often to the point of building an entire application.  Sometimes those examples even go so far as to deploy and operate an example application or system, especially in our modern age of easy virtualization using the cloud and/or containers.
Still, in essentially all cases, the examples are held back.  The authors typically explain that their code is purposefully not production-grade or enterprise-class because making it so would be too distracting or overwhelming.  I know of a couple of examples that go much further, but they are commercial offerings with significant price tags.  Again, that is all good.  Nonetheless, I feel that our industry will greatly benefit from an example that goes all-the-way and is readily available to all.
Hence, my project is not about writing another "tool" per se.  My target is an open-source project that IS that example.  It is a single source-controlled repository (monorepo using trunk-based development) that WELL demonstrates Continuous Deployment of a production-grade, enterprise-class technology solution based on a realistic set of best practices, good tool choices, and solid engineering.
People would "use" my project by forking (or copying) it as the template for their own projects, then customizing it with their own tool choices, their own application source code, and their own glue logic.  So I have no worries about my choices colliding with theirs, because the projects will already be theirs.  They can and will change anything and everything to suit themselves, and I intend to fully encourage and empower their choices.  My challenge is to give them enough of a start to be worthy of them forking my project, and then enabling their own choices enough that they do not feel forced to abandon the effort in favor of something else.
I am NOT advertising.  I am NOT asking for contributors.  I do NOT (yet) even have code worthy of public disclosure--it is too much in flux (i.e., broken as I figure it all out).  I am seeking advice on whether Elvish is the proper foundation for such an endeavor.    Will the Elvish community be willing to embrace an audience that is attempting to build and support such pipelines across workstations, VMs, containers, and clouds around the world?
If not Elvish, then which shell?

In the discussion of https://github.com/elves/elvish/issues/974, @krader1961 responded to some comments that I had made.  I have moved the discussion here as requested.
I missed that one link about the Elvish package manager.  If EPM is released and is useful, why is it not featured in the tutorial?  Even a Google search turns up almost nothing about it.  I did not even get a hit for that page.  That seems quite unfortunate for users.
I mentioned Python in response to @zzamboni's comments.  He used Python as an example of module search behavior.  I clarified Python's behavior and how it contrasts with Elvish.  Of course Elvish can define its own module search behavior.  How that module search behavior is defined, and how well it is communicated, will both have significant impacts on the user experience.  I am simply advocating for a better user experience.
I must disagree.  Only Elvish will translate use ./activate into a reference to the relative path ./activate.elv.  No other tool or language will do that, because it is not a relative path.  Dropping the last few characters of the file name is simply not in the definition of a relative path.  Nothing I encountered in the documentation and presentation of Elvish told me that I should expect to write use ./activate in order to get Elvish to use my module script at ./activate.elv.  Likewise, I encountered nothing that told me that Elvish officially uses .elv as a common file suffix.  I certainly never encountered anything that told me that Elvish requires the .elv file suffix.
I literally spent days troubleshooting this issue before I got it to work, and I discovered how to make it work by digging through @zzamboni's personal dot files project (which he was kind enough to publish publicly).  This is not a good user experience.  If I were to make Elvish an essential part of my own project--telling the user that they must start out with use ./activate--I would expect to describe this Elvish convention to my users so that they do not likewise suffer from this bad user experience.
@krader1961 makes a crucial point about Elvish modules.  Elvish loads a module upon encountering the first use statement that references it.  It is inappropriate for me to refer to this as "cacheing".  While cacheing is an important design factor, a crucial distinction is that cacheing MUST be transparent.  The system must still function correctly whether an item has been cached or not, whether it expires out of the cache, and whether it never gets loaded into the cache.  Those characteristics do not fit an Elvish module.  It is essential to Elvish that it load a module and execute its code once-and-only-once, regardless of the number of references.  This is similar to the behavior of importing Python modules, and to extensions of various kinds in other platforms as well.  I retract my request for cacheing Elvish modules; it simply does not fit.
We contrasted with Fish, which is effectively pretending to "cache" its functions when it is actually reloading its functions.  That puts the burden on the user to be extremely careful with their function definitions to avoid issues from reloading.  Maybe that is an acceptable burden, but I do not think that it is presented clearly enough to Fish's (potential) users.  I have been wary when writing my own Fish functions, so I can readily believe @krader1961 when he describes the potential horror of that "cacheing".
I am a little concerned about the discussion getting argumentative and heated.  That is not my desire, nor does it serve the community.  Of course, the tech industry is nonetheless famous for it.  I am trying--for my part--to limit it.  My primary concern is the user experience, mine as well as others.
As a general rule-of-thumb from widespread experience, each issue actually raised directly by a user is known to be representative of many more silent users that encountered the same issue but will never report it.  How many more silent users exist is debated, but the various measures and educated guesses seem to range from about ten to as many as a thousand silent users for EACH user that actually complains directly.
Here are some references based on a Google search of "how many customers have the same complaint", in no particular order:

https://www.superoffice.com/blog/customer-complaints-good-for-business/
https://sharpencx.com/blog/customer-happiness-customer-service-statistics/
https://www.linkedin.com/pulse/20130604134550-284615-15-statistics-that-should-change-the-business-world-but-haven-t/
https://customerthink.com/6-reasons-your-customers-do-not-complain/
https://www.inc.com/andrew-thomas/the-hidden-ratio-that-could-make-or-break-your-company.html
https://www.ufv.ca/hrcro/why-people-dont-bring-forward-complaints/

I acknowledge that much of what I present and say is likely unique to me in many--if not most--ways.  However, please consider that I am also representative of numerous other users in some--perhaps many--of the issues I try to address.

Thanks @xiaq for your comments and encouragement.  I am very impressed with Elvish, and I thank you for your efforts!
I did not mean to imply distributed shell processing in my discussion.  I feel that Immutable Servers are an excellent and essential pattern, so I do not intend to do much of anything with remote shells (perhaps just troubleshooting on rare occasion).
Thank you so much for the references.  Those are some excellent blogs and discussions about this whole realm and related patterns.  I will be reading for days...  :)


WIP: auto set correlation ID

Fixes #604
This PR is ready for review.
Risk
This PR makes minor API changes.
Testing Plan
This was tested by removing manually set correlation IDs in a test app's proxy and ensuring that they were auto set correctly by the library
Summary

In RPCRequest.java, edit getCorrelationID() and check for the key in the RPCMessage. If it was not set manually, then set it.

CLA

[X] I have signed the CLA

Codecov Report

Merging #611 into develop will increase coverage by 0.03%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #611      +/-   ##
=============================================
+ Coverage      39.92%   39.96%   +0.03%
- Complexity      2346     2349       +3
=============================================
  Files            329      329
  Lines          14230    14232       +2
  Branches        1477     1477
=============================================
+ Hits            5682     5688       +6
+ Misses          8343     8337       -6
- Partials         205      207       +2

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com/smartdevicelink/proxy/RPCRequest.java
80% <100%> (+3.07%)
6 <2> (+1)
:arrow_up:

...m/smartdevicelink/util/CorrelationIdGenerator.java
44.44% <0%> (+44.44%)
2% <0%> (+2%)
:arrow_up:

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 96eb784...f9ae297. Read the comment docs.


regressioncasecheck  stats and log memo for tpcds_sf1_unique_p1/query46

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run p1 10

run p0

run p1

run p1

run feut

run beut

run clickbench


Add ssh endpoint to Acornfile

The usual configuration for gitea has a web server on port 3000 and an ssh endpoint (to be used for git) on port 22. Add that in.

Well, the first try at this successfully launched the service, but since I don't have a loadbalancer the state of the ssh port is .
Issue open at https://github.com/acorn-io/acorn/issues/545 for testing whether a load balancer is available.

Turns out I do have a load balancer in the Rancher Desktop setup (klipper-lb), but my best guess is that the slightly older versions of Rancher Desktop and Kubernetes components I was running needed this fix https://github.com/rancher-sandbox/rancher-desktop/commit/f7238ed842611881ef333fc3de67930420b38161 to properly forward all of the ports into Lima. Works with Rancher Desktop 1.5.1, Kubernetes v1.24.3. The change to the Acornfile at https://github.com/vielmetti/acorn-gitea/commit/a6a479017ec992f746476cd623edbb34903c5a72 enables the SSH port.


Warn on using incomplete parameter name

You open your script up to a future breaking change if you use a command parameter and not specifying the full parameter name.  For instance, say I use Get-Foo -R in Foo module v1 where Get-Foo has only one switch parameter -Recurse.  This works until Foo v2 comes out and the author has add a new parameter to Get-Foo called -Rollback.  Now all of a sudden that script with Get-Foo -R will start failing due to an ambiguous parameter name.

A precaution comes to mind here.  I have seen cmdlets that have extended a
parameter name from one release to the next.  For example, Get-Foo
-Computer in one release, and then Get-Foo -ComputerName in another release
once they realize they should be consistent with the -ComputerName
parameter.  With this proposed rule, scripts would all of a sudden warn
when a module was updated, when they didn't previously warn.  It's a bit of
an edge case, but I wanted to add it here just as food for thought while
considering this rule since it has happened before.
--
*Kirk Munro *
Poshoholic, Microsoft MVP
Blog http://poshoholic.com/ | Twitter http://twitter.com/poshoholic |
LinkedIn http://ca.linkedin.com/in/kirkmunro | GitHub
http://github.com/KirkMunro | Facebook
http://www.facebook.com/#!/kirk.munro
Need a PowerShell SME for a project at work? Contact me
http://poshoholic.com/contact-me/!
On Tue, Aug 18, 2015 at 4:05 PM, Keith Hill<EMAIL_ADDRESS>wrote:

You open your script up to a future breaking change if you use a command
parameter and not specifying the full parameter name. For instance, say I
use Get-Foo -R in Foo module v1 where Get-Foo has only one switch parameter
-Recurse. This works until Foo v2 comes out and the author has add a new
parameter to Get-Foo called -Rollback. Now all of a sudden that script with
Get-Foo -R will start failing due to an ambiguous parameter name.
—
Reply to this email directly or view it on GitHub
https://github.com/PowerShell/PSScriptAnalyzer/issues/294.


feature/set plugin window title

Resolves #6
Resolves #7
Starting the plugin from the menu:
Ideally we would just see Plugins -> Add Dock Widget -> Allen Cell Segmenter, but it seems Napari automatically nests dock widgets (like Allen Cell Structure Segmenter) and functions ("threshold" and "image arithmetic" -- which are examples from the plugin cookie cutter which we can/should remove at some point) under the name of the package (napari-aicssegmentation in this case). I'm not sure we can change that.

View plugin as a separate window or as a docked widget:
Again, I couldn't find a way to remove the package name (napari-aicssegmentation) from the window title -- maybe one of you know how.

Notes

I also removed a sanity check from _function.py per Jamie's request.

Pull request recommendations:

[x] Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
[x] Link to any relevant issue in the PR description. Ex: Resolves [gh-12], adds tiff file format support
[x] Provide context of changes.
[ ] Provide relevant tests for your feature or bug fix.
[x] Provide or update documentation for any feature added by your pull request.

Thanks for contributing!

@heeler I think we might need to add Jianxu to the org? I can't seem to find him on the reviewer request list.

@schoinh I will migrate to the AllenCell org and make sure everything is setup properly in terms of permissions and contributors.

I'll also check what this looks like on Linux when I have a minute

Looks sort of bad on Linux with the title on the side...

@yrkim98 can you see what it looks like on Windows? Not sure how much control we have over the look and feel of the plugin window but might be something to explore if @jxchen01 and Graham think it's really ugly. I know there will be UI/UX reviews scheduled with CZI as well and they'll be able to offer assistance. For now I think we make a mental note of these details but it isn't worth spending much time on.

Looks sort of bad on Linux with the title on the side...

@yrkim98 can you see what it looks like on Windows? Not sure how much control we have over the look and feel of the plugin window but might be something to explore if @jxchen01 and Graham think it's really ugly. I know there will be UI/UX reviews scheduled with CZI as well and they'll be able to offer assistance. For now I think we make a mental note of these details but it isn't worth spending much time on.

Thanks for trying it out on Linux. I agree, we can come back to this if needed

I am trying to tag @neuromusic  (Justin from CZI), it seems like it does not work for people outside the organization?

Thanks for the Zulip link @jxchen01 , I just saw there that another way to change the name of the app is to do this:
@napari_hook_implementation
def napari_experimental_provide_dock_widget():
	return AllenCellStructureSegmenter, {'name': 'Testing'}

So I tried it, but it didn't change the outcome (i.e., the title of the window still starts with "napari-aicssegmentation"), so I'll leave it as is for now. We can easily update it later if we find a way to override that. I'll ask a question in the Zulip chat about this question and the nested menu thing.

For the record, I just found out that if I remove _functions.py (which removes "threshold" and "image arithmetic" from the menu) then the menu consolidates itself into Plugins -> Add Dock Widget -> napari-aicssegmentation: Allen Cell Structure Segmenter. @yrkim98 you probably knew this from previous experience but tagging you just in case

@schoinh that makes sense, some packages will expose more than one plugin. Let's remove those other example functions since we don't need them.


Add more integer dtypes

This PR adds support for signed and unsigned integer datatypes. There are now 8 different dtypes for integers, and they have 8, 16, 32 or 64 bits in size.
The idea is to follow the same naming from Nx. {:s, size} is for signed integers, and {:u, size} is for the unsigned.
In this PR I'm adding only the new dtypes. The :integer dtype remains, and I should "rename" it - to {:s, 64} - in another PR.

PS: there are some work to be done in the area of projecting the dtypes of "out dfs" that I plan to do in another PR as well.

Also don't forget to add to your todo list the refactoring of iotype. :)


Implement String#unicode_normalize and String#unicode_normalized?

Closes #11223.
This is a WIP; the code is in a usable state, but every non-ASCII string performs a full normalization on every call to either method. Ways to optimize these methods will be implemented soon.
The spec file directly downloads the test suite from the Unicode Character Database on each invocation. This is probably better than defining all the ~18k test cases in the spec file itself.

The spec file directly downloads the test suite from the Unicode Character Database on each invocation. This is probably better than defining all the ~18k test cases in the spec file itself.

This is inacceptable. The spec suite must be able to run without any external components.
I think we could either consider incorporating the spec source data into the repository, or make the spec to run manually.

That would be very nice to have! I just came across the need to remove diacritics from a String, and normalizing to NFD would make it super easy.
I'd just name the methods without the unicode_ prefix (hence #normalize) but that's just a personal preference. I also wouldn't generate a String in #normalized? when the string is maybe normalized, but iterate each char to check if it's normalized or not, but that can be optimized later.

I have no idea how to optimize the slow path for #unicode_normalized? yet. Anyone with a better algorithm in mind could take over.


Timestamps show more than 60 seconds

Recreate:
Show pdf view of an app.
Expected: Timestamp is shown with seconds going up to 60 seconds.
Actual: Timetamps is shown in a way that seconds appear to go above 60 seconds.
See screenshots on this slack thread:
https://altinn.slack.com/archives/C02EJ9HKQA3/p1723713014909379

Heyy, Can i work on this ?

Retested this today could not recreate. I see that @paal2707 has swapped to date-fns after this was reported so might have fixed it. Will ask the rapporters to retest.


V0.2 Logical operator overloading for EarlyStoppingChecker

Logical operator overloading for EarlyStoppingChecker
Description
Logical operator overloading for EarlyStoppingChecker.
Linked issue(s)/Pull request(s)

Issue 171

Type of Change

[ ] Non-breaking bug fix
[ ] Breaking bug fix
[x] New feature
[ ] Test
[ ] Doc update
[ ] Docker update

Related Component

[ ] Simulation toolkit
[x] RL toolkit
[ ] Distributed toolkit

Has Been Tested

OS:

[ ] Windows
[ ] Mac OS
[x] Linux

Python version:

[ ] 3.6
[x] 3.7

Key information snapshot(s):

Needs Follow Up Actions

[ ] New release package
[ ] New docker image

Checklist

[ ] Add/update the related comments
[ ] Add/update the related tests
[x] Add/update the related documentations
[ ] Update the dependent downstream modules usage

Codecov Report

Merging #178 into v0.2 will decrease coverage by 0.59%.
The diff coverage is 15.90%.

@@            Coverage Diff             @@
##             v0.2     #178      +/-   ##
==========================================
- Coverage   72.45%   71.86%   -0.60%
==========================================
  Files          89       89
  Lines        4139     4183      +44
==========================================
+ Hits         2999     3006       +7
- Misses       1140     1177      +37

Flag
Coverage Δ

unittests
71.86% <15.90%> (-0.60%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ro/rl/early_stopping/abs_early_stopping_checker.py
21.42% <11.42%> (-50.00%)
:arrow_down:

...rl/early_stopping/simple_early_stopping_checker.py
34.37% <33.33%> (-0.41%)
:arrow_down:

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 f878f80...637fb08. Read the comment docs.


Code complexity common format

Create a format for sonar plugin in order to abstract sonar metrics.
This format should work with JS/CSS/HTML and anything else

This is a great idea.

https://github.com/gucong3000/gulp-reporter/tree/checkstyle
this is gulp plugin for lint result conversion. I'd like to compatible with the format you created.

'use strict';
const vfs = require('vinyl-fs');
const eslint = require('gulp-eslint');
const tslint = require('gulp-tslint');
const stylelint = require('stylelint');
const postcss = require('gulp-html-postcss');
const reporter = require('gulp-repoetter');
const gulpif = require('gulp-if');

vfs.src('src/**/*')
	.pipe(
		gulpif(
			file => /\.(jsx?|es\d+|vue|html?)$/.test(file.path),
			eslint()
		)
	)
	.pipe(
		gulpif(
			file => /\.ts$/.test(file.path) && !/\.d\.ts$/.test(file.path),
			tslint()
		)
	)
	.pipe(
		gulpif(
			file => /\.(js|es\d+)$/.test(file.path),
			tslint()
		)
	)
	.pipe(
		gulpif(
			file => /\.(css|sass|scss|less|sss|vue|html?)$/.test(file.path),
			postcss([
				stylelint()
			])
		)
	)
	.pipe(reporter({
		blame: false,
		fail: false,
	}));

I can work full-time for this.

Which is something like an infinite more than we can. I think someone will add you to the project in the next few days (hopefully today)

@gucong3000 You can also submit a PR.

I am working on https://github.com/gucong3000/gulp-reporter/tree/sonarcloud
that support output json files now:
[{"severity":"error","lineNumber":3,"columnNumber":5,"rule":"camelcase","plugin":"ESLint","doc":"http://eslint.org/docs/rules/camelcase","message":"Identifier 'unicorn_rainbow' is not in camel case.","source":"let unicorn_rainbow = 'foo';","fileName":"E:\\work\\gulp-reporter\\test\\fixtures\\xo\\invalid.js"},{"severity":"error","lineNumber":3,"columnNumber":5,"rule":"no-unused-vars","plugin":"ESLint","doc":"http://eslint.org/docs/rules/no-unused-vars","message":"'unicorn_rainbow' is assigned a value but never used.","source":"let unicorn_rainbow = 'foo';","fileName":"E:\\work\\gulp-reporter\\test\\fixtures\\xo\\invalid.js"},{"severity":"error","lineNumber":3,"columnNumber":5,"rule":"prefer-const","plugin":"ESLint","doc":"http://eslint.org/docs/rules/prefer-const","message":"'unicorn_rainbow' is never reassigned. Use 'const' instead.","source":"let unicorn_rainbow = 'foo';","fileName":"E:\\work\\gulp-reporter\\test\\fixtures\\xo\\invalid.js"},{"severity":"warn","lineNumber":2,"columnNumber":1,"rule":"no-warning-comments","plugin":"ESLint","doc":"http://eslint.org/docs/rules/no-warning-comments","message":"Unexpected 'todo' comment.","source":"// TODO: foo","fileName":"E:\\work\\gulp-reporter\\test\\fixtures\\xo\\invalid.js"}]

lint-reports.zip

npm is more friendly to front-end developers.
https://github.com/bellingard/sonar-scanner-npm/pull/20

@vogloblinsky
I need help with Java, I don't have Java experience

@gucong3000 me too. May be @aurelien-baudet can help ?

Maybe we can pass the report on to the Generic Test Data interface.


No pipenv

Remove pipenv

@Hussam-Suleiman please ignore, it is just a test

@Hussam-Suleiman If you have time maybe you can test it for new installations and tell me what you think
For existing installations there is still more things to do like:

make script to change service files
make script to convert current working .venv into requirements.txt and .python-version
... more things


TSV Dataset with commas doesn't work

AirBnb Dataset from this website and from this data source.
We can't process this data set. I think it may be because of commas in the data set (e.g. "East-West Highway, Silver Spring, MD 20910, United States").
Ask Becca for dataset

This bug also exists on AutoML, raised an issue here

It's a bug in TextLoader, (or a feature I would say)
A solution to bypass this restriction might be

General (C# CSV/TSV) reader which returns an IEnumerable (maybe CsvHelper) ( We can pass delimiter from ModelBuilder to AutoMLService)
ML.NET creates an IDataView from the IEnumerable https://github.com/dotnet/machinelearning/blob/d6a4b1dd79e13c9a749ad9fdeb1c6ea2f4f547a6/docs/code/SchemaComprehension.md#streaming-data-views

after we get IDataView, we can go to the next step (to train the models)

Raise a fixing PR here in machinelearning


Generate client doc examples from Elasticsearch reference examples

Relates: https://github.com/elastic/clients-team/issues/49
This PR adds two new projects to the solution for implementing .NET client examples for the examples in the Elasticsearch reference documentation:
Examples
A class library of examples classes with methods to represent the C# implementations of Elasticsearch reference doc examples
ExamplesGenerator
An executable that can

generate C# example classes from an asciidoc reference file. The reference file is assumed to be of the form
generate asciidoc files for C# examples that have been implemented

== Alternatives Report

=== getting-started.asciidoc: line 209: f8cc4b331a19ff4df8e4a490f906ee69
[source,console]
----
GET /_cat/health?v
----
|===
| php | csharp

| ✓ | ✗
|===
=== getting-started.asciidoc: line 240: db20adb70a8e8d0709d15ba0daf18d23
[source,console]
----
GET /_cat/nodes?v
----
|===
| php | csharp

| ✓ | ✗
|===

Source reference examples are collected into a reference page, and a C# *Page class generated for the reference page, in a directory that matches the source asciidoc relative path, in the Examples project. Each reference example is generated as a method. If a *Page class already exists, is is cloned, then

any new examples that match the hash of an old example will be added. The example method name will be updated, if necessary
any new examples that do not already exist will be added
any old examples that do not exist in the new examples will be removed

An example generated Page class looks like follows
using Elastic.Xunit.XunitPlumbing;
using Nest;

namespace Examples.Docs
{
	public class RefreshPage : ExampleBase
	{
		[U(Skip = "Example not implemented")]
		public void Line87()
		{
			// tag::92d343eb755971c44a939d0660bf5ac2[]
			var response0 = new SearchResponse<object>();

			var response1 = new SearchResponse<object>();
			// end::92d343eb755971c44a939d0660bf5ac2[]

			response0.MatchesExample(@"PUT /test/_doc/1?refresh
			{""test"": ""test""}");

			response1.MatchesExample(@"PUT /test/_doc/2?refresh=true
			{""test"": ""test""}");
		}

		[U(Skip = "Example not implemented")]
		public void Line99()
		{
			// tag::1070e59ba144cdf309fd9b2591612b95[]
			var response0 = new SearchResponse<object>();

			var response1 = new SearchResponse<object>();
			// end::1070e59ba144cdf309fd9b2591612b95[]

			response0.MatchesExample(@"PUT /test/_doc/3
			{""test"": ""test""}");

			response1.MatchesExample(@"PUT /test/_doc/4?refresh=false
			{""test"": ""test""}");
		}

		[U(Skip = "Example not implemented")]
		public void Line110()
		{
			// tag::e4b2b5e0aaedf3cbbcde3d61eb1f13fc[]
			var response0 = new SearchResponse<object>();
			// end::e4b2b5e0aaedf3cbbcde3d61eb1f13fc[]

			response0.MatchesExample(@"PUT /test/_doc/4?refresh=wait_for
			{""test"": ""test""}");
		}
	}
}

Each newly generated example is attributed with the [U] attribute to allow it to be unit tested, which is by default set to Skip.
To implement an example, one just needs to

Change the code within the // tag::<hash>[] and // end::<hash>[] to match the doc examples within the corresponding .MatchesExample() method. Do not change the multiline verbatim string literal inside .MatchesExample()
Remove the Skip property from the [U] attribute, to allow the method to now be tested, and included in docs

Sometimes, a reference doc example might use features that are not directly implemented in the client e.g. match query short form, sort on querystring with sort=, etc. In these cases, .MatchesExample() takes a delegate as a second argument that can be used to modify the example before making test assertion comparisons.
To generate C# from the asciidoc reference, run the following in the ExamplesGenerator directory
dotnet run -- csharp -p <path to asciidoc master reference file>

To generate asciidoc files from the implemented C# examples,  run the following in the ExamplesGenerator directory
dotnet run -- asciidoc

Implemented examples in the following pages

Docs\GetPage.cs
Docs\IndexPage.cs
Docs\DeletePage.cs
Root\GettingStartedPage.cs

example report from which to generate C# classes (remove .txt)
alternative_reports.adoc.txt

Spoke with @nik9000 about generating a single asciidoc file with all examples vs. individual files named  with hash. For now, we'll go with individual files, which will be easier for the docs process to handle.


Rejection error: String polyfills not working in IE 11

Hi,
I've a problem with the "endsWith" and "startsWith" polyfills in IE 11. I get the following errors in the console for "endsWith"
Unhandled rejection Error: function (searchString, position) {
        var subjectString = this.toString();
        console.log("polyfills: [" + subjectString + "|" + searchString + "|" + position + "]");
        if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) {
          position = subjectString.length;
        }
        position -= searchString.length;
        var lastIndex = subjectString.indexOf(searchString, position);
        return lastIndex !== -1 && lastIndex === position;
      }
   at getViewStrategy (http://localhost/Customer/assets/bundle.js:13801:10)
   at load (http://localhost/Customer/assets/bundle.js:16978:8)
   at load (http://localhost/Customer/assets/bundle.js:16051:6)
   at load (http://localhost/Customer/assets/bundle.js:15993:8)
   at Anonymous function (http://localhost/Customer/assets/bundle.js:16361:10)
From previous event:
   at importViewResources (http://localhost/Customer/assets/bundle.js:16330:6)
   at Anonymous function (ht

and for "startsWith":
Unhandled rejection Error: function (searchString, position) {
        position = position || 0;
        return this.substr(position, searchString.length) === searchString;
      }
   at getViewStrategy (http://localhost/Customer/assets/bundle.js:13801:10)
   at load (http://localhost/Customer/assets/bundle.js:16978:8)
   at load (http://localhost/Customer/assets/bundle.js:16051:6)
   at load (http://localhost/Customer/assets/bundle.js:15993:8)
   at Anonymous function (http://localhost/Customer/assets/bundle.js:16361:10)
From previous event:
   at importViewResources (http://localhost/Customer/assets/bundle.js:16330:6)
   at Anonymous function (http://localhost/Customer/assets/bundle.js:436:6)
From previous event:
   at loadResources (http://localhost/Customer/assets/bundle.js:425:4)
   at Anonymous function (http://localhost/Customer/assets/bundle.js:504:8)
   at next (http://localhost/Customer/assets/bundle.js:384:8)
   at runTasks (http://localhost/Customer/assets/bundle.js:390:4)
   at Anonymous function (http://

I replaced this functions with this polyfills https://github.com/mathiasbynens/String.prototype.startsWith and https://github.com/mathiasbynens/String.prototype.endsWith and it worked.
My app is running with the newest aurelia versions and Webpack as bundler.
Has anybody an idea for this behavior?
Thanks!

@code-chris Are you still having this issue?

Sorry for the long delay. I will try to reproduce this in a view days.

Can't reproduce this. Seems to work now.

Whaa! https://imgs.xkcd.com/comics/wisdom_of_the_ancients.png
What did you to do make it go away?

How did you get it in the first place? Maybe some incorrect combination of polyfills, i.e babel polyfills + aurelia polyfills?

@Expaso I only used aurelia-polyfills and bluebird as "classic" polyfill libs. There was always an error in the aurelia-polyfills.js file before the two string functions were applied. But I don't know exactly, it's two years in the past now. 😆


Not support angular 15

🐞 Bug report
Description
$ npx scully
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
  ⚠
      =============================================================
      Config file ".\scully.undefined.config.ts" not found, only rendering routes without parameters
      The config file should have a name that is formated as:
          scully.<projectName>.config.ts
      where <projectName> is the name of the project as defined in the 'angular.json' file
      If you meant to build a different project as undefined you can use:
          --project differentProjectName as a cmd line option

      When you are in a mixed mono-repo you might need to use the --pjFirst flag.
    ===============================================================

  x Could not find project "undefined" in 'angular.json'

🔬 Minimal Reproduction
💻Your Environment
"dependencies": {
    "@angular/animations": "^15.1.0",
    "@angular/cdk": "^15.1.2",
    "@angular/common": "^15.1.0",
    "@angular/compiler": "^15.1.0",
    "@angular/core": "^15.1.0",
    "@angular/forms": "^15.1.0",
    "@angular/material": "^15.1.2",
    "@angular/platform-browser": "^15.1.0",
    "@angular/platform-browser-dynamic": "^15.1.0",
    "@angular/router": "^15.1.0",
    "@scullyio/init": "^2.1.41",
    "@scullyio/ng-lib": "^2.1.41",
    "@scullyio/scully": "^2.1.41",
    "rxjs": "~7.8.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.12.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^15.1.3",
    "@angular/cli": "~15.1.3",
    "@angular/compiler-cli": "^15.1.0",
    "@types/jasmine": "~4.3.0",
    "jasmine-core": "~4.5.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.0.0",
    "typescript": "~4.9.4"
  }

Angular Version:
     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 15.1.3
Node: 16.15.1
Package Manager: npm 9.2.0
OS: win32 x64

Angular: 15.1.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1501.3
@angular-devkit/build-angular   15.1.3
@angular-devkit/core            15.1.3
@angular-devkit/schematics      15.1.3
@angular/cli                    15.1.3
@schematics/angular             15.1.3
rxjs                            7.8.0
typescript                      4.9.4

Scully Version:
package.json
{
  "name": "xxx",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^15.1.0",
    "@angular/cdk": "^15.1.2",
    "@angular/common": "^15.1.0",
    "@angular/compiler": "^15.1.0",
    "@angular/core": "^15.1.0",
    "@angular/forms": "^15.1.0",
    "@angular/material": "^15.1.2",
    "@angular/platform-browser": "^15.1.0",
    "@angular/platform-browser-dynamic": "^15.1.0",
    "@angular/router": "^15.1.0",
    "@scullyio/init": "^2.1.41",
    "@scullyio/ng-lib": "^2.1.41",
    "@scullyio/scully": "^2.1.41",
    "rxjs": "~7.8.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.12.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^15.1.3",
    "@angular/cli": "~15.1.3",
    "@angular/compiler-cli": "^15.1.0",
    "@types/jasmine": "~4.3.0",
    "jasmine-core": "~4.5.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.0.0",
    "typescript": "~4.9.4"
  }
}

🔥 Exception or Error
$ npx scully
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
  ⚠
      =============================================================
      Config file ".\scully.undefined.config.ts" not found, only rendering routes without parameters
      The config file should have a name that is formated as:
          scully.<projectName>.config.ts
      where <projectName> is the name of the project as defined in the 'angular.json' file
      If you meant to build a different project as undefined you can use:
          --project differentProjectName as a cmd line option

      When you are in a mixed mono-repo you might need to use the --pjFirst flag.
    ===============================================================

  x Could not find project "undefined" in 'angular.json'

With angular v14, the defaultProject property on the angular.json file has been removed/deprecated. While this gets fixed on Scully side, one can just add it back and Scully will build fine.
On angular.json file, can you try adding:
"defaultProject": "your-project-name"

We are working on a new version that will work with ANgular V15 and up. It still needs modules, and conventional routing, as the guess parser we are depending on doesn't work without those.
We expect to release a new beta version in a couple of weeks


oils-for-unix: 0.21.0 -> 0.22.0

Description of changes
New version with various changes: https://www.oilshell.org/release/0.22.0/
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

oils-for-unix


HOSTEDCP-1446: hack: remove old arguments and scripts

Consumers now pass arguments directly in the job, so there's no need to have them here.
Depends on https://github.com/openshift/release/pull/53047
/hold

/retest

/test all

Dependant PR merged.
/hold cancel
/lgtm
/retest

/approve


Revert "Pin xDS interop test runner dependencies (#25665)"

Not all xDS interop images use the same version of Python 3. C#, for example, uses 3.5, while my manual run was on a job using 3.6. google-api-core 1.26.1 advertises 3.5 support with a badge on PyPi, but fails to install at that version. This is verifiable with the PyPi JSON API:
"requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*",

The next attempt at this will have to:

Pin dependencies according to the lowest common denominator Python version.
Trigger a lot of manual tests.

Going ahead and merging since this is pure revert.


can't use Axis Y with button

i can't use Axis (RY for my case) with buttons, cause it only has a single max value. If you add a "up" and "down" for Axis it can works

Advanced mapping settings will come with v4.0. Please stay tuned.

i'm tuned thanks

I'm also tuned.
This will be a great addition

This is available from v3.23, but there is no nice UI for it. You need to edit the settings.json when the application is not running.
Example for using RY with A and B buttons:
  ...
  "Mapping": [
    {
      ...
      "Mappings": {
        ...
        "RY": {
          "Mappers": [
            {
              "InputDevice": "Keyboard",
              "InputType": "44",
              "MinValue": 0.5,
              "MaxValue": 0.0,
              "Deadzone": 0.0
            },
            {
              "InputDevice": "Keyboard",
              "InputType": "45",
              "MinValue": 0.5,
              "MaxValue": 1.0,
              "Deadzone": 0.0
            }
          ],
          "CenterPoint": 0.5
        }
        ...
      }
    }
  ]
}

v3.23 had some bugs, better use v3.24.

Great news! I'll try it right now!

Using 3.25, as soon as I tried to edit the existing controller (created with an older version of XOutput), the application crashed.
I then deleted the controller, and created another.
After setting the RX axis in JSON settings like this:
"RY": {           "Mappers": [             {               "InputDevice": "Keyboard",               "InputType": "18",               "MinValue": 0.5,               "MaxValue": 0.0,               "Deadzone": 0.0             },             {               "InputDevice": "Keyboard",               "InputType": "121",               "MinValue": 0.5,               "MaxValue": 1.0,               "Deadzone": 0.0             }           ],           "CenterPoint": 0.5         }
, XOutput crashes as soon as I press a key (after starting the controller).
It generates a error in Windows Event Viewer, showing something like (I'm not in my PC right now)

System.Collections.KeyNotFound

Anyway, I'll try again to see if it wasn't a user error (as I edited the JSON file by hand).

3.25 was crashing with any settings. Sorry for the inconvenience, try 3.26 instead.

for Axes to setting LX/ LY
I have solution to modify programming parameter
https://imgur.com/dY0YKou

for Axes to setting LX/ LY
I have solution to modify programming parameter
https://imgur.com/dY0YKou

could you please post again your fix for this? cant see the image for some reason. thx


Use squash-merging method for merging PRs

Just a simple suggestion towards a cleaner Git history:
I think many projects these days have adopted the squash-merging method for merging PRs. Typically, a PR consists of a single logical change of the target branch. This means, when a PR is merged, the Git history of the target branch receives one additional commit, even though the PR might have several commits due to code review and/or iterative development. Currently, it seems PRs are merged with an additional merge commit which clutters the Git history and makes it harder to read. If squash-merging was used, the Git history would become cleaner.
What do you think?

We use squash merging, but not in general if the PR have a clean history we do a classic merge.

Clean history as in multiple commits each with a logical unit of change in one PR? My point is that the merge commit clutters the history and seems unnecessary with squash-merge (in case the result of the PR is just one logical unit of change). If you want to merge several commits in one PR, which I find less common, a rebase and merge without squashing should also get rid of the extra commit.

The two enabled options look like what I mentioned. The one at the top should be the only one that leads to a merge commit. The recently merged PRs today don't show a merge commit anymore, so I assume you're using those methods two now. 🎉

👍


Create a style sheet for helper classes

This is a place holder. I'll list the classes and rules here soon.

Created a new issue to track helpers (issue #96), so will close this one out.