DropdownButtonFormField with items: null contains an odd padding on the hintText

This:
DropdownButtonFormField(
  value: null,
  items: ["cookies", "ice cream", "soda"].map((it) {
    return DropdownMenuItem(
      child: Text(it),
      value: it,
    );
  }).toList(),
  decoration: InputDecoration.collapsed(
    border: OutlineInputBorder(),
    hintText: "food",
  ),
)

Looks like:

However, this:
DropdownButtonFormField(
  value: null,
  items: null,
  decoration: InputDecoration.collapsed(
    border: OutlineInputBorder(),
    hintText: "food",
  ),
)

Looks like:

Is it possible to remove the weird space between the border and hintText?

 $ flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.4 18E226, locale en)
    • Flutter version 1.2.1 at /Users/dev/Tools/flutter
    • Framework revision 8661d8aecd (10 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/dev/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Users/dev/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/182.5314842/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.7.0.beta.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Users/dev/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/182.5314842/Android Studio.app/Contents
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 5.0.2 (API 21) (emulator)

• No issues found!

same issue for us, any solution?

Issue still exist
Code Sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Material App Bar'),
        ),
        body: Center(
          child: DropdownButtonFormField(
            value: null,
            items: null,
            decoration: InputDecoration.collapsed(
              border: OutlineInputBorder(),
              hintText: "food",
            ),
            onChanged: (Null value) {},
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.18.0 at /Users/taha/Code/flutter_dev
    • Framework revision 8f7327f83a (31 hours ago), 2020-04-06 22:11:01 -0400
    • Engine revision 49891e0653
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.4 19E266
    • Chrome     • chrome           • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server • web-server       • web-javascript • Flutter Tools
• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (3 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • iPhone 12 (mobile) • 12D8FF8E-2815-436E-9951-B8A6A42E4ACF • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.157, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.157 at /Users/tahatesser/Code/flutter_master
    • Framework revision 4b83be6c23 (7 hours ago), 2020-12-30 02:09:03 -0500
    • Engine revision 0e5a25d779
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • 12D8FF8E-2815-436E-9951-B8A6A42E4ACF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (3 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • iPhone 12 (mobile) • 12D8FF8E-2815-436E-9951-B8A6A42E4ACF • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.1.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 8f89f6505b (2 weeks ago), 2020-12-15 15:07:52 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (2 available)
    • iPhone 12 (mobile) • 12D8FF8E-2815-436E-9951-B8A6A42E4ACF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

[✓] Flutter (Channel master, 1.26.0-2.0.pre.157, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.157 at /Users/tahatesser/Code/flutter_master
    • Framework revision 4b83be6c23 (7 hours ago), 2020-12-30 02:09:03 -0500
    • Engine revision 0e5a25d779
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • 12D8FF8E-2815-436E-9951-B8A6A42E4ACF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

Hi!
As https://github.com/flutter/flutter/issues/31555#issuecomment-527075168, you don't need to provide hint text in the decoration
DropdownButton/DropdownButtonFormField have hint and disabledHint parameters
You don't get double hint placeholders if you provided parameters, closing as solved.


Return Promise after population of an instance

Hi,
First, thank you for your plugin, it is very useful !
I'm actualy using the Mongoose method Document.populate().execPopulate() to get a Promise after the population of an instance of my model and I was wondering if there is a way to have a similar workflow with your Plugin.
Have you got a sort of Document.deepPopulate().execPopulate() to get a Promise after the population of an instance of a model ?

Use exec().

I tried but exec() only works with a Query, not an instance of a Model.
With the post model in the examples provided in the documentation, my problem is this:
post.deepPopulate('comments.user').exec().then(populatedPost => res.json(populatedPost));
// => TypeError: Cannot read property 'exec' of undefined

post.deepPopulate('comments.user').execPopulate().then(populatedPost => res.json(populatedPost));
// => TypeError: Cannot read property 'execPopulate' of undefined

Done. Just published v3. Let me know if it meets your need.

It works perfectly :ok_hand:
Thank you very much for your great work


Add an option to configure videoMaximumDuration for file input capture on iOS

Is your feature request related to a problem? If so, Please describe.
I've noticed that when opening an html file input inside a WebView on iOS and selecting "capture" to record video, a limit of 10 minutes is imposed on the recording. Looking into it, it seems like this is the default value for videoMaximumDuration on the native UIImagePickerController.: https://developer.apple.com/documentation/uikit/uiimagepickercontroller/1619146-videomaximumduration
Describe the solutions you came up with
It would be great to be able to configure this value or remove the restriction for the WebView, since 10 minutes seems very arbitrary and users of my app are already complaining about it.
Is this something I can control in my app, or is it something that would need to be configured through react-native-webview? Or is it something controlled by Safari for the WebView?
Thanks!

Turns out the same issue happens in Mobile Safari, so I doubt it can be configured through the WebView...

@gyoung-panopto hi,
can you please tell how recording is working for you on webview? as I'm unable to record.

On the page inside the WebView, we have an html input with type="file". If we set the "accept" flag to only video formats, when the user opens the file input the device will natively give options for choosing a video from the camera roll or capturing a video from the camera.


PDF downloadable version of Documentation for commute reading

Feature Request for PDF downloadable version of documentation and manuals for offline reading on the daily commute.

Too challenging with Hugo currently. Closing issue.


Method is not a member of Moya

There is this error at this part of the extension that is in example.mp
var method: Moya.Method {
        // all requests in this example will use GET.  Usually you would switch
        // on the enum, like we did in `var path: String`
        return .GET
    }

'Method' is not a member of Moya
Any help?
And seperately, Can I use Moya with Heimdller? As I understand Moya can make requests and using Alamofire for this. But I found Heimdller and the author claims that Heimdller can refresh tokens by itself. I have issues with task in Alamofire. This is whay I am asking this.

Solved the main question. A simple mistake. But second question is still valid

Hey! Thank you for reporting an issue!. 🎉
With your problem could you please provide what was the case and how you have repaired it? It might be useful for other people in the future ✌
And about Heimdller, I didn't really play with that, but what I can tell you is that Moya relies on Alamofire in its core. If you want to use Heimdller instead of Alamofire, you would need to create your own version of Moya and replace the Alamofire code in requests etc. But you can try using endpointClosure to add additional parameters based on Heimdller. There is an example here, that adds auth token to your request. Hope it helps! 😉

Thank you for the information. Alamofire is brilliant framework I know that. But like I said, I am not able to handle 401 http code and I don't know iOS development to solve it. The reason why I want to use Heimdallr is the author of it claims that the Heimdallr will handle it by itself.
However I will consider your suggestion. Time will show me how I am gonna do :)
And about the first question. Before using Moya it turned out I had created a class and called it 'Moya'. When the code tried to reach Moya.Method, it threw an error because the class which I called 'Moya' had not a member called Method. So It wasn't about the actual Moya. :)

I think we can close this one as well, if anything pops out, let us know @mrfarukturgut!


Python 2 and 3

Hi, sorry for the long reaction time. I just noticed that there were pull requests recently. One quick question: Why was there the 'str_or_bytes' function necessary? Is it critical for supporting python3? Or is it just to make the code 'nicer'? Thanks, K.

Yes, it is, because of the handling of strings in python3. I couldn't find a more "elegant" way of making it work for python3 while keeping it backward compatible.

In Python2, the following lines can be used to write a binary matrix to the output stream:
import numpy as np
import sys
x = np.random.randn(10,10)
x.tofile(sys.stdout)

It works fine, but in Python3, there was a significant change in the writing structure ( and for some reason also for the numpy.tofile ). tofile now only accepts files, not stdout.
A very simple fix to your code would be to replace every m.tofile(fd,sep='') with a 'fd.write(m.tobytes())'.

Okay, I see... Have you also tried x.tofile('/dev/stdout')? This could be a 'hacky' work-around, but your solution is probably better :) Thanks, K.

Hi,
could you please take a look at the new branch:
https://github.com/vesis84/kaldi-io-for-python/tree/py2py3
I incorporated your suggestion: 'tofile -> write',
and also extended the compatibility for pythons 2 / 3.
Could both of you test it, please? (after that I'll merge it into 'master')
(to me it seemed a little slower, but not drastically)
Thank you, Karel.

Sorry for the later response, but your new branch py2py3 is only for python3 is that right?

Aha, seems like I need to extend the unit test also for writing ;) Thanks! K.

Hi,
I updated the branch 'py2py3'. Can you please test it again?
Now it should be compatible both with python2.x and python3.x
(there is a new unit test for validating the I/O by 'read->write->read' of vectors and matrices).
Finally I decided to fix the type mismatch in python3 (the 'str' / 'byte' arrays),
by placing the '.encode(), .decode()' calls which is a no-op in python 2.x,
as it converts 'a string into same string'...
Thanks, Karel.

Small note: Please change the test data output directory
with kaldi_io.open_or_fd('data_re-saved/ali.ark','wb') as f:

to:
with kaldi_io.open_or_fd('data/ali.ark','wb') as f:

Aha, I did not notice that the empty folder was not in the repo... This is easy to fix. Thanks for the helping, I'll merge it into the master now...
K.

Hi Karel and Richel,
I have been running some tests and I couldn't notice a speed difference. I like the .encode() .decode() approach. I didn't know it was a no-op on python2. Thanks for this commit.
Best,
Angel

Actually, the purpose of having '.encode()', '.decode()' methods is to change the encoding of strings (https://www.tutorialspoint.com/python/string_decode.htm) And if the encoding is kept to be the deafult, it does what we needed, it does nothing in python2...
Best, Karel


xcbuild: find system toolchain on macOS Sonoma and earlier

This fixes #353893 to work on macOS Sonoma and earlier. #353893 looks for the native toolchain in /private/var/select/developer_dir. This works on Sequoia, but it doesn't on previous macOS releases. To make it work on Sonoma, /private/var/db/xcode_select_link would have to be searched too.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/error-tool-gcc-not-found-on-macos-14-7-1-with-m3/56238/8

Hi there, in which version of nix will it be fixed? 24.11-beta?


What is allocated?

The description says that this library never allocates more memory than it needs. That's nice but what is needed? Other JSON parser libs make explicit statements about whether they allocate any memory for the parsed data. This one looks like it needs to allocate memory for all parsed values, including all strings (providing a zero-terminated copy) and also those object keys that I'm not interested in. I'm looking for a JSON parser to use on an ESP32 microcontroller in conjunction with MQTT and WiFi. There is some RAM available but I'd like to keep its use for this task to a minimum.
I don't need the original JSON string anymore after parsing, so destroying it and providing pointers into it would be fine with me (adding terminating zero and shifting backslash sequences in-place).
If that's not supported, would I be able to prevent running out of memory by limiting the accepted JSON string length so something reasonable for my application?

Not allocating more than it needs refers to how the library has a two pass approach where it measures the JSON object first, and then allocates exactly enough memory to represent it. This is in contrast to how many other parsers allocate buffers of some initial size and grow them (often to a greater size than needed) in one pass while parsing.
However, json-parser is fundamentally a DOM-style parser which puts everything into structs, rather than a SAX style parser which would allocate nothing and give you callbacks as it iterates through the JSON. If you are (a) extremely memory constrained and (b) don't want to load everything, you would probably be better off with a SAX style parser. I don't know the names of any off the top of my head but there are for sure plenty out there.

I don't need the original JSON string anymore after parsing, so destroying it and providing pointers into it would be fine with me (adding terminating zero and shifting backslash sequences in-place).

json-parser copies strings, which is necessary to handle unicode properly. However, this does mean you are free to get rid of the input string after parsing.

If that's not supported, would I be able to prevent running out of memory by limiting the accepted JSON string length so something reasonable for my application?

You can set the max_memory setting to set a maximum amount of memory used by the entire output structure. It's part of the json_settings struct which you can pass to json_parse_ex.
You could also allocate a fixed buffer and provide a custom allocator (mem_alloc) which indexes into that buffer.
You could also traverse the DOM structure, get what you want, and then free it. But it's all a tradeoff CPU for memory and I assume you are probably quite CPU strained on a microcontroller, so if parsing is a bottleneck then again you might be better with SAX.


clight nixos module fails when location.latitude is not set with unclear error message

Describe the bug
Enabling clight nixos service without having location.latitude or location.longitude fails with error: The option location.latitude' is used but not defined.` which is not clear that it's referring to a nixos option and not related to the module.
I can see we have the following assertion in the module that might have a bug:
    assertions = let
      inRange = v: l: r: v >= l && v <= r;
    in [
      { assertion = config.location.provider == "manual" ->
          inRange config.location.latitude (-90) 90 && inRange config.location.longitude (-180) 180;
        message = "You must specify a valid latitude and longitude if manually providing location"; }
    ];

Steps To Reproduce
Steps to reproduce the behavior:

Enable clight service in a nixos machine without location set
Run nixos-rebuild switch

Expected behavior
A clear error message pointing to modules/config/locale.nix so it's clear that it depends on another nixos configuration value.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.58, NixOS, 22.05 (Quokka), 22.05.20220809.490f617`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Is this the same issue as this?

#83923


Update packages for vfx2021

Added a few more yum packages and arguments for Qt configuration with from Autodesk's help.
Now working with openssl-1.1.1.
FYI @Simran-B
BTW I still need to update the changelogs, no point approving yet...

Thanks! I'll leave this un-merged for the holiday as I'm away and it would be foolish to release and then leave!

I was going to start releasing new packages but realised that quite a few packages are behind, so I updated them and I'm waiting for some guidance to update non-vfx-platform packages as well. Happy to hear from @lgritz about that!
Once I have these in place I'll test the builds and upload to aswftesting and update the changelog...

I was going to start releasing new packages but realised that quite a few packages are behind, so I updated them and I'm waiting for some guidance to update non-vfx-platform packages as well. Happy to hear from @lgritz about that!
Once I have these in place I'll test the builds and upload to aswftesting and update the changelog...

Looks like pybind11 is now required to build OpenImageIO, I need to sort out a couple of related build failures before this PR can be merged...

Looks like pybind11 is now required to build OpenImageIO, I need to sort out a couple of related build failures before this PR can be merged...

When this is resolved, then I can re-test #95 and #96 with Docker on Windows using Linux containers.

When this is resolved, then I can re-test #95 and #96 with Docker on Windows using Linux containers.


DRY up trait naming

See #193 - we've duplicated some logic.

Use the pattern at https://github.com/pi-base/web/blob/9ae41f2cd90163ff2761a31b3710cacec8b3c7fd/packages/viewer/src/models/Theorem.ts#L51


{Draft}{POC}{AKS} Troubleshooting command line tool

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

az aks debug
General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.


Website: Use Cases - Insurance landing page revamp

Deployed my updates to dev environment here. Will continue work on revisions

Working on some revisions:

Add GA to the Features component - Integrated Analytics
Remove Free trial CTA (section) from Insurance Landing Page
Add optional fields in Demo Section in Insurance Page


Digital Address Book

You are now blessed with Open Source Super Powers!

@all-contributors please add @ShahSomething  for code


fix componentWillMount  deprecation warning in react 16.9.0

fix componentWillMount  deprecation warning in react 16.9.0

Merged, thanks. Will release an update later today.

@salvoravida published in v3.1.5, thanks again!


Issues while deploying on heroku

Hi, I was using the click to deploy button below and it gave this error
-----> Installing Dependencies using /tmp/build_56938d30a27dd84cca915e0c8f940181/environments/default.yml
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies.  Conda may not use the correct pip to install your packages, and they may end up in the wrong place.  Please add an explicit pip dependency.  I'm adding one for you, but still nagging you.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
ResolvePackageNotFound:
  - notebook=4
 !     Push rejected, failed to compile Python app.
 !     Push failed

Same for me.

I Fixed this btw by specifying the version of notebook==5 but ran into different problems of pgcontents or something later after installation when trying to run the jupyter

Same for me.

@haseebehsan Thanks, I actually found your fork last night. I had to change the IP to <IP_ADDRESS> and then had a successful deploy, but am also hitting issues with pgcontents that I still need to dig into. I'll keep a eye on your fork. Thanks.

I might not work on it this week but if you find any solution, do let me know too, I really need to install this.

@haseebehsan Thanks, I actually found your fork last night. I had to change the IP to <IP_ADDRESS> and then had a successful deploy, but am also hitting issues with pgcontents that I still need to dig into. I'll keep a eye on your fork. Thanks.

I tried adding an alternative environment (environments/latest.yml) without any version binding.
Still initial setup of the database fails
psycopg2.errors.UndefinedObject: constraint "directories_parent_user_id_fkey" of relation "directories" does not exist
This might be a pgcontents bug: https://github.com/quantopian/pgcontents/issues/74

I do not find a valid environment.yml

pgcontents 0.6.0 will not initialized properly
pgcontents 0.5.3 needs notebook = 4 (IPython = 5), which is not available anymore

@pl31 @haseebehsan yes, this is how far I got as well. Thanks for looking at it. If I find a solution, I'll post it here. I agree, it appears to be a pgcontents 0.6.0 bug that prevents initialization. I'm tempted to sift through the code to find the initialization SQL query and then initialize the db manually to see if this fixes it.

Any updates? Im having the same issue

@pl31 any leads, yet?

I tried to deploy "latest.yml". Installation works fine, starting results in an error:
2020-10-15T17:16:25.617615+00:00 app[web.1]: sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "pgcontents.users" does not exist
2020-10-15T17:16:25.617616+00:00 app[web.1]: LINE 1: INSERT INTO pgcontents.users (id) VALUES ('heroku')

There is a similar case here: https://github.com/quantopian/pgcontents/issues/75
So, no stable and running configuration, yet.


alacritty: Correct xdg-open behavior

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Looks like git is broken right now.

Eh, that's fine. I built it locally and it works great :)


Test CI pipeline

Testing CI Pipeline and adding commenting codebase

Testing out how to add opcodes by referencing an existing PR in the master repo


bug on files

Before you start...

[X] Have you refreshed the page? You might be using an old version of the site.
[X] Have you checked for an existing issue on this topic? If there is one, post a comment on it instead.

What browsers are you seeing the problem on?
Chrome
Description
I can't scroll, Why
Steps To Reproduce
open files
go to any folder
can't scroll
Expected behavior
maybe the new update
Relevant Assets
no screenshots

This is the repo for the website, not the app. Please open the issue again in https://github.com/files-community/files.


m.weight.data.normal_(0, math.sqrt(2. / n)) what does it mean?

@zhang405744522
It is weight initialization.
Please refer to
Kaiming He 2015 paper

Can anyone please tell me , how can I initialize  it in keras

    for m in self.modules():
        if isinstance(m, nn.Conv2d):
            n = m.kernel_size[0] * m.kernel_size[1] * m.out_channels
            m.weight.data.normal_(0, math.sqrt(2. / n))
        elif isinstance(m, nn.BatchNorm2d):
            m.weight.data.fill_(1)
            m.bias.data.zero_()


PermissionError on start

Installed bundle with package manager.
Trying to run autocomplete on sublime mac - got error in console:
Starting Haxe server on port 6001
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 304, in on_activated
    callback.on_activated(v)
  File "/Users/kolombet/Library/Application Support/Sublime Text 3/Packages/Haxe/HaxeComplete.py", line 571, in on_activated
    return self.on_open_file( view )
  File "/Users/kolombet/Library/Application Support/Sublime Text 3/Packages/Haxe/HaxeComplete.py", line 591, in on_open_file
    self.extract_build_args( view )
  File "/Users/kolombet/Library/Application Support/Sublime Text 3/Packages/Haxe/HaxeComplete.py", line 1002, in extract_build_args
    self.find_build_file( f )
  File "/Users/kolombet/Library/Application Support/Sublime Text 3/Packages/Haxe/HaxeComplete.py", line 941, in find_build_file
    self.find_nmml(folder)
  File "/Users/kolombet/Library/Application Support/Sublime Text 3/Packages/Haxe/HaxeComplete.py", line 666, in find_nmml
    f = codecs.open( build , "r+", "utf-8" , "ignore" )
  File "./codecs.py", line 885, in open
PermissionError: [Errno 13] Permission denied: '/usr/lib/haxelib/flixel/3,3,8/include.xml'

haxe -version
3.2.0
haxelib version
3.2.0-rc.3
sublime -version
Sublime Text Build 3083
OSX
10.10.3

Are you trying to run autocomplete in haxeflixel source folder?
flixel library doesn't contain any build file (project.xml).
This package could not generate autocomplete list without a build file.
@clemos, maybe we should scan only project.xml files (not all *.xml files)?

I trying to autocomplete in my project folder. I suppose, it were some issue with mac os file permissions. Flixel libraries were created with admin access (i don't know why, maybe because installed them with sudo), and user can not modify them.
When i reinstalled haxe all problems gone. Thanks anyway.

I still have this issue, but on Kubuntu 15.10.


collapsible sidebar menu

is there a way to create collapsible sidebar menu instead of a single level sidebar menu?

@cerokool32 Thank you for your interest in our product. Unfortunately, the collapse menu is not implemented yet. It will be available in the pro version.
It will be like the one from the one that we have in the plain HTML PRO version: http://demos.creative-tim.com/light-bootstrap-dashboard-pro/examples/dashboard.html
Keep in touch!


Amqp open handshake clean

@ilyaanisimov-kaazing Looking good apart from the transport/http change which shouldn't be in this PR. Obviously I won't be able merge this until the k3po one is merged.

@cmebarrow: I removed transport/http/pom.xml changes

My branch ilya_http_only_identity_for_amqp_identity_promotion contains the changes from this PR plus some needed POM updates. So this PR should not be merged, a new one should be merged created from my branch.

Closing because now replaced by https://github.com/kaazing/gateway/pull/488


Fix responsiveness

Overview
The current mobile and tablet size views are broken and need to be fixed.

@xdotcommer @jamesiarmes @doub1ejack Is mobile/tablet friendliness a priority for this project?

We discussed this in today's check-in. This is not a priority for the MVP.


[FSDE-10492] Add support of carousel web component

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/1/. :white_check_mark:

You can check this PRs instance in https://209167192895c57ab2b311854089e511e1b1d1e7-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/2/. :white_check_mark:

You can check this PRs instance in https://7fbfecce5dee2157a8bdfa6b7a53284db9681f79-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/3/. :white_check_mark:

You can check this PRs instance in https://888b697da4d36f68e4102fe343310edc9465ee68-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/5/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/6/. :white_check_mark:

You can check this PRs instance in https://fcf4401772ce909b360b39cc8ef92699e7e7acff-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/8/. :white_check_mark:

You can check this PRs instance in https://8297ebfd74d104c57a30ff1a7df15766f3432566-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/10/. :white_check_mark:

You can check this PRs instance in https://df440bd0f8f2e273aa225f8399c4eb052bf04072-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/11/. :white_check_mark:

You can check this PRs instance in https://3b44cb5b0a421ea3ed20ef03b6788f8b36ff0f4a-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/12/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/13/. :x:

Also just as an observation but to me the transition that happens when the carousel doesn't let you switch anymore looks a bit off, as in a bit too slow? @janibolkvadze @jllr

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/14/. :white_check_mark:

You can check this PRs instance in https://d127a3d5f47b5b89ab8415a24ff0f40c4927745b-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/15/. :white_check_mark:

You can check this PRs instance in https://ab9916b2e035b76a2a041ef33a94ae6fbdf31ee7-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/16/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-247/17/. :white_check_mark:

You can check this PRs instance in https://4e88c685492886f0d11bb0846ecc5b3db286b668-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-247-ux-chi.kubeodc-test.corp.intranet/ (internal)


[+] Allow respondWith to accept headers

Sometimes your code or the env you are testing in depend on headers for correct functioning.
In my case I have to get back application/json as Content-Type or my data won't be parsed and all my tests would fail.

Good work. Thanks.

Thank you man, i also added another PR for working with a request object.
Would be nice for me to have this update on npm, else i will need to create
a new package
Il gio 23 mar 2017, 12:38 Larney11<EMAIL_ADDRESS>ha scritto:

Good work. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Larney11/mock-fetch-api/pull/1#issuecomment-288692421,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEeqFhXjdKFzaEXHPG3RfnADqS8Iuapjks5rolm5gaJpZM4Mmim2
.

I'm busy for the next few days but I will update it soon.


[ISSUE #2962] Implement DefaultMQAdminExt::examineTopicConfig function

Make sure set the target branch to develop
What is the purpose of the change
Implement DefaultMQAdminExt::examineTopicConfig function
Brief changelog
Implement DefaultMQAdminExt::examineTopicConfig function
Verifying this change
YES
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.003%) to 54.076% when pulling e6768baae7a1e6514bbc82e518a21d8c42da13a0 on Aaron-He:dev20210623 into 160c5772fbdf02e55cdc67bc3b74bb9f9c4c644b on apache:develop.

Should method throw an exception instead of returning null when topic config doesn't exist


Allow to configure integer division behavior

Hello,
This PR allows a user to change the behavior of integer division.
By adding the following line to config.rb,
conf.cc.defines = %w(MRB_INTEGER_DIVISION)

mruby will evaluate 1/2 to 0 rather than 0.5.
What do you think?

Your change doesn't care about the integer division issue:  y == 0 or x == MRB_INT_MIN &&  y == -1.
And if I remember correctly, Fixnum#divmod does integer division in mruby (if possible). Yeah, it's longer and unpleasant but in my opinion so is the fixnum/float situation in mruby.

@cremno, thank you for the comment!

Your change doesn't care about the integer division issue: y == 0 or x == MRB_INT_MIN && y
== -1.

Good point, I think I could fix.  BTW, you've find Fixnum#divmod's possible bug too :-)

Yeah, it's longer and unpleasant but in my opinion so is the fixnum/float situation in mrub
y.

My hope is compatibility.  I'd like to run an existing program written for MRI.  I don't hasitate to write a shim, but it is impossible as mruby does not allow redefining Fixnum#/.
Since few people may want to redefine Fixnum#/ dynamically, and since a dynamic check will cause extra overhead, build configuration is the mruby's way.  IMO.

The Ruby ISO spec actually says that integer division should always have this behavior

<IP_ADDRESS>.6 Integer#/
a) If other is an instance of the class Integer:

If the value of other is 0, raise a direct instance of the class ZeroDivisionError.
Otherwise, let n be the value of the receiver divided by the value of other. Return
an instance of the class Integer whose value is the largest integer smaller than or
equal to n.
NOTE The behavior is the same even if the receiver has a negative value. For example,
-5 / 2 returns -3.


a test

There was an error while validating job bde031e5-0ae5-42b1-a2db-3a835ed76ba0 Message:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
Details:Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase+ContextCommandException:
Result status: Failed
There was a problem accessing Github repository 'https://github.com/Microsoft/cordova-docs.git'.
---> System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Error clonning repository ---> LibGit2Sharp.NotFoundException: Branch 289 not found. Available branches: origin/master
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetBranch(Repository repo, String name)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass30.<>c__DisplayClass34.b__29(KeyValuePair2 branch)    at System.Collections.Generic.List1.ForEach(Action1 action)    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass30.<CloneRepository>b__28()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func1 func)
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction(Action action)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository()
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetVersionAsync(String path)
at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)    --- End of inner exception stack trace ---    --- End of inner exception stack trace ---    at Microsoft.LightweightJobEngine.Core.Language.ContextCommandBase.ThrowIfErrorsLogged()    at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.CheckExternalServicesCommand.Do(IDictionary2 context)
at Microsoft.LightweightJobEngine.Core.Language.JobWorkflow1.RunCommands(Guid jobId, IDictionary2 context, CancellationTokenSource cancelSignal)


.json files?

Wstunnel support json files? What is the writing format?

Hello,
Sorry wstunnel does not support json file ;(


Test runner gets confused if a co19 test has both an @compile-error annotation and a static error expectation

Discovered tracking down a very confusing error with @athomas in which a co19 test was passing locally but showing up as failing on the bots.  If a test uses both @compile-error but also has a static error test expectation, then the test runner gets confused and interprets the successful run (that is, correct reporting of a static error) as a missing compile time error.  To reproduce, sync to 9674ab8921a34f23d0e38af6ae29f0e535a829f0 and run:
leafp-macbookpro:sdk leafp$ mkdir cache_temp
leafp-macbookpro:sdk leafp$ python tools/test.py -n analyzer-asserts-strong-mac co19/Language/Mixins/declaration_t01 -v --clean-exit --write-results --output-directory cache_temp/ && cat cache_temp/results.json
Test configuration:
    analyzer-asserts-strong-mac(architecture: x64, compiler: dart2analyzer, mode: release, runtime: none, system: mac, nnbd: strong, enable-asserts, use-sdk)
Suites tested: co19
Running "dart2analyzer" command: DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=nonfunction-type-aliases --ignore-unrecognized-flags --packages=/Users/leafp/src/dart-repo/sdk/.packages --format=json --no-hints /Users/leafp/src/dart-repo/sdk/tests/co19/src/Language/Mixins/declaration_t01.dart
Done dart2analyzer-none release_x64 co19/Language/Mixins/declaration_t01: pass

=== All 1 test passed ===
{"name":"co19/Language/Mixins/declaration_t01","configuration":"analyzer-asserts-strong-mac","suite":"co19","test_name":"Language/Mixins/declaration_t01","time_ms":3386,"result":"Pass","expected":"CompileTimeError","matches":false}

Per @athomas:
note the "matches":false part. Somehow, the result is recorded as "Pass" instead of "CompileTimeError"
I suspect this is the same confusion about what "Pass" means in the test runner.

@athomas suggests that the test runner should fail to parse the test in this case so that we will detect these kind of errors in the roll.
cc @munificent @eernstg

Oh dear. Yeah, the test file parser should flag those cases. Ideally, we would migrate all of the /* @compile-error */ tests to real static error tests, now that the latter exists. It's strictly superior.

FYI, the Unipro team is working on migrating the old @compile-error tests to static error tests (https://github.com/dart-lang/co19/issues/1086). Once that lands we should remove the support for them from the test runner.

Awesome, thanks @munificent!

It was very satisfying cleaning up these old tests. :)


Convert Storage and HtsGet traits to use async/await

For the current MVP, having blocking operations is fine. But for real life we should convert those interfaces to use async/await.
I think that this is something we can leave for later when we have the basic parts of the search logic well figured out, and possibly more relevant before we start working on the HTTP layer.
#[async_trait(?Send)]
pub trait Storage {
  async fn get<K: AsRef<str>>(&self, key: K, options: GetOptions) -> Result<PathBuf>;
  async fn url<K: AsRef<str>>(&self, key: K, options: UrlOptions) -> Result<Url>;
}

#[async_trait(?Send)]
pub trait HtsGet {
  async fn search(&self, query: Query) -> Result<Response>;
}

Tangentially related with https://github.com/zaeleus/noodles/issues/9 and https://github.com/umccr/s3-rust-noodles-bam (other related dependencies that are async already for this project).

After a short chat with @mmalenic, he is very keen to tackle this task. Due to my previous (bad) experience with Rusoto and async (quite a few months ago), I warned Marko that it can get tricky in a jiffy, depending on library maturity (that's why it's labeled as "advanced").
One of main concerns I have is the whole red/blue functions debate when implementing mixes between async and blocking, namely:
https://blainehansen.me/post/red-blue-functions-are-actually-good/
So, having said that, @zaeleus, do you have plans to start an async branch for Noodles anytime soon? Do you anticipate any major blockers with Noodles if we start with this task?
/cc @CastilloDel

I just recently started the noodles async branch, so it's still very early to use. BAM and BGZF do have readers, which can be enabled using the async feature.
Note that async noodles only supports Tokio.

@chris-zen Any reason why you proposed the interface to be #[async_trait(?Send)] instead of just implementing it with Send by default?


No documentation for MES Events?

microbit.org-ticket: 620
related dal ticket: https://github.com/lancaster-university/microbit-dal/issues/272
I cannot find any documentation for any of the MES events available in PXT.
The hover help when you click on the MES EVENT dropdown is greyed out:

I cannot find any help on the ON EVENT (hover help is greyed out)

There is no help on the docs pages in the control section for on event

Hi guys, just wondering if there is any progress on the documentation of this one at all?

I've created a placeholder here for now. If you have additional information you would like me to copy/contribute into the article, let me know and I can do the heavy lifting here.
https://support.microbit.org/solution/articles/19000054469-mbtn3-mes-event-registry

Paged added to list MES events: https://github.com/Microsoft/pxt-microbit/pull/535.
Not sure if help linking in general for enum values is enabled at this point.


FloatingActionButtonShadowNode compilation error

Hello!
Thanks for your repo!
I am trying to use it but I am facing following issue when compiling.

:react-native-bottom-sheet-behavior:compileReleaseJavaWithJavac
/Users/user/vscode-projects/reactNativeProject/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/FloatingActionButtonShadowNode.java:10: error: FloatingActionButtonShadowNode is not abstract and does not override abstract method measure(CSSNodeAPI,float,CSSMeasureMode,float,CSSMeasureMode,MeasureOutput) in MeasureFunction
public class FloatingActionButtonShadowNode extends LayoutShadowNode implements CSSNode.MeasureFunction {
^
/Users/user/vscode-projects/reactNativeProject/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/FloatingActionButtonShadowNode.java:19: error: method does not override or implement a method from a supertype
@Override
^
Note: /Users/user/vscode-projects/reactNativeProject/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ResourceDrawableIdHelper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/user/vscode-projects/reactNativeProject/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/FloatingActionButtonManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:react-native-bottom-sheet-behavior:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-bottom-sheet-behavior:compileReleaseJavaWithJavac'.
Compilation failed; see the compiler error output for details.

Here are the dependencies I use
  "dependencies": {
    "react": "15.3.1",
    "react-native": "^0.32.0",
    "react-native-bottom-sheet-behavior": "0.0.4",
    "react-native-maps": "0.8.2",
    "react-native-router-flux": "^3.35.0",
    "react-redux": "^4.4.5",
    "redux": "^3.6.0",
    "redux-thunk": "^2.1.0"
  },

Hi, thanks for report, sorry the delay, can you post yourandroid/build.gradle?, i remember something related to it on changingurl "$projectDir/../../node_modules/react-native/android" to url "$rootDir/../node_modules/react-native/android", but i can be wrong...

Nevermind, there's something wrong on react-native android dependency, i'm trying to figure it out.

I've fixed on 0.0.5, let me know if you got it.

Having very same issue.
RN 0.38.0
React 15.4.1

Downloaded example (runs on 0.36 - has some issues with running, but compiles, that's okay).

upgraded to 0.37 (JS issues with running out of the box, but compiles)
upgraded to 0.38, does not compile

I think they did some break changes on the CSS-Layout on version 0.38, i will fix it soon.
Can you tell me what issues you have when running with 0.36?

Don't remember exact message but it's related to root "BSBExample" component not being registered.
It's not eating this...
AppRegistry.registerComponent('BSBExample', () => BSBExample)

Going to look into this and move example up to 0.37 and possibly to 0.38 when you push fix.

0.36 + example: works as expected, false alarm here
0.37: won't work, unless you drop react-native-vector-icons. RN 0.37 introduces issue related to Animated library -> https://github.com/oblador/react-native-vector-icons/releases
0.38: fixes issue introduced in 0.37, but breaks your code, lol -> https://github.com/exponentjs/react-native/commit/ae5887ab4757cdc0120000ba189d0131eafddb79

Going straight to 0.38 and fixing your code is way to go, imho.


安装后显示不支持

Issue Type: Feature Request
可以将后面的不受支持取消吗  难受
Extension version: 1.1.19
VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.17763

Translation:
After installed, it keeps on showing "unsupported".
Could you pls cancel it? I feel ill (OCD haha)

I don't understand, we need more details


feat(blob): blobsub

Introduces blob.Subscribe. Takes a share.Namespace, returns a <-chan *BlobsubResponse containing a height uint64 and blobs []*blob.Blob.
I made the decision to not support subscribing to multiple namespaces with one call, because the complexity of the return type mitigates the benefits for the client. It is likely more convenient to have one subscription per namespace:
Imagine you are watching two namespaces for different things. On the client side, you would have a select statement reading from the two channels in two cases. This is cleaner than receiving everything in one case, but then having to manually parse and send to the respective handlers yourself.
TODO:

[ ] Unit tests
[ ] Mockgen
[ ] Document w @jcstein

Do we want to block this PR on absence proofs? The rough consensus from our call is that we should. Thoughts?


[Enhancement] Option to set brightness to 100% on exit/on turn off

I would love to have an option to set the brightness back at normal (100%) on application exit, so the next time we run screendimmer it doesn't change the brightness until we ask it explicitly.
I have it running automatically on my computer (Arch Linux), and the evening/night I set the brightness (from screendimmer tray icon) to 30%.
The problem is when I turn on my computer the morning, since I can barely see the screen.
In my case, normal brightness level (100%) reset at the app exit would be the easiest (instead of manually setting it to 100% during the night).
Thank you for considering this request for enhancement.

I would love to have an option to set the brightness back at normal (100%) on application exit

An upcoming update will support this, and is implemented.

and the evening/night I set the brightness ... when I turn on my computer the morning, since I can barely see the screen.

This is a very valid corner case. Maybe I'll consider including time-based brightness adjustments in a future release. But the 100% brightness on exit is a great solution for this for now.
Thank you for the feedback.


Run benchmarks on GitHub actions.

This PR updates this repo to run the benchmarks using GitHub actions.
I originally tried the same approach as https://github.com/lit/lit/pull/1967 but found that the import specifiers were being mapped to paths that didn't exist, which caused the benchmarks to time out. I'm not entirely sure why this didn't work, but I suspect it was due to the way that tachometer expects the repo it will benchmark is set up. Particularly, tachometer seems to expect that the package it runs within stays the same and that different versions of the dependencies are what should be effectively benchmarked.
I've updated this repo's benchmark workflow to check out the benchmark package separately so that it can be the root package with lit-element as its dependencies.
I've merged the LitElement benchmarks from https://github.com/Polymer/benchmarks into this repo under benchmarks and made that folder a private NPM package, which seems to be tachometer's preferred setup.

I'm going to merge this into gh-actions and continue working from there.


add libc wrapper to TF env

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
This is needed to ensure the libc_wrappers are built for Serving.
See https://github.com/open-ce/tensorflow-serving-feedstock/pull/15
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

This is actually not needed since it's included in the TensorRT env file, which gets included in the tf one.

This is actually not needed since it's included in the TensorRT env file, which gets included in the tf one.


Update Readme.md

I wanted to let u know that I wanted to work on this issue of updating the Readme.md and also make it more attractive.
Also I would like to let u know that I will be up to work on creating a CODE_OF_CONDUCT.md for this project too as a seperate issue
Let e know about this issue . :)

I want to work on this issue under JWOC

i can start working on this right ? @Nikhil636

i can start working on this right ? @Nikhil636

Yes you can start the work

@Nikhil636 Thanks


Some repos' pages don't load right because of special characters

seems to be the period

my mistake

my mistake


Add Helium Ledger Wallet Migration to Solana

Acceptance Criteria:

Support Ledger Solana nano app
Add ability to migrate tokens from helium derivation path to Solana derivation path. Helium Ledger Wallet Migration to Solana details here: https://docs.google.com/document/d/1AXalBlO03mMCtn8Bv8ngpr6_sE1V-6JX6DpET2dExRg/edit

Just migrated and ran into this wall...  The Wallet App does not support the Ledger once migrated?


Cannot get the typedesc of ()

Consider the following program:
public function main(string... args) {
        typedesc t = ();
}

The above program gives the following compile error:
error: .::test.bal:2:15: incompatible types: expected 'typedesc', found '()'

Since we use () for the type of nil as well, we need to handle the above case.

This seems like a not a bug. Way to get typedesc of nil value is
public function main() {
        typedesc tt = typeof ();
}


Cofirmed stress test on Cloud Environment.

[x] Tests pass
[x] Appropriate changes to README are included in PR

Hi @takabow,
I've updated library versions by dependabot and confirmed the app worked on Cloud Environment. Please review this PR.


randomData() produces ReferenceError: Symbol is not defined

I tried to use the function getChecksum and discovered that it doesn't work.
The problem is reviewed in randomData also:
node

var n = require('node-nmea');
undefined
n.randomData();
ReferenceError: Symbol is not defined
at getChecksum (/home/lukav/Projects/gtsd/node_modules/node-nmea/lib/index.js:40:36)
at Object.randomData (/home/lukav/Projects/gtsd/node_modules/node-nmea/lib/index.js:308:18)
at repl:1:3
at REPLServer.self.eval (repl.js:110:21)
at repl.js:249:20
at REPLServer.self.eval (repl.js:122:7)
at Interface. (repl.js:239:12)
at Interface.emit (events.js:95:17)
at Interface._onLine (readline.js:203:10)
at Interface._line (readline.js:532:8)

Resolve, add support to node >= 0.10.0


HDDS-6951. Replace bucket.listKeys() with bucket.listStatus() in OmBucketReadWriteKeyOps

What changes were proposed in this pull request?
Replace bucket.listKeys() with the bucket.listStatus() method for simulating synthetic read operation workload in OmBucketReadWriteKeyOps Freon class since bucket.listStatus() uses the OzoneManagerLock.acquireReadLock() method which would hence serve more useful for the sake of benchmarking the lock performance.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6951
How was this patch tested?
Existing integration tests.

Thanks @tanvipenumudy for the contribution!


Swing null pointer error running olv.bat

I'm getting the following stack dump trying to run olv.bat on win 10. It occurs during startup
Version: 1.4.13
Installed in c:\olv-1.4.13\olv1.4.13
java version "1.8.0_92"
Can't start OtrosLogViewer
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at pl.otros.starter.StartApp.main(StartApp.java:60)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at pl.otros.logview.gui.LogViewMainFrame.main(LogViewMainFrame.java:310)
... 5 more
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at javax.swing.JEditorPane.registerEditorKitForContentType(Unknown Source)
at javax.swing.JEditorPane.registerEditorKitForContentType(Unknown Source)
at javax.swing.JEditorPane.loadDefaultKitsIfNecessary(Unknown Source)
at javax.swing.JEditorPane.getKitTypeRegistry(Unknown Source)
at javax.swing.JEditorPane.getEditorKitClassNameForContentType(Unknown Source)
at javax.swing.JTextPane.(Unknown Source)
at pl.otros.logview.gui.actions.AboutAction.(AboutAction.java:54)
at pl.otros.logview.gui.LogViewMainFrame.initMenu(LogViewMainFrame.java:727)
at pl.otros.logview.gui.LogViewMainFrame.(LogViewMainFrame.java:201)
at pl.otros.logview.gui.LogViewMainFrame.lambda$main$1(LogViewMainFrame.java:318)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

This is a bug in JDK.
https://bugs.openjdk.java.net/browse/JDK-8064444
https://bugs.openjdk.java.net/browse/JDK-8038241
Did you have the problem more than one time?


Deprecate ImplicitConversionTarget

This is a logical followup on #7881 and #7954. ImplicitConversionTarget is neither fish nor fowl.

cc @atilaneves


Added code of conduct

I think this project needs a code of conduct so that any contributor knows the rules for interacting with this project. So, I added the code of conduct and linked to it in the readme. :)

Nice. Its perfect. Merging 👍


Fishing skill always FAIL

Fishing skill always return FAIL result
sphere says:
ERROR:Bad Spawn point uid=040000044. Invalid id=-1
uid of created worldgembit

work fine


irmin-pack: add chunked suffix fields to control file

This PR extends #2115 by adding fields to V4 of the control file need for a chunked suffix. The change for review is in https://github.com/mirage/irmin/commit/4e892f1b0b6469d346a94c422207cdfb8f7330e2. This is a part of #2096.
The following fields are added:

chunk_start_idx to indicate the starting index for the chunks
chunk_num to indicate the number of chunks

The following field is added to the Gced status:

suffix_dead_bytes to indicate bytes that could not be reclaimed during a GC (because of a suboptimal commit placement or during the time before an existing store has migrated to an optimally chunked suffix) but should be considered dead/unreachable in the suffix. In a future PR, the dispatcher will use this when constructing accessors. It is worth noting that the chunked suffix abstraction can read these bytes still but we would like to enforce reading these bytes from the prefix instead.

Codecov Report

Merging #2117 (6abfcde) into main (6854d5b) will increase coverage by 0.06%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main    #2117      +/-   ##
==========================================
+ Coverage   64.79%   64.85%   +0.06%
==========================================
  Files         133      134       +1
  Lines       15890    15946      +56
==========================================
+ Hits        10296    10342      +46
- Misses       5594     5604      +10

Impacted Files
Coverage Δ

src/irmin-pack/unix/ext.ml
62.15% <ø> (ø)

src/irmin-pack/unix/import.ml
73.33% <60.00%> (-6.67%)
:arrow_down:

src/irmin-pack/unix/chunked_suffix.ml
84.00% <84.00%> (ø)

src/irmin-pack/unix/control_file.ml
84.00% <100.00%> (ø)

src/irmin-pack/unix/control_file_intf.ml
85.71% <100.00%> (ø)

src/irmin-pack/unix/file_manager.ml
84.01% <100.00%> (+0.05%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Some normal R-18 pics (not R-18G) is not downloaded when enable R-18 mode

I enable R-18 mode and download by member ID.
For some reason, this image is not downloaded.
https://www.pixiv.net/en/artworks/111011883
There is also another image from this member that is not downloaded too, even though it has R-18 tag

Do you have "AIDisplayFewer" turned on in config or "AI-generated work" show/hide toggle in Pixiv setting?
It's AI-generated post, so those parameters may be successfully protecting you from ingesting the post.

 I also have no blacklist tags and no blacklist artists.


sampleData & Codable

<!--
Please let us know what version of Moya you are using, so we can better pinpoint and/or solve your issue.

11.0.2

Please wrap code blocks in backticks, like so:

```swift
var sampleData: Data {

		return "sample".data(using: .utf8)!
	}
```

Get this compile Error: Cannot convert return expression of type 'Data' to return type 'Data'

Don't know how to fix, bevor I return a Data() but after add Codable Structs to my projects, it says: Cannot invoke initializer for type 'Data' with no arguments

Someone has the same issue and fixed it?

My description was not added so here again:
my SampleData return a Data() and after adding a struct as Codable the compileError appears: Cannot invoke initializer for type 'Data' with no arguments
if I add a return "sample".data(using: .utf8)! it says: Cannot convert return expression of type 'Data' to return type 'Data'
What can I do?

I use Xcode Version 10.1 (10B61) and Moya 11.0.2

Problem solved, I delete the Codable from Project and create it new and it works, but this was a serious bug.

Closing this one as it seems solved 😄


Frame.ReadCsv throws an exception with web streams

I have tried to retrieve a data from web, but I got an error.
open System.Net
open Deedle

let irisDataUri = "http://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data"
let iris =
   let request = WebRequest.Create (irisDataUri)
   use response = request.GetResponse ()
   use stream = response.GetResponseStream ()
   Frame.ReadCsv (stream, false)

Unhandled Exception: System.NotSupportedException: This stream does not support seek operations.

Close as the script works now.


Antlr4 tutorials

Antlr tutorial:
https://tomassetti.me/antlr-mega-tutorial/
https://alexecollins.com/antlr4-and-maven-tutorial/
http://meri-stuff.blogspot.com/2011/09/antlr-tutorial-expression-language.html#LexerBasics
http://progur.com/2016/09/how-to-create-language-using-antlr4.html
https://yq.aliyun.com/articles/11366
http://www.cnblogs.com/sld666666/p/6145854.html
http://blog.csdn.net/dc_726/article/details/45399371
https://github.com/antlr/antlr4/blob/master/doc/index.md
https://github.com/antlr/grammars-v4/blob/master/json/JSON.g4
https://plugins.jetbrains.com/plugin/7358-antlr-v4-grammar-plugin
https://stackoverflow.com/questions/21534316/is-there-a-simple-example-of-using-antlr4-to-create-an-ast-from-java-source-code
https://stackoverflow.com/questions/23092081/antlr4-visitor-pattern-on-simple-arithmetic-example
https://stackoverflow.com/questions/6487593/what-does-fragment-mean-in-antlr
http://floris.briolas.nl/floris/2008/10/antlr-common-pittfals/
https://github.com/odiszapc/nginx-java-parser
https://codevomit.wordpress.com/2015/04/25/antlr4-project-with-maven-tutorial-episode-3/
https://stackoverflow.com/questions/1931307/antlr-is-there-a-simple-example
https://stackoverflow.com/questions/29971097/how-to-create-ast-with-antlr4
Listener vs Vistor:
https://stackoverflow.com/questions/20714492/antlr4-listeners-and-visitors-which-to-implement?rq=1
http://jakubdziworski.github.io/java/2016/04/01/antlr_visitor_vs_listener.html
ANTLRv4: How to read double quote escaped double quotes in string?
https://stackoverflow.com/questions/17897651/antlrv4-how-to-read-double-quote-escaped-double-quotes-in-string
nested boolean expression parsing:
https://stackoverflow.com/questions/25096713/parser-lexer-logical-expression
https://stackoverflow.com/questions/30976962/nested-boolean-expression-parser-using-antlr
parsing comment:
https://stackoverflow.com/questions/7070763/parse-comment-line?rq=1
https://stackoverflow.com/questions/28674875/antlr-4-how-to-parse-comments
http://meri-stuff.blogspot.com/2012/09/tackling-comments-in-antlr-compiler.html

Mismatched Input 'x' expecting 'x': https://stackoverflow.com/questions/29777778/antlr-4-5-mismatched-input-x-expecting-x
If/else statements in ANTLR using listeners: https://stackoverflow.com/questions/15610183/if-else-statements-in-antlr-using-listeners?noredirect=1&lq=1

Import other java lib with ANTLR4?
https://stackoverflow.com/questions/45138474/how-can-i-import-other-java-lib-with-antlr4

Logstash Antlr4 config parser
https://github.com/colinsurprenant/logstash-antlr-config

利用ANTLR4实现一个简单的四则运算计算器
http://www.cnblogs.com/sld666666/p/6145854.html


[fix][broker] Avoid storing MessageMetadata instances returned by peekMessageMetadata

Motivation
https://github.com/apache/pulsar/pull/15967 removed the EntryWrapper,
which holds an Entry instance that is never used. Instead, after the
refactoring, the MessageMetadata array is useless, see
https://github.com/apache/pulsar/blob/298a573295f845e46f8a55cee366b6db63e997c2/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java#L517-L519
Each MessageMetadata instance in the array is returned by
peekMessageMetadata, whose returned value references a thread local
object Commands#LOCAL_MESSAGE_METADATA. It brings a problem that if
multiple entries were read, all MessageMetadata elements in the array
reference the same object.
However, accidentally, the wrong invocation of Optional#orElse saves
it. See
https://github.com/apache/pulsar/blob/298a573295f845e46f8a55cee366b6db63e997c2/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractBaseDispatcher.java#L133-L134
Each time peekMessageMetadata is called, the thread local message
metadata will be updated. Unlike orElseGet, the expression in orElse
is always called no matter if the optional is empty.
This behavior change increases the invocations count of
peekMessageMetadata and the metadataArray cache became redundant.
Modifications

Use orElseGet instead of orElse in AbstractBaseDispatcher.
Add a new static method Commands#peekAndCopyMessageMetadata that
returns a MessageMetadata instance allocated from heap memory.
Call peekAndCopyMessageMetadata to cache all message metadata
instances in PersistentDispatcherMultipleConsumers.

Verifying this change

[ ] Make sure that the change passes the CI checks.

It's hard to add tests. As I've explained before, #15967 only degrades the
performance and doesn't affect the correctness.
Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete

I tried to add the test, but it looks harder than I thought. The only way is to verify the invocation count of the staticCommands#peekMessageMetadata method.
A simple way to expose the problem is reverting the changes of PersistentDispatcherMultipleConsumers.java in this PR and running the following test in FilterEntryTest.
    @Test
    public void testMultiEntriesInMultiConsumerDispatcher() throws Exception {
        String topic = "persistent://prop/ns-abc/topic" + UUID.randomUUID();
        String subName = "sub";

        Consumer<String> consumer = pulsarClient.newConsumer(Schema.STRING)
                .topic(topic)
                // PersistentDispatcherMultipleConsumers will be used for Shared subscription
                .subscriptionType(SubscriptionType.Shared)
                .subscriptionName(subName)
                .subscribe();
        consumer.close();
        PersistentSubscription subscription = (PersistentSubscription) pulsar.getBrokerService()
                .getTopicReference(topic).get().getSubscription(subName);
        Dispatcher dispatcher = subscription.getDispatcher();
        Field field = AbstractBaseDispatcher.class.getDeclaredField("entryFilters");
        field.setAccessible(true);
        NarClassLoader narClassLoader = mock(NarClassLoader.class);

        final List<Long> sequenceIdList = Collections.synchronizedList(new ArrayList<>());
        EntryFilter filter = new EntryFilter() {

            @Override
            public FilterResult filterEntry(Entry entry, FilterContext context) {
                sequenceIdList.add(context.getMsgMetadata().getSequenceId());
                return FilterResult.ACCEPT;
            }

            @Override
            public void close() {
            }
        };
        EntryFilterWithClassLoader loader = spyWithClassAndConstructorArgs(
                EntryFilterWithClassLoader.class, filter, narClassLoader);
        field.set(dispatcher, ImmutableList.of(loader));

        final int numMessages = 10;

        @Cleanup
        Producer<String> producer = pulsarClient.newProducer(Schema.STRING)
                .enableBatching(false)
                .topic(topic)
                .create();
        for (int i = 0; i < numMessages; i++) {
            producer.newMessage().value("msg-" + i).send();
        }

        consumer = pulsarClient.newConsumer(Schema.STRING)
                .topic(topic)
                .subscriptionInitialPosition(SubscriptionInitialPosition.Earliest)
                // PersistentDispatcherMultipleConsumers will be used for Shared subscription
                .subscriptionType(SubscriptionType.Shared)
                .subscriptionName(subName)
                .subscribe();
        while (true) {
            Message<String> msg = consumer.receive(1, TimeUnit.SECONDS);
            if (msg == null) {
                break;
            }
        }

        assertEquals(LongStream.range(0, numMessages).boxed().collect(Collectors.toList()), sequenceIdList);
    }


⚠ ESPN has degraded performance

In bc4ddaa, ESPN (https://espn.com) experienced degraded performance:

HTTP code: 200
Response time: 883 ms

Resolved: ESPN performance has improved in fb2a90f.


Highlight "resource count" in policies

Policy Template Name
Feedback from Kim:

make the count bold
Highlight or separate count from the sentence. e.g.: Resources Violating Policy: 10

Now that we have this in the UI, I don't think this is needed.


Would you mind providing sample code to detail this issue?
FYI, connect() does not connect to the cluster at once as you call it. So you can also check if the endpoint info (addr. and port) is correct.


[DO NOT MERGE] Auto PR to update dependencies of pilot

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
90ef0dd8722cb3d27e6512729ce8a5c13e12fafe
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Support for Vital 100S

Describe The Bug
As with the Vital 200S, the Vital 100S is a new model from levoit and would be awesome to have support for it.
Hopefully the whole vital line can be added and supported
Expected behavior
Na
Logs
Na
Plugin Config
Na
Plugin Version
Na
Homebridge Version
Na
Node.js Version
Na
NPM Version
Na
Operating System
Na

Hey @eoddc5 do you have any logs for that device?

@RaresAil I have a vital 100s and was looking to use this to connect it to my home bridge. I'm not sure how to get the logs you asked for, but if you can tell me how I would be happy to provide that.

I think i found the logs let me know if this is what you're looking for
`Loading logs using "custom" method...
CMD: pm2 logs --raw --out --lines 80 homebridge
[TAILING] Tailing last 80 lines for [homebridge] process (change the value with --lines option)
/root/.pm2/logs/homebridge-out.log last 80 lines:
[5/11/2023, 11:42:30 PM] Loaded plugin<EMAIL_ADDRESS>[5/11/2023, 11:42:30 PM] Registering platform 'homebridge-config-ui-x.config'
[5/11/2023, 11:42:30 PM] ---
[5/11/2023, 11:42:30 PM] Loaded plugin<EMAIL_ADDRESS>[5/11/2023, 11:42:30 PM] Registering platform 'homebridge-govee.Govee'
[5/11/2023, 11:42:30 PM] ---
[5/11/2023, 11:42:30 PM] Loaded plugin<EMAIL_ADDRESS>[5/11/2023, 11:42:30 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers'
[5/11/2023, 11:42:30 PM] ---
[5/11/2023, 11:42:30 PM] Loading 3 platforms...
[5/11/2023, 11:42:30 PM] [Config] Initializing config platform...
[5/11/2023, 11:42:30 PM] [Config] Spawning homebridge-config-ui-x with PID 44589
[5/11/2023, 11:42:30 PM] [Govee] Initializing Govee platform...
[5/11/2023, 11:42:30 PM] [Govee] Initialising plugin v7.9.3 | System freebsd | Node v16.19.0 | HB v1.6.0 | HAPNodeJS v0.11.0...
[5/11/2023, 11:42:30 PM] [Levoit Air Purifiers] Initializing LevoitAirPurifiers platform...
[5/11/2023, 11:42:30 PM] Failed to find plugin to handle accessory Troy
[5/11/2023, 11:42:30 PM] Removing orphaned accessory Troy
[5/11/2023, 11:42:30 PM] [Govee] Plugin initialised. Setting up accessories....
[5/11/2023, 11:42:30 PM] [Levoit Air Purifiers] Connecting to the servers...
[5/11/2023, 11:42:30 PM] Publishing bridge accessory (name: Homebridge, publishInfo: {
category: 2,
bind: undefined,
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: undefined
}).
Setup Payload:
X-HM://00242S4KT6YQN
[5/11/2023, 11:42:30 PM] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge) is running on port ****.
[5/11/2023, 11:42:30 PM] [Govee] [LAN] server started listening on ***********.
[5/11/2023, 11:42:30 PM] [Govee] [LAN] scanning for devices over LAN...
[5/11/2023, 11:42:31 PM] [Levoit Air Purifiers] Discovering devices...
[5/11/2023, 11:42:32 PM] [Govee] [LAN] client enabled and found 0 device(s).
[5/11/2023, 11:42:32 PM] [Govee] [HTTP] retrieved access token from cache.
[5/11/2023, 11:42:33 PM] [Govee] [HTTP] client enabled and found 2 device(s).
[5/11/2023, 11:42:33 PM] [Govee] [AWS] client enabled.
[5/11/2023, 11:42:33 PM] [Govee] [AWS] connect event.
[5/11/2023, 11:42:34 PM] [Govee] [API] client enabled and found 1 device(s).
[5/11/2023, 11:42:34 PM] [Govee] [Desk bar lights] initialising with options {"adaptiveLightingShift":0,"aws":"enabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[5/11/2023, 11:42:34 PM] [Govee] [Desk bar lights] initialised with id [52:AD:C9:32:37:36:37:1C] [H6056].
[5/11/2023, 11:42:34 PM] [Govee] [Desk] initialising with options {"adaptiveLightingShift":0,"aws":"unsupported","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[5/11/2023, 11:42:34 PM] [Govee] [Desk] initialised with id [05:43:7C:A6:B0:9C:C8:36] [H613A].
[5/11/2023, 11:42:36 PM] [Govee] ✓ Setup complete. This plugin has been made with ♥ by bwp91 from the UK!
`

@Delaski you need to enable debug mode for the plugin: https://github.com/RaresAil/homebridge-levoit-air-purifier#enabling-debug-mode

@RaresAil ok, so i need to enable debug mode then collect the logs at start up through the home-bridge logs menu?

And run some commands

@RaresAil Sorry again i’m not too knowledgeable, but i know how to insert the code you provided into the config. If you provided me with the commands you would like to see i can punch those in and send you the results.

Heres the start up logs with debug enabled:
Loading logs using "custom" method...
CMD: pm2 logs --raw --out --lines 80 homebridge
[TAILING] Tailing last 80 lines for [homebridge] process (change the value with --lines option)
/root/.pm2/logs/homebridge-out.log last 80 lines:
[5/21/2023, 1:04:53 PM] Loaded plugin<EMAIL_ADDRESS>[5/21/2023, 1:04:53 PM] Registering platform 'homebridge-govee.Govee'
[5/21/2023, 1:04:53 PM] ---
[5/21/2023, 1:04:53 PM] Loaded plugin<EMAIL_ADDRESS>[5/21/2023, 1:04:53 PM] Registering platform 'homebridge-levoit-air-purifier.LevoitAirPurifiers'
[5/21/2023, 1:04:53 PM] ---
[5/21/2023, 1:04:53 PM] Loading 3 platforms...
[5/21/2023, 1:04:53 PM] [Config] Initializing config platform...
[5/21/2023, 1:04:53 PM] [Config] Spawning homebridge-config-ui-x with PID xxxxxx
[5/21/2023, 1:04:53 PM] [Govee] Initializing Govee platform...
[5/21/2023, 1:04:53 PM] [Govee] Initialising plugin v7.9.3 | System freebsd | Node v16.19.0 | HB v1.6.0 | HAPNodeJS v0.11.0...
[5/21/2023, 1:04:53 PM] [Levoit Air Purifiers] Initializing LevoitAirPurifiers platform...
[5/21/2023, 1:04:53 PM] [Levoit Air Purifiers] [DEBUG]: [PLATFORM] Debug mode enabled
[5/21/2023, 1:04:53 PM] [Govee] Plugin initialised. Setting up accessories....
[5/21/2023, 1:04:53 PM] [Levoit Air Purifiers] Connecting to the servers...
[5/21/2023, 1:04:53 PM] [Levoit Air Purifiers] [DEBUG]: [START SESSION] Starting auth session...
[5/21/2023, 1:04:53 PM] [Levoit Air Purifiers] [DEBUG]: [LOGIN] Logging in...
[5/21/2023, 1:04:53 PM] Publishing bridge accessory (name: Homebridge, publishInfo: {
username: 'xxxxxxxxxx',
port: xxxxxxxxxx,
pincode: '--**',
category: 2,
bind: undefined,
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: undefined
}).
Setup Payload:
X-HM://00242S4KT6YQN
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ xxxxxxxxx│
└────────────┘

[5/21/2023, 1:04:53 PM] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge) is running on portxxxxx.
[5/21/2023, 1:04:53 PM] [Govee] [LAN] server started listening on xxxxxxxx.
[5/21/2023, 1:04:53 PM] [Govee] [LAN] scanning for devices over LAN...
[5/21/2023, 1:04:53 PM] [Levoit Air Purifiers] [DEBUG]: [LOGIN] The authentication success
[5/21/2023, 1:04:54 PM] [Levoit Air Purifiers] Discovering devices...
[5/21/2023, 1:04:54 PM] [Levoit Air Purifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"Troy","deviceImg":"https://image.vesync.com/defaultImages/deviceDefaultImages/vs_wfon_apr_lap_v102s.png","cid":"vsaqf7a34fc42d3806c6ba20f6b0ff56","deviceStatus":null,"connectionStatus":null,"connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LAP-V102S-WUS","type":"wifi-air","uuid":"1513234f-ae69-4901-bb39-398f2ec645fe","configModule":"VS_WFON_APR_LAP-V102S-WUS_US","macID":"60:55:f9:b3:38:2c","mode":null,"speed":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"May 12, 2023 3:26:58 AM","subDeviceList":null,"extension":null,"deviceProp":{"workMode":"manual","AQLevel":1,"BTMac":"60:55:f9:b3:38:2e","PM25":1,"fanSpeedLevel":255,"powerSwitch":0,"wifiRssi":-36,"wifiMac":"60:55:f9:b3:38:2c","connectionStatus":"online"}}]
[5/21/2023, 1:04:55 PM] [Govee] [LAN] client enabled and found 0 device(s).
[5/21/2023, 1:04:55 PM] [Govee] [HTTP] retrieved access token from cache.
[5/21/2023, 1:04:56 PM] [Govee] [HTTP] client enabled and found 2 device(s).
[5/21/2023, 1:04:56 PM] [Govee] [AWS] client enabled.
[5/21/2023, 1:04:56 PM] [Govee] [AWS] connect event.
[5/21/2023, 1:04:56 PM] [Govee] [API] client enabled and found 1 device(s).
[5/21/2023, 1:04:57 PM] [Govee] [Desk bar lights] initialising with options {"adaptiveLightingShift":0,"aws":"enabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[5/21/2023, 1:04:57 PM] [Govee] [Desk bar lights] initialised with id [52:AD:C9:32:37:36:37:1C] [H6056].
[5/21/2023, 1:04:57 PM] [Govee] [Desk] initialising with options {"adaptiveLightingShift":0,"aws":"unsupported","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[5/21/2023, 1:04:57 PM] [Govee] [Desk] initialised with id [05:43:7C:A6:B0:9C:C8:36] [H613A].
[5/21/2023, 1:04:59 PM] [Govee] ✓ Setup complete. Have time to give this plugin a review? https://bit.ly/hb-govee-review
Looks like it found my air purifier (named troy) but it isnt showing up when i go to homekit on my phone. Let me know if you need anything else.

@Delaski Thank you, it is showing there but is not yet supported, can you tell me what features does it have and speed? and a similar model but from the Core family? Like it has same features like Core 300

@Delaski After check, this will be implemented after Everest support because they use the same data pattern

@RaresAil Ive included screenshot of the features on the app i believe it is similiar to the supported ones.

Any update on this? Currently using the 100S so if you need anything for testing let me know 😀

Hello, I also use the Vital 100s and have the information from the debug mode here again. The device does not appear in the Homebridge or the Home app.
Greetings Jannik
[DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"EU","isOwner":true,"authKey":null,"deviceName":"Vital 100s","deviceImg":"https://image.vesync.com/defaultImages/deviceDefaultImages/vs_wfon_apr_lap_v102s.png","cid":"vsaqf53abff49e1b387945a62e2f5bdc","deviceStatus":null,"connectionStatus":null,"connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LAP-V102S-WEU","type":"wifi-air","uuid":"4721b931-a5e6-4376-abfe-a600ccf5dc6e","configModule":"VS_WFON_APR_LAP-V102S-WEU_EU","macID":"64:e8:33:de:0f:04","mode":null,"speed":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Jan 2, 2024 11:30:37 AM","subDeviceList":null,"extension":null,"deviceProp":{"wifiRssi":-37,"powerSwitch":1,"fanSpeedLevel":0,"PM25":1,"AQLevel":1,"BTMac":"64:e8:33:de:0f:06","workMode":"auto","wifiMac":"64:e8:33:de:0f:04","connectionStatus":"online"}}]

+1 request for 100S support (if possible). I also have a 100S and am happy to help provide feedback/testing.

+1 request for 100S support (if possible).

Same for me here, support for Vital 100S and 200S would be much appreciated

#91

This should work in v3


Docs Spring Cleaning

This is a work in progress!
Global:

[ ] No more redundant URLs/titles
[ ] Top bar has links to the site, app, etc.
[ ] TypeSense integration for search
[ ] Integrations page?

Introduction (change this to Start Here)

[ ] Overview icons/quick link buttons
[ ] FAQ Updates
[ ] New protocol diagram

Guides (User Guides)

[ ] Trade guide refresh
[ ] Swap refresh
[ ] Pools refresh
[ ] Pool rates/rewards subpage
[ ] Bridge refresh
[ ] WIP Etherscan Guide

Protocol

[ ] Deployments table
[ ] Architecture page with diagrams
[ ] Rubicon Market organizing
[ ] Market Aid updates
[ ] Rubicon Router docs

APIs

[ ] Subgraph updates/organization
[ ] organize Rust SDK
[ ] organize Python SDK

Closing since this is quite outdated.


Logitech MX Master 3 for Mac can't set any buttons

I just found Piper and purchased a Logitec MX Master 3 for Mac mouse today. I didn't realize there were two versions of this mouse, but after some research it appears the only difference between the two is the silver accent color on the Mac version.
$ ratbagctl "Logitech MX Master 3 for Mac" info
singing-gundi - Logitech MX Master 3 for Mac
             Model: bluetooth:046d:b023:0
 Number of Buttons: 8
    Number of Leds: 0
Number of Profiles: 1
Profile 0: (active)
  Name: n/a
  Resolutions:
    0: 1000dpi (active)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to UNKNOWN
  Button: 6 is mapped to 'ratchet-mode-switch'
  Button: 7 is mapped to UNKNOWN

$ ratbagctl "Logitech MX Master 3 for Mac" button 1 action set button 0
$ ratbagctl "Logitech MX Master 3 for Mac" button 1 get
Button: 1 is mapped to 'button 2'

Has anyone got the MX Master 3 for Mac working with Piper?

Looks like everything works fine, what exactly is the problem here?


AdaptyError (code null) Product type is null

Hello, we are building an app and installed the Adapty SDK in order to have good and easy iap.
We did connected both AppStore and Google Play and also added ios sdk and android sdk.
Then we created products and paywalls. However, when we tried to get the product prices on android, we couldn't get the prices.
All of them are "0.0".
Also when we tried to make a purchase we get an error which is "AdaptyError (code null) Product type is null".
I have no idea about solving these probles, we would be very grateful if you could help us.

@ysahin20 Hi, I suppose the problem is about the access to products in Play Market as a tester. Could you please check out our guide?

@vladd-g As you said, the problem was about the access of the testers. Now i have the problem that says "the irem you requested is not available for purchase" but i will keep rewieving the guide about it and thank you for your response.


Don't include email on newer versions of Docker

Gets rid of Warning: '-e' is deprecated, it will be removed soon. See usage.

@mlocher we should be fine to merge this, identical changeset passed on Codeship with #43.


Losing editing work in JSON file when switching between tabs

Hi Jan,
I've noticed with the new release that if i'm making any changes to JSON, when I switch over to visually see the changes in the Token tab,  i lose all the work done. I know that i have to hit update, but this now seems to also take a bit longer. Not a deal breaker, but slows down speed to get tokens updated/modified.
(Doing great work btw!)
Rich

If you just want to update tokens, but don't need to see the result reflected in a component, I switch to an empty page to quickly make changes to the json.

Yep, i'm doing this as well. it's the habit i've formed in switching back and forth which trips me up. Would be good to have a warning if you are about to lose changes you've made to the JSON

It was recently changed so that you would have to save in order for your json to apply, as the previous way was leading to far too many errors for users.
I think we could show a warning that you're about to lose progress if you switch without saving.


fix(41736): tsserver should not crash if external file does not exist

If a file does not exist, projectService.getOrCreateScriptInfoNotOpenedByClient()
will return undefined, but tsserver does not handle this case.

Fixes #41736

Change looks good but please add a test in configured project testRunner\unittests\tsserver\configuredProjects.ts .. Some of the tests that use plugin are
https://github.com/microsoft/TypeScript/blob/master/src/testRunner/unittests/tsserver/metadataInResponse.ts#L27
https://github.com/microsoft/TypeScript/blob/master/src/testRunner/unittests/tsserver/externalProjects.ts#L60

@sheetalkamat thank you very much for the pointer! I've added a test for external file 😄


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2302

Questions ?
Please refer to the Backport tool documentation