⚠ Fetchers has degraded performance

In f4b7cdc, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 330 ms

Resolved: Fetchers performance has improved in a05dd21.


Module sometimes freezes

Describe the issue
The polybar module sometimes freezes. For some reason this is always my bottom monitor's bar. My top monitor's bar doesn't do this. The tags and layout stop updating. The title stops updating when window selections are changed, however the title is updated when the selected window's title changes. Monitor focus changes do update the tags. The click handlers and scroll handlers still work for everything, but it's as like the module is not getting the event messages. For example, clicking the layout will change the layout, but then you can't click it again, because the module is not aware of the layout change. It doesn't start working again until a reload. It also tends to freeze on launch.
Expected behavior:
A fully working module
Actual behavior:
A sometimes non-functioning module
Was it working before?
Potentially

Did you also experience this bug in an earlier version of polybar?

Potentially

If no, what was the last version where this worked correctly?
No clue

Polybar Log
Nothing out of the ordinary
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:

WM: dwm
Distro: Arch Linux
Output of polybar -vvv:

polybar 3.4.0-173-gae6a2c2-dev

Features: +alsa +curl +dwm +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm -xcursor

Build type: Release
Compiler: /usr/bin/g++
Compiler flags:  -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags:

Reloading and restarting polybar doesn't seem to affect it sometimes. It started working after randomly changing tags on the other monitor and then going back to the problematic monitor.

It has something to do with changing monitor focus. Maybe the monitor that is believes is active is not keeping up to date?

It seems to happen when the working monitor is on a selected unoccupied tag and the the monitor focus changes to the problematic monitor.

Ok, this seems to be a problem with the IPC patch. Using dwm-msg and subscribing to the client_focus_change_event doesn't result in receiving messages when changing from the working monitor with selected unoccupied tags to the problematic monitor and then changing clients. Something to do with detecting client focus changed must be wrong.

The only events that seem to work are the monitor_focus_change_event and the focused_title_change_event


Document basic troubleshooting information

We should document the existence of the crc.log file in the CodeReady Containers home directory (~/.crc).
We should also document that you should be using the latest available version of the system bundle, as the certificates expire within 30 days.

Fixed by #290.


Unknown word during start up

Errors emmited during startup of meteor app
Processing files with nathantreid:css...  /
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing Step: CSS Modules / PostCSS compilation
Unable to compile /home/pricetula/METEOR/startupconnect/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css
CssSyntaxError: /home/pricetula/METEOR/startupconnect/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css:14:1: Unknown word
//# sourceMappingURL=map-file-comment.css.map
^
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=> Errors prevented startup:
While processing files with nathantreid:css-modules (for target web.browser):
error: /home/pricetula/METEOR/startupconnect/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css:14:1: Unknown
word

I messed up the publish of 2.3.0. Please give<EMAIL_ADDRESS>a try. Thanks!
If that doesn't work, you'll want to add an ignorePaths setting to avoid processing the node_modules/convert-source-map/test directory.

Doesn't work for me.
=> Errors prevented startup:

   While processing files with nathantreid:css-modules (for target web.browser):
   error: /path/to/app/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css:14:1: Unknown word

=> Your application has errors. Waiting for file change.

In this case, you'll need to use ignorePaths because the faulty CSS is from an npm package; the only option here is to skip it.

Any word on this? I'm going to close this issue due to inactivity, but feel free to reopen it if you're still experiencing the issue.

Just a note that this fixed this problem. I had to ignore "node_modules" in my project. Thanks for the great package.
"cssModules": {
    "ignorePaths": [ "node_modules" ]
  }


Windows Security Event Solution based Analytics should use ASim

Is your feature request related to a problem? Please describe.
When logs are collected by WEC (i.e. forwarded via a Windows Server) the security logs land in the WindowsEvent table instead of the SecurityEvent table.
This means the OOB analytics do not work and ignore these logs.
Describe the solution you'd like
Update the analytics included with the Windows Security Events solution to use ASIM, as per Microsoft's own recommendations here.
https://techcommunity.microsoft.com/blog/fasttrackforazureblog/windows-events-how-to-collect-them-in-sentinel-and-which-way-is-preferred-to-det/3997342
Describe alternatives you've considered
Modifying the analytics directly in each Sentinel instance is wasted effort, these OOB analytics should already be using ASIM.
Additional context
For example ASimAuthenticationMicrosoftWindowsEvent should be used for the analytic "SecurityEvent - Multiple authentication failures followed by a success"

@PCNZ Thank you for sharing the details about the current gaps and potential enhancements.
Can you help listing the solution which has the detections that you would like to be supported for ASIM?
Addressing this would require creating new detections that are based on the existing detection logic with added support for ASIM functions.
I kindly request you to raise this as a feature request by contacting our Microsoft Sentinel Feedback team at<EMAIL_ADDRESS>This will ensure that your requirement is considered during our feature planning discussions.


Update sbt-ci-release to 1.5.12

About this PR
📦 Updates com.geirsson:sbt-ci-release from 1.5.7 to 1.5.12
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.geirsson", artifactId = "sbt-ci-release" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.geirsson", artifactId = "sbt-ci-release" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #376.


winnr('$') do not include popup windows, can not count popups.

Describe the bug
can not count windows include popup
To Reproduce
Detailed steps to reproduce the behavior:

open a popup
run :echo winnr("$")

Expected behavior
It should print 2
Environment (please complete the following information):

Vim version: 8.1.2120
OS: win 7
Terminal: gvim

8.2.0748 provides the popup_list() function which returns the id of all the popup windows.
To get the number of all popup windows currently open, try this:
:echo popup_list()->len()

To get the number of all popup windows open in the current tab page, try this:
:echo popup_list()
    \ ->map({_,v -> popup_getoptions(v).tabpage})
    \ ->filter({_,v -> v == -1 || v == 0})
    \ ->len()

To get the number of all popup windows open in the current tab page and visible, try this:
:echo popup_list()
    \ ->filter({_,v -> popup_getpos(v).visible})
    \ ->map({_,v -> popup_getoptions(v).tabpage})
    \ ->filter({_,v -> v == -1 || v == 0})
    \ ->len()

Closing, since there is a solution.


self signed certificate in certificate chain

I faced this error while > npx prisma init
Downloading Prisma engines for Node-API for windows [                    ] 0%Error: request to https://binaries.prisma.sh/all_commits/bcc2ff906db47790ee902e7bbc76d7ffb1893009/windows/introspection-engine.exe.gz.sha256 failed, reason: self signed certificate in certificate chain
If I click on the link, i able to download the file.
Any advice?

I have the same issue here...

Try to switch off your anti-virus, it may work.

Can someone please describe the full setup they are trying to use that does not work in a new bug report issue? We are happy trying to reproduce when we have the data necessary to understand the problem.

Windows 10 Enterprise (Company network with proxy)
> node --version
v16.14.0
> npm -g ls --depth=0
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>--<EMAIL_ADDRESS>~\blitz-task-list-demo> blitz prisma migrate dev
Loaded env from ~\blitz-task-list-demo\.env.local
Loaded env from ~\blitz-task-list-demo\.env
> Downloading Prisma engines for Node-API for windows [                    ] 0%Error: request to https://binaries.prisma.sh/all_commits/bcc2ff906db47790ee902e7bbc76d7ffb1893009/windows/prisma-fmt.exe.gz.sha256 failed, reason: self signed certificate in certificate chain

@janpio I opened a new bug here:  https://github.com/prisma/prisma/issues/12162

I have the same issue here... But when I use > blitz prisma generate

Could you please explain what exactly blitz is doing here?

You can add this in your .env file, to make it work
NODE_TLS_REJECT_UNAUTHORIZED=0

Ok, it worked for me: on windows 10, dont use poweshell but cmd.
set NODE_TLS_REJECT_UNAUTHORIZED=0
npx prisma init


Findonebywithsort

Q
A

Type
feature

BC Break
no

Fixed issues
#2226

Summary
Added $sort param to Doctrine\ODM\MongoDB\Repository\DocumentRepository::findOneBy with test.

Thank you for the PR, the code looks good! Could you please squash your commits into one so we can merge? Also it seems that the commits are not associated with your account. Is this intentional?

Hi, I tried to rectify as requested, and made a new commit but it seems the Travis CI is failing now. I didn't actually change any code on my side, just squashed commits and pushed. Is the Travis CI issue something that I need to or can address? Thanks!

@nottoohigh don't worry about the Travis, same failure is happening on other branches and we'll address it later. Something went wrong with the rebase though as now there are 6 commits - we need 1. If you'll have troubles with that let me know, I'll make the rebase later on my own.

@malarzm yes thank you if you can do the rebase I would appreciate it. I might inadvertently make it worse if I attempt another one (9 commits maybe!). Thanks again!

@nottoohigh I have rebased and squashed your commits in #2264. Thank you very much for the feature!


[Wip] Use last build configuration for a new build

Description
Enabling training using a build configuration from another project
Usage:
my_project = simai.projects.get("my_project")

build_conf = my_project.last_model_configuration

launched_model = simai.models.build(build_conf)

model_id = launched_model .id

model_config = launched_model .configuration

If the user wants to use the configuration to another project, then:
my_project = simai.projects.get("my_project")

build_conf = my_project.last_model_configuration

# assuming that the other_project is trainable
other_project = simai.projects.get("other_project")

builf_conf.project_id = other_project .id

launched_model = simai.models.build(build_conf)

Remarks

Since the models are hidden (the GET request to /<project_id>/models return authorization error), should the method get of the class ModelDirectory return empty model or something else?
The class BuildConfiguration

Tests

Tested against Dev

TODO

add properties project_id, project_name,  is_deployed  in Model
develop unit-tests

Codecov Report
Attention: Patch coverage is 73.17073% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 79.97%. Comparing base (a5e70a5) to head (0dfe98f).

Files
Patch %
Lines

src/ansys/simai/core/data/models.py
76.92%
6 Missing :warning:

src/ansys/simai/core/api/project.py
40.00%
3 Missing :warning:

src/ansys/simai/core/client.py
83.33%
1 Missing :warning:

src/ansys/simai/core/data/projects.py
75.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
- Coverage   80.10%   79.97%   -0.14%
==========================================
  Files          42       43       +1
  Lines        2187     2227      +40
==========================================
+ Hits         1752     1781      +29
- Misses        435      446      +11

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


[SuperEditor][SuperTextField][mobile] Do not crop magnifier at screen edges (Resolves #2167)

[SuperEditor][SuperTextField][mobile] Do not crop magnifier at screen edges. Resolves #2167
Currently, our magnifiers aren't confined within the screen edges:
SuperEditor Android

Super Editor iOS

Constraining the magnifier to screen edges should be as simple as applying a ScreenFollowerBoundary to the Follower. However, we use a FractionalTranslation to align the  Follower and this doesn't seem to play nicely with ScreenFollowerBoundary. We can see in the following video that the aligner uses the position before the transformation to constrain it:
android_magnifier.webm
To make it work correctly, I had to get rid of the FractionalTranslation. It took a bit of trial and error to make adjust the magnifier transformations to make it correctly center the magnified content. Some of our offsets were not accounting for the device pixel ratio, so I also adjusted them.
There are some places that we are still not using follow_the_leader, so I also modified those places.
Results:
android_magnifier_edges.webm
https://github.com/user-attachments/assets/e31315bb-f0e2-4e63-be20-95987f3f0ccc

@matthew-carroll I had to add some tolerance to the goldens added in this PR, because they are always failing with some pixel diff in the CI.


chore: configure dependabot

This PR configures dependabot. It is a continuation of #49. If everything goes well, this line:
https://github.com/pypa/gh-action-pip-audit/blob/db23b6815215ff1aee2e3fb7eafe96b598fa2bdb/.github/workflows/ci.yml#L14
should be updated in a PR created by dependabot.

It works:

#52


Updating to latest gatk to get bugfixes regarding spark cluster.

fixed log issues
Changes to make spark cluster code work.
Modifications to make Spark cluster not throw NPE.  Tested on spark cluster to make sure it is fast and it seems as if it is really fast.  Also, seems to work in standalone mode.
Fixed issue with binsize
Added unit test for binsize change.
Had to remove ctx.close() (could not use ctx.stop() either) in order for unit tests to pass.

Addresses changes in logFactorial

Closes #319
Closes #317
Closes #307

@LeeTL1220 Looks good.  The meat of the pull request is the exclude list, and that works as far as we know.
I had some refactoring suggestions to reduce confusing redundancy in the build script.  It's getting a lot of duplicated code.  And I think that ExtraMathUtils should probably get a rename.
Feel free to disregard the refactoring suggestions if they turn out to be subtly more complicated than I imagined.  Merge when ready.


Fix test to use TokenRequest API for garden clusters >=1.24

How to categorize this PR?

/area testing
/kind bug
What this PR does / why we need it:
Fix testmachinery test to always use TokenRequest API and to properly clean up created service account
Which issue(s) this PR fixes:
Fixes #6975
Special notes for your reviewer:
Release note:

/cc @rfranzke

/cc @dguendisch

/lgtm cancel
The test is leaking ServiceAccounts, I will try to fix this, too.

There is also https://github.com/gardener/gardener/blob/b7c070b02657b224d55ed73a54207d21ae3d976f/test/utils/shoots/access/serviceaccount.go including helpers for cleanup. You might want to reuse/share some code.

/title Fix testmachinery test to always use TokenRequest API and to properly clean up created service account

I am curious, can I lgtm this myself?
/lgtm

/cherry-pick release-v1.59

/cherry-pick release-v1.58

/cherry-pick release-v1.57


Investigate use of join context for distributed sync

🚀 Feature

Motivation

Based the problems from this issue: https://github.com/Lightning-AI/metrics/issues/1297
By implementing join context (https://pytorch.org/tutorials/advanced/generic_join.html) for our distributed syncronization we would remove the limitation that to correctly calculate a metric the number of samples needs to be divisible by num_gpus * batch_size (because pytorch by default is adding additional samples to load balance).
Pitch

Base class should derive from Joinable class and implement appropriate methods. It should hopefully not be too much trouble as all the sync logic is already encapsulated in a function.
Alternatives

Additional context

May using samplers like the one here be a temporary hack to obtain correct results?


Expanding collapsed NavigationView results in transparent flash

Windows Terminal version
1.14.1433.0
Windows build number
10.0.22000.613
Other Software
No response
Steps to reproduce
Open Terminal at a size at which the NavigationView is collapsed.
Open settings
Expand NavigationView
Expected Behavior
No response
Actual Behavior
see below
https://user-images.githubusercontent.com/51363864/170275376-c5ab0c81-f360-4855-ba7f-b381ca8d7df7.mp4

What the - that's friggin weird. I suspect this regressed with #12973, but I have no idea how.


Can't Build On Android | ExpoSDK 50

Cant get a successful build on android on the latest version. iOS builds perfectly fine thought and functions flawlessly!
Source of error
[RUN_GRADLEW] > Task :youssefhenna-expo-mapbox-navigation:compileDebugKotlin FAILED
[RUN_GRADLEW] e: file:///private/var/folders/yp/ht2091bn6qq7p6prt8vyj2zm0000gp/T/eas-build-local-nodejs/d164ffc8-0db4-47ae-ae5a-7434428c289c/build/node_modules/@youssefhenna/expo-mapbox-navigation/android/src/main/java/expo/modules/mapboxnavigation/ExpoMapboxNavigationView.kt:138:38 Unresolved reference: id
[RUN_GRADLEW] e: file:///private/var/folders/yp/ht2091bn6qq7p6prt8vyj2zm0000gp/T/eas-build-local-nodejs/d164ffc8-0db4-47ae-ae5a-7434428c289c/build/node_modules/@youssefhenna/expo-mapbox-navigation/android/src/main/java/expo/modules/mapboxnavigation/ExpoMapboxNavigationView.kt:333:64 Unresolved reference: mapbox_navigation_puck_icon
[RUN_GRADLEW] e: file:///private/var/folders/yp/ht2091bn6qq7p6prt8vyj2zm0000gp/T/eas-build-local-nodejs/d164ffc8-0db4-47ae-ae5a-7434428c289c/build/node_modules/@youssefhenna/expo-mapbox-navigation/android/src/main/java/expo/modules/mapboxnavigation/ExpoMapboxNavigationView.kt:390:39 Unresolved reference: id
[RUN_GRADLEW] e: file:///private/var/folders/yp/ht2091bn6qq7p6prt8vyj2zm0000gp/T/eas-build-local-nodejs/d164ffc8-0db4-47ae-ae5a-7434428c289c/build/node_modules/@youssefhenna/expo-mapbox-navigation/android/src/main/java/expo/modules/mapboxnavigation/ExpoMapboxNavigationView.kt:401:39 Unresolved reference: id
[RUN_GRADLEW] e: file:///private/var/folders/yp/ht2091bn6qq7p6prt8vyj2zm0000gp/T/eas-build-local-nodejs/d164ffc8-0db4-47ae-ae5a-7434428c289c/build/node_modules/@youssefhenna/expo-mapbox-navigation/android/src/main/java/expo/modules/mapboxnavigation/ExpoMapboxNavigationView.kt:411:39 Unresolved reference: id

Final Error
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Execution failed for task ':youssefhenna-expo-mapbox-navigation:compileDebugKotlin'.
[RUN_GRADLEW] > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
[RUN_GRADLEW]    > Compilation error. See log for more details
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.
[RUN_GRADLEW] > Run with --info or --debug option to get more log output.
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] > Get more help at https://help.gradle.org.
[RUN_GRADLEW] BUILD FAILED in 39s

Hey, can you try out v0.2.1? It has a possible fix for the issue, although I was not able to reproduce it, so this might not fully address it.

Hey! Still running into the issue, sorry it cant be reproduced I am on
"expo": "51.0.18",
"react-native": "0.74.3",
"@rnmapbox/maps": "^10.1.27",

Could it be a Java version?
export JAVA_HOME=`/usr/libexec/java_home -v 17.0.9`
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/build-tools/34.0.0:$PATH

Hey! I was able to fix it by downgrading to , I would love to be able to use expo SDK version 50 and 51 but this can work in the meantime!
         "expo": "49.0.15",
         "@youssefhenna/expo-mapbox-navigation": "^0.2.1",
         "@rnmapbox/maps": "
         "react-native": "0.72.10",

Thanks for figuring out the root cause! I was testing on 49, so that's probably why I wasn't able to reproduce. Support for expo 50/51 is definitely a significant thing to have, I'll work on it when I get the chance and let you know.

@YoussefHenna I greatly appreciate your work and the effort that goes with it.
I have tried to build and Android internal distribution build on expoSDK 50, unfortunately this did not come to fruition. I have encountered the same error. I can't downgrade my SDK because a have a lot of package depending on it.
Let me know if you come up with a fix, thx

Fixed in v0.2.2

@YoussefHenna Thank u, I now I'm able to build a Android internal distribution build on SDK version 50 and 51.
Great job !!!

It's already possible to use those default fonctions?
shouldSimulateRoute
showsEndOfRouteFeedback
        onLocationChange={(event) => {
          const { latitude, longitude } = event.nativeEvent;
        }}
        onRouteProgressChange={(event) => {
          const {
            distanceTraveled,
            durationRemaining,
            fractionTraveled,
            distanceRemaining,
          } = event.nativeEvent;
        }}
        onError={(event) => {
          const { message } = event.nativeEvent;
        }}
        onCancelNavigation={() => {
          // User tapped the "X" cancel button in the nav UI
          // or canceled via the OS system tray on android.
          // Do whatever you need to here.
        }}
        onArrive={() => {
          // Called when you arrive at the destination.
        }}

Not yet, but I'm planning on adding at least some of these callbacks soon. Also feel free to create a PR for them if you're up for it.

It's already possible to use those default fonctions?
shouldSimulateRoute
showsEndOfRouteFeedback
        onLocationChange={(event) => {
          const { latitude, longitude } = event.nativeEvent;
        }}
        onRouteProgressChange={(event) => {
          const {
            distanceTraveled,
            durationRemaining,
            fractionTraveled,
            distanceRemaining,
          } = event.nativeEvent;
        }}
        onError={(event) => {
          const { message } = event.nativeEvent;
        }}
        onCancelNavigation={() => {
          // User tapped the "X" cancel button in the nav UI
          // or canceled via the OS system tray on android.
          // Do whatever you need to here.
        }}
        onArrive={() => {
          // Called when you arrive at the destination.
        }}

Not yet, but I'm planning on adding at least some of these callbacks soon. Also feel free to create a PR for them if you're up for it.

Alright, but I'm very happy to have this package who works with EXPO.
I will keep an eye on your package, let me know if you need a additional tester.


Testing dataset annotations

Now that the hackathon is over, why the correct annotations for the testing dataset aren't  made available for the Global Road Damage Detection Dataset 2020. If they are already available somewhere, kindly share the reference for the same.

I think they want to continuously continue the Road Damage Detection challenge, year by year.
So the test set is protected.


Should do exact check for the member adding of one specific proejct

I did not do any changes, but the confirmation alert will appear when I clicking cancel.

Code merged by #2315


get_params for the vectorizer

The vectorizer is missing the get_params() function. Would be nice to have it :)

ok


Update principles.md

Hi @theanh @sandyandi , please review

Hey @buibaoanh,
Thank you for your feedback. Really appreciate your time!
BTW, could you help to vote for the principles you think we should focus on?

KISS, YAGNI and SOLID are my suggestions.


Inline lookup

https://github.com/invertedtomato/integer-compression/blob/8b0b80f1e74340b90cc9726c1bf944dbca93b24d/Library/Compression/Integers/Wave3/FibonacciCodec.cs#L26
These numbers are eternal.
https://github.com/dotnet/corefx/blob/release/3.0/src/Common/src/CoreLib/System/Numerics/BitOperations.cs#L26

Sorry, I don't understand the relevance of the link. Is there a pre-computed table of fibs in a standard library somewhere?

I want my game (or any app - e.g. edge device) to start fast.
So I create script to generate fib numbers

https://github.com/dzmitry-lahoda/NetStack/blob/master/Assets/Scripts/src/NetStack.Serialization/generator.csx
run it via dotnet script manually or via https://github.com/daveaglick/Scripty on build (reade C++ constexpr).

So we have faster app start.

Than I use next optimization to avoid array alloc on start (const expression):

 // C# no-alloc optimization that directly wraps the data section of the dll (similar to string constants)
        // https://github.com/dotnet/roslyn/pull/24621

        private static ReadOnlySpan<byte> s_TrailingZeroCountDeBruijn => new byte[32]
        {
};

Array may even have optimal layout in this case for lookup-fetch because of better layout. Interesting point to test.
But it look like the patter to have lookup tables in C# now.

Ah right. I've pre-computed the table and popped it in code. The no-alloc approach is interesting, but gets a little tricky with endianness and may kill any performance advantage.

stackalloc would work for noalloc either, for endianness there would be condition checked and 2 routes followed (seems i have seen such code in corefx)


when curve's  property radiusY been given negative value, the main part is lost

As you can see, I draw two curves and want to turn one of them into the reversed direction, so I change the radiusY to -50, then the below one misses the most part

So, is this a small bug, or do I just misunderstand this property ?

Hi, Evan!
Thanks for the issue and sorry for the inconvenience!
Yep, this is a bug, will fix shortly. Meanwhile, you can use angle to rotate your curve(codepen demo) or negative scaleY (codepen demo).
Cheers!

Glad to help~
BTW, angle works well.
Thanks a lot!


Macro: replace order bug(?)

There some problem that short variables can to brake more long variables:
#def MACRO1$(Dx$; x$)
    x$ + Dx$
#end def
#def MACRO2$(x$; Dx$)
    x$ + Dx$
#end def

MACRO1$(10; 20)'shows 20+10=30
MACRO2$(10; 20)'Error in "10 + D10" on line [2]: Undefined variable or units: "D10".

I'm not shure is it bug or not, but can we replace variables from long to short order?

Yes, It is a bug. Variables are parsed from longer to shorter. But for replacement, I simply used the string.Replace() method in C#, cycling through the parameter in their original order. The best way is to write custom replace method that does the job in just one pass, but it will take time.
Now, I can make a quick fix by preliminary sorting the parameters by their length - from longer to shorter and perform the replacement in this order.

@cser, I fixed this in version 5.8.2. release:
https://github.com/Proektsoftbg/Calcpad/releases/tag/v.5.8.2

✔ This works:
#def MACRO1$(Dx$; x$)
    x$ + Dx$
#end def
#def MACRO2$(x$; Dx$)
    x$ + Dx$
#end def

MACRO1$(10; 20)'shows 20+10=30
MACRO2$(10; 20)'shows 10+20=30

❌ But what happened with one-symbol parameters?
#def MACRO$(a$; b$)
    a$ + b$
#end def

Shows: There were errors processing includes and macros. #Error in "#end def" on line [3]: An item with the same key has already been added. Key: 2 (Parameter 'key')

@Proektsoftbg, it's not a problem with one-symbol parameters, it's problem with similar length parameters.
This OK:
#def MACRO1$(a$; bb$) = a$+bb$

This shows error:
#def MACRO2$(aa$; bb$) = aa$+bb$

Sorry, It was a little bit more complicated than I thought.
Now it is OK. I ammended the same release, so, you can download and install it again.
https://github.com/Proektsoftbg/Calcpad/releases/tag/v.5.8.2

Thanks! It works correctly now (so big problems not found at least)


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/67675

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68353


RDF not what I expected

When I preview the RDF from the sinopia user feedback template I don't understand some of the RDF statements I am seeing.  Why are there statements referring to the resource template such as _:c14n1 http://sinopia.io/vocabulary/hasResourceTemplate "sinopia:resourceTemplate:bf2:Extent" .

The triples with the <http://sinopia.io/vocabulary/hasResourceTemplate> predicate are necessary for reloading RDF back into the editor using the resource template value, in this case "sinopia:resourceTemplate:bf2:Extent".


Experimental: Support routing headers in bidi streaming calls.

Alternative to #526 that does not need a sample request.
Usage shown in https://github.com/googleapis/google-cloud-dotnet/pull/7951

Closing for now, but leaving the branch present to examine later.


Blank SSJS libraries result in invalid DXL

It may be best to just skip $FileData entirely in those cases.

This seems to no longer be the case, somehow. Perhaps it was a change in Notes 10+.


这种方式可以调试吗

有讨论的qq群什么的吗

Please use English :)

How to debug

Just as normal ASP.NET Applications by F5 on Visual Studio


[9.99.x-prod][OSL-1.32.2] Propagate workflow labels to the its K8s resources (#413)

Description of the change:
Cherry Pick for https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/413
Motivation for the change:
Release of OSL 1.32.2
Checklist

[ ] Add or Modify a unit test for your change
[ ] Have you verified that tall the tests are passing?

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

@rgdoliveira I'm concerned about this build. I won't change go.mod or go.sum since I know you had to modify it to run the build internally. Can you verify this PR on your end since we can't rely on CI.

@rgdoliveira I'm concerned about this build. I won't change go.mod or go.sum since I know you had to modify it to run the build internally. Can you verify this PR on your end since we can't rely on CI.

@ricardozanini I've built a scratch build of the Operator with this PR on OSBS and the build succeeded.


Fixed a guide about path of docker-compose.xml file

What this PR does / why we need it:
I read CONTRIBUTING.md to contribute to this project, and found an error for this document.
Building & Testing section about setting up a test-environment using docker-compose, which should have been updated after merging this commit : https://github.com/yorkie-team/yorkie/commit/d8625cdad83fc2b6907a9abc747ab91c48ff1cf4
Which issue(s) this PR fixes:

Fixes #510
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

Additional documentation:

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

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


Underscore line is present even for deselected tabs

Describe the bug
Overview tab always highlighted within component profile (Topic, Connector)
Set up
https://www.kafka-ui.provectus.io/
Steps to Reproduce
Steps to reproduce the behavior:

Navigate to Topic/Connector
Turn other than Overview tab

Expected behavior
Overview tab kept highlighted with turning to the other tab
Screenshots

Seems being fixed.


Roll Flutter Engine from c8845bbc57ae to c9c7f70c9c51 (1 revision)

https://github.com/flutter/engine/compare/c8845bbc57ae...c9c7f70c9c51
2022-07-28<EMAIL_ADDRESS>Roll Dart SDK from 1bc14509ed5a to 9682f26ed477 (1 revision) (flutter/engine#34962)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


cloud_controller.admin_read_only scope doesn't retrieve all the info it should for apps/services

Issue
Querying GET /v2/service_instances/<guid> with the cloud_controller.admin_read_only scope returns service instance info with space_guid and space_url set to null
Querying GET /v2/apps/<guid> with the cloud_controller.admin_read_only  scope returns an unknown error.
Context
When requesting individual apps/service instances by GUID using the CC API using the cloud_controller.admin_read_only authority, things do not behave as they do if using thecloud_controller.admin  authority
Steps to Reproduce

Create a uaa client with the cloud_controller.admin authority, and request a token for it.
Retrieve a known app guid from CF
Retrieve a known service instance GUID from CF
Query CC for app info with admin token:

curl -H "Authorization: <admin token>" https://api.system.example.com/v2/apps/<app_guid>

Query CC for service instance info with admin token:

curl -H "Authorization: <admintoken>" https://api.system.example.com/v2/service_instances/<service_instance_guid>

Create a uaa client with the cloud_controller.admin_read_only authority and request a token for it
Query CC for app info with admin-read-only token:

curl -H "Authorization: <admin-read-only token>" https://api.system.example.com/v2/apps/<app_guid>

Query CC for service instance info with admin-read-only token:

curl -H "Authorization: <admin-read-only-token>" https://api.system.example.com/v2/service_instances/<service_instance_guid>

Expected result
Output from step 4 should match output from step 7.
Output from step 5 should match output from step 8
Current result
Output from step 7 is
{
  "error_code": "UnknownError",
  "description": "An unknown error occurred.",
  "code": 10001
}

Output from step 8 is
{
  "metadata": {
    "guid": "dc84230b-fc44-44a4-9d6f-2b1815c282dd",
    "url": "/v2/service_instances/dc84230b-fc44-44a4-9d6f-2b1815c282dd",
    "created_at": "2016-10-31T22:07:41Z",
    "updated_at": null
  },
  "entity": {
    "name": "rabbitmq-d4874fab-3dda-4f19-a4e5-2e8eea524adb",
    "credentials": {},
    "service_plan_guid": "665957a9-cca6-4699-b39e-69ba69a90e12",
    "space_guid": null,
    "gateway_data": null,
    "dashboard_url": "https://pivotal-rabbitmq.system.example.com/#/login/mu-dc84230b-fc44-44a4-9d6f-2b1815c282dd-vcmanhdmk6iojckfhdd0lrj8ot/1208307545653054799427391242347139721444",
    "type": "managed_service_instance",
    "last_operation": {
      "type": "create",
      "state": "succeeded",
      "description": "",
      "updated_at": null,
      "created_at": "2016-10-31T22:07:41Z"
    },
    "tags": [

    ],
    "service_plan_url": "/v2/service_plans/665957a9-cca6-4699-b39e-69ba69a90e12",
    "service_bindings_url": "/v2/service_instances/dc84230b-fc44-44a4-9d6f-2b1815c282dd/service_bindings",
    "service_keys_url": "/v2/service_instances/dc84230b-fc44-44a4-9d6f-2b1815c282dd/service_keys",
    "routes_url": "/v2/service_instances/dc84230b-fc44-44a4-9d6f-2b1815c282dd/routes"
  }
}

(space_guid + space_url are null)
Other notes - when requesting all apps/service_instances with GET /v2/apps and GET /v2/service_instances, these issues do not occur, they seem to be isolated to the single-intance/app retrieval APIs. Not sure what other APIs might be affected if any.
Possible Fix
[not obligatory, but suggest fixes or reasons for the bug]
name of issue screenshot
[if relevant, include a screenshot]

Hey @geofffranks ,
Thanks for submitting this issue. It seems like this has been fixed as part of this commit. The fix was introduced in cf-release v247. Closing this issue for now, feel free to reopen if you feel like I haven't addressed your issue.
Thanks,
CAPI Community - @michaelxupiv


koji_promote: allow blocksize to be specified

If we had a configuration file, we could use that. We don't though, so I've added the ability to specify this using a plugin parameter.
The koji client default for upload blocksize is 1Mb. We'll most likely want to use a larger blocksize, e.g. 10Mb.

Coverage increased (+0.3%) to 87.478% when pulling 25731e2f7a7d4a00309e72c64060906a3f5e67ab on koji-cg-upload-chunk-size into 0150ae6140abf8e40aab030fa4a362b3befe2498 on master.


"errorType": "TypeError",   "errorMessage": "Cannot read property 'authorizer' of undefined",   "trace": [     "TypeError: Cannot read property 'authorizer' of undefined",

what have i missed? so it's showing unauthorised error in get_account lambda function, can anyone help

"errorType": "TypeError",
"errorMessage": "Cannot read property 'authorizer' of undefined",
"trace": [
"TypeError: Cannot read property 'authorizer' of undefined",

Cloud you add console.log(event) before the line to debug the lambda event?


Refreshing iScroll

Hey! Thanks for the great plugin.
I have some dropdowns inside my drawer navigation, and am having some issues recalculating the drawer height for iScroll after opening them. Because iScroll is initialized through Drawer, what would be the best way to use the refresh() function to get the new drawer height?
http://iscrolljs.com/#refresh
Thank you for your help!

Hi @jbarkun! I've recently implemented a refresh function but didn't have time to update the docs yet. It doesn't quite work as you asked, though. It recreates the whole iScroll (useful for the cases where you dynamically load the whole drawer) by calling drawer.drawer('refresh'). If this doesn't solve your problem, let me know and I'll implement an accessor to the iScroll's refresh function.

I definitely would need an accessor to iScroll's refresh function! Using the refresh function as is, my scroller jumps up while refreshing.
Thanks!


Use Disposables.composite.add() in ReactorSession

Fixes https://github.com/Azure/azure-sdk-for-java/issues/36916

API change check
API changes are not detected in this pull request.


StorelessUnivariateStatistic should extend DoubleConsumer

Any storeless univariate statistic should extend from DoubleConsumer. The accept(double) method should be delegated to increment(double).

+1
Probably the simplest way to enable this is to have AbstractStorelessUnivariateStatistic implement DoubleConsumer in this way.

StorelessUnivariateStatistic as well as DescriptiveStatistics and StreamingStatistics now extend from DoubleConsumer. Added separate test cases for each class.


WKWebView

This:
https://github.com/Microsoft/WinObjC/blob/812d6636036a8d2eaeaaf7b92aa0c7b76252e190/Frameworks/WebKit/WKWebView.mm
is this:
UNIMPLEMENTED();
but this:
https://webkit.org
https://github.com/WebKit/webkit/blob/4271be944cc637a72c5dbe542110ee2094c493a9/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
is not.

I can't convert my app with WKWebView from WebKit framework, it works when i replace this with deprecated UIWebView. Is that mean I cannot convert WKWebView to UWP, because it is not supported yet?


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

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

Questions ?
Please refer to the Backport tool documentation


could not find cuDevicePrimaryCtxSetFlags

when i execute sess = tf.Session() or sess = tf.InteractiveSession(), it shows problems below:
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
F tensorflow/stream_executor/cuda/cuda_driver.cc:94] Check failed: s.ok() could not find cuDevicePrimaryCtxSetFlags in libcuda DSO; dlerror: /usr/lib/x86_64-linux-gnu/libcuda.so.1: undefined symbol: cuDevicePrimaryCtxSetFlags
Aborted (core dumped)
how can i fix this , thank you !

Please provide details about what platform you are using  (operating system, architecture). Also include your TensorFlow version. We ask for this in the issue submission template, because    it is really difficult to help without that information. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Similar crash when creating session.
OS: windows 8.1 x64
CUDA: 8.0
cuDNN: 5.1
GPU: EN8600GT (8600 GTS)
Output:
C:...>python
Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC v.1900 64 bit (AM
D64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cublas64_80.dll
locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cudnn64_5.dll lo
cally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cufft64_80.dll l
ocally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library nvcuda.dll local
ly
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library curand64_80.dll
locally
sess = tf.Session()
F c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\cuda\cuda_driver.cc:94] Check failed: s.ok() could not find cuDevicePrimaryCtxSetFlags in libcuda DSO; dlerror: cuDevicePrimaryCtxSetFlags not found


Prepare for new release of Confluence

Workflow links: https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/5341552155, https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/5341553804, https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/5341556170.

Java 8 isn't supported by Confluence 8.3.2 anymore and integration tests on Java 11 and 17 pass, so current version of Confluence Server for Slack is marked compatible with Confluence 8.3.2.


Use $APP_DATA_DIR/containers to look for custom containers

This PR:

Adds opentrons.environment and get_path() to track app specific dirs and files, creating respective dirs if necessary
Changes persisted_containers to load default containers and look for custom containers in CONTAINER_DIR ($APP_DATA_DIR/containers) skipping dirs and files that start with .
Adds tests and container files to test custom container functionality

Changes Unknown when pulling f8f5aee28b78c0badd6a9be323556f1cf109ae17 on 91-s-use-sys-arg-to-define-container-lookup-folder into ** on master**.

LGTM

Changes Unknown when pulling b7ac239a077c175cb546cdb44191840e83f3b253 on 91-s-use-sys-arg-to-define-container-lookup-folder into ** on master**.


Prioritizing search results / multiple data types

Hello,
let's say I have
sections : [{"section: "Economy", url: '/economy'}, {"section: "Fun", url: '/fun'}]
articles: [{id: 1, "section: "Economy", title, url}, {id: 2, "section: "Economy", title, url}, {id: 3, "section: "Fun", title, url}]
and when I query "economy" I'd like to get something like this:
Sections:
Economy
Articles:
Title (from Economy)
Title 2 (from Economy)
where the query is either in sections section key, or article title.
Would you suggest to use multiple useFlexSearch hooks and multiple gatsby-plugin-local-search instances, or is there any simple way how to connect the data in normalizer as I could query multiple object types and filtering the results somehow later in render function?
Thank you very much for any insight. Even pointing me in any direction would be great :)

Hi @sn3h, apologies for the late reply.
I've typically handled this kind of problem by creating two indexes and using separate useFlexSearch hooks. This is helpful since the two types (e.g. "sections", "articles") could potentially have different shapes and affords you the ability to handle them differently.
There may technically be some negative performance implications by having two separate indexes processed at runtime, but it's been fast enough for me to not notice.
Hope that helps! Let me know if you need further clarification.


ID links not captured

Describe the bug
When using HTML like this within a markdown file the id doesn't seem to be added to the valid list of links:

  `devCsp`

This results in a validation failure from the  tag because it seems the id="securityconfig.devcsp" in the parent div isn't picked up.
To Reproduce
Create a non- HTML element with an id attribute and then link to that.
Expected behavior
Any id attributes should be added to the list of valid links
How often does this bug happen?
Every time
System Info
starlight-links-validator 0.1.1
astro 2.10.7
@astrojs/starlight 0.7.2
Additional Context
If you agree with this change in behaviour I could try making a PR for it, but I'm not familiar with the mdxJsxFlowElement that I think this logic would be built around so may need a bit of guidance.

If you agree with this change in behaviour

I am not even sure I would qualify this as a change in behavior. Sounds like a bug to me due to a missed case.
It's a bit more involved than what I thought at first. We need to handle both mdxJsxFlowElement & mdxJsxTextElement but this would only work in MDX files altho it's perfectly valid in a classic MD file. We have to handle them a bit differently as the html node we get only contains a string of the HTML and not a HAST so we basically need to parse it and extract what we need from them.
I have a quick POC locally that appears to cover all the cases but I'll have to come back to it tomorrow to write tests for make sure it identifies the valid cases in MD & MDX files and also invalid cases in both files as well.
(I'll take a look at your second issue at the time too)

Awesome, happy to also run anything against the full setup I have downstream as well if you'd like when it's ready

Turns out I forgot another case yesterday as we not only need to collect IDs in HTML in classic Markdown but we also need to collect links expressed in HTML in classic Markdown ^^
Anyway, this should be fixed in the next version ^^

Thank you so much! Really appreciate it and all the testing as well 💟


Improved gpu_hist_experimental algorithm

Implement colsampling, subsampling for gpu_hist_experimental

Optimised multi-GPU implementation for gpu_hist_experimental

Make nccl optional

Add Volta architecture flag

Optimise RegLossObj

Hi @RAMitchell , can we also go back to double for the accumulator.  Arno and I tried to do it (bc25ee6762f1839e85812755d64df4de7b043872 and d93b3edf2e9c8e63140d8ae375c568ab1162d57a) but it's not working correctly as far as we can tell.  We get larger errors and some tests of the scale invariance of the error don't work.  Feel free to use our code as a starting point, but you probably have a better idea.

The changes/improvements look awesome.

Codecov Report

Merging #2866 into master will increase coverage by 0.05%.
The diff coverage is 53.65%.

@@             Coverage Diff              @@
##             master    #2866      +/-   ##
============================================
+ Coverage     39.96%   40.02%   +0.05%
  Complexity      200      200
============================================
  Files           151      152       +1
  Lines         11518    11571      +53
  Branches       1167     1164       -3
============================================
+ Hits           4603     4631      +28
- Misses         6585     6612      +27
+ Partials        330      328       -2

Impacted Files
Coverage Δ
Complexity Δ

src/objective/multiclass_obj.cc
16.41% <0%> (ø)
0 <0> (ø)
:arrow_down:

src/gbm/gbtree.cc
20.12% <0%> (-0.14%)
0 <0> (ø)

src/common/timer.h
40% <40%> (ø)
0 <0> (?)

src/learner.cc
25.4% <7.14%> (-0.52%)
0 <0> (ø)

src/objective/regression_obj.cc
87.93% <91.66%> (+1.6%)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Incomplete class Learner(object)

Hi @kaushaltrivedi. Thanks so much for creating this library, it's great.
I was using it a few days ago and it worked well. But now I'm getting an import error from fast_bert/learner.py. I think it's due to a incomplete class Learner(object):. Complete message below:
File "/usr/local/lib/python3.6/dist-packages/fast_bert/learner.py", line 61     class BertLearner(object):         ^ IndentationError: expected an indented block

Hello with the new refactoring for library, use learner_cls instead of learner.  Also use data_cls instead of data for BertDataBunch

That worked, thank you!


Verify JDBC-based connectors use

Have the packager check for best practices from the samples and documentation.
Superclasses other than 'jdbc' can also be JDBC based, so make sure  validation is triggered on 'jdbc' or not 'jdbc'

Hi, @rosswbrown! Thanks for opening this PR!

In the file connector-packager/connector_packager/xsd_validator.py:

Line 265:38: W503 line break before binary operator
Line 264:121: E501 line too long (126 > 120 characters)
Line 176:121: E501 line too long (132 > 120 characters)

In the file connector-packager/tests/test_connector_properties.py:

Line 97:121: E501 line too long (125 > 120 characters)
Line 82:121: E501 line too long (127 > 120 characters)
Line 81:121: E501 line too long (126 > 120 characters)

In the file connector-packager/tests/test_xsd_validator.py:

Line 298:26: E127 continuation line over-indented for visual indent
Line 293:26: E127 continuation line over-indented for visual indent
Line 281:26: E127 continuation line over-indented for visual indent

For reference: Error Code Reference, PEP8, Python code style


improve mermaid preview window layout behaviour

Expected behaviour
Allow mermaid preview (based on .mmd files) window to be put anywhere according to the vscode layout specifications (left, right, bottom, top, etc.).
Actual behaviour
When one drags and drops an existing mermaid preview window to a different layout structure (e.g. top-down split instead of left-right split), with a mermaid .mmd file being previewed, the follow error is thrown by vscode:

Unable to open Mermaid Preview: ModelService: Cannot add model because it already exists!.

VS code 1.30.2 (dark theme).

fixed by #67


No ID replace when returning list of objects

When I run this:
instance = self.api_class.objects.get_or_404(id=object_id)
return instance.to_json()

I get a single document with the ID field formated correctly:
{"amount": 1, "descreption": "BBB", "pay_method": "5b51fed52c88845720509757", "id": "5b5101de2c88845fdf1429ed"}

But when I do:
return self.api_class.objects.to_json()

I get the following list without the IDs been formatted:
[{"_id": {"$oid": "5b5101de2c88845fdf1429ed"}, "amount": 1, "descreption": "BBB", "pay_method": {"$oid": "5b51fed52c88845720509757"}}, {"_id": {"$oid": "5b5204772c88845720509759"}, "amount": 100, "descreption": "BBB", "pay_method": {"$oid": "5b51fed52c88845720509757"}}]

Am I doing anything wrong?

Well, simple encode/decode is already tested by test code (Check queryset integration test), but I think this issue might happens when you code a complex code.
Did you inherit/override something other than mongoengine_goodjson.document.Document?

I don't understand your solution.
My class is quite simple but I also used this package.
Now I have solved it by implementing the to_json method by myself in a class and then all my document Inheriting from it.

Hi,
As long as I read the code of that, flask_mongoengine seems to have their own Document class and QuerySet class that don't inherit mongoengine_goodjson.Document and mongoengine_goodjson.QuerySet. As the solution, you will need to create your own classes that inherit the both of mongoengine_goodjson classes and flask_mongoengine classes.

That solved my problem, but I had to set my class as follows:
class Expense(db.Document, gj.Document)
the other way (class Expense(gj.Document, db.Document)), didn't work


dev 1.7.2.rc2  build_sdcard.sh on Ubuntu 20.04

Installing on VM or Similar Environment
wget https://raw.githubusercontent.com/rootzoll/raspiblitz/dev/build_sdcard.sh
sudo bash build_sdcard.sh -f true -b dev -d headless -t false -w off
Parameter Call is different now
Script stops because of python version.
have to add ppa and manually install python 3.10 to pass through.
sudo add-apt-repository ppa:deadsnakes/ppa
Original Version is 3.7 on the OS
Fresh LND wallet generaton still fail because of missing google modules
after installing
sudo python3 -m pip install grpcio grpcio-tools googleapis-common-protos pathlib2
wallet generations works
Afterwards everything runs like a charme, "HDD" detection seams also working without any workaround.
Originally posted by @mrsieb in https://github.com/rootzoll/raspiblitz/issues/2661#issuecomment-1041399492

@openoms
What would be the correct way to update a system with this method?
I just tried to call the script from the main branch, the script fails with lnd 14.2 already installed so it runs not to the end.
Anyhow after a reboot it seams the system is running on 1.7.2 main. (only i have to set Password A again)
I mean how to trick the system  to run the update process like if it is done over the menu when it runs on a PI?
Of course i cloud complete delete the OS and start from a fresh OS but i think this is not necessary.

There is no update process. The update option makes a rescue file as a backup and shuts down prompting to reflash.
You can use the patch menu being aware of this https://github.com/rootzoll/raspiblitz/issues/2934.

You can use the patch menu being aware of this #2934.
Thx, on other thing

Not supported/untested is moving the data directory between different operating systems (for example MacOS <-> Linux or Windows <-> Linux) or different system architectures (for example ARM -> amd64). Data corruption or unexpected behavior can be the result. Users switching between operating systems or architectures should always use Option 2!
Do you have experience migrate lnd frome ARM -> amd64 ?

yes, multiple times, without issues. https://twitter.com/openoms/status/1407377844024528905?s=19
Will close this issue as no longer relevant to the OP.


The TS type for updateDB specifies it returns a promise, but it does not.

The TS type for updateDB specifies it returns a promise, but it does not.

Thanks. Fixed cdcf22d


Test Issue created at Sat, 12 Mar 2022 02:23:47 GMT

Test issue body  Sat, 12 Mar 2022 02:23:47 GMT

Comment on issue at Sat, 12 Mar 2022 02:23:49 GMT


llvmir2hll - Support of Array Allocation Instruction

Here's my simple question, is it right that llvm ir code generated by bin2llvmir does not contains array allocation instructions, like %ptr = alloca i32, i32 4 ? Or in other words, llvmir2hll currently does not handle such kind of instructions?

Hi, you are right that bin2llvmir currently does not handle array/structure types properly. This is currently under development and the result will be that bin2llvmir and llvmir2hll will fully support such instructions.


DEC-1352: Add confirmation modal on flagging account for moderation

Closes:

https://pagodaplatform.atlassian.net/browse/DEC-1352;
#315

@shelegdmitriy Let's make use of the Radix Dialog primitive for the modal: https://www.radix-ui.com/docs/primitives/components/dialog

@calebjacob indeed! I left this is this state to focus on main functional part. As soon as we'll get a design for DIG.Modal I'll fix this

hey @shelegdmitriy To make review/merging easier,  use the ability to save/create a PR as Draft as oppose to writing Don't Merge in the description.

I think the Confirm and Cancel buttons need more functionality. Both lead to the save data modal and they need to close the 'Do you want to hide all posts of this account?' modal so you can interact with the save data modal.

Looks really good. Normally I'd say it's ready to merge. However, I just re-opened the data discussion https://github.com/near/near-discovery/discussions/386
Let's wait to merge this PR until we can resolve that discussion and store the hide account data in the final format.

After a small discussion with @gabehamilton I decided to add a couple if things here:

"Not Now" button or "X" button to simply close this Dialog without reporting.
Add blur effect on background. This change makes this Dialog to looks exactly like NotificationAlert (I've added blur effect by default but this can be controlled by developer).

All this things could be added in just 1 line of code here after #357 will be merged.
cc @charleslavon


Uploading .m4a AAC results in "no video stream" 422 error from /api/v2/media

official mastodon app can accept m4a audio with aac encoding, but subway tooter for some reason fails with 422 error

https://mastodon.juggler.jp/@tateisu/109881003457637953
I tried m4a and that is uploaded no problem.

secondary I tried 2.4MB text.m4a ( converted from mp3 using foobar2k)
it could uplloaded

i do not remember which file i used that had this issue, so i will close the issue for now and reopen it if i can replicate it


Fixing bug in sql formatter where values provided after reserved 'VALUES' keyword were not being indented properly

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] New feature or enhancement
[ ] UI change (please include screenshot!)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: #773
What is the new behavior?

The reserved keyword of "VALUES" will also be considered when omitting trimming of the end of new line spacing while formatting SQL.  The current implementation includes LineComment, Operator, and OpenParen.

Other information

Quality check
Before creating this PR:

[x] Did you follow the code style guideline as described in CONTRIBUTING.md
[x] Did you build the app and test your changes?
[x] Did you check for accessibility? On Windows, you can use Accessibility Insights for this.
[x] Did you verify that the change work in Release build configuration
[x] Did you verify that all unit tests pass
[x] If necessary and if possible, did you verify your changes on:

[x] Windows
[ ] macOS (DevToys 2.0)
[ ] Linux (DevToys 2.0)

Thank you very much for this fix! I will merge it in main branch (DevToys 1.0). Your fix will be ported to DevToys 2.0 when we get to it.


Exclude files from search

Search Terms
Exclude search
Problem
I have some auto generated things in my project that I want to have documentation HTML files for but I do not want them to show up in the search query.
Suggested Solution
Probably the easiest way to solve this is to add an excludeSearch option and use that to exclude the files in the JavascriptIndexPlug file.

With the changes in v0.23.4, this can now be done pretty easily with a plugin, and given that it seems that the demand for this isn't very high, it seems like it will fit best there.
const td = require("typedoc")

/** @param {td.Application} app */
exports.load = function(app) {
  app.renderer.on(td.Renderer.EVENT_PREPARE_INDEX, filterIndex);
}

/** @param {td.IndexEvent} index */
function filterIndex(index) {
  for (let i = 0; i < index.searchResults.length; /* in loop */) {
    // update this as appropriate, index.searchResults[i].sources is probably good enough for a personal plugin.
    if (index.searchResults[i].name === "excludeMe") {
      index.removeResult(i);
    } else {
      i++
    }
  }
}


Updating firmware

HI,
Can I update the firmware of my coordinator and router,
If possible, How to please.
Regards,
Dutchy

What hardware are you running ?
If you are using a CC2531 just follow https://www.zigbee2mqtt.io/information/flashing_the_cc2531.html

That's what I followed, should have mentioned that indeed.
Just wondering if that's the latest version available.


How to stop it

I would like to stop the script from running to try and save an old tweet I forgot to include. How can I do this if at all

Just refresh the page (?)

lol


After creating a cluster template, the UI should stay in "cluster templates" page

Version: Master-head
Steps:

Create a cluster template
After creating the template with revision, UI goes to the "Clusters" page.
It should stay in "Cluster templates" page so that the users can view the template created

Tested with master-head build from July 23rd.
Create a cluster template
After creating the template with revision, UI stays in the cluster templates page as expected.
The issue is fixed.


Broken Discord link?

Hi there, the Discord link offered in the README of this repo doesn't seem to lead to a valid group. Is the link still correct?

Nevermind, there was confusion between Discord in a browser tab and the Discord app on my desktop! Apologies for the noise.


Memory leak in long running process due to repeated booted callback registration

Environment
Using  Sentry SaaS
Which SDK and version?
sentry/sentry-laravel: 2.4.2
sentry/sdk: 3.1.0
sentry/sentry: 3.2.0
Steps to Reproduce
Running Laravel with sentry-laravel in long-running web worker processes such as PSR-7 based web server or Swoole.
Expected Result
The system is stable and does not continuously increase its memory usage.
Actual Result
After a couple of thousands requests workers start to hit the memory_limit of 128M.
Identified source of problem
After about a week of debugging and narrowing it down we have identified that the issue comes from this block of code, i.e. on every request the middleware would register a new booted callback until eventually exhaust all available memory.
Object tree dump after pushing 6000+ requests using ab (Apache Bench) tool:
(object) Illuminate\Foundation\Application
  basePath => (scalar) <REDACTED>
  hasBeenBootstrapped => (scalar) 1
  booted => (scalar) 1
  bootingCallbacks => (array) 1
    0 => (closure)
  bootedCallbacks => (array) 6538
    0 => (closure)
    1 => (closure)
    2 => (closure)
    3 => (closure)
    4 => (closure)
    ...
    6533 => (closure)
    6534 => (closure)
    6535 => (closure)
    6536 => (closure)
    6537 => (closure)
  terminatingCallbacks => (array) 0
  serviceProviders => (array) 39
    0 => (object) Illuminate\Events\EventServiceProvider
      app => (object) *currentApp
      bootingCallbacks => (array) 0
      bootedCallbacks => (array) 0
    ...

Interesting, this library was not tested with Swoole, but there is probably an easy fix.
Would you be up to PR this?

Hey @stayallive, thanks for a quick look! Doesn't have to be Swoole specifically - any long running web process will surface this problem if it reuses instances across different requests, e.g. RoadRunner which uses PSR-7.
I am more than happy to PR this, but would like to know what your guidance here will be. I can simply introduce a private property on the middleware, something like boolean flag isBootedCallbackRegistered and check/set as needed. This is the most naive implementation of course and I am not sure if that's acceptable. What are your thoughts?

No I know it's not specific persé, was just an example.
I'm thinking about it and "just" registering it once would not work...
The main issue is $fallbackTime we use in the callback which is the time startTransaction is called in the middleware.
We also have request() but we can solve that by resolving the request from the container inside the callback.
So looking at this we need to check if we already registered the callback and maybe also have a property to have that $fallbackTime set in. The callback and $fallbackTime property could possibly even be static to prevent issues with multiple instances of the middleware causing issues although the middleware is registered as singleton at the moment (which I'm not even sure why we would do that or need that).

Hey @stayallive thanks a lot for this information. I have spent a bit of time testing/figuring out how everything works together and I would actually question the reason behind using the booted() callback in the first place. Because we are calling booted() from within the Middleware the app is already booted, and Laravel immediately fires off this callback through this codepath.
I have used debug_backtrace() inside of the callback to see where it is invoked and every time it is actually from within that isBooted() condition, like so:
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:955
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:942
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php:125
/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php:43
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167

With this in mind, I feel like we can just inline this anonymous function body into the startTransaction() method itself. Also, I am not sure what purpose the fallback time serves here, because LARAVEL_START constant is always defined by the Laravel autoloader.
What do you think about all the above?
Alternatively, I can move booted() registration into the service provider (which is fired earlier than this middleware) and have microtime() fallback done there too. I can even register a Sentry-specific "fallback time" as a container entry that can be reused then by the callback AND middleware alike as a starting point of the request.

Yep, this is probably true, I'm not a 100% why we did it that way, probably because we wanted to extract it to our event listener class instead of keeping it in the middleware.
But I think you are right that we can remove the complete callback and inline it.
LARAVEL_START is not always defined especially if you are using an older version of Laravel or started with an older version and did not keep index.php up-to-date. This is just a safeguard and I see no issues in keeping it.
I would not use the container to use as a global storage for fallback times, but it looks like we also don't need it with the inlining.


git: disable failing test w/musl for now

I'm working to resolve this but it will take some time
(patches sent to upstream musl, maybe to git afterwards)
and for now this blocks quite a lot.
If that doesn't work out we can explore options such as
always using GNU libiconv with musl.
For the curious, here's what I sent upstream:
(waiting for response/discussion before applying to our musl)

http://www.openwall.com/lists/musl/2018/05/02/2
http://www.openwall.com/lists/musl/2018/05/03/1

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Failure on x86_64-darwin (full log)
Attempted: git
Partial log (click to expand)
warning: unable to download 'https://cache.nixos.org/jfasr8z4n7wh4cnq8zga9r8cfkyqrn6c.narinfo': HTTP error 504 (curl error: No error); retrying in 5166 ms
warning: unable to download 'https://cache.nixos.org/nlcs4r6whq0cv7lx6n783qbx466fswc5.narinfo': HTTP error 504 (curl error: No error); retrying in 4947 ms
warning: unable to download 'https://cache.nixos.org/85hyv7m2h05rs47xcmv1l2f749vhg51h.narinfo': HTTP error 504 (curl error: No error); retrying in 8160 ms
warning: unable to download 'https://cache.nixos.org/jfasr8z4n7wh4cnq8zga9r8cfkyqrn6c.narinfo': HTTP error 504 (curl error: No error); retrying in 8335 ms
warning: unable to download 'https://cache.nixos.org/nlcs4r6whq0cv7lx6n783qbx466fswc5.narinfo': HTTP error 504 (curl error: No error); retrying in 11234 ms
warning: unable to download 'https://cache.nixos.org/85hyv7m2h05rs47xcmv1l2f749vhg51h.narinfo': HTTP error 504 (curl error: No error); retrying in 17221 ms
warning: unable to download 'https://cache.nixos.org/jfasr8z4n7wh4cnq8zga9r8cfkyqrn6c.narinfo': HTTP error 504 (curl error: No error); retrying in 17844 ms
warning: unable to download 'https://cache.nixos.org/nlcs4r6whq0cv7lx6n783qbx466fswc5.narinfo': HTTP error 504 (curl error: No error); retrying in 22263 ms
error (ignored): unable to download 'https://cache.nixos.org/jfasr8z4n7wh4cnq8zga9r8cfkyqrn6c.narinfo': HTTP error 504 (curl error: No error)
error: unexpected end-of-file

Success on x86_64-linux (full log)
Attempted: git
Partial log (click to expand)
All tests successful.
Files=801, Tests=18583, 411 wallclock secs ( 4.44 usr  0.90 sys + 257.57 cusr 253.39 csys = 516.30 CPU)
Result: PASS
make clean-except-prove-cache
make[2]: Entering directory '/build/git-2.17.0/t'
rm -f -r 'trash directory'.* 'test-results'
rm -f -r valgrind/bin
make[2]: Leaving directory '/build/git-2.17.0/t'
make[1]: Leaving directory '/build/git-2.17.0/t'
/nix/store/nfgv8hwa4dsyqw4skqfqjprm7zwzbyya-git-2.17.0

Success on aarch64-linux (full log)
Attempted: git
Partial log (click to expand)
All tests successful.
Files=801, Tests=18583, 199 wallclock secs (82.98 usr 17.30 sys + 2693.10 cusr 7292.27 csys = 10085.65 CPU)
Result: PASS
make clean-except-prove-cache
make[2]: Entering directory '/build/git-2.17.0/t'
rm -f -r 'trash directory'.* 'test-results'
rm -f -r valgrind/bin
make[2]: Leaving directory '/build/git-2.17.0/t'
make[1]: Leaving directory '/build/git-2.17.0/t'
/nix/store/3bpai68lhxbg37sy52vw87vv6mi8yff3-git-2.17.0


Fix webapp dependency vulnerabilities

What does the pull request do?

 === npm audit security report ===

found 0 vulnerabilities

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 0.10.999-cibuild0018420-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Unit tests

Hello Juven,
First of all, congratulations, it's a great directive.
Not sure if I'm missing something, I haven't found unit tests implemented for this directive, in case they haven't been implemented, would you mind if I start implementing them?
Thanks
Braulio

Hi Braulio,
Appreciate it. A unit test on this directive is a good idea, I'll add you as a collaborator so you can start the implementation. Thanks in advance.
Juven

Hi,
Pull request added

@brauliodiez kosovo added


Swipe remove with in-place undo and "leave-behind"

Request for enhancement: Swipe remove with in-place undo and "leave-behind"
The UndoHelper is great (snackbar undo of removal of item), but Gmail and other apps have a swipe to remove/archive/whatever that instead of showing a snackbar with UNDO shows what happened "in-place" where that item was along with providing an UNDO action "in-place" where the item used to be.
Furthermore, starting the swipe reveals an icon indicating what will happen if swiping further (and in some implementations also colors the background accordingly, red for deleting etc).
See also the material design guidelines ragarding "leave-behinds" for indicating what happens when swiping:
https://www.google.com/design/spec/components/lists-controls.html#lists-controls-types-of-list-controls
Scroll down to "leave-behinds".
Implementation idea for a first shot at it could be to enable a choice of swipe directions in the ItemTouchHelper. Upon swipe of item, swap out the displayed item in the adapter and replace back that on timeout similar to the current UndoHelper. The replaced item could have an action. Of course handling the "leave-behinds" requires better integration with the actual swipe.

@mattiasbe hi. thanks for your suggestion.
I am afraid this feature is "out-of-scope" of this library. The FastAdapter is here to manage your items, to provide all the API's you need for selection, expandable items. It allows you to add, remove, move, change items. And provides all the required methods to make your RV as fast as possible.
The FastAdapter also provides the Items interface, which contains the methods how to display a specific item, but itself does not know about how an item looks like.
So having an item which provides the above logic is in the scope of the dev using the library.
I would love to have something like this in the sample. But right now I do not see this in the core of the FastAdapter may as additional addon.
Surely I would love to see a pull request adding something like this to the sample.
There are also already other libraries out which implement this kind of behavior. https://github.com/daimajia/AndroidSwipeLayout

@mikepenz I understand completely, I initially dismissed the idea of creating the RFE for that exact reason (out of scope), but figured I had to ask anyway since the UndoHelper with the Snackbar undo UI is there in the project.
I've used that library in a few projects, including one with FastAdapter now. Never combined that particular project with the swipe to dismiss/remove though, just to reveal actions. Maybe it can be done, but as that is not the purpose of that library I prefer not to (ab)use it that way. Rarely ends up well further down the lifetime of the projects (again makes me thankful you have very focused libraries).
By the way for anyone wishing to use that swipe library with FastAdapter, please note that to get the swipe and click to work together, don't use the withOnClickListener from FastAdapter, instead set it on the item yourself (at viewholder creation time), and make sure to set the onClickListener on the top surface only.
I'll see what I can find time for. Thanks for another great library and support.

Maybe you want to add an example?

@mattiasbe thanks for the detailed answer. If you find some time for a PR... just open it ;). I would really love to have something like this in the sample

Looked into adding it into the sample app a little bit. Raises a few questions, multiple ways to do it, api design, not adding any support into the FastAdapter or doing so, how customizable, all features, or just parts and if so make it easy to use some of it (only leave behinds, no actions, only actions, only swipe). Ability to combine with drag.
Question 4 below pretty much sums it up about what I'm currently consider implementing for the sample app if anyone would be interested.
@mikepenz What would your preferred way of discussing for example API alternatives be (even for sample app only stuff)? Nothing major just that I prefer iterating/feedbacking it with someone.
Initial questions:

I started off adding it into the SimpleItemListActivity but as long as it is just one extra feature it might be OK but if adding multiple alternatives (actions or not etc) it might clutter that example too much. Add another activity now or maybe later. See also question 4.
For the "leave-behind" I'm considering an API just specifying a color and icon and/or text. Not a proper layout. At least to start with.
For the revealed actions I think I would eventually regret not making it proper layout. The mentioned swipe library uses a bottom layout in the same framelayout and assuming position 0 and 1 are the layouts in question. While that seems easy enough it clashes a bit with the onClickListener in FastAdapter (would be attached to the FrameLayout and trigger on all clicks). Could perhaps re-assign it as the FastAdapter keeps track of it but maybe have a separate layout. Thoughts? Maybe need some better examples to explain the issue?
Sample app, I'm thinking of somewhere adding at least three steps regarding swipes. A) Adding a basic swipe custom action. B) Adding a swipe action with a material design "leave-behind". C) Like B but the item also changes to a UNDO or other custom action(s). Possibly with options of how to timeout (gmail does it on scroll and similar, or on just pure time like the snackbar does). Does that sound ok, even if A) is pretty trivial it could be a nice example for many if they don't know much about ItemTouchHelper etc?

@mattiasbe I would suggest to make better a new example - than merging all together. Could end up a bit confusing. :)

@Rainer-Lang I forked and started some work on it. Can see the current state in the fork, I'll do a PR to get feedback at some point(s). From the state of my fork at the moment I'll next:

Change the api with the background color and the leave behind drawable in the constructor to withX-style to more easily accommodate support of different swipe directions.
Implement the different swipe directions (icon location for leave behind etc)
Start using a swipe example specific item layout instead of the SampleItem to have a proper/usable UNDO "state". Update the example with undo.

See the attached screen cap for the current state of the implementation:

Looks awesome.

@mattiasbe sorry for not yet answering your questions. The preview video you have added looks already really promising

Thanks for your kind words @mikepenz
Current state:

There are some api issues that can be tweaked etc, and could benefit from some support in the actual lib, like a Swipeable interface and support for that for easier API and built in features. Instead of having to add such a pattern by yourself (no example of a Swipeable interface given there yet, it's implicit only). The use/setting of swipedActionRunnnable is a bit clunky and could benefit from this.

@mattiasbe I added notes to the PR. The changes are fine, but it seems like you merged the master into the develop which resulted in all the releases being part of the PR so i can't merge it :/

@mattiasbe the base is now part of the fastadapter-extensions module. Now we can improve the API. or even add deeper integration (as far as possible without altering the FastAdapter)

Excellent :smile: @mikepenz

Will close this now as the base is included. I'm still open for improvements ;). But this might should find a new issue or PR then ;)


fix: typescript errors

This looks good. @anthony9187 - want to check it out as well? I'll check these changes in the demo-app


Larger close button in fluent dialog header template

(Pulled from https://github.com/dotnet/aspire/pull/5200#issuecomment-2285357147)

@drewnoakes wrote:
Can we make the "close" button bigger, so it's easier to see and press in a mobile device form factor?

Ignore the filter button at the bottom in these screenshots.

@adamint wrote:
This comes from the default fluent dialog header template, I would suggest instead trying to get this size increase on fluentui-blazor for general usability. @vnbaaij have you considered increasing the size of the close icon? It seems relatively small compared to the rest of the header content height.

Thanks @vnbaaij!


refactor(navbar): introduce DropdownProps

Based on our team's decision, we no longer require approval of the refactoring pull request. Instead, we will review and approve the refactoring once all changes related to a specific component have been completed.


Create owner DNSRecord during shoot deletion

How to categorize this PR?
/area control-plane
/kind bug
What this PR does / why we need it:
Adds a new step deployOwnerDomainDNSRecord to the shoot deletion flow that is exactly the same as the step in the shoot reconciliation flow in order to fix the issue described in #5132.

If the owner DNSRecord already exists, it will not be reconciled (since this resource is "special" and only reconciled upon creation or spec change).
If the owner DNSRecord doesn't exist however (e.g. the shoot was never reconciled with UseDNSRecords enabled), it will be created and the subsequent failures described in the above issue will be avoided.

Which issue(s) this PR fixes:
Fixes #5132
Special notes for your reviewer:
Release note:
Fixed a bug that prevented shoot deletion with `UseDNSRecords` enabled if it was never previously reconciled with this feature gate enabled.

/invite @timebertt


Problems

Setup

Dir /data just a readme doc, and /dataset is empty. Not good. And the way downloading data wget -r -np -R "index.html*"  http://<IP_ADDRESS>/download/data/; cp -r <dataset directory> ./dataset is not good too. Use wget -r -np -R "index.html*"  http://<IP_ADDRESS>/download/data/ -P ./dataset

Give the openmldb quickstart url, users don't know how to start OpenMLDB cluster.
https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L55-L56

OpenMLDB cluster settings

https://openmldb.ai/docs/zh/main/maintain/faq.html#java-lang-outofmemoryerror-java-heap-space default setting is not enough, set bigger
zk config maxClientCnxns default 60, need to set bigger?

Give a script to convert. And mention that we should generate a new file named 'conf.properties' from 'conf.properties.template'.
https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L58
e.g. sed '' xx.template > xx

Comment about the DATASET_ID will be set by compile_test.sh/test.sh.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/conf/conf.properties.template#L4

default thread is 1? The result will show poor performance.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L56

Test Code

even we do sync load data, but if failed, won't stop the whole test.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L208
readParquetFolder is for insert, give the explaination about it, how many file we used in each dataset, and why? e.g. why dataset 0 reads 40 files, but dataset 1,2,3... only read 1 file.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L511-L512
what's this?
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L542

error handle

if create table throws exception, abort the test, don't just print error.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L103
check returned value, if false, there's no deployment, test can't continue. Make sure deployments exist.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L171

Update 23/08/07
Doc
Step 4 怎么修改不清晰，配置项也不同步
maven http有特殊要求，版本推荐3.8.0，3.8.1级以上可能需要特殊配置
Usage

Setup

Dir /data just a readme doc, and /dataset is empty. Not good. And the way downloading data wget -r -np -R "index.html*"  http://<IP_ADDRESS>/download/data/; cp -r <dataset directory> ./dataset is not good too. Use wget -r -np -R "index.html*"  http://<IP_ADDRESS>/download/data/ -P ./dataset

Give the openmldb quickstart url, users don't know how to start OpenMLDB cluster.
https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L55-L56

OpenMLDB cluster settings

https://openmldb.ai/docs/zh/main/maintain/faq.html#java-lang-outofmemoryerror-java-heap-space default setting is not enough, set bigger
zk config maxClientCnxns default 60, need to set bigger?

Give a script to convert. And mention that we should generate a new file named 'conf.properties' from 'conf.properties.template'.
https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L58
e.g. sed '' xx.template > xx

Comment about the DATASET_ID will be set by compile_test.sh/test.sh.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/conf/conf.properties.template#L4

default thread is 1? The result will show poor performance.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L56

Test Code

even we do sync load data, but if failed, won't stop the whole test.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L208
readParquetFolder is for insert, give the explaination about it, how many file we used in each dataset, and why? e.g. why dataset 0 reads 40 files, but dataset 1,2,3... only read 1 file.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L511-L512
what's this?
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L542

error handle

if create table throws exception, abort the test, don't just print error.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L103
check returned value, if false, there's no deployment, test can't continue. Make sure deployments exist.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L171

Setup

Dir /data just a readme doc, and /dataset is empty. Not good. And the way downloading data wget -r -np -R "index.html*"  http://<IP_ADDRESS>/download/data/; cp -r <dataset directory> ./dataset is not good too. Use wget -r -np -R "index.html*"  http://<IP_ADDRESS>/download/data/ -P ./dataset

Give the openmldb quickstart url, users don't know how to start OpenMLDB cluster.
https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L55-L56

OpenMLDB cluster settings

https://openmldb.ai/docs/zh/main/maintain/faq.html#java-lang-outofmemoryerror-java-heap-space default setting is not enough, set bigger
zk config maxClientCnxns default 60, need to set bigger?

Give a script to convert. And mention that we should generate a new file named 'conf.properties' from 'conf.properties.template'.
https://github.com/decis-bench/febench/blob/fc0d88bb6aa96405ca5b35089aa061d0c4961b8e/README.md#L58
e.g. sed '' xx.template > xx

Comment about the DATASET_ID will be set by compile_test.sh/test.sh.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/conf/conf.properties.template#L4

default thread is 1? The result will show poor performance.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L56

Test Code

even we do sync load data, but if failed, won't stop the whole test.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L208
readParquetFolder is for insert, give the explaination about it, how many file we used in each dataset, and why? e.g. why dataset 0 reads 40 files, but dataset 1,2,3... only read 1 file.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L511-L512
what's this?
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L542

error handle

if create table throws exception, abort the test, don't just print error.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L103
check returned value, if false, there's no deployment, test can't continue. Make sure deployments exist.
https://github.com/decis-bench/febench/blob/f63a480ea16b850fd49d00167c307a46d6da8025/OpenMLDB/src/src/main/java/com/_4paradigm/benchmark/OpenMLDBPerfBenchmark_Cluster.java#L171

updated :)

docker needs update after code improved

https://github.com/decis-bench/febench/blob/523d304ddcfe1eb7aa336e4c4f746ce41ad06b20/README.md?plain=1#L194
not step 5, start from step 4


Add Retire.JS Scanner Support

This adds the ability to import Retire.js JavaScript scans JSON outputs.
Note: I didn't implement Node support for now as the output is too verbose - thousands of vulnerable paths etc. This is for JS only scans (ie. with the --js flag). I will implement Node support later on.
Sample command to run a JS vulnerability scan and output to a JSON file:
retire --js --outputformat json --outputpath retirejs-json-output.json
Then import into DefectDojo with the Retire.js Scan option.

Thanks @TommyJ1994,  this is a great addition!  I approve this as is. Is there anyone available for a second review @mtesauro @aaronweaver @grendel513 @cneill @mattvaldes?

Updated PR to include Node Dependency Checking using the Node Security Platform.

Merged. Thank you @TommyJ1994

Hi @TommyJ1994 really appreciate you working on this. If you don't mind sending me an address and a shirt size to<EMAIL_ADDRESS>We'll send you some dojo swag.