TextSpan do not render the font weight correctly

Steps to reproduce
In the next example the weight of the word 'of' is not changing. The issue is both on iOS and Android.
Expected results
I expected to have a weight of 100 applied to the word 'of'
Actual results
The weight is inherited from the parent even if I specified a different one in the child.
Code sample
Code sample
MaterialApp(
      home: SafeArea(
        child: Scaffold(
          body:  RichText(
            text: TextSpan(
              text: 'Scanning box: ',
              style: GoogleFonts.poppins(
                textStyle: const TextStyle(
                  color: Colors.black,
                  fontWeight: FontWeight.w900,
                  overflow: TextOverflow.ellipsis,
                  fontSize: 16,
                ),
              ),
              children: const [
                TextSpan(
                  text: '2',
                  style: TextStyle(color: Colors.orange),
                ),
                TextSpan(
                  text: ' of ',
                  style: TextStyle(
                    fontWeight: FontWeight.w100,
                    color: Colors.grey,
                  ),
                ),
                TextSpan(
                  text: '5',
                  style: TextStyle(color: Colors.orange),
                ),
              ],
            ),
          ),
        ),
      ),
    );

Screenshots or Video

Screenshots / Video demonstration

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.4, on macOS 14.2.1 23C71 darwin-arm64, locale en-RO)
    • Flutter version 3.16.4 on channel stable at /Users/ovidiuusvat/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2e9cb0aa71 (3 weeks ago), 2023-12-11 14:35:13 -0700
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/ovidiuusvat/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • 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 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 13 (API 33) (emulator)
    • iPhone 15 Pro Max (mobile)  • F091BEA2-67E5-40CA-A5F1-E93BEA1D19F0 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 109.0.5414.119

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

Thanks for filing this @ousvat.
I can't seem to reproduce this on the latest master and stable channels.

Can you please confirm this by upgrading to the latest versions?
Code Sample

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

void main() {
  runApp(MaterialApp(
    home: SafeArea(
      child: Scaffold(
        body: RichText(
          text: TextSpan(
            text: 'Scanning box: ',
            style: GoogleFonts.poppins(
              textStyle: const TextStyle(
                color: Colors.black,
                fontWeight: FontWeight.w900,
                overflow: TextOverflow.ellipsis,
                fontSize: 16,
              ),
            ),
            children: const [
              TextSpan(
                text: '2',
                style: TextStyle(color: Colors.orange),
              ),
              TextSpan(
                text: ' of ',
                style: TextStyle(
                  fontWeight: FontWeight.w100,
                  color: Colors.grey,
                ),
              ),
              TextSpan(
                text: '5',
                style: TextStyle(color: Colors.orange),
              ),
            ],
          ),
        ),
      ),
    ),
  ));
}

stable, master flutter doctor -v

[!] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale
    en-NG)
    • Flutter version 3.16.5 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (2 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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
      17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios
      • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • F17D2919-6D61-4295-8408-1719692FE958 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 120.0.6099.129

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

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.18.0-18.0.pre.102, on macOS 14.2.1 23C71 darwin-arm64, locale en-NG)
    • Flutter version 3.18.0-18.0.pre.102 on channel master at /Users/damilolaalimi/fvm/versions/master
    ! Warning: `flutter` on your path resolves to /Users/damilolaalimi/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision da62d4a86d (2 hours ago), 2024-01-04 00:57:26 -0500
    • Engine revision 7d5a120a60
    • Dart version 3.3.0 (build 3.3.0-276.0.dev)
    • DevTools version 2.31.0-dev.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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 17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios            • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • F17D2919-6D61-4295-8408-1719692FE958 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 120.0.6099.129

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

! Doctor found issues in 2 categories.
exit code 0

I can still reproduce it on the latest stable Flutter version.
Devices I reproduced: iPhone 15 Pro Max (iOS simulator, iOS 17.2), Pixel XL (emulator, Android API 33)

flutter doctor -v
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-RO)
    • Flutter version 3.16.5 on channel stable at /Users/ovidiuusvat/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (2 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/ovidiuusvat/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • 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 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 13 (API 33) (emulator)
    • iPhone 15 Pro Max (mobile)  • F091BEA2-67E5-40CA-A5F1-E93BEA1D19F0 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 109.0.5414.119

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

• No issues found!

@ousvat Check this:
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: SafeArea(
        child: Scaffold(
          body: RichText(
            text: TextSpan(
              text: 'Scanning box: ',
              style: GoogleFonts.poppins(
                textStyle: const TextStyle(
                  color: Colors.black,
                  fontWeight: FontWeight.w900,
                  overflow: TextOverflow.ellipsis,
                  fontSize: 16,
                ),
              ),
              children: [
                const TextSpan(
                  text: '2',
                  style: TextStyle(color: Colors.orange),
                ),
                TextSpan(
                  text: ' of ',
                  style: GoogleFonts.poppins(
                    textStyle: const TextStyle(
                      fontWeight: FontWeight.w100,
                      color: Colors.grey,
                    ),
                  ),
                ),
                const TextSpan(
                  text: '5',
                  style: TextStyle(color: Colors.orange),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Just wrapped the style of of with GoogleFonts.poppins

Hi @ousvat.
Rerunning the code sample shared earlier on in your Original Comment and https://github.com/flutter/flutter/issues/140958#issuecomment-1877051447, I can't reproduce the issue

However, separating the MyApp() i.e putting it in a separate class, from the main(), I can reproduce this issue.

Reproducible Code Sample

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: SafeArea(
        child: Scaffold(
          body: RichText(
            text: TextSpan(
              text: 'Scanning box: ',
              style: GoogleFonts.poppins(
                textStyle: const TextStyle(
                  color: Colors.black,
                  fontWeight: FontWeight.w900,
                  overflow: TextOverflow.ellipsis,
                  fontSize: 16,
                ),
              ),
              children: const [
                TextSpan(
                  text: '2',
                  style: TextStyle(color: Colors.orange),
                ),
                TextSpan(
                  text: ' of ',
                  style: TextStyle(
                    fontWeight: FontWeight.w100,
                    color: Colors.grey,
                  ),
                ),
                TextSpan(
                  text: '5',
                  style: TextStyle(color: Colors.orange),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Labelling this for more insights.
stable, master flutter doctor -v

[!] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale
    en-NG)
    • Flutter version 3.16.5 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (2 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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
      17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios
      • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • F17D2919-6D61-4295-8408-1719692FE958 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 120.0.6099.129

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

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.18.0-19.0.pre.76, on macOS 14.2.1 23C71 darwin-arm64, locale en-NG)
    • Flutter version 3.18.0-19.0.pre.76 on channel master at /Users/damilolaalimi/fvm/versions/master
    ! Warning: `flutter` on your path resolves to /Users/damilolaalimi/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 89809bef71 (5 hours ago), 2024-01-05 00:15:24 -0500
    • Engine revision 7e63486409
    • Dart version 3.3.0 (build 3.3.0-279.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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 17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios            • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • F17D2919-6D61-4295-8408-1719692FE958 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 120.0.6099.129

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

! Doctor found issues in 2 categories.
exit code 0


Revert $GOPATH/bin from $PATH

This PR is related to discussions in #2259

Is this still relevant? if so merge it' if not discard


[SPARK-7309][Core][Streaming] Shutdown the thread pools in ReceivedBlockHandler and DAGScheduler

Shutdown the thread pools in ReceivedBlockHandler and DAGScheduler when stopping them.

Merged build triggered.

Merged build started.

Test build #31598 has started for   PR 5845 at commit 6c004fd.

zoiks! good catch.
lgtm

Test build #31598 has finished for   PR 5845 at commit 6c004fd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31598/
Test FAILed.

hmm, looks unrelated.  Jenkins, retest this please

Merged build triggered.

Merged build started.

Test build #31607 has started for   PR 5845 at commit 6c004fd.

lgtm. will merge when tests pass.

Test build #31607 has finished for   PR 5845 at commit 6c004fd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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


Indeterministic CLI behavior

Help output depends on unknown state. Here is the sequence:
$ ceedling help
Welcome to Ceedling!
Commands:
  ceedling example PROJ_NAME [DEST]  # new specified example project (in DEST, if specified)
  ceedling examples                  # list available example projects
  ceedling help [COMMAND]            # Describe available commands or one specific command
  ceedling new PROJECT_NAME          # create a new ceedling project
  ceedling upgrade PROJECT_NAME      # upgrade ceedling for a project (not req'd if gem used)
  ceedling version                   # return the version of the tools installed

$ ceedling
Welcome to Ceedling!
Commands:
  ceedling example PROJ_NAME [DEST]  # new specified example project (in DEST, if specified)
  ceedling examples                  # list available example projects
  ceedling help [COMMAND]            # Describe available commands or one specific command
  ceedling new PROJECT_NAME          # create a new ceedling project
  ceedling upgrade PROJECT_NAME      # upgrade ceedling for a project (not req'd if gem used)
  ceedling version                   # return the version of the tools installed

$ ceedling help module
ceedling clean                        # Delete all build artifacts and temporary products
ceedling clobber                      # Delete all generated files (and build artifacts)
ceedling environment                  # List all configured environment variables
ceedling files:header                 # List all collected header files
ceedling files:source                 # List all collected source files
ceedling files:test                   # List all collected test files
ceedling logging                      # Enable logging
ceedling module:create[module_path]   # Generate module (source, header and test files)
ceedling module:destroy[module_path]  # Destroy module (source, header and test files)
ceedling paths:include                # List all collected include paths
ceedling paths:source                 # List all collected source paths
ceedling paths:support                # List all collected support paths
ceedling paths:test                   # List all collected test paths
ceedling summary                      # Execute plugin result summaries (no build triggering)
ceedling test:*                       # Run single test ([*] real test or source file name, no path)
ceedling test:all                     # Run all unit tests (also just 'test' works)
ceedling test:delta                   # Run tests for changed files
ceedling test:path[dir]               # Run tests whose test path contains [dir] or [dir] substring
ceedling test:pattern[regex]          # Run tests by matching regular expression pattern
ceedling verbosity[level]             # Set verbose output (silent:[0] - obnoxious:[4])
ceedling version                      # Display build environment version info

But then:
$ ceedling help
ceedling clean                        # Delete all build artifacts and temporary products
ceedling clobber                      # Delete all generated files (and build artifacts)
ceedling environment                  # List all configured environment variables
ceedling files:header                 # List all collected header files
ceedling files:source                 # List all collected source files
ceedling files:test                   # List all collected test files
ceedling logging                      # Enable logging
ceedling module:create[module_path]   # Generate module (source, header and test files)
ceedling module:destroy[module_path]  # Destroy module (source, header and test files)
ceedling paths:include                # List all collected include paths
ceedling paths:source                 # List all collected source paths
ceedling paths:support                # List all collected support paths
ceedling paths:test                   # List all collected test paths
ceedling summary                      # Execute plugin result summaries (no build triggering)
ceedling test:*                       # Run single test ([*] real test or source file name, no path)
ceedling test:all                     # Run all unit tests (also just 'test' works)
ceedling test:delta                   # Run tests for changed files
ceedling test:path[dir]               # Run tests whose test path contains [dir] or [dir] substring
ceedling test:pattern[regex]          # Run tests by matching regular expression pattern
ceedling verbosity[level]             # Set verbose output (silent:[0] - obnoxious:[4])
ceedling version                      # Display build environment version info

This is more than a bit confusing, as one gets used to having the sought after long help by typing merely ceedling help; or you can have the not quite useless greeting blocked.
It is not just help: now I can run tests by default:
$ ceedling

Test 'test_morse.c'
-------------------
Running test_morse.out...

[==========] Running 3 tests from 1 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from test_morse.c
[ RUN      ] test_morse.c.test_morse_squeak
test_morse.c(22): error: Function HAL_Delay.  Called more times than expected.
 Actual:   FALSE
 Expected: TRUE
[  FAILED  ] test_morse.c.test_morse_squeak (0 ms)
[ RUN      ] test_morse.c.test_morse_dot
test_morse.c(28): error: Function HAL_Delay.  Called more times than expected.
 Actual:   FALSE
 Expected: TRUE
[  FAILED  ] test_morse.c.test_morse_dot (0 ms)
[ RUN      ] test_morse.c.test_morse_dash
test_morse.c(35): error: Function HAL_Delay.  Called more times than expected.
 Actual:   FALSE
 Expected: TRUE
[  FAILED  ] test_morse.c.test_morse_dash (0 ms)
[----------] 3 tests from test_morse.c (0 ms total)

[----------] Global test environment tear-down.
[==========] 3 tests from 0 test cases ran.
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] test_morse.c.test_morse_squeak
[  FAILED  ] test_morse.c.test_morse_dot
[  FAILED  ] test_morse.c.test_morse_dash

 3 FAILED TESTS

It would appear that the extended help command is broken. The first two instances gave you the help listing for when you aren't in a project. The 3rd CREATED a project named module and showed you help about it (it should have shown help about the module, but this is the part that appears to be broken). From there, when you asked for help, it is now showing you the project help. This also explains why your default has changed at the end, because you are now in a project and the default procedure is to run all tests.
SOOOOOOoooooo
While it appears there is a lot wrong, it all comes from one thing: the detailed help command is broken.  I'll see if I can figure out what's going on there. Thanks for the detailed bug report! You've made this much easier.

Here is a similar pitfall I fell. I wanted the ceedling list the source files so I executed ceedling files:source, however I got the following error:

Could not find command "files:source".
I said what the heck is going on if this is a ceedling command. So I executed the ceedling help command and it output the short version and there was no files:source in the list.

At that point I noted that I was not in the project directory. So I moved to the project directory and execute the ceedling help command again and in turn it output long version where the files:source command was on the list.
Conclusion
This seems an expected behaviour if the case is being in different directory other than the project directory since ceedling has its modules in it. But if it behaves the same way even you are in the project directory this then would be a concern.


add new params to lang_id to store the results of language identification

Why are these changes needed?
To validate the non-existence of two columns and let user specify the column name.
Related issue number (if any).

@daw3rd Could you review this PR?


Hide select interpreter

For #12189
Hide Interpreter status bar when opening a Jupyter notebook

Codecov Report

Merging #13767 into master will decrease coverage by 0.02%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master   #13767      +/-   ##
==========================================
- Coverage   59.87%   59.85%   -0.03%
==========================================
  Files         678      678
  Lines       37871    37871
  Branches     5459     5459
==========================================
- Hits        22676    22667       -9
- Misses      14023    14029       +6
- Partials     1172     1175       +3

Impacted Files
Coverage Δ

src/client/interpreter/contracts.ts
100.00% <ø> (ø)

src/client/interpreter/display/index.ts
84.84% <33.33%> (ø)

src/client/datascience/crossProcessLock.ts
79.41% <0.00%> (-11.77%)
:arrow_down:

src/client/common/utils/platform.ts
56.00% <0.00%> (-8.00%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
: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 9d466bc...2c84257. Read the comment docs.


safe-react-components v0.3.0

What's new

EtherscanButton (#45)
Icon: fuelIndicator (#46)
CopyToClipboardButton (#31)
AdressInfo (#26)
Add Story to display colors with name and code (#55)

What has changed

Chore: Bump websocket-extensions from 0.1.3 to 0.1.4 (#14)
Chore: Bump lodash from 4.17.15 to 4.17.19 (#41)
Misc: Components modification for new TXs tab. (#37)
FixedIcon: Add send icon in white and add Ideticon lg size (#52)
Export icon types (#57)
ManageList: Add delete option (#59)
Text: Add isParagraph props (#60)

Bug Fixes

Icon Images - Replace fill-rule with fillRule in JSX files (#39)
TextFile: Do not pass onChange when input prop is provided (#43)
GenericModal: Remove harcoded title (#62)
Text-filed: propagate rest props to TextFieldMui (#64)
TextField: set proper background-color (#65)

Travis automatic deployment:
https://pr67--safereactcomponents.review.gnosisdev.com

Travis automatic deployment:
https://pr67--safereactcomponents.review.gnosisdev.com


CIs failing due to removed httplex package

Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
golang.org/x/net (download)
package golang.org/x/net/lex/httplex: cannot find package "golang.org/x/net/lex/httplex" in any of:
	/home/travis/.gimme/versions/go1.9.6.linux.amd64/src/golang.org/x/net/lex/httplex (from $GOROOT)
	/home/travis/gopath/src/golang.org/x/net/lex/httplex (from $GOPATH)

Closed by #1348.


[KYUUBI #3441][WIP] Change default Spark version to 3.3.1

Why are the changes needed?

Fix https://github.com/apache/incubator-kyuubi/issues/3441;
This pr aims to two points as follow:

Bump Spark 3.3.0 to Spark 3.3.1 in spark-3.3 profile
Change default Spark version to 3.3.1

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

FYI: Spark-3.3.1-rc2 is out.
<EMAIL_ADDRESS>

The test failed consistently, could you please take a look?

Spark 3.3.1 (RC4) vote passed.
<EMAIL_ADDRESS>

Thanks @Yikf, merging to master! Also thanks @wangyum for releasing Spark 3.3.1

Thanks all.


Problem with the calculation of the internal offset in SpriteCache#draw(cacheID, offset, length)

draw(int cacheID, int offset, int length) in the SpriteCache (Here) seems to be broken. More precisely, the calculation of the internal offset.
Issue details
Using that method to draw a cache which is not the first one, e.g. draw(2, 0, imagecount) where imagecount is a manual count of how many images i added earlier, nothing is shown, but i would expect the same result as when calling draw(2) which is working correctly. Also, if cacheID is zero (meaning the internal cache offset is also zero), the method works as expected, further pointing to an issue with the offset.
Looking into the SpriteCache, i found the line int offset = cache.offset / (verticesPerImage * VERTEX_SIZE) * 6; in draw(int cacheID) and  the line offset = offset * 6 + cache.offset; in draw(int cacheID, int offset, int length). In the first one (which is the one correctly working), there is a division by some factor which i didn't find in the second method, so i suppose there's the problem.
Reproduction steps/code
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteCache;

public class DesktopLauncher {
    public static void main(String[] arg) {
        Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
        config.useOpenGL3(true, 3, 3);
        config.setTitle("Problem");
        config.enableGLDebugOutput(true, System.out);
        new Lwjgl3Application(new ReproduceBug(), config);
    }

    private static class ReproduceBug extends ApplicationAdapter {

        private SpriteCache cache;
        private Texture texture;

        private static final int MAX_COUNT = 30;

        @Override
        public void create() {
            this.cache = new SpriteCache(1000, false);
            Pixmap p = new Pixmap(100, 100, Format.RGB888);
            p.setColor(1, 1, 1, 1);
            p.fill();
            p.setColor(Color.CORAL);
            p.fillCircle(50, 50, 50);
            this.texture = new Texture(p);
            p.dispose();
        }

        @Override
        public void render() {
            Gdx.gl.glClearColor(1, 0, 0, 1);
            Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
            cache.clear();
            for (int i = 0; i < 5; i++) {
                cache.beginCache();
                for (int j = 0; j < MAX_COUNT; j++) {
                    cache.add(texture, i * 40, j * 10);
                }
                int id = cache.endCache();
                cache.begin();
                //***** Problem here:
                cache.draw(id, 0, MAX_COUNT); //<- does only work for the first cache (offset and the internal cache.offset are both zero then)
                //cache.draw(id); //<- Works as expected
                //*****
                cache.end();
            }
        }

        @Override
        public void dispose() {
            this.cache.dispose();
            this.texture.dispose();
        }

    }
}

Version of LibGDX and/or relevant dependencies
LibGDX 1.9.12
Please select the affected platforms

[ ] Android
[ ] iOS
[ ] HTML/GWT
[ ] Windows
[x] Linux
[ ] MacOS

But I suppose the bug is independent of platform.

Thanks for the nice repro code!


Project Thunder don't work Anymore

Project Thunder script https://github.com/ClonkAndre/ProjectThunderIV don't work with new IVSDK 1.7 update. Here's the error it's giving on the console menu: [04/10/2024 05:00:14] An error occurred while processing 'Tick' event for script 'ProjectThunderIV.Main'. Aborting script. Details: System.MissingMethodException: Method not found: 'CCL.GTAIV.AnimationController.PedAnimationController CCL.GTAIV.IVPedExtensions.GetAnimationController(IVSDKDotNet.IVPed)'.
in ProjectThunderIV.Main.<>c__DisplayClass47_0.b__0() in ProjectThunderIV.Main.ProcessDelayedCalls(Boolean calledFromUninitializeEvent) in ProjectThunderIV.Main.Main_Tick(Object sender, EventArgs e) in IVSDKDotNet.Script.RaiseTick() in Manager.Classes .FoundScript.RaiseTick() in Manager.Main.<>c__DisplayClass35_0.b__0(FoundScript fs) [04/10/2024 05:00:14] Aborting script ProjectThunderIV.Main... [04/10/2024 05 :00:14] Manager successfully aborted script ProjectThunderIV.Main.

I'm on <IP_ADDRESS> using ZolikaPatch and latest Liberty Tweaks 1.5 without Dxvk or Fusionfix

Project Thunder is not a ScriptHookDotNet mod. Please post this issue in the Project Thunder Issues page here on GitHub (https://github.com/ClonkAndre/ProjectThunderIV)


Is there a way to “normalize” the light condition for a group of images?

Dear authors,
Is there a way to “normalize” the light condition for a group of images?
For example, in face recognition, I have 1000 faces. For some faces, there is strong light from upper left, for some other faces, there is strong light from both upper left and right. For some faces, light is very strong, and for others light is very weak.
I want to get rid of the light effect, can I have an average or normalized light condition for all faces?
Thanks in advance.

Maybe you can use “Intrinsic decomposition” on human face to remove the Light influence.

Dear authors,
Is there a way to “normalize” the light condition for a group of images?
For example, in face recognition, I have 1000 faces. For some faces, there is strong light from upper left, for some other faces, there is strong light from both upper left and right. For some faces, light is very strong, and for others light is very weak.
I want to get rid of the light effect, can I have an average or normalized light condition for all faces?
Thanks in advance.

Maybe you can use “Intrinsic decomposition” on human face to remove the Light influence.

Thank you for your question. Your question may be another problem like delighting or albedo estimation. I recommend some works to you.

[1] Controllable Light Diffusion for Portraits, Siggraph 2023, paper link.
[2] Total Relighting: Learning to Relight Portraits for Background Replacement, project page

Although the results are amazing, their group never released code, which may it hard to follow. Anyway, I think some other public code of delighting or albedo estimation of the references of [1][2] would motivate your research.

@Wanggcong @jxl0131 Thank you both for your kind reply.


Product:Cloudflare WARP — Error 1722 MsiInstaller

Expected Behavior
Cloudflare WARP service is registered and its TSR-product is entered into Windows 8.1's startup configuration complete their installation (while internet is OFFLINE*) & without errors from execution of supplied 77~Mb file: Cloudflare_WARP_Release-x64.msi 'Setup Wizard';
eg. Click the Finish button to exit the Setup Wizard. Completed the CloudFlare WARP Setup Wizard
Actual Behavior
Dialog: The Setup Wizard allows you to change the way Cloudflare features are inatalled on your computer or to remove it from your computer. Click Next to continue or Cancel to exit the Setup Wizard. You're seconds away from a safer internet.
(many seconds away, in fact)
Section that requires update
Computer Management.msc says:
There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action InvokeWebview2Bootstrapper, location C:\WINDOWS\Installer\MSI5A98.tmp, command: /silent /install
Log Name: Application
Source:   MsiInstaller
Level:    Error
Keywords: Classic
OpCode:
Additional information

Validating Install
Please wait while Setup Wizard repairs Cloudflare WARP
Status: Installing Windows Firewall Configuration
Registering components
etc...
*failure, backing out installation*

Level    2
Keywords 0x80000000000000
7B35393741364237392D4237392D423242452D344344392DD423835452D3843304237423333323230417D
In Words:
0000: 373935B 37423641 32422D39 342D4542
0010: 2D394443 45353842 3043382D 33423742
0020: 30323233 7D41
In Bytes:
{597A6B79-B2BE-4CD9-B85E-8C0B7B33220A}


REST API getDocumentCount

Is there a direct way of getting document account in REST API other than through all_docs then getting rows.length?
This operation is very expensive for a large number of documents.

Could you ask your question on the forums https://forums.couchbase.com/c/mobile. This medium is better suited for general questions rather than on github which is the issue tracker. Cheers


HOTFIX: Task#dirtyClose should not throw

The javadocs of Task#closeDirty claim it Never throws an exception but we actually do throw an exception directly if trying to make an illegal state transition. We should just catch all exceptions thrown from close in closeDirty to be completely safe

We need to swallow exceptions from StateManagerUtil#close

test this please

test this please

test this please


Failed pip install from Azure - West Europe

Collecting alembic==0.9.8 (from -r requirements.txt (line 1))
Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 137, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
OSError: [Errno 99] Cannot assign requested address

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 217, in connect
    conn = self._new_conn()
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connection.py", line 146, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f76b2151588>: Failed to establish a new connection: [Errno 99] Cannot assign requested address

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 577, in _prepare_file
    session=self.session, hashes=hashes)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 810, in unpack_url
    hashes=hashes
  File "/usr/lib/python3/dist-packages/pip/download.py", line 649, in unpack_http_url
    hashes)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 842, in _download_http_url
    stream=True,
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c pip install -r requirements-dev.txt' returned a non-zero code: 2

My Platform

Network telemetry

DNS Resolution

dig pypi.org A
<Replace with your output>

dig pypi.org AAAA
<Replace with your output>

dig files.pythonhosted.org A
<Replace with your output>

dig files.pythonhosted.org AAAA
<Replace with your output>
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 2
executed on an ubuntu VM on the Azure Cloud.
location West Europe

### Traceroutes

<!--
    traceroute is used for these examples, if you are familiar with another tool
    that performs a similar utility, please provide that output.
-->

#### IPv4

```shell
traceroute pypi.org
dig pypi.org A

; <<>> DiG 9.10.3-P4-Ubuntu <<>> pypi.org A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20881
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;pypi.org.			IN	A

;; ANSWER SECTION:
pypi.org.		37	IN	A	<IP_ADDRESS>
pypi.org.		37	IN	A	<IP_ADDRESS>
pypi.org.		37	IN	A	<IP_ADDRESS>
pypi.org.		37	IN	A	<IP_ADDRESS>

;; Query time: 10 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Mon May 07 23:07:21 IDT 2018
;; MSG SIZE  rcvd: 101

traceroute files.pythonhosted.org
traceroute files.pythonhosted.org
traceroute to files.pythonhosted.org (<IP_ADDRESS>), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

IPv6 (If available)
traceroute6 pypi.org
<Replace with your output>

traceroute6 files.pythonhosted.org
<Replace with your output>

HTTPS Requests

IPv4
curl -vvv -I --ipv4 https://pypi.org/pypi/pip/json
<Replace with your output>

curl -vvv -I --ipv4 https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz
<Replace with your output>

IPv6 (If available)
curl -vvv -I --ipv6 https://pypi.org/pypi/pip/json
<Replace with your output>

curl -vvv -I --ipv6 https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz
<Replace with your output>

TLS Debug
IPv4
echo -n | openssl s_client -4 -connect pypi.org:443
<Replace with your output>

echo -n | openssl s_client -4 -connect files.pythonhosted.org:443
<Replace with your output>

IPv6 (If available)
echo -n | openssl s_client -6 -connect pypi.org:443
<Replace with your output>

echo -n | openssl s_client -6 -connect files.pythonhosted.org:443
<Replace with your output>

Issue seem to be resolved.


git-embed needs git as dependency

https://hackage.haskell.org/package/git-embed. Using functions from this package can call some template haskell which generates calls to git at compile time. Unfortunately unless git is already in the environment this will fail, so pure builds fail unless git is explicitly passed as a dependency. Is there an easy fix for this?

Yeah, our typical solution is to patch the package source from within the Nix expression to point at the specific git path the library should use. People either bundle patch files or just programmatically patch the source with sed or substituteInPlace.
Also note that the package claims to be deprecated in favor of gitrev.

Thank you.

(triage) @charles-cooper do you want to close?

Closing because OP didn't respond to triage.


WT programs do not respond to arrow keys sent from the SendKeys API

Environment
Windows build number: 10.0.18362.0
Windows Terminal version 1.3.2651.0:

Any other software?

A C# program using the SendKeys API

Steps to reproduce

Write a program in C# using the SendKeys API to emulate keypresses. Use this program to attempt to send arrow keys to a program running in Windows Terminal.
Expected behavior

The program in Windows Terminal should respond as if an arrow key has been pressed. In Powershell or CMD or most shells, the cursor should move according to the arrow key that is pressed.
Actual behavior

The cursor blinks as if a key has been pressed, but will not move. The program in WT does not respond in any other way. The up and down arrow keys sent by SendKeys WILL work in the dropdown menu however. It seems like programs running in WT will respond to most other keys appropriately.

Do you happen to know if SendKeys sends the key events with the scan code set to 0? I bet we're filtering them out, because they have a 0 scancode.
There's also #7438 and #7495 that I'm guessing are all the same root cause.
/cc @lhecker

I don't know enough to be able to say. Sounds like a good hypothesis though. Is there an easy way to find out?

It most certainly is the underlying reason. Currently all "improper" SendInput inputs are ignored, whose wVk are invalid (outside of the 0x01-0xff range), or whose wScan is zero. See here.
To be completely honest: When I submitted the offending PR, I didn't think of testing whether AutoHotkey and PowerTools still work with non-character key events. 😟
Optimally AutoHotkey, PowerTools, etc. should fix their SendInput code and only send valid wVk and wScan values. But since we should strive to be as compatible as possible to "incorrect" software, I'll try to look into this in the coming days. @zadjii-msft 🙂

Oh and just for reference... This is a minimal example of how you use SendInput correctly:
#define NOMINMAX
#include <Windows.h>
#include <cstdio>

int main()
{
    printf("Waiting 5 seconds for you to switch to Windows Terminal...\n");
    Sleep(5000);
    printf("Sending arrow up key\n");

    INPUT ip{};
    ip.type = INPUT_KEYBOARD;
    ip.ki.wVk = VK_UP;
    ip.ki.wScan = LOWORD(MapVirtualKeyW(VK_UP, MAPVK_VK_TO_VSC));

    ip.ki.dwFlags = 0;
    SendInput(1, &ip, sizeof(INPUT));

    ip.ki.dwFlags = KEYEVENTF_KEYUP;
    SendInput(1, &ip, sizeof(INPUT));

    return 0;
}

(This example is only correct in the scope of the problem in this issue though.)


follow up to running example

Hi Michal,
I know you closed this issue but had a couple questions based on the error
I am getting. It looks like the "common" folder is missing from the tree,
this is where all the dependencies should be.
/usr/local/hello-kafka-streams/src/main/java/org/apache/kafka/connect/api/
** org.apache.kafka.common**.????

Is it supposed to be built during the build phase and pull in all the
dependencies?

Should it be part of the  hello-kafka-streams app library already?

Thanks for the help.
Patrick.

Hi, it should automatically be pulled by gradle.
On 15 Apr 2016 14:58, "PPhiri"<EMAIL_ADDRESS>wrote:

Hi Michal,
I know you closed this issue but had a couple questions based on the error
I am getting. It looks like the "common" folder is missing from the tree,
this is where all the dependencies should be.
/usr/local/hello-kafka-streams/src/main/java/
org/apache/kafka/connect/api/
** org.apache.kafka.common**.????

Is it supposed to be built during the build phase and pull in all the
dependencies?
2.
Should it be part of the hello-kafka-streams app library already?
Thanks for the help.
Patrick.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4

Thanks for the response.  Then there is an issue for me cause its not there
after the build, that's why the compiler is not finding the dependencies.
Any ideas of what I need to do for a fix?
Thanks.
On Fri, Apr 15, 2016, 11:00 AM Michal Harish<EMAIL_ADDRESS>wrote:

Hi, it should automatically be pulled by gradle.
On 15 Apr 2016 14:58, "PPhiri"<EMAIL_ADDRESS>wrote:

Hi Michal,
I know you closed this issue but had a couple questions based on the
error
I am getting. It looks like the "common" folder is missing from the tree,
this is where all the dependencies should be.
/usr/local/hello-kafka-streams/src/main/java/
org/apache/kafka/connect/api/
** org.apache.kafka.common**.????

Is it supposed to be built during the build phase and pull in all the
dependencies?
2.
Should it be part of the hello-kafka-streams app library already?
Thanks for the help.
Patrick.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4#issuecomment-210520972

I am not sure as you report things quite inaccurately - dependencies are
not part of source tree. Read about gradle more.
On 15 Apr 2016 17:38, "PPhiri"<EMAIL_ADDRESS>wrote:

Thanks for the response. Then there is an issue for me cause its not there
after the build, that's why the compiler is not finding the dependencies.
Any ideas of what I need to do for a fix?
Thanks.
On Fri, Apr 15, 2016, 11:00 AM Michal Harish<EMAIL_ADDRESS>wrote:

Hi, it should automatically be pulled by gradle.
On 15 Apr 2016 14:58, "PPhiri"<EMAIL_ADDRESS>wrote:

Hi Michal,
I know you closed this issue but had a couple questions based on the
error
I am getting. It looks like the "common" folder is missing from the
tree,
this is where all the dependencies should be.
/usr/local/hello-kafka-streams/src/main/java/
org/apache/kafka/connect/api/
** org.apache.kafka.common**.????

Is it supposed to be built during the build phase and pull in all the
dependencies?
2.
Should it be part of the hello-kafka-streams app library already?
Thanks for the help.
Patrick.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<
https://github.com/amient/hello-kafka-streams/issues/4#issuecomment-210520972

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4#issuecomment-210537031

Sorry mate, had not used gradle before this example. I have done sbt or
maven builds. It would help if you can point me to the part of gradle that
should be downloading the dependencies. Only change done to the build file
was addition of kafka directory.
Thanks
On Fri, Apr 15, 2016, 11:44 AM Michal Harish<EMAIL_ADDRESS>wrote:

I am not sure as you report things quite inaccurately - dependencies are
not part of source tree. Read about gradle more.
On 15 Apr 2016 17:38, "PPhiri"<EMAIL_ADDRESS>wrote:

Thanks for the response. Then there is an issue for me cause its not
there
after the build, that's why the compiler is not finding the dependencies.
Any ideas of what I need to do for a fix?
Thanks.
On Fri, Apr 15, 2016, 11:00 AM Michal Harish<EMAIL_ADDRESS>wrote:

Hi, it should automatically be pulled by gradle.
On 15 Apr 2016 14:58, "PPhiri"<EMAIL_ADDRESS>wrote:

Hi Michal,
I know you closed this issue but had a couple questions based on the
error
I am getting. It looks like the "common" folder is missing from the
tree,
this is where all the dependencies should be.
/usr/local/hello-kafka-streams/src/main/java/
org/apache/kafka/connect/api/
** org.apache.kafka.common**.????

Is it supposed to be built during the build phase and pull in all the
dependencies?
2.
Should it be part of the hello-kafka-streams app library already?
Thanks for the help.
Patrick.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<

https://github.com/amient/hello-kafka-streams/issues/4#issuecomment-210520972

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
<
https://github.com/amient/hello-kafka-streams/issues/4#issuecomment-210537031

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4#issuecomment-210541784

I see, in that case here is an sbt port of this project: https://github.com/julianpeeters/hello-kafka-streams-twitter
Good luck! :)

Thanks.
On Fri, Apr 15, 2016, 1:14 PM Michal Harish<EMAIL_ADDRESS>wrote:

Closed #4 https://github.com/amient/hello-kafka-streams/issues/4.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/amient/hello-kafka-streams/issues/4#event-629303357


Can't open the prepared video resources on Dropbox

Hello,
I can't open the website of prepared video resources on Dropbox , could you please update them?
Thanks a lot!
best wishes,
Sarah

Hi zxy110, you can try again. We open the Dropbox link without error.


Error redirect after login

With watchLoggedIn = true, after executing loginWith, I login, but I get an error

What scheme and provider are you using?

What scheme and provider are you using?

Laravel JWT

@Teranode I have the same error after calling loginWith. I'm using nuxt 3 and laravel sanctum provider

@moonofmylife @4KDA pushed another update try that?


Fix documentation to reflect default_security change

Overview
This updates the Authorization documentation to reflect the change to the default value of default_security.
This existing documentation is misleading especially for people who are just starting out (me! ✋🏽 ) and wondering why a normal user can't add a document to a database.
Checklist

[ ] Code is written and works correctly
[ ] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[x] Documentation changes were made in the src/docs folder

Thank you for your contribution, @eanyanwu


Fix package

Add package footer for packaging convention
Declare free variables as local variable
Remove unused variables
Add autoload cookie for lazy loading

This patch also fixes following byte-compile warnings.
import-js.el:59:1:Warning: Unused lexical variable `old-buffer'
import-js.el:59:1:Warning: Unused lexical variable `old-buffer'
import-js.el:72:1:Warning: Unused lexical variable `buffer'

In run-import-js:
import-js.el:82:52:Warning: assignment to free variable `command'
import-js.el:86:41:Warning: assignment to free variable `name'
import-js.el:82:27:Warning: reference to free variable `command'
import-js.el:88:41:Warning: reference to free variable `name'

Thanks for the PR @syohex! This all looks good to me, but I'm going to let @kevinkehl have a look at it before I merge (he wrote the initial Emacs integration). My knowledge of Emacs plugins is limited, and my Lisp is rusty.

Thanks @syohex! Looks good to me, @trotzig.


Add API option to getCompletionsAtPosition to expose completion symbol information

Fixes #51936
https://github.com/microsoft/TypeScript/issues/51936#issuecomment-1363092926
Only 2 tests fail: The baseline file api/typescript.d.ts has changed.
@andrewbranch Let me know if I'm going here into right direction.

I don't think I have any concerns, this looks fine besides the comments you already left. @andrewbranch I do have a question though: if we make the symbol part of the API, what would that imply for us regarding future, possibly breaking changes in completions? For example, until recently I think (but I might be wrong) we only had one completion entry per symbol, but that changed with object method completions (although that feature can be disabled). Would we have to be more mindful of that kind of change going forward?

Should the symbol go right on CompletionEntry, or should it be wrapped in an apiData property or something?

From my perpective it is easiest solution for us and most convenient for consumer

For example, until recently I think (but I might be wrong) we only had one completion entry per symbol, but that changed with object method completions (although that feature can be disabled). Would we have to be more mindful of that kind of change going forward?

That’s not an issue for this particular change, since still every completion has at most one symbol. The only way this property could break a future API change is if individual completions started being derived from multiple symbols 🤔.
Thinking about it this morning, though, I’m wondering if the change needs to be so generic. What additional data might someone need on a completion item in the future? Maybe we should just call the option includeSymbol, and put symbol as an optional property on CompletionEntry. The extra types and overload really don’t help that much, because symbol is always optional at best.

Maybe we should just call the option includeSymbol, and put symbol as an optional property on CompletionEntry.

tbh I more like general name, as idea can be extended without adding new properties. Like what if also type to string completions or container of completions will also be added in future (though I cant imagine a usecase for them for now)? Anyway, its just a naming for current implementation so let me know what you think guys.

The extra types and overload really don’t help that much, because symbol is always optional at best.

It will change already existing calls so plugin devs might start wondering what is new symbol property is added and why its never defined. On the other hand jsdoc can be added to clarify it. Don't mind of any change here.

Replace all includeApiData to includeSymbol
Remove overload, CompletionEntryWithApiData and add symbol to just CompletionEntry

Discussed this in #52790 and yes, along with my suggested JSDoc change, if you do these two things it should be good to go 👍


Could it support hackerrank ?

I noticed a similiar project here:
https://github.com/andrewstuart/hr
But it is with Go, and I don't know how to build/install it.

sounds like a plugin like lintcode

@skygragon 这很有用, leetcode是用来练习的, 而hackerrank是直接用来面试的,如果能够离线用自己最喜欢的IDE来做的话, 面试成绩可以快速提高.

This issue was moved to skygragon/leetcode-cli-plugins#16


allow interoperability with pydantic

doesn't work with pydantic.
make it work with pydantic.

@jonah-ramponi-xapien now compatible with pydantic in version 0.2.0: https://pypi.org/project/sensible-types/


fix: add UpgradePolicy state awareness to addon controller

Summary
Ensure the addon controller properly handles UpgradePolicy edge cases by inspecting the previous UpgradePolicy state value.

/hold

/unhold


feat: 🎸 add 6.0.x types

update types for 6.0.0 spec version
✅ Closes: DA-800

:tada: This PR is included in version 5.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


A plan for future-proof tile URLs

We are starting to see versioned/dated URLs in https://github.com/sharedstreets/sharedstreets-builder/issues/10#issuecomment-374067708. @kpwebb and I talked by phone to see if there was a sensible URL structure that SharedStreets could commit to for tiles going forward. It would provide immutability so that tile consumers could be reassured of stable identifiers, links to the source OpenStreetMap data so OSM IDs could be unambiguously referenced, and an index format so that clients could choose when to move forward. As with OSM Planet, latest would be a special date to indicate the newest copy of the data.
Here’s what a sample JSON index with URI templates might look like:
[
  {
    "url_template": "https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.pbf",
    "planet_url": "http://planet.openstreetmap.org/pbf/planet-180319.osm.pbf",
    "planet_date": "latest",
    "version": "0.2.0"
  },
  {
    "url_template": "https://tiles.sharedstreets.io/planet-180319/{z}-{x}-{y}.{layer}.pbf",
    "planet_url": "http://planet.openstreetmap.org/pbf/planet-180319.osm.pbf",
    "planet_date": "2018-03-19",
    "version": "0.2.0"
  },
  {
    "url_template": "https://tiles.sharedstreets.io/planet-180312/{z}-{x}-{y}.{layer}.pbf",
    "planet_url": "http://planet.openstreetmap.org/pbf/planet-180312.osm.pbf",
    "planet_date": "2018-03-12",
    "version": "0.1.0"
  }
]

We also talked a bit about different build levels for tiles based on road class. Right now, the SharedStreets tiles include all roads down to small service alleys and parking lots. A tile URL might include a minimum road class to slice the data:

All roads: https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.pbf
Roads at and above a specific class: https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.{roadClass}.pbf

Residential streets and larger: https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.6.pbf
…
Motorways only: https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.0.pbf

Feedback on this proposal welcome!
/cc @hassoncs

@migurski 👍 Looks rock solid!
I really like the fact that you could extract only certain layers, that would benefit low bandwidth connectivity and only deliver the data that's needed.
It could be interesting to play with.
👍 I like the URI Template sample

Thanks @DenisCarriere! I’m excited to see this move forward, and it’ll be possible to do a lot of cool stuff wth an internally-consistent planet. URLs are currently a blocker for one PR: https://github.com/sharedstreets/sharedstreets-python/pull/7

@migurski and @DenisCarriere this looks great from my side. I can start working on the layer implementation now -- we can already generate these using the builder app.
Two additional ideas:

what do you all think about adding a tile source to the URL schema to allow for tiles from OSM and other data providers (e.g. public authorities, proprietary maps willing to share their references, etc.). Something like this:

https://tiles.sharedstreets.io/{source}/{tileset-version}/{z}-{x}-{y}.{layer}.0.pbf
So OSM would look like:
https://tiles.sharedstreets.io/osm/planet-latest/{z}-{x}-{y}.{layer}.0.pbf

I'm also curious about adding a really simple header line to each tile that says where it comes from. Could be as simple as:

{ source: "osm/planet-latest" last_modified: {timestamp} }
I think everything else is in the file name but could make the z/x/y +layer part of the header to improve legibility.

👍 I like including {source} to easily expand to other data sources.
I'm thinking maybe the {roadClass} might a bit too much customization, that's going to be a lot of maintenance to host new datasets if we also have support an additional 6+ road classes pbf datasets.
I'd stick with the essentials at first, and if we see the need to include {roadClass} because the file sizes are getting too big, then we can include it later on.
URL Template
https://tiles.sharedstreets.io/{source}/{tileset-version}/{z}-{x}-{y}.{layer}.pbf

I'm also curious about adding a really simple header line to each tile that says where it comes from. Could be as simple as:

👍 Sounds like a good idea, would that be stored in the PBF? Or stored as a *.json file?
We could host two files per tile:

*.pbf (tile data)
*.json (metadata)

I've been following along as you carry out this discussion. I thought I would throw my two cents in.
I think @migurski's proposal to handle {roadClass} layers is elegant. My development team struggles to handle displaying, for example, volume data on all streets when zoomed out on a map. We have brainstormed in the past and thought splitting road classes into different layers  would solve the problem so that data-driven styling is snappier no matter the zoom.
I think it would make more sense from a user perspective too. When zoomed out far, I see only traffic volumes (traffic counts) on motorways and trunks, for example. As I zoom in, I see traffic volumes on local roads.
This was actually what caught my attention and had me following this issue.

+1 to {source}, looks good.
I’ll say a bit more about {roadClass} to explain where the idea is coming from. Right now in our Remix work, we're finding that tiny non-roads like parking lot aisles, alleys, and driveways are interfering with our use of the graph. We’ve looked at filtering them out, but it’s not always possible to do this correctly near tile boundaries. It’d be easier to have multiple levels of road class cutoff, allowing us to pick and show all driveable roads.

Just to second @josiekre and @migurski's comments about {roadClass} We need to be able to build complete SharedStreets references for various levels in the road hierarchy for a variety of reasons, and because of the tile boundaries it's not easy to do filtering on the client. We can automatically generate these alternative tiles during the build stage.
Two clarifying questions:

@migurski can you share a bit more about how you imagine the {layer} attribute working? I get the {roadClass} (driven by the OSM tag classification) but not I understand how the layer works?

How should we handle segments with multiple OSM classifications within the segment? Right now anything that has two or more mergeable classifications we're combining them and labeling it as unclassified. It's a bit of a hack but perhaps we can get away with it because it's just an edge case.

 [highway=primary]         [highway=secondary]
================*===================
                      [roadClass=unclassified]

As we start removing roads from the intersections I suspect that this will pop up frequently, as we start merging intersections with excluded roads:
                          [excluded road]
                                      |
 [highway=primary]     |    [highway=secondary]
================*===================
                      [roadClass=unclassified]

Should we change the underlying "unclassified" concept to something more robust? Perhaps we categorize as the highest class road in the segment but flag that theres more than one in the segment?

As an FYI, we also have this "form of way" concept that we're including in the references. This borrows from OpenLR and is included primarily for compatibility with the OpenLR spec, however, I'm curious if it is useful as a layer of abstraction that sits on top of the OSM tags?

{layer} comes directly from the current tile URLs with one of the four possible tile name extensions: “reference“, “intersection”, “geometry“, and “metadata”.
The way I was imagining classification, it would happen prior to conversion from OSM via a filter. In the example above, there might be a tile level with the highway=primary included, and the highway=secondary excluded. That might lead to a missed intersection, which I’m unsure is important. It’s one of the many cases where some graph awareness is necessary to merge different SharedStreets data sources together.

@migurski doh! of course! sorry for being dense about the layer thing.
This approach to creating the roadClass tiles works great - the builder already roadClass filter ways during the OSM ingest and we can just iterate through the list of possible filter options:
https://github.com/sharedstreets/sharedstreets-builder/blob/master/src/main/java/io/sharedstreets/tools/builder/osm/OSMDataStream.java#L244
I guess my main question is if the you're thinking of the roadClass filter as being something like highway=primary or greater (how it currently works) or if it should filter exclusively filter out one class per tile?
If it's, "{roadClass} or greater" I'm curious to get your take on how we should merge connecting segments of different classes (per point 2 above)?
Currently we merge different classes together, but we could switch to keeping each class discreet. We're merging aggressively, and creating mixed roadClass references to prevent poorly mapped OSM ways getting split up when they should be a contiguous reference.
I don't have a strong opinion about how do this, so curious to get other takes on how to handle

I’m thinking of it as highway=primary or greater. If you got residential streets, you’d also get primary roads and motorways in the same tile. The reverse might not be true to traverse just graphs of highways and major roads.
Skipping a few levels for brevity, it could look like this:

Minor roads, major roads, and motorways: https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.6.pbf
Major roads and motorways: https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.3.pbf
Motorways only: https://tiles.sharedstreets.io/planet-latest/{z}-{x}-{y}.{layer}.0.pbf

+1 @migurski
cc: @gregmacfarlane (my colleague who might want to weigh in)

@migurski @josiekre Fantastic -- this works for me!
Any thoughts on the question about combining different roadClass segments together per:
              [excluded road]
                    |
[highway=primary]   |  [highway=secondary]
====================*=====================
        [roadClass=??]

I’d choose either the higher or the lower value for this case — unsure if that would be roadClass=2 (primary) or roadClass=3 (secondary). Probably the latter, since it’s the most limiting class along the segment.
So,
              [excluded road]
                    |
[highway=primary]   |  [highway=secondary]
====================*=====================
               [roadClass=3]

@migurski Thanks for all the feedback -- I've taken a stab at implementing this as described above. For testing purposes I'm producing tiles for each classification breakpoint.
Just from experimenting with SF data it looks like a lot of streets are "highway=unclassified" which means that they only show up in level 6 or below.
There are also a lot of surprises in the higher levels (e.g. Market is mapped a  tertiary route through most of SOMA...), so we may end up just sticking with level 6 as the primary layer case until we and use this is drive improvements in the OSM QA process.
Screenshot of level 6 tiles for SF:

I'm attaching a zip of all the tiles (level 0-7) for SF. Once you have a chance to take a look, let me know and I'll kick off the process for a global tile build.
sf_test_tiles.zip

@gregmacfarlane and I will be in the same workspace next week and plan to dedicate an hour or two to  dive into SharedStreets repos/documentation for CityCast. We'll be brainstorming then about this topic, and the SF tiles will be helpful.
Greg and I both agree that the OSM data with regards to road class are still messy enough that maybe this discussion is putting the cart before the horse, but it's true that developing this could improve the OSM QA process in a really good way.

I gave the class=6 tiles a try, and they look great. I’d love to see these become the default.

@migurski Fantastic! I'll go ahead and kick off the tile build with 6>, 4>  and 2> (Uncategorized>, Tertiary>, and Primary>).

Great! Any chance of an ETA on tiles for this? They’ll be immediately useful to us if we can try them by Friday.

Visual preview:

@migurski Super fun!
Global tiles are building (usually takes about 24 hrs so expect them to come off the press this evening. I'll let you know when we kick off the copy to S3.

@migurski the S3 copy is still running but should complete in the next few hours.
Tiles should become visible as the copy completes at:
https://tiles.sharedstreets.io/osm/planet-180312/12-2445-1223.geometry.6.pbf

Thought I’d bump this issue since it’s been a while since we’ve talked about long-term stable IDs. We’re still really interested to see a time-based index of static tile sets, the first part of the thread above. The 180312 planet has been working well, but eventually it’ll be necessary to migrate forward and determine a cadence for updates.

Visual preview:

Is there hints/docs/bread crumbs anywhere in the repos to create this experience using these tiles? I'm very familiar with Mapbox GL technology, but I don't see how ShSt pbf tiles come in. I'm circling the repos for bread crumbs of UI examples, but coming up short.


Fix issue #159, where you can't pass in "-Xmx" or any option not starting with -D

Simple fix, just allow an additional option called "grid_jvm_x_options" that allows passing in any String to the commandline.

Ready to merge whenever!

All tests passed. Merging in.


Fixed the same alignment issues I had in my code.

Didn't test is here, but couldn't find a contact for you, so this may help.
Since we're working on similar things, ping me on discord: BoringCrypto#3523

@boringcrypto Doesn't this increase the size of the image by 1 pixel in each direction? is there a reason why you think it could solve the misalignment issues in #130

I think it's a misalignment on how photoshop reasons about pixels and how JIMP does it. I had those exact issues and used this to fix it. Give it a whirl and it will probably solve that issue for you too. And come say hi in our discord https://discord.gg/JdvPdg2Edd


Update/ui_v2

Large UI overhaul

removes the right prompts menu and adds it as a tab to the left sidebar
removes all settings on the left sidebar and turns it into a single settings menu
changes Settings gear icon to circle with initials if signed in user has user data
fixes sidebar in light mode theme (no longer black)
moves Temperature to global setting instead of per chat
moves System prompt to global setting instead of per chat (currently disabled since requires backend changes)
adds a reset settings button
makes dark theme slightly darker
Modifies intro on confirmation that app received model data (typewriter effect/fade in)
adds info icon/text box for model info
fixes placeholder text for message input on mobile devices (no wrap - shorter placeholder)
reduces image icon size for faster load times (azure logo)

Notes:

tried to update translations but there's actually a lot of missing translation info already. Maybe tackle that all together in the future.

looks like margins messed up with sidebar buttons when comparing with prod. Will fix that tomorrow but everything else should be ready for testing.

@mitcheman @blaze-burgess-msf so far all primary functionalities are up and running for me; folder creation is smooth and the UI looks clean
there are two things I'll mention:

In the event that a user enters a prompt and stops the prompt generation via the 'Stop Generating' button, sometimes the 'Regenerate response' action is disabled (edge case but this could still happen during regular interactions, video below)

https://github.com/MSF-USA/chatbot-ui/assets/119887378/b875e719-c309-404b-b748-ecb21ebbd21a

If a user wishes to change the model temperature mid conversation, they have to scroll to the top of the page which can be troublesome in long conversations. This should perhaps end up being a pop up modal, or end up having some autoscroll functionality. Nice to have but not necessary- just provides some ease.


Gather batching rule

Fixes #246. Opened #350 to add scatter.

This took some effort because XLA's Gather HLO is kind of confusing.

Thanks to @hawkinsp's review suggesting a new test case, we caught a bug!


Fetch Data PR

In this branch, I:

Added linters
Added routes
Added dependencies
Created and updated component files
Created and updated redux files
Added a bit styling
Deleted old files

Thanks.

STATUS: APPROVED 🟢
Good job on implementing requested changes.
Now you need to add testing and styling to the project. You can go ahead and merge your project.


Empty option in select box? Help

Hello, I started using "laravel Panel", this excellent thanks.
Now I have a question, I used a "select box" I like add a blank option at first, How can I do this?
Thanks
$this->edit->add('parent_id', 'Categoria Padre', 'select')->options(Category::lists( "name", "id"));

@jedidas
In option function we should pass a array and you can just add a index to that array before passing it .
		$Category_options = Category::lists("name", "id");
		array_unshift($department_options , '');

		$this->edit = \DataEdit::source(new Category());
		$this->edit->add('parent_id', 'Categoria Padre', 'select')->options($department_options);

Please ask any other questions you have , Thank you for using LaravelPanel .

Hello, thank you very much for your reply. I add an empty option without problem.
Now trying to save a record by selecting the option empty shows me this error, I have tried in various ways passing null, but is converted to string or the number 0
$Category_options = Category::lists("name", "id");
        array_unshift($Category_options , '');

Error
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`laravelpanel`.`categories`, CONSTRAINT `categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE) (SQL: insert into `categories` (`name`, `slug`, `description`, `image`, `parent_id`, `state`, `updated_at`, `created_at`) values (Frituras, frituras,
Frituras descripcion
, frituras-de-pan-postre-panama1.jpg, NULL, 0, 2015-07-09 14:13:35, 2015-07-09 14:13:35))
File: /Applications/MAMP/htdocs/Practica/laravelpanel/vendor/laravel/framework/src/Illuminate/Database/Connection.php
Line: 625

Migration DataBase
Schema::create('categories', function(Blueprint $table)
        {

            $table->increments('id');
            $table->string('name', 255);
            $table->string('slug', 255)->unique();
            $table->string('description', 255);
            $table->string('image', 80);

            $table->integer('parent_id')->nullable()->unsigned();
            $table->foreign('parent_id')
                  ->references('id')->on('categories')
                  ->onDelete('cascade');

            $table->boolean('state')->default(true);
            $table->timestamps();

        });

Thanks

@alenoosh will check that why it won't let you set it null
For now you can listen to model event and re-write data .
Check this issue : https://github.com/serverfireteam/panel/issues/46
Thank you

It works perfect
Many thank you very much

I have the same issue. My first indexes are always 0 even if it's null. @jedidas what did you do to solve the issue?

I'm having this same problem now, with values that should be a foreign key or null. I have tried the approach in #46, and rewrite data, but the error occurs before I even get to rewrite the data.
It seems like it's impossible to set a value to null.

 I was using the creating method on the model to intercept panel before updating the model.
In case anyone arrives here looking for it, here's a full edit method on a controller I have, that deals with null values using the updating method on the model I use.
public function edit($entity){

    parent::edit($entity);

    \App\Book::updating(function($data) {
        $author_id = \Request::input('author_id');
        if ($author_id == '0') {
            $data->author_id = null;
        }
    });

    $this->edit = \DataEdit::source(new Book());

    $this->edit->label('Edit Book');
    $this->edit->add('title','Title', 'text')->rule('required|min:5');

    $authors = Author::pluck("name", "id")->all();
    array_unshift($authors, '-- Please select the author of this book --');
    $this->edit->add('author_id','Author', 'select')->options($authors);
    // author_id has a foreign key constraint on the 'authors' table,
    // but it is nullable.

    // ...

    return $this->returnEditView();
}


Beta prep

Changes the alpha release notice to a beta one.
Bumps the theme pages to a version with the simple fix that closes #669.

See suggestion for typo fix. Otherwise this looks good.

Good catch, thanks @microbit-robert.


Printed actions of copier update are incorrect in some cases

Describe the problem
When updating a project that involves removed files in the template or the project, the actions printed to the terminal aren't correct.
Template
See reproducible example below.
To Reproduce
$ mkdir src

$ echo '{{ _copier_answers | to_yaml }}' > 'src/{{ _copier_conf.answers_file }}.jinja'
$ touch src/file_1.txt
$ touch src/file_2.txt
$ git -C src init
$ git -C src add .
$ git -C src commit -m v1
$ git -C src tag v1

$ copier copy src dst
Copying from template version 1
    create  .
    create  file_2.txt
    create  file_1.txt
    create  .copier-answers.yml

$ rm dst/file_1.txt
$ git -C dst init
$ git -C dst add .
$ git -C dst commit -m v1

$ rm src/file_2.txt
$ git -C src add .
$ git -C src commit -m v2
$ git -C src tag v2

$ copier update dst
Updating to template version 2

Copying from template version 2
 identical  .
    create  file_1.txt
  conflict  .copier-answers.yml
 overwrite  .copier-answers.yml

$ tree -a -I .git dst
dst
└── .copier-answers.yml

Logs
No response
Expected behavior
There should be two changes in the output:

The action create  file_1.txt should not be printed because file_1.txt was removed in the project.
An action indicating the removal of file_2.txt is missing because file_2.txt was removed in the template.

Specifically, the output should be this:
 $ copier update dst
 Updating to template version 2

 Copying from template version 2
  identical  .
-    create  file_1.txt
+    remove  file_2.txt
   conflict  .copier-answers.yml
  overwrite  .copier-answers.yml

Screenshots/screencasts/logs
No response
Operating system
Linux
Operating system distribution and version
Ubuntu 20.04
Copier version
8.1.0
Python version
CPython 3.9
Installation method
pipx+pypi
Additional context
I think there's no easy fix with the current update algorithm implementation. It might be necessary to extend the copy and update implementations to comprise 2 stages:

Planning
Execution

Then, the update plan would be constructed by getting the copy plan and modifying it. For instance, in this example the _remove_old_files() function would add an action remove file_2.txt and some analysis of the changes incurred by applying the diff between the user changes on top of the project generated from the old template version would remove the action create file_1.txt from the plan.
This certainly needs some careful thinking and extensive testing to get right.

A partial, easier, maybe temporary alternative would be to also print out the re-applied diff changes:
Updating to template version 2

Copying from template version 2
 identical  .
    create  file_1.txt
  conflict  .copier-answers.yml
 overwrite  .copier-answers.yml

Re-applying diff
  remove file_1.txt

Partial because that does not solve the missing "remove file_2.txt" line.

In #1156 I was trying to just remove the report. Some tests failed and I didn't have time to finish it yet. It's not nice, but it's a fix.

@yajo just to clarify and understand. Is it normal that in the current stable version when I run a copier update I don't see any detailed output of what's happening?
It would also appear that an update will blindly overwrite diverged files without warning, is that currently intended or a bug? If the latter, would you like me to open an issue for it?

Is it normal that in the current stable version when I run a copier update I don't see any detailed output of what's happening?

Yes. Since detecting the changes is hard, I removed the report. After all, only git-tracked repos can be updated, so you can use your favorite git diff tool to review the changes.
This landed in 8.2.0 IIRC, so closing.