MailAddressGenerator should use context to resolve name

As described in this comment, MailAddressGenerator should delegate the creation of the name part of an email address to the ISpecimenContext.
There are two options for this:

Ask the context for a string. This is the simplest solution, but could theoretically be problematic if the user has changed the string generation algorithm to create strings incompatible with the STMP address format.
Ask the context for an instance of a hypothetical signal type like EmailAddressNamePart. We should look up the correct terminology for talking about the part of an email address that goes before the @ sign. If we take this route, we'd need to add this EmailAddressNamePart type, and make sure that AutoFixture can resolve it. This is similar to the implementation of how AutoFixture creates URLs.

The implementation of this feature would be an enhancement of #340.

Per RFC 3696, which I believe is controlling on the issue, the part before the @ is the local-part.  The RFC defines an email address as local-part@domain.  http://tools.ietf.org/pdf/rfc3696.pdf   RFC 5322 also mentions it.  So I submit EmailAddressLocalPart as the proper term in place of EmailAddressNamePart

EmailAddressLocalPart sounds good :+1:
Thank you for investigating :smile:

Unless someone else is already doing it, I'd love to work on this one and the related #349 although I'll do them separately. I'm inclined to use the 2nd approach suggested by @ploeh with a typed request for the email local part instead of string.

As far as I know, no-one else is working on this, so please go ahead :+1:
That 2nd approach is also my preferred solution.

In case it might helps, UriScheme works in a similar way when creating a Uri:
var fixture = new Fixture();
fixture.Inject(new UriScheme("ftp"));
var uri = fixture.CreateAnonymous<Uri>();
// Prints -> ftp://bsdf6546-1df4-5d56-c7e9-1456dd226bd4/

Probably the implementation for EmailAddressLocalPart could be similar to UriScheme's.


sed now errors if passed a pattern matching the empty string

Fixes #96
Unfortunately, this does not completely fix the problem. match is not sufficiently lazy, so matchesEmpty diverges if called with e.g. many "".
A more complete solution would either change match to be sufficiently lazy or (even better) to keep track of which patterns match the empty string as part of the Pattern type and either error or short circuit in cases like many "".

My only suggestion is to maybe move the definition of matchesEmpty to inside of sed since it seems like a very specialized function.

The changes you've suggested have been made.

Thank you!


when i set secureTextEntry true for TextInput, the style.color not work on android, on ios it's ok

Below is the demo:
<TextInput style={{height:40,color:'white'}}
secureTextEntry={true}
/>

Duplicate #4435


Picker sets val on more than just the input:text field

For fields with a Not Known checkbox associated, the Datetimepicker is overwriting the value of the checkbox with the Datestring as well as the value of the input text field. Need to find a way to limit this to the text field only.

There is an apparent assumption that there will be nothing else inside the input-group apart from the elements for the DateTime field. Whoops :-/

First draft solution is to replace all the 'input' finds with 'input[type=text]'... which looks to have done the trick.


fix: update to eye v9.7.6

fix: update to eye v9.7.6

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

npm package (@latest dist-tag)
GitHub release
v12.5.5

Your semantic-release bot :package::rocket:


Setup GraphQL Server

Features

Initialize Go Project
Created basic graphql server structure with bun and gqlgen
Setup local db and server for development using docker-compose
Handled migration feature using bun
Added linters
Added Makefile
Updated README for the server and the repo

Testing
Can run the following commands via the graphql playground http://localhost:8081/graphql
mutation {
  createTest(input:{
    string:"Hello",
    int:1
  })
}

query {
  queryTestByID(id: 1) {
    string
    int
  }
}

refs #2

@hochiw

can we have a hello world / demo query and mutation? Best to demo access db as well, but can simply echo something if no time
will we use nosql for reaction data?

also please check https://bun.uptrace.dev/guide/running-bun-in-production.html#database-sql and follow their best practices?

why is middlewares not in pkg folder?

resolvers/context.go content is redundant?


JulianDate.toIso8601 builds a non compliant string with very small milliseconds

console.log(Cesium.JulianDate.toIso8601(Cesium.JulianDate.fromIso8601("2011-03-25T16:00:00.00000001Z"))

outputs:
2011-03-25T16:00:00.10000803740695119e-7Z

Which is not ISO8601 compliant !
In JulianDate.js, line 787, the comment says:
//Forces milliseconds into a number with at least 3 digits to whatever the default toString() precision is.

but toString will automatically convert the milliseconds into scientific notation when lower than 1e-6.
number.toFixed is not appropriate neither, something more sophisticated needed here...

Thanks for the report @jfayot!
We'd be happy to review a fix if you or anyone else has the bandwidth to contribute!

can I take this please?

can I take this please?

Sure !

Here is a helpful Sandcastle demonstrating the problem, contributed by a community member.


CLOUD-43617 re-use existing subnet on AWS with subnetId param

@akanto @martonsereg

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2019/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2021/


usemin - images

http://jsfiddle.net/2q9Wt/4/
Consider using: /<img.+src='"/([^/"']+)["'][/>]?>/

Sory, github striped regexp, just see the on on jsfiddle

Thanks.
Closing this issue in favor of your #6 PR


Add method (GET, POST) field into CollectorPayload 1-0-1

It looks like it has got missed off. Should be a nice test of an additive change.

Pushing back

Move into protocols repo. Might be more interesting to capture tracker config as a hash


ClientModel Prototype: Make ResponseStatusClassifier internal

Proof of concept in feature branch

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Core


[Impeller]TextPainter with gradient has anti-aliasing problem.

Is there an existing issue for this?

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

Steps to reproduce
I wrote a GradientText widget which uses TextPainter. It works well with Flutter 3.7.1. But after I upgrage to Flutter 3.10.6, it has anti-aliasing problem on iOS.
And if I disable Impeller with command flutter run --no-enable-impeller, it works well too.
Expected results

Actual results

Code sample
Code sample
Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: GradientText(
          text: [
            GradientTextData(
              text: "abcdefg",
              gradient: LinearGradient(
                colors: [const Color(0xFF70EAAF), const Color(0xFF2A9963)],
                begin: AlignmentDirectional.centerStart,
                end: AlignmentDirectional.centerEnd,
              ),
              style: TextStyle(
                color: Colors.white,
                fontSize: 21,
                fontWeight: FontWeight.w600,
                overflow: TextOverflow.ellipsis,
              ),
            )
          ],
        ),
      )
    );
  }

class GradientText extends StatelessWidget {
  const GradientText({
    required this.text,
    this.maxLines,
    this.ellipsis,
    super.key,
  });

  final List<GradientTextData> text;
  final int? maxLines;
  final String? ellipsis;

  @override
  Widget build(BuildContext context) {
    final TextPainter textPainter = _GradientTextPainter.createTextPainter(
      text,
      maxLines: maxLines,
      ellipsis: ellipsis,
    );
    textPainter.layout();

    return CustomPaint(
      size: textPainter.size,
      painter: _GradientTextPainter(
        text: text,
        maxLines: maxLines,
        ellipsis: ellipsis,
      ),
    );
  }
}

@immutable
class GradientTextData {
  const GradientTextData({
    required this.text,
    required this.gradient,
    required this.style,
  });

  final String text;
  final Gradient gradient;
  final TextStyle style;
}

class _GradientTextPainter extends CustomPainter {
  _GradientTextPainter({
    required this.text,
    this.maxLines,
    this.ellipsis,
  });

  final List<GradientTextData> text;
  final int? maxLines;
  final String? ellipsis;

  static TextPainter createTextPainter(
    List<GradientTextData> text, {
    Size? gradientSize,
    int? maxLines,
    String? ellipsis,
  }) {
    return TextPainter(
      maxLines: maxLines,
      ellipsis: ellipsis,
      text: TextSpan(
        children: text.map((e) {
          TextStyle textStyle = e.style;
          if (gradientSize != null) {
            final Paint gradientPaint = new Paint()
              ..shader = e.gradient.createShader(
                new Rect.fromLTWH(0.0, 0.0, gradientSize.width, gradientSize.height),
                textDirection: TextDirection.ltr,
              );
            textStyle = textStyle.copyWith(foreground: gradientPaint);
          }

          return TextSpan(
            text: e.text,
            style: textStyle,
          );
        }).toList(),
      ),
      textDirection: TextDirection.ltr,
    );
  }

  @override
  void paint(Canvas canvas, Size size) {
    TextPainter textPainter = createTextPainter(
      text,
      gradientSize: size,
      maxLines: maxLines,
      ellipsis: ellipsis,
    );
    textPainter.layout(minWidth: 0, maxWidth: size.width,);
    textPainter.paint(canvas, Offset.zero);
  }

  @override
  bool shouldRepaint(_GradientTextPainter oldDelegate) {
    return text != oldDelegate.text;
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.10.6 on channel stable at /Users/liuxin/fvm/versions/3.10.6
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (6 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/liuxin/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/liuxin/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.6b829.9-10027231)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.1

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

[✓] IntelliJ IDEA Community Edition (version 2022.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (2 available)
    • HMA AL00 (mobile)      • 66J5T19411000579                     • android-arm64 • Android 10 (API 29)
    • iPhone 14 Pro (mobile) • BE017752-6B45-48AF-A051-68E3255CD227 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)

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

! Doctor found issues in 1 category.

Thanks for the report. Reproduced this issue on the latest Flutter channels as well.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.13.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (25 hours ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/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 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.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)

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

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.2 19H218
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 116.0.5845.96

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

• No issues found!

[!] Flutter (Channel master, 3.14.0-8.0.pre.20, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.14.0-8.0.pre.20 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 45e464cb9d (79 minutes ago), 2023-08-20 21:57:22 -0400
    • Engine revision 8c7ce6ddde
    • Dart version 3.2.0 (build 3.2.0-89.0.dev)
    • DevTools version 2.26.1
    • 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 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/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 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.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)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.96

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

! Doctor found issues in 1 category.

Thanks for the report. Reproduced this issue on the latest Flutter channels as well.

Complete sample code
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      theme: ThemeData(useMaterial3: true),
      home: const MyWidget(),
    ),
  );
}

class MyWidget extends StatefulWidget {
  const MyWidget({super.key});

  @override
  State<MyWidget> createState() => _MyWidgetState();
}

class _MyWidgetState extends State<MyWidget> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
        body: Center(
      child: GradientText(
        text: [
          GradientTextData(
            text: "abcdefg",
            gradient: LinearGradient(
              colors: [Color(0xFF70EAAF), Color(0xFF2A9963)],
              begin: AlignmentDirectional.centerStart,
              end: AlignmentDirectional.centerEnd,
            ),
            style: TextStyle(
              color: Colors.white,
              fontSize: 21,
              fontWeight: FontWeight.w600,
              overflow: TextOverflow.ellipsis,
            ),
          )
        ],
      ),
    ));
  }
}

class GradientText extends StatelessWidget {
  const GradientText({
    required this.text,
    this.maxLines,
    this.ellipsis,
    super.key,
  });

  final List<GradientTextData> text;
  final int? maxLines;
  final String? ellipsis;

  @override
  Widget build(BuildContext context) {
    final TextPainter textPainter = _GradientTextPainter.createTextPainter(
      text,
      maxLines: maxLines,
      ellipsis: ellipsis,
    );
    textPainter.layout();

    return CustomPaint(
      size: textPainter.size,
      painter: _GradientTextPainter(
        text: text,
        maxLines: maxLines,
        ellipsis: ellipsis,
      ),
    );
  }
}

@immutable
class GradientTextData {
  const GradientTextData({
    required this.text,
    required this.gradient,
    required this.style,
  });

  final String text;
  final Gradient gradient;
  final TextStyle style;
}

class _GradientTextPainter extends CustomPainter {
  _GradientTextPainter({
    required this.text,
    this.maxLines,
    this.ellipsis,
  });

  final List<GradientTextData> text;
  final int? maxLines;
  final String? ellipsis;

  static TextPainter createTextPainter(
    List<GradientTextData> text, {
    Size? gradientSize,
    int? maxLines,
    String? ellipsis,
  }) {
    return TextPainter(
      maxLines: maxLines,
      ellipsis: ellipsis,
      text: TextSpan(
        children: text.map((e) {
          TextStyle textStyle = e.style;
          if (gradientSize != null) {
            final Paint gradientPaint = new Paint()
              ..shader = e.gradient.createShader(
                new Rect.fromLTWH(0.0, 0.0, gradientSize.width, gradientSize.height),
                textDirection: TextDirection.ltr,
              );
            textStyle = textStyle.copyWith(foreground: gradientPaint);
          }

          return TextSpan(
            text: e.text,
            style: textStyle,
          );
        }).toList(),
      ),
      textDirection: TextDirection.ltr,
    );
  }

  @override
  void paint(Canvas canvas, Size size) {
    TextPainter textPainter = createTextPainter(
      text,
      gradientSize: size,
      maxLines: maxLines,
      ellipsis: ellipsis,
    );
    textPainter.layout(
      minWidth: 0,
      maxWidth: size.width,
    );
    textPainter.paint(canvas, Offset.zero);
  }

  @override
  bool shouldRepaint(_GradientTextPainter oldDelegate) {
    return text != oldDelegate.text;
  }
}

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.13.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (25 hours ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/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 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.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)

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

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.2 19H218
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 116.0.5845.96

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

• No issues found!

[!] Flutter (Channel master, 3.14.0-8.0.pre.20, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.14.0-8.0.pre.20 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 45e464cb9d (79 minutes ago), 2023-08-20 21:57:22 -0400
    • Engine revision 8c7ce6ddde
    • Dart version 3.2.0 (build 3.2.0-89.0.dev)
    • DevTools version 2.26.1
    • 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 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/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 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.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)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.96

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

! Doctor found issues in 1 category.


Add support to list files and create a task launch request without transferring the entire file payload

This WIP PR implements action items from the discussion of the "Batch File Ingest Sample RFC" document. It provides the ability to list files only without a payload along with packaging that data into a TaskLaunchRequest in the SFTP source. Redis is used as the backing metadata store for tracking seen files. The only functionality missing should be rate limiting of TaskLaunchRequest's as that depends on future work in Spring Cloud Stream(?). The new stream definition also removes prior duplication and reduced to for example, to launch a batch job:
stream create --name inboundSftp --definition "sftp --username=user --password=pass --host=<IP_ADDRESS> --port=6666 --allow-unknown-keys=true --task-launcher-output=true --remote-dir=/tmp/blah --batch-resource-uri=file:////Users/cschaefer/work/dataflow/spring-cloud-dataflow-samples/batch/file-ingest/target/ingest-1.0.0.jar --data-source-url=jdbc:h2:tcp://localhost:19092/mem:dataflow --data-source-user-name=sa --local-file-path-job-parameter-value=/tmp/ | task-launcher-local" --deploy
to list files only (this depends on log sink PR https://github.com/spring-cloud-stream-app-starters/log/pull/2 being merged for 2.0 compat):
stream create --name inboundSftp --definition "sftp --username=user --password=pass --host=<IP_ADDRESS> --port=6666 --allow-unknown-keys=true --remote-dir=/tmp/blah --list-only=true | log" --deploy
Tested with the kafka binder, kafka 1.0 and local DF server. This new PR was created primarily to build off master (rather than 1.3.x) and adapt to changes from spring-cloud-stream 2.0.0.BUILD-SNAPSHOT. i am explicitly setting the content-type on Source.OUTPUT to application/x-java-serialized-object now as other DF components such as task-launcher do not currently accept JSON inputs.

@artembilan sorry, looks like i can't reply to your comment directly but in regards to "I didn't review it deeply enough because that isn't clear to me why we need to combine this namesOnly with built-in batch call. Why can't we just split as it is and send each file for the next in stream batch processor?" -- do you mean why do we have both listOnly and taskLauncherOutput?
If so, these were requirements that came out of the "Batch File Ingest Sample RFC" document a few months ago. listOnly provides the ability to list files without transferring a payload and taskLauncherOutput launches an application with file name data. At one point there was a "processor" application but as per the document that functionality was consolidated into this source to avoid spawning service instances just to launch a task

At one point there was a "processor" application but as per the document that functionality was consolidated into this source to avoid spawning service instances just to launch a task

Not sure how all these requirements belong to discrete, distributed and self-organized Microservices architectures, but let it be if there is no other way to go. I don't have any strong arguments now because my knowledge of Spring Cloud Task and Cloud Native per se is a bit low.
From Spring Integration perspective everything is OK.
Thanks

Merged as https://github.com/spring-cloud-stream-app-starters/sftp/commit/bb4cf17ba99bbe2e031585f73d1a2ec07e412f44


Suggesstion: Automatically create 'assets' folder if not existing

Currently the 'runtime' base and subfolders are created if not existing when the application runs which is convenient. It would be very convenient to apply the same thing to the 'assets' folder (web/assets) especially in deployment.

Duplicates #7285


TypeScript Graphql auth not working

Cloned the repo, only thing that was changed was the database to use mongodb.
Installed packages, generated the prisma client and nexus client.
npm start
localhost:4000 won't connect.

Firewall somehow was blocking. Disregard!


find in files - inconsistency in marking results as "dirty"

BTW looks like there is inconsistency in marking results as "dirty" - removing file from result prevents next search to be performed immediately (requires Enter ), but removing one match from file that has several - allows immediate search.
Originally posted by @IllusionMH in https://github.com/microsoft/vscode/issues/91901#issuecomment-617222704

Looks like middle ground and place where logic is missing is https://github.com/microsoft/vscode/blob/652bd167ef6a828303e72b8c84f96b3ba1ee5edd/src/vs/workbench/contrib/search/common/searchModel.ts#L580-L595
This one always receives FileMatch and can only calculate if whole file was added/removed, but doesn't know if it was "updated" therefore won't be handled later
https://github.com/microsoft/vscode/blob/652bd167ef6a828303e72b8c84f96b3ba1ee5edd/src/vs/workbench/contrib/search/common/searchModel.ts#L721-L723
It feels like onFileChange should also receive optional parameter - changed Match and verify if this match is in its list of removed lines. Is it proper fix or wrong approach?

Ended up making it so the file match will explicitly include whether results are removed in its onchange event.


refactor with the functor API

After https://github.com/zygmuntszpak/ImageBinarization.jl/pull/70 the docstrings for Yen and others are missing. It's time for this package to switch to the functor API and re-organize the documentations.
By saying the functor API, we are speaking of the design of ImageBinarization and ImageContrastAdjustment, where the core algorithm is implemented in each type instead of the find_threshold function. An example of such API can be found in https://github.com/zygmuntszpak/ImageBinarization.jl/blob/86b7d593087c154a6ad86b76a95633df0305712b/src/algorithms/adaptive_threshold.jl#L107-L130
An example procedure of such refactor can be found in https://github.com/zygmuntszpak/ImageBinarization.jl/pull/29

Hey @johnnychen94, from where I can start on this ??by writing HistogramThresholdingAPI.jl I think

Hmmm, I would start with commenting out all the algorithms, and then rework the API one by one while still keeping the CI pass.
It would be helpful for us to review if you can only rework the API for one algorithm at a time only (especially for the first algorithm you're going to do)

What I understood from your comment by doing a particular algorithm,I have to apply something similar to this: https://github.com/zygmuntszpak/ImageBinarization.jl/pull/32

Correct, do notice that each PR is merged into zygmuntszpak:api  branch instead of zygmuntszpak:master branch.
The strategy I used there is to

first comment out all algorithms in https://github.com/zygmuntszpak/ImageBinarization.jl/pull/29
then for each algorithm, open a small PR, which will be merged into https://github.com/zygmuntszpak/ImageBinarization.jl/pull/29
merge https://github.com/zygmuntszpak/ImageBinarization.jl/pull/29 into master branch

The reasoning behind this is we still want to make sure master branch is a working version.

Closed by #40


[DSPv2] Remove cache server resources

Cache Server is a v1 component, and should be removed. Caching in v2 is now bundled within API Server.
Acceptance criteria:

Figure out what cache serverdependencies/assets need to removed that are no longer utilized in v2
Remove all such dependencies/assets

Related: https://github.com/opendatahub-io/data-science-pipelines-operator/issues/488

Caching in v2 is now bundled within API Server.

@rimolive can you link where this is bundled in the repo?

Migrated to Jira: https://issues.redhat.com/browse/RHOAIENG-1685


ceskatelevize.cz - No video formats found ERROR

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.03.14
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

>>youtube-dl -v -F https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200007-lepsi-zivot/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200007-lepsi-zivot/']
[debug] Encodings: locale cp1250, fs mbcs, out cp1250, pref cp1250
[debug] youtube-dl version 2021.03.14
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffprobe 2021-01-27-git-149bfc2445-full_build-www.gyan.dev
[debug] Proxy map: {}
[CeskaTelevize]<PHONE_NUMBER>00007-lepsi-zivot: Downloading webpage
[CeskaTelevize]<PHONE_NUMBER>00007-lepsi-zivot: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00007-lepsi-zivot: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00007-lepsi-zivot: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00007-lepsi-zivot: Downloading JSON metadata
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl
 with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\extractor\ceskatelevize.py", line 201, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\extractor\common.py", line 1369, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update.
Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

This case seems to be similar or looks like to be maybe on the same basis as the issue reported couple of hours earlier here - the same error but just for different service / TV (iprima.cz) - for both valid -> same country -> .cz - maybe could be a clue...
As I have just a general overall idea about this stuff - so take the following info so...

actually I have no idea if the site 'ceskatelevize.cz' was knowingly targeted to work with ytdl or if it is and was just coincidence that it can be used with...
I found that the video I downloaded last week can still be downloaded with no problem, but just newer ones seem to be like these are provided under some new service which is incompatible (concretely I am speaking about TV serial - new part broadcasted every Sunday and after that it become available on the web...)
Firefox (otherwise using Chrome) asked me to allow (switch ON) DRM which I know I switched OFF before when I tried to play it with it to see if I can grab it from its cash as it was easily possible at former times (unlike with Chrome at the same), however I can not tell you if the 'DRM' was anyhow involved before, i.e. in case of the 'not so new' videos which is still possible to download today as I am not fan of DRM at all...
this is the link showed by (Nirsoft's) VideoCachViewer from where the 'fragments/chunks' of stream were downloaded to its cash (I have no idea why there is the part before the 'https://...')
https%2Cceskatelevize.cz%29,a,:https://ivys-vst07-6.o2tv.cz/aa/576f3ea411beb1871c30381ba800078c/1615814455189/ad0f27264e557417e3ed6c4bfc888302e/dwv-61924494877857993-pc/1001-1506/IS.mp4
and last note - web "ceskatelevize.cz" apply territory restriction sometimes- as the above issued link is for the stuff they produced themselves than maybe OK,  otherwise needless to say - perhaps VPN service could solve that...

* Firefox (otherwise using Chrome) asked me to allow (switch ON) DRM which I know I switched OFF before when I tried to play it with it to see if I can grab it from its cash as it was easily possible at former times (unlike with Chrome at the same), however I can not tell you if the 'DRM' was anyhow involved before, i.e. in case of the 'not so new' videos which is still possible to download today as I am not fan of DRM at all...

Good catch, I tested on my FF and it shows DRM icon for part 7 but not for part 6 and below. The icon says 'Some audio or video parts may use DRM...'
In that case is the error could be misleading and it should show the DRM error instead of 'No video formats found' error.

Have similar issue with very current version 2021.03.14 and strange is that same series one episode is targetable by youtube-dl and another one not (both episodes are currently playable via web page)
this works as charm
youtube-dl.exe --verbose https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200006
c:\Tools\youtube-dl>youtube-dl.exe --verbose https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200006
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200006']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2021.03.14
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading webpage
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading MPD manifest
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading MPD manifest
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading m3u8 information
[CeskaTelevize]<PHONE_NUMBER>00006: Downloading m3u8 information
[download] Downloading playlist: Zločiny Velké Prahy: Zmizelá
[CeskaTelevize] playlist Zločiny Velké Prahy: Zmizelá: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://ivys-vst14-2.o2tv.cz/af/34156fa40d16ae37eda2d659a8e7724c/1615899799767/a312928fbb33efe6643c87df641838a15/dna-61924494877853541-pc/61924494877853349/1506v1002.k.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 393
[download] Destination: Zločiny Velké Prahy - Zmizelá-61924494877853541.mp4
[download]   0.4% of ~2.89GiB at  7.20MiB/s ETA 06:05
ERROR: Interrupted by user

this fails on youtube_dl.utils.ExtractorError: No video formats found
youtube-dl.exe --verbose https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200007
c:\Tools\youtube-dl>youtube-dl.exe --verbose https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200007
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.ceskatelevize.cz/ivysilani/11405990463-zlociny-velke-prahy/217512120200007']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2021.03.14
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[CeskaTelevize]<PHONE_NUMBER>00007: Downloading webpage
[CeskaTelevize]<PHONE_NUMBER>00007: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00007: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00007: Downloading JSON metadata
[CeskaTelevize]<PHONE_NUMBER>00007: Downloading JSON metadata
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\extractor\ceskatelevize.py", line 201, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8z3w9mz6\build\youtube_dl\extractor\common.py", line 1369, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

CeskaTelevize]<PHONE_NUMBER>00007-lepsi-zivot: Downloading JSON metadata
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl

Typical playlist item:
https://ivys-cdn.o2tv.cz/cdn/uri/get/?token=873a7eeddd110784c6f830c91e1dddb567060ab4&contentType=vod&drmOnly=true&expiry=1646416538&id=61924494877857993&playerType=dash&quality=web&region=1&skipIpAddressCheck=false&userId=35aed439-2ead-4f88-aa32-ec037043a7bc&encryption=wv

Note drmOnly=true.


⚠ SkipTheCommericals has degraded performance

In 23cd7b8, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 3397 ms

Resolved: SkipTheCommericals performance has improved in 0579a3e.


WSL consistently freezing after 2 to 24 hours of GPU rendering

Windows Version
Microsoft Windows [Version 10.0.22621.1702]
WSL Version
WSL version: <IP_ADDRESS> Kernel version: <IP_ADDRESS> WSLg version: 1.0.51 MSRDC version: 1.2.3770 Direct3D version: 1.608.2-61064218 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.1702
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
Default Distribution: Ubuntu-22.04
Other Software
Blender, rendering on 2 GPUs via CUDA drivers. This happens with any version on blender I tried in the last 2 years, but currently I'm using 3.4.1
Repro Steps
This appears to be a similar problem to this unanswered question.
Usually I have a tail -f nohup.out command running in one pane, and nvidia-smi running in the other pane (refreshing every second) to keep an eye on GPU temperatures. I might have other panes open with different combinations of tail -f and grep. The nohup is a script running Blender 3D renders using 2 GPUs via CUDA. Every now and then, it runs ffmpeg for encoding frames into videos. It does either one or the other, does NOT do both rendering and encoding in parallel.
When this happens, the pane with the nvidia-smi is still working correctly, it keeps refreshing, and I can even exit and write other commands which will work. However every pane with the tail -f is completely frozen. Typing Ctrl+C only prints C in the pane, and the process itself is clearly stopped (no more logs coming through the tail-f, no resources utilized at all).
After this happens, no new WSL instance can be started anymore, even if I run wsl ~ in a CMD window; nor does it if I open another Terminal window. It just opens an empty terminal window, but the shell prompt never appears. The only way to recover seems to be by killing any WSL process in the task manager. Even that however does not seem to free up the GPUs, which when queried with nvidia-smi error out with:
Failed to initialize NVML: GPU access blocked by the operating system
Failed to properly shut down NVML: GPU access blocked by the operating system

Making a reboot the only way to recover.
Expected Behavior
No freezes
Actual Behavior
I freezes after a variable amount of time. Anywhere between 2 and 24 hrs.
Diagnostic Logs
No response

/logs

I will. It's difficult for me to collect logs because it literally takes a day of running a render, which i only do every so often. But when i do it's important for it not to stop randomly. So i'll have to wait until the next time this happens before i can collect logs.


Kore volume control needs to be larger

Feature suggestion
Detailed Description

Please make the volume control slider in Kore larger. It is hard to use at the current size.
Context

The volume is hard to change with the current volume control. The small control is finicky and often will not respond, instead Kore assumes you wish to 'slide' to an adjacent screen.
Possible Implementation

Enlarge the slider in the vertical axis (i.e. make it 'taller' so it is easier to adjust as the target area for use is larger.
Additional context, screenshots or links
Here are some relevant links or screenshots:

Note: Team Kodi will consider this item however we will not make any promises if it will be included.

There is a ton of space under the media control area and the directional buttons, at least in the vertical view.
In the horizontal view, this seems a lot harder to accomplish as it's filled much better already.


v1.8 backports 2020-10-02

#13297 -- docs: add initial performance guide doc (@borkmann)
#13267 -- helm: configurable nodeSelector and tolerations for all charts (@mvisonneau)
#13318 -- docs: Clarify session affinity support on <5.7 (@pchaigno)
~#13324 -- hubble: Support --since requests in combination with follow-mode (@gandro)~
#13355 -- documentation: performance evaluation improvements (@kkourt)
#13346 -- datapath: Support enable-endpoint-routes with encapsulation (@tgraf)
#13146 -- doc: fixes markdown in hostnet policy troubleshooting (@jedsalazar)
#13342 -- bugtool: get bpffs mountpoint from /proc/mounts (@jibi)
#13357 -- contrib: Improve start-release.sh script (@joestringer)
#13325 -- fsnotify: correctly check for event operation (@kAworu)
#13369 -- install: Add explicit RBAC permissions for finalizers subresources (@errordeveloper)
#13377 -- docs: Move scale and perf guides to Operations (@pchaigno)

Once this PR is merged, you can update the PR labels via:
$ for pr in 13297 13267 13318 13324 13355 13346 13146 13342 13357 13325 13369 13377; do contrib/backporting/set-labels.py $pr done 1.8; done

test-me-please

@pchaigno I just deleted the line, sounds like "bandwidth manager" is a 1.9 feature... 🤔

@pchaigno I just deleted the line, sounds like "bandwidth manager" is a 1.9 feature... thinking

@errordeveloper Yes, that's correct.

@pchaigno for the rest, are you changes looking OK? I think most of them have applied cleanly.

@Rolinh I'm dropping #13324 as discussed, since conflicts are beyond trivial and deserve a separate PR.

test-me-please

test-gke

test-k8s-1.19

test-backport-1.8

retest-4.19

So I can see this in Jenkins:
14:32:58  make[1]: Leaving directory '/home/jenkins/workspace/Cilium-PR-K8s-GKE/src/github.com/cilium/cilium'
14:32:59  The push refers to repository [<IP_ADDRESS>/cilium/cilium]
14:32:59  Get https://<IP_ADDRESS>/v2/: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs

It looks like an issue with local registry.

@errordeveloper let's retest for both failed builds, just to be on the safe side (K8s-1.19-kernel-4.9 failed on provisioning).

test-gke

test-4.9

The builds that failed due to provisioning issues are not required for backport PRs (is it even expected that they fail?). All other builds are passing, so marking as ready-to-merge.

Was too late, reviewed my backported commit. LGTM 👍

Labels updated.


Documentation

I really like this library as it's small and fast. While it's not popular as Zend Diactoros or Guzzle, it strictly follows the PSR standards, which I really appreciate.
However, one thing that makes me wondering from use it or not is the documentation. There's nothing, even a "hello world" example. Other libraries do have. So, I'd suggest adding some basic usage in the README to let developers how to use it.
Thanks

That is a great idea. Thank you.
Could you give me 4-5 "questions" that you would like the documentation to answer?

No problem. I think these are the most basic things:

Installation
Getting Started / Basic Usage
Public methods for each objects (perhaps this repeats from PSR, but still worth mentioning)
Integration with your app/framework


⚠ Bofrost.es has degraded performance

In 498ca8a, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1739 ms

Resolved: Bofrost.es performance has improved in e96bb69 after 8 minutes.


Prevent installation with default username/password

For security reasons, i suggest to have at least the line with example 2nd user completely commented out.
Ii i'm in a rush to set up, i might oversee that i need to comment out that 2nd line, or i'll have a public backdoor...
Better, i'd even do something that it's impossible to end up with a default user and password.
Maybe generate it upon DB-install?

Makes sense.


Need the ability to go back versions

Describe the bug
BOLT changed everything after it was completed and it messed the entire application look and feel as well as other features that were already fixed. meaning I had to start all over again.
If you had versions then I could of gone back but no you don't have any.
Also the app keeps crashing and asking to resubmit
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-nj4nnl
Steps to reproduce
Asked to replace the original list of items and changes that were already done previously
Expected behavior
to bring back the list and not change anything else
Screen Recording / Screenshot
N/A
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 88412870,
  "usedJSHeapSize": 79135614,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = rconr007
Chat ID = 5ad657d26dd7

Additional context
No response

Actually only the Fork works for me !

#35 is a similar issue

@rconr007  Thank you for the great feedback! We completely agree and are working rapidly to implement this feature. The resolution will be tracked under #35!


item.type as a  class name

Any chance to add the type (item.type) to the <li> class ?
:class="{
              'twtree-node':                true,
              'twtree-node-selected':       item.selected,

(...)
              'twtree-node-drag-over-self': item.__.dragOverArea === 'self' && item.__.isDroppable,
              item.type
            }"

This way we could easily change the style of a specific type element (like the font color, which isn't part of the style properties)

As of twtree 3.7.0, I added the fnCustomClasses property.
see https://tinywisp.github.io/twtree/#/en/example/custom-appearance/custom-classes for more information.

That's perfect ! Thanx


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=507551466
https://github.com/Azure/azure-cli-extensions/commit/13db35a6168e2c086af8c3256a21303edc0d26ee

OPS Build status updates of commit ebd1317:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


npm install fails on<EMAIL_ADDRESS>postinstall: typings install

Current Setup
Mac OsX Sierra
$ ng --version

angular-cli: 1.0.0-beta.20-4
node: 5.10.1
os: darwin x64

Steps to reproduce:
   $ mkdir wp-api-test
   $ cd wp-api-test
   $ ng init
   $npm install wp-api-angular

Console Output
$ npm install wp-api-angular

><EMAIL_ADDRESS>postinstall /Users/nicolas/wp-api-test/node_modules/wp-api-angular
> typings install

sh: typings: command not found
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm ERR! Darwin 16.1.0
npm ERR! argv "/Users/nicolas/.nvm/versions/node/v5.10.1/bin/node" "/Users/nicolas/.nvm/versions/node/v5.10.1/bin/npm" "install" "wp-api-angular"
npm ERR! node v5.10.1
npm ERR! npm  v3.8.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR<EMAIL_ADDRESS>postinstall: `typings install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'typings install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the wp-api-angular package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs wp-api-angular
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls wp-api-angular
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/nicolas/wp-api-test/npm-debug.log

Output of npm-debug.log
161 silly install<EMAIL_ADDRESS>/Users/nicolas/wp-api-test/node_modules/.staging/wp-api-angular-ac82b28e
162 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>163 silly lifecycle<EMAIL_ADDRESS>no script for install, continuing
164 silly doSerial postinstall 1
165 silly postinstall<EMAIL_ADDRESS>/Users/nicolas/wp-api-test/node_modules/.staging/wp-api-angular-ac82b28e
166 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>167 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
168 verbose lifecycle<EMAIL_ADDRESS>PATH: /Users/nicolas/.nvm/versions/node/v5.10.1/lib/node_modules/npm/bin/node-gyp-bin:/Users/nicolas/wp-api-test/node_modules/wp-api-angular/node_modules/.bin:/Users/nicolas/wp-api-test/node_modules/.bin:/Users/nicolas/.nvm/versions/node/v5.10.1/bin:/usr/local/sbin:/Users/nicolas/.nvm/versions/node/v5.10.1/bin:/usr/local/bin:/Users/nicolas/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/myApp:/opt/X11/bin:/opt/smartrsa/tools/usr/local/bin:/opt/jboss/jboss/bin
169 verbose lifecycle<EMAIL_ADDRESS>CWD: /Users/nicolas/wp-api-test/node_modules/wp-api-angular
170 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'typings install' ]
171 info lifecycle<EMAIL_ADDRESS>Failed to exec postinstall script
172 verbose unlock done using /Users/nicolas/.npm/_locks/staging-bafef9d47d515e20.lock for /Users/nicolas/wp-api-test/node_modules/.staging
173 silly rollbackFailedOptional Starting
174 silly rollbackFailedOptional Finishing
175 silly runTopLevelLifecycles Starting
176 silly runTopLevelLifecycles Finishing
177 silly install printInstalled
178 warn<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
179 warn<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
180 verbose stack Error<EMAIL_ADDRESS>postinstall: `typings install`
180 verbose stack spawn ENOENT
180 verbose stack     at ChildProcess.<anonymous> (/Users/nicolas/.nvm/versions/node/v5.10.1/lib/node_modules/npm/lib/utils/spawn.js:17:16)
180 verbose stack     at emitTwo (events.js:100:13)
180 verbose stack     at ChildProcess.emit (events.js:185:7)
180 verbose stack     at maybeClose (internal/child_process.js:850:16)
180 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
181 verbose pkgid<EMAIL_ADDRESS>182 verbose cwd /Users/nicolas/wp-api-test
183 error Darwin 16.1.0
184 error argv "/Users/nicolas/.nvm/versions/node/v5.10.1/bin/node" "/Users/nicolas/.nvm/versions/node/v5.10.1/bin/npm" "install" "wp-api-angular"
185 error node v5.10.1
186 error npm  v3.8.3
187 error file sh
188 error code ELIFECYCLE
189 error errno ENOENT
190 error syscall spawn
191 error<EMAIL_ADDRESS>postinstall: `typings install`
191 error spawn ENOENT
192 error Failed at the<EMAIL_ADDRESS>postinstall script 'typings install'.
192 error Make sure you have the latest version of node.js and npm installed.
192 error If you do, this is most likely a problem with the wp-api-angular package,
192 error not with npm itself.
192 error Tell the author that this fails on your system:
192 error     typings install
192 error You can get information on how to open an issue for this project with:
192 error     npm bugs wp-api-angular
192 error Or if that isn't available, you can get their info via:
192 error     npm owner ls wp-api-angular
192 error There is likely additional logging output above.
193 verbose exit [ 1, true ]

Thanks for sharing this.
typings is not installed locally you are right.
Run this for now and try again npm i typings -g
I will add typings as a local dependency, same as here. PR welcome

:thumbsup: Thanks, this helped!

typings is not required to be installed globally. Following AngularFIre here.


[Bugs] UPF fails to free BufPacket when repeatedly setting and releasing PDU session

Describe the bug
UPF fails to free BufPacket when repeatedly setting and releasing PDU session.
To Reproduce
PDU session set & release several times.  Current code does not properly free BufPacket.
Expected behavior
When session goes down, the corresponding BufPacket should be freed.
Environment (please complete the following information):

free5GC Version: 3.0.4
OS: Ubuntu 18.04
Kernel version: 5.0.0-23-generic
go version: 1.14.4 linux/amd64

Pull Request
Pull Request for the fix.

PR#12 was already merged.
Thanks for the PR.


Change Device Info Styling | Add Date Range Picker on Desktop

Key Changes:

Improved the style of the DeviceInfo component.
Added date picker for desktop view.

We are currently not looking for design improvements, since we are planning to do a big redesign soon. Also, the date input field uses the browser date picker, which should work just fine.


Removed tabs for Command, Structure, and Jigsaw blocks.

Since tabs are only added in survival mode and these blocks cannot be accessed in survival mode, they should not be shown.

Thank you!


Create a tutorial about the installation procedure

Before we get our .exe or pip installation. we need to fix the procedure of installation.

Could this have been fixed with @BhargavaKrishnaSreepathi 's screenshots that he added to the installation procedure?

Yes!
Best, Jimeno
On 18 Jan 2017, at 20:25, Daren Thomas <notifications<EMAIL_ADDRESS>wrote:
Could this have been fixed with @BhargavaKrishnaSreepathihttps://github.com/BhargavaKrishnaSreepathi 's screenshots that he added to the installation procedure?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/architecture-building-systems/CEAforArcGIS/issues/461#issuecomment-273462268, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIjrgmSotM9KzcuIDunH4m-QHsgZ-utdks5rTgSpgaJpZM4LmYfn.

Closing the issue as the installation procedure is updated.


Can't run sfdx commerce:store:create -n TestStore

"status": 1,
    "result": [
        {
            "fullName": "Checkout_Main_Checkout",
            "type": "Flow",
            "state": "Failed",
            "error": "paymentMethodScreen (Screen Component) - We can't find an extension called \"c:paymentMethod\".",
            "problemType": "Error",
            "filePath": "/Users/mhg/.commerce/devhubs/.../Checkout_Main_Checkout.flow-meta.xml"
        },
        {
            "fullName": "Checkout_Main_with_Salesforce_Pricing_and_Promotions",
            "type": "Flow",
            "state": "Failed",
            "error": "paymentMethodScreen (Screen Component) - We can't find an extension called \"c:paymentMethod\".",
            "problemType": "Error",
            "filePath": "/Users/mhg/.commerce/devhubs/..../force-app/main/default/flows/Checkout_Main_with_Salesforce_Pricing_and_Promotions.flow-meta.xml"
        }
    ],

After deploying the component manually I got this error:
Store Type = "B2B"
Completed Quickstart Step 3
Importing products.
 ›   Warning: shane:data:file:upload is not a sfdx command.
Did you mean force:data:bulk:upsert? [y/n]: ERROR running ProductsImport:  Cannot read properties of undefined (reading 'json')
ERROR running StoreQuickstartSetup:  No Buyer Group Name - Product Import must have failed
ERROR running commerce:store:create:  StoreQuickstartSetup failed
Importing products.... done

@migrospyro this is because you are missing a dependency. The README has been updated with instructions on how to install:
sfdx plugins:install shane-sfdx-plugins


Document uprating a non High Available kubeadm cluster to HA

As what was discussed in Slack Channel, I think an instruction docs for kubeadm to transfer a non High Available cluster to a High Available cluster is necessary.

a new page under tasks can be added for that.
but i would defer to community members / users to contribute that instead of the kubeadm maintainers.
currently the scenario of not using an LB is mostly claimed as unsupported with some notes here:
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#considerations-about-apiserver-advertise-address-and-controlplaneendpoint
/sig cluster-lifecycle
/help
PRs welcome.

/retitle Document uprating a non High Available kubeadm cluster to HA
/language en

/triage accepted
/priority backlog

Any updates on this issue?

/lifecycle frozen

/triage accepted
Still worth doing

This is still worth doing IMO.
/triage accepted


Remove all implements Parcelable from data classes.

Remove all implemention of Parcelable and add Parceler Library instead.

@mhussien86 have you tried AutoValue/AutoParcel?

And AutoGson

@esoxjem Thats the only Library i have used https://github.com/johncarl81/parceler and its really nice, will have a look over the mentioned libraries.

You should really look at AutoValue and the extensions.


Prepare your apps for iOS 14 Apple announced the new AppTrackingTransparency framework, which requires changes to your iOS apps. Implement the GMA SDK 7.64.0 (or later) and set up consent messaging to help prevent a significant loss in ad revenue.🐛

AppTrackingTransparency
Describe the bug
Prepare your apps for iOS 14 Apple announced the new AppTrackingTransparency framework, which requires changes to your iOS apps. Implement the GMA SDK 7.64.0 (or later) and set up consent messaging to help prevent a significant loss in ad revenue.
Above message is appeared in Admob account on using this package. Will it be handed in next version or needs to handle it separately!

Maybe this is related to #100 where you have to explicitly request the AppTrackingTransparency permission. I have updated & uploaded an app to the app store with this change, but the message still appears. Maybe in the following days, when admob catches the update will update the status of that notification.

Is it enough just to call this method;
Admob.requestTrackingAuthorization();

Maybe this is related to #100 where you have to explicitly request the AppTrackingTransparency permission. I have updated & uploaded an app to the app store with this change, but the message still appears. Maybe in the following days, when admob catches the update will update the status of that notification.

3 days in with the update, requesting the Tracking Auth but the messages still are up in the Admob Console. This may be a problem with the Console itself and not with google_mobile_ads, as the ads are shown correctly.

After one week, the alerts are gone. So all you need to do in order to remove this message from the console is the solution provided in #100 and just wait!

Thank you very much! Gabriel. I will implement like this.
On Fri, Mar 26, 2021 at 6:03 PM Gabriel García @.***>
wrote:

After one week, the alerts are gone. So all you need to do in order to
remove this message from the console is the solution provided in #100
https://github.com/googleads/googleads-mobile-flutter/issues/100 and
just wait!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleads/googleads-mobile-flutter/issues/110#issuecomment-808180485,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATJWLZO7E5UDRDLXGBFCKCDTFR5LHANCNFSM4ZOYHJWA
.


Use npm automation token

You thought about switching to github actions/ci?

I haven't given it much thought — not sure it'd really get us anything new would it?


Can we change what enchanted books players can get?

Hello,
Is there a way to specify which enchanted books players can get from things like woodcutting and fishing?

Yes, you can. Change the values in the perkConfig.yml. Look for woodcutting and fishing. Everything you get by default is configured in this file. Change it, save it  and restart your server


Add option for pull_theme and install latest shopify-cli 2.x

Summary

Adds an optional param for pull_theme which, if provided, will pull the JSON templates and settings values for a specified theme
Update Dockerfile to reinstall shopify-cli gem. The image has an older version of shopify-cli (2.0.1) that is missing key theme pull options

Why I'm adding it
On the Theme Design team we need to track lighthouse scores for realistic storefronts, e.g. those with image heroes and many sections. We also may need to test different configurations (various combinations of sections, menu styles, etc.) However, the lighthouse action currently only tests against the default settings of a theme.
Approach taken

Uninstalls the existing shopify-cli gem and reinstalls the latest version. I found this was preferable to rebuilding and re-hosting the docker image with a new shopify-cli install but I'm open to it if there's someone available to assist.
Checks for a pull_theme option passed to the github action. This should be a theme name or theme ID, same as shopify theme pull --theme.
If pull_theme exists it triggers an extra step in the script to pull the theme settings.

Testing instructions
Add a CI job to a theme pointing to the latest SHA in this PR:
name: CI
on: [push]
jobs:
  lhci:
    name: Lighthouse
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Lighthouse
        uses: shopify/lighthouse-ci-action@f63f6c39a4cb6fb40169194dcf51eac62354651c
        with:
          store: ${{ secrets.SHOP_STORE_OS2 }}
          password: ${{ secrets.SHOP_PASSWORD_OS2 }}
          access_token: ${{ secrets.SHOP_ACCESS_TOKEN }}
          pull_theme: ${{ secrets.SHOP_PULL_THEME }}
          product_handle: the-organic-cotton-cutaway-tank
          collection_handle: all
          lhci_github_app_token: ${{ secrets.LHCI_GITHUB_TOKEN }}

Run the lighthouse-ci action, e.g. by posting a new PR.
Check the lighthouse reports generated by the action. Confirm that the settings from the theme specified were pulled successfully.

In this screenshot you can see it working where the Image Banner section has its settings pulled from another theme.

@charlespwd @Poitrin Any more requests/thoughts on this one?


display.refresh() hangs infinitely

Hey!
I'm using an e-ink display that is supported by this library. I've checked and call to display.refresh() stops and paused forever.
Do you have any clue what could be wrong?
Here is my code:
import time
import board
import displayio
import adafruit_ssd1680

displayio.release_displays()

# This pinout works on a Metro M4 and may need to be altered for other boards.
spi = board.SPI()  # Uses SCK and MOSI
epd_cs = board.D41
epd_dc = board.D40
epd_reset = board.D39  # Set to None for FeatherWing
epd_busy = board.D42  # Set to None for FeatherWing

print("1")

display_bus = displayio.FourWire(
    spi, command=epd_dc, chip_select=epd_cs, reset=epd_reset, baudrate=1000000
)

print("2")
time.sleep(1)

# For issues with display not updating top/bottom rows correctly set colstart to 8
display = adafruit_ssd1680.SSD1680(
    display_bus,
    colstart=8,
    width=250,
    height=122,
    busy_pin=epd_busy,
    highlight_color=0xFF0000,
    rotation=270,
)

print("3")

g = displayio.Group()

print("4")

with open("/display-ruler.bmp", "rb") as f:
    pic = displayio.OnDiskBitmap(f)

    print("5")

    # CircuitPython 6 & 7 compatible
    t = displayio.TileGrid(
        pic, pixel_shader=getattr(pic, "pixel_shader", displayio.ColorConverter())
    )

    print("6")

    # CircuitPython 7 compatible only
    # t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
    g.append(t)

    print("7")

    display.show(g)

    print("8")

    display.refresh()

    print("refreshed")

    time.sleep(120)

Can you open a serial terminal to the device? It might give you more information about the error.

I have exactly the same issue.
Serial does not give any information. It just hangs and needs to be reset via button.

Try the example without setting the busy pin. It may not be hooked up right.

It does not get stuck without busy pin but it does not display properly either.

Without busy pin display.refresh() does not do anything.

I'm using an e-ink display that is supported by this library.

Which specific display are you using? Also which version of CircuitPython? I tested out a number of different featherwing displays over the past few days using CP 8.2.6 and had no issues.
Also, did you set both of the lines with # Set to None for FeatherWing next to them to None?


Update example project and add controller usage  and clearing functions

Update the example app to be able to run on newer versions,
Add controller parameter to help with clearing and other text management
Added the field clearing feature

this is great update, could you merge it? tia

Thanks for your PR @Crucialjun

Done

@Crucialjun you might want to format locally(run dart format .) and ensure there are no lint issues and failing tests then push. See here.
Apart from that, PR looks good to me.

Can you update it to dev.pub sir after? thanks in advance!


Error when compiling C extension of Python3 in Python 3.12.7

vim or neovim?

[x] vim
[ ] neovim

Output of vim --version or nvim --version:
Output of :echo has("python"):  0
Output of :echo has("python3"):  1
Output of :echo &pythondll(only vim, not neovim):
Output of :echo &pythonthreedll(only vim, not neovim):
Output of :py print(sys.version):
Output of :py3 print(sys.version):  3.12.7 (main, Nov  6 2024, 18:29:01) [GCC 14.2.0]
Output of :echo g:Lf_Debug_Cmd:
Output of :echo g:Lf_FilesFromCache:
Operating system:

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Configurations related to LeaderF in vimrc:

Describe your question, feature request, or bug.
Begin to compile C extension of Python3 ...
Traceback (most recent call last):
  File "/root/plugged/LeaderF/autoload/leaderf/fuzzyMatch_C/setup.py", line 5, in <module>
    from setuptools import setup
ImportError: cannot import name 'setup' from 'setuptools' (unknown location)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/plugged/LeaderF/autoload/leaderf/fuzzyMatch_C/setup.py", line 8, in <module>
    from distutils.core import setup
ModuleNotFoundError: No module named 'distutils'

Python 3.12.7 (main, Nov  6 2024, 18:29:01) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from setuptools import setup
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'setup' from 'setuptools' (unknown location)
>>>

distutils module has been removed in Python 3.12 https://github.com/python/cpython/issues/92584
Steps to reproduce
Actual behaviour
Expected behaviour

Have a try the solutions in https://stackoverflow.com/questions/69919970/no-module-named-distutils-util-but-distutils-installed/76691103#76691103.

Have a try the solutions in https://stackoverflow.com/questions/69919970/no-module-named-distutils-util-but-distutils-installed/76691103#76691103.

Thanks, it works!


Missing credit information

There has been considerable change made by others' suggestions, they should be credited.

Resolved via commit 554bef4087e856ad167a567bf1b8d6a4a23c96ae.


build: plugin 6.3.5, standardized project names, gradle 8.0.2

oh, heck...I don't know why these test failed. They passed locally. I'll investigate when I'm back on Monday.


make confirmDeleteNote event work

I want make it works well

Thanks for this! As I mentioned earlier - I'm going to refactor this file and project a bit - but I'll accept this for now for sure.


Upgrade not an option

When trying to upgrade the agent by running the new setup file - the only options presented are Repair and Uninstall - Upgrade is not listed as an option.

Document details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5e1bc14e-2be9-0eba-b68a-e3e266e7949c
Version Independent ID: c931a6ce-5d85-b6b7-420d-99e2c9ed09d4
Content: Manage the Azure Log Analytics agent - Azure Monitor
Content Source: articles/azure-monitor/agents/agent-manage.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @guywi-ms
Microsoft Alias: guywild

Any update? We have the same issue.

@Lukeout please advise.

Ah, in our case it was because it was already on the latest version (1.0.18067). We got confused by the e-mail from Microsoft that told us an action was required from us to update the agent.

@CZEMacLeod Thanks for your feedback! We've create a work item to follow up and investigate this issue. We intend to update this article shortly with the relevant content. I'm going to go ahead and close this issue now, but feel free to follow up here to get more information. Thanks again 👍
#please-close

@guywi-ms I think like @2ATCaroline it isn't showing update as it is already on the latest version - although I also got an email from azure stating that it was on an old version.

Thanks very much for the update, @CZEMacLeod!


Missing setUserProperties in analytics-browser

Summary
In Amplitude-Javascript, there is a setUserProperties function which seems to be missing in @amplitude/analytics-browser. Is this intentional?
On the other hand, I see that event.set() exists, is it a replacement?

Hi @nextglabs thanks for using Amplitude.
In the Amplitude-TypeScript SDK you should use identify() to set user properties.
https://www.docs.developers.amplitude.com/data/sdks/typescript-browser/#user-properties


New Thread network configurations updated.

New Thread network configuratations to be taken into use in mbed-os 5.4
Linked to this change -> https://github.com/ARMmbed/mbed-os/pull/3736

Commit include in the oob_test_mbed-os-5.4 branch.


Nested JSGrid itemTemplate issue

Hi I have a use case where i have a smaller grid inside another grid.
I am following the format in the below fiddle:
http://jsfiddle.net/tabalinas/w71odbyy/3/
However when the page loads i'm getting the following error:
HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy
 {name: "RESULTS", width: 100, itemTemplate: function( value, item){
   $grid =  $("div").attr("id", "jsGrid_catg0");
   $("#jsGrid_catg0").jsGrid({
     height: "auto",
     width: "90%",
     filtering: false,
     editing: false,
     data: item['RESULTS'],
     fields: [
        {name:"date", type:"text", width: 30},
        {name:"pass", type:"text", width: 30},
        {name:"fail", type:"text", width: 30},
     ]
    });

    return $grid
  }

If i comment out this field, every other column loads okay. Am I missing something here?
Thanks for this great tool!

Could you provide a jsfiddle reproducing the issue?

I figured out this issue, thanks for this great library!


[FLINK-6831] Activate checkstyle for runtime/*

Another contender for lowest of the low-hanging fruits.

+1

merging.


[No QA] Change job condition to string comparision

Details
Following-up on https://github.com/Expensify/App/pull/9812, still trying to get it working.
Fixed Issues
$ n/a
Tests
Merge and pray

Going to skip tests for urgency here.

🚀 Deployed to production by @chiragsalian in version: 1.1.84-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


RN Windows Support?

I see mention on iOS and Android in the doc but no mention of RNW.
Is there a way to get this working on windows?

To add support to another platform, you just need to call margelo::nitro::install(...) in a Runtime. This will install global.NitroModulesProxy into the Runtime's global.
https://github.com/mrousavy/nitro/blob/c0ae25bef6710894c1314f714638b38ca650c66b/packages/react-native-nitro-modules/cpp/entrypoint/InstallNitro.hpp#L16-L29
cc @shirakaba

Here is my writeup of how to write a react-native-windows attributed module (which can be installed as either a NativeModule or TurboModule).
I'd help out, but I don't have even a spare half-hour from now until mid-November 🫠


Make curryable

Consider reversing the parameter order, so this function can be curried:

const pick = require('object.pick');

const fields = ['id', 'firstName', 'lastName', 'email']

const pickUserFields = curry(pick)(fields)

const user = db.getUser(...)

const myUserObj = pickUserFields(user)

Most of the implementations of pick that I've seen use this order. I would just make a partial-right application:
var pick = require('object.pick');
var partial = require('partial-right');

var fields = ['id', 'firstName', 'lastName', 'email'];
var pickUserFields = partial(pick, fields);

var user = db.getUser(...);
var myUserObj = pickUserFields(user);

It would be fairly trivial to switch args automatically too, since one of the args either needs to be a string or array, and the other an object. shouldn't impact performance at all


Issue with Bluebird.promisify()

Howdy!
Tried promisifying the sendEmailBatch function and it gave me a peculiar error...
I tried using the callback style and it works, but promises are a must-have in my current project.
Here's the code:
const Promise = require('bluebird');
const postmark = require('postmark');

const client = new postmark.Client(<api_key>);

const messages = []; // array or message objects
const sendEmails = Promise.promisify(client.sendEmailBatch);

return sendEmails(messages);

Unhandled rejection TypeError: this.processRequestWithBody is not a function
at Client.sendEmailBatch (/<project path>/node_modules/postmark/lib/postmark/Client.js:120:14)

As a workaround for now, I am using this hack:
return new Promise((resolve, reject) => {

    client.sendEmailBatch(messages, (error, success) => {

      if (error) reject(error);

      resolve(success);

    });

  });

Hey @cvburgess I have implemented something very similar using a corresponding function on q.js
Essentially Q has two functions for wrapping node style functions: Q.denodeify and Q.nbind
Denodeify should be used for static functions and nbind should be used for functions that are part of an object and make use of this. In this case, you have to use Q.nbind with postmark.sendEmail because it is part of the postmark object.
Here is my code:
const postmark = require('postmark');
const Q = require('q');

const client = new postmark.Client(nconf.get('postmark:api_key'));
const sendEmail = Q.nbind(client.sendEmail, client);

Obviously, this doesn't directly apply to you but you will need to find the corresponding function to Q.nbind in Bluebird.

Hey folks, I just want to acknowledge this issue. I'll have a look at the code and see if it's an issue related to the prototype for Client.

I was able to work with bluebird by doing the following:
const Promise = require('bluebird'), // eslint-disable-line no-shadow
    postmark = require('postmark');

const client = new postmark.Client(postmarkConfig.apiToken),
    sendEmailWithTemplate = Promise.promisify(client.sendEmailWithTemplate, {context: client});

// Usage
// Returns a promise
sendEmailWithTemplate({
    From: from,
    To: to,
    TemplateId: postmarkConfig.templates[type],
    TemplateModel: locals
});

as an FYI, this is not an issue with postmark.js but an issue with how you're using Promise.promisify. You must bind the correct context to the function you are "promisifying"

I will try this in my code and close this issue if it works - thanks @stringbeans :)

We just released 1.4.0 of the library, which includes Promise support. You to get Promises back, simply call the same client methods without a callback function. The client methods will return a Promise when the callback function is emitted.

Thank you @atheken I will update tonight :D


Move workflows to own subpackage

Fixes #767
Added benefit of further parallelism in CI
Developers certificate of origin

[X] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Codecov Report

Merging #912 (30ef2d5) into main (aa4742b) will increase coverage by 14.10%.
The diff coverage is n/a.

:exclamation: Current head 30ef2d5 differs from pull request most recent head 690b8a6. Consider uploading reports for the commit 690b8a6 to get more accurate results

Additional details and impacted files

@jthorton @JenkeScheen @chrisiacovella could I snag a review here from one of you?


Add asuswrt interface and dnsmasq location configuration

Description:
This adds two new parameters to asuswrt configuration to specify dnsmasq location and interface to use for statistics.
This fixes the issue with padavan n56u-project sensors not reading statistics as well as having to create a soft link to dnsmasq file.
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#11426
Example entry for configuration.yaml (if applicable):
# Example configuration.yaml entry
asuswrt:
  host: YOUR_ROUTER_IP
  username: YOUR_ADMIN_USERNAME
  ssh_key: /config/id_rsa
  interface: 'eth0'
  dnsmasq: '/var/lib/misc'
  sensors:
    - upload
    - download
    - upload_speed
    - download_speed

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

aioasuswrt has been updated to 1.2.1 to include this update

not sure why it isn't finding the 1.2.1 release:
https://pypi.org/project/aioasuswrt/1.2.1/

not sure why it isn't finding the 1.2.1 release:
https://pypi.org/project/aioasuswrt/1.2.1/

That is strange ?!

not sure why it isn't finding the 1.2.1 release:
https://pypi.org/project/aioasuswrt/1.2.1/

That is strange ?!

@kennedyshead I can confirm that downloading aioasuswrt==1.2.1 fails locally as well.

1.2.2 works, I just installed it locally... Have no idea why 1.2.0 and 1.2.1 fails

Please add a test to reach the code coverage difference for this patch :)

Please add a test to reach the code coverage difference for this patch :)

Yeah..trying to fix this but it is complaining about a Lint issue..I have fixed it and locally Lint passes fine, but when I push it to CI it fails...not sure how to fix this

@pkishino I am not quite sure but has the codecoverage increased by adding this new test? It looks good but I think you will need to add another test that covers the interface as well.

@pkishino I am not quite sure but has the codecoverage increased by adding this new test? It looks good but I think you will need to add another test that covers the interface as well.

Hey,
not quite sure how to bump the coverage up to pass..tried looking at other test cases and such..
@kennedyshead suggestions?

@pkishino I'll have a look see

If you bump the tests for sensor.py I think you are done ;)

@kennedyshead yeah, can take a look at that but as there currently are 0 tests for sensor not sure where to start and exactly what needs to be covered there..

oh come on...this is nonsense...

Please remove the following line which omits the specified file from code coverage testing:
https://github.com/home-assistant/home-assistant/blob/dd8597cb46c5e788995e1ea56b87dfbaf43ca51c/.coveragerc#L61

@pkishino no worries such a small difference is okay 😉

Looks fine to me :)


download the notebook link does not work

Download link for the notebook does not work for all Azure Notebooks, databricks, & Synapse
Error - The remote server returned an error: (403) Forbidden.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ef20a146-eade-d9f6-b100-543908ef18b1
Version Independent ID: fedbe821-7b38-0764-9531-5c462869f4dc
Content: Public Holidays - Azure Open Datasets
Content Source: articles/open-datasets/dataset-public-holidays.md
Service: open-datasets
GitHub Login: @PeterCLu
Microsoft Alias: peterlu

@Rajini09 we'll review your feedback and get back to you shortly. Thanks.


Latest release on PyPi (0.16.0) breaks with lxml>5.1.0: import extruct throws ImportError: cannot import name '_ElementStringResult'

The latest version available from PyPi (0.16.0) breaks when used with lxml greater than 5.1.0.
The reason is that lxml seems to have dropped some internal objects, like lxml.etree._ElementStringResult, which are imported in xmldom.py in line 9 (in 0.16.0).
A temporary fix is to use  lxml<=5.1.0 in your environment.
Traceback (most recent call last):
  File "/usr/app/src/./foo.py", line 13, in <module>
    import extruct
  File "/opt/conda/lib/python3.12/site-packages/extruct/__init__.py", line 1, in <module>
    from ._extruct import SYNTAXES, extract
  File "/opt/conda/lib/python3.12/site-packages/extruct/_extruct.py", line 9, in <module>
    from extruct.dublincore import DublinCoreExtractor
  File "/opt/conda/lib/python3.12/site-packages/extruct/dublincore.py", line 6, in <module>
    from extruct.utils import parse_html
  File "/opt/conda/lib/python3.12/site-packages/extruct/utils.py", line 5, in <module>
    from extruct.xmldom import XmlDomHTMLParser
  File "/opt/conda/lib/python3.12/site-packages/extruct/xmldom.py", line 9, in <module>
    from lxml.etree import (
ImportError: cannot import name '_ElementStringResult' from 'lxml.etree' (/opt/conda/lib/python3.12/site-packages/lxml/etree.cpython-312-aarch64-linux-gnu.so). Did you mean: '_ElementUnicodeResult'?

Notes:

I am using a conda environment with extruct installed via pip, but I think the main reason is that the latest version available on PyPi version is not compatible with the latest lxml release.
This might be already addressed in the lates development version, but will likely hit many people who are forced to install with pip.

I just noticed that this is a duplicate of #217, fixed by https://github.com/scrapinghub/extruct/commit/9e0179be7721af29caab6bb29bd40e1a77f9ed2c
But I keep it open so that Google will point people to this as long as the PyPi version has not been updated.
A new release will most likely fix this issue.


Refactor NBitcoin's ParseIPEndPoint and remove duplicate code

This PR:

Refactors NBitcoin's ParseIPEndPoint and removes duplicate code between the method and ToIPEndPoint.

some unit tests are failing due to this change:
CanParseIpEndpoint
Load_InvalidRpcBindIp_ThrowsConfigurationException

Made the following changes:

Changed Assert.Throws<FormatException>(() => Utils.ParseIpEndpoint("2001:db8:1f70::999:de8:7648:6e8:100", 90)); from SocketException to FormatException as we would probably not want to try a host name lookup on this value anyway.
Added support for IP's of the form "1233:3432:2434:2343:3234:2345:6546:4534".

Good stuff, thanks mate.


Support pipenv

Not quite sure how this would look (use pipenv whenever we prompt users to install something on their behalf?).
Fork of #301

Just as a suggestion, it would be good if vsc could detect virtualenv that Pipenv creates, and use that for completion etc.
If it helps, pipenv --venv, prints the path to the virtualenv root, and pipenv --py prints the path to the Python binary. The former will exit 1 if it's not inside a project that's been set up with Pipenv, but the latter always exits 0 unfortunately.

This basically works for me. The only think I needed to to was to add path to pipenv virtual environments to the workspace settings

@MikhailArkhipov
All you need to do is modify GlobalVirtualEnvironmentsSearchPathProvider
to tell it to search the .virtualenvs in your home directory.

Yeah, working on it

Also realize that with pipenv there is a single virtual environment per directory, so we could automatically select it if found as appropriate.

I would really appreciate this feature. In particular, to allow it to autodiscover the python executable, pip executable, and PATH for my virtualenv, so that I don't need to worry about launching vscode via pipenv in order to get it to use a project-specific version of the linter I'm using, etc.

@ryanhiebert if you add a user or workspace setting to point to your .venv python path, VS Code will pick up your linter, interpreter, etc on it's own - you don't need to launch it from within pipenv.
Something like:
{
"python.pythonPath": "${workspaceRoot}/.venv/bin/python",
}

The feature amounts to this:

Module installation via pipenv instead of pip so the lock file gets properly updated
Interpreters cannot be selected - automatic pick of what the workspace is configured with (looks like there can only be one?)
Option to turn off automatic interpreter identification and allow manual selection? Perhaps for testing with different versions?

Anything else?

@MikhailArkhipov

We should also make sure to do it as a dev dependency
Yep, only one interpreter per directory (why pipenv is only for app development and not library development)
I would assume automatic selection would be just like what we do for virtual environments so it shouldn't be anything special (don't we auto-select if python.pythonPath is unset?)

don't we auto-select if python.pythonPath is unset

Yes

assume automatic selection would be just like what we do for virtual environments so it

Yes. It should. I haven't tested this though.
@MikhailArkhipov

Please create a workspace
Ensure pythonpath is not set in your settigs file
Ensure you have a pyevn environment in your workspace directory
Open a python file in the above workspace (activate the extension)
The extension should identify the above environment and set it in settings.json

@brettcannon, @DonJayamanne - yes, this is exaclty what I have atm :-)
Basically pyenv is checked first and always wins

Basically pyenv is checked first and always wins

@MikhailArkhipov
Does the extension automatically update settings.json without you having to do anything?

It is a good question. Currently one can still override interpreter path manually in settings. If nothing is there then pipenv is used. This may come useful if one wants to try different interpreter without actually removing or modifying pipenv environment.

@MikhailArkhipov Maybe a flag for that override right now I have my interpreter path set to a default which if I was in a pipenv project I'd want overridden to use the pipenv interpreter.
It'd also be quite neat if we had a command palette command for installing pipenv packages. e.g. cmd+shift+p   <dev yes/no>

if you add a user or workspace setting to point to your .venv python path, VS Code will pick up your linter, interpreter, etc on it's own - you don't need to launch it from within pipenv.

Thanks for this, @repentsinner . I had assumed that the process PATH would need to be updated, I didn't expect that just setting the interpreter would be sufficient. I guess it uses the pythonpath instead, which is cool. It's just what I needed.

@naphta package installation would be a separate issue as we would have to solve that for pip and conda as well.

I updated to 2018.2.0 but my Pipfiles are not picked up (I also tried to rename it to pipfile). In the debug console I don't see any error/warning (apart the missing packages due to the fact that environment is not activated) and the select interpreter command is listing only the system pythons.
I'm on OSX Sierra with vscode 1.21, pipenv installed via homebrew
Can I do anything to help tracking down the problem?
--sergio

Same for me. I read the announcement https://blogs.msdn.microsoft.com/pythonengineering/2018/03/08/python-in-visual-studio-code-feb-2018-release/, but the detection of the pipenv venv does not work. Tried already with three projects/directories using pipenv

Getting a similar issue to @guaguanco and @brot.
Open up VSCode in a folder which has a Pipfile and nothing is being detected. I didn't get prompted to upgrade the Python plugin after I reinstalled (not sure if that's now managed in the regular upgrade process now)
I'm also using pipenv on mac installed via homebrew. (available in $PATH though)
Version:
Version 1.22.0-insider (1.22.0-insider) 3817c899cae312e0e989da8bfbc61308cfbf45f1

@brot @guaguanco @naphta We think someone found the bug and we are working on a 2018.2.1 release as we speak. Assuming the fix passes our testing it should be out in less than an hour.

2018.2.1 is now live and should (hopefully) fix this issue (it was a case-sensitivity bug). Sorry about missing this in our testing 😞

And we have opened #1007 to make sure this specific bug isn't a problem in the future.

@brettcannon The issue seems still exists on 2018.2.1. I am using pipenv on Mac, installed from pip. The project has a Pipfile inside.

@frostming please could you create a separate Issue.

Same problem as @frostming Also on a mac.

@frostming @eomeara please could you create a separate Issue.

can someone just lock this issue? we are definitely past the point of having any relevant conversation happen here.


c2m segfaults when accessing invalid struct member

Running c2m on this file generates an error then segfaults:
void func() {
    struct Foo v;
    v.a;
}

Output:
/home/user/mir-errors/invalid-struct.c:3:5: struct has no member a
Segmentation fault

GDB trace:
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./c2m...done.
(gdb) r ~/mir-errors/invalid-struct.c
Starting program: /home/user/mir/c2m ~/mir-errors/invalid-struct.c
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff7c4e700 (LWP 1433)]
/home/user/mir-errors/invalid-struct.c:3:5: struct has no member a

Thread 2 "c2m" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7c4e700 (LWP 1433)]
0x000055555556426a in check_const_addr_p (c2m_ctx=0x555555671260, r=<optimized out>,
    base=<optimized out>, offset=0x7ffff7c4ced0, deref=0x7ffff7c4ce4c) at c2mir/c2mir.c:7300
7300	    *offset += decl->offset;
(gdb)

This bug also appears when accessing a member of a non-struct object:
void f() {
   int x;
   x.y;
}

Output:
/home/user/mir-errors/invalid-int.c:3:4: request for member y in something not a structure or union
Segmentation fault

Thank you for reporting this.
I've fixed it.  The changes and a test is in the master branch now.

links to the respective commits for reference
https://github.com/vnmakarov/mir/commit/cbd53d7e24d49a6d0f37ed09bfa2e4d152c92f69
https://github.com/vnmakarov/mir/commit/19c4758d775f82832092c50de7070f88de3212e2
https://github.com/vnmakarov/mir/commit/c59aba475b30d3596fa8afd41841febc8dc3302b


Clients may hang when quitting the game

Affects: Release v0.2.0 and up
Internal Ticket: UTY-1968

Description
When quitting a standalone client, the process may hang (seemingly forever).
Workaround
Force quit the application via the Task Manager or the Activity Monitor.

Will be fixed on v0.2.3

v0.2.3 has been released! https://github.com/spatialos/gdk-for-unity-fps-starter-project/releases/tag/0.2.3