flutter make-host-app-editable --ios && flutter build ios-framework crashes

Steps to Reproduce
Trying ios-framework build for containing the module project using some plugins by add2app, it will cause crashing during a build process.
We're confusing about it because our team wants to provide a module made of flutter for another team.

Run flutter create -t module module_test && cd module_test.
Run flutter make-host-app-editable to be editable
Add some plugin (not package) like a image_picker
Run flutter build ios-framework and it will crash

Log of `flutter build ios-framework`
$ flutter build ios-framework --output=tmp
The plugin `flutter_plugin_android_lifecycle` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have
undefined behaviors when Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
Building framework for com.example.moduleTest in debug mode...
 ├─Populating Flutter.framework...                                 239ms
 ├─Add placeholder App.framework for debug...                      233ms

Sending crash report to Google.
Crash report sent (report ID: c4441bfbae98f471)
Oops; flutter has exited unexpectedly.

Crash report written to /Users/kikuchy/tmp/module_test/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

Content of `flutter_01.log`
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter build ios-framework --output=tmp
exception
FileSystemException: FileSystemException: Cannot open file, path = '/Users/kikuchy/tmp/module_test/ios/Flutter/AppFrameworkInfo.plist' (OS Error: No such file or directory, errno = 2)
#0      _File.throwIfError (dart:io/file_impl.dart:645:7)
#1      _File.openSync (dart:io/file_impl.dart:489:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:549:18)
#3      ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:95:62)
#4      BuildIOSFrameworkCommand._produceAppFramework (package:flutter_tools/src/commands/build_ios_framework.dart:274:59)
<asynchronous suspension>
#5      BuildIOSFrameworkCommand.runCommand (package:flutter_tools/src/commands/build_ios_framework.dart:170:13)
<asynchronous suspension>
#6      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18)
#7      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#8      _rootRunUnary (dart:async/zone.dart:1134:38)
#9      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#10     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#11     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#12     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#13     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#14     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7)
#15     _rootRun (dart:async/zone.dart:1126:13)
#16     _CustomZone.run (dart:async/zone.dart:1023:19)
#17     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#18     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#19     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#20     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#21     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

flutter doctor
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale ja-JP)
    • Flutter version 1.12.13+hotfix.8 at /Users/kikuchy/SDK/flutter
    • Framework revision 0b8abb4724 (8 days ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/kikuchy/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 43.0.3
    • Dart plugin version 193.6494.35

[✓] IntelliJ IDEA Community Edition (version 2019.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 40.2.4
    • Dart plugin version 192.7402

[!] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Pixel 3           • 8CDX1MTHU                            • android-arm64 • Android 10 (API 29)
    • iPhone Xʀ         • 7A8FDDD0-B430-46E0-B520-96CF2630B7E5 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)
    • iPhone 11 Pro Max • 1F4FCAF3-8258-46DD-BAAD-E6B9D03F12FE • ios           • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

! Doctor found issues in 1 category.

Content of `pubspec.yaml`
name: module_test
description: A new flutter module project.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
#
# This version is used _only_ for the Runner app, which is used if you just do
# a `flutter run` or a `flutter make-host-app-editable`. It has no impact
# on any other native host app that you embed your Flutter project into.
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

  image_picker: ^0.6.3+1

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

flutter:
  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add Flutter specific assets to your application, add an assets section,
  # like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add Flutter specific custom fonts to your application, add a fonts
  # section here, in this "flutter" section. Each entry in this list should
  # have a "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

  # This section identifies your Flutter project as a module meant for
  # embedding in a native host app.  These identifiers should _not_ ordinarily
  # be changed after generation - they are used to ensure that the tooling can
  # maintain consistency when adding or modifying assets and plugins.
  # They also do not have any bearing on your native host application's
  # identifiers, which may be completely independent or the same as these.
  module:
    androidX: true
    androidPackage: com.example.module_test
    iosBundleIdentifier: com.example.moduleTest

Log of `flutter doctor -v`
$ flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale ja-JP)
    • Flutter version 1.12.13+hotfix.8 at /Users/kikuchy/SDK/flutter
    • Framework revision 0b8abb4724 (8 days ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/kikuchy/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 43.0.3
    • Dart plugin version 193.6494.35

[✓] IntelliJ IDEA Community Edition (version 2019.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 40.2.4
    • Dart plugin version 192.7402

[!] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Pixel 3           • 8CDX1MTHU                            • android-arm64 • Android 10 (API 29)
    • iPhone Xʀ         • 7A8FDDD0-B430-46E0-B520-96CF2630B7E5 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)
    • iPhone 11 Pro Max • 1F4FCAF3-8258-46DD-BAAD-E6B9D03F12FE • ios           • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

! Doctor found issues in 1 category.

I have the same problem when I run flutter build ios-framework --output=../flutter_container/Flutter
Here is my ressult:
The plugin `edu_platformview_plugin` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when Flutter
is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
Building framework for com.example.flutterModule in debug mode...
 ├─Populating Flutter.framework...                                 194ms
 ├─Add placeholder App.framework for debug...                      221ms
 ├─Assembling Flutter resources for App.framework...                9.1s
 ├─Building plugins...                                                 ⣽
Sending crash report to Google.
Crash report sent (report ID: e992b2f0ead3d1c5)
 ├─Building plugins...                                                 ⡿Oops; flutter has exited unexpectedly.
       Crash report written to /Users/homerwang/projects/demos/flutter_module/flutter_03.log;
please let us know at https://github.com/flutter/flutter/issues.

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter build ios-framework --output=../flutter_container/Flutter
exception
FileSystemException: FileSystemException: Directory listing failed, path = '../flutter_container/Flutter/Debug/iphoneos/Debug-iphoneos/' (OS Error: No such file or directory, errno = 2)
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:39:68)
#1      _Directory.listSync (dart:io/directory_impl.dart:251:5)
#2      ForwardingDirectory.listSync (package:file/src/forwarding/forwarding_directory.dart:45:12)
#3      BuildIOSFrameworkCommand._producePlugins (package:flutter_tools/src/commands/build_ios_framework.dart:390:61)
<asynchronous suspension>
#4      BuildIOSFrameworkCommand.runCommand (package:flutter_tools/src/commands/build_ios_framework.dart:175:15)
<asynchronous suspension>
#5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18)
#6      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#7      _rootRunUnary (dart:async/zone.dart:1134:38)
#8      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#9      _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#10     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#11     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#12     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#13     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#17     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#18     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#19     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#20     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#21     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

flutter doctor
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN)
    • Flutter version 1.12.13+hotfix.7 at /Users/homerwang/devtools/flutter
    • Framework revision 9f5ff2306b (4 weeks ago), 2020-01-26 22:38:26 -0800
    • Engine revision a67792536c
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/homerwang/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/homerwang/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[!] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

make-host-app-editable is now deprecated, closing.

So do we have alternative now? because of make-host-app-editable is now deprecated,

@kyleada As of https://github.com/flutter/flutter/pull/70647 (available in 1.25.0-4.0.pre, currently the dev channel) if you use flutter build ios-framework (option C in the docs) you can embed iOS frameworks for a non-module app, so one that was created with flutter create instead of flutter create -t module.  This isn't supported for Android, and it isn't yet documented.


Question: Indexing an csv file

Hi Jerry, really thanks for this amazing library. Recently I am trying to embedding a csv about different issues, it is containing ard 1200 row and 30 col, each row is a issue.
I query with the index and found that the model answer wrongly, there are some answer with mismatch of different issue and not able to have a summarized view of the csv.
May I know the suggested embedding method in gpt_index for embedding such data structure ?
Here is my code:
`
def construct_index(directory_path):
print("start of the indexing")

# set maximum input size
max_input_size = 4096
# set number of output tokens
num_outputs = 256
# set maximum chunk overlap
max_chunk_overlap = 20
# set chunk size limit
chunk_size_limit = 600

# define LLM
llm_predictor = LLMPredictor(llm=OpenAI(temperature=0, model_name="text-davinci-003", max_tokens=num_outputs))
prompt_helper = PromptHelper(max_input_size, num_outputs, max_chunk_overlap, chunk_size_limit=chunk_size_limit)

documents = SimpleDirectoryReader(directory_path).load_data()

index = GPTSimpleVectorIndex(
    documents, llm_predictor=llm_predictor, prompt_helper=prompt_helper
)

index.save_to_disk('index4.json')
print("end of the indexing")

return index

`

hi @andyeung523, this is an interesting use case. tbh i'm not sure feeding the csv file into the SimpleDirectoryReader is the best way to solve this. what types of questions are you using?
have you tried using the sql store instead? you can connect to a sql database with sqlalchemy https://github.com/jerryjliu/gpt_index/blob/main/examples/struct_indices/SQLIndexDemo.ipynb. You can connect it to an existing database, and set the input documents to a blank list. e.g.
index = GPTSQLStructStoreIndex(
    wiki_docs,
    sql_database=sql_database,
    table_name="city_stats",
    llm_predictor=llm_predictor
)

going to close this for now since now explicitly an issue - if you want to start a discussion thread please join the discord! https://discord.gg/dGcwcsnxhU


python310Packages.vt-py: 0.14.0 -> 0.15.0

Description of changes
https://github.com/VirusTotal/vt-py/releases/tag/0.15.0

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 187502 run on x86_64-linux 1

3 packages built:

ioccheck
python310Packages.vt-py
python39Packages.vt-py


Added a link to an additional example snippet

Added a link to an additional example snippet on how to present a result page via NavigationLink when a barcode is scanned.

Thank you for this, and for answering the question on Stack Overflow! If possible I'd rather not refer folks to that site, because it can be rather unwelcoming – do you think it might work better to create a section of examples here in the README?

I updated the patch to include the example code instead of a link.

Thank you!


Remove version: ART.ART version 1.21.1

Manifest for new version submitted in PR #151714
Microsoft Reviewers: Open in CodeFlow

URL: https://bitbucket.org/agriggio/art/downloads/ART_1.21.1_Win64.exe
Response Error: The remote server returned an error: (403) Forbidden.
(Automated message - build 859)

Hi @pxwiz,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 878.)

Manifest for new version submitted in PR #151714


ML support

Hey Johanna,
That is a lot of work done for this documentation!
I added comments but they are not critical, you can implement them also after the release and merge. I tried adding some in suggestions that I hope you find easier to accept or reject than a usual comment.


Run broken link scan of site

Description
Tracking ticket for Q1 broken link scan
Ask
Sylvia will run an automated scan of the website to detect broken links, spelling issues, and accessibility issues
To Do

[x] Run automated scan using SortSite
[x] Check and correct any spelling errors
[x] Check for and correct or report accessibility issues
[ ] Fix broken links caused by formatting or spelling issues
[ ] Email chapter leaders about any broken links that will require a content change

Additional Info
Tracking ticket, so I'll remember the last time I did this.

Reported #401 and #402 based on this scan


Inconsistent results, Mean Square Error is high between runs.

This is based on the code in the master branch of this repository. Two runs of get_audio_embeddings on the same audio file does not produce identical results, and the MSE is 0.1367.

My testing code:
# Load model (Choose between versions '2022' or '2023')
from CLAPWrapper import CLAPWrapper as CLAP
import torch

with torch.no_grad():

    clap_model = CLAP("/Users/azalea/Downloads/CLAP_weights_2023.pth", version = '2023', use_cuda=False)

    # Extract text embeddings
    # text_embeddings = clap_model.get_text_embeddings(class_labels: List[str])

    audio_embeddings_1 = clap_model.get_audio_embeddings(["/Users/azalea/Downloads/test.wav"])
    audio_embeddings_2 = clap_model.get_audio_embeddings(["/Users/azalea/Downloads/test.wav"])

    print(audio_embeddings_1)
    print(audio_embeddings_2)

    # Compute mean square error
    mse = torch.mean((audio_embeddings_1 - audio_embeddings_2)**2)
    print(mse)

OS: macOS Sonoma 14.0
Python: Python 3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:39:40) [Clang 15.0.7 ]
The audio file metadata:
> ffprobe test.wav -hide_banner
Input #0, wav, from 'test.wav':
  Metadata:
    artist          : ハンバート ハンバート
    date            : 2006
    title           : 日が落ちるまで
    album           : 道はつづく
    track           : 7
    encoder         : Lavf60.3.100
  Duration: 00:04:56.49, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s

Hi @hykilpikonna, the code supports files up to 7 seconds in length. So if you pass a file greater than 7 seconds (in your case it's ~5mins) then it will randomly sample a 7-second segment and provide embeddings/predictions on that segment. I think this is the cause of high variance in predictions.
I would recommend either chunking your file in 7-second (or lower) files or updating CLAPWrapper.py to chunk and accumulate predictions.

Hi @hykilpikonna, the code supports files up to 7 seconds in length. So if you pass a file greater than 7 seconds (in your case it's ~5mins) then it will randomly sample a 7-second segment and provide embeddings/predictions on that segment. I think this is the cause of high variance in predictions.
I would recommend either chunking your file in 7-second (or lower) files or updating CLAPWrapper.py to chunk and accumulate predictions.

Thank you for the clarification.


[VL] Daily Update Velox Version (2024_06_06)

Upstream Velox's New Commits:
7637d567f by Ke, Add bucket verification in TableWriter Fuzzer (10039)
4845e903a by xiaoxmeng, Parallelize the spill processing inside spiller by partitioning (9938)
82cad2766 by Masha Basmanova, Rename prestosql/SIMDJsonXxx structs to JsonXxx (10070)
72f470b24 by Jialiang Tan, Order top memory users by reserved memory (10067)
4e8476f53 by Kevin Wilfong, Filters on LazyVectors in Joins can lead to incorrect results (10045)
20e48078b by wypb, Use ByteOutputStream::size() in RowContainer::storeComplexType (10055)
3832dfc88 by Athmaja N, Implement TPCH Query 11 in TpchQueryBuilder (9824)
93846c5c4 by Kevin Wilfong, MergeJoin may hang if right side throws an exception (9999)
d1f8cdff2 by Masha Basmanova, Add more items to monthly update for May 2024 (10066)
80b04bf30 by Jacob Wujciak-Jens, Use correct label for 8-core-ubuntu larger runner (10035)
d7d104d63 by gaoyangxiaozhu, Fix row index wrong value issue when only project with const data column (10012)
c9d36c28f by duanmeng, Add links to new docs for Memory Arbitration, RowNumber and TableWriter Fuzzers (10060)
77b9f9b42 by Jialiang Tan, Fix flaky test MultiFragmentTest.taskTerminateWithProblematicRemainingRemoteSplits (10046)
6e26aa764 by Ke, Fix data verification for Table Writer Fuzzer (10049)
bb38f138f by Bikramjeet Vig, Fix min and max aggregates for floating points (9931)
278a893cf by Masha Basmanova, Add monthly update for May 2024 (10052)
79413f241 by rui-mo, Add arg generator for Presto mod decimal function (10037)
a6bb4d81f by xiaoxmeng, Fix memory pool lock order reversion detected by Meta internal tsan test (10051)
3a7f8a88a by Masha Basmanova, Make 'Duplicate key' a user error in split_to_map (10054)
3aebeb660 by wypb, Refactor AggregateCompanionAdapter to remove duplicate code (9920)

Thanks!

The latest update has covered earlier velox version. Let's close this one. @zhztheplayer, thanks for discussion!


monodb is recommended in backend

I have tried many times to run this project following the instructions in the get_started section, but it won't launch after installing MongoDB. I haven't seen any previous recommendations or mentions of this tool as a requirement for launching the project.
Change Type

[x] Documentation update

i just add this line to the  get_started
https://github.com/danny-avila/LibreChat/blob/0553231b1fa7a244b608536355b3a0526a1ffe12/docs/contributions/how_to_contribute.md?plain=1#L30

You are welcome to submit a pull request for the documentation; just click "edit this page on GitHub" located under the right-hand side table of contents to contribute.

ok @fuegovic , see new PR

@ayoubelmhamdi Thanks!


Fix Travis browser tests dependency

Does NOT fix the Sauce 20,000ms disconnect issue.
Does fix the newer issues that appeared just this past day.
This fixes Travis, #2897 fixes Node; put them both in master and then merge into anything else that's waiting for CI checks to pass, then hope the Sauce 20,000ms issue stays away for a while, ha.
(For the record: the issue is that readable-stream 2.3.0 breaks Phantom 1.x due to use of Function.prototype.bind and breaks IE7 and 8 due to pulling in safe-buffer, which uses Object.keys.)

Coverage remained the same at 88.395% when pulling ea57b32f942248cca329582c6972b63acf649238 on fix-ci into 1f270cd4503ab3f83af4d98fb3b38d55572e468f on master.

This may end up superseded by https://github.com/nodejs/readable-stream/issues/295 and https://github.com/feross/safe-buffer/issues/15

If we do end up specifying version 2.2.11 or 2.2.x of readable-stream ourselves as this PR does, I'd really prefer a lockfile over this quick hack. I threw this together without trying to figure out how to create a lockfile that uses an older-than-latest version of a dependency for the time it's created, and without waiting to follow up on the recent concerns as to whether lockfiles are workable for Mocha.


Scanning for assemblies not working with NETCOREAPP1_0

An issue with StructureMap not being able to scan for assemblies when using NETCoreApp has been corrected. This library should advance its StructureMap version reference to >= 4.4.2.
Refer to issues 522 and 523: https://github.com/structuremap/structuremap/pull/523

This will probably happen with the next release. In the meantime, you can just pin the version in your project :smile:

I've pushed a new version, v1.3.0 that has bumped the dependency on SM to 4.4.2 :smile:


Update Grafana Capacity and Performance dashboards to use new v1 API metrics

Fixes #6767
Description This PR implements the new v1 metrics according to v1 migration Updated metrics in sample Grafana Capacity and Performance dashboards.
How was this change tested?
EKS 1.30 with Karpenter 1.0.0 and CRD installed via Helm chart
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 79.341%

Totals

Change from base Build<PHONE_NUMBER>2:
0.01%

Covered Lines:
5922

Relevant Lines:
7464

💛  - Coveralls


Create a container definition for swift-5.2

This change creates a container definition for swift language version 5.2.
Signed-off-by: Kevin Carter<EMAIL_ADDRESS>

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

Thanks for submitting this! Apologies for the delay - it's been a bit of a week on multiple fronts. 🤪
Out of curiosity, one thing we could do here instead is adding a build argument to the Dockerfile that would allow developers to pick their swift version.  We could then just change swift-4 to switft.  e.g.
ARG VARIANT="5"
FROM swift:${VARIANT}

Then in devcontainer.json:
"build": {
    "dockerfile": "Dockerfile",
   "args": {
       "VARIANT": "5"
   }
}

Would that potentially be the right thing to do here?  I've made this change for Python and Ubuntu, and plan to do it for others.

@Chuxel Good suggestion, I'll push an update with that change a little later today.

I'll merge this in and then make the change I suggest above post-merge.


Velodyne doesn't display on the 3D map

[Fill-out] only one section depending on whether you are reporting a bug or a new feature.
Bug
Expected Behavior
The Velodyne should work on the 3D Map
Actual Behavior
The Velodyne does't show on the 3D map
Steps to Reproduce the Problem

Specifications

Ubuntu version:
ROS Version:
Autoware branch:

New Feature
Describe where does new feature request come from. Add high-level picture of how the new feature should work.

Please tell me more detailed situation.
Is this a ubuntu16.04?master branch?ros indigo?
How did you do it?

Yes it's Ubuntu 16.04 and it's ROS Indigo
The veldoyne it's working only when i display the 3D map it doesn't show on RVIZ Map

@aalzooke this can not be, ROS indigo is not supported and released on 16.04: http://www.ros.org/reps/rep-0003.html#indigo-igloo-may-2014
In addition please provide exact steps in how are you trying to launch velodyne driver and visualize it (e.g. which launch files do you run).

probably NDT is not working. Check TF Tree using RQT, if the tree is not connected, make sure NDT is receiving data from the Velodyne and the initialization is correct. Check the manual for extra details. https://github.com/CPFL/Autoware-Manuals/tree/master/en


Changing any state inside function for "onChange" freezes the react-color UI

If I add any  "this.setState({test:color});" like function inside handle click the UI freezes and

The white pointer does not move
The colors dont change

I get the correct value for colors but it is not visually reflected on the color picker.
Removing this.setState and logging using console.log does the job.
constructor(props) {
    super(props);
    this.state = {displayColorPicker: false, test:"" };
    this.handleClick = this.handleClick.bind(this);
    this.handleClose = this.handleClose.bind(this);
    this.handleChangeComplete = this.handleChangeComplete.bind(this);
  }

handleClick() {
      this.setState({ displayColorPicker: !this.state.displayColorPicker });
    }

handleClose() {
     this.setState({ displayColorPicker: false });
   }

handleChangeComplete(color){
   this.setState({test:color}); // removing this line makes it work
   console.log(color);
   }

<ColorPicker
              display={ this.state.displayColorPicker }
              onChange={ this.handleChangeComplete }
              onClose={ this.handleClose }
              type="chrome" />```

I dont see why this would be causing the UI to freeze. Are you still having this issue?

@YashalShakti I had this issue also - try adding color={ this.state.color } to ColorPicker

I had this problem as well. The problem is that when you change the color, setState is being called on the parent component, triggering a re-render of the child components, including the ColorPicker. The ColorPicker components is tracking the selected color in it's interval state, so when it's re-rendered you lose that, giving the appearance that it's not responding. That's why you need to pass color={this.state.color}.


⚠ SpeakUpConference.com has degraded performance

In 5930270, SpeakUpConference.com (https://www.speakupconference.com) experienced degraded performance:

HTTP code: 200
Response time: 29977 ms

Resolved: SpeakUpConference.com performance has improved in 018f864 after 19 minutes.


[Specific-PSX] Lara glitching out

Lara is now drawn but she's glitching out, perhaps something to do with GetFloor or collision.

Can confirm this is not related to collision but CalcLaraMatrices(x); on specific DRAWPHAS.C

Fixed in: https://github.com/TOMB5/TOMB5/commit/d484ecb522152765eef4d5145b4366c7675413ff


Gravatar integration

Originally on 2010-12-22
[...]
Gravatar (an abbreviation for globally recognized avatar) is a service for providing globally-unique avatars which was created by Tom Preston-Werner.
[...]
e.g.:
<EMAIL_ADDRESS>->
-><EMAIL_ADDRESS>->
-> c81d7232581d0603b88d890d351b87d8 ->
-> http://www.gravatar.com/avatar/c81d7232581d0603b88d890d351b87d8

[[Image(http://www.gravatar.com/avatar/c81d7232581d0603b88d890d351b87d8)]]
Usage is simple:
[http://www.gravatar.com/site/implement/images/python/]
and can be exploited to nicely show the user icon in the upper right corner of logged in users, or on comments (when authorization has been granted) or in records, given the submitter email...

Addressed in master code base via Flask-Gravatar.


Add comparison to Ractive

I think these two frameworks are very similar. So, maybe it will be very interesting to find out what advantages of Vue against Ractive. Except popularity )))
Thanks!

Hmm, I don't think I'll have time to look at Ractive in-depth, but if someone with experience in both wants to start composing something, I'm willing to publish something approved by both communities.

Hey @PaulMaly, are you willing to PR for this? If not, no worries, but  I'm going to close it out because no one on this team has the requisite experience to write this up. Thanks!

Ok, I'm closing it out, but feel free to reopen if you decide you want to PR :)


Fix issue where event handlers weren't getting removed

When we navigated back to a graphy component, the original event handlers would still be attached, and we would call setState on an unmounted component.

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

src/helpers/paper-util.js, line 173 at r1 (raw file):

      }

      this.removeHandlers()

you probably want to remove the handler before the groups. Handlers are inside a Tool and a Tool is based on a group. So in the correct order for removing should be : Handlers, Tools, Group, Project

src/helpers/paper-util.js, line 202 at r1 (raw file):

    this.setDraggable = (onMouseDown, onMouseDrag, onMouseUp) => {
      this.removeHandlers()

we probably shouldn't remove during intialize

Comments from Reviewable

Reviewed 1 of 3 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

src/helpers/paper-util.js, line 173 at r1 (raw file):
Previously, joris974 (Joris Buchou) wrote…
you probably want to remove the handler before the groups. Handlers are inside a Tool and a Tool is based on a group. So in the correct order for removing should be : Handlers, Tools, Group, Project

Done.

src/helpers/paper-util.js, line 202 at r1 (raw file):
Previously, joris974 (Joris Buchou) wrote…
we probably shouldn't remove during intialize

We do want to do this in case you call setDraggable more than once. We know we're about to set new handlers, so it's ok to remove the old ones.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable


using non-docker environment, got error: FATAL Flags parsing error: Unknown command line flag 'run_relax'

Hi, deepmind group,
I am trying to run Alphafold with the most recent version and getting this error:
FATAL Flags parsing error: Unknown command line flag 'run_relax'.
I configured it using a non-docker environment.
It would be great if you could help me resolve that, thank you in advance!

Hi! The run_relax flag was removed in https://github.com/deepmind/alphafold/commit/684ffa19c629833b767af786be9f3a02fa24ad2b and you should now define --models_to_relax.
This enables you to only relax the best model, relax all models, or not relax.


feat: List all available deploy keys

This gives an API to call list all deploy keys

I made some updates and then merged them into develop.
Thank you again for the PR they are always welcome.

Thank you!

https://github.com/pyapi-gitlab/pyapi-gitlab/issues/213


fix(docs): typos

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
11836

Relevant Lines:
12493

💛  - Coveralls


sql: add cluster settings for a PRIMARY REGION and blocking PRIMARY REGION drops

PR: https://github.com/cockroachdb/cockroach/pull/67168
From release notes:

Added a cluster setting sql.defaults.primary_region, which assigns a PRIMARY REGION to a database by default. [#67168][#67168] {% comment %}doc{% endcomment %}

This setting's doc is already live on the v21.2 cluster settings page


FlexMeasures Client basic functionality

request function
authentication
polling requests
get assets
get sensors
post measurements
trigger schedule
get schedule
error handling

Please don't review script_guus.py. Print statements can be left in for now. It would be nice to keep bigger changes out and put them into issues or TODO's that can be branched from the dev branch

https://github.com/FlexMeasures/flexmeasures-client/pull/2#discussion_r1177856751
This one is still open from PR #2 , not sure what to do there


Added new patch that defaults replica to 1 for virt-controller and vi…

@andrewd-zededa waitfornodeready API needs to change which checks for fixed number of pods in kubevirt
I guess unless the above API is changed to accommodate the dynamic number of Kubevirt pods, it's hard to test it out on kubevirt-eve.
Also created a new ticket to track this issue: https://zededa.atlassian.net/browse/PE-316

Is this patch persistent ? does reboots reset the replicas

Is this patch persistent ? does reboots reset the replicas

Yes, it's persistent.


feat: Modify incorrect definition from Semiring to CommSemiring

The definition of RingEquiv.toCommSemiRingCatIso was incorrectly stated as equal to the RingEquiv.toSemiRingCatIso

Thanks
maintainer merge

Thanks!
bors merge


Support for Step Functions Resource

Issue #, if available:
Why is this change necessary?
How does it address the issue?
What side effects does this change have?
Did you change a dependency in requirements/base.txt?
If so, did you run make update-reproducible-reqs
Checklist:

[ ] Write Design Document (Do I need to write a design document?)
[ ] Write unit tests
[ ] Write/update functional tests
[ ] Write/update integration tests
[ ] make pr passes
[ ] Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue related to that PR: https://github.com/awslabs/aws-sam-cli/issues/174


Redirect non-www domain to www domain

➜ curl -v http://52calls-52weeks.com
* Rebuilt URL to: http://52calls-52weeks.com/
*   Trying <IP_ADDRESS>...
* Connected to 52calls-52weeks.com (<IP_ADDRESS>) port 80 (#0)
> GET / HTTP/1.1
> Host: 52calls-52weeks.com
> User-Agent: curl/7.49.1
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< x-amz-id-2: fvT15qgMsQq570+A3E7P2XbfTs9le1xg9pbexODEfNcCmsNyIpCrrJUv/M7zvEutt1T74eHy86s=
< x-amz-request-id: 9B93B25D2D6BECAF
< Date: Sat, 03 Dec 2016 02:57:09 GMT
< Location: https://www.52calls-52weeks.com/
< Content-Length: 0
< Server: AmazonS3
<
* Connection #0 to host 52calls-52weeks.com left intact```


Would pvvx broadcast support be welcome?

I have a pile of Xiaomi LYWSD03MMC thermometers scattered about the house. Almost all are currently configured with the "custom" broadcast format from PVVX's firmware. They're running an older version so don't have the BTHome format available. I currently use an esp32 running esphome to receive and decode the pvvx broadcasts using the pvvx_mithermometer component.
Eventually I'll reflash them and configure them for BTHome so they can leverage the network of ble_proxy's I have, and I feel that's the "proper" solution, but I am weighing up between doing the cumbersome flash and reconfigure process on them all now, versus adding native HA support for the protocol instead and delay reflashing them until they individually need their batteries replaced.
Is adding the protocol here, and adding the uuid to the manifest for the HA component the way to do that? And secondly, is it something there is interest in implementing or accepting a PR for?
I'd understand if there isn't given it's sort of an "interim" protocol between the native xiaomi and bthome protocols, but wanted to get an idea for where it's worthwhile putting in effort. I imagine I'm not alone in having deployed units with this firmware, but there probably aren't a lot of us, and we all probably anticipate having to bite the bullet and reflash them at some point...
(below is the format description from the above-linked pvvx ATC_MiThermometer repo)

A new protocol would mean a new library and a new integration.  It would not be something we would want to add to this library.

I'd also prefer not to support a third protocol for these devices full stop. Just because code that doesn't exist doesn't have to be maintained.

No worries, that's fair enough given there's a clear path to a supported solution (ie, reflashing and using BTHome).
Thanks for the prompt responses.


Add flow

Heyo @pokey —
It looks like the tsx parser supports flow types. The flow and hack additions were previously one but I separated them because I think there should be some discussion here.
I installed this Flow Language Support extension to see if it defined a languageId is defined using the plugin. I'm not seeing the ability to create Flow files which makes me think that I'm either doing something wrong or it might break the languageId->parser default mapping.
I'm going to play around with it a bit more and see what's up.

I'm not sure I understand the problem from Cursorless / parse tree perspective. If the tsx parser handles flow out of the box, why can't we just merge this, and then do roughly the same thing in cursorless, like we do for sass / css? And then if necessary we can add another two lines to activate on flow language id as well
But maybe I'm missing something?

Right now the public extension doesn't expose a new languageId, unlike the Sass/css.

When you say "which parser to use", I'm confused.  You say earlier that the tree-sitter-tsx parser supports flow out of the box.  So what are the parsers to choose from here?  Is it not just one parser?  Do you mean choosing between typescript and tsx parser?  Or by "parser" do you mean which Cursorless patterns should be active?  Maybe it's worth dropping into a meet-up to discuss; there's one tomorrow
But if not super high priority on your end no rush

Thanks for the quick response @pokey. Let me ask a question instead of making an assumption.
If there is now languageId for flowjs files defined, will we have a problem? Right now the public flow extension treats flow files as regular javascript files and doesn't define a languageId for htem.

If that's the case, and if the parser we use for javascript files already supports flow, then you should be able to just add any necessary patterns to our typescript patterns in cursorless and then you don't need this PR

sorry I lost track of this one.  Where did we land on this and #51?


📦 NEW: Enable useUnknownInCatchVariables

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message follows commit guidelines

Affected core subsystem(s)

Description of change

+<EMAIL_ADDRESS>


Acronyms: short form (long form)

Hi,
I'm working with your abbreviation detector tool. It's a great product. However, for the detection of short form (long form), it misses something like "SBMA (Spinal and bulbar muscular atrophy)" because the filter_matches() function in abbreviation.py requires two words instead of one as a verification step. Could you fix this, please?
Thanks!

Hi, it seems quite reasonable to assume that short form abbreviations will be a single token. Would you like to submit a PR with the change (and a small test demonstrating that single token short form abbreviations can be extracted?)


Example link added.

I made a example with online IDE.

Closing this issue because the above example link does not work anymore.


[NFC, Incremental] Refactoring to facilitate replacing the inputDependencySourceMap with the right thing

A refactoring of inputDependencySourceMap prior to really fixing the below:
See https://github.com/apple/swift-driver/pull/662
Quoting:

There is a remaining lurking bug here that involves an extra step.
Suppose you build in a normal way with foo.swift/foo.c setup. Then you
rebuild and cancel it after a frontend has emitted a new swiftdeps file,
finally, you crash the driver by exploiting this bug. The driver is now
in a state where swiftdeps disagree with the priors which disagree with
the output file map.

All this to say, we should take the earliest opportunity to remove
BidirectionalMap and its uses. But this commit is not the on. to make
such a structural change to the driver.
Start on that.
rdar://77998890

@swift-ci please test macOS Platform

@swift-ci please test

Some documentation of this new interface would be welcome. API notes are in-line.

Yes, I'll add.

Thanks for the comments; they helped! Have addressed them, and now will fix the conflicts.

@swift-ci please test

Thanks, @CodaFi , for productive comments. I've made the changes requested, modulo keeping some intentionality in the function names. This rev may not be there yet, so please let me know what you see.

@CodaFi Thank you for your review. I have responded to your comments and made changes where I agree. You have a wealth of experience with Swift style, and that helps my code fit in. To clarify, I think we agree that this PR makes no functional change, and that (for me) is the most critical part of your review, because I don't want to break the driver. There are some remaining disagreements on function naming, but I think they follow from my practice of choosing salience at the point-of-use. If Xcode were better at showing inferred types, or Doxygen documentation, I'd be in agreement with you.
Would you be able to approve this PR at this point?

@swift-ci please test

I remain unconvinced that this is a meaningful change, and moreover that the new API surface here is an improvement over the status quo. But this PR has also been blocked on my review and I don’t see a reason for that much, so

I understand. Thank you so very much for compromising here.


Echo examples don't behave as expected

Hi,
I'm trying to run the echo example, but the connection close eventually after a few seconds trying to connect.
My commands :
./bin/echo_server -c "$HOSTNAME,cert.pem,key.pem" -Ldebug
./bin/echo_client -LDebug
I hav generated a self signed certificate using openssl.
Here are the logs
client.log
server.log

So, I manage to make them work by specifying the same ipv4 on both end with -s options


jet monitor change of timestamp

May I recommend to change the following timestamps to 24 hour format since it is not evident whether it's AM or PM
rebalances in progress:

successful rebalances over the past 4 hour(s) (10 max lines):

Will be addressed in the next git push.


Support Map of Maps when using raw Map fields

Add support for Map of Maps (to any level supported by the Datastore). See #156 for more information on this.

Implemented.


Headless remote debugging

I've tried to set the --remote-debugging-port arg to easily debug headless Chrome, but it looks like tests are not run with that option (without it they run just fine).
Config:
  // ...
  capabilities: [
    {
      browserName: 'chrome',
      maxInstances: 3,
      chromeOptions: {
        args: [
          '--headless',
          '--disable-gpu',
          '--window-size=1280,750',
          '--remote-debugging-port=9222',
        ],
        binary: '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
      },
    },
  ],
  port: '9515',
  path: '/',
  services: ['chromedriver'],
  // ...

I'm using<EMAIL_ADDRESS><EMAIL_ADDRESS>and Chrome Canary 61.0.3153.0 (earlier versions have issues on OSX).
Do you know how see/interact with Chrome headless, combining webdriverio browser.debug()?

Sorry, been away for a while and missed this. And no, haven't looked into it...

This should be possible with latest Chromedriver and Chrome. Please let me know if it isn't and I can re-open.


fix(environments): add environments page

lets bring the environments page back again as its all lazily loaded now so doesn't perform too many network requests on startup any more

Can one of the admins verify this patch?

@jstrachan snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1296-fabric8-ui.int.rdu2c.fabric8.io


Fix test-style broken since bcf7d3b

After bcf7d3b err var is directly re-assigned without being
used and this breaks the static validation.

Thanks @sylr!


Non responsive Menubar/Sidebar

Actual Behaviour
The mobile website has a non-responsive sidebar/navigation bar. All the menus just clutter up in front of each other in one line.
Expected Behaviour
A responsive design/layout such as a dropdown menu or a hamburger style menu would be good for the mobile website.
Steps to reproduce it
Trivial changes in the CSS alone would make it responsive.
Screenshots of the issue
BEFORE

AFTER

Would you like to work on the issue?
Yes, I would like to work on the issue and make the necessary changes.

@lmccart  This issue also fixes the mobile view of the reference page which currently is looking as follows.

I have made changes regarding this. Should I send a PR for this?

@riteshsp2000 yes please do!


Use unit test framework for writing nicer looking tests with better diagnostics

I think https://github.com/nomad-software/dunit looks good. I have found a way to have the unit test framework as a dependency only for the unittest build, and will push a change to the dub.json if you agree to this idea.

dunit does look good. Last time I checked though pulling in a testing framework (I used tested) in a library causes all projects build upon the library to also use the framework, so effectively we would be forcing any user of painlessjson to use dunit like reporting as well. It might be good to double check if this is still the case though.

just to comment on this - you are right I get DUnit reporting when I use painlessjson in my project whether I want it or not - in my case I decided to use DUnit as well so it's fine - but I think in general the decision on which test framework to use should be down to the user rather than being forced to use it because of using a particular json library.


DVM … not doing anything.

(Possibly the least-descriptive Issue title I've ever written?)
So, I've installed DVM via the curl-sh snippet (also, plz don't :P); and …
> dvm ls-remote
> echo $?
0
> dvm install 1.10.3
> echo $?
0
> dvm current
system (1.11.1)
DEPRECATED Action signature.  Must be `cli.ActionFunc`.  This is an error in the application.  Please contact the distributor of this application if this is not you.  See https://github.com/codegangsta/cli/blob/master/CHANGELOG.md#deprecated-cli-app-action-signature

Each of those commands takes a moment to evaluate, but produces no output, and has no effect.
I'm on OS X 10.11.3; using the system Docker client from Homebrew.

Thanks for reporting this! I am consolidating it into a single issue #103 and will be looking at it today.

Nevermind reopening. 😊  That last warning message threw me off but I don't think they are related. Even when dvm prints that "deprecated" message, it should have done something.

Would you please run dvm --debug install 1.10.3 and post the output?
Also is this a local build? I noticed that you are cloning the repo and may not have used the current dvm installation routine (due to noted security concerns).

I was able to reproduce this behavior when my DVM_DIR environment variable didn't match my local clone's location. These are the steps that I use when testing, maybe they will help.

cd ~/src/github.com/getcarina/dvm
make
export DVM_DIR=$PWD
source dvm.sh

Hm. So, I was in a local-clone of dvm: I've originally installed as described in #101; but after discovering that that was unsupported, I removed ~/.dvm entirely, and installed in the sanctioned method: so I have a ~/.dvm/dvm.sh, ~/.dvm/dvm-helper, and ~/.dvm/bash_completion. Nothing else.

That is really odd! I don't see a code path where something would not get printed after it repeated back the original command when you ran dvm --debug install 1.10.3...
How about running the following and sending back the output?
source /Users/ec/.dvm/dvm.sh
echo $DVM_DIR
dvm --version
dvm --debug install 1.10.3
/Users/ec/.dvm/dvm-helper/dvm-helper --debug --shell bash --dvm-dir=/Users/ec/.dvm install 1.10.3

Okay, so, I can no longer reproduce this issue, unfortunately. |=
I'm closing, unless I can convince it to show up again.
(Also, 'ullo from the South Loop, @carolynvs. :P)


Enables setting ids directly in facts and problems

Currently Facts and Problems don't set the id manually and ignore the incoming id. This PR fixes that.

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for changelog and subsystem label(s) applied

Closing issues
closes #2630

I have second thoughts about this - being able to set the ID, even though it's specified by the API, feels like we're just asking for trouble (what happens, for instance, if someone sets their id to the max integer value?)
How best to approach this @tobybellwood and @rocketeerbkw?

CLosing this PR, as allowing users to specify their ids is undesirable. Handling any b/c issue separately


Blank screen after few seconds

Plugin Version
google_mobile_ads: ^0.13.5
Steps to Reproduce
I am not sure how to reproduce this, I have a lot of code and it started happening after I added googleads-mobile-flutter to it.
I know it is very hard to determine what is happening without reproducing the error, but at least someone could have a clue about this problem.
Expected results:
Application runs normal and ads shown.
Actual results:
Widgets get "blank" after some seconds, everything works normal (i.e. buttons, methods, classes).
Issue
Really seems like some rendering problem. I also thought  could be some memory leak or something, but memory test on dev tools does not point it. Also I read something about android garbage collector and flutter embedding.
I only happens when ads are active (if user gets premium it stops happening).
Seems that it occurs when webview is destroyed (log: "W/Ads     (13786): 004 The webview is destroyed. Ignoring action.")

Logs

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-BR)
    • Flutter version 2.5.3 at /Users/brunoandrade/Dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (4 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/brunoandrade/Library/Android/sdk
    • Platform android-31, 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.10+0-b96-7281165)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

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

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

[✓] Connected device (3 available)
    • M2003J15SC (mobile) • 0fe657a70502 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos        • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome       • web-javascript • Google Chrome 95.0.4638.69

I think I have something similar. When I open any page of my app that has an appbar it is blank it is a few thousandths blank.

I am now using admob_flutter, which works fine despite it's using a "deprecated version of the Android embedding".
Really seems like google_mobile_ads is leaking memory (at least with the copy/paste code of sample folder), and eventually garbage collector clean up the app and screw the render up. A lot of "Background concurrent copying GC freed" is thrown while package is running.

Hi @brunodmn, Thanks for filing the issue. I can understand creating a reproducible code might not be easy, But can you please provide some more info

Is this issue reproducible only with a specific ad/ device/ or Platform (IOS)
Does this issue occur on a newly created sample app with an ad too?
Can you please try to determine the reproducible steps, and whether this occurs 100% of the time or is intermittent?

On a side note, can you please try upgrading to the latest plugin 0.13.6, and see if you are still able to reproduce the issue?
Thanks

@railsonsm  it would be really helpful to debug the cause of the issue if you can come up with a minimal reproducible code.
Thanks

Hi @brunodmn, Thanks for filing the issue. I can understand creating a reproducible code might not be easy, But can you please provide some more info

Is this issue reproducible only with a specific ad/ device/ or Platform (IOS)
Does this issue occur on a newly created sample app with an ad too?
Can you please try to determine the reproducible steps, and whether this occurs 100% of the time or is intermittent?

On a side note, can you please try upgrading to the latest plugin 0.13.6, and see if you are still able to reproduce the issue?
Thanks

Hi @maheshmnj, it happens every time, some times after few seconds, sometimes few minutes. I've noticed if I try to login with Google (firebase_auth/google_sign_in) it happens right away.
I have tried with Android only. I don't think it's with some specific ad, I tried removing banner and keeping intersticial, and the other way around, same results.
I did upgrade to latest version 0.13.6 and it keeps going.
I will create a new app and try to reproduce by today, I'll keep you posted.
Thank you.

@maheshmnj, I just started a new project and now I am not even able to run it.
Using de version 1.0.0, bellow error is throw:
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
   > The minCompileSdk (31) specified in a
     dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)

To reproduce, start a new project and initialize the instance:
import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  MobileAds.instance.initialize();
  runApp(const MyApp());
}

On Manifest add:
<meta-data
          android:name="com.google.android.gms.ads.APPLICATION_ID"
          android:value="ca-app-pub-xxxx~xxxx"/>

already tried without success, add bellow snippet at debug config:
configurations.all {
    resolutionStrategy { force 'androidx.core:core-ktx:1.6.0' }
}

I also tried to change minSdkVersion/targetSdkVersion to 31 with no success.
Also tried to override workmanager dependency.
dependencies {
     implementation('androidx.work:work-runtime') {
         version {
             strictly '2.6.0'
         }
     }
 }

I am trying to run it on Android device, on a Linux Mint machine.

@maheshmnj, I just started a new project and now I am not even able to run it.
Using de version 1.0.0, bellow error is throw:
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
   > The minCompileSdk (31) specified in a
     dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)

To reproduce, start a new project and initialize the instance:
import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  MobileAds.instance.initialize();
  runApp(const MyApp());
}

On Manifest add:
<meta-data
          android:name="com.google.android.gms.ads.APPLICATION_ID"
          android:value="ca-app-pub-xxxx~xxxx"/>

already tried without success, add bellow snippet at debug config:
configurations.all {
    resolutionStrategy { force 'androidx.core:core-ktx:1.6.0' }
}

I also tried to change minSdkVersion/targetSdkVersion to 31 with no success.
Also tried to override workmanager dependency.
dependencies {
     implementation('androidx.work:work-runtime') {
         version {
             strictly '2.6.0'
         }
     }
 }

I am trying to run it on Android device, on a Linux Mint machine.

Nevermind, I made it work with some changes, as follows:
On build.gradle  (project level), changed ext.kotlin_version = '1.3.50' to ext.kotlin_version = '1.4.32'.
On build.gradle  (app level), changed compileSdkVersion 30 to compileSdkVersion 31 and  minSdkVersion 16 to minSdkVersion 19.
Should it be in documentation or it happened just on my machine?
Now I'll check if blank screen will be shown with this minimal app and I'll let you know. Thanks.

I'm also having the same issue as reported above.

Create brand new flutter app
Add google_mobile_ads package
Update main.dart to

`import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:flutter/material.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
MobileAds.instance.initialize();
runApp(const MyApp());
}`
Try to run and get error message:
`* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.work:work-runtime:2.7.0.
`

I also tried manually updating ../app/build.gradle to:
compileSdkVersion 30 => compileSdkVersion 31 and also
defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.example.ad_testing"
        minSdkVersion 21
        targetSdkVersion 30 => targetSkdVersion 31
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

But this then also doesn't compile and throws errors related to Kotlin version.
Running on Windows with an Android virtual device. Thanks.

But this then also doesn't compile and throws errors related to Kotlin version.

Running on Windows with an Android virtual device. Using Flutter Stable channel. Thanks.
@mattf80 please file this as a separate issue to track.

@brunodmn  use ext.kotlin_version = '1.6.10'


Ispn 9944 ServerNG security

https://issues.jboss.org/browse/ISPN-9944
Still preview because the serverng testsuite is broken: I've embarked on a way to support embedded, forked and container tests (using testcontainer) but it is completely unfinished.

@tristantarrant I think it's worth separating the following commits into their own PRs as this one will probably take some time to be ready and will only grow. The distribution change in particular deserves a dedicated JIRA as well.
https://github.com/infinispan/infinispan/pull/6900/commits/18e761b65ec60dd136545ac29bf1b985d61807f3
https://github.com/infinispan/infinispan/pull/6900/commits/7231d7a0dc1d4b63c40031895263d60b32b87d4e

I am reopening this as separate PRs.


PDF Type0 (CFF) font subsetting doesn't work

It shows garbage

This has been implemented in github.com/tdewolff/font sometime back.


[11/n] Add vscode editor bundle

[11/n] Add vscode editor bundle
Save main.js bundle representing the vscode editor webview inside the extension itself.
This will allow us to publish the extension and it can use the bundle directly for creating the webview.
Test Plan:

See video in comment

Stack created with Sapling. Best reviewed with ReviewStack.

-> #1075
#1073
#1070
#1069
#1068
#1066
#1062
#1060
#1059
#1058
#1057

https://github.com/lastmile-ai/aiconfig/assets/25641935/9a6b6405-555d-41a9-b3d6-22dcfe7cfdcd


[WIP] Removes and Adds helper server methods

Description of the Change
Some of the calls to the server instance was invoking multiple methods
for example Amber::Server.instance.pubsub_adapter.instance, with the
changes this now reads as Amber::Server.pubsub_adapter making it easy to
change without reworking the caller.
Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Alternate Designs
We could dynamically generate the class methods for each of the properties to reduce the number of methods define at code level
Why Should This Be In Core?
In other to make the framework attractive to developer, it should readable and accessible.
Benefits
The resulting changes tends to be more maintainable and adaptable making
the code more readable to the developer.
Possible Drawbacks
Narrow interfaces, giving access to only as much information as it needs to do
its job, as each method needs to know about a small set of methods of closely related objects
High number of class methods

@elorest @drujensen  I had to add a test_shard.yml to run tests for the CLI, basically, this will look for the current amber context that the tests are running.
I am open to suggestions

This adds a test_shard.yml file is used to run tests in the current amber context.
With this file in place, we can replace the generated shard.yml for the test_app, causing the tests to look at the current amber context (very useful for testing changes to the framework to make sure the CLI does not break).
For example https://github.com/amber-crystal/amber/pull/209/files#diff-e3abc1c7c34e94cf42d32a206fe06768R41

@drujensen made some changes to just replace the line of the shard.yml. Note that this is replacing by line number.

Could you just gsub instead?
On Aug 31, 2017 7:35 PM, "Elias Perez"<EMAIL_ADDRESS>wrote:

@drujensen https://github.com/drujensen made some changes to just
replace the line of the shard.yml. Note that this is replacing by line
number.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amber-crystal/amber/pull/209#issuecomment-326463992,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHmpPM_-BSJvKH1dI4eGJ0hBgI8kRsLks5sd19KgaJpZM4PIIua
.


Temporal clustering for spatial data

Add visualization for temporal clustering when working with spatial data.

This PR relies on #356 , so will get that in asap.

@Zapiano
I've rebased onto add-map-viz so that the most recent map functionality is available.
We'll have to work out a good way of showing cluster membership along with outcomes - I see what your concern was now.
rs = ADRIA.load_results("some outputs")

# Get coral cover outcomes in absolute units (m²)
tac = ADRIA.metrics.total_absolute_cover(rs)

# Mean outcomes for each site (median is actually preferred but very slow!)
m_tac_locs = ADRIA.metrics.per_site(mean, tac)

# Mean outcomes for each site and time step
m_ts_tac = dropdims(mean(tac, dims=:scenarios), dims=:scenarios)

# Get IDs of clusters according to site trajectories
cluster_ids = ADRIA.analysis.time_series_clustering(rs, m_ts_tac, 6)

# Show map using the mean outcomes for each site
ADRIA.viz.spatial_clustering(rs, m_tac_locs, cluster_ids;
    opts=Dict{Symbol,Any}(:colorbar_label => "Total Absolute Cover"))

Zooming in:

Maybe if we flip the colors so that the stroke color indicates outcomes, and fill color indicates cluster membership?
Alternatively, what if we abandon the idea and just display two maps (one with membership, the other with outcomes)?
I'd also like to see a legend with indicating which color is what cluster, and the indicative values of cluster outcomes

@ConnectedSystems I have moved the function spatial_cluster  that was inside viz/clustering_map.jl to viz/clustering.jl and renamed it to ts_spatial_cluster. We can change that later, but I did that for two main reasons:

This function only makes sens in the context of this time series clustering (is not a general spatial plot, it's a specific type of spatial plot related to time series clustering)
There's is one internal function that is very specific to this clustering context and that is shared between ts_spatial_cluster and ts_cluster, which is _clusters_colors

What do you think?

@Zapiano
Consolidating the code into a single file (clustering.jl) makes sense to me.
On ts_spatial_cluster, we can keep things simple, leveraging Julia's multiple dispatch: I've just changed it to map()
ADRIA.viz.ts_spatial_cluster(rs, outcomes, cluster_ids) -> ADRIA.viz.map(rs, outcomes, cluster_ids)
It's not really specific to time series as we're squashing that down to some summary statistic (mean, median etc) or some other arbitrary function.
So, we have a method that allows one to plot a map for the domain with a given value for each represented location (with a vector of values), and a similar method that accepts a matrix that represents a series of values for each location. Series data for each location is then summarized so we end back to a vector of values for each location.
I've adjusted the stroke and color defaults - looks a bit better although we should use a different color scheme for the stroke.
We're also still missing the cluster legend.

@ConnectedSystems
I have changed the visualization a little bit and I think it's a little bit easier to understand the map now, what do you think? My idea is: because we are using colors for the clusters, it would be better to use a gray scale as the metric continuous color scale. Also, I mapped the darkest color (in this case, black) to higher values and the lighter (white) to 0, and that also contributed to "clean" the visualization.
I have also added legends and documentation, as you can see.

I have also added legends and documentation, as you can see.

Wonderful, thank you!

I have changed the visualization a little bit and I think it's a little bit easier to understand the map now, what do you think?

This is great, thank you!
Could we perhaps make the lowest value a bit gray? It may look a little nicer if it's not white (given the background is also white).
I think also make the legend not to use scientific notation for the cluster means - easier to compare that way in my opinion.
I'll add some other comments as a code review.

@ConnectedSystems I think it's all good now. Just tested here and it is working.


Weird query results when using the DataSketches Quantiles Sketch

We used the DataSketches to compute quantiles and got very weird query results.
Affected Version
0.12.2
Description
Metrics spec at ingestion time:
"metricsSpec": [
      {
        "type": "count",
        "name": "count"
      },
      {
        "type": "doubleSum",
        "name": "cm_value",
        "fieldName": "cm_value",
        "expression": null
      },
      {
        "type": "quantilesDoublesSketch",
        "name": "cm_value_sketch",
        "fieldName": "cm_value",
        "k": 128
      }
]

My query:
 "aggregations": [
    {
      "type": "quantilesDoublesSketch",
      "name": "custom_value_sketch",
      "fieldName": "cm_value"
    },
    {
      "type": "doubleSum",
      "name": "count",
      "fieldName": "count"
    },
    {
      "type": "doubleSum",
      "name": "cm_value_sum",
      "fieldName": "cm_value"
    }
  ],
  "postAggregations": [
    {
      "type": "quantilesDoublesSketchToQuantiles",
      "name": "quantiles",
      "fractions": [
        0.1,
        0.2,
        0.3,
        0.4,
        0.5,
        0.6,
        0.7,
        0.8,
        0.9,
        1
      ],
      "field": {
        "type": "fieldAccess",
        "fieldName": "custom_value_sketch"
      }
    }
  ]

The query result:
"result" : {
    "count" : 4223.0,
    "cm_value_sum" : 667109.0,
    "quantiles" : [ 52.0, 179.0, 515.0, 929.0, 1185.0, 1426.0, 1680.0, 2047.0, 2601.0, 6000.0 ],
    "custom_value_sketch" : 529
  }

As we can see, the value of 0.5-quantile is 1185.0, so there must be nearly half of the cm_value  greater than or equal to 1185.0. However, if we multiply 1185 and 2111 (half of the count) , we found the result is 2501535 which is much greater than the sum of cm_value 667109. Impossible! this should not be happen. We have loaded the same data into hive, and queried hive we got the result:
"result" : {
    "count" : 4223.0,
    "cm_value_sum" : 667109.0,
    "quantiles" : [ 70.0, 82.0, 96.0, 112.0, 136.0, 160.0, 189.0, 229.0,<PHONE_NUMBER>000002, 3368.0 ]
  }

@AlexanderSaydakov is there any bug of DataSketches Quantiles Sketch or I used it in a wrong way?

@AlexanderSaydakov thanks, and is it enough if I upgrade the data sketch extension only rather than the whole Druid.

I am not sure which version of the extension would be compatible with which version of Druid. It always is built as a part of the whole Druid package.

Okay, I'll have a try, thanks @AlexanderSaydakov


Table of contents default state

Hello! First of all, thank you for developing this theme; it is beautiful.
I have a feature suggestion for Table of Contents for its default state.
Can we have another configuration, such as enableToc, to set the default state? May be tocDefaultState. When that is false, single page is ToC is enabled but turned off by default.
Let me know if you need any help; I'm new to Go, though.
Thanks again.

Did you mean that you want to enable the Toc conditionally?

Did you mean that you want to enable the Toc conditionally?

Yes., As in to set a default state, whether it is open or not. Currently, when it is enabled, it is open by default.

I think it could be done by setting the front matter.
First, update the Zzo theme. I fixed a bug.
Next, set the enableToc Param at the front matter something like this
content/posts/mypost.md
title: "my post"
date: 2019-12-26T12:00:24+09:00
description: post desc
tags:
series:
categories:
enableToc: false
In this way, you can disable / enable the single page Toc

Ah yes, I found that, thanks. What I'm talking about is another matter I'm afraid because it disables the Toc. Let me show you.
When we enable Toc and open a page, it looks like this right?

What I'm talking about is opening the page like this, so that a user can toggle the Toc.

Ok, It makes sense.
I'll add a param named hideToc on params.toml file.

Hi,Can you use common parameters here, such as toc:false

@fandean Did you mean change the enableToc to toc?

yes

Actually, I do want to change some param names to another,
Why I can't do this is because if I change the params, other people who use the Zzo theme may conflict with their Hugo site until they change the params as we changed.

The way I think about it is that some of the jekyll site themes I've used before support toc to control the display of the TOC, so I think toc is more general, and this is the first time this parameter has been discussed in a zzo theme

I think that change the existing param name is not a good idea. Someone will get in trouble by the param. In case that if the toc is more general naming, then we can keep enableToc and toc both of them that behave the same role.

OK

@dishanrajapaksha I added param named hideToc. Maybe you want to set this param like this
params.toml file
...
hideToc = true
...

@fandean Bro, I added the toc. You can replace enableToc to toc in params.toml file. Something like this. Now, enableToc and toc params are logically the same.
params.toml file
enableToc = true
toc = true
You can also use toc at front matter in your content md file.
---
...
tags:
- javascript
- programming
series:
-
categories:
-
toc: true
---

@zzossig Thank you, that was fast 😄 I just checked, and it works just as I expected. Maybe we can close this issue?


DataStreamSource oracle ID

Please don't check the box below

[X] I'm aware that bugs and new features should be reported on Apache Jira or Flink mailing list instead of here

Again, please don't check the box below

[X] I'm aware that new issues on GitHub will be ignored and automatically closed.

请不要勾选以下选项

[X] 我已知悉缺陷和新功能需要在 Apache Jira 或 Flink 邮件列表中反馈，而不是在这里创建新 issue。

也请不要勾选以下选项

[X] 我已知悉 GitHub 上的新 issue 会被忽略且自动关闭。

OracleToMysqlSink.java:
value:
{"before":null,"after":{"ID":{"scale":0,"value":"AQ=="},"NAME":"1","DESCRIPTION":"11"},"source":{"version":"1.9.7.Final","connector":"oracle","name":"oracle_logminer","ts_ms":0,"snapshot":"false","db":"zhangge","sequence":null,"schema":"ZHANGGE","table":"TABLE_1","txId":null,"scn":"0","commit_scn":null,"lcr_position":null,"rs_id":null,"ssn":0,"redo_thread":null},"op":"r","ts_ms":1716354949166,"transaction":null}
sink receives data in a format where id is a complex structure and the expected result should be a number like 1 or 2


Improved preloader creation/extension

Pushing PR #704 again, against develop branch this time...

The current preloader requires the user to extend NMEPreloader and override its methods, but the NMEPreloader have it's own, hard-coded, behavior.
This pull request changes NMEPreloader to extend OpenFLPreloader, which is a empty class (almost an interface that extends Sprite).
The only requirement to create a preloader now is 1) extend OpenFLPreloader and dispatch an Event.COMPLETE when you are done with the preloader.

I wonder if we still need the NMEPreloader template actually,
background color/height/width should be available through lime.app.Application.config


Is Platform Support macOS still in preview?

Just want to check if this is still in preview? The doc hasn't been updated since 2017 and as I understand, Xamarin.Mac has several stable releases already.

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

ID: 35a28b49-e47c-fca9-69e4-c261f2869e9a
Version Independent ID: db9d6201-0042-eb0c-7b86-80089b543674
Content: Mac Platform Setup - Xamarin
Content Source: docs/xamarin-forms/platform/other/mac.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @Nii-co
Afraid it's still a preview (see https://github.com/xamarin/Xamarin.Forms/wiki/Platform-Support-macOS-Status). Full macOS support is planned for MAUI.


Command failed when using youtubedl.exec() with [-x --audio-format mp3] options

Hey,
I followed your example to get a node stream thanks to a youtube url. I've done the exact same thing as it's said, namely :
let url = 'https://www.youtube.com/watch?v=' + VIDEO_ID
youtubedl.exec( url, [ '-x', '--audio-format', 'mp3' ], {}, function( err, output ) {
    if ( err ) throw err
    console.log( output.join( '\n' ) )
}

However, i always get the same error :
(node:11136) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: path\to\node_modules\youtube-dl\bin\youtube-dl.exe -x --audio-format mp3 --encoding utf8 http://www.youtube.com/watch?v=VIDEO_ID
    at makeError (path\to\node_modules\youtube-dl\node_modules\execa\lib\error.js:56:11)
    at handlePromise (path\to\node_modules\youtube-dl\node_modules\execa\index.js:114:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:11136) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11136) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Am I doing anything wrong, or is it actually an issue ?
Thanks for your help !

Hi @PeacefulOtter , did you find out the solution for this problem? I am currently facing this issue as well. If yes, would you please kindly suggest me how your approach was? Thank you very much

Hello @dustinvo17 , I did not find any solution for this problem unfortunately. I've tried other approaches which all failed..
If you succeed to stream a video with a youtube url, please let me know!

Try ['--format=140'] as the options, only specifying the audio format, works for me, not using .exec tho


webdrive cannot cope with spaces in the path

I am trying to use the gulp-webdriver in a path that sits under C:\program files\ I am getting an error saying that 'C:\Program' is not recognized as an internal or external command. When I move it to a location that has no spaces in the path it runs ok.
Unfortunately where I want to run it on the server has to have spaces in so is there a way of running this in a path with spaces?

I'm having the same issue - it looks like this is windows specific.
 gutil.log('spawn wdio with these attributes:\n', args.join('\n'));
         stdio: 'inherit'
     });```

It looks like where spawn is called, the 'args' argument is the path to the wdio conf file. If that path contains a space then the error above occurs.

Incase this issue is affecting anyone else - we found a workaround.
The problem was specifically on our CI server, where we couldn't control the path from where the tests ran.
The tests were running from c:\program files\etc\etc\  and the space caused the issue. We found that if we cd'd to the short version C:\Progra~1\etc\etc\ before kicking off the tests everything worked fine.

Amazing workaround!

I think this is resolved then.


Add Python support along with JS support.

JavaScript is a great language but NPM has packaging issues at times, mostly with vulnerabilities. Python is another great language which doesn't have these issues. I will be willing to contribute to this to add Python support along with JavaScript support.

If allowed to start this, I can start development ASAP.

I wanted to answer this a couple days ago but then accidentally marked it as read … sorry. What exactly would you suggest to be implemented in Python? c:
Maybe I'm dumb, but I can't think of a usecase from the top of my head that would require Python. o:

I wanted the colors to be implemented/ported to the Python language. This makes it easier for people who dev in Python.

Oh sure. I don't think there would be anyone against that. c:

Oh sure. I don't think there would be anyone against that. c:

Great, will start working on this asap

Looking forward to how it will turn out. ^—^

Do you have any further updates on this? Absolutely no worries if there are none. Just wondering what the state of this issue is.

Do you have any further updates on this @Spaxly? Absolutely no worries if there are none. Just wondering what the state of this issue is.

Sorry, this had slipped my mind completely, since I'm working on other projects ATM, I will likely not continue this, thought this does not mean I will not come back to it. Apologies once again.

Ah, no worries! I actually think it's better to keep the issue open as someone else might come across it and want to try and implement it themselves!
There's absolutely no pressure to try and come back to this!

i'll pick up the python implementation

Closing this issue now as catppuccin/python exists!
Thanks to @backwardspy for picking it up and getting this issue closed <3


Media query can't be defined and useable to nextui componet?

Describe the bug
Hello, I read full documentation of nextui. Here I am not finding any media query documentation except one- https://nextui.org/docs/theme/media. Here we can see- export a media object. But how can I use it with nextui, I actually not finding documentation here. In this media can we create custom breakpoints? Where, I have to call this media object or how can I use it with next ui.
Here I am trying to use it
<Container xlMax>
      <Button>Hello World</Button>
</Container>

but xlMax not working.
I can see this in documentation-
export const media = {
  xs: `(min-width: ${defaultTokens.breakpoints.xs})`,
  sm: `(min-width: ${defaultTokens.breakpoints.sm})`,
  md: `(min-width: ${defaultTokens.breakpoints.md})`,
  lg: `(min-width: ${defaultTokens.breakpoints.lg})`,
  xl: `(min-width: ${defaultTokens.breakpoints.xl})`,
  xsMin: `(min-width: ${defaultTokens.breakpoints.xs})`,
  smMin: `(min-width: ${defaultTokens.breakpoints.sm})`,
  mdMin: `(min-width: ${defaultTokens.breakpoints.md})`,
  lgMin: `(min-width: ${defaultTokens.breakpoints.lg})`,
  xlMin: `(min-width: ${defaultTokens.breakpoints.xl})`,
  xsMax: `(max-width: ${defaultTokens.breakpoints.xs})`,
  smMax: `(max-width: ${defaultTokens.breakpoints.sm})`,
  mdMax: `(max-width: ${defaultTokens.breakpoints.md})`,
  lgMax: `(max-width: ${defaultTokens.breakpoints.lg})`,
  xlMax: `(max-width: ${defaultTokens.breakpoints.xl})`,
  motion: '(prefers-reduced-motion)',
  safari: 'not all and (min-resolution:.001dpcm)',
  hover: '(any-hover: hover)',
  dark: '(prefers-color-scheme: dark)',
  light: '(prefers-color-scheme: light)'
};

My question is-

But actually, where we should use this?
Where We should call this media object?
Is there has many options to use custom media like as I need to define xxxl: 2560px
Can we get better documentation about media query.
If there are no options to use custom breakpoints with nextui component, then how can we use custom media query for nextui component like as Grid, Container.

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
https://github.com/siamahnaf198/nextui
Expected behavior
Actually, I want to use some custom breakpoints as media query. Such as I need to define some style for minimum 2560 device, I need to define some style for 1980px device. But I am not finding any solution to use custom breakpoints as media query with next ui. If there are already have this feature then please document this well, otherwise you should give this feature.
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Edge

i also have this bug, i change breakpoints from createTheme fn, but, my the changed, not work , my nextUI version is 1.0.0-beta.10

Any update?

@siamahnaf198 I was able to easily make my own custom breakpoints by forking nextui project, then editing the default breakpoints https://github.com/nextui-org/nextui/blob/f85a569b4782e99124c752269867272dc91f6313/packages/react/src/theme/common.ts line 154
yarn install && yarn build:nextui
cd packages/react && yarn pack
//then in your project
npm i ~/path/to/package.tgz

I know it's not ideal, but it's an easy and quick workaround for now.
If you look at https://github.com/nextui-org/nextui/blob/f85a569b4782e99124c752269867272dc91f6313/packages/react/src/theme/stitches.config.ts
The nextui project seems to need to hold a ref to the stitches theme object which is created at lib initialization.
The feature we need would probably require quite a bit of work, I'm just getting into nextui and stitches so I can't tell.

It is not perfect solution. Your wat to define custom breakpoint give a lot of typescript error. It need to create this library with capable of custom breakpoint.

Hey please update to v2 https://nextui.org/blog/nextui-v2
https://tailwindcss.com/docs/hover-focus-and-other-states#responsive-breakpoints