StrictMode DiskReadViolation related to Typeface

Steps to reproduce

Enable StrictMode in Android by adding this below onCreate():

       StrictMode.setThreadPolicy(
            StrictMode.ThreadPolicy.Builder()
                .detectDiskReads()
                .detectDiskWrites()
                .penaltyLog()
                .build()
        )
        StrictMode.setVmPolicy(
            StrictMode.VmPolicy.Builder()
                .detectLeakedSqlLiteObjects()
                .detectLeakedClosableObjects()
                .penaltyLog() //.penaltyDeath()
                .penaltyDeath()
                .build()
        )

Run Flutter application on Android device
In terminal type: adb logcat '*:S StrictMode:V flutter:V'
Observe logs during app startup and you should see android.os.strictmode.DiskReadViolation violating MainThread mostly between 1000ms to 4500ms

Expected results
It shouldn't be that the MainThread is violated by Typeface.
Actual results
There are several DiskReadViolation violation in the logs
Code sample
There is no code associated with this issue
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
StrictMode policy violation; ~duration=2116 ms: android.os.strictmode.DiskReadViolation
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1504)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:241)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at java.io.File.isDirectory(File.java:845)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.graphics.Typeface.getFullFlipFont(Typeface.java:1498)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.graphics.Typeface.getFontPathFlipFont(Typeface.java:1481)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.graphics.Typeface.SetFlipFonts(Typeface.java:1571)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.graphics.Typeface.SetAppTypeFace(Typeface.java:1742)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.Activity.onCreate(Activity.java:1072)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:631)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at com.gopuff.godrive2.staging.MainActivity.onCreate(MainActivity.kt:56)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:7327)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:7318)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3096)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3259)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1950)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.os.Looper.loop(Looper.java:214)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at java.lang.reflect.Method.invoke(Native Method)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-13 13:23:05.427  9537  9537 D StrictMode: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

03-15 13:54:46.675 29151 29580 I flutter : The Dart VM service is listening on http://<IP_ADDRESS>:43352/zBStX3ZSbLw=/
03-15 13:54:48.587 29151 29151 D StrictMode: StrictMode policy violation; ~duration=4191 ms: android.os.strictmode.DiskReadViolation
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1504)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:241)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at java.io.File.isDirectory(File.java:845)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.graphics.Typeface.getFullFlipFont(Typeface.java:1498)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.graphics.Typeface.getFontPathFlipFont(Typeface.java:1481)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.graphics.Typeface.SetFlipFonts(Typeface.java:1571)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.graphics.Typeface.SetAppTypeFace(Typeface.java:1742)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.Activity.onCreate(Activity.java:1072)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:631)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at com.gopuff.godrive2.staging.MainActivity.onCreate(MainActivity.kt:56)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:7327)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:7318)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3096)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3259)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1950)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.os.Looper.loop(Looper.java:214)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at java.lang.reflect.Method.invoke(Native Method)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-15 13:54:48.587 29151 29151 D StrictMode: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
03-15 13:54:48.588 29151 29151 D StrictMode: StrictMode policy violation; ~duration=4191 ms: android.os.strictmode.DiskReadViolation
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1504)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at java.io.UnixFileSystem.list(UnixFileSystem.java:302)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at java.io.File.list(File.java:1131)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.graphics.Typeface.getFullFlipFont(Typeface.java:1498)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.graphics.Typeface.getFontPathFlipFont(Typeface.java:1481)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.graphics.Typeface.SetFlipFonts(Typeface.java:1571)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.graphics.Typeface.SetAppTypeFace(Typeface.java:1742)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.Activity.onCreate(Activity.java:1072)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:631)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at com.gopuff.godrive2.staging.MainActivity.onCreate(MainActivity.kt:56)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:7327)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.Activity.performCreate(Activity.java:7318)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3096)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3259)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1950)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.os.Looper.loop(Looper.java:214)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at java.lang.reflect.Method.invoke(Native Method)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-15 13:54:48.588 29151 29151 D StrictMode: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

Flutter Doctor output
Doctor output
[!] Flutter (Channel [user-branch], 3.16.9, on macOS 14.0 23A344 darwin-arm64, locale en-RS)
    ! Flutter version 3.16.9 on channel [user-branch] at /Users/radivojeostojic/Documents/development/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.17.6/libexec/bin/dart, which is not inside your current Flutter SDK checkout at
      /Users/radivojeostojic/Documents/development/flutter. Consider adding /Users/radivojeostojic/Documents/development/flutter/bin to the front of your path.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 41456452f2 (8 weeks ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/radivojeostojic/Library/Android/sdk
    • Platform android-34, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

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

[✓] VS Code (version 1.68.1)
    • VS Code at /Users/radivojeostojic/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (4 available)
    • SM G955U1 (mobile)         • 988bdc37395638324a                   • android-arm64  • Android 9 (API 28)
    • iPhone 15 Pro Max (mobile) • 9D762A9B-159B-4456-B8E3-99ECD5B453D0 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 122.0.6261.129
    ! Error: Browsing on the local area network for Radivoje’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area
      network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

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

! Doctor found issues in 1 category.

Thanks for the report. I tried this on Samsung S10 device with which I observed similar log as reported. I tried on sample app. This seems to be different than but could be related to https://github.com/flutter/flutter/issues/113279 which uses shared_preference package.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.3, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.3 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (5 days ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.21.0-10.0.pre.46, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.21.0-10.0.pre.46 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision da8aaf274b (83 minutes ago), 2024-03-18 23:54:23 -0400
    • Engine revision 4a86b5b17c
    • Dart version 3.4.0 (build 3.4.0-244.0.dev)
    • DevTools version 2.33.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

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

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.


Can't see other columns at certain width if not mobile

This seems quite a weird bug as on "mobile", I can scroll horizontally, but on certain widths when not mobile, I can't see other columns or scroll.
https://user-images.githubusercontent.com/5887929/181758479-d374f676-2e26-45fd-92e2-63b291698f14.mov

👋


Post ID is too obsecure and long

Describe the feature you would like to see added
Currently, the id system of pano is too complex for human-readable url's and causes the URL of a post to take up an excessive amount of text space. This can be seen from a example post made on Pano.
posts/Slug-CUID

Is your feature request related to a problem?
Current post URLs are too cryptic, lengthy, and suspicious-appearing when content is shared online as CUID's are very long for post identification purposes.
Describe the solution you'd like
Currently, Reddit employs a six-character post id for each post/comment www.reddit.com/comments/######, which results in a human-readable slug that optimizes search engine results that are relevant to the search. This is seen in a typical Reddit post, when the entire post title is used as the slug after the post/comment id.
/comments/######/post-title-slug-here
Utilizing a strategy like Reddit's post routing system will not only make it easier to discern connections and make it less suspicious appearing with a shorter id followed up with the slug.
Describe alternatives you have considered
This example demonstrates how HackerNews utilises an earlier method of post routing including a URL parameter.
https://news.ycombinator.com/item?id=########

Although this is a shorter alternative than the other proposed method, it does not provide a descriptive slug to distinguish postings which is not preferable.
Additional context
No response

After talks this issue on a new id system was wanted to be applied on to post routes including comments.
Current planned way of implementing this is turning auto increment id to base36 and applying an offset of 100000. This will give us a 6 digit identifier that is better than CUID.
One problem with this type of identification is generating the identifier each time on the application level each time on a new post or a comment. Due to this it was decided that a lower level implementation is important.
For this, utilising mongodb functions through setup migrations will be a good way to implement this with minimal changes to the core.
Currently I am on works of providing a prototype of this working for a reassessment of the issue.

@PressJump any updates? should we wait for this?


[AVS SDK v1.6]Alexa SDK not responding after two hour.

Hi Amazon,
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
We met a problem, after two hour started, alexa doesn’t work properly, there is no response on music play or weather checking.
We checked the log and found AVS to be in Listening state, And it always in that state.
Is this because there is no feedback from the server? The SampleApp program didn't hang up in this case. Could you give me some advices?
Here is the detail log:
2018-10-22 10:54:26.886 [  c] 0 AudioInputProcessor:setState:from=IDLE,to=RECOGNIZING
2018-10-22 10:54:26.886 [  3] 0 DialogUXStateAggregator:setState:from=IDLE,to=LISTENING
2018-10-22 10:54:26.887 [  3] 5 TemplateRuntime:onDialogUXStateChanged:state=LISTENING
2018-10-22 10:54:26.887 [  8] 5 VisualActivityTracker:provideState
2018-10-22 10:54:26.887 [  8] 0 NotificationsCapabilityAgent:provideState:stateRequestToken=3
2018-10-22 10:54:26.887 [  8] 5 AudioActivityTracker:provideState
############################
Listening...
############################
2018-10-22 10:54:26.887 [  9] 5 VisualActivityTracker:executeProvideState
2018-10-22 10:54:26.887 [  9] 0 ContextManager:updateStateLocked:action=updatedState,namespace=VisualActivityTracker,name=ActivityState
2018-10-22 10:54:26.887 [  a] 0 ExternalMediaPlayer:executeProvideState:sendToken=true,stateRequestToken=3
2018-10-22 10:54:26.887 [  a] 0 ContextManager:updateStateLocked:action=updatedState,namespace=Alexa.PlaybackStateReporter,name=playbackState
2018-10-22 10:54:26.887 [  a] 0 ExternalMediaPlayer:executeProvideState:sendToken=true,stateRequestToken=3
2018-10-22 10:54:26.887 [  a] 0 ContextManager:updateStateLocked:action=updatedState,namespace=ExternalMediaPlayer,name=ExternalMediaPlayerState
2018-10-22 10:54:26.887 [  6] 5 NotificationsCapabilityAgent:executeProvideState:sendToken=true,stateRequestToken=3
2018-10-22 10:54:26.888 [  6] 0 ContextManager:updateStateLocked:action=updatedState,namespace=Notifications,name=IndicatorState
2018-10-22 10:54:26.888 [  b] 5 AudioActivityTracker:executeProvideState
2018-10-22 10:54:26.888 [  b] 0 ContextManager:updateStateLocked:action=updatedState,namespace=AudioActivityTracker,name=ActivityState
2018-10-22 10:54:26.888 [  8] 9 ContextManager:buildContextIgnored:namespace=VisualActivityTracker,name=ActivityState
2018-10-22 10:54:26.889 [  8] 0 ContextManager:buildContextSuccessful
2018-10-22 10:54:26.889 [  c] 0 AudioInputProcessor:executeOnContextAvailable
2018-10-22 10:54:26.889 [  c] 1 FocusManager:acquireChannel:channelName=Dialog,interface=SpeechRecognizer
2018-10-22 10:54:26.889 [  c] I DirectiveProcessor:setDialogRequestIdLocked:oldValue=4cbcffbf-ac68-4fd5-b4af-6a4b47938077,newValue=364f2a07-d2f0-4b5b-a117-6513ad3c4bdf
2018-10-22 10:54:26.889 [  c] 0 DirectiveProcessor:scrubDialogRequestIdLocked:dialogRequestId=4cbcffbf-ac68-4fd5-b4af-6a4b47938077
2018-10-22 10:54:26.889 [  c] 0 EventBuilder:buildJsonEventString:messageId=86a390eb-aff8-436f-85f0-17475971c773,namespace=SpeechRecognizer,name=Recognize
2018-10-22 10:54:26.889 [ 12] 9 AudioInputProcessor:onFocusChanged:newFocus=FOREGROUND
2018-10-22 10:54:26.889 [ 12] 5 AudioActivityTracker:notifyOfActivityUpdates
2018-10-22 10:54:26.889 [  b] 5 AudioActivityTracker:executeNotifyOfActivityUpdates
2018-10-22 10:54:26.889 [  c] 0 AudioInputProcessor:executeOnFocusChanged:newFocus=FOREGROUND
2018-10-22 10:54:26.889 [  c] 9 HTTP2Transport:enqueueRequest
onKeyWordDetected keyword: alexa, beginIndex: 70928400, endIndex:70936322
2018-10-22 10:54:28.487 [  c] E AudioInputProcessor:executeRecognizeFailed:reason=New audio provider can not override
[ 4504.698003] <0>-(0)[0:swapper/0]android_usb gadget: [ratelimit]non-core control req21.00 v0000 i0000 l12
[ 4504.700285] <0>-(0)[0:swapper/0]android_usb gadget: [ratelimit]non-core control reqa1.01 v0000 i0000 l4096
Tell us about your environment:

What version of the AVS Device SDK are you using?
  <1.6>

Tell us what hardware you're using:

[ ] Other

Tell us about your OS (Type & version):

[ ] Linux

Hello MTKYZ,
It is hard to tell what is going on from a partial log, but it looks like AIP has gotten stuck in a listening state.  If you have the complete log from this run, or you can reproduce the problem, would you please attach it to this thread (attach is much preferred to pasting in to the comment window, so the comments on this issue remain readable)?
If you can reproduce the problem, there is something you can try that may address the problem:  In AudioInputProcessor::onSendCompleted(), inside the if(){} clause, add a call to stopCapture() before the return.  If you do give this a try, please let us know if it resolves the problem.
Thank you,
-SWH

Thank you very much, i will try it.

Hello MTKYZ,
The suggested fix is included in release 1.10, here: https://github.com/alexa/avs-device-sdk/blob/v1.10/CapabilityAgents/AIP/src/AudioInputProcessor.cpp#L954
I hope that helps,
-SWH

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


Update date onBlur when allowInput is true

Attempting to fix https://github.com/flatpickr/flatpickr/issues/2109 (which is a duplicate of https://github.com/flatpickr/flatpickr/issues/1551)
Proposed fix comes from @aximili (https://github.com/flatpickr/flatpickr/issues/1551#issuecomment-491677052).

Thanks for the PR @matt17r
Would you please add a test case as well to prevent future regressions?

I've not written much JavaScript/TypeScript before but I'm willing to give it a go @chmln.
Any pointers on how to get started? Would I be adding something to src/__tests__/index.spec.ts? Is there an existing test that might be a good starting point for me to work from?

I read through that file and it seems to be the right place. The syntax looks a lot like RSpec so I think I'll be right. Does adding a test case to the UI describe block make sense?
If so, how do I run the tests locally?
Once you give me a few pointers would you be happy for me to write up what I learn into a "contribution instructions" section (or similar) in the README and submit that as a separate PR?

I've not written much JavaScript/TypeScript before but I'm willing to give it a go @chmln.

I appreciate it, its always great to see new contributions.

Any pointers on how to get started? Would I be adding something to src/tests/index.spec.ts? Is there an existing test that might be a good starting point for me to work from?

index.spec.ts is definitely where the test should go. I'd say just take a look at some of the simpler tests to get an idea how they work.

Does adding a test case to the UI describe block make sense?

Yes!

If so, how do I run the tests locally?

Assuming you've already git-cloned the project and ran npm install, running the tests locally is as easy as npm test.
Now, for the test itself, I'd suggest doing something like this:
createInstance({ allowInput: true });// create an instance with desired settings
fp.input.value = "some date...";
fp.input.blur() // or something similar
// then the assertions

Hey @chmln, I've added two tests, one for setting the date and one for updating the date and time. They should hopefully cover regressions of this functionality.
I'll raise a separate PR with some contribution instructions for you to consider.


Featurizer failed error

I am getting the following error when trying to predict protein complexes. It only happens sometimes, especially when trying to sample a lot.
Featurizer failed on {file_name} with error index 454656 is out of bounds for axis 0 with size 454656. Skipping.
CUDA device: 'NVIDIA H100 80GB HBM3'
It would be great if someone could tell the specific reason behind this error (unless it is purely a OOM problem).
Thanks,
Abhinav

Deuplicate of #4 . We're actively looking into this, it's been hard for us to replicate the issue on our end.

I encountered the same issue when I ran it on the CPU platform, but after increasing the RAM size of the computer, the error disappeared.
My FASTA file contains three proteins, and each of them contains 120 amino acids (aa). The program requires at least 25GB of RAM, even though the size of the trained model is only 6.5GB.

I believe this may be fixed now. Please try the new release: pip install boltz -U

Closing this for now, feel free to reopen if you still encounter issues with the new release!


Syntax highlighting broken for .gitconfig with escaped quotes

This should explain the problem sufficiently:

Thanks for the report! This looks like a duplicate of https://github.com/atom/language-git/issues/4 – please subscribe there for updates.
Also take a look at https://discuss.atom.io/t/id-like-to-report-an-issue-request-an-enhancement-for-atom-where-on-github-do-i-do-that/19290 for a guide on where to post issues.


Add USB HS support for v1.1 hardware

Hi I gave this a try, and I am not able to use the probe for flashing anymore. I am getting the following error:
      Config default
      Target target/thumbv7em-none-eabihf/release/person-tag-bootloader
     Erasing sectors ✔ [00:00:00] [------------------------------------------]       0B/ 62.00KB @       0B/s (eta 0s )
 Programming pages   ✔ [00:00:00] [------------------------------------------]       0B/ 61.00KB @       0B/s (eta 0s )
       Error failed to flash target/thumbv7em-none-eabihf/release/person-tag-bootloader

             Caused by:
                 0: Error while flashing
                 1: Something during memory interaction went wrong
                 2: A core architecture specific error occured
                 3: Failed to read register DRW at address 0x0000000c because: Operation timed out
                 4: Operation timed out

And after this has happened I get the error Error No supported probe was found when trying to run the command again.
Do you have any idea what might be causing this?

Also after this happens it is not possible to program the probe with a new firmware via the SWD until it has been power cycled.

I had problems with probe-rs and v1.0 board, solved them by connecting the reset line.

Sounds like the probe is too fast now and we don't properly retry. I think the JLink has similar issues but with USB :) Our retry policy is crap to be not too harsh :D

This could also be a problem with USB HS high-level protocol implementation, as I doubt it's implemented correctly. Unfortunately, I'm on vacation right now and can't debug this. Will be back in a week!

@Disasm Don't sweat it! Enjoy your vacation! :D

DFU :heart:

Lets merge this, it's working well for me for a while and if we find and issue we can fix it :)


Error after updating boost and libboost

./musikcube: error while loading shared libraries: libboost_filesystem.so.1.75.0: cannot open shared object file: No such file or directory

Same with me. Cant use musikcube.

What operating system are you running on? If macOS, try a brew reinstall musikcube

Hi @clangen, I've encountered this too and musikcube cannot start.  I run Arch Linux where boost-libs is currently v1.76.0-1.

boost can be a pretty major pain. I'm slowly working on removing it from the code base.
Until then, sometimes when boost updates, musikcube needs to be re-linked. The easiest way to do that is to just ask your package manager to reinstall musikcube; it'll do a fresh build and link against the new libraries.
Going to close the issue, but if that doesn't solve the problem, please re-open.

Thanks, reinstalling / recompiling works for me.


CM: refurbish

I changed the BaseCM.cm_hddcdd to:

remove the sys.exit() because otherwise the download function was stopping with the first dataset;
replace rasterio.read  with  rasterio.sample to avoid to read and load into memory everytime the whole array to read just a single pixel value;
replace the use of dictwith the OrderedDict to respect the parameter order when generating the schema.json file;
add atexit.register function to properly close the rasterio dataset before terminating the process.

Then I add the cm/refurbish folder respecting the standard structure. As for the cm/hdd_cdd also in the cm/refurbish we are generating the scema.json during the building process, through the python schema.py command.
Do we have already in the repository a function that convert a number changing the value to the best unit prefix?
Something like: 1_000_000 Wh => 1 MWh.
For Hotmaps I developed these functions resutils/unit.py, what do you think it might be the best approach:

include the unit.py file somewhere in the repo, most probably under BaseCM since I would expect that is a common functionality;
put reslib within the cm/refurbish/requirements

@zarch
We don't have conversion functions for units.
I think the best solution is to import the function you wrote for HotMaps.


Stop debugging when in or out fifo is deleted

Please rebase on top of current master.

Otherwise looks good to me.

Not a huge deal but please squash your multiple 'take review comments' commits before merging.


Feature suggestion: testability

Since all of the assertions right now will cause compilation failure, it's hard to write unit tests that check them.
For instance, if I'm writing a library and I want check that my preconditions are asserted correctly.
On the top of my head I would suggest some kind of option (may be detecting #[cfg(test)]?) that changes all compile-time assertions to run-time assertions; than it would be possible to catch panics and test them at runtime.

@jhpratt

Isn't this just assert!()?

No, that's not what I mean. Normal asserts are for runtime checks, but const_asserts are for compile-time checks. If I use const_assert, how can I check if it's correctly written?
Well, I can try to compile it with incorrect code and see that it doesn't compile - that is okay for simple cases that can be tested by hand. But what if my const condition is complex? And what if I want to test it in CI? How shall I do that? Detecting compilation failure is not very pretty imho.

Sorry for my silence on this issue.
I'd rather limit the complexity of this crate and not add the option to turn compile errors into runtime errors. If you want to create a PR with code that does this, then I'll review it and could be convinced.
There's not a lot of great ways to test compile errors outside of doing ```compile_fail doc tests, like what this crate does. I thought I saw a crate that wraps this, but I can't seem to find it.
Regarding prettiness of errors, once panic! or assert! becomes usable in const, I can greatly improve some of the error reporting of these assertions.


Adding an optional workgroup count region to flow.dispatch.workgroups.

This completes the plumbing as the region is already supported after
outlining.
I hate the syntax, but until we settle on where distribution happens
and potentially split the op into distributed/non-distributed variants
(like the old flow.dispatch.region we had) this will suffice.

I dont mind the syntax. Regarding where distribution happens, I still dont believe anything has changed w.r.t why distribution was moved out of flow. I am looking for signals that show its worth doing it at flow level.
FWIW the optionality is very useful. That will allow for paths in the codegen that might not necessarily be what IREE does by default.

Totally agreed! My goal is to complete the API such that there's enough plumbing to build some reasonable custom dispatches in situations where the only other option would be to drop down to a native library at runtime. In most cases it'll always be significantly easier to have distribution happen automatically and my hope is that this would only be used in cases where the distribution was core to the problem.


Jandex, Classmate and commons annotations shouldn't be listed as API

A little cleanup of the dependency metadata: let's treat Jandex, Classmate and HCANN as internal dependencies.

hi @sebersole - I suppose this is trivial, just checking if I'm missing a deeper reason? Any objection?

I don't know if this is possible. org.hibernate.boot.spi.MetadataContributor is an SPI and exposes Jandex. No idea about Classmate or HCANN, but at least Jandex can't be excluded.

If you think it is ok that a user will see a compile error when trying to implement the MetadataContributor SPI unless the user adds an explicit Jande dependency, then I'm fine with removing that as well. Just wanted to mention it since you were seeking for feedback. I agree that this is an advanced use case, but still not unusual. I've had plenty of user questions in the past where the answer was to use that SPI.


Add better code editor

Awesome demo !

@captainsafia Do you want this PR to be actually merged? Not certain what are your plans for this repo now after the talk.


Results on Pascal VOC

Hi,
I am running the code on Pascal VOC for the following setting. I am using the data provided in the repo.
But the accuracy I am able to achieve is 77.19 which is apparently closer to the result in Table 3 in the Paper ( which is corresponding to the case when Labeled images are sampled from the blended training set). Is there anything I am missing? Or is  there any specific configuration setting that I can use to generate the results for the  original high-quality training set.
Thanks in advance.
[2023-07-12 01:24:10,246][    INFO] {'backbone': 'resnet101',
'batch_size': 2,
'conf_thresh': 0.95,
'config': 'configs/pascal.yaml',
'criterion': {'kwargs': {'ignore_index': 255}, 'name': 'CELoss'},
'crop_size': 321,
'data_root': '/path/to/data',
'dataset': 'pascal',
'dilations': [6, 12, 18],
'epochs': 80,
'labeled_id_path': 'splits/pascal/1_4/labeled.txt',
'local_rank': 0,
'lr': 0.001,
'lr_multi': 10.0,
'model': 'deeplabv3plus',
'nclass': 21,
'ngpus': 4,
'port': 20017,
'replace_stride_with_dilation': [False, False, True],
'save_path': 'exp/pascal/unimatch/base_1/1_4',
'unlabeled_id_path': 'splits/pascal/1_4/unlabeled.txt',}

You currently used split splits/pascal/1_4/labeled.txt is for Table 3, just as you mentioned.
If you want to reproduce the results of sampling labeled images from the original high-quality training set (Table 2), you should use splits splits/pascal/$num/labeled.txt, where num can be 92, 183, 366, 732, and 1464.

Thank you for the response.

Thank you for the response.
Hi, Have you managed to reproduce the precision on the Pascal VOC dataset in the end?


Update water resilience link in footer

Update Water resilience portfolio link in footer from https://waterresilience.ca.gov/ to https://resources.ca.gov/Initiatives/Building-Water-Resilience/portfolio

It's been at least 30 minutes since I saved this setting, but the menu item still goes to the old link (https://waterresilience.ca.gov/). Need a dev to troubleshoot.

Never mind! Change appeared approximately 45 minutes after I saved it in WP.


[BUG] minResources of volcano podGroup didn't take into account dynamicAllocation and memoryOverheadFactor

Description
We've been using spark operator and volcano for a long time in production env, however, there are some problems with the calculation of resource usage for volcano podGroup when the sparkapp is submitted.
The spark.dynamicAllocation.* & spark.kubernetes.memoryOverheadFactor params of spark are not taken into account  when calculating memory of minResources for volcano podGroup. As a result, the calculated minResources maybe smaller than real usage of sparkapp, and the gang scheduling maybe fail.

[x] ✋ I have searched the open/closed issues and my issue is not listed.

Reproduction Code [Required]

Expected behavior

Actual behavior

Environment & Versions

Spark Operator App version: 2.0.1
Helm Chart Version: 2.0.1
Kubernetes Version: 1.25.7
Apache Spark version: 3.4.3

Additional context

BTW, i see that resourceusage directory implemented in yunikorn, but if you want, I can contribute our code for volcano, which has been verified by thousands times of spark task.

Hey, I wrote the resourceusage module for the Yunikorn batch scheduler. When I implemented this initially we discussed pulling these functions out into a more generic module for use across other batch schedulers. If you have code that also calculates the resulting pod resource fields I'd be happy to review and hopefully improve the existing solution.

@jacobsalway Thanks for reply, i will submit a draft PR and then you can reveiw and then see if that helps.


nodejs: use system ca certificate store

Description of changes
NodeJS has a hardcoded list of trusted certificate authorities built-in which it uses instead of the system CA certificates. (see https://github.com/nodejs/node/issues/4175). Additional CA certificates can be added using the NODE_EXTRA_CA_CERTS environment variable, but there's no way to 1) allow for certificate revocations and 2) add trusted CAs (for example a self-signed CA for custom infrastructure) to all nodejs processes systemwide.
To ignore the built-in list of CAs and always use only the system default CAs, nodejs has to be compiled with the --openssl-use-def-ca-store flag which this PR adds. One example of other distros using this is Debian.
I've tested this change by running this snippet in the nodejs repl: const https=require('node:https'); https.get('https://local.url.example.com') where the url in question is served with a self-signed certificate added in security.pki.certificateFiles. This throws the error message Uncaught Error: self-signed certificate in certificate chain when run with the current nodejs package but works with this configuration set.

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[X] Fits CONTRIBUTING.md.

This could theoretically go straight to master

The contributing guidelines currently give 500+ rebuilds as the rule of thumb threshold for mass rebuilds that should go to staging, so I based this PR on staging. I could rebase onto master if that's okay despite being a mass rebuild?

It's only a mass rebuild if labels are red but it really does not matter and someone should just hit merge.


CRD non-0 priority additionalPrinterColumns visibility

What would you like to be added:
CRDs can have additionalPrinterColumns with a priority greater than 0, which controls if that column is shown by default. For example, kubectl get hides non-0 priority columns by default and shows them when -o wide is passed. In Lens, if the priority is non-0, it completely hides the column and also isn't available for toggling on. I would like to be added to Lens:

Hide non-0 priority columns by default
Allow non-0 priority columns to be optionally be toggled on/off

For example, "Proxy Enabled" below is a non-0 priority column, so I'd like it is not show up by default, but I'd still like the ability to toggle it own when needed:

Why is this needed:

Gives users to ability to toggle on additional columns defined in the CRD (without forcing them to be toggled on by default)
kubectl parity

Environment you are Lens application on:

Kubernetes distribution: EKS
Desktop OS: MacOS

I just noticed this line of code:
https://github.com/lensapp/lens/blob/589472c2b53a0e65e452d36078a71ce4f642d1b7/src/renderer/components/%2Bcustom-resources/crd-resources.tsx#L52
It appears that this is intentional to hide non-0 priority columns in the table view, but show them in the detail view. This at least offers a partial workaround, but would still be nice to be togglable in the table view as well.

While I agree that would be be great, it is somewhat of blocked on being able to resize columns and the ability to have the view scrollable horizontally.


ARM64 support

Is there an ARM64 support possibility in the near future ?

Unfortunately there is no ARM version of CloudBerry Backup...
See https://www.msp360.com/backup/linux.aspx

Crap. Thanks for your answer


Black screen

Once I installed the module and set the config, the mirror is black after restart of pm2 service. ( raspberry pi)
if i disable the module in config with /*    */ then everything works fine.
I have tried these configs
{
module: 'MMM-AlexaControl',
position: 'middle_center',
config:{
image: true,
pm2ProcessName: "pm2",
vcgencmd: "vcgencmd"
}
},
and
{
module: 'MMM-AlexaControl',
position: 'middle_center',
config:{
image: true,
pm2ProcessName: "mm",
vcgencmd: "vcgencmd"
}
},

Hi. I'm very sorry I didn't saw your issue. I assume it's not really relevant for you now but maybe for somebody else. I'm no quite sure why this happens. To know more I would have needed the log of your magic mirror


Support duplicate column names and avoid System.Data.DuplicateNameException

Is your feature request related to a problem? Please describe.
I have following table

A
B
C
A
B
C

1
2
3
4
5
6

and ExcelHelper.ToDataTable() throws System.Data.DuplicateNameException
Describe the solution you'd like
Implicitly, or explicitly via an argument parameter, add for example GUID identifier to duplicated column name, for example the 2nd column A would be A_a48f0a43bae1469ab61ae60c15285325 in DataTable or similar solution.
Describe alternatives you've considered
An alternative is to probably change the excel header in memory and then load the DataTable, which is unnecessarily complicated.
Additional context
If you are interested, I am happy to send pull request, but not sure if to add this behavior as the default (but it probably makes more sense).

Hey @Ninjanaut , sorry for the delay, I'd created a pull request #126 , could you please help to have a look and leave your suggestions and concerns

A new preview version had been released https://www.nuget.org/packages/WeihanLi.Npoi/1.21.0-preview-20210913-151411

A new package version had been released https://www.nuget.org/packages/WeihanLi.Npoi/1.21.0


explain quotas

Is there a page listing all upgrade quotas with an explanation? I found https://doc.cocalc.com/billing.html but it's incomplete.

Done. See https://doc.cocalc.com/upgrades.html


Change repo search to use exact match for topic search.

Suggested (short term) solution for #7922. When clicking on a topic, you want to see repos with that exact topic, and not topics that only partly contain the search word.
Before PR:
_https://try.gitea.io/explore/repos?q=it&topic=1_ will show repositories with topics it, git and gitea.
After PR:
It will only give repositories that have the topic it.
In case of general searches (i.e. not "Topic only" search), the PR does not change the behavior. Motivations for not including general searches in change:

Incremental searches (using ajax) should narrow down when you type more letters.
When writing something to search for in free text you might not be as exact in what you want e.g. git or gitea (compared to clicking a topic)

Codecov Report

Merging #7941 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #7941      +/-   ##
==========================================
+ Coverage   41.46%   41.47%   +0.01%
==========================================
  Files         478      478
  Lines       63966    63969       +3
==========================================
+ Hits        26521    26529       +8
+ Misses      33991    33988       -3
+ Partials     3454     3452       -2

Impacted Files
Coverage Δ

models/repo_list.go
73.5% <100%> (+1.41%)
:arrow_up:

modules/process/manager.go
76.81% <0%> (-4.35%)
:arrow_down:

modules/log/event.go
64.61% <0%> (-1.03%)
:arrow_down:

models/gpg_key.go
56.66% <0%> (+0.83%)
:arrow_up:

models/repo_indexer.go
68.69% <0%> (+2.03%)
:arrow_up:

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 9f58187...ebfac24. Read the comment docs.


Event Events\TenantCreated Tenant instance missing columns.

Bug description
Event Events\TenantCreated Tenant instance missing columns.
Steps to reproduce
Schema:
Schema::create('tenants', function (Blueprint $table) {
            $table->string('id')->primary();
            $table->string('name');
            $table->bigInteger('repository_id')->nullable()->index();
            $table->string('framework')->default('vue');
            $table->json('data')->nullable();
            $table->timestamps();
        });

My Tenant Model:
<?php

namespace App\Models;

use Stancl\Tenancy\Database\Models\Tenant as BaseTenant;
use Stancl\Tenancy\Database\Concerns\HasDomains;
use Stancl\Tenancy\Database\Concerns\MaintenanceMode;

class Tenant extends BaseTenant
{
    use HasDomains, MaintenanceMode;

    public static function getCustomColumns(): array
    {
        return [
            'id',
            'name',
            'repository_id',
            'framework',
        ];
    }
}

in
Events\TenantCreated::class => [
            JobPipeline::make([
                CustomJobs\CreateFilesystem::class
            ])->send(function (Events\TenantCreated $event) {
                dd($event->tenant); //
                return $event->tenant;
            })->shouldBeQueued(true),
        ],

dd outputs model but missing columns:

Expected behavior
Attributes should have a repository_id and framework
Laravel version
10.3.3
stancl/tenancy version
3.7.0

If you didn't define the customs as custom columns (see docs), and didn't put any data in them, then they will not appear in dd($tenant) because they aren't set.

Ah I see the custom columns method in your code now (normally that would be the cause of this issue). Then check that you're actually setting the values, or show the code where you are setting those values.


Discuss the addition of a CONTRIBUTING file

If you're interested in contributions from the community, then it's good to discuss what kinds of contributions you want, and what would constitute a "valuable" contribution.
It would be good to start by reading Setting guidelines for repository contributors. The article includes examples of good CONTRIBUTING files as well as some additional reading.

Thank you for this. Yes totally agree in adding guidelines as we have already discussed next steps for a different version of the device.

It's thrilling to know this is not just a one time upload to GitHub, if this is going to have further versions, I'm in.
Been wanting to help an OS project since while back, but this is definitely falling into my lap.


(PUP-7799) Allow searching for resources

Commit ef1217338a969f2346a4408c191988a40842c657 renamed the Puppet::Resource#to_resource method, which broke the ral terminus, but it went unnoticed due to overstubbing in the test. This cleans up the tests and makes it possible to once again filter resources either using the key Puppet::Resource.indirection.search('user/root') or using options Puppet::Resource.indirection.search('user', name: 'root')

jenkins please test this with servertests


Links not active in the welcome activity

Describe the bug
A clear and concise description of what the bug is.
The link available into the main activity is not active, making it difficult for the user to go to that specific content.

To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

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

Smartphone (please complete the following information):

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

Additional context
Add any other context about the problem here.

Fixed in forthcoming 1.0.1


Having page not found and all api routes not found to after shadcn/ui been added to the existing project

Juste added shadcn/ui to an existing nextjs 13.4.6 project and all pages, and API routes are now showing not found, is the anything that I'm mistaking, please does someone have an idea on how to get out of this?
This is my actual project structure.

there is a bug in cli that creates another app folder in the root directory

@mehrabmp Exactly it's creating a new app directory

if your project don't have src directory then it'll not create any additional app directory, but if project contains src then it'll create new one outside src

Issue resolved for me,
it's creating new app directory because of globals.css. Change the default globals.css path during installation when its asking for
Where is your global CSS file?
if you having src directory then make it src/app/globals.css

Hi, @usmanashrf the issue was exactly what  you described, I've just followed what you said and now it working
Thanks very much


Remove CSS actions when button is disabled

Remove button decoration when active and hover if it is disabled. Also, remove cursor pointer for them.

Good thinking! Thanks for this. Are you happy for this to be released under the MIT license?

Sure, no problem ;)

Lovely - thanks :-)


new conda environment  creation is not working

pls help
new conda environment  creation is not working
i try to do as recommended
by running
$ conda env create --name my_environment python=3.9

but get error
(studiolab) studio-lab-user@default:~/sagemaker-studiolab-notebooks$ conda activate default
(default) studio-lab-user@default:~/sagemaker-studiolab-notebooks$ conda env create --name my_env_p310_july17  python=3.10
SpecNotFound: Invalid name, try the format: user/package

i try to create new environment from terminal

I am looking into this.

thanks

any updates pls

so unprofessional from AWS people !!!

As I mentioned in the following issue, it is not Studio Lab but. Please refer how to use conda command at Creating an environment with commands
https://github.com/aws/studio-lab-examples/issues/211

Some tech people are so dumb. What part of "env" in Conda's specification do you not understand? Did you even look at the ops picture showing that env IS required?


ya so I'm just going to move everything around

I re-architected the repository to be a bit more Go-like.

Coverage remained the same at 97.059% when pulling 05cc8fb4c6928c40322a26ae3d0244bca1b62832 on repo-restructure into ccf26068bdae6e0e5dc28583882a81955515f171 on master.


[poppler, poppler-data, lcms] Add new ports; Export lcms targets

new ports poppler and poppler-data: Poppler is a PDF rendering library based on the xpdf-3.0 code base.
upstream: https://poppler.freedesktop.org/
repo: https://gitlab.freedesktop.org/poppler
Had to fix lcms so that I don't have to provide another FindLCMS2.cmake in the new ports.
Related issues: #4702, #8238

The portfile for lcms was modified based on an older version; seems the current version in master branch has already exported lcmsConfig.cmake. But poppler and a few other packages need LCMS2. I assume FindLCMS2 is de facto.

/azp run

Error in arm64-windows:
CMake Error at C:/vsts/_work/2/s/scripts/buildsystems/vcpkg.cmake:195 (_add_library):
  Target "poppler" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:500 (add_library)

Error in arm64-windows:
CMake Error at C:/vsts/_work/2/s/scripts/buildsystems/vcpkg.cmake:195 (_add_library):
  Target "poppler" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:500 (add_library)

There is definitely something wrong with windows PR test arm64. Windows version of curl does not depends on openssl. The rest of poppler has nothing to do with openssl. After I made curl optional as a feature, the issue went away.
As for os x, I tried to suppress "ranlib blah blah has no symbols", yet no success, and I've got no more tricks up my sleeve. The spell "By the light of Agamotto, disperse ranlib's evil." does not work either...

As this PR contains many modifications, we may need to review it multiple times, please understand us.
Thanks.

Sorry I don't have time for this for at least the next couple of months. Feel free to make necessary modifications if that's an option to you, or you can close this PR as you please.

@ChaoJia Going to close this PR as this PR has been open too long. If you are interested in working on this, feel free to reopen, but it might make more sense to make a new PR (otherwise we might lose track of it).

If you are interested in continuing this PR, please reopen a new one.
Thanks.


Add missing TARGET variable for CI.

/kind bug
What happened:
CI is missing the TARGET variable specifying which environment is running in the CI suite. Due to this misconfiguration, the oc tests for OCP cluster are not run and are skipped.
What you expected to happen:
oc tests are not skipped and are run normally as other tests.
How to reproduce it (as minimally and precisely as possible):
Open any PR and look at skipped tests. Any skipped test for templates is skipped due to missing oc command.

the TARGET is set by Prow, see e.g. https://github.com/kubevirt/project-infra/blob/master/github/ci/prow/files/jobs/kubevirt/kubevirt-presubmits.yaml#L136 ...? The problem must be somewhere else.

This issue turns out to be irrelevant.  Also symptoms are resolved via #2500. Closing this as being deprecated.


Doc about migrations

Description
Doc about migrations
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Base: 54.58% // Head: 54.60% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (131e583) compared to base (63c4308).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
+ Coverage   54.58%   54.60%   +0.01%
==========================================
  Files          11       11
  Lines        1024     1031       +7
==========================================
+ Hits          559      563       +4
- Misses        440      443       +3
  Partials       25       25

Impacted Files
Coverage Δ

config.go
54.79% <0.00%> (-1.55%)
:arrow_down:

ccx_notification_writer.go
16.08% <0.00%> (+1.13%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Poor performance of 2D Tree View with many items

Godot version
v4.0.beta10.mono.official
System information
Windows 11, Intel UHD Graphics 770
Issue description
When many items (10000+) are added to a 2D Tree view the performance decreases drastically until the windows freezes completely. It starts with very low slow scrolling and ends up with a complete freeze for some minutes. The mouse wheel is practically unusable. When maximizing the windows it freezes instantly.
I would expect that the UI would run smoothly even with a large number of nodes added to a Tree View.
Steps to reproduce
Add a 2D Tree View to an empty scene. Add a simple script to a large number of nodes to the Tree View.
Minimal reproduction project
tree_bench.zip

This is expected if you don't use a recycling system ("virtual scrolling") to display only the part of the tree that is currently relevant. The lack of batching in the Vulkan renderer doesn't help either (this may perform better in 3.x or with the Compatibility backend).

Could be related to https://github.com/godotengine/godot/issues/56199

From my own experience this is specifically when adding the items right? This is because the shaping of each item takes a while and blocks, there might be ways we can make it not shape items that aren't visible (though I'm not familiar with the details of that code) or similarly avoid the performance hit, but does this problem go away if you add the items gradually? If the items are nested you can also improve the performance by folding some of them.

As a result, this particular test case may perform better in 3.x or with the Compatibility backend (which uses OpenGL and features batching)

I did try it with OpenGL Backend and the performance was noticeably better. But maximizing the window freezes the App all the time.

In the meantime, I recommend implementing a pagination system for your tree display.

Unfortunately the usecase does not work well with pagination. It is more like a giant tree, that loads and unfolds just the nodes as they are requested by the user. But in the end the number of nodes can become very large.

Is there a chance for a more fluid experience in a near future?
Especially the freezing windows when maximizing or changing the size of the window is a big problem from my point of view.

Is there a chance for a more fluid experience in a near future? Especially the freezing windows when maximizing or changing the size of the window is a big problem from my point of view.

This is a difficult thing to optimize – it won't be done for 4.0, and is dependent on the willingness of contributors to look into this issue.

I noticed this happening in my own music app when displaying too many notes in a scrollable window. I'll probably end up making a "virtual window" as @Calinou suggested above, but ideally this kind of thing would be handled by the engine automatically (at least for the main core controls).
I was also getting errors due to the command queue being overfilled. This suggests part of the problem is a design issue in Godot 2D (also relevant in 3D, but there don't tend to be as many items):
Global transforms are sent individually to the VisualServer per canvas item if the parent item (or scrollbar) is moved.
This in itself is a bottleneck. Ideally for a scene tree we should be sending just one changed transform across the thread boundary (client code to VisualServer) and letting the VisualServer recalculate according to the parent. But because of Godot design philosophy (making it work even without a scene tree) the emphasis has been on treating each item individually, rather than part of a scene graph.
Of course there are several components to this overall problem and different ways of making it more efficient with the least amount of recomputation.
There are several component problems (with some overlap):

The problem of rendering efficiently when scrolling
The problem of recalculating transforms when a small part of the entire tree is modified (can we reuse existing structure above and below the modification?)
The problem of input, collide detecting through a large tree.

Some kind of virtual window handled client side might be a straightforward approach to work within the existing Godot design. It might not work in every scenario, but for situations where content can easily be split up into "lines" it makes sense.
The idea would be to either pre-create or create on the fly the lines needed for the entire control or the virtual window in the client code, then either:

Only activate the lines that are currently in view in the VisualServer
Create / destroy canvas items on the fly (or use a pool) to get the lines to show up in the VisualServer

The second approach is particularly important if you have a lot of data, for instance you want to display a text file that is several megabytes.
Calculating a virtual window for a simple list is easier than for a 2D Tree View, but even the tree view should be acceleratable.

Thank you for that great explanation. If you have an good example for an implementation of a virtual window please let me know.

The problem of rendering efficiently when scrolling

I found out that every scroll event triggers TreeItem *Tree::_find_item_at_pos() that triggers int Tree::get_column_minimum_width() which does a scan trough all items of the tree to figure out the size of the colum.
I think this is an information that could be cached easily and updated only when a TreeItem changes.
Setting set_column_clip_content(0, true) in GDScript brought a massive performance boost since the iteration of all TreeItems is skipped. It results in a much more fluent scrolling experience. But it still consumes a lot of CPU time. There might be even mor space for optimization. (e.g. cache item hight of TreeItems children)

TreeView has another performance issue: When adding many child nodes to a node the worst case time complexity becomes O(n²).
Reason for this is that in the worst case all current children are walked through to find the postion where to place the new child.
This becomes a problem for example when you want to perform a bulk insert.


[5.0] IRGen: Fix building a closure that captures a struct containing…

… a reference using an indirect convention
A <{ %AClass*}> value cannot be bitcasted to a swift.refcounted*.

No ABI impact
Fixes a compiler crash

rdar://46538967

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - cfda9921850094933c2918cdf0159a0ecbec5293

Build failed
Swift Test OS X Platform
Git Sha - cfda9921850094933c2918cdf0159a0ecbec5293

@eeckstein The tests have passed. Can you merge this PR?


Add PyHC project addition instructions to docs

This PR makes the project addition instructions more discoverable by adding them to the Documents page.

@jibarnum just adding you to this as an FYI. I was putting together slides about "how to add your project to PyHC" and I realized this document wasn't actually linked to anywhere in the website. The only way to find it was the README in the website's GitHub. Now people can find it in the Documents page too.
Merging right away. If you have suggestions, feel free to comment them here and I'll implement them in a different PR.

Thanks for doing this!


Time series support?

Hello ,
I wanted to start using this library but i dont see any support for time series chart?
I want to make time series in the X axis and custom Y labels.
is it possible?
Thanks.

I am not 100% sure if this is the same issue...
I am facing the problem that I want to put multiple time series data as lines into one chart. Now my data has different time ranges such as:

First data set: Tuesday to Thursday
Second data set: Monday to Friday

I noticed that I can add the timestamp as a label - which is nothing more as a string which aligns with the x-value in the data line (not shown in the screenshot). When I add the data lines to the chart they both start at the far left as shown in the screenshot.

Is the line chart actually aware of the date data type?

Thanks for the answer
looks like it's something similar but still i just want to create a graph with time series on x axis.
any ideas?

Currently, I put the timestamp from each data item onto the x-axis. Here is how:
List<PointValue> yValues = new ArrayList<PointValue>();
List<AxisValue> axisValues = new ArrayList<AxisValue>();
for (int x = 0; x < mData.size(); ++x) {
    DataItem dataItem = mData.get(x);
    DateTime recordedAt = dataItem.getRecordedAt();
    String formattedRecordedAt = DateTimeFormatter.getFormattedDateTime(recordedAt);
    int yValue = dataItem.getYValue();
    yValues.add(new PointValue(x, yValue));
    AxisValue axisValue = new AxisValue(x);
    axisValue.setLabel(formattedRecordedAt);
    axisValues.add(axisValue);
}

// then later ...

LineChartData lineChartData = new LineChartData();
lineChartData.setLines(mLines);
lineChartData.setAxisXBottom(new Axis(axisValues));

As mentioned it is nothing but a string label. All data points have the same distance from each other which is not what the time stamp aka. x-value says.

Thanks i will try that !

Issue #12 of MPAndroidChart describes the same problem - they do not support time series by now.

yeah its pretty bad.. this library would be perfect if time series was supported

@lecho Please notice that @kenaiX mentioned here that AChartEngine supports time series ... This might be a source for you.

yes i already used AChartEngine but the problem that it's very slow for big data set and you might not able to zoom/scroll

Hi, yea, hellocharts doesn't have dedicated methods for time series. Instead for now you need to use string labels. I will look into AChartEngine implementation to see how they did that.
@johnjohndoe I think you could use timestamps as X values to display points with different X distances from each other.

@lecho Thank you. This seems to be a good workaround.

@lecho Is there an ETA for time series support?

Hi, no, I am not going to add time series any time soon

Honestly, believe it or not, this works pretty reliably for me, and faster than any other library I've tried

Decrement all the X in PointValue ArrayList by 1
Add the new point in the PointValue ArrayList
Call setLineChartData for the chartView.

If you want to scroll, remove the PointValues that have the new X value less than your requirement.

@lecho I am using the following code to implement the time stamp fro the plot
> List<PointValue> yValues = new ArrayList<PointValue>();
> List<AxisValue> axisValues = new ArrayList<AxisValue>();
> for (int i = 0; i < mData.size(); ++i) {
>     DataItem dataItem = mData.getItem(i);
>     DateTime recordedAt = dataItem.getRecordedAt();
>     String formattedRecordedAt = DateTimeFormatter.getFormattedDateTime(recordedAt);
>     int yValue = dataItem.getYValue();
>     yValues.add(new PointValue(recordedAt.toMiliseconds(), yValue)); //use recordedAt  timestamp/day of the year number or something like that as x value
>     AxisValue axisValue = new AxisValue(recordedAt.toMiliseconds());
>     axisValue.setLabel(formattedRecordedAt);
>     axisValues.add(axisValue);
> }
>
> // then later ...
>
> LineChartData lineChartData = new LineChartData();
> lineChartData.setLines(mLines);
> lineChartData.setAxisXBottom(new Axis(axisValues));

Its the same code @johnjohndoe suggested. I'm quite new to this, I did not understand how DataItem and DateTimeFormatter is being retrieved. It would really helpful if you could provide with some information regarding the same.

I have the same issue. How do we implement time series and is its support added now? @

@adarsh-tm Please not you wrap code snippets in triple backticks ``` to enable nice syntax highlighting. The quote signs > can be omitted then.

I have added the  real time graph with time in x axis for Line chart. The drawback for this is that the interval of adding data has to be uniform
Create a variable which holds the current time. This should be initialized when you add the first entry to the Line data
graphStartTime = System.currentTimeMillis();
Now use the stored value in the valueformatter
xAxis.setValueFormatter(new IAxisValueFormatter() {
private SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss", Locale.getDefault());
@Override
public String getFormattedValue(float value, AxisBase axis) {
long currentTime = graphStartTime + ((int)value * intervalAtWhichYouUpdateTheLineData);
            return dateFormat.format(new Date(currentTime));
        }
    });

xAxis.setLabelCount(maxXAxisLabelCount); // Add a limit otherwise the labels overlap

Can you please post a small demo code for multi line graphs as shown in the above image.?

@rishabhtech1994 A dataset entry can hold a custom object, I created a class to hold my time data with some other information and created the entry set. when overriding getFormattedValue  for xAxis I can retrieve the data object from the entry. There own you have to just format the time as you need it and return the string


'error: Cannot find Git revision' with a branch

Maybe related to ref 'master' not matching test-override.
[dependencies]
chrono = { git = "https://github.com/bryanburgers/chrono", branch = "test-override", features = ["test-override", "serde"] }

error: Cannot find Git revision 'ffe62991c757de0877a53ec0d5aa30d597b7f24a' in ref 'master' of repository 'https://github.com/bryanburgers/chrono'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit.
(use '--show-trace' to show detailed location information)

Thanks for the report @bbigras! Seems like we need to either specify the tag/branch from the Cargo.lock file or set allRefs = true otherwise. Should have a fix out soon


[Arch] Select Safe Contract version

Decide on Safe Contract versions 1.3.0 or 1.4.1+.

In Safe Wallet UI, 1.3.0 is still tagged as "latest"
In discord, Safe Singleton factory is mentioned (not safe-deployments): Avalanche: https://github.com/safe-global/safe-singleton-factory/tree/main/artifacts/43114
In safe-deployments, 1.3.0 has most chains, 1.4.1 limited number https://github.com/safe-global/safe-deployments/blob/main/src/assets/v1.4.1/safe.json

No longer required.  We won't be using Safe for our Vault base.


Externally imported NPM dependencies do not get shipped in plugin

Hey,
Externally installed NPM packages (like for example my FlexUI library) do not get shipped with plugins using this template.
After installing FlexUI using npm install openrct2-flexui@next and using this script:
import { window } from 'openrct2-flexui';

function main(): void
{
  const w = window({
    width: 100, height: 100, content: []
  });

  w.open();
}

export default main;

The output from npm run build:dev for the main function is as follows (trimmed and beautified for readability):
var openrct2Flexui=require('openrct2-flexui');
function main(){
  var w=openrct2Flexui.window({
    width:100,
    height:100,content:[]
  });
  w.open()
}

And the following errors have occured during the build:
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
openrct2-flexui (imported by src/main.ts)

At last, when using the plugin ingame, the plugin crashes because the require() function could not be found.
I would guess the expected behaviour would be to have the used functions from FlexUI be inlined into the output file.
Thank you for your time. 🙂

Hi! Sorry that response took so long. I haven't updated the repo in quite some time and I think I won't be anymore, unfortunately I don't really have time for that.
It will remain here as a modders resource, feel free to use any part you need. Thanks!


Undoing a DeleteOperationCommand_Aai20 does not restore the operation's message

From what I've seen in debug mode the message is not saved in the command so the field is probably missing from the result of DataModelWriter

Here is a failing test suite deleteoperationwithmessage.zip

@carlesarnal Can you take a look at this?  I was thinking it might be good to get you looking at the data models repo a bit.  Let me know if you want a quick primer and we can schedule something.

Hey, sure. I'll take a look and let you know if I need help/guidance.


New host breaks ssh

I'm running a one-liner to update a file across a group of servers:
$ for i in {1..10}; do scp file server$i.domain.com:/etc; done
file                                                                                100% 2168    11.1KB/s   00:00
file                                                                                100% 2168    11.1KB/s   00:00
...
The authenticity of host 'server7.domain.com (<no hostip for proxy command>)' can't be established.
ECDSA key fingerprint is SHA256:/....
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'server7.domain.com' (ECDSA) to the list of known hosts.
file                                                                                100% 2168    11.1KB/s   00:00
WARN[0000] '~/.ssh/config' has been rewritten.  SSH needs to be restarted.  See https://github.com/moul/advanced-ssh-config/issues/122 for more information.
/Users/apikeas/.ssh/config: line 62: Bad configuration option: ver8.domain.com,
/Users/apikeas/.ssh/config: terminating, 1 bad configuration options

This is reproducible - the first unknown host connects successfully, the next unknown host causes the above failure. The error on line 62 is always a truncated host name.

Fixed :)
Thanks for your feedback!


Draft: Sync feature

think i'm pretty happy with this, anyone got any major gripes?
if you were using the version before async changes you should be able to swap your dependecy for
slack-api = { version = "0.23", default-features = false, features = ["reqwest_blocking"]

except version 0.23 isn't released, so git or something
then change any use slack_api to use slack_api::sync


Label not set file name value

Hello i have set two files but label values is not set when i select file.

Please read the page to report questions or bugs


Make install-powershell.sh autodetect if it should use wget or curl

PR Summary
install-powershell.sh now autodetects whether curl or wget is installed to download secondary script when it is not found locally.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[x] Issue filed - Issue link: #7872

Testing - New and feature

[x] Not Applicable or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

I added a CI definition and filters to only run it if affected files are changed.  I ran it here https://dev.azure.com/tplunk/powershell/_build/results?buildId=337&view=logs and it passed. @bmanikm 	Can you review?

This was part of preview.2


Need performance tests

It would be helpful to have a series of tests that run against the API and time the results. Use different data sizes when possible (page limit 50, 100, 500, 1000...) to see how the performance changes with returned size.

Another thing to test is multiple API calls hitting the server at once, or the same call hitting it multiple times at once, in a multi-threaded manner.
These tests will be useful for:

Code tuning
Server tuning
Comparing database backends


Not Tiling Some Windowed Games

I have tested Amethyst with windowed versions of the games Age of Empires II Definitive Edition and Jackbox Party Pack 7 and both of these Steam games work normally with Amethyst window tiling. However, Ecosystem Steam simulation game is not recognized by Amethyst under any of the tabs. This is the main game I am interested in tiling. How do I go about controlling this game window?
Game Info- https://store.steampowered.com/app/1133120/Ecosystem
Thank you.

Hello @Stobz0, you can use v2 additions to force some windows to be considered.

The Ecosystem game window does not display in any of the Amethyst tabs including Managed Windows/Excluded Windows/Filters/Additions, so I cannot try to select or add it.
After investigating the Amethyst code more, it looks like game window might not be displaying because for Ecosystem
desktopWindow.AppName == ""
I think I've narrowed it down to this.
In DesktopWindow.cs, function GetAppName(), line 208
if (name == null)
	{
		name = fileName.Split(new string[] { "\\" }, StringSplitOptions.None).Last();
	}
	AppName = name;

When comparing (name == null), it never processes the final name assignment option and the function would end with
AppName == ""
I changed it to   if (name == "")
Now Ecosystem and other apps that fail the initial naming options should display in the list.
It now displays   Ecosystem.exe as a UnityWndClass under the Excluded Windows tab, and I can select it from there and use the Add App button. This allows the game to function normally and have Amethyst control it.

Hello @Stobz0 could you open a PR?


Fixes compilation error in XZ case study

resolves se-passau/VaRA#461

 Here is an overview of what got changed by this pull request:

Clones removed
==============
+ varats/projects/c_projects/xz.py  -1

See the complete overview on Codacy


[Protein Browser] Add toggle and download buttons

Adds toggle between graph and table views based on example provided by @chejennifer
Adds button for downloading CSV of links
Adds react-csv dependency

Haven't taken a look at the code yet, but in the second screenshot where the background for "Graph View" is different, at first glance, it kind of looks like a toggle between "Graph View" and CSV. Can we try:
a. choose a color for the buttons that's more of a contract from the background and then increase the space between the two buttons a little bit so that it's clearly 2 different things. Also keep the button color the same for "Graph View" and "Table View"
b. or move the download csv button to below the graph/chart

Thanks for the tips! will do!

Thanks for the review!   What do you think?


Fail product build if tests fail during the Windows_Test task.

Fixes https://github.com/microsoft/azuredatastudio/issues/9427
Looks like we were already failing the Publish task on test failure, but were still continuing despite that failure.

same change as https://github.com/microsoft/azuredatastudio/pull/9429 ?

Woops, missed that in the PR list. I'll close this one.


feat: use ryu in encoding

Modify the call to write_f64_raw in encode_utils_impl.inl.h instead. It will be better if the file encode_float.inl.h can be deleted.


User story:  TRAJECTORY - Frontend - Rename Trajectory

As a Data Manager, I want to be able to rename a trajectory (similar functionalty as for renaming well, wellbore, log, etc...)
Acceptance criteria

[ ] The WE  frontend is extended to support rename  operation on  the trajectory object

Also, here are a few points that need to be addressed:

[ ] Constraint 1
[ ] Constraint 2

Resources

Resource A
Resource B

INT - TDE @aszalos-roland

duplicated by #183


[native_assets] dart test not adding asset mapping to kernel file

ec4e420698b85e377a785e4a4226835cec099b78 caused:

https://github.com/google/flutter-mediapipe/issues/33

On a42c38be4d4b97bcd31e2aa0059790b84e54d74c:
$ ~/dart-sdk/sdk/xcodebuild/ReleaseARM64/dart-sdk/bin/dart --enable-experiment=native-assets test
Resolving dependencies in `/Users/dacoharkes/src/google/flutter-mediapipe/packages/mediapipe-task-text`...
Downloading packages...
Got dependencies in `/Users/dacoharkes/src/google/flutter-mediapipe/packages/mediapipe-task-text`.
Building package executable... (2.1s)
Built test:test.
00:00 +2 -2: test/language_detector_executor_test.dart: LanguageDetectorExecutor should run a task [E]
  Invalid argument(s): Couldn't resolve native function 'language_detector_create' in 'package:mediapipe_text/src/io/third_party/mediapipe/generated/mediapipe_text_bindings.dart' : No asset with id 'package:mediapipe_text/src/io/third_party/mediapipe/generated/mediapipe_text_bindings.dart' found. Available native assets: . Attempted to fallback to process lookup. dlsym(RTLD_DEFAULT, language_detector_create): symbol not found.

  dart:ffi                                                                                Native._ffi_resolver_function
  package:mediapipe_text/src/io/third_party/mediapipe/generated/mediapipe_text_bindings.dart    language_detector_create
  package:mediapipe_text/src/io/tasks/language_detection/language_detector_executor.dart 35:29  LanguageDetectorExecutor.createWorker
  package:mediapipe_core/src/io/task_executor.dart 56:17                                        TaskExecutor.worker
  package:mediapipe_text/src/io/tasks/language_detection/language_detector_executor.dart 66:7   LanguageDetectorExecutor.detect
  test/language_detector_executor_test.dart 27:54                                               main.<fn>.<fn>

After reverting ec4e420698b85e377a785e4a4226835cec099b78:
$ ~/dart-sdk/sdk/xcodebuild/ReleaseARM64/dart-sdk/bin/dart --enable-experiment=native-assets test
Building package executable...
Built test:test.
00:00 +4: test/language_detector_executor_test.dart: LanguageDetectorExecutor should run a task                                                                                INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
WARNING: Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#15 is a dynamic-sized tensor).
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1715668092.905634 1825992 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
[...]
00:00 +22: All tests passed!

I can see that the build.dart hook is run, but the mapping is somehow not embedded in the kernel file.

Adding P1 for either fix forward or a revert.


Misleadling verbalization of speed up / slow down

I was surprised that a

"75% faster than baseline" (see https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8072#note_427599)
was advertised as "4 times faster" (see https://github.com/haskell/core-libraries-committee/issues/59#issue-1227722396)

75% faster means 1.75 times as fast, so, which one is true?  Turns out "4 times faster" is (sort of) true, but the verbalization of the speed up is incorrect:
https://github.com/Bodigrim/tasty-bench/blob/fc8f806cbd4596aba61cfc58e356b2075eaa64f0/src/Test/Tasty/Bench.hs#L1763-L1770
(In this code n is the fraction new duration divided by old duration.)
The verb "faster" is about comparison of velocities.  So if run 5 km/h and you 10 km/h, you run
5 km/h faster than me.  Relativising this to the baseline of my speed, you run 100% faster than me.  Much easier to understand is the sentence you run 2 times as fast as me (where proper English would be "twice as fast").
This bug is another proof that people are just terrible when it comes to percentage calculations.
I suggest to avoid percentage calculation and also comparative adjectives (which require you to subtract the baseline).  Rather, just print the factor.  So,  instead of

75% faster than baseline

print:

4.0 times as fast as the baseline

"faster" has multitude of meanings, including "ahead of the correct or expected time", "done in comparatively short time", "taking a comparatively short time", which is the meaning used in tasty-bench. This is not incorrect per se.
I agree that "75% faster" is an ambiguous statement for the reasons you described, but I'd argue that "42 ms, 75% faster than baseline" is not, because we clearly state the basis and define that we talk about time in seconds, not rate in hertz.
Leaving aside linguistics, I cannot take a switch from "75% faster" to "faster by factor 4", because tasty-bench API uses percentages for FailIfSlower and FailIfFaster. It would be very much confusing do not use the same units for reporting.
What if we change "42 ms, 75% faster than baseline" to "42 ms, 75% less than baseline"? Would it be less ambiguous?

"42 ms, 75% less than baseline"?

Yes, this is unambiguous.  +1

Closed by fce531307fd58f2b94f81ce4c8445c693fae070b

Thanks for fixing!


Fix tests failing due to dbt-core changes

This previously failed because of an accidental change to get_batch_size() in dbt-core, which removed the `return() wrapping (i.e. the fix in https://github.com/dbt-labs/dbt-core/pull/3942). We just merged https://github.com/dbt-labs/dbt-core/pull/4240, so I'm rerunning the test in the hopes it works now :)


remove webpack double error filtering hack

Changes verified by running this commands:
npm run create-react-app test-app
cd test-app
npm start
created a syntax error in App.js.
Error is not duplicated after removing the hack

Can you check which version of webpack removed the need for the hack? Just to be sure.

Note to self or @timer: this will be a breaking change for react-dev-utils since we remove the workaround and technically people on older webpacks will have worse output.

v2.1.0-beta.11

Interestingly, this hack may also be the reason for this disparity:

In this case I actually like the de-duplication and I wish it also happened in the terminal. We should probably investigate this a little bit more.

Hey! I'm very sorry—I totally forgot about this PR and removed this part independently in https://github.com/facebookincubator/create-react-app/pull/2113.
My observation in https://github.com/facebookincubator/create-react-app/pull/1755#issuecomment-285179758 kept me from merging this, so I also did https://github.com/facebookincubator/create-react-app/pull/2125 as a followup to avoid this problem.
I appreciate your help with this though!


fix: LSDV-5446: Fix disappearing icons

PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[x] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[x] Frontend

Describe the reason for change
After previous memory leaks fixes some icons becomes broken
What does this fix?
This fix prevents processing svg tags while cleaning react cache.
What libraries were added/updated?
N/A
Does this change affect performance?
It should not.
Does this change affect security?
Nope
What alternative approaches were there?
N/A
What feature flags were used to cover this change?
fflag_fix_front_lsdv_4620_memory_leaks_100723_short
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[x] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e
[ ] integration
[ ] unit

Which logical domain(s) does this change affect?
Svg icons, Image View Toolbar

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.02% :warning:

Comparison is base (096576f) 67.22% compared to head (c0c950a) 67.20%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1522      +/-   ##
==========================================
- Coverage   67.22%   67.20%   -0.02%
==========================================
  Files         439      439
  Lines       28035    28038       +3
  Branches     7415     7417       +2
==========================================
- Hits        18847    18844       -3
- Misses       7930     7934       +4
- Partials     1258     1260       +2

Files Changed
Coverage Δ

src/utils/reactCleaner.js
98.11% <100.00%> (+0.11%)
:arrow_up:

... and 1 file with indirect coverage changes

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


Merge revision into develop

no conflicts (only merge for now, I will create a second PR to fix the remaining duplicated textures).

test me

test me

Build Passed :ok_hand:
You can safely merge 'merge-revision-into-develop' into 'develop'.

:+1:

Build Passed :ok_hand:
You can safely merge 'merge-revision-into-develop' into 'develop'.


.replit

What do I put in .replit "new:"? It’s empty when I got the code but it wants me to put something in it but idk what...

Replit is not a supported host. Please see this page for hosting recommendations.