Resource android:attr/fontVariationSettings not found. SDK location not found

For AndroidX Migration, I had added
android.useAndroidX=true
android.enableJetifier=true

to gradle.properties but still when I tried to 'Migrate to AndroidX', it said 'No usages found in the project.'
Other than that, this is the whole 'run' code followed by the error it shows.
D:\Project\New>flutter run
Using hardware rendering with device AOSP on IA Emulator. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib\main.dart on AOSP on IA Emulator in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  Output:  D:\Project\New\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:189: error: resource android:attr/fontVariationSettings not found.
  D:\Project\New\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:190: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

  Command: C:\Users\Divyansh Kumar\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\15820ac8876d3772b68f5299fe5b21c5\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
          C:\Users\Divyansh Kumar\AppData\Local\Android\sdk\platforms\android-27\android.jar\
          --manifest\
          D:\Project\New\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\
          -o\
          D:\Project\New\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\
          -R\
          @D:\Project\New\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\
          --auto-add-overlay\
          --java\
          D:\Project\New\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\
          --custom-package\
          com.example.examplerealtime\
          -0\
          apk\
          -0\
          tflite\
          --output-text-symbols\
          D:\Project\New\build\app\intermediates\symbols\debug\R.txt\
          --no-version-vectors
  Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
  Output:  C:\Users\Divyansh Kumar\.gradle\caches\transforms-1\files-1.1\core-1.0.0-rc01.aar\d6d7d29868c2b712196ac4d5fd8e4b2f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/fontVariationS
ettings not found.

  C:\Users\Divyansh Kumar\.gradle\caches\transforms-1\files-1.1\core-1.0.0-rc01.aar\d6d7d29868c2b712196ac4d5fd8e4b2f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/ttcIndex not found.

  error: failed linking references.
  Command: C:\Users\Divyansh Kumar\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\15820ac8876d3772b68f5299fe5b21c5\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
          C:\Users\Divyansh Kumar\AppData\Local\Android\sdk\platforms\android-27\android.jar\
          --manifest\
          D:\Project\New\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\
          -o\
          D:\Project\New\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\
          -R\
          @D:\Project\New\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\
          --auto-add-overlay\
          --java\
          D:\Project\New\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\
          --custom-package\
          com.example.examplerealtime\
          -0\
          apk\
          -0\
          tflite\
          --output-text-symbols\
          D:\Project\New\build\app\intermediates\symbols\debug\R.txt\
          --no-version-vectors
  Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 25s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        26.3s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin camera...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done                    3.5s
         *********************************************************
WARNING: This version of camera will break your Android build if it or its dependencies aren't compatible with AndroidX.
         See https://goo.gl/CP92wY for more information on the problem and how to fix it.
         This warning prints for all Android build failures. The real root cause of the error may be unrelated.
         *********************************************************

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'camera'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

The plugin camera could not be built due to the issue above.

Hi @divyanshkumaar
Could you provide your flutter doctor -v?
Are you experiencing this when running new project with camera plugin?
Are you using camera 0.5.7+4 version?
Could you provide your android/app/build.gradle?
Related to https://github.com/flutter/flutter/issues/46881

Yes I'm using a camera plugin.
I downloaded this project from GitHub so I don't know the camera version. Could you tell me how to check it?
Please find the flutter doctor -v below:
D:\Project\New>flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18362.720], locale en-US)
• Flutter version 1.12.13+hotfix.8 at D:\Flutter_SDK\flutter
• Framework revision 0b8abb4724 (7 weeks 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.3)
• Android SDK at C:\Users\Divyansh Kumar\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] Connected device (1 available)
• AOSP on IA Emulator • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
! Doctor found issues in 1 category.
Below is the android/app/build.gradle :
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 27
lintOptions {
    disable 'InvalidPackage'
}

defaultConfig {
    // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
    applicationId "com.example.examplerealtime"
    minSdkVersion 21
    targetSdkVersion 27
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug
    }
}

aaptOptions {
    noCompress 'tflite'
}

}
flutter {
source '../..'
}
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

@divyanshkumaar
could you check with using camera 0.5.7+4?
note that 4.0 is already a year old

I changed camera: 0.4.0 to camera: 0.5.7+4 in the pubspec.yaml file as you asked.
This is the new run code now:
Still errors.
D:\Project\New>flutter run
Running "flutter pub get" in New...                                 4.7s
Using hardware rendering with device AOSP on IA Emulator. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:processDebugResources'.

Android resource linking failed
Output:  D:\Project\New\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:189: error: resource android:attr/fontVariationSettings not found.
D:\Project\New\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:190: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Command: C:\Users\Divyansh Kumar.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\15820ac8876d3772b68f5299fe5b21c5\aapt2-3.2.1-4818971-windows\aapt2.exe link -I
C:\Users\Divyansh Kumar\AppData\Local\Android\sdk\platforms\android-27\android.jar
--manifest
D:\Project\New\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml
-o
D:\Project\New\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_
-R
@D:\Project\New\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
D:\Project\New\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r
--custom-package
com.example.examplerealtime
-0
apk
-0
tflite
--output-text-symbols
D:\Project\New\build\app\intermediates\symbols\debug\R.txt
--no-version-vectors
Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
Output:  C:\Users\Divyansh Kumar.gradle\caches\transforms-1\files-1.1\core-1.0.0-rc01.aar\d6d7d29868c2b712196ac4d5fd8e4b2f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/fontVariationS
ettings not found.
C:\Users\Divyansh Kumar.gradle\caches\transforms-1\files-1.1\core-1.0.0-rc01.aar\d6d7d29868c2b712196ac4d5fd8e4b2f\res\values\values.xml:89:5-125:25: AAPT: error: resource android:attr/ttcIndex not found.
error: failed linking references.
Command: C:\Users\Divyansh Kumar.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\15820ac8876d3772b68f5299fe5b21c5\aapt2-3.2.1-4818971-windows\aapt2.exe link -I
C:\Users\Divyansh Kumar\AppData\Local\Android\sdk\platforms\android-27\android.jar
--manifest
D:\Project\New\build\app\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml
-o
D:\Project\New\build\app\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_
-R
@D:\Project\New\build\app\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
D:\Project\New\build\app\generated\not_namespaced_r_class_sources\debug\processDebugResources\r
--custom-package
com.example.examplerealtime
-0
apk
-0
tflite
--output-text-symbols
D:\Project\New\build\app\intermediates\symbols\debug\R.txt
--no-version-vectors
Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 5m 6s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                       310.3s (!)
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin camera...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done                   16.6s
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'camera'.

SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 10s
The plugin camera could not be built due to the issue above.

Hi @almaystroOo
does this proposed solution fix the issue?
thank you
possible duplicate of https://github.com/flutter/flutter/issues/46881

Hey @iapicca ! I changed the compileSdkVersion to 28 and I think it worked because the Android Emulated turned into an all white screen, but that was it, nothing else happened. The application still didn't run.
This it the run code below:
D:\Project\New>flutter run
Using hardware rendering with device AOSP on IA Emulator. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
Note: D:\Flutter_SDK\flutter.pub-cache\hosted\pub.dartlang.org\camera-0.5.7+4\android\src\main\java\io\flutter\plugins\camera\CameraPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\Flutter_SDK\flutter.pub-cache\hosted\pub.dartlang.org\flutter_tts-0.2.6\android\src\main\java\com\tundralabs\fluttertts\FlutterTtsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\Flutter_SDK\flutter.pub-cache\hosted\pub.dartlang.org\razorpay-0.0.2\android\src\main\java\in\appyflow\razorpay\RazorpayPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\Flutter_SDK\flutter.pub-cache\hosted\pub.dartlang.org\tflite-1.0.4\android\src\main\java\sq\flutter\tflite\TflitePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                       307.3s (!)
√ Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...                        16.8s
Flutter is taking longer than expected to report its views. Still trying...
E/flutter ( 4831): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.
E/flutter ( 4831): If you're running an application and need to access the binary messenger before runApp() has been called (for example, during plugin initialization), then you need to explicitly call the W idgetsFlutterBinding.ensureInitialized() first.
E/flutter ( 4831): If you're running a test, you can call the TestWidgetsFlutterBinding.ensureInitialized() as the first line in your test's main() method to initialize the binding.
E/flutter ( 4831): #0      defaultBinaryMessenger. (package:flutter/src/services/binary_messenger.dart:76:7)
E/flutter ( 4831): #1      defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:89:4)
E/flutter ( 4831): #2      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140:62)
E/flutter ( 4831): #3      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:35)
E/flutter ( 4831): #4      MethodChannel.invokeListMethod (package:flutter/src/services/platform_channel.dart:335:40)
E/flutter ( 4831): #5      availableCameras (package:camera/camera.dart:81:10)
E/flutter ( 4831): #6      main (package:flutter_realtime_detection/main.dart:10:21)
E/flutter ( 4831): #7      _runMainZoned.. (dart:ui/hooks.dart:239:25)
E/flutter ( 4831): #8      _rootRun (dart:async/zone.dart:1126:13)
E/flutter ( 4831): #9      _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter ( 4831): #10     _runZoned (dart:async/zone.dart:1518:10)
E/flutter ( 4831): #11     runZoned (dart:async/zone.dart:1502:12)
E/flutter ( 4831): #12     _runMainZoned. (dart:ui/hooks.dart:231:5)
E/flutter ( 4831): #13     _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter ( 4831): #14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 4831):
I/TextToSpeech( 4831): Sucessfully bound to com.google.android.tts
W/examplerealtim( 4831): Verification of android.renderscript.Allocation sq.flutter.tflite.TflitePlugin.renderScriptNV21ToRGBA888(android.content.Context, int, int, byte[]) took 110.020ms
W/examplerealtim( 4831): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (light greylist, reflection)
W/examplerealtim( 4831): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (light greylist, reflection)
W/examplerealtim( 4831): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (light greylist, reflection)
W/examplerealtim( 4831): Accessing hidden method Landroid/util/LongArray;->get(I)J (light greylist, reflection)
I/OpenGLRenderer( 4831): Initialized EGL, version 1.4
D/OpenGLRenderer( 4831): Swap behavior 1
D/HostConnection( 4831): HostConnection::get() New Host Connection established 0xe5139780, tid 4977
D/HostConnection( 4831): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_K
HR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
W/OpenGLRenderer( 4831): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/OpenGLRenderer( 4831): Swap behavior 0
D/eglCodecCommon( 4831): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 4831): eglCreateContext: 0xe51056c0: maj 2 min 0 rcv 2
D/EGL_emulation( 4831): eglMakeCurrent: 0xe51056c0: ver 2 0 (tinfo 0xcd604e70)
D/HostConnection( 4831): HostConnection::get() New Host Connection established 0xe3824e20, tid 4868
D/HostConnection( 4831): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_K
HR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/eglCodecCommon( 4831): setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation( 4831): eglCreateContext: 0xeb4c6460: maj 2 min 0 rcv 2
D/HostConnection( 4831): createUnique: call
D/HostConnection( 4831): HostConnection::get() New Host Connection established 0xe5139c30, tid 4977
D/HostConnection( 4831): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_K
HR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
E/eglCodecCommon( 4831): GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1
D/EGL_emulation( 4831): eglMakeCurrent: 0xeb4c6460: ver 2 0 (tinfo 0xe3815cf0)
I/Choreographer( 4831): Skipped 48 frames!  The application may be doing too much work on its main thread.
D/EGL_emulation( 4831): eglMakeCurrent: 0xe51056c0: ver 2 0 (tinfo 0xcd604e70)
I/OpenGLRenderer( 4831): Davey! duration=926ms; Flags=1, IntendedVsync=102221993357086, Vsync=102222793357054, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=102222796427960, Animati
onStart=102222796499760, PerformTraversalsStart=102222798548860, DrawStart=102222807999260, SyncQueued=102222809445660, SyncStart=102222810484760, IssueDrawCommandsStart=102222810682760, SwapBuffers=10222282495
7560, FrameCompleted=102222921093360, DequeueBufferDuration=22891000, QueueBufferDuration=1530000,
Syncing files to device AOSP on IA Emulator...
I/TextToSpeech( 4831): Connected to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
I/TextToSpeech( 4831): Set up connection to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
Syncing files to device AOSP on IA Emulator...                  28,136ms (!)
�  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on AOSP on IA Emulator is available at: http://<IP_ADDRESS>:50477/4DafCkrYHi4=/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
Initializing hot reload...                                             /Error -32601 received from application: Method not found
Reloaded 0 of 495 libraries in 292ms.
Error -32601 received from application: Method not found
Application finished.

@divyanshkumaar
I'm glad that changing compileSdkVersion to 28 helped.
Please create a separate issue for the another error if it persists (with providing flutter doctor -v and flutter run -v).
I'm going to close the current one.
Thank you

Okay! Thankyou for your help @VladyslavBondarenko and @iapicca!


Property 'resize' does not exist on type 'CSSStyleDeclaration'

TypeScript Version:  2.0.3
Code
const textarea = document.createElement('textarea');
textarea.style.resize = 'none';

Expected behavior:

No warning

Actual behavior:

Warning: Property 'resize' does not exist on type 'CSSStyleDeclaration'

To workaround this I have created a new interface extending from CSSStyleDeclaration which does the trick for now.
interface CSSStyleDeclarationWithResize extends CSSStyleDeclaration {
  resize: string
}

const textarea = document.createElement('textarea');
const style: CSSStyleDeclarationWithResize = textarea.style as CSSStyleDeclarationWithResize;
style.resize = 'none';

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

That's a mighty intimidating set of contribution guidelines. I'll see if I
can find some time but for something so trivial I'll probably just continue
to use an extended interface as above, as IMO this is easier than making a
contribution here.
If a core contributor can find the time to add this in it would be much
appreciated.

The issue is up for grabs. Any interested member can pick it up. But I would say be the PR you want to see in the world ;)

I will fix it. It should be easy. Just adding the missing type to the related json file in https://github.com/Microsoft/TSJS-lib-generator project.


use uv instead of poetry

https://docs.astral.sh/uv/

not for this project, for https://github.com/rcmdnk/python-template/


Use latest Enacted or Suggested Predictions

Fixes an issue I saw where the predictions would go away sometimes.
I based my predictions branch from your master, I think that's where the extra commits are coming from

Thanks! Cherry-picked this onto #56.


Cursor disappearing.

When the Modified cursor images are deleted or modified incorrectly they tend to be marked as "deleted" and will no longer display.
Fix: Make bloxstrap check for cursor files on launch and if missing or corrupted, put them in a "Saved" or "Corrupted" folder and then replace with originals inside KeyboardMouse folder.

When the Modified cursor images are deleted or modified incorrectly they tend to be marked as "deleted" and will no longer display.

Are you sure? What does the version folder show?

i just did the same thing myself and it just used the default roblox cursor
i feel like their original cursor images got corrupted (or something), as im pretty sure bloxstrap only replaces files with what it finds in the modifications folder, and if it doesnt find anything it'll just use the default from roblox

i feel like their original cursor images got corrupted (or something)

They might've, since it's happened to someone else before, which is why I want them to check the version folder.

Strongly assuming this to be fixed, since Roblox would've updated by now, which would've fixed the mouse cursors not showing. If not, respond and I'll reopen.


Adding new rebus object - Warren Buffet

Associated Issue: #
First Pull request as suggested in read-me of https://github.com/ollelauribostrom/rebus#rebus
wherein added a new symbol object in src/js/rebuses.js

new rebus object

Pull Request Test Coverage Report for Build 640

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 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Depth of MCTS

Hi guys, awesome work!
I am new to the field of reasoning with LLMs and have a more theoretical question: I thought MCTS main advantage comes into play when you have scenarios with huge depth, that computation is infeasible, like in chess. Thus, I am confused what max_depth=4 is supposed to mean in that context; is max_depth=T or does it mean the state at which you start the simulation?
Thank you so much for clarifying!

Thanks for your question. max_depth is the maximum depth of the search tree, i.e., the node at this depth is regarded as a terminal node.

I thought MCTS main advantage comes into play when you have scenarios with huge depth

That's true for traditional applications of MCTS like board games, but in the case of LLM reasoning, it's already infeasible to do an exhaustive search when the depth is 4, and we have to explore the search space wisely, which motivates the use of MCTS.

Thank you a lot for the clarification! So if I understand you correctly, MCTS is usable because of the cost each LLM call incurs as well as the broad action space (in case the LLM does not follow instructions).
One last question: for my master thesis I decided to use MCTS similar to your approach with GSM8k, however I am unsure what kind for questions (regarding usefulness etc) are created as you go deeper in the tree. Do you have example outputs or did you experiment how useful subquestions at eg depth=5 are for the main question? My main concern is that the created questions might be more generic or repetitive! Thx once again!

My main concern is that the created questions might be more generic or repetitive!

That's a very reasonable concern, and it motivated us to introduce the self-evaluation reward, which is supposed to penalize those generic or repetitive questions.
You can check some examples on our demo page: link.


fix issue #3533

What is the purpose of the change
fix npe
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #3548 into master will increase coverage by <.01%.
The diff coverage is 33.33%.

@@             Coverage Diff             @@
##             master   #3548      +/-   ##
===========================================
+ Coverage     64.09%   64.1%   +<.01%
  Complexity       71      71
===========================================
  Files           664     664
  Lines         28617   28620       +3
  Branches       4770    4771       +1
===========================================
+ Hits          18343   18347       +4
+ Misses         8054    8052       -2
- Partials       2220    2221       +1

Impacted Files
Coverage Δ
Complexity Δ

.../configcenter/support/zookeeper/CacheListener.java
65.85% <33.33%> (-2.57%)
0 <0> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
63.04% <0%> (-4.35%)
0% <0%> (ø)

...bo/rpc/cluster/support/FailbackClusterInvoker.java
67.21% <0%> (-3.28%)
0% <0%> (ø)

.../src/main/java/org/apache/dubbo/rpc/RpcStatus.java
68.13% <0%> (-2.2%)
0% <0%> (ø)

...pache/dubbo/registry/support/AbstractRegistry.java
79.13% <0%> (-1.97%)
0% <0%> (ø)

...dubbo/remoting/exchange/support/DefaultFuture.java
72.97% <0%> (+2.02%)
0% <0%> (ø)
:arrow_down:

.../dubbo/remoting/transport/netty4/NettyChannel.java
65.88% <0%> (+4.7%)
0% <0%> (ø)
:arrow_down:

...apache/dubbo/common/config/ConfigurationUtils.java
48% <0%> (+8%)
0% <0%> (ø)
:arrow_down:

...ache/dubbo/remoting/p2p/support/AbstractGroup.java
56.81% <0%> (+11.36%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


[FEATURE] Natively Install Rancher alongside Harvester

Is your feature request related to a problem? Please describe.
Rancher and Harvester are awesome products, and their integration is tight and works well. Currently, Rancher needs to be installed separately from Harvester.
Describe the solution you'd like
It would be convenient if Rancher could be installed directly on a Harvester cluster's Kubernetes deployment, even if it were disabled by default and behind a config/toggle switch.
Describe alternatives you've considered

Install Rancher in a virtual machine on top of Harvester (this works, and is what I am currently doing)
Install Rancher directly on the K8s cluster Harvester is running on, e.g. via a Helm deployment

I am unsure of the implications of directly modifying the K8s cluster Harvester is deployed on, i.e. if this has undesirable side effects

Use the builtin Rancher deployment that manages Harvester itself on RKE2

Similar concerns to above

Additional context
I think pairing Harvester and Rancher natively would provide an incredibly powerful integration between container and VM workloads, while still maintaining separation of concerns.
I am not sure of any technical issues directly integrating Rancher in Harvester, and I'm sure this has been considered before.

I just discovered this native UI to install Rancher (among other Helm charts in the catalog) as well. Again, not sure if this is supported/has undesirable side effects.

Oops, I just found https://github.com/harvester/harvester/issues/2679 which is extremely similar to this. Closing as duplicate.


Add shadcn/ui extension

Description

An extension for shadcn/ui to use Raycast to navigate and copy commands to install components
Screencast

Docs

Components

Examples

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@comoser @peduarte @shadcn
@shadcn tell me what you think
Can you check when you have the time? 😅. Insomnia 😜
Thanks 🤗

Thanks for putting this together. Some initial thoughts
Thank you for the great review

Not sure about the icon. This is Shad's personal avatar, did you check if it's cool to use? We can consider just a black circle, which is what the docs uses
I changed it, you are probably right, let's see what shad thinks. My only question with the black circle was light and dark in raycast don't change the icon like the behaviour shad has on the site, but even so I think it looks good now, let me know your opinion.

I cant load the Search Components Command. Getting a Request Failed error
🤦🏼 I was testing the errors and committed/pushed with a wrong path, created a constants to help this be easier identified.

Im not sure we need List Item icons in the List components. It feels too repetitive to me
You are right, done, I am not much as a designer 😅

One question I have, maybe you can help me, I wanted a custom List.EmptyView pointing to shadcn/ui home but I didn't yet figured out how to add this element in an "uncontrolled" list like mine (I don't have a state with results that change, once is loaded they are all there) makes sense? The list I guess behaves like typeahead style. 🤔

@luisFilipePT This looks great! Looking forward to seeing it merged. +1 from me.

@luisFilipePT the Empty View should appear automatically when there are no results. You dont need to control it. I'll go ahead and release this, but you are obviously welcome to continue making changes and improvements. Hit me up on Twitter or our Community Slack if you want help


Hovering the filter menu makes the other items move

When hovering items from the new | show | ask | jobs menu the items after the hovered one move a slight bit due to the hovered item having more width by being bold.

I just recognized this was already mentioned in the hn comments: https://news.ycombinator.com/item?id=13268892

Yep, somebody mentioned it so was meaning to log an issue for it. Thanks a lot for filing it, appreciate it!


sortby dose not work?

@wendy2017 Could you provide more detail for this case? for example, 1) what do you expect to sort? 2) the SQL for the chart.

What version of Superset are you running?  I find bar chart v2 sorting to be missing features in 2.0.1, but there is a PR merged into main branch that looks like it should fix that (https://github.com/apache/superset/pull/21993) if you try the latest version.

for bar:
Use sortby to select a metric in the y-axis. It is expected that the y-axis can be arranged in a certain order, but it does not take effect in practice；
but Use x-axis sort by to take effect

i have another question:
for interface(api/v1/chart/data?form_data=xxx),what's purpose of post-processing：{is_sort_index：number}

Why sortby can't implement the function of xaxis sortby？i want to know the reason

for bar: Use sortby to select a metric in the y-axis. It is expected that the y-axis can be arranged in a certain order, but it does not take effect in practice； but Use x-axis sort by to take effect

Hi @wendy2017
I can't reproduce the issue. I make a screen recording for the axis sort with the y-axis and x-axis.
https://user-images.githubusercontent.com/2016594/211862763-b8e02620-bb11-4cfd-b2d9-60bd07f4b7a6.mov

Can I use sortby instead of X-Axis sortby to realize the functions in video? Or can you showthe use of sortby

Can I use sortby instead of X-Axis sortby to realize the functions in video? Or can you showthe use of sortby

the Sort By control affects Order By clause in the SQL while the X-Axis Sort By controls the order of the results in the query result.

I don't understand
Use Sortby, but there is no change in eccharts
Is there any example that can demonstrate the sortby controls

the Sort By control affects SQL instead of charts.

I don't understand Use Sortby, but there is no change in eccharts Is there any example that can demonstrate the sortby controls

According to what your image，Will your data be sorted by AVG（”Sales")？

i tried to do like your image,but my data is not sorted by AVG(TOTAL_CNT)

i tried to do like your image,but my data is not sorted by AVG(TOTAL_CNT)

try to add AVG(TOTAL_CNT) into x-axis sort by control because the data in results panel was pivot table rather than raw table.

Sorting on the 2v bar graph is not working. Any suggestions for correction.

A couple of PRs related to bar chart sorting were recently merged onto master branch, it would be good if someone could see if this behavior continues with latest.

Can't repro this on the latest master - if this is still happening please reopen or create a new issue with detailed repro steps. Thanks!


Fix clousure related issue with multi level block environement lookup

This PR fixes the issue of multi level/nested block statements with closure variable finding logic.
Resolves #8982

Create issue https://github.com/ballerina-platform/ballerina-lang/issues/8996 to track further improvements to closures. Hence merging this PR.


Add Animal fighting system

Implement attack() function, add strength variable to Animal, fight should be based on probability.
Assume both Animals are on the same tile. If on the tile there are multiple enemies on one tile e.g. H H C  and C attacks, then fight is 1 vs 1

To już zrobione dawno


ros2_planning_system: 1.0.9-1 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros2_planning_system to 1.0.9-1:

upstream repository: https://github.com/IntelligentRoboticsLabs/ros2_planning_system.git
release repository: https://github.com/IntelligentRoboticsLabs/ros2_planning_system-release.git
distro file: foxy/distribution.yaml
bloom version: 0.10.2
previous version for package: 1.0.8-2

plansys2_bringup

No changes

plansys2_bt_actions

No changes

plansys2_core

No changes

plansys2_domain_expert

No changes

plansys2_executor
* Disable boost in tests
* Contributors: Francisco Martin Rico

plansys2_lifecycle_manager

No changes

plansys2_msgs

No changes

plansys2_pddl_parser

No changes

plansys2_planner

No changes

plansys2_popf_plan_solver

No changes

plansys2_problem_expert

No changes

plansys2_terminal

No changes

Hi @nuclearsandwich
In the PR just merged (#28631), I thought that was enough to run bloom-release ros2_planning_system --rosdistro foxy, but the changes to fix the build problem didn't apply in that PR. That's why I am releasing a new version with all the pipeline catkin_generate_changelog->catkin_prepare_release->`bloom-release
Thanks!!


add snippet generation

One use case I'm hitting more often is generating "snippets" of activites, ie human-readable summaries. "Alice posted X," "Bob replied Y to Z," "Eve followed Frank," etc., along with links to each of the component posts/objects and people. Bridgy and Bridgy Fed both have their own code for this, BF possibly more than once. Would be nice to unify this into as1.py or nearby.

Examples:

https://brid.gy/twitter/schnarfed#responses
https://fed.brid.gy/user/snarfed.org


[GroupBy][Bug]: Default binding for sequence variable throws an error

Description
type Foo record {
    int id;
    string name;
};

function foo(Foo[] arr) {
    var r = from var {id, name} in arr
    group by id
    select {id, [name]};
}

errors:
incompatible types: expected 'string', found 'seq string'(BCE2066)
sequence variable can be used in a single element list constructor or function invocation(BCS4047)
Steps to Reproduce
No response
Affected Version(s)
2201.7.0
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

when specified-field is used; works fine
type Foo record {
    int id;
    string name;
};

function foo(Foo[] arr) {
    var r = from var {id, name} in arr
    group by id
    select {id, name: [name]};
}


fmm.mmread(stream) closes stream (scipy.io.mmread(stream) does not)

I discovered a small difference between fmm.mmread and scipy.io.mmread:
import fast_matrix_market as fmm
import scipy
from io import StringIO

text = """%%MatrixMarket matrix coordinate real general
3 3 4
1 3 1
2 2 2
3 1 3
3 1 4"""
stream = StringIO(text)
A1 = scipy.io.mmread(stream)
stream.seek(0)  # works after using scipy.io.mmread
A2 = fmm.mmread(stream)
stream.seek(0)  # <-- ValueError: I/O operation on closed file

This isn't particularly important or urgent, but I thought you would like to know differences between fmm.mmread and scipy.io.mmread.

Good find!
The solution was tricky to locate as nothing was explicitly calling a close() method, and the problem didn't manifest while debugging. Turns out the string-to-bytes converter was based on a class that had an implicit close(). Fixed :)


(PE-29493) Add project_plans endpoints to bolt-server

This commit adds routes to bolt server for serving plan metadata from bolt-projects managed with code manager.

CLA signed by all contributors.


I broke ff48

This fixes it.

Out of curiosity, what's the difference in importing comlink & comlink/src/comlink

Importing comlink goes straight for the dist version, and therefore Typescript doesn't transpile it. It contained an async function so FF48 died.
Importing comlink/src/comlink gives us the TypeScript so it transpiles the async function.


Does it leak memory on server rendering?

In React, componentWillMount fires on server rendering, but componentDidMount and componentWillUnmount will not. Does this mean that this implementation leaks memory?
I’d solve this by subscribing in componentWillMount to get the synchronous value (do all Observables guarantee this?) and then immediately unsubscribing. Later, I would subscribe again (this time, for good) in componentDidMount and unsubscribe in componentWillUnmount.

Hmm yes, this apparently leaks if that is the behavior of SSR (never used SSR myself, so didn't realize that)
Observables do not have any guarantees about emitting a value synchronously on subscribe, some do some done, it depends on their scheduler.
I'll need to understand what I exactly would be the expected behavior here. Let me think about it for a bit.
Thanks for letting me know! 👍

Observables do not have any guarantees about emitting a value synchronously on subscribe, some do some done, it depends on their scheduler.

In this case looks like subscribing and unsubscribing is the best option. If there is a sync value, good; if not, server rendering is sync so it’s pretty much expected that we render to null in this case.

@gaearon the problem with that is that creating an Observable subscription may have side effects so they aren't guaranteed to be deterministic, although in practice that's rare and [unofficially] discouraged.
I can't think of a great example (it's discouraged after all) but a stupid one is if someone uses Observable.ajax('/api/get/some/resource') it will be fetched twice, which isn't the end of the world per-say, but what if the server is doing request counting for analytics for something? It won't be intuitive that page loads on the server will request the resource twice.

@gaearon actually, in the ajax example above it's scheduled async so subscribing then unsubscribing on the same stack is effectively a noop. It's still possible to have synchronous side effects in Observables though, but perhaps we can just "not support them".
Since I'm not familiar with React SSR, I assume that since there is no async rendering ability built-in that it's normal for SSR to output a DOM string that contains basically no dynamic data? (since you can't wait for it to come back)

With React's current server rendering model, it is presumed that dynamic content is resolved beforehand and hydrated as props. Please see the discussion in https://github.com/facebook/react/issues/1739. I don't know if we have plans to change this model, but it's best to discuss in that issue.

@gaearon I'm gonna go with https://www.npmjs.com/package/exenv (which seems to be used by a huge number of popular react modules) and if !canUseDOM && !canUseWorkers just immediately unsubscribe to only catch sync values. lmk if you think this is not the correct approach.

Huge thanks for bringing this up. 💃

Sounds reasonable! It would leak subscriptions if you use renderToString in a client app but that is a rare use case.

@gaearon yeah I was thinking bout that too, but checked the official docs and since they say "This should only be used on the server" I feel comfortable letting it slide. 👍


BUG: patching alarm - unhandled exception if no alarm exists

What happened
library throws and exception when patching an alarm and there are no alarms.
What did you expect to happen
"no alarms defined"
Alternative: I check in my library the existence of any alarm.
How to reproduce it (minimal and precise)
Just delete all alarms and try to patch one.
Debug logging
{household.disable.alarm:Cannot read property 'ID' of undefined :: Details: {"stack":"TypeError: Cannot read property 'ID' of undefined\n    at C:\\Users\\hekla\\Development\\node-red-contrib-sonos-plus\\node_modules\\@svrooij\\sonos\\lib\\services\\alarm-clock.service.extension.js:34:23\n    at Array.forEach (<anonymous>)\n    at AlarmClockService.ListAndParseAlarms (C:\\Users\\hekla\\Development\\node-red-contrib-sonos-plus\\node_modules\\@svrooij\\sonos\\lib\\services\\alarm-clock.service.extension.js:33:16)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async AlarmClockService.PatchAlarm (C:\\Users\\hekla\\Development\\node-red-contrib-sonos-plus\\node_modules\\@svrooij\\sonos\\lib\\services\\alarm-clock.service.extension.js:68:24)\n    at async Object.householdDisableAlarm [as household.disable.alarm] (C:\\Users\\hekla\\Development\\node-red-contrib-sonos-plus\\src\\sonos-universal.js:1832:5)","message":"Cannot read property 'ID' of undefined"}
Environment

sonos-ts version: 2.4

Checklist
Please confirm the following before creating the issue.

[x] Environment specified
[x] Checked issues for duplicates
[x] Debug log added

"no alarms defined"

Do you mean you're expecting a different error?

"No alarms to patch" would also be ok.
But it throws (see the first statement)
TypeError: Cannot read property 'ID' of undefined

That code is already there.... https://github.com/svrooij/node-sonos-ts/blob/08198914ab7b09eec2350c59a3bf08cd8e207c03/src/services/alarm-clock.service.extension.ts#L70-L72
But because to the way I was forcing it to be an array, it made an array with 1 undefined in it.... This is an easy fix


ITS-90 Guide contains multiple parts, need to support parts/sub-parts and their titles: PDF

Follow-on from https://github.com/metanorma/metanorma-bipm/issues/46
ITU guides contain the following additional elements:
//bibdata/title[@type = 'part']
(I have also enabled //bibdata/title[@type = 'subpart'], but it does not appear in any of the documents.)
//bibdata/ext/structuredidentifier/part
These need to be included in the rendering of guides. Attaching a Presentation XML sample.
02_4-contact-thermometry.presentation.xml.zip

Done.
Example PDF:
02_4-contact-thermometry.presentation.pdf


✨ Feature: API to enable for specific buffer/win?

The nature of the feature:

[ ] Parser(syntax, conceal etc. related)
[ ] Renderer(style, options etc. related)
[X] Support(plugin support, language support etc. related)
[ ] Other

Description:
Hi again @OXY2DEV!
Would love to support your amazing plugin in fzf-lua previews, similar to what I did with render-markdown.nvim https://github.com/ibhagwan/fzf-lua/discussions/1546.
Is there a single command I can run, similar to what is described here:
require("render-markdown.core.ui").update(preview_buf, preview_win, "Fzf", true)

Where I'm able to attach to a specific window/buffer and trigger a redraw (so that I can call it upon scroll/resize/etc) that does not rely on autocmds (those are limited/ignored in the preview buffer)?

On the dev branch you can do,
local cmd = require("markview").commands;

-- Attach to a buffer.
cmd.attach(1);
-- Detach from a buffer.
cmd.detach(1);

-- Draw preview to a buffer(this will not change `conceallevel` & `concealcursor`, and will not update itself).
cmd.redraw(1);
-- Clear previews from a buffer.
cmd.clear(1);

These can also be used as regular commands.
:Markview attach 1
:Markview detach 1

:Markview redraw 1
:Markview clear 1

It unfortunately doesn't allow passing a window as the renderers don't care about the window
Rather they run a utility function to get the most likely correct window.

It unfortunately doesn't allow passing a window as the renderers don't care about the window
Rather they run a utility function to get the most likely correct window.

Shouldn’t make a difference as the preview buffer is “unique”, I’ll test this tomorrow and let you know.

@OXY2DEV, this was completed in https://github.com/ibhagwan/fzf-lua/commit/ed6539e018a522f176ad1f1ee6cb2e0172e8379a.
Unfortuntaely, it's a bit laggy, when scrolling it's also not very funcitonal, as it's very slow and almost impossible to cancel, for example, if I press scroll 5 times I have to wait a while for the result to be displayed and the intreface is laggy while this happens.
Let me know if there's a better way than calling attach followed by render as I couldn't find a method for is_attached but looking at the code it seemed harmless as it would just discover buffer is already attached and exit the function early.

That's weird. It shouldn't be lagging when scrolling.

if I press scroll 5 times I have to wait a while for the result to be displayed

Do you have anything that modifies the buffers text? The default denounce value is 50ms which is noticable in most cases so it could be just the plugin waiting for the denounce period to finish.
Can you tell me how fzf-lua is using markview, so that I can test it?

Let me know if there's a better way than calling attach followed by render as I couldn't find a method for is_attached but looking at the code it seemed harmless as it would just discover buffer is already attached and exit the function early.

The reason there's not method for that is because the attach() function it should be checking if the plugin can attach or not.
I will add a method to check it.

Do you have anything that modifies the buffers text? The default denounce value is 50ms which is noticable in most cases so it could be just the plugin waiting for the denounce period to finish.

Nothing special, scroll is just a call to ctrl-d/u.

Can you tell me how fzf-lua is using markview, so that I can test it?

Markview is enabled by default, use the latest fzf-lua and have maekview plugin loaded and it should get called automatically in the preview buffer.

Nothing special, scroll is just a call to ctrl-d/u.

Uhh, so how do I scroll? I can't use Shift+Up/Down due to being on Android.

Nothing special, scroll is just a call to ctrl-d/u.

Uhh, so how do I scroll? I can't use Shift+Up/Down due to being on Android.

Change the bindings to something you can use.
For a single call picker call:
:lua require("fzf-lua").files({keymap={builtin={["<c-f>"]="preview-page-down"}}})

Permanently:
require("fzf-lua").setup({
  keymap={builtin={
    ["<c-f>"]="preview-page-down",
    ["<c-b>"]="preview-page-up"
}}})

Ah, thanks. That works.
I am noticing lags when switching between files. But I don't see any lags when doing preview-page-up & preview-page-down.
Does the lag happen even when viewing small files on your end?

Does the lag happen even when viewing small files on your end?

Happens on the fzf-lua project REAME.md, let me know if you’d like I’ll record a comparison between how it behaves with render-markdown vs markview.

So, I am noticing that on each scroll attach() & redraw() are being called.
attach() is exiting property. So, I am thinking that lag could potentially be from having 2 redraws(1 from redraw() and another from the CursorMovedI).

I don't think you need to run attach() because, the user might not want the buffers to be attached without actually opening them.
You can however do.
--- I will be adding a way to retrieve the buffer if you don't have access to it.
cmd.clear();
cmd.redraw();

You are running it on each scroll. So, this should be a lot simpler and easier.

Yup, it's definitely the 2 redraws.
I changed attach() with clear() and the lag seems to not happen on scroll anymore.

But this means that conceallevel & concealcursor aren't set.
Since render-markdown & markview.nvim both use these options. Is it possible to change their value based on filetype on your end?(Because I don't want JSON files to also use conceals if these are set globally).

Changed to:
cmd.clear(bufnr);
cmd.redraw(bufnr);

Similar slow and laggy behavior on scrolls.

But this means that conceallevel & concealcursor aren't set.

Since render-markdown & markview.nvim both use these options. Is it possible to change their value based on filetype on your end?(Because I don't want JSON files to also use conceals if these are set globally).

It seems this is still rendered regardless of the options (I didn't check if it's set or not), but if these are needed and I call clear or redraw doesn't it make more sense to have these enabled on markview's end?

Changed to:
cmd.clear(bufnr);
cmd.redraw(bufnr);

Similar slow and laggy behavior on scrolls.

 I can't really tell which one(Termux, neovim, fzf-lua or markdown) is lagging.
https://github.com/user-attachments/assets/cd7279c8-46b8-477b-92e6-72fb137b2558

Also, I am seeing that you have pushed changes to main in your repo.
Unfortunately, the whole commands thing only works on the dev branch.
So, I think you should comment it out until v25 is released.

I see, perhaps it's better off I will comment this out as well and we do the testing again once this is on the main branch, otherwise it's just asking for issues.

Can you send a recording of the lags?

Can you send a recording of the lags?

Recoding now, I found the issue is actually much worse, just having markview enabled makes the scroll of anything in fzf-lua worse, even when markview rendering is disabled in the previewer, recording now.

I think I found the issue.
For some reason, I added CursorMoved to attach() instead of being a global event.
This caused the plugin to become extremely laggy since every time attach() is called a new autocmd getes created resulting in this mess.

I just recorded using software called peek but it's impossible to see the issue as the frame right is so bad, I'll have to research something that records terminal in high FPS.
Basically if I hold down shift-down to scroll, enabling markview.nvim causes very bad lag whereas without the plugin the scrolling is super speedy and instant

I think I found the issue.
For some reason, I added CursorMoved to attach() instead of being a global event.

It certainly does feel like markview is doing something regardless of it happening in an unattached buffer.

I have done some test. And the lag is definitely coming from the movement autocmds.
I will see where the issue is.

I have made some changes to how redrawing works.
Can you test it out(as I can't test it properly on a phone)?
Here's a minimal config to make it easier,
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
        spec = {
                {
                        "nvim-treesitter/nvim-treesitter",
                        build = ":TSUpdate",

                        ensure_installed = { "markdown", "markdown_inline" }
                },
                {
                        "OXY2DEV/markview.nvim",
                        branch = "dev",
                        lazy = false
                },
                {
                        "ibhagwan/fzf-lua",
                        commit = "ed6539e018a522f176ad1f1ee6cb2e0172e8379a",
                        pin = true,
                        opts = {
                                keymap = {
                                        builtin = {
                                                ["<PageUp>"] = "preview-page-up",
                                                ["<PageDown>"] = "preview-page-down",
                                        }
                                }
                        }
                }
        },
});

vim.o.conceallevel = 3;
vim.api.nvim_set_keymap("n", "<space>q", "<CMD>:q<CR>", {});

Can you test it out(as I can't test it properly on a phone)?

Going to sleep, will test tomorrow, now regarding…

Just to be clear, ~6,000 lines of it are just for storing math symbols, math fonts, HTML entities etc.

If so, I gotta step up my game, this is some next level dedication lol

Those 4k+ stars would like to disagree with you.

Yes, all 24,461(or around 18K if you only count code) lines of it 💀.

Couldn’t help it lol
https://www.reddit.com/r/neovim/comments/1h7vhmg/bro_been_developing_his_2k_star_plugin_on_a/

Those 4k+ stars(in your repos) would like to disagree with you.

You’re too kind :)

So, I have looked into the issue a bit more and here's what I found,

The culprit for the lag was redraw(). It is meant to render the preview only once and doesn't do denouncing. So, this causes a lot of lags(as literally calling it causes it to redraw the buffer 20-30 times a second).
Making the entire thing asynchronous isn't an option as one of the core feature of the plugin is the ability to change the config at any time(even without calling setup()). And trying to make the entire thing async kinda doesn't work with this.
Using attach() from the previewers side isn't a good option as it would relay on the mode for showing the preview. The user could have changed the mode option which would result in the preview not showing at all.

Here's what I think should be done.
Allow attach() to take a second argument. If the second argument is not nil it will ignore the mode option.

Here's a simple comparison(with the minimal config,
Pay attention to when I let go of the buttons.

Before

https://github.com/user-attachments/assets/3e6043cb-400a-4f92-8aa6-2ac5bcb1eea6

After

https://github.com/user-attachments/assets/f6525be4-6bbd-4a75-859b-b784218979a2

[!NOTE]
I deleted mv.redraw() and used mv.attach(bufnr, true).

Pay attention to when I let go of the buttons.

Can def see the difference.

I deleted mv.redraw() and used mv.attach(bufnr, true)

Just making sure I understand this right,I should reduce calls to atrach only? No need to call mv.redraw anymore?

Just making sure I understand this right,I should reduce calls to atrach only? No need to call mv.redraw anymore?

Yes, just calling mv.attach(bufnr, true) will be enough.
Let me know, if the lag still occurs.

Let me know, if the lag still occurs.

It's fantastic now, no lag!
While adding support for render-markdown I realized I could minic the split view (which you have added to this plugin), looks quite wonderful doesn't it?
We can close this issue with this beautiful screenshot, cheers @OXY2DEV :rocket:

It's fantastic now, no lag!

Awesome!

While adding support for render-markdown I realized I could minic the split view (which you have added to this plugin), looks quite wonderful doesn't it?

Indeed, it does. Even though I added splitview & hybrid_mode. I never actually used them(outside of testing).
So, feedbacks are welcome.

We can close this issue with this beautiful screenshot, cheers @OXY2DEV 🚀

Cheers!

Just re-enabled support for markview, although it's still on dev branch I used the existence of the redraw method to distinguish between main/dev, let me know if this looks acceptable (unless you plan to delete the redraw method from commands, this should work):

https://github.com/ibhagwan/fzf-lua/commit/a5698761ff2b12a0d04cd0be0b60ae6970b0c539

  elseif package.loaded["markview"] then
    local cmds = package.loaded["markview"].commands
    if cmds and cmds.redraw then cmds.attach(bufnr, true) end
  end

Yes, this looks good.

Is this a temporary a thing or are you telling me you’ve developed this plugin in its entirety on a freaking phone,

Yes, all 24,461(or around 18K if you only count code) lines of it 💀.

Just to be clear, ~6,000 lines of it are just for storing math symbols, math fonts, HTML entities etc.

Is this a preference thing or do you not have a pc to be able to code on?

Is this a preference thing or do you not have a pc to be able to code on?

I don't have a PC to code on.

If you're interested, there are some people in https://www.reddit.com/r/neovim/comments/1h7vhmg/bro_been_developing_his_2k_star_plugin_on_a/ who are interested in starting a GoFundMe for you to get a laptop!

If you're interested, there are some people in https://www.reddit.com/r/neovim/comments/1h7vhmg/bro_been_developing_his_2k_star_plugin_on_a/ who are interested in starting a GoFundMe for you to get a laptop!

There's already #218 about that.
GoFundMe only works on selected countries, so it wouldn't really work out.

What country are you in? I might be able to help coordinate. I run https://hackclub.com which has given grants to high schoolers all over the world.

What country are you in?

Bangladesh.

high schoolers

I am not a high schooler though(unless high school also includes the 11th & 12th grade).

@OXY2DEV  you should be able to setup buymecoffee or ko-fi at least :thinking:

@OXY2DEV if you can cash it out, I (and surely other people as well) could also send you some crypto currencies! I'd be happy to send you some Bitcoin or Monero :)


Added -n, --name argument and conda install.

I added a conda installable package to my channel, and the ability to specify the environment by name.
Note: there is specifying environments by name is a bit problematic if conda is installed again since the newly installed conda may not be able to find environments by the same name that the user expects.  Not sure if there is a better way to do this, but for now I am running the version of conda specified by the CONDA_EXE environment flag (if it exists) as this is now new versions of conda seem to be executed.

hey there @mforbes, very nice ! thanks for the changes.


[Bug]: use:* Directives Use Elements Whose ownerDocument Differs from window.document

Describe the bug
The element passed to a use:* directive has an ownerDocument that differs from the application's Document (i.e., window.document) even though the element belongs to the application's Document. This prevents directives like the following from working:
function listenersDirective(element: HTMLElement) {
  element.ownerDocument.addEventListener("click", handleClick);
  // ...

  onCleanup(() => {
    element.ownerDocument.removeEventListener("click", handleClick);
    // ...
  });
}

This discrepancy is problematic in certain types of Applications and NPM Packages related to the Web. It's not immediately clear what exactly element.ownerDocument is pointing to. It points to a Document, but it definitely doesn't point to window.document.
Your Example Website or App
https://playground.solidjs.com/anonymous/5ddfcd3c-103f-4283-aff6-6720325bfbd5
Steps to Reproduce the Bug or Issue

Create any valid Solid Directive
Compare the element.ownerDocument in the Solid Directive with the global window.document and find that the two are not referentially equivalent

The Solid.js Playground Link provided above exemplifies this problem.
Expected behavior
The HTMLElement passed to any given Solid Directive on the Web should have an ownerDocument that's [referentially] equivalent to the application's Document (i.e., window.document).
Platform

OS: MacOS
Browser: Chrome
Version: 118.0

Additional context
This bug is not observable after the application has finished rendering. If you open the devtools and select the element that was given a directive, then element.ownerDocument === window.document will yield true in the console even though it yielded false during the call to the Solid Directive.

Since the question was raised on Discord, it's also worth pointing out that elements created with document.createElement that have not yet been attached to the DOM still have an ownerDocument which points to the application's Document.
const div = document.createElement("div");
console.assert(div.ownerDocument === document); // Succeeds

Svelte's Actions are also able to recognize the correct ownerDocument of an element.

Sidenote: Note sure if #1740 is related since I didn't investigate the code. But if it touches ownerDocuments, then this bug is probably worth keeping in mind.

I think this comes down to how elements are created as Solid isn't doing anything directly to mess with this. cloneNode vs createElement and when owner is applied. Until cloned nodes are attached then they don't have an owner I'm gathering. We do actions and refs at this time so that they can be passed through. So technically they don't have an owning document at this point. Now it is possible that document.importNode would straight up solve this as well (although it is slower).
Until we can make a decision I recommend attaching stuff like this in onMount.
https://playground.solidjs.com/anonymous/caad4663-af2b-41b8-888e-0035d8f536f3

From some quick testing in the browser, it seems to me that nodes created with cloneNode still have the proper ownerDocument. Does it depend on which specific node was cloned?

In any case, using onMount seems to work fine for my use case. I'm really thankful that your framework's primitives are usable just about anywhere (compared to something like React.useEffect). It makes life a lot easier in situations like these.
If this doesn't get fixed/changed (depending on if it's seen as a bug), it might be worth pointing this out in the documentation. Not sure if it's too obscure/specific to mention, though. 🤷🏾♂

Yeah I think it is because the elements are coming from template elements. I don't know what else would do it. We really aren't doing anything special.

Yeah that seems to check out.
In the browser:
let template = document.createElement("template");
template.innerHTML = "Hello";
console.log(template.content.children[0].ownerDocument === document); // `false`

Well those Svelte Devs may be in for a surprise with Svelte 5 depending on timing of when they fire actions. They might fire them after connected. But Svelte 5 basically adopts Solid's render model.


Running test dataset on aws fails

Running
nextflow run nf-core/rnaseq -profile test,docker,awsbatch -c aws.config -r 2.0

with the following config file
outdir = 's3://test-core/nf-output/'
workDir = 's3://test-core/nf-work/'
tracedir = "/local/aws/nfcore_test/"

// Docker options
docker {
  enabled = true
  runOptions = '-u $(id -u):$(id -g)'
}

// AWS options
process {
  executor = "awsbatch"
  queue = "default-test-core"
}

aws {
  region = 'eu-west-1'
  batch {
    cliPath = '/home/ec2-user/miniconda/bin/aws'
  }
}

results in the following error
Specify a local tracedir or run without trace! S3 cannot be used for tracefiles.. Expression: params.tracedir.startsWith(s3:)

 -- Check script '/local/aws/.nextflow/assets/nf-core/rnaseq/main.nf' at line: 37 or see '.nextflow.log' file for more details

This is indeed quite a problematic bug. We don't normally directly test the awsbatch profile which is why it was missed here. Thanks for reporting! It should be fixed when https://github.com/nf-core/rnaseq/pull/510 is merged into dev. Once that happens it would be great if you can try and re-run with -r dev instead to see if all is well again. This fix warrants a minor release but I am hoping to test and fix something else before that so hopefully I will do this in the next week or so 🤞

This should be fixed now in https://github.com/nf-core/rnaseq/pull/510. Be grateful if you can test with -r dev please 🙂

Thanks, all looks fine now!

Thanks. So your tests are working?

Actually, running with -r dev the version of the pipeline is given as v1.4.3dev and I get the following
Error executing process > 'output_documentation'

Caused by:
  Process `output_documentation` terminated with an error exit status (1)

Command executed:

  markdown_to_html.py output.md -o results_description.html

Command exit status:
  1

Command output:
  (empty)

Command error:
  Traceback (most recent call last):
    File "//nextflow-bin/markdown_to_html.py", line 4, in <module>
      import markdown
  ModuleNotFoundError: No module named 'markdown'

Work dir:
  s3://test-core/nf-work/9a/6d74ca247cd85428ab82c4c65585e3

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`
[nf-core/rnaseq]  Pipeline completed with errors

Can you try and update your local version of the pipeline? nextflow pull nf-core/rnaseq

Thanks,
I've updated locally and now get.
Specify correct --awsqueue and --awsregion parameters on AWSBatch!. Expression: (params.awsqueue && params.awsregion)

 -- Check script '/home/paul/.nextflow/assets/nf-core/rnaseq/main.nf' at line: 37 or see '.nextflow.log' file for more details

I'm  specifying these parameters as I would usually in the config file based on the documentation here
https://www.nextflow.io/docs/latest/awscloud.html#configuration
// AWS options
process {
  executor = "awsbatch"
  queue = "default-test-core"
}

aws {
  region = 'eu-west-1'
  batch {
    cliPath = '/home/ec2-user/miniconda/bin/aws'
  }
}

Ok. So we are making progress here.
If you want to use the awsbatch.config available on nf-core/configs then you need to set --awsregion 'eu-west-1'  --awsqueue 'default-test-core'. This means you shouldn't need the additional config above at all because these settings should be applied via that config.

OK great.  All seems to be working now

Thanks for your help in testing all of this!


python311Packages.cherrypy: disable failing tests on Python 3.11

Description of changes
Fix build (https://hydra.nixos.org/build/210106788)

Things done

Built on platform(s)

[ ] 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/)
23.05 Release Notes (or backporting 22.11 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

[ ] Fits CONTRIBUTING.md.

Why do you think disabling the tests is the correct course of action? We should first make upstream aware of the issue and figure out whether the project even works correctly under Python 3.11.

Will be completely disabled on Python 3.11


Quick Help: Multiple Subscriptions, single invoice.

Looking through the code, I'm having a hard time understanding how to apply multiple subscriptions to a single invoice (and then charge, once the invoice is complete)... is this achievable  in a simple way with the existing library?

@allthetime: You can do it by creating an Invoice for the customer and then add InvoiceItems for each subscription to that Invoice.

For future reference, questions like this are better asked on Stack Overflow so that our issue tracker doesn't get crowded.

@kavdev Might need to update this to direct people to Stack Overflow :D

@aleccool213 agreed


Docs are not multilingual. I can convert the docs into Spanish and maybe Mandarin Chinese too.

Description
The docs are written in English and do not have translations for common languages like Spanish and Chinese (Mandarin). I am multi lingual and can write the docs for Spanish and maybe Chinese too.
What is the problem?
Non-native english speakers cannot read the docs.
How can we address it?
Translate all the docs into multiple languages.
Why is it important?
Chinese is one of the most common languages in the world, along with Spanish, Portuguese, and Arabic.
Who needs this?
All devs that speak English as a second language, or do not speak english at all.
When should this happen (use version numbers if needed)?
It should happen ASAP but it is a massive project. I could probably do Spanish over the weekend but Chinese would take at least 5-7 days. What I would recommend is using Google Translate to quickly convert everything and then having a native dev (like me) who speaks both English and Spanish / Chinese to review it for accuracy. We should do it for at least: Spanish, Chinese, Arabic, Russian, Portuguese, and Hindi.

Refs #181

Description
The docs are written in English and do not have translations for common languages like Spanish and Chinese (Mandarin). I am multi lingual and can write the docs for Spanish and maybe Chinese too.
What is the problem?
Non-native english speakers cannot read the docs.
How can we address it?
Translate all the docs into multiple languages.
Why is it important?
Chinese is one of the most common languages in the world, along with Spanish, Portuguese, and Arabic.
Who needs this?
All devs that speak English as a second language, or do not speak english at all.
When should this happen (use version numbers if needed)?
It should happen ASAP but it is a massive project. I could probably do Spanish over the weekend but Chinese would take at least 5-7 days. What I would recommend is using Google Translate to quickly convert everything and then having a native dev (like me) who speaks both English and Spanish / Chinese to review it for accuracy. We should do it for at least: Spanish, Chinese, Arabic, Russian, Portuguese, and Hindi.

@EvanErickson  that's a good idea i can help you in spanish translation!.


fix SerialPort

fixes and enhancement for the win implementation of serialPort
fix:

put whole buffer in MDD_SerialPackagerSetDataWithErrorReturn()
append the messages to the buffer until its full, dont start from idx0 with every ReadFile() since this messes up messages which come in fractions

enhancement:

copy complete messages to an extra buffer and put this one in the packager

I just tested this with a SerialReceive and and some unpackInt blocks. If you have any further tests, please check if everything is working.

Why do you copy bufferSize bytes and not just append the receivedBytes?

Thank you for the PR. There was some potential error in the available size x of the receive buffer. I fixed this problem and also the other problems mentioned in #127 by #133 (thus superseding this PR #132) and run the test model TestSerialPackager_SerialPort with fixed buffer size of 64 succesfully on Windows using the com0com emulator.

@vwaurich Since this PR is apparently superseded by the one above, I will close the ticket (please complain if it should stay open)

Alright. No problem.


Thanks! work perfectly for DELL U2720QM

This is a 4k 27 inch monitor made by DELL

I just want open this issue to say thank you
and let other people know it work with this montior model

@ypresto OK, I would try this and let you know the result

#208 Says after setting the color profile to DCI-P3, the brightness control doesn't work
(from keyboard)
because I am using a Macbook Pro 2017 15 inch,
I don't have brightness control on keyboard(Physical F1-F12 key), it's on touchbar
also, Keyboard Brightness control or touchbar brightness control should only be able to change the laptop brightness, it should not affect external monitor at all.
Anyway, back to the topic.
SMPTE RAP 431-2-2007 DCI(P3)
On DELL U2720QM
After changing color profile to SMPTE RAP 431-2-2007 DCI(P3)
the brightness control still work from taskbar

Display P3 work fine too

image P3 work fine too

You can't tell the brightness from screenshot.
but it does work

@ypresto if you want more testing before you buy it.
let me know
I am happy to help
it's quite expensive, cost 4099 RMB here in China
I brought it from Taobao

I can't find this setting

Thanks! I finally bought this monitor and tested combinations of settings.
https://github.com/MonitorControl/MonitorControl/issues/208#issuecomment-643726203
Now it is working very well. :tada:

Is volume control also working on your U2720Q? The brightness control is fine, but the volume control does not work on my U2720Q. The OSD window will appear to be working, but the actual volume from speakers does not change.


rz/sz not working

Version: 1.0.105
Platform: win32 10.0.15063
Plugins: none
CentOS release 6.5 (Final) / lrzsz-0.12.20
Terminal displayed "Offered", noting uploaded.

Duplicate of #2352


drop torchvision, tests only

What does this PR do?
Fixes #694. Removing torchvision dependency since it is used only for testing
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

@Borda rebase?


InvalidCountryCode: Unknown country-code 'MA'

MOROCCO is not defined in the IBAN spec registry:
def _get_iban_spec(country_code: str) -> dict:
    try:
        spec = registry.get("iban")
        assert isinstance(spec, dict)
        return spec[country_code]
    except KeyError:
        raise exceptions.InvalidCountryCode(f"Unknown country-code '{country_code}'")

raises InvalidCountryCode: Unknown country-code 'MA'
Thanks for your work 🙏

Many of the "aspirational" SWIFT countries have been added in release 2024.1.1.post0. Thanks for reporting.


[BUG] "Data Grid" goes out of the "Panel"

Environment

React-formio version: 4.2.5
Formio.js version: 4.11.0
Frontend framework: React: 16.8.6
Browser: many browsers
Browser version: many browser versions

The initial conditions:
There is a "Panel" component.
Inside this "Panel" component there is a "Data Grid" component.
Inside this "Data Grid" component, there is a "Select" component.
This "Select" component has one or more items with a long title.
Steps to Reproduce

Choose the item with long title.

Expected behavior

It is expected that the "Data Grid" component will not goes out of the "Panel" component.

Observed behavior

After choosing the item with long title, "Data Grid" component goes out of the "Panel" component.

Examples:
With a short title:

With a long title:

Hello @vaspaul Can you provide a JSfiddle or the JSON of the form?

Hello @vaspaul Can you provide a JSfiddle or the JSON of the form?

I am closing the issue as it was created too long ago and there is no new comments here. If the issue is not resolved, please reopen it. Thanks!


Missing ListOptions in ListRepositoryAccessRunnerGroup

Based on API document this API call has pagination mechanism implemented.
However with current implementation the ListRepositoryAccessRunnerGroup function doesn't have ListOptions to be passed in. Therefore it will only return first 30 repositories in the access list.
ListOptions needs to be supported so that it can fetch the full list of repositories that can access a self-hosted runner group.

Thank you, @xun-guo-anzx for the report and the PR!  I'll go take a look.


404 on search button at the bottom of the homepage

I have a recurring issue that I first incorrectly reported in the wrong repo, but it looks like it is back...
https://github.com/caskroom/homebrew-cask/issues/46831

On the old issue you said https://caskroom.io/search/, which doesn't exist anymore. https://caskroom.github.io/search/ is working fine.

Wait a minute …
https://caskroom.github.io/search/ -> 404
https://caskroom.github.io/search -> working

Remove the version with the trailing slash from your history and you should be fine.

I cleared my local browser cache to be sure. The button at the very bottom right of the caskroom.io homepage is linked to... http://caskroom.io/search/
That URL is 404. I think the button just needs an update to the github address.

Actually checking further... if I hit the homepage at https://caskroom.github.io/ the relative url on the search button works great. However, I think visitors are just as (more?) likely to visit at http://caskroom.io/ which breaks the relative url behind the search button. So, you can either put the correct absolute url behind the search button or setup a 301 redirect to push all traffic from http://caskroom.io/ to https://caskroom.github.io/

http://caskroom.io/ is not active anymore, and the link on the bottom of  https://caskroom.github.io/ clearly links to /search, not `/search/.

When I visit http://caskroom.io/ I get a webpage (with the broken button link) and search engines are still pointing to it.

I don't get a webpage, it just loads indefinitely. @phinze, shouldn't the domain already be expired?

Technically it expires next year, but someone just registered (re-registered?) it a month ago...
https://who.is/whois/caskroom.io
Sorry for being so pesky. I just love what you all are doing and thought I would help a little. I didn't expect a 404 to turn into a thing.

I didn't expect a 404 to turn into a thing.

Now I’m more concerned about who reregistered that domain and why.

Hi folks - Yeah this isn’t me. Best guess would be some automation that
parks on recently expired domains? Sorry I can’t be of more help here!
On Fri, May 11, 2018, at 3:56 PM, Vítor Galvão wrote:

I didn't expect a 404 to turn into a thing.

Now I’m more concerned about who reregistered that domain and why.

— You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[1], or mute the thread[2].>

Links:

https://github.com/caskroom/caskroom.github.io/issues/65#issuecomment-388483367
https://github.com/notifications/unsubscribe-auth/AACSngmULk7P9-ElNrbN22vzb8HhIXBeks5txfrwgaJpZM4T6M1s

No worries. If you cared it looks like it is still pulling the github code for the official page. IF that is correct, you could use an absolute urls on the homepage for all the assets and rogue page at caskroom.io should pull them in. That is a bit of speculation and if the domain is just parked this should only be a short term issue anyway as we are likely to see ads and a resulting drop in SERP visibility anyway. Anyway, sorry for all the run around and thanks again for your work. It great stuff!


Remove most of qiskit.test

Summary
This removes large tracts of qiskit.test that Qiskit itself is no longer using, or inlines a couple of components that were either exceptionally simple or used only once.  A few tests that made heavier use of the removed features have been removed rather than replacing the functionality, since those had not actually been running due to dependencies on IBMQ that have not been fulfilled for a long time.
This prepares for a more complete removal of qiskit.test, if we choose to, but such a change raises the possibility of rather more merge conflicts (due to the need to touch every test file), so is best done separately.

Details and comments
This is effectively a rework of most of #10998 (which I forgot existed when I started doing this), but separates out the concerns a little bit.  This PR severely trims down the content of qiskit.test without moving any of the remaining content - we can do that in a follow-up if we choose to, but we don't technically need to.
We can technically leave qiskit.test in place after its "removal", because it's not documented, so is not part of our public interface.  If we do choose to remove it completely, and move its remaining components to the test "package" (like #10998 does), it's probably better to do that step in a separate PR, since it touches every single test file in the repo, so is at large risk of merge conflicts.
Relevant deprecations are in #11001.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 15 (26.67%)  changed or added relevant lines in 3 files are covered.
14 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.5%) to 88.005%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/test/base.py
1
12
8.33%

Files with Coverage Reduction
New Missed Lines
%

qiskit/test/decorators.py
1
93.02%

crates/qasm2/src/parse.rs
6
97.13%

crates/qasm2/src/lex.rs
7
91.41%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
58939

Relevant Lines:
66972

💛  - Coveralls

Now rebased over #11513.

Yeah, it's a nice feeling now until we have to deal with all the little bits and bobs all over the place that things like the IBM Runtime are using and we didn't know about... :(.
But at least we've the promise of reduced maintenance burden down the road; getting all this stuff cleaned up improves loads of stuff for us across the board - less to keep updated with changing libraries and Python versions, less to run pylint against on every CI job, less stuff in the test suite burning CPU cycles for no gain, etc etc.

Yeah, it's a nice feeling now until we have to deal with all the little bits and bobs all over the place that things like the IBM Runtime are using and we didn't know about... :(.

Hopefully, we learn about then soon, as some dependants check against main.


[request] Indicator that tab will close on next "back".

Because the back button always shows that there's a previous page, it would be nice if there was a toolbar button or some other indicator to tell you that the tab will close the next time you go "back". I often accidentally close a tab because I think there's still a page before it.
Oh, l just saw that someone already asked for this in a review. The downsides you mentioned wouldn't be problem for me. It doesn't need to replace the Back button, just a small indicator I could put beside it would be fine...

Hmm, that could possibly be implemented... I would have to look into how feasible it is to have such an indicator be toggleable, since I assume not everyone would want it.

I assumed it would be a normal toolbar button, that people could optionally put next to the back button (or wherever they want). The button would change its appearance when the page is the last one (preferably not only by changing colour, because I use an addon that removes colour from the buttons).

This should be nicely possible, when mozilla allows themes to change icons...
Currently it's behind a perf https://bugzilla.mozilla.org/show_bug.cgi?id=1348039.
When that perf is enabled by default, I will add the theme permission, and change the icon when the last history entry will close the tab, but until then, I'd rather not add another permission.

It would be a nice feature, but the proposed toolbar button solution would not work for me, as I usually use mouse back/forward buttons for navigating pages.
Maybe showing default system notification with chrome.notifications  API would be ok? Some people for sure may find it annoying, but the option could be disabled by default.

Uh, I can't imagine there is anyone, that wouldn't be annoyed by this.

Uh, I can't imagine there is anyone, who wouldn't be annoyed by this.

Yeah, notifications are annoying, but at least they should solve the problem, while being easy to implement and disabled by default.
Honestly, I probably would be satisfied with just a blacklist option for excluded domains, because most of the time I accidentally close only Github tabs

It would be a nice feature, but the proposed toolbar button solution would not work for me, as I usually use mouse back/forward buttons for navigating pages.

Why wouldn't this work for you? Even if you use the mouse buttons, you could notice a color change on a toolbar icon, or what would be your the problem with that?

Because it could be too far from my eyes focus point on the page when I decide to perform the "Go back" acrion using the mouse, due to the fact my monitor is quite big


[Help Wanted] Re-implement CTRL+SHIFT+S as search in current channel

Summary: Re-implement CTRL+SHIFT+S as search in current channel
This feature has already been implemented, but was reverted for v3.4 as the user experience was broken when used on direct message channels.
CTRL+SHIFT+S auto-filled the searchbox with in:[userid1_userid2] for direct message channels, which was confusing and appeared as a bug to end users.
For this feature to work properly, we'd need to submit a PR on the server side to change URLs of direct messages to usernames, that is .../channels/username1_username2. A Jira ticket is already available and marked as accepting-pull-requests https://mattermost.atlassian.net/browse/PLT-91 if anyone would like to take a look.
PS: Long-term plan with find/search functionality is to have

CTRL+S: search in current team (autofocus on search box)
CTRL+SHIFT+S: search in current channel
CTRL+F: browser-like find

Hi,
Don't forget that username may be changed by user. How do you think it will work for this scenario ?

Hey @St-Ex!
The consideration was that the URL would in that case change to take the new username.
Given integrations are not supported in direct message channels and only the two users have access to the channel, I think that would be fine.
Would you feel that would work?

I think it could work but it might be conflicting with latest changes

Channel URL no longer updates when the Channel Name changes

Now, when you change canal name, you may or not change the url
Ex : in our mattermost https://mattermost.bappli.com/studio/channels/it-rocks

I think it might have given trouble to people using mattermost API.

Sorry @St-Ex for the very late reply here. This slipped by my radar.
You are correct that renaming a public/private channel no longer updates the URL. This was to prevent breaking those using APIs, integrations and public links to channels.
That being said, when you change your username, you're not just renaming a channel, you're updating your profile in Mattermost. It would be a little weird to have DMs where some URLs use the old username and some use the new one, I think they should all be consistent and use the new username.
I've queued to discuss with our UX designer to confirm though, please let us know if you'd have further thoughts?
Thank you again for the feedback here, much appreciated!

@St-Ex This is what we arrived at

Cosmetically change URLs of Direct Message channels to be usernames instead of the concatenation of two user GUIDs
Specifically, the URL should be of the form ".../[TEAM NAME]/messages/[USERNAME]" where [USERNAME] is the username of the person you're talking to
If username is updated, the URL should cosmetically update to that new username.
NOTE: Internal name of the channel in the database should still be id1__id2
So in summary, the internal name remains id1__id2, but we would just change the URL cosmetically.
How would this sound @St-Ex?

Sounds good to me.

CTRL+S and CTRL+SHIFT+S is causing confusion among some users (example: #364), is inconsistent with the web app and doesn't follow typical conventions for searching or finding something.
Instead, we'll look into adding a browser-like find through CTRL+F shortcut (#399).
Hence, closing this ticket as "Won't Fix".


feature request: Resize image in cm or mm

Hello....Is it possible to add Resize option in cm or mm. Resizing in pixel is great but most of online application requires images to be in cm or mm.Thanks

Will think 🤔

Tried, this works really unstable, because conversion from px to cm not dencity independent transformation

Thank you for yours efforts.


fix: loadBases overrodeEnv issue

quick fix: https://github.com/helmfile/helmfile/issues/835
future plan: make overrodeEnv as value pass.

/cc @mumoshu @xiaomudk


Fix entrypoint and top-level default exports

Fix #41.

How annoying. This was all working for me just fine, I assume because I already had dmgbuild installed and pip didn't bother recreating the script.


[bugfix](use after free) should not set finish depdency any more if task ctx lock failed

Proposed changes
If task ctx lock failed, it means the runtime state or fragment context is deconstruted.
And it also means the operator and exec node is deconstruted, then if we want to set set finish dependency, it will core because of use after free.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Split eq out of Ord and put it in Eq.

We need eq for bool, but lt and gt don't make sense for bool, so I think we need an Eq trait for eq.

Is this part of the core library? If so, maybe should be transferred to https://github.com/FuelLabs/sway-lib-core?

Already have a small path on my Fork, still testing to ensure it's non-breaking

@otrho would you also want a patch to give booleans the Eq trait so they can be compared using an "eq" function?

also want a patch to give booleans the Eq trait so they can be compared using an "eq" function?

Yes, that makes sense. Ideally in a separate PR from splitting up Eq and Ord ❤

Working with a new approach atm, as moving Eq breaks some of Ord's ge, le, neq methods. So to fix this I've changed how some of those functions work to a pure assembly implementation rather than relying on function calls to a specific eq method

@otrho I actually remembered a mistake Fuel made in Yul+, and I am determined to not let it happen again!
Yul+ initially implemented the way Sway has right now
  function lte(x, y) -> result {
    if or(lt(x, y), eq(x, y)) {
      result := 0x01
    }
    }
    ```

    However this approach uses 3 opcodes, and was optimized down to with the help of me and t11's

    ```
  function lte(x, y) -> result {
     result := iszero(gt(x, y))
     }
     ```

    ie we really shouldn't be using the equal operator at all for ge and le because it's inefficient

So implementing along the lines of would be the best way. Will work on a patch and test tomorrow
    fn le(self, other: Self) -> bool {
        asm(r1: self, r2: other, r3, r4 ,r5){
            lt r3 r1 r2;
            not r4 r3;

            r4: bool
        }
    }
    ```

Is there a case where >= is not the same as !<? Integers this always holds, but does it hold for everything?

@adlerjohn I can try to test, the issue we were running into is the implementation of le and ge would have to require the implementation of lt, eq, and not which it currently doesn't atm

Ah right. Then as a temporary workaround, sure re-implementing these simple functions is probably fine.

The point of having the default implementations in a trait, as le and ge are in the Ord trait, is for them to remain generic in terms of the lt and gt trait functions.  So we want to guarantee that ge and le will work for every single impl of Ord based on the assumptions that lt and gt give us.  This is why le and ge were implemented originally only using lt, gt and eq.
It's preferable to leave micro-optimisations, such as using !lt() for ge() to the compiler itself.  This is a pattern we can recognise and transform during optimisation passes.
BUT!  This is all in an ideal world, of course.  Sway isn't quite there yet, but we really want it to get there eventually, so it's good to think in terms of the ideal situation.
Perhaps a compromise, until we have the ability to use 'supertraits', we could just literally use !lt() rather than ASM blocks?  I think the ! operator has been implemented now, though perhaps we haven't updated the libraries to reflect that.

Is there a case where >= is not the same as !<? Integers this always holds, but does it hold for everything?

The canonical example I think of is floats and NaN, which is why Rust has PartialEq.  Sway doesn't have floats, but there may be other types out there like this.  People can implement Ord for whatever they like...

And if we don't have ! then maybe calling lt() and then using an ASM block just for the not is OK.

! is only available outside of core. Within core you have to directly call not

Ahh, chicken and egg in core.  Tricky.

Yep, this is exactly why core exists, so you can use operators within the standard library.

Just curious if this is still moving forward or on hold for now.
I'm all for a temporary working solution so I can use impl Eq for Address sooner rather than later if possible.

If this is needed for a temporary solution I can get one done in a couple of hours, was placed on a bit of hold since a proper implementation wasn't available atm, but will whip out a quick asm implementation

Fixed in #9 should be good once that is merged

We should close this issue


Replace createOrReplaceUser to updateUser

Replace createOrReplaceUser to updateUser

Codecov Report

Merging #254 into 2.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.x     #254   +/-   ##
=======================================
  Coverage   76.86%   76.86%
=======================================
  Files          39       39
  Lines         752      752
=======================================
  Hits          578      578
  Misses        174      174

Continue to review full report at Codecov.

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


Could a new release be created to contain latest code changes?

Latest release (0.1.2) does not contain the SignifydAPI::updateInvestigationLabel method.
Could a new release be created in order to make latest code changes available via composer?

We will make a new release in the next couple of hours


Editor dosen't support space character

Normal space key doesn't work in the editor.
Special space character only works using the virtual keyboard

When typesetting math the TeX layout algorithm ignore the space character. To insert spaces, use explicit spacing commands such as \quad. You can define what gets inserted when the spacebar is pressed by setting the value of the mathModeSpace option.