[Impeller] Still have color issues with BlendMode.screen

Steps to reproduce
I can still replay the issue B at #141160 .
Flutter version 3.19.3 and master channel 3.21.0-11.0.pre.42 .
Code list below.
Expected results
Green circle.

Actual results
black circle.

Code sample
Code sample
import 'package:flutter/material.dart';
import 'dart:ui' as ui;

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Align(
          alignment: Alignment.center,
          child: CustomPaint(
            size: Size.infinite,
            painter: BubbleLayerPainter(),
          ),
        ),
      ),
    );
  }
}

class BubbleLayerPainter extends CustomPainter {
  const BubbleLayerPainter();
  @override
  void paint(Canvas canvas, Size size) {
    final colorBlur = Paint()
      ..style = PaintingStyle.fill
      ..maskFilter = const MaskFilter.blur(BlurStyle.normal, 10)
      ..color = Colors.black;

    final center = size.center(Offset.zero);
    canvas.drawCircle(center, 128, colorBlur);
    final surface = Paint()
      ..blendMode = BlendMode.screen
      ..shader = ui.Gradient.linear(
         Offset.zero, Offset(0, size.height), [Colors.green, Colors.green]);
    canvas.drawPaint(surface);
  }

  @override
  bool shouldRepaint(BubbleLayerPainter oldDelegate) {
    return true;
  }
}

Screenshots or Video

Screenshots / Video demonstration

Impeller On
Impeller Off

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.3, on macOS 13.6 22G120 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.19.3 on channel stable at /Users/abc/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (12 days ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.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 34.0.0)
    • Android SDK at /Users/zhx/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode_15.2.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Android Studio (version 2023.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.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (1 available)
    • iPhone (mobile) • ___ • ios • iOS 16.5.1 20F75

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

• No issues found!

Hi @zhxst
I see the sample code is the same as https://github.com/flutter/flutter/issues/141160. There were two issues there (A and B). The sample code above is for case B which should be on a different issue. I update the code below for issue A.
But I see the issue disappeared on Flutter master channel. I'm not sure which PR fixed this. Could you try below sample code on master channel and confirm?

Sample code
import 'package:flutter/material.dart';
import 'dart:ui' as ui;

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Align(
          alignment: Alignment.center,
          child: CustomPaint(
            size: Size.infinite,
            painter: BubbleLayerPainter(),
          ),
        ),
      ),
    );
  }
}

class BubbleLayerPainter extends CustomPainter {
  const BubbleLayerPainter();
  @override
  void paint(Canvas canvas, Size size) {
    final colorBlur = Paint()
      ..style = PaintingStyle.fill
      ..maskFilter = const MaskFilter.blur(BlurStyle.normal, 10)
      ..color = Colors.black;

    final center = size.center(Offset.zero);
    canvas.drawCircle(center, 128, colorBlur);
    final surface = Paint()
      ..blendMode = BlendMode.screen
      ..color = Colors.green;
    // ..shader = ui.Gradient.linear(
    //    Offset.zero, Offset(0, size.height), [Colors.green, Colors.green]);
    canvas.drawPaint(surface);
  }

  @override
  bool shouldRepaint(BubbleLayerPainter oldDelegate) {
    return true;
  }
}

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (6 hours ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.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.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 122.0.6261.112

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

• No issues found!

[!] Flutter (Channel master, 3.21.0-11.0.pre.42, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.21.0-11.0.pre.42 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 7ffd36cb6d (2 hours ago), 2024-03-19 21:04:25 -0400
    • Engine revision 3f67bc531e
    • Dart version 3.4.0 (build 3.4.0-248.0.dev)
    • DevTools version 2.34.0-dev.5
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.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.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 122.0.6261.129

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

! Doctor found issues in 1 category.

Hi @zhxst I see the sample code is the same as #141160. There were two issues there (A and B). The sample code above is for case B which should be on a different issue. I update the code below for issue A.
But I see the issue disappeared on Flutter master channel. I'm not sure which PR fixed this. Could you try below sample code on master channel and confirm?
Sample code
flutter doctor -v (stable and master)

Indeed issue A is Fixed, but Issue B is not.

Yes, please also help to update the description (text, results, and screenshots) as well to align with issue B.

This is exactly the code and screenshot for issue B.
And I have confirmed today with master channel 3.21.0-12.0.pre.36.

You are right, I also can reproduce issue B:
Actual result

On stable 3.19.3: a white screen on screen.
On master 3.21.0: a black blurred circle on screen.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.4, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.4 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 68bfaea224 (29 hours ago), 2024-03-20 15:36:31 -0700
    • Engine revision a5c24f538d
    • Dart version 3.3.2
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.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.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.58

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

• No issues found!

[!] Flutter (Channel master, 3.21.0-12.0.pre.40, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.21.0-12.0.pre.40 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 d755bc222b (28 minutes ago), 2024-03-21 19:44:55 -0700
    • Engine revision e2f324beac
    • Dart version 3.4.0 (build 3.4.0-257.0.dev)
    • DevTools version 2.34.0-dev.5
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.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.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.58

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

! Doctor found issues in 1 category.

Could be a bug when attempting to apply the color filter on the CPU (or at least, that was the what the previous issue was):
https://github.com/flutter/engine/blob/main/impeller/aiks/canvas.cc#L39-L45


Please invite me to the community

Name
Apex
Additional Context
I wanna join to this community. Thanks.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈


Quintel team portraits out of date on home page

The Quintel team portraits are out of date on the home page (beta and live).
The current latest set on of portraits on Quintel.com are also out of date for the moment, but that will hopefully be fixed soon.

Assigning @twilkinson573

Fixed with ea16c68010669662e20cafb1af5c94a54e26e325


identity: Eliminate unit test raciness

Make the unit test not depend on scheduling/timing by explicitly
waiting for identity update events to occur.
Fixes: #8049
Fixes: 21f462c5ebf ("policy: Add selector cache")
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

This change is

Coverage remained the same at 41.775% when pulling 2f12510671798b48cb3a0509ef0423c210a21e9e on pr/jrajahalme/fix-unit-test-race into 22970ea50bafe060f2fa032ccd58e3651e81f759 on master.

test-me-please

CI issue #8056

This PR only touches a go unit test file, and Travis CI passed with it. Not sure if running Ginkgo tests makes sense - I'd be happy to merge as is.

test-me-please


Just one column emoji in io.github.rockerhieu.emojicon.EmojiconsView

I copy the code in com.rockerhieu.emojicon.example.EmojiconsActivity and R.layout.activity_emojicons into my project, when I run my project it just one column emoji in EmojiconsView. This is the picture link: http://oc3k2hfgm.bkt.clouddn.com/282515153315829018.jpg, Can you help me to solve the problem.

You can specify the number of column just like you can with a normal GridView. See https://github.com/rockerhieu/emojicon/blob/master/library/src/main/res/values/styles.xml.

two different namespace !!!!
the codebase namespace is: io.github.rockerhieu
but gradle jar file com.rockerhieu.emojicon
and all side conflicts!!

there is EmojiconPage struct in
compile group: 'io.github.rockerhieu', name: 'emojicon', version: '1.3.4'


Grab Pre-Selected Text Automatically

I would love to highlight a section of text in the WordPress editor, click the Enlighter Code Insert button, and have that text entered directly into the snippet editor.
Extra credit if it defaults to 'inline' when there is no line break in the selection!
Mockup of flow:

Hi Alex,
thanks for your proposal (and great mockup ;))
technically it is possible to implement it. but whats about the Editor Formats (EditorToolbar -> Formats -> Enlighter Block/Inline -> Language) - they are exactly designed for this purpose.
best regards, Andi

Dang...yes, that is exactly what I wanted. It did seem weird that this would be missing from such an otherwise polished plugin, and I promise I did look everywhere I could think of to find it!
Okay, cancel this request 😌

in part it's my fault because a good documentation/tutorial is currently missing :( i'm sorry about this
have fun with Enlighter!


New version: OutlierDetectionData v0.1.4

Registering package: OutlierDetectionData
Repository: https://github.com/OutlierDetectionJL/OutlierDetectionData.jl
Created by: @davnn
Version: v0.1.4
Commit: 848e380230041390528908968a41eb1ae8cac1ec
Reviewed by: @davnn
Reference: https://github.com/OutlierDetectionJL/OutlierDetectionData.jl/issues/3#issuecomment-959432257
Description: Easy way to use public outlier detection datasets with Julia

can be closed, unintentionally skipped a version. Sorry :/


github-runner: ssh is using the system global ssh_config, and a non-sensical location for known_hosts

Describe the bug
I am losing my mind with GitHub Actions.
This current issue feels like it might be a mis-configuration issue with our GitHub Runner service.
When I'm trying to use git push... over SSH, I'm having issues with host key verification issues.
Adding a -vvv revealed that SSH is:

Trying to load my global SSH configuration.
Trying to load SSH Host keys from a non-sensical location instead of the runner's home dir

debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 5: Applying options for *
debug2: resolving "github.com" port 22
debug1: Connecting to github.com [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug1: identity file /run/secrets/github-colebot-sshkey type 3
debug1: identity file /run/secrets/github-colebot-sshkey-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.4
debug1: Remote protocol version 2.0, remote software version babeld-70f1bac9
debug1: compat_banner: no match: babeld-70f1bac9
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to github.com:22 as 'git'
debug1: load_hostkeys: fopen /.ssh/known_hosts: No such file or directory
debug1: load_hostkeys: fopen /.ssh/known_hosts2: No such file or directory

cc: @veehaitch

I guess loading the global ssh_config makes sense since github runner doesn't encourage/enforce/anything any sort of sandboxing.
However, I'm pretty stumped on why SSH is using /.ssh/known_hosts instead of $HOME/.ssh/known_hosts.


I CANT COMPILE SOURCE PE 0.71

Describe your problem here.
I checked all the issuess with the Source and this error (I'm bad at English)
source/options/NotesSubState.hx:193: characters 48-60 : flixel.input.mouse.FlxMouse has no field deltaScreenX
source/options/NotesSubState.hx:193: characters 80-92 : flixel.input.mouse.FlxMouse has no field deltaScreenY
source/options/NotesSubState.hx:456: characters 62-71 : flixel.math.FlxPoint has no field degreesTo
source/options/NotesSubState.hx:457: characters 42-46 : flixel.math.FlxPoint has no field dist
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

it looks like your flixel is outdated. try updating it and see what happens.

it looks like your flixel is outdated. try updating it and see what happens.

ok

it looks like your flixel is outdated. try updating it and see what happens.

even though i restarted my pc after that it does not work


bug: "Socket is not connected" errors

Using the realtime client and 110602490-lcm-sd15-i2i app, my onResult callback is being called twice for each generation, once with a successful result and once with a "Socket is not connected error"
Repro steps:

run the repro app (code below)
draw something and tap "Generate"
wait a moment

Expected result:

The onResult callback is called once, with a successful result
The console output looks like:

GENERATING: <SOME_UUID>
SUCCESS

Actual result:

The onResult callback is called twice, once with a successful result and once with a "Socket is not connected" error
The console output looks like:

GENERATING: <SOME_UUID>
nw_connection_copy_connected_local_endpoint_block_invoke [C2] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
nw_connection_copy_connected_remote_endpoint_block_invoke [C2] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
nw_connection_copy_protocol_metadata_internal_block_invoke [C2] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
SUCCESS
Connection 3: received failure notification
nw_read_request_report [C3] Receive failed with error "Socket is not connected"
RESULT ERROR Error Domain=NSPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=https://110602490-lcm-sd15-i2i.gateway.alpha.fal.ai/ws?fal_jwt_token=<SOME_JWT_TOKEN>, NSErrorFailingURLKey=https://110602490-lcm-sd15-i2i.gateway.alpha.fal.ai/ws?fal_jwt_token=<SOME_JWT_TOKEN>}
nw_flow_service_reads [C3 <IP_ADDRESS>:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, uses wifi)] No output handler
nw_flow_add_write_request [C3 <IP_ADDRESS>:443 failed parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, uses wifi)] cannot accept write requests
nw_write_request_report [C3] Send failed with error "Socket is not connected"
tcp_input [C3.1.1:3] flags=4 seq=404,865,952, ack=0, win=0 state=8 rcv_nxt=404,865,952, snd_una=102,004,591
tcp_input [C3.1.1:3] flags=4 seq=404,865,952, ack=0, win=0 state=0 rcv_nxt=404,865,952, snd_una=102,004,591
tcp_input [C3.1.1:3] flags=4 seq=404,865,952, ack=0, win=0 state=0 rcv_nxt=404,865,952, snd_una=102,004,591
tcp_input [C3.1.1:3] flags=4 seq=404,865,952, ack=0, win=0 state=0 rcv_nxt=404,865,952, snd_una=102,004,591
tcp_input [C3.1.1:3] flags=4 seq=404,865,952, ack=0, win=0 state=0 rcv_nxt=404,865,952, snd_una=102,004,591

Repro app code:
import SwiftUI
import FalClient
import Kingfisher

let falClient = FalClient.withCredentials(.keyPair("\(FAL_KEY_ID):\(FAL_KEY_SECRET)"))

let OptimizedLatentConsistency = "110602490-lcm-sd15-i2i"

struct LcmInput: Encodable {
    let requestId: String
    let prompt: String
    let imageUrl: String
    let seed: Int?
    let syncMode: Bool

    enum CodingKeys: String, CodingKey {
        case requestId = "request_id"
        case prompt
        case imageUrl = "image_url"
        case seed
        case syncMode = "sync_mode"
    }
}

struct LcmImage: Decodable {
    let contentType: String
    let url: String
    let width: CGFloat
    let height: CGFloat

    enum CodingKeys: String, CodingKey {
        case contentType = "content_type"
        case url
        case width
        case height
    }
}

struct LcmResponse: Decodable {
    let requestId: String?
    let seed: Float
    let nsfwContentDetected: [Bool]
    let numInferenceSteps: Int
    let images: [LcmImage]

    enum CodingKeys: String, CodingKey {
        case requestId = "request_id"
        case seed
        case nsfwContentDetected = "nsfw_content_detected"
        case numInferenceSteps = "num_inference_steps"
        case images
    }
}

class ViewModel: ObservableObject {
    @Published var currentImage: Data?
    var connection: RealtimeConnection<LcmInput>?

    init() {
        connection = try! falClient.realtime.connect(
            to: OptimizedLatentConsistency,
            connectionKey: "ReproDemo",
            throttleInterval: .milliseconds(0), // no need to throttle since i'm calling generate in response to a button tap
            onResult: { (result: Result<LcmResponse, Error>) in
                switch result {
                case .success(let data):
                    print("SUCCESS")
                    if let image = data.images.first {
                        let data = try? Data(contentsOf: URL(string: image.url)!)
                        DispatchQueue.main.async {
                            self.currentImage = data
                        }
                    }
                case .failure(let error):
                    print("RESULT ERROR \(error)")
                }
            }
        )
    }

    func generate(_ input: LcmInput) {
        guard let connection = connection else { fatalError("No connection") }
        do {
            try connection.send(input)
        } catch {
            print("SEND ERROR \(error)")
        }
    }
}

struct CanvasView: View {
    @State var strokes: [[CGPoint]] = []
    @State var currentStroke: [CGPoint] = []

    var body: some View {
        Canvas { context, size in
            for stroke in strokes {
                var path = Path()
                path.addSmoothLines(stroke)
                context.stroke(path, with: .color(.black), lineWidth: 5)
            }
            var path = Path()
            path.addSmoothLines(currentStroke)
            context.stroke(path, with: .color(.black), lineWidth: 5)
        }
        .background(Color.canvasBackground)
        .gesture(DragGesture(minimumDistance: 0, coordinateSpace: .local)
            .onChanged({ value in
                currentStroke.append(value.location)
            })
            .onEnded({ value in
                strokes.append(currentStroke)
                currentStroke = []
            })
        )
    }
}

struct ReproView: View {
    @StateObject var model = ViewModel()

    var canvas: some View {
        CanvasView()
            .frame(width: 300, height: 300)
    }

    var body: some View {
        VStack {
            canvas

            if let image = model.currentImage {
                KFImage.data(image, cacheKey: UUID().uuidString)
            }

            Button("Generate") {
                let renderer = ImageRenderer(content: canvas)
                let image = renderer.uiImage!
                let base64 = image.jpegData(compressionQuality: 0.6)!.base64EncodedString()
                let requestId = UUID().uuidString
                print("GENERATING: \(requestId)")
                model.generate(
                    LcmInput(
                        requestId: requestId,
                        prompt: "a moon in a starry night sky",
                        imageUrl: "data:image/jpeg;base64,\(base64)",
                        seed: 6_252_023,
                        syncMode: true
                    )
                )
            }
        }
        .padding()
    }
}

@main
struct ReproApp: SwiftUI.App {
    var body: some Scene {
        WindowGroup {
            ReproView()
        }
    }
}

Hey @jb-delightai, I just released version 0.3.0, which fixes these random connection issues and also provides better errors when serialization errors happen. Let me know if see any other issues.


Document & operator

See: https://github.com/kyverno/kyverno/issues/1538

Also see: https://github.com/kyverno/kyverno/issues/1512

Hold for 1.3.2


Update README.md

Pull Request Test Coverage Report for Build 774414184

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 773736265:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


feat: instuctions to set allias

as discussed here #1135 I feel there is a strong need to address, its all okay if we can't change it during installation but shall surely have section to address the same. Because writing 'move2kube' becomes a tedious task for sure.

@Sanket-0510 I think you forgot to sign your commit.
To fix this please read:

@Sanket-0510 I think you forgot to sign your commit.
To fix this please read this
Also please read the contribution.md

Hey @KrishAryan you can review this.

@Sanket-0510 I think it would look better if you write 'To keep aliases between sessions, you can save them in your user’s shell configuration profile file' and give the example of only bash script otherwise the readme will look unnecessarily long. I am not a maintainer so I cannot approve this for you but wanted to help save their time.

@Sanket-0510 I think it would look better if you write 'To keep aliases between sessions, you can save them in your user’s shell configuration profile file' and give the example of only bash script otherwise the readme will look unnecessarily long. I am not a maintainer so I cannot approve this for you but wanted to help save their time.

will you please highlight in the code, the exact place

between line 127 and line 129 you can add the comment and remove zsh and fish section.Also use three hashags in line 127 instead of two so that it can look better.
Also in your second commit which is in go.mod file, why did you do the changes in line 22 and removed line 119

Hey, actually, it's the Go package manager, I guess, which made the changes. I didn't explicitly change it, and the build is successful on my side

@kmehant can you please review and approve it?


feat(chat): apps editor route

Description:
<SHORT_DESCRIPTION>
Issues:

Issue #<TICKET_ID>

UI changes

Checklist:

[ ] the pull request name complies with Conventional Commits
[ ] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[ ] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[ ] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

Hey there and thank you for opening this pull request! 👋🏼
We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.
Details:
No release type found in pull request title "Feat/apps editor route". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - fix
 - hotfix
 - feat
 - feature
 - chore

/deploy-review


Fresh install "Class "NumberFormatter" not found"

Lunar version: latest
Laravel Version: 9.52
PHP Version: 8.1
OS: Ubuntu 22.04
Database Driver & Version:

Expected Behaviour:
Fresh install should working without any problem
Actual Behaviour:
Class "NumberFormatter" not found
Steps To Reproduce:
Just fresh installation

Are you sure you are on the latest Lunar 0.5? The latest composer should flag the missing packages/dependencies


change io.dropwizard.metrics.ObjectNameFactory to throw exception

While breaking changes can still be made on the 4.x branch, would it make sense to change the signature of io.dropwizard.metrics.ObjectNameFactory#createName to throw a MalformedObjectNameException. This way implementations can throw that exception if they can't generate an object name. This would ultimately bubble up to the listener methods, such as onCounterAdded where a JMException is caught and logged.
As the code stands now there is no way for an ObjectNameFactory to give up. The best option would be to throw a RuntimeException, which could break application flow.
I'm willing to propose a change but wanted to get some feedback first

I think it's a good idea. I would accept a pull request for the 4.x branch.

Tracking in #1076


Improved look of sitemap.html

Description
improved the styling of site map page and corrected the necessary links navigation in it.

Fixes #937

Screenshots (if applicable)
Before:

After:

Type of Change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

Checklist

[X] I have read the contributing document.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] Any dependent changes have been merged and published in downstream modules.

Additional Information

@mansiruhil13 kindly review this pr as i have solved the conflicts

@mansiruhil13 kindly review this pr

@mansiruhil13 review this pr. I have been waiting for ur response for many days kindly respond


Better error type identification in the browser

Describe the issue
When catching errors thrown by the browser API, it's desirable to identify what type of error occurred so that the user experience can be altered accordingly.
For example, did the user cancel the authentication? Was the browser unable to fulfill the request for some reason? Based on the error thrown, the user could be prompted to try again, or in some cases (e.g., browser autofill init), just ignore the error altogether.
This would also help cases where autofill and explicit startAuthentication() requests are used in parallel: one to help a user leverage an existing passkey even if they're not familiar with the terminology and another for users who know what they want immediately. The autofill request might be intentionally cancelled due to a more explicit request being initiated.
Currently, the library throws generic Errors, but it would be useful to customize those errors and set some sort of code property that can be programmatically relied upon to not change, even though english string messaging might. (e.g., code: E_CANCELLED or code: E_NO_INPUTS)
I am happy to PR changes in this regard if its agreed that this would be a helpful addition.
SimpleWebAuthn Libraries

$ npm list --depth=0 | grep @simplewebauthn
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

Hmm, it's true that Errors are being returned, but it's their name properties that differentiate the errors. @simplewebauthn/browser keeps the error type for spec compliance, but overwrites the message when it feels confident it knows why the more general error was thrown.
This proposal could be interpreted as a request to introduce SimpleWebAuthn-specific error codes. Is that the direction you're thinking this would go?

Thanks for the follow up. Yes, exactly--I was thinking these would be lib-specific error codes. Right now, I'm parsing the message in order to do some differentiation, but that will likely be brittle long-term.

I was poking around Error on MDN and learned about cause:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause
Perhaps I can use this here 🤔

That seems workable. I also tested Opera (listed as not supporting Error.cause), and it seemed to work fine. I opened an issue with MDN to hopefully update or clarify the documentation.

So far what I'm thinking of doing is creating a custom error (when I don't pass through the WebAuthn error), and including the original error as cause. I need your opinion though. Do I:

Throw a single "SimpleWebAuthnError" from both startRegistration() and startAuthentication(), differentiating registration or authentication errors by error code (e.g. "ERR_REG_FOO", "ERR_AUTH_BAR", etc...)
Throw a single "SimpleWebAuthnError" from both startRegistration() and startAuthentication(), and error codes are more general (e.g. "ERR_FOO", "ERR_BAR", etc...) because the type is implied by the error handler wrapping either method
Throw a "RegistrationError" from startRegistration(), and an "AuthenticationError" from startAuthentication(), and error codes are more general (e.g. "ERR_FOO", "ERR_BAR", etc...)

I'm between 1 and 2 right now, maybe preferring 2 because if any error messages are similar between the two then I can reuse error codes.

I like 2 as well. The context is implied, which makes handling errors from either function similar.

@mhamann I'm working on #367 to finally address this. What do you think about the following error codes?

'ERROR_CEREMONY_ABORTED'
'ERROR_INVALID_DOMAIN'
'ERROR_INVALID_RP_ID'
'ERROR_INVALID_USER_ID_LENGTH'
'ERROR_MALFORMED_PUBKEYCREDPARAMS'
'ERROR_AUTHENTICATOR_GENERAL_ERROR'
'ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT'
'ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT'
'ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED'
'ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG'
'ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY'

Now's the time to make suggestions if any of these seem off for whatever reason.

This looks fantastic. I can't think of anything missing, and those seem nicely descriptive of what caused the error.

@mhamann I just published<EMAIL_ADDRESS>that should resolve this issue 🚀

Thanks very much! We'll upgrade ASAP!


TimeLineHeaders renders in the wrong position together with react-hot-loader

Describe the bug
Using react-hot-loader together with a custom TimeLineHeader will cause the custom component to render under .rct-scroll instead of replacing the original .rct-header-root
To Reproduce
Use react-calendar-timeline inside a project with react-hot-loader (https://github.com/gaearon/react-hot-loader)
Create a TimeLine with a custom TimelineHeader, e.g., with the basic example.
import Timeline, {
  TimelineHeaders,
  SidebarHeader,
  DateHeader,
} from 'react-calendar-timeline';
import moment from 'moment';
...
<Timeline
            groups={groups}
            items={items}
            defaultTimeStart={moment().add(-12, 'hour')}
            defaultTimeEnd={moment().add(12, 'hour')}
          >
            <TimelineHeaders>
              <SidebarHeader>
                {({ getRootProps }) => {
                  return <div {...getRootProps()}>Left</div>;
                }}
              </SidebarHeader>
              <DateHeader unit="primaryHeader" />
              <DateHeader />
            </TimelineHeaders>
          </Timeline>

(I might be able to add a working example a bit later)
Expected behavior
Expect it to replace the custom header as intended.
From what I've found it seems to be related to this comparison: https://github.com/namespace-ee/react-calendar-timeline/blob/a3ce705863550ff9d72c6097de9de00331116772/src/lib/Timeline.js#L915
Something which already was discussed for other react-hot-loader issues in https://github.com/gaearon/react-hot-loader/issues/304
Library Version
0.25.4
Desktop (please complete the following information):

OS: MacOS
Browse Chrome
Version 75

Additional context
It seems like it's somewhat related to react-hot-loader, but something that they don't seem willing to fix.

Here is a codesandbox for repro: https://codesandbox.io/s/react-hot-loader-o4sgz

An incorrect, but a functional solution to this is replacing the comparison with:
const a = child.type.prototype.constructor.displayName;
const b = _TimelineHeaders2.default.prototype.constructor.name;
if (a === b) {

thus using the name of the component.

@westn please feel free to submit a PR make this work with rhr. Otherwise, I am not going to spend resources on this since it is not related to the library itself...

I am reopening this since now I am facing the same issue with a new codebase.

@westn tried your solution but no luck with this solution

released in 0.26.4


DDL - DB Migration refactor - remove rollback.ddl generation (ultimately not used by FlywayDb etc)

This is a refactor / cleanup based on the issue that we generate the rollback ddl script for DB migration but it is not going to be used by FlywayDb for example.  We can rollback a decent number of DDL changes but not all - for example, rolling back a drop column to add the column back is potentially questionable.
Ultimately many people are obviously not needing the rollback script part so in that sense we are better off removing that altogether and leaving no ambiguity.
This change effectively removes the support for generating the 'rollback ddl' for db migrations.
Note that internally (in DdlWriter) this means we ONLY need to support the 'drop all' script generation (which is very useful for testing etc) and have renamed some internal objects to reflect that this is now their purpose.

I'm not sure I accept the rationale here for dropping rollback generation (or I'm not understanding what was done). We use Liquibase along with a tool I developed to generate DDL. We make a best effort to write rollback code when we can. Certainly you can't drop a column and re-add it and get your data back, but often it's simply about keeping the schema working. In a team environment when you have a number of different branches of code in progress with different schemas, it's useful to rollback a change in order to switch to a coworker's branch and test/review. Plus people make mistakes and mess up other people's work, so it comes in handy there. We NEVER rollback in production. So that's my (more than) 2 cents. I don't think this issue will affect me since it would be a long time before we'd even be able to consider having Ebean generate DDL.

Fair comment there.
I'll try putting it another way.  If we decide that Rollback DDL is not useful for production then the question becomes is it useful for developers.
You make the point that it can be useful when switching between branches for test/review. I buy that thought but right now I believe there are other options to tackle the branch switching that mean I would not use the db migration rollback ddl to support that.

The tendency to use the create-all and drop-all ddl scripts. For most developer and CI testing this approach works well and would be used.

Adding the ability to run/test all the migration scripts via Ebean (without needing Liquibase or FlywayDb).  We can then also get a "create all" via running all the migration scripts for example.

Providing good seed and example data loading mechanisms. An important part of the create-all type strategy for testing.

Transparently using H2 for testing when the target DB is Postgres, MySql, Oracle etc.  To me this works pretty well. Obviously it doesn't cover many raw sql cases and DB specific features so mileage varies. The CI server building Ebean has 2 jobs - one running all tests against H2 and another running all tests against Postgres for example with some tests only running against H2 and some only against Postgres.

I'm open to the idea that the rollback ddl could be useful for the developer branch switching case but right now I don't expect to hit that once the other points above are addressed fully.  If it doesn't work out as planned I might put it back in.
Also to go off topic a little bit, for performance/scaling testing (but unrelated to schema changes) the desire is to:

Providing / collecting good random data population mechanisms for scaling/performance testing

Yes, there are better ways of doing things then what our shop is doing now. We're embarking on a new architecture in parallel with the existing, so hopefully we bring ideas like these along, too. Thanks.

I realise you know the following background Daryl but others won't so to fill in the back story.
"How to test"
In the past Ebean has not made "how to test" as easy or as important as it should be. The priority on this has changed and certainly I have a lot of focus on this area now. We've got some nice little improvements in this "how to test" area in recent times but I'm keen to hear about and push forward any improvements.
DDL Generation
DDL generation was not a top priority for Ebean for quite some time. This is now no longer the case for a number of reasons but effectively we now want Ebean to have first class DDL generation for DB migration and testing purposes.  Actually the DDL generation and DB migration is really good now - I'm very happy with where this is at (a truck load of effort has gone into this).


Blacklist not working correctly

I tried a lot of different regular expressions. It either block every websites of doesn't block any. It only works with examples in tutorial here.
For example: I want to block google ^https://www.google.com not working

Do not add comma at the end of last line. I had the same problem. #306 is a duplicate issue.


UI - View Smart Contract storage

Not required in this version, can be tested using custom login in the SC


Create an overview of friendly organizations and foundations

Create a work document for an overview of foundations, organizations and other working groups to reach out and collab with.
Maybe include also a short description, listen some relevant projects and links.
From there we can decide how and who reaches out to the orgs.

/assign @leonardpahlke


Revert Potemkin to 0.1.0

This merges the latest changes on master and reverts to the latest stable release of potemkin

I have an updated branch. I'll reopen this as soon as I get it up.

I've already got a fix in, but thanks.


Don't decompile default array declarations

Fixes https://github.com/Microsoft/pxt/issues/2811

Needs cherry picking into v0

@riknoll please cherry pick to v0.


Remove Google JavaScript Compiler.jar

Remove Minification Bash Script That Uses Google JavaScript Compiler.jar

Still using the google javascript closure compiler, but it is hidden now.  It is wrapped around a gulp plugin :)

Why didn't you use Uglify2 instead?

@dsmontoya I started with Uglify2 or gulp-minify, but there were a few issues:

minifiying multiple files to a single file was not intuitive and needed gulp-concat.
a copy of the original source was also placed in the dist folder (never figured out what options existed or how they worked to remove it) which might be good behavior, but we haven't discussed it.
The final resulting single concatenated minified file had issues and seemed broke methods like getFlashVersion().

The single pro side was that the minification was slightly better than the google closure compiler.
Since we currently are using the google closure compiler I decided it would be fine to stick with it for now until we can resolve the issues above with gulp-minify.  Also the resources we were able to find for the google closure compiler allowed for easy use with Gulp:

https://developers.google.com/closure/compiler/?hl=en
https://github.com/google/closure-compiler
https://www.npmjs.com/package/google-closure-compiler
https://www.npmjs.com/package/closurecompiler
https://www.npmjs.com/package/gulp-closure-compiler
https://en.wikipedia.org/wiki/Google_Closure_Tools

All that said, if we later could figure out how to get Uglify2 working properly, and it gets us better compression/minification I think we should switch to it immediately :)


Move widgetslabextension -> jupyterlab_widgets/jupyterlab-widgets

For discussion - on pypi, the name is jupyterlab_widgets, on npm it's jupyterlab-widgets. Should these be consistent? It's a bit confusing, but each makes sense in their own ecosystem. Thoughts, @SylvainCorlay, @ellisonbg?

(CC @blink1073, @afshin, @sccolbert too)
We're going to have this pattern a lot, where a python package provides an npm package to the server. Do we strive to have the same names, or convert underscores to dashes, or some other convention to match up the python and npm packages?

In discussion with @blink1073, @afshin, and @blink1073, we decided that having consistency between the package names was more important than respecting npm convention, so an npm package of jupyterlab_widgets it is!

PyPI normalizes underscores to hyphen as well, so pip install jupyterlab-widgets will work. Conda doesn't do this, which causes confusion. Personally, I would be inclined to use hyphen in distribution names everywhere, as that seems to be the more common convention, but we didn't do that for the first round of Jupyter packages.


MaskBits - What happens when I do not provide the Mask?

Hello,
MaskBits is listed with no default value (as expected) but as optional (not expected).
No explanation is given on what happens if the Mask is not provided?

Is it set to 32 or 128 respectively only taken this individual address?
Is it set to 0 to take the whole subnet?

I haven't had an opportunity to try it out, but as it was something that was not clear from reading, I thought I raise regardless.
Thanks,
David

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

ID: 9c6a50ee-08c4-35c7-9bf7-01ab3d606fd1
Version Independent ID: 68a5a8fb-e982-d6ce-c92b-0cc304e9655b
Content: New-CsTenantTrustedIPAddress (SkypeForBusiness)
Content Source: skype/skype-ps/skype/New-CsTenantTrustedIPAddress.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

PS: This entry does not state what it is applicable for... Judging from the word "Tenant" in the Noun, I assume - just like all others it is applicable for Skype Online.
Should this be added to the header?

Hello @DEberhardt David,
the article mentions that

The IP address is in IPv4 format, and the maskbits is set to 32 by default.

https://github.com/MicrosoftDocs/office-docs-powershell/pull/8410

@get-itips


Export with Always Sample Animations by default

Export more reliably correct animation playback for skinned meshes. #558
Users will vastly prefer that their exported content plays back correctly by default. If "Always Sample Animations" is off, there is often only a marginal difference in filesize, but high chance of animations that are completely invalid and rotating/moving in the wrong directions. The exporter should be robust and work correctly by default

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

@emackey @donmccurdy Setting always sample on by default fails the roundtrip because some cubispline animations become linear.
How can we handle that?
I would like to commit this change before end of the week

I added a new "options" file to the test suite, with only one option so far, to turn off sampled animations.  The one morph animation test file has the new option, and all the rest of the files are affected by the new default value to force-sample all their animations.
I did this because I didn't want to lose the test that deeply inspected a morph target animation output buffer, and I didn't want the test to look for a sampled buffer, so, this one test model will continue to not sample its animations, while the rest do.  In general the test suite should probably get upgraded with a lot more options to test a bunch of untested code paths.
This can be merged once the tests pass.


Document API fully

I noticed that parseFile and parseICS weren't in the readme, so I added them.

Thanks.


Feature Request: Add the capability to add name-spaced ChatClient configurations

Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.
Expected Behavior
Just as existing open issues touch on being able to override the underlying HTTP clients for models, there are other configurations such as temperature that would be nice to configure.
Ideally, this could be done using a namespace for each ChatClient in externalized configuration (application.properties/application.yml).
An alternative could be to document the idiomatic way of defining several different ChatClient beans.
Current Behavior
Right now, to override timeouts I've resorted to doing something like the following:
@Bean
public RestClientCustomizer restClientCustomizer() {
    return restClientBuilder -> restClientBuilder
        .requestFactory(ClientHttpRequestFactories.get(
              ClientHttpRequestFactorySettings.DEFAULTS
                  .withConnectTimeout(Duration.ofSeconds(5))
                  .withReadTimeout(Duration.ofSeconds(60))
    ));
}

Context
I've started work on an Agent framework similar to Crew AI using Spring AI and have a need to configure ChatClient on a per-agent basis. This would allow temperature or even different LLM per agent to be defined.

@thesurlydev both the ChatClient API and the ChatModel API lets you pass runtime options to customize settings like model and temperature, using the ChatOptions abstraction. Would that solve your problem?

@ThomasVitale The use case was to be able to inject various ChatClients configured with different LLM implementations or the same LLM but different temperatures, etc. If this is possible now, then please close this issue.

You can use different LLM providers in the same application and define different ChatClient objects for them, or use the specific ChatModel implementation directly.
    @Bean
    @Qualifier("openai")
    ChatClient chatClientOpenAi(OpenAiChatModel openAiChatModel) {
        return ChatClient.builder(openAiChatModel).build();
    }

    @Bean
    @Qualifier("mistral")
    ChatClient chatClientOpenAi(MistralAiChatModel mistralAiChatModel) {
        return ChatClient.builder(mistralAiChatModel).build();
    }

Given a single ChatClient, you can use it to make calls with different models and settings as shown in the following, without the need to define multiple beans.
@RestController
class ChatController {

    private final ChatClient chatClient;

    ChatController(@Qualifier("openai") ChatClient chatClient) {
        this.chatClient = chatClient;
    }

    @GetMapping("/chat")
    String chat(@RequestParam(defaultValue = "What did Gandalf say to the Balrog?") String message) {
        return chatClient
                .prompt()
                .user(message)
                .call()
                .content();
    }

    @GetMapping("/chat/options")
    String chatWithOptions(@RequestParam(defaultValue = "What did Gandalf say to the Balrog?") String message) {
        return chatClient
                .prompt()
                .user(message)
                .options(OpenAiChatOptions.builder()
                        .withModel("gpt-4-turbo")
                        .withTemperature(1.0f)
                        .build())
                .call()
                .content();
    }

}

I hope that helps.

Extremely helpful. Thanks very much


PbHUB: add constructor with I2C addr

This allows to connect multiple PbHUB to the same I2C bus.
Backwards compatible with existing code using only one PbHUB.

nice :+1:
It would be nice to also be able to use PdHUB on different pins (e.g. with M5GO Bottom2).
Implementing a secondary PdHUB::begin( int sdaPin=SDA, int sclPin=SCL ); could solve that.


As soon as a file gets corrupted it shall be detected

Wouldn't it break the determinism principle ?


iOS issue in latest version: FlutterMobileVisionPlugin.h not found

When I integrate the lib into my iOS flutter application, after pub get, on build xCode warn me that
#import "FlutterMobileVisionPlugin.h" is not found inside FlutterMobileVision_2Plugin.m.
Please, change the import to #import "FlutterMobileVision_2Plugin.h".

I just spent hours trying to figure out what was wrong, thank you for this

When I integrate the lib into my iOS flutter application, after pub get, on build xCode warn me that #import "FlutterMobileVisionPlugin.h" is not found inside FlutterMobileVision_2Plugin.m.
Please, change the import to #import "FlutterMobileVision_2Plugin.h".

Thanks


None not in STEERING_HEATER_OPTIONS

Version of the custom_component
v3.13.0
Configuration
Add your logs here.

Describe the bug
I have a 2017 Model X which has the older heated steering wheel which doesn't have auto or multiple levels.  Since the latest update which included a select for the heated steering wheel, I get an error from the integration and numerous sensors are not available.
I added some temporary debug logging as the value of _car.get_heated_steering_wheel_level() seemed to be interesting:
        current_value = self._car.get_heated_steering_wheel_level()
        _LOGGER.debug(f"current_value: {current_value}")

2023-06-14 11:11:03.188 DEBUG (MainThread) [custom_components.tesla_custom.select] current_value: None
Debug log

2023-06-14 10:26:19.720 ERROR (MainThread) [homeassistant.components.select] Error while setting up tesla_custom platform for select
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 312, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 845, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/select/__init__.py", line 147, in state
    if self.current_option is None or self.current_option not in self.options:
  File "/config/custom_components/tesla_custom/select.py", line 235, in current_option
    options_idx = STEERING_HEATER_OPTIONS.index(current_str)
ValueError: None is not in list

Same with my 2017 model S with 3.13.0 integration.
And I lost battery sensor..

@drlauridsen if you comment out line 90 of sensor.py in config/custom_components/tesla_custom and restart HA it will get it working again (but not heated steering wheel control) until it gets fixed properly.
    #entities.append(TeslaCarHeatedSteeringWheel(hass, car, coordinator))

Hi @Megabytemb , What's the best solution for this?  Do you need any info from a 2017 era car to fix?  I'm guessing our selects should just have Off/On or maybe we shouldn't have the select at all?

hmm, if there's a way to identify that you don't have "Auto" that would be good. No idea how though.
for now, I wonder if it could be as simple as returning "None" for the current selection as it can't be determined?
someone wanna try updating the current option code to
    @property
    def current_option(self):
        """Return current heated steering setting."""
        if self._car.is_auto_steering_wheel_heat is True:
            current_str = "Auto"
        else:
            current_value = self._car.get_heated_steering_wheel_level()
            current_str = next(
                (
                    key
                    for key, val in STEERING_HEATER_OPTIONS_MAP.items()
                    if val == current_value
                ),
                None,
            )

        if current_str is None:
            return None

        options_idx = STEERING_HEATER_OPTIONS.index(current_str)

        return STEERING_HEATER_OPTIONS[options_idx]

Same issue for me with battery and steering_wheel_heater

Ok i've created a pull request that hopefully fixed this issue.
I tried to emulate an older model S using tests, so we'll see how we go

@drlauridsen if you comment out line 90 of sensor.py in config/custom_components/tesla_custom and restart HA it will get it working again (but not heated steering wheel control) until it gets fixed properly.
    #entities.append(TeslaCarHeatedSteeringWheel(hass, car, coordinator))

I have the same problem, have a model 3 from 2019 and everything works fine except the battery information that is not showing up at all.
I don’t have that code on sensor.py, is there any other solution yet?
Thanks.


Add ability to read features based on array of FIDs

Counterpart to #12
In order for partitioning / spatial index to be more useful when reading features and their geometries, it will be useful to add an API for reading features based on an ndarray of FIDs.  This is exclusive several other read options:

skip_features
max_features
where
bbox

Resolved by #19


scss-lint always reports "No lints were found" on Windows

Environment and configuration
sass-maven-plugin version 2.22
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: C:\java\apache-maven-3.3.9\bin..
Java version: 1.7.0, vendor: IBM Corporation
Java home: D:\Portal85\AppServer\java_1.7_64\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
java full version JRE 1.7.0 IBM Windows AMD 64 build pwa6470sr9fp30-20160112_01(SR9 FP30)
Microsoft Windows [Version 6.1.7601]

Expected Behavior
The scss-lint task should report the lints it finds or should fail with an error.
Actual Behavior
The scss-lint task only reports "No lints were found" on Windows:
[INFO] Scanning for projects...
[INFO]
[INFO] Using the MultiThreadedBuilder implementation with a thread count of 2
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-lint-test 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- sass-maven-plugin:2.22:scss-lint (default) @ maven-lint-test ---
[INFO] Linting Sass sources in: C:\Users\gpoul\Desktop\sass-maven-plugin-master\sass-maven-plugin-master\src\test\projects\maven-lint-test\src\main\sass
[INFO] Reporting scss lint in: C:\Users\gpoul\Desktop\sass-maven-plugin-master\sass-maven-plugin-master\src\test\projects\maven-lint-test\target\scss-lint.xml
[INFO] No lints were found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.005 s (Wall Clock)
[INFO] Finished at: 2017-02-08T12:28:23+01:00
[INFO] Final Memory: 42M/87M
[INFO] ------------------------------------------------------------------------

On Linux the same thing seems to work fine. I've tested this by using the maven-lint-test project from master and testing it with version 2.22. - The test on Linux was run with an IBM JDK 7 pxa6470sr6-20131015_01(SR6) as well.

ibm java seems not to be publicly available and I don't have a windows machine available so it's hard to impossible to test or reproduce. We only test on oracle java 8 on windows as that is basically the only version that is commonly available (java 7 being eol and having lots of memory problems in the AppVeyor environment that runs the integration tests). I checked the tests that were run on Appveyor at the time this version was tagged and they are green/OK.
You could run maven in debug so you can see what is going on an you may also be able to upgrade the jruby dependency of the plugin. I'm working on a 2.23 snapshot that has updated dependencies, i'll leave a note here when it's available.

I think your AppVeyor tests show the same issue.
If you look at
https://ci.appveyor.com/project/mprins/sass-maven-plugin/build/938-sass-maven-plugin-2.x/job/7ndv9kmg36msnadh#L3119
Shouldn't this report lints to be found?
On Thu, 9 Feb 2017 at 15:07 Mark Prins<EMAIL_ADDRESS>wrote:

ibm java seems not to be publicly available and I don't have a windows
machine available so it's hard to impossible to test or reproduce. We only
test on oracle java 8 on windows as that is basically the only version that
is commonly available (java 7 being eol and having lots of memory problems
in the AppVeyor environment that runs the integration tests). I checked the
tests that were run on Appveyor at the time this version was tagged and
they are green/OK.
You could run maven in debug so you can see what is going on an you may
also be able to upgrade the jruby dependency of the plugin. I'm working on
a 2.23 snapshot that has updated dependencies, i'll leave a note here when
it's available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GeoDienstenCentrum/sass-maven-plugin/issues/146#issuecomment-278650353,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ3Wk-3qDz1BqJagHHieoolT2demk-4ks5rax2rgaJpZM4L7BbK
.

I guess so; seems to be one reported on linux: https://travis-ci.org/GeoDienstenCentrum/sass-maven-plugin/jobs/199913811#L1292.
I've queued/restarted an up-to-date version in https://ci.appveyor.com/project/mprins/sass-maven-plugin/build/job/icmxh62i72xw8jpt
and I'll push out a 2.23-SNAPSHOT  to maven central snapshots  later tonight

I've pushed a 2.23 snapshot you could try, it has updated dependencies see f27d0d1084608cc045502e952ab95d3514893c5a

I just ran a test on Windows with 2.23-SNAPSHOT and IBM JDK and it
completed successfully.
On Sat, 11 Feb 2017 at 12:33 Mark Prins<EMAIL_ADDRESS>wrote:

I've pushed a 2.23 snapshot you could try, it has updated dependencies see
f27d0d1
https://github.com/GeoDienstenCentrum/sass-maven-plugin/commit/f27d0d1084608cc045502e952ab95d3514893c5a
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GeoDienstenCentrum/sass-maven-plugin/issues/146#issuecomment-279138275,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ3WgpGIUURRDQu24Ybt1iPTypK5Jm8ks5rbZyMgaJpZM4L7BbK
.

yeah; I can see in the logfile as well: https://ci.appveyor.com/project/mprins/sass-maven-plugin/build/942-sass-maven-plugin-2.x/job/ki05nq79165x10nh#L3123
Will try and create a release 2.23  this week.


feat(SeachResultsListWidget): add autocomplete and remove suggestions

Fix for https://github.com/nfdi4health/semlookp-widgets/issues/46
I used the AutocompleteWidget as a search bar.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


rxdart 0.21.0

Hopefully this is helpful.
This should be what is needed to update to rxdart 0.21.0.

Thanks man, I really appreciate this.


Properly parse and set PreferredAEADCipherSuites subpacket

In https://github.com/bcgit/bc-java/pull/1410 I apparently forgot to change some places away from PreferredAlgorithms to PreferredAEADCiphersuites.
This PR fixes these cases.

Would you deprecate the current methods and add setPreferredAEADCiphersuites and getPreferredAEADCiphersuites instead? Thanks to the latest GPG role out a lot of people seem to be using AEAD now - I think it's too late to break the API on this one, there's going to be a lot of third party code depending on the current methods.

Sure, I can change that :)

Let me add some more tests for this, so that we can be sure that both methods are not interfering with another.

Closed in favor of #1743


Headers and footers

Consideration of global header & footer elements for:
City of chicago pages
Mayors office
Departmental pages
Service app pages (building license, 311, city services, etc)
Microsites that are off-brand
This card may be broken into two stories.

Mastheads: https://docs.google.com/presentation/d/1vJ_Qe4Q58OVCnMth7QtwHNVx1oXGoAKq_j2JvalUO1g/edit#slide=id.g3c75d76520_1_35


Fix issue #164

This commit should fix Issue #164 . As usual, a test is included.

Hi,
Although this doesn't actually fix #164, since it's not a influxdb-python bug, it still fixes a bug that appears when the response content contains unicode characters. I'm not sure why the last build failed, may be you can take a look at it. Codewise everything looks good to me.
Cheers!

Hello,
Thank you for the PR. It all looks good to me too.
I think @gst it troubleshooting the build issue right now.

The failure has nothing to do with your PR, so I will merge this right now!
Thank you for your contribution :)!


Incomplete Value Type Support in Rust Crates for Deno KV

We are using deno_kv and denokv_proto both crates to interact with Deno KV from Rust. While key types are supported as expected, the available value types in the Rust crates appear to be limited compared to those documented for Deno KV itself.
Official Deno KV Documentation
Supported Value Types
Rust Crate Documentation
Supported Key Types
Supported Value Types
Request
Please consider expanding the value type support in the Rust crates to align with the Deno KV documentation.
If there are specific reasons for the current limitations, please provide clarification and potential workarounds.

I think the list in the Deno kv docs is actually V8 types and documented in Rust as, V8(Vec), but I may be wrong!

KvValue::V8 is being deprecated. KvValue::V8 is how all Javascript values are serialized. As far as Rust denokv crate is concerned, these are opaque Vec<u8> values. If you want to be able to inspect/modify the V8 Javascript objects from Rust, please take a look at https://github.com/denoland/v8_valueserializer (also used in this repo).

KvValue::V8 is being deprecated. KvValue::V8 is how all Javascript values are serialized. As far as Rust denokv crate is concerned, these are opaque Vec<u8> values. If you want to be able to inspect/modify the V8 Javascript objects from Rust, please take a look at https://github.com/denoland/v8_valueserializer (also used in this repo).

@igorzi thank you so much for your help, it's working fine now and KV values are also visible in KV console.
and so i am closing this issue.


Bot: Add the ability to add conditional compat flags

With https://github.com/zwave-js/node-zwave-js/pull/4501 we now have the ability to make compat flags conditional. We should use this in the bot command.

Doesn't come up often enough


Correct the helptext to reference nunjucks

Remove references to nj and update with references to nunjucks

Thanks ! I took care of the line endings a few weeks ago, but this ensures it. Didn't know the gitattributes stuff.


Remove pybindings from stack

pybindings is not used anymore and the fact that we can build it causes confusion.
it has been replaced by the code in src/controller/python using python ctypes.

@Alami-Amine we could also remove third_party/pybind11 as a submodule to speed up the submodule updates a slight bit and save some storage (also very small but at least non-zero)

@Alami-Amine we could also remove third_party/pybind11 as a submodule to speed up the submodule updates a slight bit and save some storage (also very small but at least non-zero)

Done

@mergifyio refresh


Allow mapping string to json in table constraint

Purpose
Fix #13710

@Manuri IMO the proper fix should contain all the inclusive types of json such as number, boolean etc


Updated main entry with index.js

toaster.js doesn't have modules.export so it can't be used as a main entry.
now the import like this doesn't work:
import ngToaster from 'angularjs-toaster'

const main = angular.module('main', [ngToaster]);

Coverage remained the same at 100.0% when pulling d24a1c7d0329c3b8429e071d5312c968b494bf59 on ikryvorotenko:master into 9cebfda56eedfe8fe41e378103b5d7c2e260c961 on jirikavi:master.

@jirikavi any updates on this?

Please merge, it's an easy fix. Right now we have to do import ngToaster from 'angularjs-toaster/index'


seeded the products table and added an image-url column

seeded the products and added the image_url column


throwBetterError logs error to console

Purpose

Ensure that throwBetterError logs an error to the console.
Addresses #304

Approach

Call Ember.Logger.error before throwing Ember.Error.

Test Coverage

Added unit tests for throwBetterError, which I probably should have done in #303, since throwBetterError now has some logic around whether or not to report a selector.
I wasn't sure at first where to put the test for throwBetterErrors, so I reshuffled the tests folders a bit.

Open Questions

[x] Are these changes to the tests folder structure helpful/sensible?
[x] I sort of arbitrarily decided on Ember.Logger.error rather than console.error. It doesn't make much of a difference either way...any reason to prefer one over the other?

About your open questions

Are these changes to the tests folder structure helpful/sensible?
I like the idea of replicating the/addons/ structure inside  in the unit test folder.

I sort of arbitrarily decided on Ember.Logger.error rather than console.error. It doesn't make much of a difference either way...any reason to prefer one over the other?

Let's go with Ember.Logger.error :)

Ready for final review, @san650.

@magistrula looks really nice! Feel free to merge it to master.


Add table level configs.

Table level configs being added for LLC segment commit time and nodictionary columns.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@fa24675). Click here to learn what that means.
The diff coverage is 67.85%.

@@            Coverage Diff            @@
##             master    #1100   +/-   ##
=========================================
  Coverage          ?   67.18%
=========================================
  Files             ?      750
  Lines             ?    35797
  Branches          ?     4574
=========================================
  Hits              ?    24052
  Misses            ?    10143
  Partials          ?     1602

Impacted Files
Coverage Δ

...m/linkedin/pinot/common/utils/CommonConstants.java
38.63% <ø> (ø)

...manager/realtime/HLRealtimeSegmentDataManager.java
76.11% <ø> (ø)

...m/linkedin/pinot/common/config/IndexingConfig.java
61.7% <100%> (ø)

...e/realtime/converter/RealtimeSegmentConverter.java
89.36% <100%> (ø)

...manager/realtime/LLRealtimeSegmentDataManager.java
70.34% <100%> (ø)

...ommon/request/helper/ControllerRequestBuilder.java
89.41% <33.33%> (ø)

.../core/realtime/PinotLLCRealtimeSegmentManager.java
78.98% <45.45%> (ø)

.../helix/core/realtime/SegmentCompletionManager.java
61.7% <80%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa24675...985d3df. Read the comment docs.


Fix panic in access control lookup

When multiple goroutines are spawned per request and access control is checked across multiple contexts there ends up being multiple locks for the same map. The fix is to have the lock instantiated at the same time as the protected map.

https://github.com/rancher/rancher/issues/25790


This doesn't work anymore?

It's importing but not appearing in-game. If I try to import manually I get the following error:

It seems that the problem is not related to the macOS client. So I suggest you to fill the bug in here.
I tried the item sets and I get an error too, so maybe LoL has changed the format...

I am reopening this issue just to say that this is fixed (details in this issue).
Thank you @marklajer for your bug report. Feel free to report any bug by creating a new GitHub issue ;-)
Closing again.


Start dragging crop area by clicking inside it

Is it possible to enable that somehow?
Right now it's possible to drag it only by using "move" icon in the center.

It isn't possible currently unless some code changes are made. The current move icon checks if the touch down point is within a radius. It wouldn't be too hard to change this. The corner drag hit area takes precedence over move area so that shouldn't be a problem regarding corners being dragged. I will have a look at see if there is a clean way of adding this without making the directive too cumbersome.

@AllanBishop actually it's easy to fix if we add OR statement to verification on 801 line and check for newCropTouch is in current bounds coordinates.
Something like...
newCropTouch.x >= bounds.left && newCropTouch.x <= bounds.right && newCropTouch.y >= bounds.top && newCropTouch.y <= bounds.bottom


Bump elasticsearch version to 7.9.1 and release version to <IP_ADDRESS>

Description of changes:
Update OpenDistro version to <IP_ADDRESS> and elasticsearch dependency to 7.9.1.
Testing:
Ran OPENDISTRO_SECURITY_TEST_OPENSSL_OPT=true mvn -B test (same as what the ci workflow does).
Test results: Tests run: 926, Failures: 0, Errors: 0, Skipped: 28
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please split into 2 commits. See #661 and #671

Sure, no problem. I'll update this one to be just the elasticsearch bump and create a new PR for the plugin version change.


Using sqlite3 with react and typescript

Hi, I've been trying to make sqlite3 work on the react-typescript example ((link)) and it doesn't seem to work, have any of you tried anything similar?
The steps to reproduce are as follows.

First, add a postinstall step in package.json:

"scripts": {
   "postinstall": "install-app-deps"
   ...
}

Install sqlite3 and builder

npm install --save-dev electron-builder
npm install --save sqlite3
npm run postinstall

Add these lines to src/main/index.ts

import sqlite3 from "sqlite3";
console.log(sqlite3);

npm run dev

And then it throws the error:
[17:24:40] [@snowpack/plugin-typescript] 4:23:40 PM - Starting compilation in watch mode...
[electron] App threw an error during load
(...)
[electron] A JavaScript error occurred in the main process
Uncaught Exception:
Error: package.json does not exist at /opt/electron-snowpack/examples/react-typescript/dist/package.json
    at Object.exports2.find (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:10559:15)
    at node_modules/sqlite3/lib/sqlite3-binding.js (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:10778:31)
    at __require (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:9:44)
    at node_modules/sqlite3/lib/sqlite3.js (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:10828:20)
    at __require (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:9:44)
    at Object.<anonymous> (/opt/electron-snowpack/examples/react-typescript/dist/main/index.js:11000:33)
    at Module._compile (internal/modules/cjs/loader.js:1078:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)

Thanks in advance.

Hey, if this is still of interest to you, could you provide a bare-bones reproduction repository?


Move to Go 1.6

This PR moves the peer to Go 1.6. For issue https://github.com/openblockchain/obc-dev-env/issues/37

Signed-off-by<EMAIL_ADDRESS>


fix autocall+peer pairing client logic

Checklist
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[x] Title of the pull request is clear and informative.
[x] If applicable, the code is properly documented.
[ ] The code builds without any errors.
[ ] All unit and integration tests pass.

Description
This makes some enhancements to harden our multi-peer joining/handling logic as found while debugging support for multi-peer + autocall + pairing (on signaling server side). There should be no issue with backward compat as this just hardens edge scenarios.
Related Issues and PRs
https://github.com/3DStreamingToolkit/cloud-deploy/issues/20

does...does vsts not run when it's from another repo?

abandoning for #274


Libwebsockets: be able to set an interface or ip address to connect to.

OCPP Version
OCPP1.6, OCPP2.0.1
Describe the problem
For the network connection profiles refactoring (issue #408), we want to be able to set an interface the websocket has to use to connect to. It should be able to set an interface or the ip address of the interface. It is possible an interface has two ip addresses (one link local and one 'normal' ip address) so it must be possible to set the ip address the websocket needs to connect to. Also, if you do nothing, the websocket library might just choose to use for example the wired interface to connect while you want to connect via the modem.
So the feature request is to make sure it is possible to set an ip address of in interface which the websocket will use to connect to the backoffice.
Describe your solution
In libwebsockets, in the lws_context_creation_info struct, you can set the iface, which can be an ip address or the interface name. It is available when LWS_WITH_NETWORK is defined. However, if you only set this iface, it seems the websocket still connects via another interface (tested with a network connection profile set to a modem with a local ip address that is not available via the outside world, so it should not be able to connect in that case). According to the documentation, we should set bind_iface in the same struct to 1 to make this work (this should call setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, vhost->iface, (socklen_t)strlen(vhost->iface), found in unix-sockets.c). However, if I try that, the websocket can not connect with the backend at all anymore. I did not find out why yet.
Additional context
No response

It looks like setsockopt (SO_BINDTODEVICE) does not work with an ip address, so I think we should not set that either. It is unclear to me why setting the ip address in iface does not work, because I think it uses the 'bind' call underwater, which should just work.

I see there are two 'iface' definitions, one in 'lws_client_connect_info' and one in 'lws_context_creation_info'. Will start looking into the issue with both IP binding and interface name binding.
Note: as per some posts, the 'SO_BINDTODEVICE' requires elevated permissions and must be supported by the OS.
Note2: CAP_NET_RAW capability is also required


[gdb coordinator] Fix race condition between console and OpenOCD

A previous commit introduce a one second delay between the start of the console, and the start of OpenOCD, to prevent interference when opentitantool reconfigures GPIOs as part of the init when starting the console. This commit makes this fix more robust by replacing the fixed delay with a proper sync. We wait until opentitantool prints a specific message indicating that it is ready. This message occurs after the GPIO reconfiguration which ensures proper synchronization.

This should close #18087

LGTM, it would be good if someone can test this.

@marnovandermaas This should be exercised by CI's "Experimental CW310 ROM JTAG Tests". But we need to explicitly check the results because they are non-fatal to the CI run.

Just FYI, once this goes in, I will be making the JTAG CI tests blocking.

I will let the CI finish its run before I push an update that will fix the commit line length and the comment in the file.


Add x value to prometheus tooltips

Description
Add x value to prometheus tooltips
Related issue(s)
Resolves #1207

/test pre-busola-integration-test-k3s-namespace


Using Pjax Map is not displaying

on using Pjax map is not displaying. On page load map is displaying but not pjax

        <?= \yii\bootstrap\Html::a("Refresh", ['dashboard/trip-info?trip_id='.$tripInfo->ietms_trip_id], ['class' => 'btn btn-lg btn-success', 'id' => 'refreshButton']) ?>
        <?= $map->display();?>

    <?php
    \yii\widgets\Pjax::end();
    ?>

why would you use Pjax with Google Maps?

I have the same problem. Any solutions??

@tonydspaniard I want to use Pjax with google maps because i have to update the marker dynamically. so i'm using pjax to get the latest lat and lng from database.
Thanks
Kathiresan S

@rihtak a better solution would be to bind a js function and use ajax to update the marker dynamically if you have to. pjax is too much magic IMHO and I doubt will work smoothly with google maps js core library and its layers.

Thanks for your suggestion @tonydspaniard

@tonydspaniard Running a big project where we are using pjax, we are adding Google MAPs to some off our features. You mean we need to stop using pax then?

@JfrA I am not suggesting not to use pJax. Maybe is good in some areas of your app, maybe in all of them. The problem with google maps is that you will need to hack its display on each reload where google maps is displayed (if its part of a Pjax'ed content, happens the same when you work with hidden layers (you need to force resize of the map to display it) or you use a modal window (it simply doesn't show, you need to reinitialize the map after modal is shown)). If you simply need to update the google maps, why bother over-complicating stuff, let it run and make your operations using ajax calls your self instead of the magic of Pjax.
If you are concerned about keeping history you can do it also your self without the need of pjax, by injecting the steps on the history and parse the url to display the correct step on the map.

@tonydspaniard forcing resize does not do the trick.. Maybe explain the problem we are having.. when loading the page witch contains a Google MAP it works flawless throughout alla page loads to or from that page using pjax. however if we start with loading for example index which does not include a map and navigating to the page witch includes the map, the google api is loaded but map never shows.. you have an idea how to fix that?

you will have to work with the events of pjax and re-initiate the map. Try that with pjax:completeevent.

@tonydspaniard Yes that i know, are re-initing it for all page views.. but the the thing is if the dom and the api is on the initial page load it works fine browsing to or from with pjax: end/complete... but if the map canvas and the api is not on the initial load e.g. index and from then load in google maps it will not render. tried resizing it, tried to load through another xhr, nothing works..

@JfrA can you share some of the code?

@tonydspaniard :
$(document).on('ready pjax:end', function() {
WhenGoogleLoadedDo(mapMyReadyFN);
}
// Just to be sure..
function WhenGoogleLoadedDo(fnt) {
if(typeof google != 'undefined') {
mapMyMap=null;
fnt();
google.maps.event.trigger(mapMyMap,'resize');
} else {
setTimeout(function(){(function(fnt) {
WhenGoogleLoadedDo(fnt)
})(fnt)}, 500);
}
}
function mapMyReadyFN() {
if(mapMyMap===null) mapMyInitMap();
// Adding some infoWindows n markers....
}
function mapMyInitMap() {
mapMyMap = new google.maps.Map(document.getElementById('mapMyMap'), {
center: {lat: 59.918570, lng: 10.772751},
zoom: 15,
mapTypeId: 'hybrid'
});
}

There is something strange on your code. Why you checking for google only? shouldn't you check whether the element where the map should be rendered exists too? What happens if your mapMyMap doesn't exist? That could be the issue.
On another note, i would place some console.log stuff in your code.

@tonydspaniard the mapMyMap exist that i know. Se if i can explain better: when refreshing browser on e.g. map.html it loads fine and i can go to index.html and back to map.html still works fine.
But when i refresh browser at index.html and then go to map.html it will not render, the canvas is there and the api is loaded but nothing displays..

@tonydspaniard I actually got it working now. Found that pjax didn't load inline style ref.. should have found that without having to write here.. but thanks for you're effort to help!

Glad you finally got it working. I feel I couldn't do much anyway. It always a pleasure. Good luck with your project.

this is view page in yii2 i want to display map(my location) in Location.thanks advance :)

to be able to help a next person I need to leave my code that I implemented
var initFollowProcessByStateMap = function () {
  $("#follow-process-by-state-map").change(function () {
    $("#country-form").submit();
  })
}

var initClickPeriodo = function () {
  $("#acompanhar-processos-por-gestao,#acompanhar-processos-por-estado").change(function () {
    $("#periodo").submit();
  })
}

function loadProcessMapsStates(fnt) {
  if (typeof google != 'undefined') {
    drawRegionsMap = null;
    fnt();
    if (google.maps)
      google.maps.event.trigger(drawRegionsMap, 'resize');
  } else {
    setTimeout(function () {
      (function (fnt) {
        loadProcessMapsStates(fnt)
      })(fnt)
    }, 500);
  }
}

function mapProcessReadyFN() {
  if (drawRegionsMap === null) mapProcessInitMap();
  // Adding some infoWindows n markers....
}

function mapProcessInitMap() {
  google.load('visualization', '1', {
    'packages': ['geochart', 'table']
  });

  var drawRegionsMap = function () {
    var data = google.visualization.arrayToDataTable(teste1);

    var view = new google.visualization.DataView(data)
    view.setColumns([0, 1])

    var options = {
      region: 'BR',
      resolution: 'provinces'
    };

    var chart = new google.visualization.GeoChart(document.getElementById('chart_div'));
    chart.draw(data, options);

    var geochart = new google.visualization.GeoChart(document.getElementById('chart_div'));
    var options = {
      region: 'BR',
      resolution: 'provinces',
      legend: {
        position: 'top',
        alignment: 'center',
        maxLines: 1
      },
      keepAspectRatio: false,
      colorAxis: {
        colors: ['blue', 'green', 'red'],
        minValue: 0,
        maxValue: 2
      } // orange to blue
    };
    google.visualization.events.addListener(geochart, 'regionClick', function (eventData) {
      // maybe you want to change the data table here...
      options['region'] = eventData.region;
      options['resolution'] = 'provinces';
      options['displayMode'] = 'markers';

      var data = google.visualization.arrayToDataTable(teste2);

      geochart.draw(data, options);
      var table = new google.visualization.Table(document.getElementById('table'));
      table.draw(data, null);
    });
    geochart.draw(data, options);
  };

  google.setOnLoadCallback(drawRegionsMap);
}

initClickPeriodo();
initFollowProcessByStateMap();

$(document).on('ready pjax:end', function (event) {
  console.log(event.target.id);
  if (event.target.id == 'type-person') {
    initClickPeriodo();
  }

  if (event.target.id == 'country') {
    initFollowProcessByStateMap();
    loadProcessMapsStates(mapProcessReadyFN);
  }
})

$(document).ready(function () {
  $.pjax.reload({
    container: "#type-person"
  })
  $.pjax.reload({
    container: "#country"
  })
  loadProcessMapsStates(mapProcessReadyFN);
})


Bugfix/Hotfix: Nullpointer when no Reports are Present

After Deleting all Reports the Overview will throw an Nullpointer
Bugs are Existent, but no Reports (Delete Reports by Version)
acrarium    | java.lang.NullPointerException: null cannot be cast to non-null type java.sql.Timestamp
acrarium    | 	at com.faendir.acra.dataprovider.BugDataProvider.fetch(BugDataProvider.kt:61) ~[classes/:na]
acrarium    | 	at com.faendir.acra.dataprovider.AcrariumDataProvider.fetchFromBackEnd(AcrariumDataProvider.kt:11) ~[classes/:na]
acrarium    | 	at com.vaadin.flow.data.provider.AbstractBackEndDataProvider.fetch(AbstractBackEndDataProvider.java:61) ~[flow-data-23.2.3.jar:23.2.3]

I have seen this PR but I'm currently in the progress of replacing the whole backend (follow along at https://github.com/F43nd1r/Acrarium/tree/next) I probably won't merge this

Yeh, it's more a hotfix, not a real fix.
So it's fine that this one get's dropped.
Looking forward to see the new backend...
Am 13. Dezember 2022 21:22:28 MEZ schrieb F43nd1r @.***>:

I have seen this PR but I'm currently in the progress of replacing the whole backend (follow along at https://github.com/F43nd1r/Acrarium/tree/next) I probably won't merge this
--
Reply to this email directly or view it on GitHub:
https://github.com/F43nd1r/Acrarium/pull/393#issuecomment-1349636924
You are receiving this because you authored the thread.
Message ID: @.***>
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.


[Fix #10763] Fix a false positive for Layout/LineContinuationSpacing

Fixes #10763.
This PR fixes a false positive for Layout/LineContinuationSpacing when using continuation keyword \ after __END__.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks for tackling this! I guess at some point we should make sure no cops process anything in the data section. I keep forgetting this exists. :-)


cms-buildproject-frontend failure

I have deployed the full install stack in US-EAST-1 and when the code pipeline runs the build stage for the frontend it fails when trying to describe a stack in EU-CENTRAL-1 for some reason (not the region my stack was deployed).
[Container] 2020/07/01 13:33:34 Command did not exit successfully aws cloudformation describe-stacks --region eu-central-1 --stack-name ${STACKNAME} > ./frontend/stackinfo.json exit status 255
I have checked the environment variables and region is set to us-east-1.

Hi and thank you very much for reporting this!
Will be fixed asap to use the proper region in the buildspec file.
greetings from region eu-central-1 :)

Ok, fixed and tested in us-east-1. If your codepipeline is still intact, trigger a "release change" and it should pick up the updated codebase. Thanks again for reporting this and hope you enjoy CloudeeCMS!


cranelift-codegen: Rename abi::Caller to abi::CallSite

Will be less confusing since each call site has both a caller and a callee.

Oh merge queue is configured for merge instead of squash right now so I'm going to bump this out while pat lands https://github.com/bytecodealliance/wasmtime/pull/6391


[DataProtection] Changelog Updates

Summary
The focus of these changes is to add the recent community contribution feature to the change log, along with attribution.
References and Related

Allow use of ServiceProvider func to create BlobClient for PersistKeysToAzureBlobStorage (#33455)
Allow use of ServiceProvider func to create KeyResolver for ProtectKeysWithAzureKeyVault (#33454)

API change check
API changes are not detected in this pull request.

/check-enforcer evaluate


rename node-pre-gyp module_name

Right now the module_name for node-pre-gyp is "binding"
However if you want to provide your own custom hosted binaries, it depends on "module_name". Thus "module_name" should be something like "bluetooth-hci-socket"
That would be awesome!

@farfromrefug please submit a pull request for this.

a PR that includes that change is here https://github.com/noble/node-bluetooth-hci-socket/pull/87

Oh sorry, I totally missed the PR already submitted by you!

Is this issue relevant in this release:
<EMAIL_ADDRESS>

Feel free to comment this related ticket:
https://github.com/abandonware/node-bluetooth-hci-socket/issues/9

Feel free to comment this related ticket:
https://github.com/abandonware/node-bluetooth-hci-socket/issues/9

May you forward your ticket to downstream version:
https://github.com/noble/node-bluetooth-hci-socket/issues/123