Templating values

This might be more of a HA or PyScript question but I'll try here first.
I'm trying to insert a charging rate into the config I provide to the script.  I'm attempting it like so:
service: pyscript.solis_control
metadata: {}
data:
  days:
    - chargeCurrent: '{{ sensor.solis_battery_charge_rate }}'
    [...]

Where sensor.solis_battery_charge_rate is a helper I've set up which contains the value I want to insert.
I'm getting this error when running:
Error: Error rendering data template: UndefinedError: 'sensor' is undefined
Is templating like this supported? (I figured HA would resolve the values and then pass it, so pyscript wouldn't even know)  Or so I have to do something more complicated such as in #13 ?
I've also tried creating a script in HA which calls the solis_control script and has a field with the value.  That doesn't seem to want to insert either - I just get blank data in that case.
btw, thank you for this script, it has been invaluable.  I usually just set it to run with a 24hr charge or discharge - which starts the inverter immediately - when something triggers "on" (like a saving session) and then tell it to reset back to my usual config when that trigger turns off.  With this I've not needed to send particular times to the script but I do want to tweak the charge current for my overnight charging so I can get the battery to a certain percentage rather than relying on hardcoding a few different currents and hoping for the best.

OK, I made a silly mistake there, the line should be something like:
   - chargeCurrent: "  {{ states('sensor.solis_battery_charge_rate') }} "

However, this turns up in the config without the quotes, so it still doesn't work.
Whatever I try, I can't get the quotes to attach properly, I either get too many or none!

I've been setting the charging current using this script and a template in an automation. It took me a while to get something that worked but the code that eventually got the correct values was this:
- chargeCurrent: 0{{ states('sensor.estimated_charge_rate') | string }}

To be honest I can't remember the exact reasoning behind it all now but remember prepending the 0 and converting the sensor value to a string were both needed to get the correct value sent to the inverter.

Yes, the 0 seems to be the key part. With it the quotes get inserted (along with an extra leading zero, which the inverter or script don't appear to mind). All working now, thanks!


[9.x] Added scoped filesystem driver

Often, files are placed on a single filesystem (like S3) but at different paths. This base path needs to be kept in sync all across the codebase. The scoped driver makes it easy to re-use disk configurations, and decorated the internal adapter.
Consider the following situation, when I have an existing s3 disk:
        's3' => [
            'driver' => 's3',
            'key' => env('AWS_ACCESS_KEY_ID'),
            'secret' => env('AWS_SECRET_ACCESS_KEY'),
            'region' => env('AWS_DEFAULT_REGION'),
            'bucket' => env('AWS_BUCKET'),
            'url' => env('AWS_URL'),
            'endpoint' => env('AWS_ENDPOINT'),
            'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
            'throw' => false,
        ],

Using the new scoped driver, I can create a version of the existing s3 driver with a deeper base path:
        's3_videos' => [
            'driver' => 'scoped',
            'prefix' => 'path/for/videos',
            'disk' => 's3',
        ],

Possible optimisation, since this is a decorated adapter, we could re-use the inner adapter. I didn't find an elegant way to do so, but I'm open to suggestions.

I have created an issue with details.
https://github.com/laravel/framework/issues/44327


Make this nuget independent from entity framework.

Hi!
This nuget is great! I know that it is targetting mostly to entity framework, but small changes can make it independent from EF.
The only place where's used async iqueryable is KeysetPaginationExtensions. If you change line 152:
return context.OrderedQuery.AnyAsync(lambda); to return Task.FromResult(context.OrderedQuery.Any(lambda)); you can get rid of the entity framework reference.
This will allow using of pagination with other ORMs using IQueryable (e.x. MongoDB.Driver). I can push these changes to another branch and make PR if you allow me to.

Hi.
Would have liked that, but since the name of the package itself contains "EntityFrameworkCore" this will be a bit problematic. In addition, I don't like that this means we'll be blocking on async, this isn't acceptable at all. I am willing though to change some of the infrastructure here to be able to produce separate packages (adapters) for different ORMs using the idiomatic approach of that ORM though.


Migrate Events E2E tests to new Event page

A few E2E tests covering events are currently skipped because the legacy page was removed.
We want to migrate these tests to the new page (remove /legacy).
See: https://github.com/opencollective/opencollective-frontend/blob/master/test/cypress/integration/24-event.createOrder.test.js
If some tests are not applicable anymore, they should be replaced by similar tests to keep good coverage.
Bonus: any extra test is welcome.

Will look it during the weekend , super obsessed with E2e test in repo 😉

The things I've added here are,

Test for checking the submission of a Free Ticket.
Test for checking the submission of a Ticket with Fixed Payment Amount.
Test for checking the submission of a Ticket with a Flexible Payment Amount.

I hope this covers everything in this issue. Let me know otherwise. 😃


[1.12] Constant world crash when shield activated in Aroma Mining Dim

v6.10beta1
https://pastebin.com/LEkjScq5
I am unsure totally if it is your fault, but all I can see is your name.
Sorry if incorrect!

Update RFTools. That's fixed

My apologies dude.


Working example for Angular2

Hi,
I wanted to upgrade my application (having the md-color-picker) to Angular 2.0. I think I need Material Design for Angular 2.0 as well. Are there more pitfalls to take into account while upgrading? Or do you have a working example for the md-color-picker on Angular2.0?

There is no support for angular 2.0 currently.  Sorry.  After the rewrite I may try to rework the plugin for angular 2.0 but that's not on the road map currently.


Vertical Images are displayed way to big in the editor

There is an additional problem with images in the preview. They also seem to be displayed as horizontal or vertical images randomly, some get totally stretched by the website to force them into horizontal orientation


There is a bug i found

I can't drive Lamborghini when i begin to compile this code.

Definitely, I have the same problem...

Please tell me how to compile this code

Please tell me how to compile this code

you need a Lamborghini first 🐎

Please  help!

oh God~
i am also.

Just run


Add command to make local user an admin

When working locally, in order to make yourself an admin user you need to do the following:

Access the app, so that you are added in the database as a user (taking details from staff-sso)
Open a django shell
Find yourself in the User table
Set is_staff and is_superuser as True and save() your user object

It would be really useful to have a command (perhaps make command) which would set yourself as an admin.

Added admin command local_admin as part of #226


Remote validation calls showErrors before clearing up

In remote validation we have a success callback and at the very bottom of the callback we have
previous.valid = valid;
validator.stopRequest(element, valid);

I believe those two lines should go right above
if ( valid ) {
...
} else {
...
}

Reasoning for this change is the fact, that within if-else clause we call showErrors() while validator.pending still has the element and pending status is > 0. If in showErrors() we want to know before showing errors if the element is still pending remote validation, we will get an incorrect status.

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!


cannot connect to tiller in minikube local

I installed helm in my local system. There was a minikube cluster running in my local with kubectl pointing to it. After running helm init, it is installed properly and I can see the helm pod and a service created. The pod logs are as follows -
2017-08-11T11:46:28.812993896Z [main] 2017/08/11 11:46:28 Starting Tiller v2.5.1 (tls=false) 2017-08-11T11:46:28.813095316Z [main] 2017/08/11 11:46:28 GRPC listening on :44134 2017-08-11T11:46:28.813102347Z [main] 2017/08/11 11:46:28 Probes listening on :44135 2017-08-11T11:46:28.813104894Z [main] 2017/08/11 11:46:28 Storage driver is ConfigMap
helm version command fails to run and running helm version --debug gives me -

[debug] Created tunnel using local port: '46572'
[debug] SERVER: "localhost:46572"
Client: &version.Version{SemVer:"v2.5.1", >GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"}
[debug] context deadline exceeded
Error: cannot connect to Tiller

What version of minikube are you running, and how was the cluster set up? I am unable to reproduce this locally on v2.5.1.
><> minikube version
minikube version: v0.20.0
><> minikube ip
<IP_ADDRESS>
><> helm version --debug
[debug] Created tunnel using local port: '63527'

[debug] SERVER: "localhost:63527"

Client: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"}

minikube version: v0.20.0
kubectl version :
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"clean", BuildDate:"2017-05-19T18:44:27Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"dirty", BuildDate:"2017-06-22T04:31:09Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty

I am having the exact same problem.
Is there already any solution?
Thanks!

Hi @ChristianWeyer. Can you please explain your issue in more detail?

How did you install minikube?
What option flags were sent with minikube start?
What version of minikube/helm?
What is the output of cat ~/.minikube/config/config.json?

You can also try to run the following to help diagnose the issue:
><> kubectl -n kube-system get pods
NAME                             READY     STATUS    RESTARTS   AGE
default-http-backend-9hd1v       1/1       Running   4          4d
draftd-821994266-2n273           2/2       Running   2          19h
kube-addon-manager-minikube      1/1       Running   4          4d
kube-dns-910330662-bm86z         3/3       Running   12         4d
kubernetes-dashboard-95vsz       1/1       Running   4          4d
nginx-ingress-controller-n8x1l   1/1       Running   4          4d
registry-cw2n7                   1/1       Running   4          4d
tiller-deploy-1651615695-kwk2n   1/1       Running   3          3d
><> kubectl -n kube-system port-forward tiller-deploy-1651615695-kwk2n :44134
Forwarding from <IP_ADDRESS>:52671 -> 44134
Forwarding from [::1]:52671 -> 44134

And in another terminal:
><> HELM_HOST=<IP_ADDRESS>:52671 helm list

Seems like I had one or more outdated components - most likely Helm.
Thanks for your help! It now works :-)

helm init --upgrade show resolve this.

@pranayhasan @bacongobbler this is still not working;
$ helm init --upgrade
$HELM_HOME has been configured at /Users/mgreboi/.helm.

Tiller (the Helm server-side component) has been upgraded to the current version.
Happy Helming!

$ helm ls
Error: context deadline exceeded

@bacongobbler could you please re-open this issue:
$ helm version --debug
[debug] Created tunnel using local port: '55762'

[debug] SERVER: "localhost:55762"

Client: &version.Version{SemVer:"v2.7.0", GitCommit:"08c1144f5eb3e3b636d9775617287cc26e53dba4", GitTreeState:"clean"}
[debug] context deadline exceeded
Error: cannot connect to Tiller

@bacongobbler could you re-open this, its not yet working with the latest version;
$ helm version --debug
[debug] Created tunnel using local port: '55762'

[debug] SERVER: "localhost:55762"

Client: &version.Version{SemVer:"v2.7.0", GitCommit:"08c1144f5eb3e3b636d9775617287cc26e53dba4", GitTreeState:"clean"}
[debug] context deadline exceeded
Error: cannot connect to Tiller

and there are many related reports of this issue:
https://github.com/kubernetes/helm/issues/2921
https://github.com/kubernetes/helm/issues/2827
https://github.com/kubernetes/helm/issues/2409

Can you please provide more information about your deployment? I can’t determine if this is the right ticket to track your issue.

$ minikube version
minikube version: v0.22.3

$ helm version --debug
[debug] Created tunnel using local port: '57315'

[debug] SERVER: "localhost:57315"

Client: &version.Version{SemVer:"v2.7.0", GitCommit:"08c1144f5eb3e3b636d9775617287cc26e53dba4", GitTreeState:"clean"}
[debug] context deadline exceeded
Error: cannot connect to Tiller

$ helm ls
Error: context deadline exceeded

What’s the output of kubectl -n kube-system get po

$ kubectl -n kube-system get po
NAME                             READY     STATUS    RESTARTS   AGE
default-http-backend-pp9tf       1/1       Running   0          1m
heapster-1rq6t                   1/1       Running   0          1m
influxdb-grafana-s79g0           2/2       Running   0          1m
kube-addon-manager-minikube      1/1       Running   0          1m
kube-dns-1326421443-63rfm        2/3       Running   0          1m
kubernetes-dashboard-kp7gs       1/1       Running   0          1m
nginx-ingress-controller-dl902   1/1       Running   0          1m
tiller-deploy-1114875906-mxkfl   1/1       Running   0          1m


[BUG][DEPLOY] Update default snapshot tag due topology-aggregator error

Describe the bug
Using the current default snapshot version 1.0.0-SNAPSHOT-2020-03-30-18-55-25 the deployment fails with error on topology-aggregator pods due unavailable tag: Failed to pull image "quay.io/open-cluster-management/topology-aggregator:0.0.1-SNAPSHOT-2020-03-30-17-01-26": (...) Error reading manifest 0.0.1-SNAPSHOT-2020-03-30-17-01-26 in quay.io/open-cluster-management/topology-aggregator: unauthorized: access to the requested resource is not authorized
To Reproduce

Execute ./start.sh --watch with default values.

Expected behavior
Deployment finishes successfully.

topology-aggregator pods are no longer being included in the product... currently these will show with image pull backoff error, but do not impede the ability to use the tool... there is a fix in the works to remove topology-aggregator from the product entirely so you will not see the image pull backoff error you are seeing now...
Once that fix makes it's way into the latest snapshots I'll close this issue... until then I'll leve this open for others to see.

I've tagged a new snapshot that can be used to deploy OCM that will not deploy topology-aggregator... SNAPSHOT-2020-03-30-21-19-06.
Closing this issue.


feat: add auto gas and fee estimations

Closes https://github.com/celestiaorg/celestia-app/issues/3342

Overview
Some points to consider:

The current version of EstimateGas utilizes Simulate that brings additional roundtrips to the estimation process. As we discussed internally with @cmwaters we should try to get rid of roundtrips in favour of static gas estimations(for different types of messages), as it has been done for blob estimation.
ideally I'd add two different Fee handlers to the txClient that estimates gas/fee for PFB transactions and all other types of txs. But it will make sense after reaching the proposal described in 1.

Generally, I'd make a FeeHandler middleware that can intercept all requests that are coming to the Client and perform all needed computations.

Generally, I'd make a FeeHandler middleware that can intercept all requests that are coming to the Client and perform all needed computations.

Can you elaborate on this?

Can create an issue, describing all ideas so we can have a clear understanding of what should be done and do we need it.

Yes let's create an issue and discuss it further there


Expand file viewer capabilities: not-in-pipeline files, more file types

Describe the problem this improvement solves
When a job writes a file to the project directory//data directory those files can't easily be inspected at the moment because of the limitations of the "file viewer".
Describe the solution you'd like

Files shouldn't be required to be referenced in the pipeline to be viewable with the file viewer.
We should support more filetypes (e.g. images, PDF documents).

cc @kerel-fs


CI Stalling on Windows

Not a high priority for me, but CI seems to stall on Windows.
First observed in https://github.com/SciML/NonlinearSolve.jl/pull/348 and even true for the new version in https://github.com/SciML/NonlinearSolve.jl/pull/345

The problem is from https://github.com/EnzymeAD/Enzyme.jl/issues/1236. We are swapping enzyme out of the tests currently.


Game Creation API

[x] create and join calls #189
[x] ability to protect API with a secret #204
[ ] ability to pass arbitrary data to the create call that is eventually passed as an argument to Game.setup.
[ ] simple web lobby implementation #197
[ ] ability to assign a bot to a player.

Marking this as a duplicate of #354


PathTemplate - retrieve first value of Genre, Language, Creator

Description
Retrieves either the first value or the whole string when no comma seperator has been found.
Using partition() instead of index-accessor + split since we don't need the rest of the string and this way we cannot go out of bounds if there is not match found.
Usecase
I'm having a path-template setup like:
:language: / :artist: / :artist: - :title: / :artist: - :title:

For this song it results into
Japanese (romanized), English\Jujutsu Kaisen (ALI feat. AKLO)\Jujutsu Kaisen (ALI feat. AKLO) - Lost In Paradise (TV)\Jujutsu Kaisen (ALI feat.txt

With this fix it turns out to be:
Japanese (romanized)\Jujutsu Kaisen (ALI feat. AKLO)\Jujutsu Kaisen (ALI feat. AKLO) - Lost In Paradise (TV)\Jujutsu Kaisen (ALI feat.txt

It'd be nice to only keep the first entry of the comma-seperated list as path modifier.
It applies to the 3 mentioned fields: Genre, Language and Creator

@bohning do you want me to squash/fixup the commits since the last two are to satisfy Tox or would a history like this be alright?

I wouldn't actually do this for genres. Separating between "Pop, Rock" and "Pop, Funk" seems okay. Much worse for genres is how there is no defined list of genres, thus leading to many different separators. I see "," "/" "-" " " just for pop songs. What about just removing those and potentially any other separators, like usdb seems to for the sorting?

I wouldn't actually do this for genres. Separating between "Pop, Rock" and "Pop, Funk" seems okay. Much worse for genres is how there is no defined list of genres, thus leading to many different separators. I see "," "/" "-" " " just for pop songs. What about just removing those and potentially any other separators, like usdb seems to for the sorting?

The format project defines that values are comma-seperated
I added it for Genre, Languages and Creator since these 3 were mentioned within the discord.

The format defines that #GENRE is a header and that it can be multi-valued. On usdb, there are loads of songs with the separators i metioned, e.g "Pop-Rock", "Pop Rock", "Pop, Rock", etc.
The real problem is that there is no list of genres to choose from to make a comma-separated list (if needed, musicbrainz has an extensive list), but a stopgap solution would be to remove the separators, as usdb seems to do.

The format defines that #GENRE is a header and that it can be multi-valued. On usdb, there are loads of songs with the separators i metioned, e.g "Pop-Rock", "Pop Rock", "Pop, Rock", etc.
The real problem is that there is no list of genres to choose from to make a comma-separated list (if needed, musicbrainz has an extensive list), but a stopgap solution would be to remove the separators, as usdb seems to do.

Again, the format specifies that multivalued items are comma seperated. See https://github.com/UltraStar-Deluxe/format/blob/main/spec.md#2-the-file-header and  https://github.com/UltraStar-Deluxe/format/blob/main/spec.md#31-single-valued-and-multi-valued-headers
The fact that USDB lists songs with other formats is not the debate here. In the end we're trying to get usdb up to standard as much as possible, and changes are being made to help us with that. Yet they come in rather slow as there's just a single developer working on that.
The list of genres can be fetched from anywhere by all means it could be gibberish, the only fact is, it should be comma seperated which is what this PR is about and will support

This is a stupid argument. I am pointing out two things the PR doesn't address, but might not need to if this is the behaviour you intended.

a lot of songs on usdb right now use wierd separators for the genre, like "-".
Putting "Pop, Rock" into the "Pop" folder without notice might be confusing or unwanted behaviour, particularly when combined with 1, where "Pop-Funk" gets it's own folder while "Pop, Rock" doesn't

I have no intention of dying on this hill, so do with this whatever you want.

I merely added genre simply because it was mentioned in the discord. You could argue if we'd want to put "Pop, Rock" into a folder called "Pop". Agreed on that front. Up to @bohning i guess
Do you have a couple of songs using the - seperator where it is actually meant to be 2 different genres and not a merger.? because most genres i'm seeing are correctly using the - for example: J-Pop or K-Pop which uses - but is a genre of its own
The ones with multi-valued genres are correctly using the comma to distinguish between them as far as the 20 pages i just scrolled through

https://usdb.animux.de/?link=detail&id=7626
https://usdb.animux.de/?link=detail&id=22165
There are loads more. Just sort by genre and look around.
Unless there there is a musical difference between the genre "Pop Rock" and listing "Pop" and "Rock" as genres. tbh, i'm pretty sure the people that uploaded don't know either, making it impossible to guess how it was intended.

IMHO the entire genre topic is a hot one. As long as there is no defined way, it will be a mess. Is "Pop-Rock" a genre on its own, and is it the same as "Rock-Pop", or is "Rock-Pop" more Rock than Pop and "Pop-Rock" is the other way round? And is "Pop, Rock" yet different from that (and what about "Rock, Pop" for the sake of completeness for this example alone). I tried to harmonize this a bit (merging e.g. JPop, Jpop, J-pop, j pop, J Pop, JPOP, ... and J-Pop to the latter, same for C-Pop and K-Pop which seem to be established genres on their own), but then we also have language specific genres like (German) Schlager, Deutsch-Rock (should that be translated to German Rock?) etc. There are high level genres (Pop, Rock, Metal, ...) and more specific genres (Punk Rock/Punk-Rock, Psychedelic Rock, Glam Rock)... So I'd say the best solution is to find a comprehensive catalog to look it up (MusicBrainz seems to be the obvious choice), but AFAIK it provides a list of genres per artist (not per song). They can be added/upvoted by users, so maybe taking the top three genres or the genres with more than x votes could be sensible. Otherwise, I think the #GENRE tag will always be a mess. The developer of UltraSinger pointed me towards https://github.com/jordipons/musicnn, which could be an alternative to MusicBrainz.

@bohning in case of this pr (and thus skipping all the specifics for genre in this case), should we keep it as is? Or rather delete my change in regard to Genre?
My main goal was to have the main language of a song as a folder instead of a comma separated list, that can be achieved by this.
The other multivalued fields i'm not using but i can guess other people might use it. Aside they were mentioned in discord so out of courtesy added them in, but that can be removed to fix my specific usecase

For the sake of the above argument ("genre is a hot topic/a mess"), here's 81 different variants of genres that contain the word "rock" that are currently present in usdb:
Comedy Rock
Acoustic Rock
Alternative Rock
Art Rock
Blues Rock
Boogie Rock
Celtic Punk/Rock
Christian Hard Rock
Christian Rock
Classic Pop-Rock
Classic Rock
Comedy Rock
Dance Rock
Dark Rock
Deutsch Rock Pop
Deutsch-Rock
Dino Rock
Doo Wop Rock & Roll
Electro Rock
Electronic Rock
Emo-Rock
Folk Rock
Folk-Rock
Funk Rock
Garage Rock
General Alternative Rock
General Mainstream Rock
Glam Rock
Gothic Rock
Hard Rock
Hard Rock & Metal
Indie Rock
Indie-Rock
Industrial Rock
J-Rock
Jazz-Rock
Latin Rock
Mittelalter Rock
Mittelalter-Rock
Modern Hard Rock
Mundart Rock
Ost-Rock
Piano Rock
Pop Rock
Pop-Rock
Pop-Rock Oldies
Post Rock
Progressive Rock
Psychedelic Rock
Pub Rock
Punk Rock
Rap Rock
Rap-Rock
RnB Rock
Rock
Rock & Metal
Rock & Roll
Rock Alternative
Rock Argentino
Rock Ballad
Rock Catalán
Rock Celtic
Rock Indie
Rock Industrial
Rock Latino
Rock Psicodelico
Rock Schlager
Rock ’n Roll
Rock ’n’ Roll
Rock&Roll
Rock-Pop
Rock’n’Roll
Shagadelic Rock
Ska Rock
Soft Rock
Southern Rock
Stoner Rock
Surf Rock
Symphonic Rock
Symphonic-Rock-Cover
Synth Rock

I can see that genres are a difficult topic, but until there's further specification, @Baklap4's current implementation makes the most sense to me. Putting a "Rock, Pop" song into a "Rock" folder might be less than ideal, but more acceptable than folders like "Rock, Electronic, Pop, Electro, Funk, Synth-Pop, Pop Rock, Funk Soul" (real example).

@RumovZ I added a line to gitignore ignoring the .vs  folder. Also rebased it, and removed the actual empty file/folder.


How to delete notification after rac_addObserverForName:object:？

I put the following code in ViewController. When I close the ViewController and open again, then the block will execute more than once When the notification post. Only when I restart the APP and open this ViewController first time, the block execute once. Why? Can I program to delete it when I close the ViewController(example, in the dealloc method)?
- (void)viewDidLoad {
    [super viewDidLoad];
    @weakify(self)
    [[[NSNotificationCenter defaultCenter] rac_addObserverForName:@"MakeDoctorOrderNetRequest" object:self] subscribeNext:^(NSNotification * _Nullable x) {
        @strongify(self)
        //block
    }];
}

try this:
    @weakify(self)     [[[[NSNotificationCenter defaultCenter] rac_addObserverForName:@"MakeDoctorOrderNetRequest" object:self] takeUntil:self.rac_willDeallocSignal] subscribeNext:^(NSNotification * _Nullable x) {         @strongify(self)         //block     }];

@wMellon  the block will execute more than once When the notification post  is because of memory leak,  add takeUntil:self.rac_willDeallocSignal method  can resolve this question.

@wMellon the block will execute more than once When the notification post  is because of memory leak, add takeUntil:self.rac_willDeallocSignal method can resolve this question.

thanks

try this:
 @weakify(self) [[[[NSNotificationCenter defaultCenter] rac_addObserverForName:@"MakeDoctorOrderNetRequest" object:self] takeUntil:self.rac_willDeallocSignal] subscribeNext:^(NSNotification * _Nullable x) { @strongify(self) //block }];

thanks


undefined local variable or method can_query

Hi, I just tried your gem using bundle install, but I can't get it running.
Including can_query in my Model results in:
Routing Error
undefined local variable or method `can_query' for #Class:0x41b0740
Any suggestions what I'm missing here ? Thanks

Same problem with rails 4


[STYLE] Fixing the alignment of header at center

The alignment or the position of the header is continuously changed according to the styling of the cards. Hence I would like to correct this by fixing the position of header elements at the center.
Apart from the first point I am also willing to add a color change effect on hovering in the header elements(HTML, CSS, etc).

Hey, I am still working on this, actually I was working on other issue that's why it's took time, just give me one or  two more day, then I will make a PR.


filtering an ONT VCF Clair generated callset from a bi-modal result

The documentation does well to suggest a quality cutoff point "The best quality cutoff is usually the valley between two peaks plus 50."
It looks like the example used in the documentation to illustrate is usingst the MEDIAN point between the valley.  In the histograms an Rscript I am using to produce the histograms  draws the MEAN point.  (although it could be scripted to generate the median I suppose).
Just to be clear, the approximate centerpoint (median) +50, between the peaks  is your suggestioin for a cut-off. Right?

Generally yes. Some datasets with a below-average quality might require a higher cutoff.


Add support for Palm, Claude-2, Cohere Llama2, CodeLlama (100+LLMs)

This PR adds support for the above mentioned LLMs using LiteLLM https://github.com/BerriAI/litellm/
LiteLLM is a lightweight package to simplify LLM API calls - use any llm as a drop in replacement for gpt-3.5-turbo.
Example
from litellm import completion

## set ENV variables
os.environ["OPENAI_API_KEY"] = "openai key"
os.environ["COHERE_API_KEY"] = "cohere key"

messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# cohere call
response = completion(model="command-nightly", messages)

# anthropic call
response = completion(model="claude-instant-1", messages=messages)

@thomashacker @erika-cardenas can you please take a look at this PR ?
confirmed it works for me locally ?
happy to add docs + tests if this initial commit looks good to both of you😊

Awesome, thanks a lot! We'll take a look

Hey! We just merged the new Verba version; if you like you can update your code to the new version.
We also have a contribution guideline which I suggest to read beforehand! Thanks a lot

Will close this PR for now, feel free to create a new PR!  🚀


Invalid keystore format.

I'm trying to generate bin file using the command mentioned in readme file.
java -jar app/bundlesigner-0.1.13.jar genbin  -v --bundle app/bazaar/release/app-bazaar-release.aab --bin .  --v2-signing-enabled true --v3-signing-enabled false --ks ../release.jks

But I'm getting the following error that says the keystore file is invalid.
I don't know how it's invalid, cause I was able to generate bin file a month ago and there was nor problem at all.
Picked up _JAVA_OPTIONS: -Xmx1024M
Keystore password for signer #1:
Failed to load signer "signer #1"
java.io.IOException: Invalid keystore format
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:666)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:57)
        at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
        at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:71)
        at java.security.KeyStore.load(KeyStore.java:1445)
        at ir.cafebazaar.bundlesigner.SignerParams.loadKeyStoreFromFile(SignerParams.java:364)
        at ir.cafebazaar.bundlesigner.SignerParams.loadPrivateKeyAndCertsFromKeyStore(SignerParams.java:250)
        at ir.cafebazaar.bundlesigner.SignerParams.loadPrivateKeyAndCerts(SignerParams.java:183)
        at ir.cafebazaar.bundlesigner.BundleSignerTool.getSignerConfig(BundleSignerTool.java:448)
        at ir.cafebazaar.bundlesigner.BundleSignerTool.getContentDigest(BundleSignerTool.java:357)
        at ir.cafebazaar.bundlesigner.BundleSignerTool.main(BundleSignerTool.java:126)

java version
java -version
Picked up _JAVA_OPTIONS: -Xmx1024M
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.302-b08, mixed mode)

operation system: Windows 11
I'll be glad to provide any information necessary to find the cause and fix the problem.

Based on my understanding of your issue, it seems that you are encountering problems with using a key generated by a newer version of Java when attempting to use an older version. To help address this, I suggest performing a local test by signing a sample application in our project using your current system and reporting any issues you encounter.
For your convenience, you can access the sample materials for local testing at the following link: Bundle Signer - Test Resources.
Please feel free to provide feedback and report any difficulties you face during the testing process. We'll be glad to assist you further.

The warning you received indicates that your keystore was successfully converted to the JKS format, but it is recommended to migrate to the JKS format as it is an industry-standard format. Below are the steps to convert the keystore to the JKS format and use it:
Convert the keystore to JKS format:
If you want to convert the keystore to the JKS format, you can use the following command:
keytool -importkeystore -srckeystore key_name.jks -srcstoretype PKCS12 -destkeystore key_name.jks -deststoretype JKS

same problem


Add downloading a zip file to bulk actions.

Coverage increased (+0.001%) to 99.693% when pulling a58ed98f0383913af2e3b3d7b855daa7f2d9667f on download_multiple_images_as_zip into 5368192ff3ee467517ac0d0b17d51f213a4a0dbb on master.


Query not being parsed in createPath

In the React Router v4 docs it mentions that query is deprecated and should be passed to to as an object to be stringified. I can't get the to object to work correctly. It parses pathname but not query.
I chased the issue down from React Router Link to createBrowserRouterHistory down to PathUtils and it looks like PathUtils doesn't look for the query object to be passed in. I was going to create a PR but I canfigure out what this packages uses to stringify the query object.

The search string property of location objects instead of query objects is completely intentional (the location object is meant to replicate the properties of the Location object). I don't think that that is going to change any time soon.
That means that turning a query object into a string (and vice versa) is left completely to the user. You can use qs, querystring, query-string, URLSearchParams or any other package/native code.

I suppose that means the React Router 4 Docs are wrong? I have parsed the query and renamed it to "search" instead of query but that goes against what it says in the docs.

Those are not the v4 docs. You can view the v4 documentation here.

Thanks, @pshrmn. Closing.


Apply a CSS reset

The React implementation of AntDesign applies a global CSS reset from which components are then built on top of.
Currently, I am not developing with a CSS reset.
But I don't know if I should add a css reset as part of the Ant.Css module (so that when you call defaultStyles or createThemedStyles theme the css reset will also be applied to your app) ... OR, if I should just document that you should add a CSS reset to your application in whichever way you want.
You may want to import an elm-specific reset or use plain old CSS, or JS??? Your call.
Gotta think about this. Leaning more on the latter.

Implemented. Should be releasing today or tomorrow.


Macro invocation rejected depending on argument order with tt fragment specifier and double equals

In the following reproduction the second invocation of bar! where the first argument is the token == is rejected by RA with the message Expected 1 argument, found 0
However it is accepted by rustc and demonstrates the expected behavior. Something to note is that if the order of the parameters are reversed so that the path is provided before the tt fragment then RA is satisfied.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=860a398473fe04567d86745ac5282c5f
However something else to note is that RA is fine with the order of parameters in the following case
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6e0b7b2b9bd36f9e54ed9935cb225dc0
I have RA version 2020-11-30 (ac30710) on Linux x64 and the client editor is VSCode 1.51.1

Better repro:
#[derive(Debug)]
enum Foo {
    Integer(i32),
    Bool(bool),
}

macro_rules! bar {
    ($op:tt, $wrapper:path) => {
        Vec::new().push($wrapper(10 $op 15));
    }
}

fn main() {
    bar!(+, Foo::Integer);
    bar!(==, Foo::Bool);
}

I suspect this is related to == being a composite token.


WIP: Storage Refactor

This PR rewrites our storage engine, including refactors of consensus to integrate. Dedicated document inbound.
Needs more unit tests, documentation, but opening PR now.

@Protryon can you draft in your PR description (not a separate doc) what changes are being made and why?


Need to mark required fields, perhaps by including red *

I am getting this error message about a missing required field. I cannot figure out what field is causing it. If all required fields contain a label with a red * next to them, it will help me to find what went wrong.

the required fields now are labeled with a black #


Aswathy/ Terms condition added in the sign up detail page

Changes:

...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

closing this pr


Error CS0012 when building for Hololens

Overview
I am working on a simple prototype. I have a 3D scan of a part which we have prepared into an FBX and would like to view  in augmented reality. Scan is fine and object is added to unity however when I build using the latest release of the toolkit on the latest release of Unity I am met with errors on the Visual Studio side of things.
Unity Scene:

Unity Build Window:

Visual Studio Window:

Error I am receiving:
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0012	The type 'IAsyncAction' is defined in an assembly that is not referenced. You must add a reference to assembly 'Windows, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime'.	Assembly-CSharp	D:\Users\cmdann\Development\Games\TurbineAR\Assets\HoloToolkit\Utilities\Scripts\ApplicationViewManager.cs	62	Active

All error output: https://gist.github.com/CMDann/1c843168953160a6c94e00b831b58fc1
Notes:

I tried cleaning the solution which resulted in more CS0012 errors
I am running Visual Studio 2017 Enterprise

Expected Behavior
I would like to deploy the application to the Hololens hardware.
Actual Behavior
Errors (CS0012) in visual studio preventing the application from building.
Steps to reproduce

Prepare Scene
Build to visual studio
Attempt to run on device

Unity Editor Version

Unity 2017.2.0b11

Mixed Reality Toolkit Release Version

HoloToolkit-Unity-v1.2017.2.0
HoloToolkit-Unity-Examples-v1.2017.2.0

Make sure your Scripting Compatibility level  .net 4.6
You may also need to change your scripting runtime version to 4.6 as well.

Thanks @StephenHodgson I am going to try this right now.

If you really need to use the 2017.2 editor then pull the latest master and import a custom package.

I have 2017.1.2 installed on my machine, I will open the project and try a rebuild.

@StephenHodgson Switching to 2017.1.2 with the target SDK switched to 10.0.15063 removed most of the errors but I am still having a few of the same issues.
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0006	Metadata file 'D:\Users\cmdann\Development\Builds\HoloTest\GeneratedProjects\UWP\Assembly-CSharp\Assembly-CSharp-firstpass.dll' could not be found	Assembly-CSharp	D:\Users\cmdann\Development\Builds\HoloTest\GeneratedProjects\UWP\Assembly-CSharp\CSC	1	Active

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0006	Metadata file 'D:\Users\cmdann\Development\Builds\HoloTest\TurbineAR\Assembly-CSharp-firstpass.dll' could not be found	TurbineAR	D:\Users\cmdann\Development\Builds\HoloTest\TurbineAR\CSC	1	Active

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0006	Metadata file 'D:\Users\cmdann\Development\Builds\HoloTest\GeneratedProjects\UWP\Assembly-CSharp\bin\x86\Release\Assembly-CSharp.dll' could not be found	TurbineAR	D:\Users\cmdann\Development\Builds\HoloTest\TurbineAR\CSC	1	Active

Seems as though it is having a difficult time finding the assembly?
Severity	Code	Description	Project	File	Line	Suppression State
Warning		The referenced component 'Assembly-CSharp-firstpass' could not be found.	TurbineAR

Try deleting your build folder and rebuild the player.

No affect, I do see assembly it is referencing in the project folder.

Delete the whole UWP folder.

Uncheck C# projects.

Removing the UWP issue. These are the current errors:
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0012	The type 'CoreApplicationView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Windows, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime'.	TurbineAR	D:\Users\cmdann\Development\Builds\HoloTest\TurbineAR\App.cs	34	Active

Which is referencing this line:
m_AppCallbacks.SetCoreApplicationViewEvents(applicationView);
And
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0012	The type 'CoreWindow' is defined in an assembly that is not referenced. You must add a reference to assembly 'Windows, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime'.	TurbineAR	D:\Users\cmdann\Development\Builds\HoloTest\TurbineAR\App.cs	58	Active

Which references:
m_AppCallbacks.SetCoreWindowEvents(coreWindow);

I tried with C# projects both checked and unchecked which seemed to have no affect.

What happens when you create a build from the MRTK build window?

Unity said it failed, it did build however same issues when I build from Visual Studio.

Is this bug resolved? I am still facing this problem with Unity 2017.3.1f1

I followed Hololens100 tutorial and I am blocked with this error:
...
错误	CS0012	类型“CoreApplicationView”在未引用的程序集中定义。必须添加对程序集“Windows, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime”的引用。	HoloPM	C:\workspace\unity\HoloPM\App\HoloPM\App.cs	34	活动的
...

Hey guys, I had the same problem and now I have figured it out, please take a look here:
https://stackoverflow.com/questions/50314519/cs0012-error-when-building-origami-hololens-101-tutorial/50407748#50407748

That link 404s

@StephenHodgson The link was formatted weirdly. I just fixed it.

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


UNSETTLED FUNCTION BUG IN HOOK FUNCTION

We receive the following RED error messages in Chrome Developer Tools:
VM1001:67 UNSETTLED FUNCTION BUG IN HOOK FUNCTION (plugin: ep_subscript_and_superscript, function name: ep_subscript_and_superscript/static/js/index, hook: aceEditEvent): The hook function neither called the callback nor returned a non-undefined value. This is prohibited because it will result in freezes when a future version of Etherpad updates the hook to support asynchronous behavior.

Just FWIW these errors are benign but do need addressing at some point.

Also AFAIK I don't think aceEditEvent is async which is why this can't be fixed in the plugin.  cc @rhansen for clarity/confirmation :)

Thanks @rhansen


launchWebAuthFlow origin

What is origin for launchWebAuthFlow redirect? For chrome it is https://<app-id>.chromiumapp.org/*.

This repository’s issues are used for Dev.Opera source code and articles only. But you can ask @shwetank regarding extensions.

If there are any bugs or scope for improvement in the documentation, then this is the right place. Otherwise, as vadim mentioned, it is better to ask it on the forums.
Btw, I'll be confirming the answer to your question soon. I request you to please ask this on the forums, and I'll reply to you there.

Thanks. I will post in forum when I receive password reset email.
On Thu, Jul 7, 2016 at 4:48 PM, Shwetank Dixit<EMAIL_ADDRESS>wrote:

If there are any bugs or scope for improvement in the documentation, then
this is the right place. Otherwise, as vadim mentioned, it is better to ask
it on the forums https://forums.opera.com/categories/en-opera-add-ons.
Btw, I'll be confirming the answer to your question soon. I request you to
please ask this on the forums, and I'll reply to you there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/operasoftware/devopera/issues/486#issuecomment-231019746,
or mute the thread
https://github.com/notifications/unsubscribe/ACCfTNpNn9eC7smDMZ0HCzJ6Q7cGVXdIks5qTL1egaJpZM4JGrjC
.

--
Best regards,
Kyaw


[wetv] Add extractor

Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Description of your pull request and other information
This PR adds a new extractor for WeTv (https://wetv.vip) 😃 As discussed in https://github.com/yt-dlp/yt-dlp/issues/1115#issuecomment-930032543, the required CKey code from https://github.com/ytdl-org/youtube-dl/issues/22040 has been implemented using yt-dlp AES.
In order to make this work, I've added support for multiple padding modes in the AES CBC encryption method, without modifying the default 'pkcs7'.
I've also added a small test for the key_expansion method because, as I explain in the commit message, I found it really confusing to use and I actually spent a loooot of time with it 🤯. This is completely optional, and is not needed for the extractor, just a little guide for future people reading that code.

All tests are failling 😢 ...

f'{type(ie).name} should not match URL {url!r} . That URL belongs to {tc["name"]}.')
AssertionError: True is not false : WeTvSeriesIE should not match URL 'https://wetv.vip/en/play/air11ooo2rdsdi3-Cute-Programmer/v0040pr89t9-EP1-Cute-Programmer' . That URL belongs to WeTvEpisode.

In order to support Series download, I 'trimmed' the url to only have the series id, i.e.  https://wetv.vip/en/play/u37kgfnfzs73kiu-You-Are-My-Glory
I thought it was a 'fair' thing to do, as the user who requested the site also did it 🤔 https://github.com/yt-dlp/yt-dlp/issues/1115
Unfortunately the series url always is a subset of episode urls, causing these tests to fail. Any suggestions? mmm

When checking episode url (https://wetv.vip/en/play/air11ooo2rdsdi3-Cute-Programmer/v0040pr89t9-EP1-Cute-Programmer), i found a lot of data that we can extract in __NEXT_DATA__ json especially in ['pageProps']['data]. This json also list all video in series.
Here's the sample of json['pageProps']['data'] (unformatted) :
{\"videoInfo\":{\"cover_list\":[\"air11ooo2rdsdi3\"],\"c_category_value\":10470,\"tail_time\":0,\"aspect\":1.7777777910232544,\"pic_640_360\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/640\",\"imgtag_ver\":[],\"state\":4,\"is_area_limit\":0,\"type\":2,\"episode\":\"01\",\"title\":\"EP1: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/496\",\"vid\":\"v0040pr89t9\",\"online_language\":[\"1491937\",\"8\",\"1491963\",\"1491973\",\"1491988\",\"12\",\"14\",\"1491994\",\"54\",\"9\",\"40\",\"8229847\",\"35\"],\"pic_332_187\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/332\",\"duration\":\"2835\",\"vuid\":\"0\",\"default_pay_status\":null,\"pay_status\":null,\"publish_date\":\"2010-01-01 00:00:00\",\"head_time\":0,\"isLong\":true,\"isFree\":true},\"coverInfo\":{\"description\":\"After falling in love with genius programmer Jiang Yicheng, Lu Li enrolls into the school he once studied at, and also took up the same major - calculus. Setting Jiang Yicheng as her role model in her heart, she achieves good grades in school. However after graduation, she did not expect that Jiang Yicheng's company does not recruit female employees. Lu Li decides to disguise as a man and enter the company. However, she met difficulty both in dealing with Jiang Yicheng's demands, as well as hiding her identity. Finally with her perseverance, she grabbed hold of an opportunity and managed to come to an agreement with Jiang Yicheng. The two would become a \\\"contract couple\\\" and stay together for one year. Slowly, Jiang Yicheng finds himself falling for Lu Li.\",\"category_map\":[10470],\"type\":2,\"title\":\"Cute Programmer\",\"second_title\":\"Cute Programmer\",\"protagonist_name\":[\"XingZhaoLin\",\"Zhu Xudan\",\"Yi Daqian\",\"Tian Yitong\"],\"director\":\"Wu Qiang\",\"actors\":[],\"imgtag_ver\":{\"0\":{\"text\":\"VIP\",\"color\":\"#FF4A22\"},\"1\":{\"text\":\"Full\",\"color\":\"#FF4A22\"}},\"areaName\":\"China\",\"main_genres\":[\"Romance\"],\"cover_id\":\"air11ooo2rdsdi3\",\"cover_checkup_grade\":4,\"video_ids_country\":[\"v0040pr89t9\",\"r0040wccvd6\",\"d00409i1e8l\",\"v0040mbqp2j\",\"f0040fdl1al\",\"s0040wa144b\",\"o0040eteojl\",\"s00409zgtxb\",\"e0040msf5ax\",\"w0040q911vl\",\"n0040vz3f1s\",\"q0040znz33q\",\"f0040knb921\",\"p0040u698oi\",\"z0040z48d8d\",\"b0040j8nmat\",\"h0040tkjt9k\",\"o0040efk0tp\",\"m0040ot3s4f\",\"v0040ljovsv\",\"c0040vu1q5j\",\"x0040e2ipkp\",\"f0040z8lb20\",\"t0040y5lcoe\",\"r0040nzae4d\",\"r0040ijqif8\",\"a0040eu0z3f\",\"h0040oxh68j\",\"i00408n4vp8\",\"j0040so9lfn\"],\"clips_ids_country\":[\"i3300wbuish\",\"y3300cgvcpw\",\"i3300rnrcod\",\"z3300deugf0\",\"v3300sy9l2s\",\"e3300trbdhm\",\"g3300033sku\",\"z33000d44aw\",\"w33007a909h\",\"s3300edjznd\",\"g3300b0sbao\",\"w3300w81qh3\",\"r3300p7cuu6\",\"r3300065111\",\"z3300yom0o2\",\"b3300nsln8p\",\"l3300ee5vnk\",\"y0040slzden\",\"x00400vsml4\",\"k0040d3m6hx\",\"h0040n7z71a\",\"h0040ppk178\",\"u0040voeo3g\",\"z0040bmyayu\",\"h00402fxv1f\",\"s00402yawlk\",\"w0040oy1olx\",\"y004058p3gy\",\"d0040l8mi60\",\"a0040a0bjbt\",\"r0040asbsyt\",\"h0040xe37p1\",\"a0040q43hs7\",\"l32804psbkd\",\"c32809tyum3\",\"y3280i00c6c\",\"x3280tash88\",\"c3280lve5cd\",\"j3280n0udc0\",\"c3280lnbqqn\",\"z32806zwqcx\",\"o3280ufr7rl\",\"x3279yzftno\",\"z3279j2wx4d\",\"r3279pfnxhs\",\"u3279dx14d8\",\"b32791qyg9d\",\"m3279n4qpt2\",\"v3279o62lyb\",\"j32798lxh3z\",\"r3279iymaeb\",\"p3279tu3irh\",\"v3278a8iu6d\",\"n32782axc6g\",\"s32782x8dso\",\"w3278129p3d\",\"m3278eye5ch\",\"t3278ygroby\",\"a3278c9ohzq\",\"e3278ocf3nb\",\"j3278zbz8ap\",\"m32782s280g\",\"t3278wkslfr\",\"i0040y618wy\",\"v004040sb5x\",\"x0040jgmtvg\",\"s0040oyx25x\",\"r0040f9saji\",\"a0040ll3vv0\",\"p0040xkqiks\",\"m0040lr4jhq\",\"m0040xz5gyx\",\"l0040igi4ft\",\"k0040d9hjfy\",\"r0040w6vuv6\",\"h00406xh3mc\",\"x004034mwl4\",\"w00400ahsdz\",\"g004009c8sv\",\"c0040jrvl1m\",\"l00404r7x5h\",\"h32777mz5v2\",\"k3277z0qece\",\"e3277pz2ibr\",\"t32776gg729\",\"v3277fibovg\",\"s327792n7qe\",\"w3277yrwq6j\",\"n3277j6jonq\",\"e3277sczeji\",\"l3277eoy7cc\",\"e3277ik7dts\",\"r3277p8zjo6\",\"q3277orfshi\",\"n3277qkhbgo\",\"n32773o2wfy\",\"r3277q5x7lj\",\"v32761zmpqq\",\"i32763lrbk6\",\"v3276ke8lpp\",\"z3276k1xrvo\",\"t32769kavcf\",\"n3276jd7es8\",\"n3276you5b5\",\"t3276yme1ht\",\"r3276f0c51t\",\"d32766taun4\",\"q32766sw6tu\",\"t3276bwmx9y\",\"t32762c19ly\",\"k32765kobi0\",\"y3276x9dt19\",\"s327673hn08\",\"s3276lg8adb\",\"v3276780246\",\"y3276cyu6pd\",\"n32762b8064\",\"w3276y2gcji\",\"h3276a1o3l3\",\"c3276lw4mgr\",\"h3276gugpsq\",\"w3276qk5vd2\",\"n3276p4oz0t\",\"d3276tutl67\",\"q32763mdyhf\",\"m3276isewzb\",\"e3276kxjyov\",\"c3276i4vhhv\",\"o3276b9wfby\",\"r3276kxjsgi\",\"d32762hqpgp\",\"h3276qb3qw1\",\"b327661pvhg\",\"p3276hk3o40\",\"n3275x6blq6\",\"u3275bzl3it\",\"s3275ty49u0\",\"b32757b04j9\",\"a004025kipk\",\"v0040up9h54\",\"n0040wc1695\",\"f0040ckkkqc\",\"s0040zonwyz\",\"w00402vzl8s\",\"w0040t5e7iy\",\"z004086p0we\",\"w0040zx0nta\",\"d00400mkqzn\",\"c0040bb7zb8\",\"d0040zoptcx\",\"j0040cjfor7\",\"b0040h2t8tl\",\"r0040f0ne3c\",\"r0040o3iw34\",\"v0040a4f18t\",\"r00406v9kc5\",\"d0040tvi1il\",\"i0040j6yo3b\",\"n0040t9jwfk\",\"m0040otmug6\"],\"leading_actorX\":[\"XingZhaoLin\",\"Zhu Xudan\",\"Yi Daqian\",\"Tian Yitong\"],\"online_language\":[\"12\",\"14\",\"1491937\",\"1491963\",\"1491973\",\"1491988\",\"1491994\",\"40\",\"54\",\"8229847\",\"9\"],\"pay_status\":6,\"default_pay_status\":6,\"new_pic_hz\":\"http://puui.wetvinfo.com/vcover_hz_pic/0/air11ooo2rdsdi31630924705741/0\",\"new_pic_vt\":\"http://puui.wetvinfo.com/vcover_vt_pic/0/air11ooo2rdsdi31630924696150/0\",\"new_pic_vt_country_calc\":\"http://puui.wetvinfo.com/vcover_vt_pic/0/air11ooo2rdsdi31630924696150/0\",\"new_pic_hz_country_calc\":\"http://puui.wetvinfo.com/vcover_hz_pic/0/air11ooo2rdsdi31630924705741/0\",\"episode_all\":30,\"episode_updated_country\":30,\"holly_online_time\":\"Full\",\"entertainmentShow\":false},\"videoList\":[{\"duration\":\"2835\",\"pic_332_187\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/332\",\"vuid\":\"0\",\"default_pay_status\":null,\"pay_status\":null,\"head_time\":0,\"publish_date\":\"2010-01-01 00:00:00\",\"cover_list\":[\"air11ooo2rdsdi3\"],\"c_category_value\":10470,\"tail_time\":0,\"aspect\":1.7777777910232544,\"pic_640_360\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/640\",\"imgtag_ver\":[],\"state\":4,\"is_area_limit\":0,\"type\":2,\"episode\":\"01\",\"title\":\"EP1: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/496\",\"vid\":\"v0040pr89t9\",\"online_language\":[\"1491937\",\"8\",\"1491963\",\"1491973\",\"1491988\",\"12\",\"14\",\"1491994\",\"54\",\"9\",\"40\",\"8229847\",\"35\"],\"isLong\":true},{\"tail_time\":160,\"aspect\":1.7777777910232544,\"pic_640_360\":\"https://newpic.wetvinfo.com/vpic_cover/r0040wccvd6/r0040wccvd6_hz.jpg/640\",\"imgtag_ver\":[],\"state\":4,\"is_area_limit\":0,\"type\":2,\"episode\":\"02\",\"title\":\"EP2: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/r0040wccvd6/r0040wccvd6_hz.jpg/496\",\"vid\":\"r0040wccvd6\",\"online_language\":[\"1491937\",\"8\",\"1491963\",\"1491973\",\"1491988\",\"12\",\"14\",\"1491994\",\"54\",\"9\",\"40\",\"8229847\",\"35\"],\"pic_332_187\":\"https://newpic.wetvinfo.com/vpic_cover/r0040wccvd6/r0040wccvd6_hz.jpg/332\",\"duration\":\"2717\",\"vuid\":\"0\",\"default_pay_status\":null,\"pay_status\":null,\"head_time\":104,\"publish_date\":\"2010-01-01 00:00:00\",\"cover_list\":[\"air11ooo2rdsdi3\"],\"c_category_value\":10470,\"isLong\":true},{\"title\":\"EP3: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/d00409i1e8l/d00409i1e8l_hz.jpg/496\",\"vid\":\"d00409i1e8l\", ...

You can get the thumbnail from og:image too

When checking this url (https://wetv.vip/en/play/air11ooo2rdsdi3-Cute-Programmer/v0040pr89t9-EP1-Cute-Programmer), i found a lot of data that we can extract in __NEXT_DATA__ json especially in ['pageProps']['data]. This json also list all video in series. Here's the sample of json['pageProps']['data'] (unformatted) :
{\"videoInfo\":{\"cover_list\":[\"air11ooo2rdsdi3\"],\"c_category_value\":10470,\"tail_time\":0,\"aspect\":1.7777777910232544,\"pic_640_360\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/640\",\"imgtag_ver\":[],\"state\":4,\"is_area_limit\":0,\"type\":2,\"episode\":\"01\",\"title\":\"EP1: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/496\",\"vid\":\"v0040pr89t9\",\"online_language\":[\"1491937\",\"8\",\"1491963\",\"1491973\",\"1491988\",\"12\",\"14\",\"1491994\",\"54\",\"9\",\"40\",\"8229847\",\"35\"],\"pic_332_187\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/332\",\"duration\":\"2835\",\"vuid\":\"0\",\"default_pay_status\":null,\"pay_status\":null,\"publish_date\":\"2010-01-01 00:00:00\",\"head_time\":0,\"isLong\":true,\"isFree\":true},\"coverInfo\":{\"description\":\"After falling in love with genius programmer Jiang Yicheng, Lu Li enrolls into the school he once studied at, and also took up the same major - calculus. Setting Jiang Yicheng as her role model in her heart, she achieves good grades in school. However after graduation, she did not expect that Jiang Yicheng's company does not recruit female employees. Lu Li decides to disguise as a man and enter the company. However, she met difficulty both in dealing with Jiang Yicheng's demands, as well as hiding her identity. Finally with her perseverance, she grabbed hold of an opportunity and managed to come to an agreement with Jiang Yicheng. The two would become a \\\"contract couple\\\" and stay together for one year. Slowly, Jiang Yicheng finds himself falling for Lu Li.\",\"category_map\":[10470],\"type\":2,\"title\":\"Cute Programmer\",\"second_title\":\"Cute Programmer\",\"protagonist_name\":[\"XingZhaoLin\",\"Zhu Xudan\",\"Yi Daqian\",\"Tian Yitong\"],\"director\":\"Wu Qiang\",\"actors\":[],\"imgtag_ver\":{\"0\":{\"text\":\"VIP\",\"color\":\"#FF4A22\"},\"1\":{\"text\":\"Full\",\"color\":\"#FF4A22\"}},\"areaName\":\"China\",\"main_genres\":[\"Romance\"],\"cover_id\":\"air11ooo2rdsdi3\",\"cover_checkup_grade\":4,\"video_ids_country\":[\"v0040pr89t9\",\"r0040wccvd6\",\"d00409i1e8l\",\"v0040mbqp2j\",\"f0040fdl1al\",\"s0040wa144b\",\"o0040eteojl\",\"s00409zgtxb\",\"e0040msf5ax\",\"w0040q911vl\",\"n0040vz3f1s\",\"q0040znz33q\",\"f0040knb921\",\"p0040u698oi\",\"z0040z48d8d\",\"b0040j8nmat\",\"h0040tkjt9k\",\"o0040efk0tp\",\"m0040ot3s4f\",\"v0040ljovsv\",\"c0040vu1q5j\",\"x0040e2ipkp\",\"f0040z8lb20\",\"t0040y5lcoe\",\"r0040nzae4d\",\"r0040ijqif8\",\"a0040eu0z3f\",\"h0040oxh68j\",\"i00408n4vp8\",\"j0040so9lfn\"],\"clips_ids_country\":[\"i3300wbuish\",\"y3300cgvcpw\",\"i3300rnrcod\",\"z3300deugf0\",\"v3300sy9l2s\",\"e3300trbdhm\",\"g3300033sku\",\"z33000d44aw\",\"w33007a909h\",\"s3300edjznd\",\"g3300b0sbao\",\"w3300w81qh3\",\"r3300p7cuu6\",\"r3300065111\",\"z3300yom0o2\",\"b3300nsln8p\",\"l3300ee5vnk\",\"y0040slzden\",\"x00400vsml4\",\"k0040d3m6hx\",\"h0040n7z71a\",\"h0040ppk178\",\"u0040voeo3g\",\"z0040bmyayu\",\"h00402fxv1f\",\"s00402yawlk\",\"w0040oy1olx\",\"y004058p3gy\",\"d0040l8mi60\",\"a0040a0bjbt\",\"r0040asbsyt\",\"h0040xe37p1\",\"a0040q43hs7\",\"l32804psbkd\",\"c32809tyum3\",\"y3280i00c6c\",\"x3280tash88\",\"c3280lve5cd\",\"j3280n0udc0\",\"c3280lnbqqn\",\"z32806zwqcx\",\"o3280ufr7rl\",\"x3279yzftno\",\"z3279j2wx4d\",\"r3279pfnxhs\",\"u3279dx14d8\",\"b32791qyg9d\",\"m3279n4qpt2\",\"v3279o62lyb\",\"j32798lxh3z\",\"r3279iymaeb\",\"p3279tu3irh\",\"v3278a8iu6d\",\"n32782axc6g\",\"s32782x8dso\",\"w3278129p3d\",\"m3278eye5ch\",\"t3278ygroby\",\"a3278c9ohzq\",\"e3278ocf3nb\",\"j3278zbz8ap\",\"m32782s280g\",\"t3278wkslfr\",\"i0040y618wy\",\"v004040sb5x\",\"x0040jgmtvg\",\"s0040oyx25x\",\"r0040f9saji\",\"a0040ll3vv0\",\"p0040xkqiks\",\"m0040lr4jhq\",\"m0040xz5gyx\",\"l0040igi4ft\",\"k0040d9hjfy\",\"r0040w6vuv6\",\"h00406xh3mc\",\"x004034mwl4\",\"w00400ahsdz\",\"g004009c8sv\",\"c0040jrvl1m\",\"l00404r7x5h\",\"h32777mz5v2\",\"k3277z0qece\",\"e3277pz2ibr\",\"t32776gg729\",\"v3277fibovg\",\"s327792n7qe\",\"w3277yrwq6j\",\"n3277j6jonq\",\"e3277sczeji\",\"l3277eoy7cc\",\"e3277ik7dts\",\"r3277p8zjo6\",\"q3277orfshi\",\"n3277qkhbgo\",\"n32773o2wfy\",\"r3277q5x7lj\",\"v32761zmpqq\",\"i32763lrbk6\",\"v3276ke8lpp\",\"z3276k1xrvo\",\"t32769kavcf\",\"n3276jd7es8\",\"n3276you5b5\",\"t3276yme1ht\",\"r3276f0c51t\",\"d32766taun4\",\"q32766sw6tu\",\"t3276bwmx9y\",\"t32762c19ly\",\"k32765kobi0\",\"y3276x9dt19\",\"s327673hn08\",\"s3276lg8adb\",\"v3276780246\",\"y3276cyu6pd\",\"n32762b8064\",\"w3276y2gcji\",\"h3276a1o3l3\",\"c3276lw4mgr\",\"h3276gugpsq\",\"w3276qk5vd2\",\"n3276p4oz0t\",\"d3276tutl67\",\"q32763mdyhf\",\"m3276isewzb\",\"e3276kxjyov\",\"c3276i4vhhv\",\"o3276b9wfby\",\"r3276kxjsgi\",\"d32762hqpgp\",\"h3276qb3qw1\",\"b327661pvhg\",\"p3276hk3o40\",\"n3275x6blq6\",\"u3275bzl3it\",\"s3275ty49u0\",\"b32757b04j9\",\"a004025kipk\",\"v0040up9h54\",\"n0040wc1695\",\"f0040ckkkqc\",\"s0040zonwyz\",\"w00402vzl8s\",\"w0040t5e7iy\",\"z004086p0we\",\"w0040zx0nta\",\"d00400mkqzn\",\"c0040bb7zb8\",\"d0040zoptcx\",\"j0040cjfor7\",\"b0040h2t8tl\",\"r0040f0ne3c\",\"r0040o3iw34\",\"v0040a4f18t\",\"r00406v9kc5\",\"d0040tvi1il\",\"i0040j6yo3b\",\"n0040t9jwfk\",\"m0040otmug6\"],\"leading_actorX\":[\"XingZhaoLin\",\"Zhu Xudan\",\"Yi Daqian\",\"Tian Yitong\"],\"online_language\":[\"12\",\"14\",\"1491937\",\"1491963\",\"1491973\",\"1491988\",\"1491994\",\"40\",\"54\",\"8229847\",\"9\"],\"pay_status\":6,\"default_pay_status\":6,\"new_pic_hz\":\"http://puui.wetvinfo.com/vcover_hz_pic/0/air11ooo2rdsdi31630924705741/0\",\"new_pic_vt\":\"http://puui.wetvinfo.com/vcover_vt_pic/0/air11ooo2rdsdi31630924696150/0\",\"new_pic_vt_country_calc\":\"http://puui.wetvinfo.com/vcover_vt_pic/0/air11ooo2rdsdi31630924696150/0\",\"new_pic_hz_country_calc\":\"http://puui.wetvinfo.com/vcover_hz_pic/0/air11ooo2rdsdi31630924705741/0\",\"episode_all\":30,\"episode_updated_country\":30,\"holly_online_time\":\"Full\",\"entertainmentShow\":false},\"videoList\":[{\"duration\":\"2835\",\"pic_332_187\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/332\",\"vuid\":\"0\",\"default_pay_status\":null,\"pay_status\":null,\"head_time\":0,\"publish_date\":\"2010-01-01 00:00:00\",\"cover_list\":[\"air11ooo2rdsdi3\"],\"c_category_value\":10470,\"tail_time\":0,\"aspect\":1.7777777910232544,\"pic_640_360\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/640\",\"imgtag_ver\":[],\"state\":4,\"is_area_limit\":0,\"type\":2,\"episode\":\"01\",\"title\":\"EP1: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/v0040pr89t9/v0040pr89t9_hz.jpg/496\",\"vid\":\"v0040pr89t9\",\"online_language\":[\"1491937\",\"8\",\"1491963\",\"1491973\",\"1491988\",\"12\",\"14\",\"1491994\",\"54\",\"9\",\"40\",\"8229847\",\"35\"],\"isLong\":true},{\"tail_time\":160,\"aspect\":1.7777777910232544,\"pic_640_360\":\"https://newpic.wetvinfo.com/vpic_cover/r0040wccvd6/r0040wccvd6_hz.jpg/640\",\"imgtag_ver\":[],\"state\":4,\"is_area_limit\":0,\"type\":2,\"episode\":\"02\",\"title\":\"EP2: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/r0040wccvd6/r0040wccvd6_hz.jpg/496\",\"vid\":\"r0040wccvd6\",\"online_language\":[\"1491937\",\"8\",\"1491963\",\"1491973\",\"1491988\",\"12\",\"14\",\"1491994\",\"54\",\"9\",\"40\",\"8229847\",\"35\"],\"pic_332_187\":\"https://newpic.wetvinfo.com/vpic_cover/r0040wccvd6/r0040wccvd6_hz.jpg/332\",\"duration\":\"2717\",\"vuid\":\"0\",\"default_pay_status\":null,\"pay_status\":null,\"head_time\":104,\"publish_date\":\"2010-01-01 00:00:00\",\"cover_list\":[\"air11ooo2rdsdi3\"],\"c_category_value\":10470,\"isLong\":true},{\"title\":\"EP3: Cute Programmer\",\"desc\":null,\"pic_496_280\":\"https://newpic.wetvinfo.com/vpic_cover/d00409i1e8l/d00409i1e8l_hz.jpg/496\",\"vid\":\"d00409i1e8l\", ...

You can get the thumbnail from og:image too

Yep, thanks!

Maybe, you can check the subtitle in subtitle menu

Check with --write-subtitles whether the subtitle file downloaded is actually correct

Check with --write-subtitles whether the subtitle file downloaded is actually correct

Both are correct. Fun fact, loading these files in VLC makes them display 🤔

I've cherrypicked the AES changes in 7a7eeb10053f2765803bb088ab968072dd09254c

Thanks everyone for your great work i noticed an issue with this show it can't merge to mkv
https://wetv.vip/en/play/4hda3k7k9654tzj-Whited-Nighttime/s00306lccr9-EP1

Thanks everyone for your great work i noticed an issue with this show it can't merge to mkv
https://wetv.vip/en/play/4hda3k7k9654tzj-Whited-Nighttime/s00306lccr9-EP1

Can you paste your verbose log?

yes sure
`[debug] Command-line config: ['-vU', 'https://wetv.vip/en/play/4hda3k7k9654tzj-Whited-Nighttime/s00306lccr9-EP1', '--external-downloader', 'aria2c', '--embed-subs', '--remux-video', 'mkv', '--verbose']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.29 [9d339c41e] (win32_exe)
[debug] Python 3.9.7 (CPython 64bit) - Windows-10-10.0.17763-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-06-16-git-5242ede48d-full_build-www.gyan.dev (setts), ffprobe 2022-06-16-git-5242ede48d-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.06.29, Current version: 2022.06.29
yt-dlp is up to date (2022.06.29)
[debug] [wetv:episode] Extracting URL: https://wetv.vip/en/play/4hda3k7k9654tzj-Whited-Nighttime/s00306lccr9-EP1
[wetv:episode] s00306lccr9: Downloading webpage
[wetv:episode] s00306lccr9: Downloading webpage
[wetv:episode] s00306lccr9: Downloading webpage
[wetv:episode] s00306lccr9: Downloading m3u8 information
[wetv:episode] s00306lccr9: Downloading m3u8 information
[wetv:episode] s00306lccr9: Downloading m3u8 information
[wetv:episode] s00306lccr9: Downloading m3u8 information
[wetv:episode] s00306lccr9: Downloading webpage
[wetv:episode] s00306lccr9: Downloading m3u8 information
[wetv:episode] s00306lccr9: Downloading m3u8 information
[wetv:episode] s00306lccr9: Downloading m3u8 information
[wetv:episode] s00306lccr9: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] s00306lccr9: Downloading 1 format(s): 11
[info] Writing video subtitles to: EP1：Whited Nighttime [s00306lccr9].en.vtt
[debug] Invoking hlsnative downloader on "https://subtitle.wetvinfo.com/MWMDp0pODjQ4nz3Fq7Wv-MWuuTAJtJ6ZjeKi2MzO2XUb1V-FEBf_mIPUBZa6qS3C_XvJWSk-RoGsjJd6hi5c_hRBhntDY2mlrNMGHVu2WHZKPeimvJ6rhzSNrwdXsCKe1SVsBO-VNsewelzJKffgoA/s00306lccr9.53012.vtt.m3u8?ver=4"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1
[download] Destination: EP1：Whited Nighttime [s00306lccr9].en.vtt
[debug] File locking is not supported. Proceeding without locking
[download] 100% of 28.91KiB in 00:00
[debug] Invoking hlsnative downloader on "https://apd-vlive.apdcdn.tc.qq.com/wetvdefaultts.tc.qq.com/uwMRJfz-r5jAYaQXGdGnDNa47wxmj-p1Os_O5t_4amE/FLw1rt4-EOaT9o_evr_EyyGWpuZoI03M7YYxB7-gF6o6pxWBi4qZ_Ob_-GIyM6PjTDzfj1ZcSKc3drweRZ-cqaiGkKD78O0QU90EQAZv-NTVcwLXJD8eW_d0kqCIGYvZnju57Te_zfp_FAmZrUVX0b69Nyq0SNYC/s00306lccr9.321003.ts.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Fragment downloads will be delegated to aria2c
[hlsnative] Total fragments: 165
[download] Destination: EP1：Whited Nighttime [s00306lccr9].mp4
[debug] aria2c command line: aria2c -c "--console-log-level=warn" "--summary-interval=0" "--download-result=hide" "--http-accept-gzip=true" "--file-allocation=none" -x16 -j16 -s16 "--allow-overwrite=true" "--allow-piece-length-change=true" --header "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Safari/537.36" --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8" --header "Accept-Language: en-us,en;q=0.5" --header "Sec-Fetch-Mode: navigate" "--check-certificate=true" "--remote-time=true" "--show-console-readout=true" "--auto-file-renaming=false" "--file-allocation=none" "--uri-selector=inorder" -i "EP1：Whited Nighttime [s00306lccr9].mp4.part.frag.urls"
[aria2c] Downloaded 173877628 bytes 1.5MiB]
[download] 100% of 165.82MiB in 00:05
[VideoRemuxer] Remuxing video from mp4 to mkv; Destination: EP1：Whited Nighttime [s00306lccr9].mkv
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:EP1：Whited Nighttime [s00306lccr9].mp4" -map 0 -dn -ignore_unknown -c copy -movflags "+faststart" "file:EP1：Whited Nighttime [s00306lccr9].mkv"
[debug] ffmpeg version 2022-06-16-git-5242ede48d-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.3.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      57. 27.100 / 57. 27.100
libavcodec     59. 33.100 / 59. 33.100
libavformat    59. 25.100 / 59. 25.100
libavdevice    59.  6.100 / 59.  6.100
libavfilter     8. 41.100 /  8. 41.100
libswscale      6.  6.100 /  6.  6.100
libswresample   4.  6.100 /  4.  6.100
libpostproc    56.  5.100 / 56.  5.100
Input #0, mpegts, from 'file:EP1：Whited Nighttime [s00306lccr9].mp4':
Duration: 00:28:04.99, start: 0.083322, bitrate: 825 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720, 24 fps, 24 tbr, 90k tbn
Stream #0:1[0x101]: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 29 kb/s
Output #0, matroska, to 'file:EP1：Whited Nighttime [s00306lccr9].mkv':
Metadata:
encoder         : Lavf59.25.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1280x720, q=2-31, 24 fps, 24 tbr, 1k tbn
Stream #0:1: Audio: aac (HE-AAC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 29 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-1.0 size=       1kB time=00:00:00.00 bitrate=N/A speed=   0x
[matroska @ 000001f57299be00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 000001f57299be00] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame=  151 fps=0.0 q=-1.0 Lsize=     429kB time=00:00:06.40 bitrate= 549.7kbits/s speed=2.61e+03x
video:420kB audio:30kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
ERROR: Postprocessing: Conversion failed!
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 3231, in process_info
File "yt_dlp\YoutubeDL.py", line 3401, in post_process
File "yt_dlp\YoutubeDL.py", line 3383, in run_all_pps
File "yt_dlp\YoutubeDL.py", line 3362, in run_pp
File "yt_dlp\postprocessor\common.py", line 25, in run
File "yt_dlp\postprocessor\common.py", line 126, in wrapper
File "yt_dlp\postprocessor\ffmpeg.py", line 555, in run
File "yt_dlp\postprocessor\ffmpeg.py", line 358, in run_ffmpeg
File "yt_dlp\postprocessor\ffmpeg.py", line 313, in run_ffmpeg_multiple_files
File "yt_dlp\postprocessor\ffmpeg.py", line 351, in real_run_ffmpeg
yt_dlp.postprocessor.ffmpeg.FFmpegPostProcessorError: Conversion failed!`

another issue am having am not able to download full series by using your exact command
yt-dlp -F https://wetv.vip/play/air11ooo2rdsdi3-Cute-Programmer
`
[debug] Command-line config: ['-F', 'https://wetv.vip/play/air11ooo2rdsdi3-Cute-Programmer', '--verbose']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.29 [9d339c41e] (win32_exe)
[debug] Python 3.9.7 (CPython 64bit) - Windows-10-10.0.17763-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-06-16-git-5242ede48d-full_build-www.gyan.dev (setts), ffprobe 2022-06-16-git-5242ede48d-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] [WeTvSeries] Extracting URL: https://wetv.vip/play/air11ooo2rdsdi3-Cute-Programmer
[WeTvSeries] air11ooo2rdsdi3: Downloading webpage
[download] Downloading playlist: Cute Programmer
[WeTvSeries] Playlist Cute Programmer: Downloading 30 videos of 30
[download] Downloading video 1 of 30
ERROR: no suitable InfoExtractor for URL /en/play/air11ooo2rdsdi3-Cute-Programmer/v0040pr89t9-EP1-Cute-Programmer
File "yt_dlp_main_.py", line 17, in
File "yt_dlp_init_.py", line 940, in main
File "yt_dlp_init_.py", line 932, in _real_main
File "yt_dlp\YoutubeDL.py", line 3281, in download
File "yt_dlp\YoutubeDL.py", line 3257, in wrapper
File "yt_dlp\YoutubeDL.py", line 1422, in extract_info
File "yt_dlp\YoutubeDL.py", line 1431, in wrapper
File "yt_dlp\YoutubeDL.py", line 1521, in __extract_info
File "yt_dlp\YoutubeDL.py", line 1648, in process_ie_result
File "yt_dlp\YoutubeDL.py", line 1763, in __process_playlist
File "yt_dlp\YoutubeDL.py", line 1431, in wrapper
File "yt_dlp\YoutubeDL.py", line 1804, in __process_iterable_entry
File "yt_dlp\YoutubeDL.py", line 1598, in process_ie_result
File "yt_dlp\YoutubeDL.py", line 1424, in extract_info
File "yt_dlp\YoutubeDL.py", line 971, in report_error
File "yt_dlp\YoutubeDL.py", line 903, in trouble
repeat until 30
[download] Finished downloading playlist: Cute Programmer
`

[debug] yt-dlp version 2022.06.29 [https://github.com/yt-dlp/yt-dlp/commit/9d339c41e25b1a77495cebe3fbdc95e2cb837776] (win32_exe)

You used the binary, use the current master to get the patch

[debug] yt-dlp version 2022.06.29 [https://github.com/yt-dlp/yt-dlp/commit/9d339c41e25b1a77495cebe3fbdc95e2cb837776] (win32_exe)

You used the binary, use the current master to get the patch or wait next release

i'm actually using master i just like making a build

I can reproduce it,  it's my bad. I ran the series tests, but I didn't try downloading it
I'll look into it

I can reproduce it, it's my bad. I ran the series tests, but I didn't try downloading it
I'll look into it

Thank you very much i can confirm the fix works great, also by using vip cookies i can get 1080p

How to download the VIP video using cookies?


Like by location

Is there any way to like by location?

I would love!!

Hello! You need to use script like_medias_by_location.py in examples folder


added docs

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[x] 📝 Documentation
[ ] 🇺🇸 Translation
[ ] 🗑 Chore

Quick note about naming.
Project name should be ArTiver instead of Tiver - it requires change. I know, that Discord server name may be a little bit confusing.
Also, next time branch name should be more descriptive - It contains only api docs, so something like godocs / apidocs would be better

According to talk on Discord, I'm closing this PR due to creator request


Sony-KE-48A9 not supported?

Adapter does not work with Sony-KE-48A9, only sony-bravia.0.info.powerStatusActive is shown correct.
Is my Sony-KE-48A9 not supported by the adapter?
Rgds
Uwe Loyal

Is Simple IP Control enabled?
https://pro-bravia.sony.net/develop/integrate/ssip/overview/index.html

Yes!
Made some own JavaScrits, which works fine.
Used Sony developer Document as Info.
Mit freundlichen Grüßen
Uwe Loyal
Am 12. Dez. 2021, 21:41 +0100 schrieb Thomas Braune @.***>:

Is Simple IP Control enabled?
https://pro-bravia.sony.net/develop/integrate/ssip/overview/index.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Run kubectl command encountered failed get token issue by Azure CLI

Describe the bug
We are using AKS, which is also integrated with the Azure Private DNS Zone. We can confirm there is no network blocking, as we tested the network connection between the AKS Cluster and the Private DNS Zone.
When we accessed the cluster using the AKS connect command and tried to perform some operations on AKS with kubectl, we encountered an error indicating that kubectl could not retrieve the Azure CLI credentials.
Currently, this issue is blocking our team from performing some operational tasks, although occasionally we can run them without any issues.
We also raised a ticket with Microsoft support, and they suggested that the issue might be related to the Azure CLI. Therefore, I raised the question on this public GitHub repository.
Related command
What actions I performed:
No error for theses commands:
az login
az account set --subscription <sub_id>
az aks get-credentials --resource-group <rg_name> --name <aks_name> --overwrite-existing
kubelogin convert-kubeconfig -l azurecli
Not work commands:
kubectl get pod -A
kubectl get ns
Errors
Error: failed to get token: expected an empty error but received: AzureCLICredential: exit status 1
Unable to connect to the server: getting credentials: exec: executable kubelogin failed with exit code 1
Issue script & Debug output
Error: failed to get token: expected an empty error but received: AzureCLICredential: exit status 1
Unable to connect to the server: getting credentials: exec: executable kubelogin failed with exit code 1
Expected behavior
Can output information by kubectl
Environment Summary
azure-cli                         2.63.0
core                              2.63.0
telemetry                          1.1.0
Dependencies:
msal                              1.30.0
azure-mgmt-resource               23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\UserNameA.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
PS C:\Users\UserbNameA> kubectl version
Client Version: v1.28.7
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.3
Additional context
No response

Thank you for opening this issue, we will look into it.

Hey @iop45636, based on the information you provided, it's hard to tell why the command cannot obtain the token. You may need to provide the kubeconfig files before and after the conversion, and the logs of the az aks get-credentials/kubelogin/kubectl commands. These are sensitive information, so please do not provide them in this issue, contact support instead.

I faced this issue before, not sure why conversation is failed, but my workaround is:

DO NOT execute kubelogin convert-kubeconfig -l azurecli
Execute kubelogin remove-tokens
Use az aks get-credentials
Try any kubectl command, it will ask you to log in with Azure account (if AKS configured with AAD method)
Good to go.


[Bug] Unable to import from require("@shopware-pwa/nuxt-module/api-defaults").default

What happened?
In my Shopware PWA environment I've been modifying the shopware-pwa.config.js file following the docs by adding the following:
const apiDefaults = require("@shopware-pwa/nuxt-module/api-defaults").default;

This worked a few days ago. But this morning I needed to rebuild my app, have been playing around with wrong NPM dependencies, Webpack stuff: I threw away my node_modules/ folder and yarn.lock file and reinstalled by running yarn install. Right afterwards, I bumped into the Webpack (Friendly Error) that the dependency @shopware-pwa/nuxt-module/api-defaults could not be found.
The path was there. It worked days before. So I'm suspecting something changed underneath in between. I've checked git blame on the VSF2 repository, I've dived into dependencies, I've upgraded Node 16 and downgraded it. Nothing worked.
I just wanted to post this here, so that others that might bump into the issue, could respond as well.
The quick workaround for me is to move the apiDefaults to nuxt.config.js instead:
import apiDefaults from "@shopware-pwa/nuxt-module/api-defaults"

Steps To Reproduce
No response
Is there an existing issue for this?

[X] I have searched the existing issues

Version
Canary (generated by CLI)
Which element is affected?
nuxt-module
Environment
- OS:
- Node:
- Shopware API:
- Shopware PWA version:

Relevant log output
No response

I don't have this problem with a project using version 1.5.2 but I do have it on 1.5.3.
BTW, the mentioned workaround works nicely


[WIP] Feature/fb exceptions

Introduce Expected<T> similar to ptal/expected, but not using boost.

Expected<T> helps:

We can assume functions that returns this type may have invalid value.
We cannot forget to catch exceptions.

Each exception should derive:

exception::Critical

Let users to report this bug.

`exception::WontFix
exception::HelpWanted

Currently, it is for exception::NotImplementedException

exception::ConfigError (some more clear name?)

It is due to mistake of user input.
If any other types are needed, please tell me.

There are leaks same as current develop branch. (at processTransaction::sign())
toConsensusEvent() has changed with Expected<T>. I cannot find some errors with this change, so I want to merge with develop. Could you review, someone?.


Allowed channel to be integer as string

If used on frameworks like Laravel, channel is stored in .env file and provided to controller by config file. In this case, although in .env is integer e.g.
GO_SMS_CHANNEL=1234
, it is parsed as string
$sms->setChannel(config('gosms.channel')); // config(...) returns string
By this pull I'm parsing this string to int and then comparing thats int string value to the int value itself = in config is stored just number

What about is_numeric?

Not a good validation as is_numeric can accept decimal values or xxxExx numbers as truish.


Refactor connectivity of higher order grids

This will become part of #62

Merging this into #62 now


Successful password change action should trigger login flow?

Currently in CAS 5.2 after a user successfully changes their password they are redirected to the normal login screen to re-enter the password they just created in order to log in. Our business rules (and how we have it configured with CAS 4) is to send the user through the login flow with their new credentials as if they had specified the new password on the login form, without actually sending them there.
Should this be the behavior of base CAS?
If so I'll start work on a PR, otherwise I'll work to adapt the flow via an add-on (and you can close this).

I think that's perfectly reasonable. I would say either option is somewhat common on average and I would welcome the change provided you also allow a toggle that can flip the behavior in either direction. Keeping the default as is, of course to play nice with what exists out there. Do please file the PR when you find the chance, and as always, thank you very much for stepping up!

I'm working on this but ran into a roadblock and wanted to get feedback.
Because the login and pswdreset flows are isolated (one is not a subflow of the other) the only ways for pswdreset to communicate the credential with login are:

url params (not the best place to store a password)
session scope (feels super hacky)

The proper way forward is to make pswdreset a subflow of login allowing passing in flow scope (assuming I can kickoff a subflow from a link... TBD).
(This isn't a problem for the change during warning flow since that lives in login)

Without knowing too much about the details of the subflow, I can tell you that at least right now that is the best option. (There may be better ones, don't know yet) Neither 1 and 2 ar acceptable. 1 for obvious reasons and 2 because session state is transcoded and stored on the client, (though encrypted and signed).

Well that makes it easy. I'll see what I can come up with.


Update netty-codec, ... to 4.1.69.Final

Updates

io.netty:netty-codec
io.netty:netty-transport-native-epoll
io.netty:netty-transport-native-kqueue

from 4.1.68.Final to 4.1.69.Final.
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.netty" } ]

labels: library-update

Superseded by #78.


Write Best-Effort / Napkin Math approximation of Min. Cost of Known Attack metric for several attacks.

Suggested Improvement
We can do a "napkin math" Min. Cost of Known Attack for a few known attacks.
For "napkin-math" style metrics, we can use these data sources / extrapolations:

historical Zcash mining revenue to provide PoW attack cost estimates.
estimate size of ZEC stake based on a model that assumes greedy staking participants, 0 volatility, and 0 cost for staking/unstaking and/or exchange. We then assume participants seek to maximize yield against a "global average yield" value. From all of those assumptions, we can work backwards to determine how much ZEC would be staked for a given amount of block rewards to stakers.

The second bullet here requires a fair amount of documentation, deserving its own ticket. (I have done this napkin math in the past in personal notes.)
I hope it's obvious that the approach is extremely speculative relying on many unrealistic assumptions and projections, so we cannot treat the results as anything other than a "smoke-test". What I mean is that if the result says "the min cost of this attack is estimated at $10" that would be concerning. If it is $10,000,000 dollars, however, we shouldn't place a lot of confidence on that number as a security metric, and instead conclude simply "this approach may be feasible".

BTW- this kind of projection and analysis was performed for Ethereum prior to their transition. One high-quality example is Ethereum 2.0 Economic Review: An Analysis of Ethereum’s Proof of Stake Incentive Model, by Tanner Hoban and Thomas Borgers. We're very unlikely to achieve that level of rigor or thoroughness here.

More on the "predicted amount of ZEC" model: the more sophisticated that model gets, the more it gets into the messy world of macro-economics-like analysis, IIUC.
For example, if we replace the "general yield rate" with specific known alternative yield rates, such as other PoS of Defi Systems then assume some of them adjust their rates or issuance schedules dynamically in response to competition, it starts to get really complex. However, this seems like a crucial area for general cross-ecosystem PoS security (and ultimately bleeds into stuff like central banking policy). Weird trajectory.
One step in this direction is Competitive equilibria between staking and on-chain lending, by Tarun Chitra.


Fix link to blog post

Permalink for welcom-to-gitea changed to include year/month

We have dropped the line breaks for all documents, so keep them like they are.

LGTM, squash commits within the merge.

LGTM,


feat(config): transforms for index.html

This PR introduced a new config indexHtmlTransforms which allows plugins and vite.config.js to transform the index.html for various needs. (not sure about the naming though, feel free to leave comments)
For example, it would be useful for these plugins(probably not exist yet, just giving the context

vite-plugin-meta
vite-plugin-sitemap
vite-plugin-pwa
vite-plugin-minify
etc.

the following config replaces page's title to Vite Playground
// vite.config.js

export default {
  indexHtmlTransforms: [
    {
      flush: 'pre', // or 'post'
      transform({ code, isBuild }) {
        return code.replace(/<title>.*?<\/title>/, '<title>Vite Playground</title>')
      }
    }
  ]
}

flush also provides the ability to control when should the transforms apply (before Vite's processing or after)
Resolves #528, #739
Related https://github.com/vitejs/vite/issues/639, https://github.com/vuejs/vitepress/pull/77#issuecomment-687076258

@knightly-bot build this


Add PlainMatrix and SecureMatrix

I was wondering about 2D simulations and thought, that it should not be so difficult to add PlainMatrix and SecureMatrix based on currently existing PlainVector and SecureVector, this is my try.
I pinned OpenFHE_jll to v1.1.2 to let tests run.

Unfortunately, the concept used in the previous commits is not useful, because of the extremely bad efficiency. I tried to build a secure matrix simply combining many secure vectors as rows of the matrix, but e.g. for 4040 Matrix it's necessary to use 40 SecureVector. 4040 matrix could be fit in a single SecureVector with dimensional of the ring more than 3200. In case of using 40 such vectors to hold a single matrix, that could fit in a single all computations become 40 times slower. The solution could be to decrease a ring dimension for these vectors used in a matrix, but due to the security reason it's almost impossible. So as a next step I will try to find a way to fit a matrix in a single vector, simply fusing all rows together and define all necessary arithmetical operations on it.

Unfortunately, the concept used in the previous commits is not useful, because of the extremely bad efficiency. I tried to build a secure matrix simply combining many secure vectors as rows of the matrix, but e.g. for 40 * 40 Matrix it's necessary to use 40 SecureVector. 40 * 40 matrix could be fit in a single SecureVector with dimension of the ring more than 3200. In case of using 40 such vectors to hold a single matrix, that could fit in a single, all computations become 40 times slower. The solution could be to decrease a ring dimension for these vectors used in a matrix, but due to the security reason it's almost impossible. So as a next step I will try to find a way to fit a matrix in a single vector, simply fusing all rows together and define all necessary arithmetical operations on it.

Thanks, very interesting findings. Please make sure that you record your measurements such that we can use them in a publication or talk.

It might be worthwhile to search the Discourse for terms related to matrix: https://openfhe.discourse.group/search?q=matrix
The first few results seem interesting, but also indicate that it might be a non-trivial goal to achieve (at least if trying to do it efficiently).

It might be worthwhile to search the Discourse for terms related to matrix: https://openfhe.discourse.group/search?q=matrix
The first few results seem interesting, but also indicate that it might be a non-trivial goal to achieve (at least if trying to do it efficiently).

Thanks for the idea! I will record all results!

Is this still relevant? I lost track whether this is already implemented in SA.jl or not...


Proposal: sh(" ...") as alias for sh.bash("-c", " ...")

Using sh extensively I often find myself having to use the sh.bash("-c", "<cmd> ..."). Although the sh.<cmd> interface is great initially for convenience, I often find myself adding the full command directly, whether for easier consistency when testing or due to limitations such as commands that contain a special character (-, ., etc). Indeed it's possible to bash = sh.bash.bake("-c") which is what I tend to do instead, but it would be quite convenient if this was supported by default as a contrib command that is accessible directly from the callable interface, and could potentially be a relatively simple interface (e.g. a __call__ implementation). Thanks for the great project!

Is the request something like this?
from sh.contrib import bash
bash.ls() # runs bash -c ls

Thank you for your prompt reply! Yes exactly, the only extra I would add is being able to call directly - e.g:
from sh.contrib import bash
bash("command-with-dash [...]") # runs bash -c <cmd> [...] directly

Ok, I would merge it if you (or someone) made a PR. Here's the git contrib command to use as a template https://github.com/amoffat/sh/blob/develop/sh.py#L3467-L3471

Sounds good @amoffat - added #736 with functionality discussed:

Let me know if further changes requred - thanks!


Investigate resizing / displaying large videos

https://mux.com/

Here's my Foundation profile for reference. Seems pretty high quality with low latency. I see they're using mux.com for poster in the video tag but not exactly sure what they're doing.
https://foundation.app/mikey


Extension log level is not persisted across reload

Testing #167384

Change the log level for an extension that uses the extension logging API
Reload the window
🐛 The extensions log level will be reset to info.

Actually, it seems that the log level is persisted, but it doesn't show correctly in the "Set Log Level..." quick pick.

Nope, I take it back. I checked the log level via the API and it is not persisted. Though somehow, I see both info and debug getting logged even though the log level after reload is info.

This is expected that extension log level changes are not persisted across reloads.

I don't think this is a drop in replacement for extensions that currently use a setting then. What if I want to capture extension activation trace logs?

There is a command line arg supported for such cases - code --log vscode.git:trace this sets log level to trace by default for git extension

Agreed. It is nice to have. But I think this is not often asked. I see it is needed, if you want to reload/restart an extension with verbose log level. In that case, we can ask to restart VS Code from CLI with necessary log level. I will open as a feature request and tackle it if often asked for.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Another way to achieve this would be to allow an extension to set it's own log level when creating the output channel.

I actually ran in a comparable problem: I have a setting for LSP clients that let users configure the granularity of the trace level messages. Valid values are for example: off, 'message, 'verbose, json, ...
Now if a user changes the setting from off to verbose still nothing will show up in the channel since it log level is still set to debug. So to enable logging now for LSP clients the user needs to:

change a VS Code setting
Use a command to enable tracing

It would be nice if I could set the log level programmatically so that I can set it to trace when the user changes the setting.

@sandy081, in an earlier post you said the following:

For eg.,"log-level": "vscode.git:trace" this entry will enable log level to trace for vscode.git extension. You have to restart VS Code after setting it.

I tried this using VS Code 1.74.2 on a Mac and it doesn't seem to have any effect. I thought this might be because git doesn't do any Debug or Trace level logging. However, the git log itself lists the log level, and even after restarting VS Code with the log-level set in the argv.json file as you suggested, the git log shows this:
2022-12-28 01:59:49.816 [info] Log level: Info

@sophodoros It worked for me. Did you restart VS Code after updating that configuration?

@sandy081, yes, I did restart VS Code several times. I was testing with the Pseudo Language Language Pack and the only way VS Code would switch between English and the pseudo language was for me to change the locale in argv.json and restart VS Code. So, I know VS Code was picking up changes from argv.json.
However, to verify this I tried it one more time and... setting "log-level": "vscode.git:trace" now works. I have no idea why it wasn't working before and now it works, but clearly I must have goofed somewhere. Sorry to bother you, and thanks for your quick response.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Filed separate issue https://github.com/microsoft/vscode/issues/170450 for the API request.

🎉

🎉


DOC/MNT: Remove dead code. Update readme. Update changelog

Current coverage is 92.48% (diff: 100%)

Merging #22 into master will not change coverage

@@             master        #22   diff @@
==========================================
  Files             2          2
  Lines           213        213
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            197        197
  Misses           16         16
  Partials          0          0

Powered by Codecov. Last update 6e4053e...8dfad12