[google_maps_flutter][ios] Unusual micro-stuttering and flickering ('jank') when panning or zooming around in a GoogleMap

Details

I am attempting to use the google_maps_flutter library in my project, however I'm noticing unusual and inconsistent microstuttering and flickering while moving around and particularly zooming in and out. Here is an attempt to capture some of that lag after running the app using flutter run --profile --trace-skia.
https://user-images.githubusercontent.com/10052313/166140440-36f23b97-be39-4f21-b4f9-f42db4238ff0.mp4
(Note: interestingly enough, it seems to perform slghtly better while I'm recording. Not sure what could cause that.)
Here is the code that I'm using to test this:
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() async {
  runApp(const TestMap());
}

class TestMap extends StatelessWidget {
  const TestMap({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: GoogleMap(
          initialCameraPosition: CameraPosition(target: LatLng(0.0, 0.0)),
        ),
      ),
    );
  }
}

I've attempted to explore the performance using the Flutter DevTools and statsfl, and they both seem to report no issues and a near-constant 60FPS, however the official Google Maps app does not have any similar jankyness, so I suspect I'm not reading the information correctly.

Target Platform: iOS
Target OS version/browser: 15.4.1
Devices: iPhone SE (2020)
Logs

Logs

% flutter analyze lib/map_test.dart
Analyzing map_test.dart...
No issues found! (ran in 0.9s)

flutter doctor -v output:
[✓] Flutter (Channel master, 2.13.0-0.0.pre.840, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
    • Flutter version 2.13.0-0.0.pre.840 at /Users/me/Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 43555d0504 (6 hours ago), 2022-04-30 23:34:05 -0400
    • Engine revision 9a1f497f1d
    • Dart version 2.18.0 (build 2.18.0-74.0.dev)
    • DevTools version 2.12.2

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
    • Android SDK at /Users/me/Library/Android/sdk
    • Platform android-31, build-tools 33.0.0-rc2
    ✗ Android SDK file not found: /Users/me/Library/Android/sdk/build-tools/33.0.0-rc2/aapt.
    • Try re-installing or updating your Android SDK,
      visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8309675/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2021.3.3)
    • IntelliJ at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/213.7172.25/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2021.3.1)
    • IntelliJ at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/213.6461.79/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • iPhone SE (2nd generation) (mobile) • [redacted] • ios • iOS 15.4.1 19E258
    ! Error: iPad is not connected. Xcode will continue when iPad is connected. (code -13)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

@tasgon Thanks for the report.
I used the code sample and ran it on iPhone 6s (OS 15.3), but didn't observe the jank when panning or zooming. See below:
https://user-images.githubusercontent.com/67046386/166213688-ee691d52-09c7-4ac4-ae39-b31fd9b34155.mov

flutter run --profile --trace-skia

Do you experience the jank only in profile mode or in release mode too ? Do you by chance have another iPhone device to check if using that too, the jank persists ? I don't have the said device so can't confirm properly.

Do you experience the jank only in profile mode or in release mode too ?

I'm seeing the jank in --release mode as well.

Do you by chance have another iPhone device to check if using that too, the jank persists ?

I may be able to test on an iPhone XR as well, but not at the moment. I'll attempt to do that as soon as I can (likely later today) and post results here.

Also, as a curiosity, when you test around locally, would you mind trying to zoom in until you start seeing inner cities and more details (terrain, roads, etc.) start getting rendered? That is usually when I start seeing heavy frame drops.

@tasgon
Yes, tried to zoom until further, but didn't experience the jank.
https://user-images.githubusercontent.com/67046386/166411139-f6b65dbb-1b20-49e1-8066-f8eb5b88729d.mov
I am wondering if this is specific to device (in your case, iPhone SE). The device I've is a bit old.

I am wondering if this is specific to device (in your case, iPhone SE). The device I've is a bit old.

I am using the 2nd generation iPhone SE, released in 2020 with an A13 chip. I'd be surprised if that was old enough to cause these kinds of performance issues.

I was able to reproduce some stuttering on both master and stable.
Observations

The stuttering doesn't translate well to recordings (You see it better than you would if you weren't recording)
It is more noticeable when moving to a "crowded" area of the map that hasn't been visited yet or in a while. (Crowded means there are a lot of points on the map to be rendered, like cities, roads, etc)
It was more noticeable when I was flinging than gradually panning.

Complete sample can be found in https://github.com/flutter/flutter/issues/102895#issue-1222093472.

video
https://user-images.githubusercontent.com/88313112/166637819-9864e40b-347a-4962-b1ea-4aeb45ecc1e7.MP4

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 2.10.5 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (2 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 2021.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 11.0.11+0-b60-7772763)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

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

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 15.4.1 19E258
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 100.0.4896.127

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.886, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.886 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e9c0ee1e08 (3 hours ago), 2022-05-04 00:29:07 -0400
    • Engine revision 0b46116471
    • Dart version 2.18.0 (build 2.18.0-82.0.dev)
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 2021.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 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

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

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 15.4.1 19E258
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 100.0.4896.127

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

My addition to this which led me here - I've implemented Maps like a card inside a SingleChildScrollView with a layout like Google Playstore's homepage. and the map consists a few markers. Whenever user scrolls in the ScrollView, map flickers and the markers disappear and reappear.
It's bad enough that it kills all the purpose of using the map. Even a minor touch interaction with any widget on the screen fluctuates the map and its markers.

Issue still appears to be present in 3.7.0:

video
https://user-images.githubusercontent.com/10052313/209308333-a0b18ede-c802-45b2-81ac-7aa17b681b8f.MP4

flutter doctor
```
[✓] Flutter (Channel master, 3.7.0-4.0.pre.26, on macOS 13.0.1 22A400 darwin-arm64, locale en-US)
    • Flutter version 3.7.0-4.0.pre.26 on channel master at /Users/me/Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef6ead4401 (2 weeks ago), 2022-12-06 23:15:24 -0500
    • Engine revision 67254d6e4b
    • Dart version 2.19.0 (build 2.19.0-467.0.dev)
    • DevTools version 2.20.0
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/me/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Users/me/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8512546/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8309675/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
[✓] Android Studio (version 2021.2)
• Android Studio at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8512546/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2021.3.3)
• IntelliJ at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/213.7172.25/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] IntelliJ IDEA Community Edition (version 2022.2)
• IntelliJ at /Users/me/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/222.3345.118/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.73.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (3 available)
• iPhone SE (2nd generation) (mobile) • 00008030-000E4D040CF9402E • ios            • iOS 15.6.1 19G82
• macOS (desktop)                     • macos                     • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
• Chrome (web)                        • chrome                    • web-javascript • Google Chrome 108.0.5359.124
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
</details>


feat: use built in create2

#35  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tremarkley and the rest of your teammates on  Graphite


how to launch a service using downloaded model weights?

System Info
I have downloaded model weights of bge-models, and I want to launch a model service using TGI, the command is :
model=/storage/nfs2/ModelHub/embedding/BAAI/bge-small-zh-v1.5
revision=refs/pr/5
volume=$PWD/data # share a volume with the Docker container to avoid downloading weights every run

docker run --gpus all \
-p 3001:3001 -v $volume:/data text-embeddings-inference:1.2 \
--model-id $model --port 3001 --revision $revision

but I got the follwing error:
2024-06-25T03:13:34.201754Z  INFO text_embeddings_router: router/src/main.rs:140: Args { model_id: "BAA*/***-*****-**-v1.5", revision: Some("refs/pr/5"), tokenization_workers: None, dtype: None, pooling: None, max_concurrent_requests: 512, max_batch_tokens: 16384, max_batch_requests: None, max_client_batch_size: 32, auto_truncate: false, hf_api_token: None, hostname: "54903bb17567", port: 3001, uds_path: "/tmp/text-embeddings-inference-server", huggingface_hub_cache: Some("/data"), payload_limit: 2000000, api_key: None, json_output: false, otlp_endpoint: None, cors_allow_origin: None }
2024-06-25T03:13:34.201950Z  INFO hf_hub: /root/.cargo/git/checkouts/hf-hub-1aadb4c6e2cbe1ba/b167f69/src/lib.rs:55: Token file not found "/root/.cache/huggingface/token"
2024-06-25T03:13:36.546198Z  INFO download_artifacts: text_embeddings_core::download: core/src/download.rs:20: Starting download
Error: Could not download model artifacts

Caused by:
    0: request error: error sending request for url (https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/refs%2Fpr%2F5/config.json): error trying to connect: Connection reset by peer (os error 104)
    1: error sending request for url (https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/refs%2Fpr%2F5/config.json): error trying to connect: Connection reset by peer (os error 104)
    2: error trying to connect: Connection reset by peer (os error 104)
    3: Connection reset by peer (os error 104)
    4: Connection reset by peer (os error 104)

It seems to download model from huggingface but I want to use my private model weight.
my privatre weight:
>> ls /storage/nfs2/ModelHub/embedding/BAAI/bge-small-zh-v1.5
1_Pooling                          model.safetensors  README.md                  tokenizer_config.json
config.json                        modules.json       sentence_bert_config.json  tokenizer.json
config_sentence_transformers.json  pytorch_model.bin  special_tokens_map.json    vocab.txt

Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
docker run --gpus all
-p 3001:3001 -v $volume:/data text-embeddings-inference:1.2
--model-id $model --port 3001 --revision $revision
Expected behavior
luanch the service successfully

Hey @chenchunhui97, thanks for your report! Usually we recommend having your model be private on the Hub and using a token to access it, as shown in this doc: https://huggingface.co/docs/text-generation-inference/basic_tutorials/gated_model_access
Once the model is downloaded you should be able to turn off internet access by setting the HF_HUB_OFFLINE envvar to false or 0.
Please let me know if you run into an issue!

see https://github.com/huggingface/text-embeddings-inference/issues/207


[BUG] Yooksmart blinds reporting position backwards after 8/25 custom quirk

Describe the bug
After the custom quirk was added on 8/24 my Yooksmart blinds which were previously working correctly started reporting their positions backwards. Additionally, after adding and removing them from HA in an attempt to fix them, now they no longer report any position other than 0 or 100. This appears to be related to the firmware version as I am on version 0x11006780 and they worked fine before the custom quirk. I did try modifying the quirk to disable it as suggested here (https://github.com/zigpy/zha-device-handlers/pull/971#issuecomment-938174298). Doing so does reverse the percentages to 100 fully open and 0 fully closed, however the in-between percentages still do not report.
Additionally, sending a close or open command with any % will just result in the blinds either fully opening or fully closing, it will never stop at the intended percentage.
To Reproduce
Steps to reproduce the behavior:

Pair blinds with HA
Open or close the blinds and observe them report 0% when fully open and immediately jump to 100% as they start to close

Expected behavior
The blinds used to display 0% when fully closed and increment by 1% when opening all the way up to completely open @ 100%
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Device Signature:
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4169, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.0: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x0202",
"in_clusters": [
"0x0000",
"0x0001",
"0x0003",
"0x0004",
"0x0005",
"0x0020",
"0x0102"
],
"out_clusters": [
"0x0003",
"0x0019"
]
}
},
"manufacturer": "yooksmart",
"model": "D10110",
"class": "D10110blinds.D10110Blinds"
}

Any chance we could get some eyes on this? My blinds have been busted for 3 months. I can help test and provide any logs or additional info necessary; I just really want to get my blinds working normally again.


Upgrade to Spring Boot 2.2.2.RELEASE

Looks like there might be conflicts. Can you rebase and re-push?

Merged in c0223a3 (only one commit needed)


Update safeguarding_for_device_users.md

Context
Changes proposed in this pull request
Guidance to review

Closing in favour of #192.


Pending Excepetion is listing overwritten application exception too

Bug:
when a student have an application with exceptions and the expending is pending with ministry and before ministry approval, if he/she edit it and submit the application with another exception. The pending Exceptions data table in ministry is listing all the expectation irrespective of the "overwritten` status. I believe we are missing the application status check. In below screenshots 2 of them are overwritten

Fix: Add application status check in the query

@ann-aot Thanks for catching this, I was just about to make a similar ticket.
Can I please point out that PIR has the same problem, i.e. 'overwritten' PIR requests appear in the Institution PIR queue as well, making it very complicated for institution staff to know which one to action


How do I add yasnippet as a backend for company for all backends?

What are you trying to achieve?
What I would like to have is yasnippet snippets in the auto-completion pop-up for every language.
What have you tried?
I tried using this stack overflow response:
but it seems to be very different in doom emacs.
I suppose this is due to the fact that each file has it's own set of backends, so the command that sets the company backends actually only does it with the backends that are here when it's executed.
I trigger the last line after company is loaded but that doesn't help due to this fact.
(after! company (setq company-backends (mapcar #'company-mode/backend-with-yas company-backends)))

also, I've seen this issue: https://github.com/hlissner/doom-emacs/issues/77
It uses  the set! command for modifying company-backends for specific modes, is there something similar for applying the function in the SO thread to the backends for certain modes as a quick fix?
Additional information

Do you have screenshots/casts of this workflow in another editor or Emacs
distro? (If possible, include names of specific commands or functions from
other editors/emacs distros)
In Vim, with coc.nvim (the equivalent of company) there is the possibility of having ultisnip (the equivalent of yasnippet) for all file types as a backend, so in any files, the snippets will be in the auto-completion pop-up.
Do you have additional material or links to resources that could help clarify
what you are trying to do?

System information

emacs   version    26.3
        features   XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2
        build      May 19, 2020
        buildopts  (--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now)
        windowsys  x
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop 4b20c7206 2020-03-13 17:34:44 -0400
        dir        ~/.doom.d/
system  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /usr/bin/zsh
        uname      Linux 5.6.13-arch1-1 #1 SMP PREEMPT Thu, 14 May 2020 06:52:53 +0000 x86_64
        path       (~/.opam/default/bin /usr/lib/ccache/bin/ ~/.local/bin /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /opt/sonar-scanner/bin ~/.vim/bundle/vim-live-latex-preview/bin/ /usr/lib/emacs/26.3/x86_64-pc-linux-gnu/)
config  envfile    envvar-file
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard hl-todo hydra indent-guides modeline nav-flash ophints (popup +all +defaults) treemacs unicode vc-gutter vi-tilde-fringe window-select workspaces zen :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets word-wrap :emacs dired electric ibuffer vc :term vterm :checkers syntax spell grammar :tools debugger docker (eval +overlay) (lookup +docsets) lsp magit pdf rgb :lang assembly (cc +lsp) data (elm +lsp) emacs-lisp (java +meghanada +lsp) (javascript +lsp) kotlin latex markdown (org +dragndrop +hugo +jupyter +pandoc +pomodoro +present) (php +lsp) plantuml (python +lsp) (rust +lsp) scala (sh +lsp) terra (web +lsp) :email mu4e :app calendar irc (rss +org) :config literate (default +bindings +smartparens))
        packages   ((org-fancy-priorities) (emojify) (gdscript-mode :recipe (:host github :repo GDQuest/emacs-gdscript-mode :files (*.el data/*.txt))) (esup) (sublimity) (evil-matchit))
        unpin      (n/a)
        elpa       (org-fancy-priorities)

Answer on the doom emacs discord server:
The current system is a bit clumsy. e.g.

(after! python
  (set-company-backend! 'python-mode '(company-yasnippet ...)))

To set a default for a parent mode isn't very easy otherwise. I'm working on changing it, but honestly there are so many possible combinations I haven't come up with a good solution for it yet.

I'll update this issue with the following responses but close the issue since it was answered


Undefined symbol: _ZN3c104cuda9SetDeviceEi while using vLLM

Hi, thanks for maintaining this wonderful project!
I am trying to load models with vLLM and I have successfully installed required dependencies by
pip install -e ".[vllm]"

However, when I tried to launch lm-eval with vLLM, the following undefined symbol error occurred:
2024-01-24:04:13:44,829 INFO     [utils.py:145] Note: detected 128 virtual cores but NumExpr set to maximum of 64, check "NUMEXPR_MAX_THREADS" environment variable.
2024-01-24:04:13:44,829 INFO     [utils.py:148] Note: NumExpr detected 128 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
2024-01-24:04:13:44,829 INFO     [utils.py:160] NumExpr defaulting to 8 threads.
2024-01-24:04:13:45,610 INFO     [config.py:58] PyTorch version 2.0.1 available.
Traceback (most recent call last):
  File "/home/user/anaconda3/envs/lmeval/bin/lm-eval", line 5, in <module>
    from lm_eval.__main__ import cli_evaluate
  File "/home/user/lm-evaluation-harness/lm_eval/__init__.py", line 1, in <module>
    from .evaluator import evaluate, simple_evaluate
  File "/home/user/lm-evaluation-harness/lm_eval/evaluator.py", line 11, in <module>
    import lm_eval.models
  File "/home/user/lm-evaluation-harness/lm_eval/models/__init__.py", line 7, in <module>
    from . import vllm_causallms
  File "/home/user/lm-evaluation-harness/lm_eval/models/vllm_causallms.py", line 22, in <module>
    from vllm import LLM, SamplingParams
  File "/home/user/anaconda3/envs/lmeval/lib/python3.9/site-packages/vllm/__init__.py", line 3, in <module>
    from vllm.engine.arg_utils import AsyncEngineArgs, EngineArgs
  File "/home/user/anaconda3/envs/lmeval/lib/python3.9/site-packages/vllm/engine/arg_utils.py", line 6, in <module>
    from vllm.config import (CacheConfig, ModelConfig, ParallelConfig,
  File "/home/user/anaconda3/envs/lmeval/lib/python3.9/site-packages/vllm/config.py", line 9, in <module>
    from vllm.utils import get_cpu_memory, is_hip
  File "/home/user/anaconda3/envs/lmeval/lib/python3.9/site-packages/vllm/utils.py", line 8, in <module>
    from vllm._C import cuda_utils
ImportError: /home/user/anaconda3/envs/lmeval/lib/python3.9/site-packages/vllm/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN3c104cuda9SetDeviceEi

I am using python=3.9.18, torch=2.0.1, cuda=12.1, lm-eval=0.4.0, vllm=0.2.5. Any idea on this? Thanks in advance!

Hey! Looks like it requires torch >= 2.1.

Solved by reinstalling my packages, and now it works well. Thank you @baberabb !

@sdc17 What packages did you use?


PrivateHandlerExample.php calling wrong function in APIKey

Synful API Framework: Issue Report
Synful Version
v2.0.6
Stack Trace
{"error_code":8192,"error":"Unknown Error: Non-static method Illuminate\\Database\\Eloquent\\Model::getKey() should not be called statically in \/var\/www\/html\/src\/Synful\/App\/RequestHandlers\/PrivateHandlerExample.php at line 56"}

Reproduce
Submit a request to example/private RequestHandler.
Other
To fix this issue we simply need to replace the ->getKey() call with ->getApiKey() in PrivateHandlerExample.php

Fixed in PR #171


[New Process Improvement Need]: Guidance on GitHub organization / sub-projects

Checked for duplicates
Yes - I've already checked
Category
Software Lifecycle - the creation, change, and release of software
Describe the need
We have a need for guidance on overall structure of GitHub Org and sub-projects (+1'd by @kgrimes2 @mcduffie @galenatjpl)

+1'd by @nttoole

Some example use cases to consider:

Role-Based Access: A project with several repositories might need differentiated access levels. Developers working on front-end code might not need (or should not have) access to the backend repositories, and vice versa.
Code Review & Quality Assurance: Senior developers or lead engineers might be responsible for code reviews. Structuring teams properly can ensure that pull requests are directed to the appropriate individuals for review. Additionally, certain team members may require the ability to assign reviewers to any PRs (this is a form of helping triage).
Documentation & Communication: Teams dedicated to documentation might require access to all repositories but may not need write permissions, just the ability to read and suggest changes.
Continuous Integration & Deployment: Those in charge of CI/CD pipelines might need unique permissions to manage hooks, triggers, and deployment keys across various repositories.
External Collaborators: In some cases, external consultants or collaborators might need temporary access to certain repositories without giving them access to the entire project.
Project Management & Oversight: Project managers or product owners might need an overview access to track progress, without necessarily diving deep into code changes. Their primary interest might be in issues, milestones, and project boards.
Triage Certain team members may be in charge of helping to triage tickets or pull requests, including assigning reviewers or implementors.


How can i open specific browser in webview i.e Microsoft edge

How can i open specific browser in webview i.e Microsoft edge

AFAIK that is not possible.


1080p updates

fix life affixes, add Decay, Embalmer and movement after elite.

Separating maximum life in maximum and life could be useful when you get false positives between maximum life and maximum mana.
However then you would need to split maximum minion life into three keywords for it to work.


Linux client mounts /keybase as root, but every file under it is also owned by root

It seems maybe you don't allow setuid bits on the files, but it'd be more reassuring if you could set the owner/group of any files under private or public folders to be that of the logged in and authenticated user, maybe? Feels like a possible security vector to be aware of, perhaps?

Thanks for the feedback!  Agreed it probably makes sense to show the files as owned by the local user account that mounted the file system (we can't show the authenticated Keybase user, since that doesn't necessarily correspond to a proper account on the computer).
However, I'm not aware of any security issues with not doing so.  The FUSE mountpoint won't let anyone besides the user look into the mount (try sudo ls /keybase/), and I don't know how else the owner/group of a file could be used to escalate privilege.  But if I'm missing something, please let me know and we can prioritize this.

Files under /keybase are now owned by the user who ran run_keybase.


CI Integration test: Increase transactions from Faucet

Hopefully this will help prevent so many empty blocks.

Closing as is included in another merged PR.


style: Improve the typography of the initial letter of the first paragraph of the card

Describe the bug
there are inconsistencies in the display of the the initial letter of the first paragraph between the different web-browsers. especially on Firefox
Expected behavior
homogenize the display:

the drop cap is on two lines,
the drop cap is on the same line as the second line,
optional: the first line after the drop cap is in small caps (need testing in css: :: first-line)

Screenshots
linux FF:

windows 10 FF:

windows 10 Chrome:

windows 10 edge:

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Consider CSS level 3 ::first-letter for mobile devices instead of the CSS level 2 :first-letter
https://caniuse.com/#feat=css-first-letter

progress is progress... edge, FF, Chrome

📑 edge doesn't support ::first-line 😞


fix: add missing tests folder required for build

cal.com v3.2.9 has a new tests folder. The Docker image build fails without it.

Thanks for making this update! testing now

Thank you @marcmontu!


Minor documentation fix

The example for finding items tagged with all of the tags was incorrect.
Old
Find a user with matching all tags, not just one
User.tagged_with(["awesome", "cool"], :match_all => :true)
New
Find a user with matching all tags, not just one
User.tagged_with(["awesome", "cool"], :all => true)
Thanks for your work on this gem.
Alan

Maybe i missed smth but api was not changed. I am sure where you took :all => true ?
Checkout - https://github.com/mbleigh/acts-as-taggable-on/blob/master/lib/acts_as_taggable_on/acts_as_taggable_on/core.rb#L148

You are correct in the source - I had an error on match_all but it running bundle install cleared it up.
Itt should be changed to  :match_all => :true but :match_all => true
Alan
On Jan 6, 2012, at 5:42 AM, Artem Kramarenko wrote:

Maybe i missed smth but api was not changed. I am sure where you took :all => true ?
Checkout - https://github.com/mbleigh/acts-as-taggable-on/blob/master/lib/acts_as_taggable_on/acts_as_taggable_on/core.rb#L148

Reply to this email directly or view it on GitHub:
https://github.com/mbleigh/acts-as-taggable-on/pull/215#issuecomment-3384596

@AlanMcCann got it!


User Onboarding : Use vercel/pkg to build rill-developer for different platforms

Initiative
We need to build rill-developer using vercel/pkg. We need to build this on different platforms because of duckdb.  We will have different travis-ci jobs for different platforms that pushes binaries to the release.
Description
Significant improvements in the amount of time it takes to install Rill Developer for all users.
Problem Statement
The amount of time it takes to install Rill Developer is too long and users get little feedback.
Definition of Done
Significant improvements in the amount of time it takes to install Rill Developer for all users.  Improved feedback on what is happening during install as needed.
Resources
https://www.notion.so/rilldata/Reduce-Rill-Developer-Install-Time-5133889f718e4ff1ab4455289f630768
Checklist of Issues

[ ]  Binaries for Mac (M1 and Intel), Linux and Windows available in the release.
[ ]  Updated our instructions on how to execute this work for releases moving forward. Please link out to Notion docs here.
[ ]  The generated binary files should all have the appropriate extensions.
[ ]  The correct developer signing identification should be present for iOS gatekeeper https://developer.apple.com/developer-id/
[] Binaries integrated into the User Journey.

We are not seeing binaries for all operating systems and need to reopen this issue.  The definition of done provides:

[ ] Binaries for Mac (M1 and Intel), Linux and Windows available in the release.
[ ] Updated our instructions on how to execute this work for releases moving forward.  Please link out to Notion docs here.
[ ] The generated binary files should all have the appropriate extensions to open correctly upon install.
[ ] The correct developer signing identification should be present for iOS gatekeeper https://developer.apple.com/developer-id/

This work is blocked.  @AdityaHegde is waiting to hear back from Lindsey on the correct developer signing identification.

@magorlick They don't need any extensions to run. M1 mac will need a separate binary to work.

Are you sure it doesn't need an extension? I just downloaded rill-macos-x64 and it treated it like a text file. I'm not sure how to use it to install rill

Hey Davis, we need to improve this workflow, but for now, here are a few more steps:

Run chmod a+x <path/to/binary> to make the file an executable. You don't need to add a file extension.
Run xattr -d com.apple.quarantine <path/to/binary> to "trust" the application. We haven't yet registered the app with Apple, so Apple's default is to prevent you from opening it.
For convenience, you'll want to make an alias for the executable, e.g. alias rill = <path/to/binary>

I think that should work for you, but please let us know if it doesn't!

Ah, that worked. Thanks!


Generalize server keys

Unfortunately the database is still called "timestamp_keys" and I'm not sure how to fix that cleanly. Everything else has been generalized though so that one piece of ugly legacy hangover is highly contained to the database migration files, and the Key.TableName method.

@endophage I think MySQL supports atomic renaming of tables:  https://dev.mysql.com/doc/refman/5.7/en/rename-table.html
So we can add a migration for that, if you like.

A couple more test cases involving the same gun with a different role would be awesome (maybe even inserting the same key for multiple roles?)

@cyli I figured I'd add those tests as part of the actual snapshot management stuff so they're coming, just in a different PR.
As far as renaming the table, it's definitely possible, it's just impossible to synchronize with a code push, and even more scary, if something goes wrong and we say, have to restore the DB from a backup, we've suddenly caused a significant outage.

@endophage Oh I meant specifically tests for the storage driver that tests the unique key comprising the gun and role.  (e.g. that same role but different gun and vice versa can be successfully added to the DB, but the same gun and same role, even if the keys are different, cannot be added to the DB).
Also, similar DB changes should probably be added to either notarymysql initial.sql or migrate.sql, else notarymysql will be in a broken state after this PR - I know that we were going to fix our mysql stuff anyway, I just wasn't sure whether it's ok to leave it broken in the meantime?

@cyli last 2 commits update migrate.sql and add tests respectively.

Other than the above nitpick, LGTM!

@cyli good call on that test update. I think gorm may not set up multicolumn unique indexes properly... (possibly just in sqlite). It wasn't erroring when I tried to insert a duplicate gun+role but a different key/algorithm. Small code update along with test fix in the last commit.


"Win" rule might be broken

There is a rule called "Win" (not mentioned in README), but it seems to be broken - it's not opening Launchpad for me. Based on karabiner key codes list command cannot be used as from.key_code. The rule starts working after changing the key code to left_command.
@rux616 Could you please confirm my suspicions? I can open PR with a fix (and maybe some improvements) later on.

That bit was a relic from way back when I first started this project (an attempt to address #13), and I had forgotten about cleaning it up. If you'd like to submit a PR to get it working, I'll be happy to review it.


[solution] uk/easy-concat.md

Challenge uk/easy-concat.md
Checklist

[x] Make sure that you are opening the PR with a single solution (one solution per PR)
[x] The solution must have at least several references for the readers to dive in depth

@bdvorianov same, I've enabled auto-merge. Once you both agree on wording, just approve the PR 😄


Switch to NodePort in example

Simplest of simple should use NodePort

nodePort is not really good practice,  I don't think we should show it in our examples


Issue-36 : More robust JSON escaping normalization

The previous regex was too generous, and messages with single \ for escaping, say, "  were also turned into the wrong / .

Do you think using something like (path.normalize)[https://nodejs.org/api/path.html#pathnormalizepath] would be a better option as that might handle other cases as well? Or should this change be good enough?

Hi Robert,
Your suggestion is not escaping correctly on windows

[{"filepath": "models\staging\appsflyer\stg_appsflyer__users_attribution_enriched.sql", "violations": [{"line_no": 51, "line_pos": 19, "code": "L001", "description": "Unnecessary trailing whitespace."}]}]

Resulting in an invalid Json:

Error: Parse error on line 2:
[{	"filepath": "models\staging\apps
---------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

The change I suggested above is less optimal (I really do prefer your suggestion using path.normalize) but works on windows.

An additional comment, even if the escaping using regex on windows works, it displays a warning on the User I tested the extension. I'm not sure how related this can be:

C:\Users\grazi\AppData\Local\Programs\Python\Python310\lib\site-packages\requests_init_.py:102: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (5.0.0)/charset_normalizer (2.0.12) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "

Ok, thanks for checking. I will get this merged and should have a release out either tonight or tomorrow.

@jice-lavocat turns out I needed the old way of normalizing the path for something I recently added. I kept your method of normalizing the path for reading the JSON. Will that be enough or should I default to your style and only use the old normalize where I need it.


Validate builder calls

[x] validate that parameters defined in the message are set

[x] Validate no error code is used twice

[ ] Validate error code matches regex

moved remaining point to #27


import WIP to pagination template

Please import the WorkInProgress component into the PaginationTemplate found inside components/ContentTemplates folder.
Then render the WorkInProgress component instead of the current div and placeholder sentence.
See the AlertsTemplate component if unsure how to do this and follow the same pattern.

I would like to work on this if this issue is still open.

Yes sure


Sample out of date?

"For example code of handling Rendering, see shooting game sample." -- This statement in the doc might be out of date. I downloaded the sample and didn't find any App::OnRendering method or Rendering event handling.

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

ID: 3e1694b7-b07b-d125-d80b-d1644f8526f3
Version Independent ID: 0f39fb01-1b90-7860-21bf-042ccb669ffc
Content: Media.Rendering Event (Windows.UI.Xaml.Media) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.media.compositiontarget.yml&version=GBlive&_a=contents
Service: unspecified
GitHub Login: @wdg-dev-content
Microsoft Alias: wdg-dev-content

@stmoy is this your area?


User Safety

I think an important part of this this is to allow users to block others so that a user cannot interact with them at all.
Also, that the app has a moderation team, where a user can report harmful + abusive behavior, and that the culprit is banned from the app.

Hi @greyag, this is a good line of thinking. It feels like it probably belongs in governance: https://github.com/TheDigitalStandard/TheDigitalStandard/tree/master/Governance %26 Compliance (Are they good%3F)
But not sure exactly where. It could also be part of "security" if we broaden that to include user safety. @stephtngu @stephtngu-CR has been thinking about this.
Should we specify something like:
"an app with user generated content should have a trust & safety team; and have a set of processes to address harm and abuse." We'd need to think about the criteria vs. the procedures for checking. Checking for the existence of a reporting mechanism might be a procedure, for instance.
We have done some research recently that could be an interesting resource: https://www.consumerreports.org/social-media/combat-hate-speech-and-misinformation-on-social-media/


[DRAFT] Sync all deploy branches into main in prep for generating prod branch

Description
As recommended in #522, this PR will merge all deploy-* branches into main. Once it is merged, we will generate prod as a branch from main, and officially begin the new deployment scheme.
Changelog

deploy-changehc (3 ahead)
deploy-jhu (0 ahead)
deploy-usafacts (3 ahead)
deploy-google_health (1 ahead)
deploy-safegraph (2 ahead)
~deploy-quidel (13 ahead; conflicts)~ repaired-deploy-quidel (11 ahead)

@korlaxxalrok to check the ansible vault and verify that both changehc and quidel secrets are included.

@krivard Secrets look good 👌

Merged, created prod branch off of the resulting main, and enacted branch protection rules


Move annotate dropdown to header

This moves the Annotate dropdown to the header, as well as removes the Back arrow icon on the right and does some minor adjustments to the header. This does not completely remove the toolbar from the Map page, as that's likely going to be connected with the PR that implements the drop-down of the rich text editor controls.

Screenshots?

Will pull down to test when my vm finishes provisioning, but otherwise LGTM.
Is this rebased against bbg_production?

I rebased it against bbg_production yesterday, but it's likely other commits went in since. Do you want me to do that now or before this goes out?
Screen shots:

Go ahead and do it now.
Can we remove the grey toolbar div?

Looks like we also still need to update the Edit/Publish buttons in the top right. Has anyone started that?

Oh, looks like that's maybe taken care of in #69. @fungjj92 is that the case?

Rebasing now. We can't remove the grey toolbar div without disabling rich text formatting, but if we're Ok with moving forward without the sliding rich text annotation toolbar for the time being then it's a pretty simple change. I was playing around with it earlier and it doesn't seem to cause any errors even if we leave the display toggle logic in place.

@mbforr are you ok with the sliding text annotation toolbar disappearing temporarily so that we can get everything else in the wireframes today squared away? We can re-add it tomorrow (as the sliding panel) once all of the other tasks are complete. In the meantime, annotations can still be added, deleted, moved around, and have basic inline text edits made.

@CloudNiner yeah that works for today.

+1 on fixing the console error:
table.js:73824 Uncaught TypeError: Cannot read property 'map' of undefined

Alright, with @CloudNiner's help the bug has been fixed and I have rebased everything together and all seems well. @CloudNiner, I believe you said you wanted to take one last look before pushing so I'll leave that to you, click the button at your ready!

Awesome, looks great! Merging.


More release fixups

MANIFEST.in fixups:

Some files were not being included in sdist that previously were at the last release (e.g. all the js files).
Some files were missing from all packages (e.g. AUTHORS).
Some files were specified but don't need to be (e.g. setup.cfg)

Also:

more details on release procedure (e.g. testing)

The generated sdist is approx same size as before (about 3 MB uncompressed).


left_column: add Jarno as Jupyter instructor

@rantahar

Thanks!
(I cannot review or merge for CodeRefinery, otherwise I would)


Javascript implementation of a Binary Heap

ISSUE-43

[x] A .md doc explaining the internals of a Heap.
[x] A .js file implementing a heap.

Thanks for this PR, Ogooluwa. And thanks for your patience too :').


fix: added workflow-trigger for update-docs

Description

I just added the workflow_dispatch Github action in the update-docs-in-website.yaml file.
Fixes issue #1301

/rtm

Thank you @Souvikns

@all-contributors please add @Vishal2002  for code


Unclear how to show selected column with dynamic row updates

In the features example, there is a column that shows automatically to indicate which rows the user has selectable. As I understand, that column does not need to be manually specified - you simply set SelectableRows(true) on the model. I'm trying to get that column to display when the row data is being dynamically populated.
The table is created like this:
// this is the underlying bubbletea model
type model struct {
	table    projectsTable
	projects []Project
}

type projectsTable struct {
	model table.Model
}

func createProjectsTable() projectsTable {
	columns := generateColumns()
	rows := generateRowsFromProjects([]Project{})

	model := projectsTable{
		model: table.New(columns).
			WithRows(rows).
			SelectableRows(true).
			WithSelectedText(" ", "Y").
			Focused(true).
			SortByAsc(columnLastModified),
	}
	return model
}

func generateColumns() []table.Column {
	columns := []table.Column{
		table.NewFlexColumn(columnName, "Name", 1),
		table.NewFlexColumn(columnPath, "Path", 3),
		table.NewColumn(columnLastModified, "Last Modified", 20),
	}
	return columns
}

func generateRowsFromProjects(projects []Project) []table.Row {
	rows := []table.Row{}
	for _, entry := range projects {
		row := table.NewRow(table.RowData{
			columnName:         entry.Name,
			columnPath:         entry.Path,
			columnLastModified: entry.LastModified.Format("2006-01-02 15:04:05"),
		})
		rows = append(rows, row)
	}

	return rows
}

In the initial state where rows is empty, the selected column displays correctly
But I have a keybinding that lets the user regenerate the rows when m.projects data is updated:
m.table.model = m.table.model.WithRows(generateRowsFromProjects(m.projects)).WithColumns(generateColumns())

When that happens, the table updates with the correct data but the select column is no longer visible
Is there something special that needs to be done when the rows are being updated/replaced using WithRows()? I couldn't find anything in the documentation about this as it seems everything related to the select column is handled automatically under the hood

so after messing around with this a bit more, it seems the problem is with WithColumns(generateColumns()).
this works correctly if I remove that call, but shouldn't the select column be automatically added even if I respecify which columns are displayed?

The simple answer to your original question: this is a bug.  The selected text column should properly persist after WithColumns is called again.  I can reproduce this locally, and this should be fixed.
The more specific answer to your particular case is that you shouldn't need to call WithColumns if your columns aren't changing.  The columns alone should persist.

Interestingly, I'm also realizing now that the select functionality won't persist after WithRows is called, because it doesn't know which new row corresponds to an old selected row.  That may need some further thought, and if you need this functionality let's open a new issue.  This issue will just be scoped to fixing the disappearing column, I just wanted to point that out as a potential followup.

I've f

Whoops, I didn't mean to let it autoclose.  I'll let you close this if you consider it fixed, or I'll close it myself later if there's no reply for a bit.  Released as v0.15.7, using WithColumns and SelectableRows should properly keep the selected column in place after changing columns.
That being said, you shouldn't need to use WithColumns in your given example, so you may want to get rid of it anyway unless you really are changing columns around on the fly.

just tried it out and it works great, thanks for your speed!


Refactor plugin management

Refactor plugin management:

support multiple plugins per executable
support restarting a plugin process in the event it terminates
simplify plugin lifecycle management by using separate managers for
each scope (server vs backup vs restore)

To-dos:

[ ] Add max # of restarts and/or restart backoff

Fixes #481
Things to verify:

[ ] all plugins work as expected
[ ] when a plugin process terminates, all Init()able plugins are reinitialized
[ ] we can run a backup & a restore at the same time and the plugins work ok (no races)
[ ] log messages from plugins are delivered to the server log appropriately
[ ] per-backup/restore logs continue to work

Signed-off-by: Andy Goldstein<EMAIL_ADDRESS>

One thing I want to do is some benchmarking of running plugins such as backup item actions. It seemed "slow" to me watching the backup in real time, but maybe that's just because I never paid attention before.

The updates LGTM, I like the additional types and revised names!

haven't gone through the tests themselves yet, but went through the rest of the rename & refactor stuff and LGTM.

Replaced by #710


Improve Import Error Messages for LLM Client Dependencies

What feature would you like to be added?
Current Behavior
When an import error occurs while initializing LLM clients (e.g., Gemini, Anthropic, etc.), the code raises a generic ImportError with a hardcoded message suggesting to install specific packages. However, the actual import error might be caused by other issues (like missing dependencies of those packages or version conflicts).
For example, when trying to use the Gemini client, if there's an error importing vertexai, the code shows:
ImportError: Please install google-generativeai to use Google OpenAI API.
Even though the actual error was:
ImportError: No module named 'vertexai'
Why is this needed?
Proposed Change
Modify the import error handling to:

Include the original error message in the raised ImportError
Provide more context about potential dependencies

Example implementation:
if gemini_import_exception:
raise ImportError(
f"Failed to initialize Gemini client. Original error: {gemini_import_exception}\n"
"Required packages:\n"
"- google-generativeai\n"
"- google-cloud-aiplatform (provides vertexai)"
)
Benefits

Users get more accurate information about what's actually causing the import failure
Easier troubleshooting of dependency issues
Clearer guidance on required packages and their relationships

Affected Files

/autogen/oai/client.py

Hi, I can attempt to take this issue, if no one has volunteered

Sure @mmahjoub5

Hey, can i give it a shot too ?

@mmahjoub5  any update on your side?
@D-Yuva  thanks! Since @mmahjoub5 is already working on it, let's wait for his response.


Misleading message for compilation fixed

A regular Dafny user pointed out that the compilation message is misleading for several reasons.
Current message:
'$(thumbsup) Compilation succeeded';

Suggested message:
'Resolution succeeded. Awaiting verification...';

Here is why:

"Compilation" is normally the step that happens after verification. Hence, the current messages would indicate that Dafny files were translated before verification even started, which is not the case. Hence, I use the wording "Resolution" which is consistent with the other message $(thumbsdown) Resolution Failed';
I removed $(thumbsup). Until recently, thumbs up was used only when verification succeeded, which makes sense given its "all right" meaning. Providing an intermediate thumbs up at resolution time feels totally unnecessary and even misleading to someone who might think for a second that verification succeeded. We could have an intermediate icon instead, but we should not assign the same icon to two different steps of the process.

LGTM

Thanks for this proposal. Your motivation makes sense to me and I'm happy to merge it.
However, I'm afraid of the term becoming too long. If people have lots of extensions installed, the space is becoming tight in the status bar. Do you have an idea for something shorter (I already had the feeling that the messages we have now are a bit long)? For example Resolution succeeded (not verified). Nevertheless, we could await user feedback before thinking too long about this.
But for continuity of the status messages, I propose to add an icon since all status messages do have one. A list of the available icons can be found here.
I could think of one of those:

gear
lightbulb (to indicate that the verification is pending)

I understand your concern.
I also understand that verification might not happen right after resolution - resolution happens all the time almost on every keystroke, whereas users might enable verification only on save. Hence it is probably not appropriate to say that "Awaiting verification..." because there might be nothing to wait on until the user saves.
Down the road, I believe we could have another message in the case when document has to be verified after resolution. In that case, we should replace the message "Compilation succeeded" by just the message "Verification started" and discard the other "Verification started" message.
For now, I suggest we keep this simple message modification and here are my suggestions after building on yours:

Resolved (not verified)
No errors (might be a bit negative)
Resolution OK

For the icons, here is my reflection with grades over 10 on how I like them
I don't like gear  (2/10) because it's invite the user to click on it for settings, which is not the affordance that we want.
lightbulb  (7/10) is better, although it's often used as an indication of an hint and invites clicking as well.

book  (8/10) or library  (7/10), meaning Dafny can read the document, it's readable.
check  (5/10) or pass  (5/10), although I'm not sure here because it might indicate that everything is all right
feedback  (6/10), comment  (6/10) or output  (7/10) (we give you good feedback on your code, but that's it, we don't provide any guarantees)
file-code  (7/10), we recognize the code of the file.
pulse  (4/10) (the file is in good shape but not all checked passed) (might be a bit unreadable and look like a M)
shield  (5/10) or wrench (5/10)  (the file is proof-read against silly mistakes, with a technician's help, it's still awaiting ghost proofs)

If you're ok with it, I'd choose books.

Thanks a lot for your effort. You've shared some good thoughts.

In that case, we should replace the message "Compilation succeeded" by just the message "Verification started" and discard the other "Verification started" message.

That sounds to me that you're talking about the naming of the status messages in the language server. I propose we leave them as is to not break backward compatibility. Nevertheless, we're free to change the message displayed in VSCode.

For now, I suggest we keep this simple message modification and here are my suggestions after building on yours:
* `Resolved (not verified)`

* `No errors` (might be a bit negative)

* `Resolution OK`

As you mentioned, no errors sounds a bit negative. Moreover, it could lead people into thinking that there are no verification errors. Although, making the difference more clear is the primary goal of this PR. So for clarity, I'd opt for  Resolved (not verified).

For the icons, here is my reflection with grades over 10 on how I like them

I like your reasoning about the various icons and they make sense to me. After giving some additional thought, I guess book is a good option because it is not often used within VSCode. At least I haven't seen it often.


fix acolyte db_status command

This PL fixes some incorrect behavior when executing python acolyte.py db_status. The command would fail because of an incorrect unpacking of returned values from run_database_setup(), or whenever mongodb wasn't running, the connection string was wrong or no collections inside the db existed.

Thanks!


[BUG]: Take date as input instead of month in the prediction form.

You are taking month of transaction as input instead you have to take date as input as date is present in the dataset.
Try to apply upper and lower bound to input of date in the form (if possible) because in the dataset only months of 2019 are present.

This project is dumped now so I am not going to solve this issue.


Cert-manager pods are not scraped

What happened?
There is no metrics data from cert-manager pods
Did you expect to see something different?
Data being collected
How to reproduce it (as minimally and precisely as possible):
Do a helm install
Environment

tobs installation method:

[x] cli
[x] helm chart

tobs version:
0.10.0-alpha

Kubernetes version information:

1.23

Kubernetes cluster kind:

kind
Anything else we need to know?:
cert-manager pods live in cert-manager namespace and do have following annotations:
  annotations:
    prometheus.io/path: /metrics
    prometheus.io/port: "9402"
    prometheus.io/scrape: "true"

Which means that configuration shipped with tobs to allow annotation-based scraping should pick them up.

It is worth checking if prometheus can scrape data outside of the namespace it is installed in.

Seems to be working just fine :shrug:


Full Bootstrap 3 support

Added Classes to fully support bootstrap 3 (without lose bs2 compatibility) and bs validation

Closing this off as it's targeting Select2 3.x which was lacking a theme system. At this point you're better off keeping the CSS in a fork like the other Select2 Bootstrap themes.
If you want to update it for Select2 4.0 though, we have a full theme system and would gladly accept pull requests for Bootstrap themes.


SpeeDialAction propTypes warnings

SpeeDialAction is showing propTypes warnings in 1.4.0 / Lab alpha 6.

[X] This is a v1.x issue.
[X] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
No warnings or errors in console.
Current Behavior
index.js:2178 Warning: Failed prop type: The following properties are not supported: className, onKeyDown. Please remove them.
in Tooltip (created by WithStyles(Tooltip))
in WithStyles(Tooltip) (created by SpeedDialAction)
in SpeedDialAction (created by WithStyles(SpeedDialAction))
Steps to Reproduce
Just add a speed dial - these warnings started showing up in 1.4.0/alpha 6. They weren't there in 1.3.1/alpha 5.
nothing in my code is attempting to do anything with the tooltips that SpeedDialAction uses internally.
Your Environment

Tech
Version

Material-UI
v1.4.1/alpha6

React
1.4.1

browser
Chrome 68

etc.

I think this is Tooltip issue, my stacktrace is:
    in Tooltip (created by WithStyles(Tooltip))
    in WithStyles(Tooltip) (created by ContractCard)
    in div (created by CardActions)
    in CardActions (created by WithStyles(CardActions))
    in WithStyles(CardActions) (created by ContractCard)
    in div (created by Paper)
    in Paper (created by WithStyles(Paper))
    in WithStyles(Paper) (created by Card)
    in Card (created by WithStyles(Card))
    in WithStyles(Card) (created by ContractCard)
    in div (created by Grid)
    in Grid (created by WithStyles(Grid))
    in WithStyles(Grid) (created by ContractCard)
    in ContractCard (created by Contracts)
    in div (created by Grid)
    in Grid (created by WithStyles(Grid))
    in WithStyles(Grid) (created by Contracts)
    in div (created by Contracts)
    in Contracts (created by Connect(Contracts))
    in Connect(Contracts) (created by WithStyles(Connect(Contracts)))
    in WithStyles(Connect(Contracts)) (created by Layout)
    in div (created by Layout)
    in div (created by Layout)
    in div (created by Layout)
    in Layout (created by Connect(Layout))
    in Connect(Layout) (created by WithStyles(Connect(Layout)))
    in WithStyles(Connect(Layout))
    in PersistGate (created by ClientProviders)
    in MuiPickersUtilsProvider (created by ClientProviders)
    in I18nextProvider (created by ClientProviders)
    in Provider (created by ClientProviders)
    in MuiThemeProvider (created by ClientProviders)
    in ClientProviders

and I dont do anything fancy, especially I dont pass any className to Tooltip component.
The only thing which might be important is that I render some tooltips conditionally, for instance:
        {data.token && (
          <Tooltip title="Some title">
            <IconButton
              onClick={() => someHandler(data.token, data.id)}
            >
              <ThumbDown />
            </IconButton>
          </Tooltip>
        )}

I imagine this is due to the Tooltip component being reworked in 1.4 and the speed dial hasn't caught up.

Same here

This appears to be fixed in HEAD. The next release should drop shortly.

Could anyone who was experiencing this issue please confirm if it is fixed with the latest release of core?

@mbrookes I can still see checkPropTypes.js:19 Warning: Failed prop type: The following properties are not supported: className but I dont know whether this is related to this issue.

@klis87 What are the next few lines of the stacktrace?

@mbrookes  checkPropTypes.js:19 Warning: Failed prop type: The following properties are not supported: className. Please remove them.
in Tooltip (created by WithStyles(Tooltip))
in WithStyles(Tooltip) (created by ContractCard)
in div (created by CardActions)
in CardActions (created by WithStyles(CardActions))
in WithStyles(CardActions) (created by ContractCard)
in div (created by Paper)
in Paper (created by WithStyles(Paper))
in WithStyles(Paper) (created by Card)
in Card (created by WithStyles(Card))
in WithStyles(Card) (created by ContractCard)
in div (created by Link)
in Link (created by Connect(Link))
in Connect(Link) (created by ContractCardLink)
in ContractCardLink (created by ContractCard)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (created by ContractCard)
in ContractCard (created by Contracts)
in div (created by Grid)
in Grid (created by WithStyles(Grid))
in WithStyles(Grid) (created by Contracts)
in div (created by Contracts)
in Contracts (created by Connect(Contracts))
in Connect(Contracts) (created by WithStyles(Connect(Contracts)))
in WithStyles(Connect(Contracts))
in Unknown (created by Connect(Component))
in Connect(Component) (created by Layout)
in div (created by Layout)
in div (created by Layout)
in div (created by Layout)
in Layout (created by Connect(Layout))
in Connect(Layout) (created by WithStyles(Connect(Layout)))
in WithStyles(Connect(Layout))
in PersistGate (created by ClientProviders)
in MuiPickersUtilsProvider (created by ClientProviders)
in I18nextProvider (created by ClientProviders)
in Provider (created by ClientProviders)
in MuiThemeProvider (created by ClientProviders)
in ClientProviders

Okay, not related to this issue then.

@mbrookes ok so I will create another one today, some heads-up - I recall that somewehere there was title bug as well and it is not fixed as well, at least with my use case, I will prepare some demos today

Actually I spoke too soon. I'm still seeing it.

This is still an issue in core 1.4.1 / labs alpha 7
index.js:2178 Warning: Failed prop type: The following properties are not supported: className, onKeyDown. Please remove them.
in Tooltip (created by WithStyles(Tooltip))
in WithStyles(Tooltip) (created by SpeedDialAction)
in SpeedDialAction (created by WithStyles(SpeedDialAction))
in WithStyles(SpeedDialAction)
In SpeedDial line 146 (master@2018-07-27) onKeyDown is being added to the props sent to SpeedDialAction, which then forwards it to Tooltip on line 62 in SpeedDialAction

@zanerock I don't know why I'm not seeing this error, but since you've narrowed it down, would you like to fix it?

@mbrookes Certainly, though I'm a bit busy pushing out a release now. If it's still open next-week-ish, I'll look into it. I've set a reminder.
I'm not looking at the code at the moment, but it may be that if it's necessary to include the tooltip title to trigger the problem.

This may be related to #12361 - Speeddial not accessible by tab. There elaboration on my comment to the closed PR.

Got a similar issue and I'm running "@material-ui/core": "^1.5.0", - so seems to not being fixed yet

When will it be solved?

Located the issue. I'm working on a fix.

I'm getting the warning for simply using a Tooltip in 1.5.1

Despite the jump in major version, as you'll see from the release notes, there's no real reason to wait before going to 3.x.

I upgraded to 3.x.x with no issues. Also this issue is still present in the latest version.

Yes no current version - no matter how high - will fix it until @eps1lon finished his fix :wink: We're counting on you :tada:

You should not be getting any warnings as of<EMAIL_ADDRESS>className on SpeedDialAction was reintroduced in #13161 and should be released when the next patch of the core will be released.


Drawing animation for pen cursor isn't smooth for displaying remote cursors.

Description:
The Simultaneous Cursors example uses two kinds of animations. One is an emoji "bubbling" animation for the Heart and Thumbs cursors, while the other is a "drawing" animation for the Pen cursor. For the drawing animation, the drawing is smooth for the current/local client. However, when displaying the pen drawing of other cursors, that is, remote users' cursors, the drawing animation isn't as smooth.
Below, the right side shows what a user would see when drawing with their own cursor. On the left is what would be displayed for another user.

Why:
Improving this can improve the UX for anyone who may want to experiment with this SDK example. Furthermore, if this example were to be incorporated into the Yorkie homepage, it is even more important that it gives Yorkie users a high-quality UX.

Can I get some explanation about why this is happening?
Is it because there is some kind of throttling in the passing position of the cursor?

After experimenting with what values are being sent from local to remote cursors and logging what is being received, it seems that all x y values of all cursors currently on the screen are being sent and received properly.
The issue seems be due to how the drawing is happening.


User can create new file with content

User can create a new file after signing in.

Corrections

Get the name of the last file the user created
Increment it to name the new file
File must be .txt

Branch behind


update suggested NODE_VERSION for SvelteKit from 17 to 18

We never intended to still be claiming to support Node 17, and we recently merged a PR (https://github.com/sveltejs/kit/pull/8174) to tighten up our pkg.engines.node to exclude Node 17. No one should be using Node 17 for anything now anyway because it reached EOL on June 1.

I've just heard that Node 18 is not available. If someone specifies NODE_VERSION=16, which version do they get? Is it at least 16.14?

I've updated this PR to instead switching to Node 16, as that apparently provides 16.19.0, which is new enough for SvelteKit.

@Conduitry if someone has a .node-version file in their Sveltekit app, Pages will prioritize that value over the NODE_VERSION environment variable, so anyone that had 17.x.x in their .node-version file will not be helped by updating NODE_VERSION, they will need to change the value in .node-version to 16.19.0. Not sure if that should be added to the Cloudflare docs or the Sveltekit docs but I'm sure it will throw some people off after bumping to Sveltekit 1.0.1


Getting cannot import name 'queueing'

Seeing this error on Automatic1111, when trying to run it. I tried deleting the sd folder in google colab, still the same.
Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 13, in <module>
    from modules import extra_networks_hypernet, ui_extra_networks_hypernets, ui_extra_networks_textual_inversion
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/extra_networks_hypernet.py", line 2, in <module>
    from modules.hypernetworks import hypernetwork
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/hypernetworks/hypernetwork.py", line 10, in <module>
    import modules.textual_inversion.dataset
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/textual_inversion/dataset.py", line 13, in <module>
    from modules import devices, shared
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/shared.py", line 9, in <module>
    import gradio as gr
  File "/usr/local/lib/python3.8/dist-packages/gradio/__init__.py", line 3, in <module>
    import gradio.components as components
  File "/usr/local/lib/python3.8/dist-packages/gradio/components.py", line 32, in <module>
    from gradio.blocks import Block
  File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 23, in <module>
    from gradio import (
ImportError: cannot import name 'queueing' from partially initialized module 'gradio' (most likely due to a circular import) (/usr/local/lib/python3.8/dist-packages/gradio/__init__.py)

use the latest colab https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb


404 error on /authentication/callback after npm run build

Issue and Steps to Reproduce
I've cloned the latest repo
run npm run buid under /react-oidc/packages/react/*
hosted the /build folder
Versions
commit 5b05383ba9f0718e266009df85aaf73a307827d9
Author: GitHub<EMAIL_ADDRESS>Date:   Fri Oct 14 14:48:19 2022 +0000
Screenshots

Expected
User profile page?
Actual
404 Error
Additional Details

Installed packages:

Can someone help please? Looks like https://github.com/AxaGuilDEv/react-oidc/issues/599

Hi. I am not familiar with Apache but I had the same problem you describe in IIS. I solved it by adding a URL rewrite rule that redirects to /index.html. Then it worked as expected.

Thanks both, added a rewrite rule in apache


rework JIT process memory errors

In case of memory exhaustion type scenarios, we don't want to crash the JIT process,  instead crash the runtime process, since the JIT may serve many runtimes.
Also, this resolves issue where we get memory violation due to runtime crashing. In such a case, now we will have runtime crash after the JIT returns

@dotnet-bot test this


Remove misleading emit/on API

This API is nothing but stubs, and in its current state, is misleading on how to use Swiftcord.

I agree, currently the examples are completely wrong. I have been very busy lately but when I have time I will be looking to fix this up.


I'm unable to run the game

I get this error while launching the game from 7h

any ideas?
Thanks

Others had this issue and resolved it by running 7H in 640x480 compatibility. Not sure I call this a good resolution though. Why does it suddenly have to run that way to work? Why are some having this issue, but others not?
http://forums.qhimm.com/index.php?topic=19094.0

https://github.com/EasyHook/EasyHook/issues/295
I fixed by seting ff7.exe to 640x480
I'll investigate this more

since this is the only workarround I'll close this issue
Thanks!

this is related to a windows new feature that requires signing key from microsoft
it can be disable is something related to patch guard

Ilyaki was able toworkarround this issue

In my case adding WaitForInputIdle to the process creation fixed the error.
string directoryPath = Path.GetDirectoryName(exePath);

STARTUPINFO startup = new STARTUPINFO();
startup.cb = Marshal.SizeOf(startup);
startup.dwFlags = 0x1;//STARTF_USESHOWWINDOW
startup.wShowWindow = 1;//SW_SHOWNORMAL

bool success = CreateProcess(exePath, "", IntPtr.Zero, IntPtr.Zero, false,
	0x00000004, //Suspended
	IntPtr.Zero, directoryPath, ref startup, out PROCESS_INFORMATION processInformation);

if (!success) return -1;

ResumeThread(processInformation.hThread);

//Inject can crash without waiting for process to initialise
WaitForInputIdle(processInformation.hProcess, 0xFFFFFFFF);

SuspendThread(processInformation.hThread);

int injectResult = Environment.Is64BitProcess ?
	Injector64.RhInjectLibrary((uint)processInformation.dwProcessId, 0, 0, "", hookDllPath, ptr, (uint)size) :
	Injector32.RhInjectLibrary((uint)processInformation.dwProcessId, 0, 0, hookDllPath, "", ptr, (uint)size);

ResumeThread(processInformation.hThread);```

@julianxhokaxhiu if you could take a look that would be awesome
https://github.com/TurBoss/7h/blob/master/7thWorkshop/fLibrary.cs#L1290
Thanks


Travis deploy

This will auto-deploy changes in master branch to mop-static-stage S3 bucket. This is a step we do for end-to-end testing pretty often, and this would remove that step.

Yeah, this is stage-only at this point. We might want to look at doing something similar for prod down the road, but not now.


Delete existing .gitlab-ci.yml when rendering

Issue detected by @viniciusdc when working with a client that uses GitLab.
To do:

[ ] Add test for gitlab deployments

@iameskild which kind of test are you expecting?

@viniciusdc sorry I should've specified that I want to add a test for gitlab deployments (initial comment updated). In my PR #874, I made some changes to the test suite that I think will make it easier for us to add tests. I haven't done so yet, but I will make sure that we also test gitlab deployments as part of that PR.

@viniciusdc sorry I should've specified that I want to add a test for gitlab deployments (initial comment updated). In my PR #874, I made some changes to the test suite that I think will make it easier for us to add tests. I haven't done so yet, but I will make sure that we also test gitlab deployments as part of that PR.

Could we add the tests within that PR then? I would like to merge this ASAP if possible

@viniciusdc, feel free to merge this whenever you'd like. I will add some gitlab tests to other PR by the end of the week.


Lantern.gltf is not displayed correctly when in KHR_mesh_quantization format

I tried to display the KHR_mesh_quantization version of Lantern.gltf in Rhodonite.
However, it seems that fine grains are displayed.

glTF
glTF-Quantized

┆Issue is synchronized with this Wrike Item

We need to support KHR_mesh_quantization for it.

Currently supported


Allow parameters to be specified in a file

Now, instead of having to specify parameters using environment variables, you can specify them using a JSON file.
Create a JSON file with all the parameters you want to specify:
{
  "SEMAPHORE_AGENT_STACK_NAME": "my-stack-1",
  "SEMAPHORE_AGENT_TOKEN_PARAMETER_NAME": "my-stack-1-token",
  "SEMAPHORE_ORGANIZATION": "myorganization",
  "SEMAPHORE_AGENT_ASG_DESIRED": "5",
  "SEMAPHORE_AGENT_ASG_MIN_SIZE": "1",
  "SEMAPHORE_AGENT_ASG_MAX_SIZE": "5",
  "SEMAPHORE_AGENT_USE_DYNAMIC_SCALING": "false"
}

When running npm run deploy, specify it with SEMAPHORE_AGENT_STACK_CONFIG:
SEMAPHORE_AGENT_STACK_CONFIG=myconfig.json npm run deploy

If SEMAPHORE_AGENT_STACK_CONFIG isn't set, we will default to looking at environment variables.

In the context of git-ops, I would like to be able to do the following without worrying too much about the current set of env variables:
cd s1-linux-agents
vim config.json   # edit the number of max agents
npm run diff
npm run deploy

cd s1-windows-agents
vim config.json   # edit the number of max agents
npm run diff
npm run deploy

With the proposed solution, I can sort of do it, but I need to be careful to always export SEMAPHORE_AGENT_STACK_CONFIG=config.json before I run any npm command, otherwise, it might pick up some values from the current Bash environment.
I would somehow like to commit this decision into Git, and not worry about what is in my or anyone else's environment.

@shiroyasha wouldn't it be better to just have one repository with multiple config files, instead of multiple repositories with one config file?
cd aws-agents
vim config/s1-linux.json     # edit the number of max agents
SEMAPHORE_AGENT_CONFIG_FILE=config/s1-linux.json npm run diff
SEMAPHORE_AGENT_CONFIG_FILE=config/s1-linux.json npm run deploy

vim config/s1-windows.json   # edit the number of max agents
SEMAPHORE_AGENT_CONFIG_FILE=config/s1-windows.json npm run diff
SEMAPHORE_AGENT_CONFIG_FILE=config/s1-windows.json npm run deploy

Very good point. My mindset was completely set in the direction that I need a completely different folder for windows and linux.
In this case, your solution works great. 👏


[BUG] Duplicate trace record

What is the bug?
Run MLChatAgent and check all the trace records in .plugins-ml-memory-message index, there will have two trace records with same content for final answer.
An example response, you can see trace with number 6 and 7 are duplicate
[
    {
        "interactionId": "x95uXo0BGVYn19hhheIJ",
        "input": "can you show me the visualization of sales",
        "output": "Now I know how to respond",
        "createTime": "2024-01-31T07:31:57.832292374Z",
        "origin": null,
        "traceNumber": 1
    },
    {
        "interactionId": "yN5uXo0BGVYn19hhheIX",
        "input": "sales",
        "output": "Title,Id\n[eCommerce] Sales by Category,37cc8650-b882-11e8-a6d9-e546fe2bba5f\n[eCommerce] Sales by Gender,ed8436b0-b88b-11e8-a6d9-e546fe2bba5f\n[eCommerce] Average Sales Price,4b3ec120-b892-11e8-a6d9-e546fe2bba5f\n",
        "createTime": "2024-01-31T07:31:57.841167178Z",
        "origin": "VisualizationTool",
        "traceNumber": 2
    },
    {
        "interactionId": "zN5uXo0BGVYn19hhi-L7",
        "input": "can you show me the visualization of sales",
        "output": "Based on the visualizations provided, it seems the [eCommerce] Sales by Category visualization would be most relevant to understand sales breakdown by category.",
        "createTime": "2024-01-31T07:31:59.610137456Z",
        "origin": null,
        "traceNumber": 3
    },
    {
        "interactionId": "zd5uXo0BGVYn19hhi-L_",
        "input": "[eCommerce] Sales by Category",
        "output": "Title,Id\n[eCommerce] Sales by Category,37cc8650-b882-11e8-a6d9-e546fe2bba5f\n[eCommerce] Sales by Gender,ed8436b0-b88b-11e8-a6d9-e546fe2bba5f\n[eCommerce] Average Sales Price,4b3ec120-b892-11e8-a6d9-e546fe2bba5f\n",
        "createTime": "2024-01-31T07:31:59.614597716Z",
        "origin": "VisualizationTool",
        "traceNumber": 4
    },
    {
        "interactionId": "0N5uXo0BGVYn19hhl-Ia",
        "input": "can you show me the visualization of sales",
        "output": "Now I know the final answer",
        "createTime": "2024-01-31T07:32:02.45740304Z",
        "origin": null,
        "traceNumber": 5
    },
    {
        "interactionId": "z95uXo0BGVYn19hhl-Ia",
        "input": "can you show me the visualization of sales",
        "output": "To see the visualization of sales you had requested, one of the available visualizations was shown containing metrics like sales by category, sales by gender, and average sales price for the day.",
        "createTime": "2024-01-31T07:32:02.457582962Z",
        "origin": null,
        "traceNumber": 6
    },
    {
        "interactionId": "zt5uXo0BGVYn19hhl-Ia",
        "input": "can you show me the visualization of sales",
        "output": "To see the visualization of sales you had requested, one of the available visualizations was shown containing metrics like sales by category, sales by gender, and average sales price for the day.",
        "createTime": "2024-01-31T07:32:02.457707056Z",
        "origin": null,
        "traceNumber": 7
    }
]

How can one reproduce the bug?
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

What is the expected behavior?
should not have duplicate trace records
What is your host/environment?

OS: [e.g. iOS]
Version [e.g. 22]
Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Looks like this code are duplicate
https://github.com/opensearch-project/ml-commons/blob/main/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/MLChatAgentRunner.java#L377-L405

close it due to #1972


HTTPError leading file not able to download or view

"HTTPError: Forbidden\n    at responseErrorThrower (worker.js:179:26)\n    at async onGet (worker.js:2749:19)\n    at async handleRequest (worker.js:2942:42)"

Not enough information

Not enough information

Closed for not filling template

Closed for not filling template


CompileBinding with SelectedItem throws BadImageFormatException

Using Avalonia 11.0.999-cibuild0030320-beta.
Set this in csproj
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>

Add a ComboBox with SelectedItem binding.
Run.

System.BadImageFormatException: An attempt was made to load a program with an incorrect format.

In my project, I was having the error at compile-time, but I reproduced it in the blank template project and this time the error shows up at runtime instead. No idea why. I was also having another error that I'm unable to reproduce, but it could be directly related to this.
I created a repo project here
Avalonia11-CompileBinding.zip
OS: Garuda Linux

Template only contains AnyCPU.
But in my real project, it uses unmanaged libraries and thus must target x64.

OK added x64 to the solution. Getting the exact same behavior.

I've not been able to reproduce it, but when I set CompileBindings in my main projects, I also get this compile error

Member 'System.Version' is declared in another module and needs to be imported

Then if I compile again, I get
  Fody: An unhandled exception occurred:
Exception:
Format of the executable (.exe) or library (.dll) is invalid.
Type:
System.BadImageFormatException
StackTrace:
   at Mono.Cecil.PE.ImageReader.ReadImage() in C:\projects\fody\cecil\Mono.Cecil.PE\ImageReader.cs:line 48
   at Mono.Cecil.PE.ImageReader.ReadImage(Disposable`1 stream, String file_name) in C:\projects\fody\cecil\Mono.Cecil.PE\ImageReader.cs:line 766
   at Mono.Cecil.ModuleDefinition.ReadModule(Disposable`1 stream, String fileName, ReaderParameters parameters) in C:\projects\fody\cecil\Mono.Cecil\ModuleDefinition.cs:line 1146
   at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) in C:\projects\fody\cecil\Mono.Cecil\ModuleDefinition.cs:line 1115
   at InnerWeaver.ReadModule(String assemblyFilePath, IAssemblyResolver assemblyResolver) in C:\projects\fody\FodyIsolated\ModuleReader.cs:line 30
   at InnerWeaver.ReadModule() in C:\projects\fody\FodyIsolated\ModuleReader.cs:line 10
   at InnerWeaver.Execute() in C:\projects\fody\FodyIsolated\InnerWeaver.cs:line 100
Source:
Mono.Cecil
TargetSite:
Void ReadImage()

I doubt Reactive.Fody is to blame considering it's the same BadImageFormatException as reproduced above

Template only contains AnyCPU.

Microsoft did a huge mess with mixed runtime identifiers and platform architecture parameters. Last one isn't really useful anymore.

System.BadImageFormatException: An attempt was made to load a program with an incorrect format.

Decompiled and compiled again to find out the problem...
	static object Avalonia11.Controls.CollectionView`1,Avalonia11.CurrentItem!Getter(object P_0)
	{
		return ((CollectionView<ListItem<!0>>)P_0).CurrentItem;
	}

Compiler needs to generate code with generic, but is failing to do so.

Moving "SelectedItem" out of the generic class works.

Discussed, and it seems like Cecil fails to import generic type for some reason.
Which seems to be the same cause as in https://github.com/AvaloniaUI/Avalonia/issues/3395 and https://github.com/kekekeks/XamlX/pull/29.
Not sure if there is an easy solution unless we switch from Cecil to something like dnlib

As a workaround, you can use RelfectionBinding on this specific property (shouldn't be trimmed, if it's used in other places, or defined in Roots.xml).
Or reorganize view model code.

Is it possible to set CompileBindings property via style setter for all ComboBox and ListBox?
Setting CompileBindings="False" on those solves that problem; now I got this problem

Member 'System.Version' is declared in another module and needs to be imported

It only happens if AvaloniaUseCompiledBindingsByDefault is True. It gives no hint as to where the problem comes from though. Any idea how to debug this?

This one seems to be an instance of this problem. ViewModel is defined in a generic base class to expose a strongly-typed DataContext. Although it doesn't crash in this case, but rather, binding simply fails.
Command="{Binding $parent[views:MainView].ViewModel.ShowAbout}"

Is there a work-around for this one?

Until this bug is fixed, one option could be to auto-detect when it happens and fallback to reflection binding instead of crashing?

We can't nicely fallback from compiled bindings to reflection bindings on the flight.
But developers can use ReflectionBinding in these places explicitly. If same members are used in the code (and I assume they are, since it's CurrentItem, probably used somewhere), it won't be trimmed.


Fix:	Removes duplicate printing of the included namespaces

What this PR does / why we need it?

Removes duplicate printing of the non existing included namespaces (which comes from the duplicated namespaces).
Removes unnecessary variables initialization.

PR Checklist

[ ] This PR adds K8s exceptions (false positives)
[x] This PR adds new code
[ ] This PR includes tests for new/existing code
[ ] This PR adds docs

GitHub Issue
#378
Closes [XX-XX]
Notes for your reviewers

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 43.39%. Comparing base (9cd0aba) to head (ca45220).
Report is 3 commits behind head on main.

Files with missing lines
Patch %
Lines

pkg/filters/options.go
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #383      +/-   ##
==========================================
+ Coverage   43.38%   43.39%   +0.01%
==========================================
  Files          63       63
  Lines        4020     4019       -1
==========================================
  Hits         1744     1744
+ Misses       2030     2029       -1
  Partials      246      246

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

LGTM!
Merged