[Type]-[18352]:All the Property pane controls re-renders when we press js toggle

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
No response

Event - Just click on an Input widget on canvas. I see that here we have a huge performance gain opportunity.
@aswathkk @SatishGandham
Are we working on this?

Stats

Stat
Values

Reach
2485

Effort (months)
0.5

I'm thinking of taking up this issue this quarter.

@aswathkk can idea right now when this can be picked up?

@somangshu I will pick it up after 2 weeks


MzMine - Feature list rows filter

Basic information

My operating system and version: macOS Ventura 13.4
My MZmine version: MzMine 3.4.27

What happened: When i try to open the feature list rows filter i wait a lot of time to open the window (also when i try to open without a project). After a lot of time when the window is open i cannot complete my filtration.
Thanks in advance

Why can you not complete the filtration? Do you have a log file?

I'm worried that the issues might be related with the recent version of Java that I have installed last thursday...
In "discussions" I have read that [Frstephanie] had the same problem:
(https://github.com/Frstephanie)
[5 days ago] (https://github.com/mzmine/mzmine3/discussions/1340#discussion-5208215):
Hello everyone
I have installed Mzmine3.4.27 on my computer and I have problems in my pipeline for processing raw LCMSMS data in MzXML format with the "Feature list row filter" module.
I need to do this step to transfer my data into the MetGem software and when I delete one or more features it allows me to generate a new identifier. My problem is that when I click on this module the window opens with more time (5 or 10 minutes) and when I click to run the module nothing happens.
Do you have the same problem with other users?
What kind of mistakes should I be making in processing my pipeline?
in advance Thank you very much for your answers

I don't have a log file because when i click to run the module nothing happens, and each time that i try to open the module i have to wait 5 or 10 minutes and if I have a lot of samples I can wait also more than 5 to 10 minutes...

I have the same problem also if I try to open the module without samples, i have to wait 5 to to 10 minutes to open the module...

You can try to delete the config file before starting MZmine and then try to open the rows filter module. Does it open faster that way?
https://mzmine.github.io/mzmine_documentation/troubleshooting.html#mzmine-does-not-start
Are you running Apple silicon or an intel cpu? Does the issue also appear on windows?

I have the issue on the MacBook Pro 14, i'm running on Apple silicon. If I running on windows I don't have any problems.
Do you know where can I found exactly the config file on Macbook?

I found it, it was a problem of the config file.
Thank you!

Great 👍

I have now the same issue on Windows. Are you sure that the problem is solved?


Reconcile osm change id with augmented diff id

osmx-update currently writes augmented diff with the current osm change id. It should write using the augmented diff sequence id. As of 2020-09-04 these were not in sync nor, IIUC, they will should not be.
The ReplicationServer("https://planet.openstreetmap.org/replication/minute/") reports:
OsmosisState(sequence=4195327, timestamp=datetime.datetime(2020, 9, 14, 15, 27, 2, tzinfo=datetime.timezone.utc))

The augmented diff sequence id for 20200914T15:27:00Z is 4211072.

Closed by #33


Intron retention and exon skipping analysis

Hi
This is more of a recommendation than an issue. I'm really interested in intron retention and exon skipping for my research and I find it a bit confusing how this analysis is set up in swanvis now. By running ir_genes, ir_transcripts, ir_edges = sg.find_ir_genes() as is in the tutorial, you get 3 lists that you actually cannot easily relate to one another. For any particular tuple in the ir_edges list, there is no way for me to know which transcript or gene it is associated to. Would it not make more sense to have as output a pandas dataframe with 3 columns (gene, transcript, edge) instead of 3 lists?
Thanks for hearing me out!

This sounds like a great idea! I'll try to roll it into the next update which should be coming within the next month or so.

Solved with https://github.com/mortazavilab/swan_vis/commit/4fcf8c4b69ee3a6c8f37ea2358b76ec321f4a4c3

Hi there! This has been patched in v2.0!

Great! Now there are edge IDs. How can I connect the edge IDs to actual genomic coordinates?

Hi! The best way to do this would be to merge the genomic locations in from the location DataFrame in the SwanGraph. I've included some code to do so below. Check out the documentation on how the data is stored in the SwanGraph as well for details on why this works.
sg = <your SwanGraph>
edge_info = sg.edge_df.merge(sg.loc_df[['chrom', 'coord']],
			how='left', left_on='v1', right_on='vertex_id')
edge_info.rename({'coord': 'start'}, axis=1, inplace=True)
edge_info = edge_info.merge(sg.loc_df[['coord']],
			how='left', left_on='v2', right_on='vertex_id')
edge_info.rename({'coord': 'stop'}, axis=1, inplace=True)
edge_info.drop(['v1', 'v2'], axis=1, inplace=True)

Hey, apologies for the delay. The changes have been made on the master branch.
Note: If you're planning on running die_gene_test() with this version, the outputs have changed but are not documented yet - basically it now returns two dataframes, the first of which will be your normal results and the second of which tells you whether or not the gene was testable and why, so I'd recommend changing your calls to this function to something like the following:
die_table, test_results = sg.die_gene_test(<options>)

Also, the differential isoform expression output is changed in the new version. It now gives the genes that are changed per condition but no longer tells which isoforms were switched. Why did you decide to change that? I have different conditions where there are DIE genes in common.. but no information about the particular isoforms that were switched, which may be different per condition

The underlying framework for the isoform switching tests has changed drastically! You can see details here. Adding the isoforms that are used to calculate the DPI values between conditions would certainly be useful and I will plan on doing so in a future release. However in the interim, I recommend plotting the gene reports in Swan for your isoform switching genes using the "pi" layer (given as in example in this section) to see what is driving your called switches.

Hi so have you been able to do this yet? I would like to know which isoforms exactly were involved in isoform switching, more specifically, what domains/functions were included/left out in these switiches. I am doing this on a whole-transcriptome level so I will not plot gene reports for every gene. Do you have any suggestions of how I can get this info?

Hi,
I have not gotten around to this yet. It is still on my list! I'm sorry for the delay.

Hi there! Newest commits to master should report the isoforms used to calculate each gene's DPI in the same output table! Please let me know if it works for you :)

Hi there! Newest commits to master should report the isoforms used to calculate each gene's DPI in the same output table! Please let me know if it works for you :)

I tried and it didn't work :/ the table looks the same as before.
what I tried: cloned the repository, cd into repository and pip installed
made a new swan graph just in case, input my data and ran the same commands as I always do e.g. sg.die_gene_test
Is there a new option I have to toggle to get the isoform names in the table?

Hey,
Firstly, did you make sure to run pip install . and not pip install swan_vis when installing the latest commits?
If the above is not a problem, I'm wondering if the install didn't write files to the right place for your environment to find the newest commits. In your python terminal or notebook where you're using Swan, can you run:
import swan_vis as swan

print(swan.__file__)

Use the file path that is output to try to see in bash when the last time the file was updated to check that where your environment is looking includes the new installation:
ls -lt <output path>

If you see that the modified date is earlier than when you redownloaded it, then something went wrong.


fix(n-input-number): exception when the value is a string in precisio…

close https://github.com/tusen-ai/naive-ui/issues/6091

I think the proper way to solve the problem is to view non-number value as undefined or null. Force casting value into number may causing a NAN problem.


Installing in an empty project breaks the build

I installed the Blazor.SourceGenerators package into an existing .NET 6 Blazor WebAssembly project. When it drops this attribute into the project, it breaks the build.
That code needs to drop whatever "using" statements need to be there for the code to work... and it should consider if it's possible to keep those assemblies in the Blazorators assembly if at all possible.

I don't believe I referenced it as an analyzer, so that was probably the problem.

Perfect, thank you.

Actually it's not working at the moment. I tried what you said and that didn't work... those properties are for project references, not NuGet packages (you don't have to do that for Microsoft.CodeAnalysis.NetAnalyzers)
Tried using just a regular reference and getting this:

Notice that the SourceGenerator library is not showing up under Analyzers.
Interestingly, I get the sane red squigglies when pulling down this project and trying to compile, but the compile succeeds and doesn't throw any errors.

Close and reopen Visual Studio. Unfortunately, that's been my experience too. Visual Studio does some weird caching of sorts I believe, and it causes issues. While it will compile, you won't get IntelliSense, and you'll see red squiggles. I should probably document this as something to be aware of for consumers.


Consider allowing controlled inputs—example of problem with HeadlessUI Listbox

I realize you said you don't want to go this way, but I'm trying to use this with HeadlessUI Listbox but their component has some issues that prevent it from being used uncontrolled in a form:

It doesn't trigger the form's onChange, meaning the value you expose is not updated. I filed an issue a couple weeks ago there for another component (but Listbox also seems to exhibit it) along with an idea of the solution but no word yet https://github.com/tailwindlabs/headlessui/issues/2180
When uncontrolled, they use a hidden input to track the value in the DOM, but something is causing the inputEl.form to not be available—maybe they are not forwarding the ref—and this library errors.
The field's onChange is a callback with just the value, not the full event like this library might expect from a native element.

Therefore, Listbox is only usable as a controlled input when used in a HTML form.
Here is a minimal repro. Keep in mind we use an InputDefinition because the Listbox doesn't render a proper select; it just renders a hidden input whose value is kept in sync with the component.
It's common for UI library inputs to not work uncontrolled, so other form validation libraries like React Hook Form provide a way to work with controlled inputs. RHF says "React Hook Form embraces uncontrolled components and native inputs, however it's hard to avoid working with external controlled component such as React-Select, AntD and MUI. This wrapper component will make it easier for you to work with them."

This seems like an issue that needs to be addressed by Headless UI, or maybe it's just not a good fit with this library.  The entire goal of this library is to use native HTML inputs and native HTML validation, so I'm not surprised that it doesn't play nice with a UI library that tries to completely hide the native inputs from you.
Generally speaking, remix-validity-state can play nicely with any library in which you have access to the rendered input, so you can pass along getInputAttrs.  If you do not have access to the actual input DOM node, then the best option at the moment would be to proxy changes from the controlled input to a hidden DOM input you do have access to and then you can use that input normally: https://stackblitz.com/edit/github-mvq4kg-onn1wx?file=app%2Froutes%2Findex.tsx


Documentation sections

Let's say each comment around field and definitions is an entity. Is it possible to group those entities in some logical sections?
e.g. group documentation regarding Credentials in 1 sections and other data in another. So they are all not generated always in Queries/Mutations, but
-> Queries -> Credentials section
-> Mutation -> Credentials section
or
-> Credentials:
-> Queries
-> Mutations

@mackode This makes sense to me. I think having one big alphabetical list can be challenging for viewing large APIs. I'd like to see this improved too.
A challenge here is how are sections defined? Since the docs are generated from the GQL schema, which is flat, it then becomes tricky for how to group sections together.
There's already sections for Queries, Mutations, Enums, Input Objects, etc. Maybe having collapsible sections would be helpful?
Let me know if you have any additional thoughts or ideas here!

At the time I asked I think I had a few ideas:

One is using Namespace-types convention (https://graphql-rules.com/rules/mutation-namespaces)
Some common prefixes convention, like Articles_list, Articles_like, then the there will be a Section called Articles

@mackode thanks for sharing your thoughts and resources. I think organizing by the namespace would be helpful. Especially if that's a convention more and more people use. Will leave this open for consideration and feedback.


Crash: Unexpected TLS version: NONE

Hi there!
First at all thank you very much for your library!
I've integrated okhttp3 since couple months ago; there were no problem until yesterday with an user (Huawei, model MHA-L29, on Android 7.0):
Fatal Exception: java.lang.IllegalArgumentException: Unexpected TLS version: NONE
       at okhttp3.TlsVersion.forJavaName(TlsVersion.java:53)
       at okhttp3.Handshake.get(Handshake.java:56)
       at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:300)
       at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:268)
       at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:160)
       at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:256)
       at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:134)
       at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:113)
       at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
       at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
       at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
       at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
       at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
       at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
       at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
       at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
       at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
       at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
       at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
       at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
       at okhttp3.RealCall$AsyncCall.execute(RealCall.java:147)
       at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
       at java.lang.Thread.run(Thread.java:776)

Have you got some ideas about this crash?
Thank you very much guys!

Does your app upgrade to GMS services SSL? e.g. include ProviderInstaller.installIfNeeded
I've seen a similar issue in rare timing cases either before or after a network issue, the SSL provider can return NONE as the string.  OkHttp might have to handle this more gracefully.
https://github.com/google/conscrypt/blob/c88f9f55a523f128f0e4dace76a34724bfa1e88c/common/src/main/java/org/conscrypt/SSLNullSession.java#L149-L151

Hi!
About your questions:

"Does your app change the SSL provider in any way? to GMS services e.g. include ProviderInstaller.installIfNeeded" : no change
"Is it a one-off or consistently reproducible?" : just only 1 crash until now

Is there a manner to catch this exception in my App to avoid a crash?

I could confirm this issue on multiple devices. You could look in details at Crashlytics http://crashes.to/s/188322d298a
I use GMS ProviderInstaller and custom SSLSocketFactory.

+1:

n.b. my PR fix will turn these into IOExceptions and handle them cleanly e.g. retry other connection routes.  But it won't fix an underlying fatal problem e.g. connecting to specific servers with a custom SSLSocketFactory.

I think this is fixed in 3.10.

@swankjesse is 3.10 expected to be released any time soon? thanks!

@anna-b if you look at the milestone they seem to be aiming for end Feb. So a bit more than a week.

same error using 3.10 with Retrofit 2

Mostly fixed in 3.10, but there was a race condition.  Hopefully fixed correctly in 3.11

Also, that stack trace appears to be 3.8.

Is this fixed in 3.11?

Yes, if you see it with 3.11 or it manifests in other similar ways, please open an issue.

@yschimke
Thanks for your reply.
Could you specify which commit in 3.11 fix that issue?
I just upgrade to 3.10 to fix another crash (https://github.com/square/okhttp/issues/3438)
Could you explain more about under which rare condition does this crash still happen in 3.10 ?

@gongzelong0718 please give 3.11 a try. The commits in the release are on our git history.

@gongzelong0718 the stack trace includes class names and line numbers. We can correlate that information with git tags to understand possible versions. For example: okhttp3.ConnectionSpec.tlsVersions(ConnectionSpec.java:113) at
In version 3.8 it contains this line of code:
https://github.com/square/okhttp/blob/parent-3.8.0/okhttp/src/main/java/okhttp3/ConnectionSpec.java#L113
And in 3.10:
https://github.com/square/okhttp/blob/parent-3.10.0/okhttp/src/main/java/okhttp3/ConnectionSpec.java#L113
Note that 3.10 has no executable code!

this issue still exists in okhttp3.12.1.
here is my logs:


XMonad.Layout.Tabbed doesn't have WM_CLASS

Problem Description
I am using the tabbed layout with a fork of picom(compositor) which provides rounded corner, and I want to disable rounded corners for the tabs but when I use xprop to find the WM_CLASS string there is none
Output of xprop
https://i.fiery.me/nR4vo.png
Configuration File
Here is how I use the layout
import XMonad.Layout.Tabbed

myLayout = fullscreenFull $ avoidStruts $ (dwindle ||| tabs ||| tall ||| Mirror tall ||| Full)
  where
    tabs =
      named "Tabbed"
      . spacingRaw False (Border 20 20 20 20) True (Border 0 20 0 20) False
      $ tabbedBottom shrinkText tabTheme

Checklist

[x] I've read CONTRIBUTING.md

[ ] I tested my configuration with xmonad-testing

Fixed by https://github.com/xmonad/xmonad-contrib/pull/546


fix stretch nine patch to respect sourceXXX parameters

Forum issue: https://forum.babylonjs.com/t/when-using-nine-patch-sourcexxx-such-as-sourcetop-does-not-work/43626

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14222/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14222/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14222/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14222/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14222/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14222/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14222/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14222/merge#BCU1XR#0


removed two lines that was breaking iteration

the read postgres query had a bug that worked for one call, but failed in iteration mode.
Debugged with @jayasimha-raghavan-unskript and found this fix.

@dougsillars did we test out this fix? Please attach test results


Use webpack / browserify

Any thoughts on this? It might simplify the test setup and building.

definitely agree it could clean up the build stuff. that is pretty messy right now. maybe we should use es6 modules instead since everything is heading that way. what do you think?

To be honest quite honest I've never actually used webpack or got much into es6, but hear generally good things. I've used browserify though which is very straightforward and would be a breeze for us to easily support browser and node with minimal filesize bloat and easy testing.
Not sure using es6 just for it's module loading is worth it at this point, as you would still need browserify or webpack ontop of something like babel. Might as well just use browserify and that's it ?

good point. ok let's go with browserify. i haven't used webpack either.

PR #50


Implement the shift-register component using the components superclass

The shift-register component has a .ino file that outlines its use along with the schematic, but it hasn't been implemented with the components superclass. This needs to be done ASAP.

Got rid of shift registers


txn: some refinements to reduce duplicate codes

Signed-off-by: youjiali1995<EMAIL_ADDRESS>
What have you changed? (mandatory)
some refinements
What are the type of the changes? (mandatory)

Engineering (engineering change which doesn't change any feature or fix any issue)

How has this PR been tested? (mandatory)
all tests
Refer to a related PR or issue link (optional)
https://github.com/tikv/tikv/pull/4698

@coocood @AndreMouche @zhangjinpeng1987 PTAL

LGTM

@zhangjinpeng1987 @AndreMouche @MyonKeminta PTAL

I have removed the useless check. Please take a look again. @zhangjinpeng1987 @MyonKeminta


Removing reactions

I tried cloning the repository for tests, configured everything, but when someone try reacting to the giveaway message the bot removes the reaction. Why is it ?

are you sure the bot is removing them? as this doesn't seem to happen for me

closing due to inactivity


gitin: 0.2.3 -> 0.2.5

Get rid of a dependency to the insecure libgit2 version.
Would appreciate testing did a sanity check, but don't use this tool myself.
Ref: https://github.com/isacikgoz/gitin/issues/71

Patch to build with latest libgit2 (0.2.5 usually requires 1.0.x). This
is not too bad since we need to patch the go.mod anyways since it
insists on cloning and patch libgit2 locally for some kind of static
build.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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 nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 124356 run on x86_64-darwin 1

1 package built:

gitin

       > vendor/github.com/libgit2/git2go/v31/Build_system_dynamic.go:11:3: error: #error "Invalid libgit2 version; this git2go supports libgit2 between v1.1.0 and v1.1.0"
       >    11 | # error "Invalid libgit2 version; this git2go supports libgit2 between v1.1.0 and v1.1.0"
       >       |   ^~~~~

Yeah, would need to adjust the patch again. In general I'd prefer to drop gitin completely. It depends on a precise libgit2 version at all times and doesn't seem to be maintained actively at the moment (last commit in april).

Pinging the maintainer @kimat

I agree with @sternenseemann , removing the package altogether makes much sense.


ReconcilerAction should be an enum

IMHO ReconcilerAction should be an enum, rather than a struct. This would handling the outcome much simpler.
I would imagine something like:
pub enum ReconcilerAction {
  Done,
  Requeue,
  RequeueAfter(Duration),
}

Or maybe:
pub enum ReconcilerAction {
  Done,
  Requeue(Option<Duration>),
}

This would allow you to handle outcomes like this:
match do_reconcile() {
  None => {},
  Requeue => {},
  RequeueAfter(duration) => {},
}

From the reconciler's PoV all of those cases are already supported. (Done => requeue_after: None, Requeue => requeue_after: Some(Duration::zero()), RequeueAfter => Some(duration)). I'm not sure I'm comfortable introducing a distinction between "requeue soon" and "requeue now", especially considering that the old Soon(now) representation would still work too.
Do you have a specific use-case in mind that would require this?

Take the Result for example, that is an enum as well and makes it easy to handle the outcome e.g. with a match.

Yeah.. but as a user you should rarely be matching on the ReconcileResult anyway.

The same for the actual implementation returning a result:
That looks simple awkward to me, versus:

Disabling periodic reconciliation should (IMO) feel somewhat awkward, since it's rarely something that you want to do. External systems change, and it's easy to forget to watch some subresource. Periodic reconciliation helps mitigate both of those cases (but is of course strictly worse than a proper watch).
There are only a few cases where you are truly done with a resource, and legitimately don't care anymore (for example: a Job that has completed).

I could agree that it would be slightly more clear to have something like:
struct ReconcilerAction {
    requeue: ReconcileDelay,
}
enum ReconcileDelay {
    Never,
    After(Duration),
}

But that seems like a very marginal gain to me. I'm not so sure about making ReconcilerAction itself into an enum, since any future actions that we'd want to enable would likely not be mutually exclusive with periodic reconciliation.

I got interested in this issue :) Well, I created a small showcase pullrequest to better imagine how the change would look like.
I don't have all the @teozkr has,but with my limited knowledge from user's perspective, the enum is also what I would expect and the struct was a little bit unexpected. Secondly, you mention there will be a lot more actions in the future, mutually exclusive with re-scheduling the reconciliation after some delay. That seems fine to me, as there will one be one enum level with rescheduling. The ReconcilerAction enum could in future look like:
pub enum ReconcilerAction {
    Requeue(Duration),
    None,
    ActionX,
    ActionY,
    ActionZ,
    SomeOtherDelayedTaskThatOccured(Duration),
    ///etc
}

Also, the original proposal had Requeue and RequeueAfter levels, I think this could be solved with just one RequeueAfter(Duration) - just like the struct does it.

Secondly, you mention there will be a lot more actions in the future, mutually exclusive with re-scheduling the reconciliation after some delay.

I said they will likely not be mutually exclusive with rescheduling.
Apart from that, I don't want to promote "never requeue" as the common or easy option.. the existing ReconcilerAction API is already way to close to that..

Thanks a lot @Pscheidl . I agree with the enum being the more expected solution compared to master, and your PR illustrates that.
This does intersect with another case that was in development; if we wanted to add a case like ReconcilerAction::AutomaticRequeue, and use backoff crate internally to retry at increasing intervals, then this pr would clash with @teozkr 's work in #314. I had a revisit of the state of that PR now, which has legs, but it comes with some complexity.
I feel that either we expose backoff as the main setup to deal with rescheduling (#314 - which uses backoff::constant as a new way of doing RequeueAfter), or we don't deal with backoffs at all internally (and perhaps add more modes).
So the question I think is really, what are our use cases for other ReconcilerActions? Some thoughts:

None - should really not be the default, and should come with a warning)
RequeAfter(static_duration) (300s default should probably be the main default, as per controller-runtime)
Manual (user method to inject a requeue, perhaps in response to an external web event?)
ExponentialBackoff(MinimumTime) (could be useful, but it introduces a lot of complexity)

Which of these are the most useful?

The PR of mine can be discarded, it was meant just to try it out (talk is cheap, I wanted the code). My apologies to @teozkr for misreading the info above.
How will the exponential backoff work ? Ideally, as far as I understand, the controller should be failure-tolerant. E.g. finalizers stay in the resource metadata unless explicitely removed by the controller, making sure if the controller is down, nothing happens. There seems to be a hashmap in this PR: https://github.com/clux/kube-rs/pull/314/files#diff-e8024b5d2267b4aa47ca3f4fcc5d2338edbee63a282057b55fe3b13ebc28cabaR137
If the controller fails, the time of last reconciliation is lost. That's acceptable probably. Not sure. Just thinking out loud.
Another thought is the RequeueAfter - if we were somehow able to persist the times in the Kubernetes object itself, it would be easy provide users with the option to specify their own function, which would provide time of next reconciliation. This seems like a generic way to solve many problems - instead of having two levels of that enum just for requeing after certain amount of time, there could be one accepting a RequeueStrategy enum, which would provide some default options like exponential or static, and there would always be the Custom option to provide with your own fn.
Anyway, I do think exponential backoff is useful, as working deployments need to be checked periodically, often they can fail (in ours cases, users might cause them to fail) and resources have to be cleaned in case of failure. Such a period can be prolonged after a while, not to stress Kubernetes that much. At least that's how I think about it - I always try for the code to be nice to its surroundings.

Revisiting this after writing docs. It's clear that this interface is still one of the awkward ones, and it's front and centre, so would like to address this.
In the lifespan of this issue we have NOT had any other reasonable requests for other modes of reconcile actions to be taken. Controller-runtime has exactly mode (requeAfter) to configure - albeit with an awkward bool to set it. The only potential option that makes sense to me would be a backoff based one, but I think we already support this by adding a Backoff struct to the Context and bumping it from error_policy (and resetting it from reconcile).
Ultimately, the two options we have here are either:

requeue with a duration
wait for a (occasionally miss-able due to desyncs) change

So I propose that rather than have the escape hook be a magic requeueAfter: None have a documented enum variant with a longer name, that lets the owner bear the responsibility for retaining eventual consistency. E.g. like having a hook for reconcile_all_on or having a fast moving object.
I.e.:
pub enum Action {
    /// When to next trigger the reconciliation if no external watch triggers hit
    ///
    /// This is the best-practice action that ensures eventual consistency of your controller
    /// even in the case of missed changes (which can happen).
    ///
    /// Watch events are not normally missed, so running this once per hour as a fallback is reasonable.
    Requeue(Duration),

    /// Do nothing until a change is detected
    ///
    /// This stops the controller periodically reconciling this object until a relevant watch event
    /// was **detected**.
    ///
    /// **Warning**: If you have watch desyncs, it is possible to miss changes entirely.
    /// It is therefore not recommended to disable requeuing this way, unless you have
    /// frequent changes to the underlying object, or some other hook to retain eventual consistency.
    AwaitChange,
}

as a benefit we get the much snappier reconcile impls:
-    Ok(ReconcilerAction {
-        requeue_after: Some(Duration::from_secs(300)),
-    })
+    Ok(Action::Requeue(Duration::from_secs(300)))

How about adding associated functions, so it'd be Ok(Action::requeue(Duration::from_secs(300))? That way we would get the added convenience for the simple cases, while still not locking us into having a single action forever.

Sure, that makes sense to me. Also makes the change in applier easier.


zsh-autosuggestions breaks up-line-or-beginning-search and down-line-or-beginning-search

I use up-line-or-beginning-search and down-line-or-beginning-search to navigate history up from the position of the cursor. It used to work just fine but after I upgraded some time ago it stopped working. When I press <UP>, I can only go a couple of entries back in the history. When I press <DOWN> afterwards, I only get a beep.
I found this configuration, in combination with match_prev_cmd strategy, very powerful, as it gave me a way to preview the most recent history result from where I had typed, press <UP> and then keep going back in history. If I changed my mind, pressing <DOWN> would leave me exactly where I was at the beginning, with the suggestion still there.
I have tested in the develop branch and the issue remains.

same issue.

Same here on develop. Any fix available?

I just updated and it seems to be working fine again.

Confirmed, works like a charm! =)

Hi all,
Can anybody confirm if shell history is broken again?
Zsh
~ % zsh --version
zsh --version
zsh 5.4.2 (x86_64-apple-darwin17.0.0)

zsh-autosuggestions (just cloned), enabled via oh-my-zsh:
~ % head -n3 /Users/cig0/.oh-my-zsh/custom/plugins/zsh-autosuggestions/CHANGELOG.md
# Changelog

## v0.4.0

~/.zshrc
plugins=(
    ...
    zsh-autosuggestions
    ...
)

# Plugins configuration
...
ZSH_AUTOSUGGEST_USE_ASYNC="true"  ## zsh-autosuggest

Thanks!


Issue #345: Add data versioning support

This PR adds data versioning support to the queue and the API calls.
It does not introduce any UI changes (those I want as a separate PR).

Ready for next review (once the build is green).


Broken link fixes for various README.md files

Fixes #1430.

 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.Scott Lystig Fritchie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Multiple Load More OOB Buttons

I am trying to create multiple dynamic load more oob buttons and they are appearing properly. But the issue comes up when one button is due to be swapped with the hidden one, it results to all the load more buttons disappearing.
Here is the for loop code that I have tested:
{% for city in cities %}
{% set articleOffset = articleOffset ?? 0 %}
{% set articlesQuery = cityArticles[loop.index0].offset(articleOffset).limit(articleLimit) %}
{% set articles = articlesQuery.all() %}

         {{ city.title }}

            {% for article in articles %}
                {% set featureImage = article.articleFeaturedImage.one().url ?? "" %}
                {% set categorySlug = article.channelsCategory.one().channel.one().slug %}

                    {#article card template here#}

            {% endfor %}

        {% if articlesQuery.count() > articles|length + articleOffset %}
            <button id="{{city.slug}}-oob" sprig
                s-val:articleOffset="{{ articleOffset + articleLimit }}"
                s-target="#container-{{ city.slug }}"
                s-select="#container-{{ city.slug }} section"
                s-swap="beforeend"
                {{ sprig.trigger == city.slug ~ '-oob' ? 's-swap-oob="true"' }}> View More </button>
        {% else %}
            <button id="{{ city.slug }}-oob" s-swap-oob="true" style="display: none"></button>
        {% endif %}

{% endfor %}

What if you were to add a condition to the hidden button?
<button id="{{ city.slug }}-oob" {{ sprig.trigger == city.slug ~ '-oob' ? 's-swap-oob="true"' }} style="display: none"></button>

That did the trick! Thanks for your quick reply. Was stuck on this for a while 😂

Great!


lpe: redone vision velocity derivation

James I am having a problem with your suggestion: math::matrix requires constant template arguments if the values of the arguments are not constants it does not compile so right now it is not being feasible. Do you have other suggestion?
The thing about multiplying by a high value factor is legit but it's hacky and I don't "like" it. Probably there's better programming solution to surpass that constant value requirement but can't see how to without almost repeting all the method code for both vel/no-vel measurements.

Maybe the best approach is just to make the vision velocity a separate correction function.

@jgoppert I think is done. Please check

Does this PR handle the derivate vision position as a velocity reading?

@mhkabir the kalman filter already does that, so yes it handles.


IPWhois("reserved_ip") return traceback

ipwhois_obj = IPWhois('<IP_ADDRESS>')
leads to
Traceback (most recent call last):
  File "/home/administrator/g2/g2/g2/modules/data_sources/whois.py", line 101, in gather_data
    ipwhois_obj = IPWhois(self.model.value)
  File "/usr/local/lib/python3.5/dist-packages/ipwhois/ipwhois.py", line 55, in __init__
    allow_permutations=allow_permutations
  File "/usr/local/lib/python3.5/dist-packages/ipwhois/net.py", line 172, in __init__
    self.address_str, is_defined[1], is_defined[2]
ipwhois.exceptions.IPDefinedError: IPv4 address <IP_ADDRESS> is already defined as Private-Use Networks via RFC 1918.

This is the correct outcome. This address space is "Reserved for future use":
https://tools.ietf.org/html/rfc6890#section-2.2.2
This check is done via a call to the built-in ipaddress library's is_private function:
https://github.com/secynic/ipwhois/blob/master/ipwhois/utils.py#L348
I would wrap all of your IPWhois calls with exception handling. In this case, look for ipwhois.exceptions.IPDefinedError.


hacker_news_pwa: breaks w/ DDC

Sync to head: ec4dc9fb
> pub upgrade
> pub build_runner serve

Hit localhost:8080

guessing this has to do with how DDC bootstraps scripts?

Maybe PWA doesn't work with DDC? I doubt it was ever tried.

Maybe PWA doesn't work with DDC? I doubt it was ever tried.

Likely. Will talk to DDC folks – see if we need a corresponding DDC issue, etc

@kevmoo I assume it works in Dart2JS still, so we could still do #939

@kevmoo I assume it works in Dart2JS still, so we could still do #939

Yup, and it looks like getting https://github.com/dart-lang/build/issues/1059 fixed shouldn't be too hard.
...took me 30 minutes to hack it together

Fixed


Add should_run_in_parallel to public API

Summary
The function was added in a stable manner to enable backport to the 1.1 series, but from 1.2 onwards, we want this to be part of the public interface so that others can rely on it too.
Details and comments
This was elided from #12410 to make that PR backwards compatible.  This PR exposes the feature as part of the public API, so will be new for 1.2.
Depends on #12410.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

12 of 12 (100.0%)  changed or added relevant lines in 3 files are covered.
24 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.02%) to 89.62%

Files with Coverage Reduction
New Missed Lines
%

qiskit/passmanager/passmanager.py
1
92.63%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
2
88.2%

crates/qasm2/src/lex.rs
4
92.88%

crates/accelerate/src/euler_one_qubit_decomposer.rs
4
89.68%

crates/accelerate/src/sabre/neighbor_table.rs
13
73.13%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
62304

Relevant Lines:
69520

💛  - Coveralls

Now rebased over #12410.

I've force-pushed a major new commit that properly refactored a bunch of the parallelism utilities to better support should_run_in_parallel at the level of robustness we'd expect from the public interface.  This then removes a bunch of our own library code and test code that was reaching in the belly of the internals of the parallel code and layering assumptions on top of assumptions, and wraps the necessary components in safe interfaces.
I also added a QISKIT_IGNORE_USER_SETTINGS environment variable and configured it to be used in all tox and CI runs by default, which lets us isolate the test suite from the environment - that should make the new tests of what I added reliable, but it's probably something we should have had before anyway.

Given how major the changes I made here were, and that we're after the feature freeze deadline, I'm fine if we choose to leave this for Qiskit 2.0.

I agree, given the scope of the changes and that we're only one day out from rc1 lets defer this to 2.0. We can move forward with it pretty soon after rc1 though.


Add Pagination to Listing Projects for Housekeeping

What this PR does / why we need it:
To avoid all project info being loaded from DB when doing housekeeping, pagination is added for listing projects and performing housekeeping in smaller portions.
Which issue(s) this PR fixes:

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

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.

No worries at the moment since we have small projects in https://yorkie.dev, and the offset/limit isn't causing any performance issues.
However, as our services grow, this could become problematic when fetching the first page. To address this potential issue, we could consider changing the interface and implementing it with keyset pagination.
For more information on this approach, you can check out: https://use-the-index-luke.com/no-offset

@hackerwins I changed the database interface like you mentioned.
I did not call SetSort() when using Find() in the Mongodb client because the natural order refers to the default document ordering based on _id.
If I am not correct, please let me know.


pylontech micropython raspberry pico w

Good job, the decoding of the Pylontech Protocol
I am adapting the pylontech code for micropython.
Its running with the machine.UART
By the way, if you discard the first byte in the payload of "decodeSystemParameter"
the response makes sense.
I am rather new at Git. So i don't know what to do with my code, without causing trouble

get System Parameter:
Payload b'110E420BEA0AF00D030A4703E8D2F0B3B0A7F80D030A47FC18'
UnderVoltageOfTotalVoltage : 43.0
ADR : 2
DischargeUpperLimitTemperature : 60.0
UpperLimitOfTotalVoltage : 54.0
DischargeLowerLimitTemperature : -10.0
UnitCellLowVoltageThreshold : 3.05
ChargeLowerLimitCurrent : 100.0
UnitCellVoltage : 3.65
LowerLimitOfTotalVoltage : 46.0
ChargeLowerLimitTemperature : -10.0
LENGTH : 50
RTN : 0
PAYLOAD : b'110E420BEA0AF00D030A4703E8D2F0B3B0A7F80D030A47FC18'
DischargeLowerLimitCurrent : -100.0
ID : 70
VER : 32
UnitCellUnderVoltageThreshold : 2.8
ChargeUpperLimitTemperature : 60.0

See pylontech_decode.py in pylontech-micropython


Filename length makes my git pull fail

Using the "Git Extensions" program on Windows 10 I get this pair of errors:
error: unable to create file Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/RTAO/Shaders/Denoising/CalculateMeanVariance_SeparableFilterCS_CheckerboardSampling_AnyToAnyWaveReadLaneAt.hlsl: Filename too long
error: unable to create file Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/RTAO/Shaders/Denoising/DisocclusionBlur_DepthAwareSeparableGaussianFilter3x3CS_AnyToAnyWaveReadLaneAt.hlsl: Filename too long
Manually downloading the zip and pulling these files out works, but it'd be nicer to avoid these long file names.

The file path is 191 chars long, so you should be able to use a 'shallow root' for the git. The same name is certainly a bit long.
See also Microsoft Docs.


'denoiser_strength' referenced before assignment [waveglow]

cat << EOF |
leçon|leçon
garçon|garçon
EOF
/usr/local/bin/larynx --csv --glow-tts /mnt/d/99/voices/fr-fr/siwis-glow_tts --waveglow /mnt/d/99/voices/waveglow/wn_256 --output-dir /mnt/d/99/fr_sw/ --language fr-fr --denoiser-strength 0.001
Traceback (most recent call last):
File "/usr/local/bin/larynx", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/larynx/main.py", line 185, in main
for text_idx, (text, audio) in enumerate(text_and_audios):
File "/usr/local/lib/python3.7/dist-packages/larynx/init.py", line 146, in text_to_speech
audio = future.result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 435, in result
return self.__get_result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/dist-packages/larynx/init.py", line 185, in _sentence_task
audio = vocoder_model.mels_to_audio(mels, settings=vocoder_settings)
File "/usr/local/lib/python3.7/dist-packages/larynx/waveglow.py", line 59, in mels_to_audio
if denoiser_strength > 0:
UnboundLocalError: local variable 'denoiser_strength' referenced before assignment

Should be fixed now


api: Ultimate Ironman account type

Figured I'd add this since it's missing, also it's nice for one of the diaries I'm working on for the quest helper.

The other functions check for a range of values; this is the same as == AccountType.ULTIMATE_IRONMAN

Ah gotcha, however I'm throwing errors unless I'm using AccountType.ULTIMATE_IRONMAN.isIronman()
For my if check, will this still work properly? I don't have an UIM account to check.

You are probably doing something very very wrong

Yeah, 7am and no sleep will do that to you. Thanks for the help.


Position of '+' and '-' buttons.

### Subject of the issue
In the Magnifier section,i suggest to make the '+' button towards the right side and '-' on the left as generally people assume its this way only.
Your environment

version of angular-translate
version of angular
which browser and its version

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo, you can use this template as a base.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead

I request you to please assign me this issue.

Sure. Go ahead

Please sir assign me this issue.

@Vatsalmadhur Are you still working on this?

Yes sir i am working. Actually due to university exams i am unable to make a PR. In a couple of days i will surely complete it .

Hi, would you assign me this issue if its still open?


Create a README

assign it to me

I have created the rules and regulations bunch of md's for the emulation just need this issue assignment


Use next bill time

There's a test event loop in host module. Integrate a next bill time to this loop. When a metering record is done we should update the cache/config with a next bill time based on billing period. This Next bill time is used in the event loop to determine when it's time to bill again. If we are on or past the time we meter a bill.
https://github.com/SUSE-Enceladus/csp-billing-adapter/blob/devel/csp_billing_adapter/host.py

Note that we may have two different types of "billings". We could call one metering and one billing:

We need to meter hourly per csp terms. However if the billing period is longer than hourly such as monthly we meter usage of 0 every hour.
The billing happens based on billing period. At a monthly rate we will actually bill usage once a month and we will multiply that by a factor of 720 for a standard nodes/hour charge every month.


High resolution image testing is prone to artifact issues and doesn't work very well

Thank you for your research and for sharing your code!
I want to train a custom dataset rgb2rgb ex. source_image 2 retouched_image.
However, in high-resolution scenarios, the effect of using pre-trained models is not very good.
and I adjust my config as follow :
# general settings
name: LPTN_zcool_disk_960_537
model_type: LPTNModel
num_gpu: 1  # set num_gpu: 0 for cpu mode
manual_seed: 10

# dataset and data loader settings
datasets:
  train:
    name: zcool
    type: UnPairedImageDataset
    # (for disk)
    dataroot_gt: /simple_ssd/zlp1/zcool/manual_color_change_HRS/train/target
    dataroot_lq: /simple_ssd/zlp1/zcool/manual_color_change_HRS/train/source
    # (for lmdb)
#    dataroot_gt: datasets/zcool/zcool_train_target.lmdb
#    dataroot_lq: datasets/zcool/zcool_train_source.lmdb
    filename_tmpl: '{}'
    io_backend:
      type: disk
#       type: lmdb

    if_fix_size: true # training will be slower if the data shape not fixed (both num_gpu and batch_size need to be 1)
    gt_size: 960 # training size
    use_flip: true
    use_rot: true

    # data loader
    use_shuffle: true
    num_worker_per_gpu: 16
    batch_size_per_gpu: 4
    dataset_enlarge_ratio: 100
    prefetch_mode: cuda
    pin_memory: true

  val:
    name: zcool_val
    type: PairedImageDataset
    dataroot_gt: /simple_ssd/zlp1/zcool/manual_color_change_HRS/test/target
    dataroot_lq: /simple_ssd/zlp1/zcool/manual_color_change_HRS/test/source
#    dataroot_gt: datasets/zcool/zcool_test_target.lmdb
#    dataroot_lq: datasets/zcool/zcool_test_source.lmdb
    io_backend:
      type: disk
#      type: lmdb

# network structures
network_g:
  type: LPTN
  nrb_low: 5
  nrb_high: 3
  num_high: 7

network_d:
  type: Discriminator

# path
path:
#  pretrain_network_g: '/simple/zlp1/masters/LPTN/experiments/LPTN_zcool_disk_960/models/net_g_100000.pth'
  pretrain_network_g: ~
  strict_load_g: false
  resume_state: ~

# training settings
train:
  optim_g:
    type: Adam
    lr: !!float 1e-4
    weight_decay: 0
    betas: [0.9, 0.99]
  optim_d:
    type: Adam
    lr: !!float 1e-4
    weight_decay: 0
    betas: [ 0.9, 0.99 ]

  scheduler:
    type: MultiStepLR
#    milestones: [50000, 100000, 200000, 300000]
    milestones: [5000, 10000, 20000, 30000]
    gamma: 0.5

  total_iter: 300000
  warmup_iter: -1  # no warm up

  # losses
  pixel_opt:
    type: MSELoss
    loss_weight: 1000
    reduction: mean
  gan_opt:
    type: GANLoss
    gan_type: standard
    real_label_val: 1.0
    fake_label_val: 0.0
    loss_weight: 1
  gp_opt:
    loss_weight: 100

  net_d_iters: 1
  net_d_init_iters: 0

# validation settings
val:
  val_freq: !!float 1e4
  save_img: true

  metrics:
    psnr:
      type: calculate_psnr
      crop_border: 4
      test_y_channel: false

# logging settings
logger:
  print_freq: 1
  save_checkpoint_freq: !!float 1e3
  use_tb_logger: true
  wandb:
    project: ~
    resume_id: ~

# dist training settings
dist_params:
  backend: nccl
  port: 29500

The artifact problem has eased a bit, but it still exists, can you offer some advice? thanks

Hi, thanks for your attention and sorry for the late reply.
In most cases, the artifacts are caused by the unstable training of GAN. I think you can try to keep only the pixel-wise loss (removing the adversarial loss) if you have aligned training pairs. Actually, fidelity and perceptual quality are always trade-offs in many tasks.


[alpaka] Should we define ALPAKA_DEBUG_OFFLOAD_ASSUME_HOST for the CPU backends?

https://github.com/cms-patatrack/pixeltrack-standalone/pull/219 changed all uses of assert() to use ALPAKA_ASSERT_OFFLOAD, and this disables the assertions by default. This behavior corresponds what we do in cuda program, but in cudacompat we have asserts enabled. A ALPAKA_DEBUG_OFFLOAD_ASSUME_HOST macro can be used to enable assertions, so the question is, should we enable that macro for Alpaka CPU backends to be consistent with the behavior of cudacompat?
(or vice versa, should we disable asserts also in cudacompat?)

By the way, we could also (ask the Alpaka developers to) consider replacing
  assert(expression);

with something like
  [[noreturn]] __device__
  inline void printAssertMessage(const char* file, int line, const char* func, const char* expression, const char* message = 0) {
    printf("%s:%d:%s: block: [%d,%d,%d], thread: [%d,%d,%d] Assertion `%s` failed.\n",
        file,
        line,
        func,
        blockIdx.x, blockIdx.y, blockIdx.z,
        threadIdx.x, threadIdx.y, threadIdx.z,
        expression);
    __trap();
  }

  #define my_assert(expression) if (__builtin_expect(not static_cast<bool>(expression), false)) printAssertMessage(__FILE__, __LINE__, __PRETTY_FUNCTION__, #expression, nullptr)

if it is confirmed that it has better performance.

Looks like __trap() is not available on HIP/ROCm ?


This PR tests the PR build with RokidCI

Checklist

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

CI is working now, just closing this issue :)


Abassey readme

This is an initial README structure and content for ngsa-app.
Closes: https://github.com/retaildevcrews/wcnp/issues/165

Should say that this is the initial README and structure for ngsa-java


Integration tests for Aim runs API

┆Issue is synchronized with this Jira Task by Unito

i'm going to split off the "search" endpoints under runs to a new story.


add link to python topic examples

Changelog entry
...
Changelog category

Documentation (changelog entry is not required)

Additional information

@rekby do you intend to make this PR non-draft?


Added support for AP mode in asuswrt

Description: Uses wl command to get associated clients (instead of relying on DHCP leases). This allows AP operating mode users to also be able to use presence tracking. Default is set to router mode, the original method of detecting connected users. However, it is likely (but untested by me) that wl assoclist should work for router mode as well.
Related issue (if applicable): fixes #607
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#545
# Example configuration.yaml entry
device_tracker:
  platform: asuswrt
  host: YOUR_ROUTER_IP
  protocol: telnet
  mode: ap
  username: YOUR_ADMIN_USERNAME
  password: YOUR_ADMIN_PASSWORD

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If code communicates with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hey @balloob ,
Sorry about that--corrected. Thank you for your work on home-assistant; I'm only just getting started figuring out my setup, and it's been really great.

Thanks 👍 Glad you like it.
PR looks good, merging it. I'll be getting my ASUSWRT router next week so I'll make sure to test it in router mode.

Great work @linjef !
I tried this and the 'ap' mode does not seem to work when the router is configured as "router".
You might want to remove the line _LOGGER.info("Wireless AP does not have DHCP leases; using wl")   since it will fill the logs :)

@persandstrom : hm... two questions, if you have the time: 1) what router model do you have, 2) if you can ssh/telnet into your router, can you run these commands and let me know what happens (if anything)? Please do anonymize the output; I just want to know if anything works.
{ wl -i eth2 assoclist & wl -i eth1 assoclist ; }
{ wl -i eth2 autho_sta_list& wl -i eth1 autho_sta_list; }
ifconfig or ifconfig -a | sed 's/[ \t].*//;/^$/d' for a sanitized output; I'm not sure what to expect from this (mine has additional wl interfaces because of a guest SSID)
I kept that in there partly because I didn't know what the convention for _LOGGER.info might be. My logs are 99% Z-Wave updates, so I thought being a bit more verbose is maybe better. :p It can certainly be removed.

We should remove the info. More stuff should move to debug reporting
On Fri, Jun 10, 2016, 13:39 Jeffrey Lin<EMAIL_ADDRESS>wrote:

@persandstrom https://github.com/persandstrom : hm... two questions, if
you have the time: 1) what router model do you have, 2) if you can
ssh/telnet into your router, can you run these commands and let me know
what happens (if anything)? Please do anonymize the output; I just want to
know if anything works.
{ wl -i eth2 assoclist & wl -i eth1 assoclist ; }
{ wl -i eth2 autho_sta_list& wl -i eth1 autho_sta_list; }
ifconfig or ifconfig -a | sed 's/[ \t].*//;/^$/d' for a sanitized output;
I'm not sure what to expect from this (mine has additional wl interfaces
because of a guest SSID)
I kept that in there partly because I didn't know what the convention for
_LOGGER.info might be. My logs are 99% Z-Wave updates, so I thought being
a bit more verbose is maybe better. :p It can certainly be removed.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/2263#issuecomment-225289786,
or mute the thread
https://github.com/notifications/unsubscribe/ABYJ2n3XhrNsDYxo8XzYpuWDTR-OFFaaks5qKcuVgaJpZM4Iyf-S
.

Removed the log entry

router: RT-N66U
assoclist
assoclist BC:8C:CD:23:D5:1F
assoclist C4:85:08:47:C3:AE
assoclist 6C:8D:C1:9D:1F:A2
assoclist EC:1F:72:1D:8C:B9
assoclist 54:60:09:2A:34:22
assoclist 54:60:09:F9:7D:9A
assoclist F4:8E:92:27:69:36
assoclist 84:B1:53:99:40:50
autho_sta_list
autho_sta_list BC:8C:CD:23:D5:1F
autho_sta_list C4:85:08:47:C3:AE
autho_sta_list 6C:8D:C1:9D:1F:A2
autho_sta_list EC:1F:72:1D:8C:B9
autho_sta_list 54:60:09:2A:34:22
autho_sta_list 54:60:09:F9:7D:9A
autho_sta_list F4:8E:92:27:69:36
autho_sta_list 84:B1:53:99:40:50
devices
br0
eth0
eth1
eth2
lo
vlan1
vlan2
It might actually be possible to get information from the router which mode it is in, and thus get rid of the configuration parameter in the yaml. The command nvram show will give us a lot of information about the router settings. I just don't know which parameter to look at. Of course this is not needed if the same method can be used regardless of mode.

Yeah would be great if we can be smart about it. On boot determine if we need to use telnet or ssh, if we are dealing with a router or an ap and go from there.

Is the wl assoclist list the same as the results returned by url from this post https://community.home-assistant.io/t/alternate-device-tracker-component-for-asuswrt/979 ?

http://<IP_ADDRESS>/update_clients.asp and wl assoclist seems similar
I'm in router mode
RT-AC66U-1D68:/tmp/home/root# nvram show | grep _mode=a
wl0.2_mode=ap
wl0_mode=ap
wl1.2_mode=ap
wl_mode=ap
wl0.3_mode=ap
wl0.1_mode=ap
wl1_mode=ap
wl1.3_mode=ap
wl1.1_mode=ap
wps_wer_mode=allow

Maybe someone can do a diff between the output in router and in ap mode? I don't have any other router so I don't know if it's possible for me to run it in ap mode.

BTW. Maybe this discussion should move to a new issue instead. This PR is finished 😀

If you come here from a search engine, check #4305


Great work! How to generate the expression.npy\joint_eulers.npy\camera_pose.npy ? Could you share the way? Thanks!

@YueWuHKUST

Can I use specified photos to finetune the model?

@maocaixia
The npy files need to be organized follows this format. Please refer to the README.md

Keyframes
Shape
Description

Expression
[N, 64]
Coefficients of the expression PCA space in Deep3DFaceRecon

Pose
[N, 6, 3]
Euler angles for SMPL joints [12, 13, 14, 15, 16, 17]

Camera
[N, 2]
Camera yaw and pitch angles

@icekeg
Yes.


Virtual Assistant: new task/to do routes to overview

Project
Name: VA
Language: C#
Description
When I ask shortly to "create" to do/task or "new" to do/task, VA does not help me to set-up a new task but shows the overview of my to do list
To Reproduce
User: new task, VA: You have 6 tasks on your To Do list:
Expected behavior
VA picks up my intent to create a new to do / task quickly. Then responds: Sure. What do you want to put on the list?
Screenshots

Additional context

Adding "create task/to do", "new task/to do" to the luis model can make "new task" work, but "create/new" keywords will not work as they are general works which can also trigger email/calendar skills.

Makes sense, can you close the issue once added Please? Thanks.


Empty response cause invalid response exception when importing documents - Python library

Description
Sending empty list to documents import cause exception of invalid response, making it hard to understand why it's failing.
Steps to reproduce
Using python library, run following code:
documents = []
response = client.collections[collection_name].documents.import_(
                    documents, {"action": "upsert"}
                )

Expected Behavior
Some validation for documents? Different exception telling us that response is just empty and not "invalid"? Don't raise exception at all?
Actual Behavior
File "/pyroot/lib/python3.8/site-packages/typesense/documents.py", line 86, in import_
    raise TypesenseClientError(f"Invalid response - {res_obj_str}") from e
typesense.exceptions.TypesenseClientError: Invalid response -

Metadata
Typesense Version: 0.24.1
OS: official docker image

Fixed by https://github.com/typesense/typesense-python/commit/aeb5313d4c1372c58fa8d950cb9190f11e6c3006


[Bug]: Having NoneType error in multiple pipeline build using TFX and Airflow

What happened?
I am working with TFX and AIrflow to build the pipeline for image classification and segmentation. I am replicating the repo by Jan Marcel Kezmann (Link). While executing the classification_dag.py in dags/classification_pipeline and segmentation_dag.py in dags/segmentation_pipeline, I am getting a runtime error. Error message is mentioned below.
[2023-01-23, 10:55:37 UTC] {taskinstance.py:1889} ERROR - Task failed with exception Traceback (most recent call last):   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/airflow/operators/python.py", line 171, in execute     return_value = self.execute_callable()   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/airflow/operators/python.py", line 189, in execute_callable     return self.python_callable(*self.op_args, **self.op_kwargs)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/tfx/orchestration/airflow/airflow_component.py", line 76, in _airflow_component_launcher     launcher.launch()   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/tfx/orchestration/launcher/base_component_launcher.py", line 209, in launch     copy.deepcopy(execution_decision.exec_properties))   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/tfx/orchestration/launcher/in_process_component_launcher.py", line 74, in _run_executor     copy.deepcopy(input_dict), output_dict, copy.deepcopy(exec_properties))   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/tfx/components/transform/executor.py", line 586, in Do     TransformProcessor().Transform(label_inputs, label_outputs, status_file)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/tfx/components/transform/executor.py", line 1145, in Transform     make_beam_pipeline_fn)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/tfx/components/transform/executor.py", line 1526, in _RunBeamImpl     output_path=dataset.materialize_output_path))   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/pipeline.py", line 597, in __exit__     self.result = self.run()   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/pipeline.py", line 574, in run     return self.runner.run_pipeline(self, self._options)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/runners/direct/direct_runner.py", line 131, in run_pipeline     return runner.run_pipeline(pipeline, options)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/runners/portability/fn_api_runner/fn_runner.py", line 201, in run_pipeline     options)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/runners/portability/fn_api_runner/fn_runner.py", line 212, in run_via_runner_api     return self.run_stages(stage_context, stages)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/runners/portability/fn_api_runner/fn_runner.py", line 443, in run_stages     runner_execution_context, bundle_context_manager, bundle_input)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/runners/portability/fn_api_runner/fn_runner.py", line 776, in _execute_bundle     bundle_manager))   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/runners/portability/fn_api_runner/fn_runner.py", line 1000, in _run_bundle     data_input, data_output, input_timers, expected_timer_output)   File "/home/bhargavpatel/anaconda3/envs/ic_pipeline/lib/python3.7/site-packages/apache_beam/runners/portability/fn_api_runner/fn_runner.py", line 1393, in process_bundle     for ix, part in enumerate(input.partition(self._num_workers)): AttributeError: 'NoneType' object has no attribute 'partition' [2023-01-23, 10:55:37 UTC] {taskinstance.py:1400} INFO - Marking task as FAILED. dag_id=segmentation_dag, task_id=Transform, execution_date=20230123T052420, start_date=20230123T052509, end_date=20230123T052537 [2023-01-23, 10:55:37 UTC] {standard_task_runner.py:97} ERROR - Failed to execute job 43 for task Transform ('NoneType' object has no attribute 'partition'; 42847) [2023-01-23, 10:55:37 UTC] {local_task_job.py:156} INFO - Task exited with return code 1 [2023-01-23, 10:55:37 UTC] {local_task_job.py:273} INFO - 0 downstream tasks scheduled from follow-on schedule check
Airflow Dag is as below Segmentation Dag
I tried to check multiple versions of Airflow and TFX. I believe this error is due to incompatible versions as the error is coming from the executor of the transform component and airflow. Before the dag execution, I compiled the individual module and have not found any errors in them.
Versions TFX:- 1.12.0 Tensorflow:- 2.11.0 Airflow:- 2.3.0
Issue Priority
Priority: 3 (minor)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[X] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

I am afraid this is not the right forum to assist on this problem. Based on the description, you could consider asking your question to maintainers of the repo that you are using.


enhance clean and add install-local-latest command

I feel we need this changes in the Makefile..

you've included a bunch of removals from docs/ which is a great demonstration of the bug that you're committing in the Makefile as well.
We should never remove things that have been published with "make clean" things.

@srikanthops please ping me when you're ready to talk about this one

David I am closing this PR looks like you added install-local in the another PR


Use 90Hz if available on Oculus

[not tested yet; waiting for the CI builds]

works on Q2. My Q1 is currently unavailable

Andy's comment in #108 has got me thinking if default is the best idea again 😅 I really wish there was a platform agnostic way to display the options to users, but as we've found that's not available on all platforms as of yet.

We can go back to the config file idea if we want.
Personally, I'm still concerned that we have no idea what our actual CPU (GPU?) budget looks like in the real world


Convert doc comment to XML

Related #1012
Instead of Markdown, we now use XML format:
    /// <summary>
    ///
    /// </summary>
    /// <param name="url"></param>
    /// <param name="data"></param>
    /// <param name="decoder"></param>
    /// <param name="properties"></param>
    /// <typeparam name="Response"></typeparam>
    /// <returns></returns>
    static member tryDelete<'Response>(url : string,
                                       data : JsonValue,
                                       decoder : Decoder<'Response>,
                                       ?properties : RequestProperties list) =

Rules for the generation:

Always generate the summary section
Generate the list of param if any
Generates the list of typeparam (generic info) if any
Always generate the returns section

@Krzysztof-Cieslak Because we were supporting markdown, we have the following highlights:

Are you ok to remove markdown support for inlined comment starting by /// and replace it with xml support?

We can't support both, I tried to set up support for both but it's the same result as if I was adding only markdown support.

CI seems to fail on VSCE installation but I didn't touch that part.

About the change for highlights, I will probably improve the grammar extension in order to provide a better experience than raw XML. Will send a POC to Ionide fsgrammar repo and discuss it their.

This is good, but it makes me sad anyway. Markdown was so much better idea, I'm sad no one else wanted to support it.

Are you ok to remove markdown support for inlined comment starting by /// and replace it with xml support?

Yes, that sounds reasonable.

This is good, but it makes me sad anyway. Markdown was so much better idea, I'm sad no one else wanted to support it.

Makes me sad and I was a big fan of Markdown comments because they had a good look in the source code and the tooltip but only in Ionide...
If someone is using VS or Rider it would have looked really strange...
You can merge this PR when you feel ready for it :)

How are we looking here, anything stopping this from getting built? Does the FSAC tooltip work overlap with this at all?

Oops, I need to check.
I totally forget about this PR and added another version of the XML generation in #1259.
Let me check which version should be used.

Close in favour of #1259
It makes sense to update the generation and the parser at the same time.


How to justify a text

As I can align a text in justify, I have only found plugin to align in left center and right, but I need to align a text in justified with jspdf, please

#1016

https://github.com/MrRio/jsPDF/issues/1016#issuecomment-329957940

Will be solved with #1433


issue with microphone

dear
my card sound working fine but with your program i tried many change in my ubuntun pci sound configuration but its not working and giving me errors
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
please any helps

I am no unix expert, maybe anybody can help? Quite sure it's not an issue with the lib, but more the environment. Sry cant help better other than provide what gpt says, maybe it helps.

yes for sure its not about library  , its common issue in linux

Same here
ALSA lib pcm_dsnoop.c:601:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave

Also find similar issue here: https://github.com/dosbox-staging/dosbox-staging/issues/2821
Environment:

Ubuntu 22.04
RTX 3090
CUDA 12.3
The microphone and earphone have two separate slots on my computer; I use an adapter cable to connect a headset with a microphone.

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Issue with Unknown PCM cards.pcm.rear can be ignored according to https://stackoverflow.com/questions/31603555/unknown-pcm-cards-pcm-rear-pyaudio
Issue with Cannot open device /dev/dsp can be ignored according to https://stackoverflow.com/questions/16756178/cannot-open-dev-dsp

Still working on resolution.

By setting level=logging.DEBUG, I found that the root cause is about DLL:
RealTimeSTT: root - INFO - Starting RealTimeSTT
RealTimeSTT: root - INFO - Initializing faster_whisper main transcription model tiny
RealTimeSTT: root - INFO - Initializing faster_whisper realtime transcription model tiny
RealTimeSTT: root - INFO - Initializing audio recording (creating pyAudio input stream)
ALSA lib pcm_dsnoop.c:601:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
RealTimeSTT: root - DEBUG - Audio recording (pyAudio input stream) initialized successfully
RealTimeSTT: urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
RealTimeSTT: urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
RealTimeSTT: urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/Systran/faster-whisper-tiny/revision/main HTTP/1.1" 200 1836
RealTimeSTT: urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/Systran/faster-whisper-tiny/revision/main HTTP/1.1" 200 1836
RealTimeSTT: root - DEBUG - Faster_whisper realtime speech to text transcription model initialized successfully
RealTimeSTT: root - INFO - Initializing WebRTC voice with Sensitivity 3
RealTimeSTT: root - DEBUG - WebRTC VAD voice activity detection engine initialized successfully
RealTimeSTT: root - DEBUG - Faster_whisper main speech to text transcription model initialized successfully
RealTimeSTT: torchaudio._extension - DEBUG - Failed to initialize sox extension
Traceback (most recent call last):
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/__init__.py", line 60, in <module>
    _init_sox()
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 70, in _init_sox
    _load_lib("libtorchaudio_sox")
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 64, in _load_lib
    torch.ops.load_library(path)
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torch/_ops.py", line 852, in load_library
    ctypes.CDLL(path)
  File "/home/markyfsun/anaconda3/envs/Bert-VITS2/lib/python3.11/ctypes/__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libsox.so: cannot open shared object file: No such file or directory
RealTimeSTT: torchaudio._extension.utils - DEBUG - Attempting to load FFmpeg version 6.
RealTimeSTT: torchaudio._extension.utils - DEBUG - Failed to load FFmpeg 6 extension.
Traceback (most recent call last):
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: libavutil.so.58: cannot open shared object file: No such file or directory
Exception raised from DynamicLibrary at ../aten/src/ATen/DynamicLibrary.cpp:38 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x57 (0x7f24c49a5617 in /home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torch/lib/libc10.so)
frame #1: <unknown function> + 0x109413c (0x7f24a689413c in /home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torch/lib/libtorch_cpu.so)
frame #2: torchaudio::find_avutil(char const*) + 0x1a (0x7f24428404ca in /home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/lib/libtorchaudio.so)
frame #3: <unknown function> + 0x6f8e (0x7f244936ff8e in /home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/lib/_torchaudio.so)
frame #4: <unknown function> + 0x11847 (0x7f244937a847 in /home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/lib/_torchaudio.so)
frame #5: python() [0x525f07]
<omitting python frames>
frame #8: python() [0x5c82ce]
frame #10: python() [0x5e1623]
frame #11: python() [0x51c107]
frame #14: python() [0x524a53]
frame #17: python() [0x566270]
frame #18: python() [0x51c107]
frame #21: python() [0x524a53]
frame #25: python() [0x5c82ce]
frame #27: python() [0x5e1623]
frame #28: python() [0x51c107]
frame #31: python() [0x524a53]
frame #35: python() [0x5c82ce]
frame #37: python() [0x5e1623]
frame #38: python() [0x51c107]
frame #41: python() [0x524a53]
frame #45: python() [0x5c82ce]
frame #47: python() [0x5e1623]
frame #48: python() [0x51c107]
frame #54: python() [0x53ca72]
frame #57: python() [0x5c82ce]
frame #59: python() [0x5e8807]
frame #60: python() [0x5e4e40]
frame #61: python() [0x5f9132]

RealTimeSTT: torchaudio._extension.utils - DEBUG - Attempting to load FFmpeg version 5.
RealTimeSTT: torchaudio._extension.utils - DEBUG - Failed to load FFmpeg 5 extension.
Traceback (most recent call last):
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 128, in _find_ffmpeg_extension
    return _find_versionsed_ffmpeg_extension(ffmpeg_ver)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 113, in _find_versionsed_ffmpeg_extension
    _try_access_avutil(ffmpeg_ver)
  File "/home/markyfsun/.cache/pypoetry/virtualenvs/parrot-patter-Y87L2jnJ-py3.11/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 89, in _try_access_avutil
    torchaudio.lib._torchaudio.find_avutil(libavutil)
RuntimeError: Error in dlopen: libavutil.so.57: cannot open shared object file: No such file or directory
......

It seems that on Linux, RuntimeErrors are ommited unless setting log level to DEBUG.

Just use ffmpeg6, maybe you are using ffmpeg7. Torchaudio is not support ffmpeg7 now