Accept user .ssh configuration

It will be nice if go-sshtools can read .ssh config so no other configration will be needed if user already have connections configured.

I wrote a package which is doing exactly that - https://github.com/glaucusio/ssh/tree/master/sshfile.
While the main ssh package is not finished yet, maybe you could be able to integrate it with this package and have some hybrid solution.


how can we get inner center for all gemetry types

I want to get inner center for all geometry types, but I found that ol4 dosen't have these functions, except polyon type. how can I do that?

our project also need it. thank you

For a point, the center is the point itself, right? And where would the 'inner center' of a line be?

Average of the extent?

i mean that a function likes getCentroid in 2.x.....，if i use average of the extent,  the center of a concave polygon is outside the feature......

@supermap-gaoziyang We have getInteriorPoint() for polygons, you don't need such a function for points, and we have getCoordinateAt(0.5). And we have counterparts for those for all multi geometry types.
That said, I'm closing this.


Issue with k8s.io/docs/concepts/configuration/assign-pod-node/

This is a Bug Report

Problem:
Potential Typo. Versions > 1.1 are referenced.
Proposed Solution:
Update versions in docs.
Page to Update:
https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#interlude-built-in-node-labels

Kubernetes Version: v1.14
Additional Information: It looks like this occurs 3 times. v1.4 is called out twice, and v1.2 is called out once. It seems like those versions aren't stable yet based on the published documentation, so I'm assuming it might be a typo.
Forgive this if I'm wrong :) Have a good day Kubernetes team!

Node affinity ought to use a Hugo feature state-shortcode so that the page follows the website style guide.
It's stable since Kubernetes v1.6 so the shortcode would look like:
{{</* feature-state for_k8s_version="v1.6" state="stable" */>}}

/assign

/kind bug

Looks like this is fixed, via #14271.
/close


Adding test generator requirements and evaluation criteria

Summary: This pull request updates the project's README to include more detailed information about the requirements for the test generator and the evaluation criteria for generated tests.

you may want to remove/rename the old section if not needed anymore.

Sajad hi! Thank you for the comments. Yes, indeed, there was a repetition and removed it. Now requirements for test cases are separated from test generators.


spinel-cli: Add router timing commands.

Adds support for routerselectionjitter, routerdowngradethreshold, and masterkey to fix the slew of ncp-sim failures from recent thread-cert test updates.

Current coverage is 69.60% (diff: 81.25%)

Merging #705 into master will decrease coverage by 0.65%

@@             master       #705   diff @@
==========================================
  Files            97        101      +4
  Lines         13688      15231   +1543
  Methods        1883       2074    +191
  Messages          0          0
  Branches       1605       1799    +194
==========================================
+ Hits           9617      10602    +985
- Misses         3578       4056    +478
- Partials        493        573     +80

Powered by Codecov. Last update 383d078...dd82166


Help Wanted: Self hosted runner failing

Hi @Texniq and @dwalkes, I am getting fails on my runner for this assignment and I have followed the instructions accordingly. @Texniq  did you have to do any extra configs for the runner?

?

Hi, @mzukisimakaluza!
I don't have any extra configuration for runner.
It looks like the docker container can't reach github. Please check
connection to github.com from containers. Command may looks like:
docker run alpine ping github.com
чт, 30 июн. 2022 г. в 09:48, Mzukisi @.***>:

Hi @Texniq https://github.com/Texniq and @dwalkes
https://github.com/dwalkes, I am getting fails on my runner for this
assignment and I have followed the instructions accordingly. @Texniq
https://github.com/Texniq did you have to do any extra configs for the
runner?
[image: Screenshot from 2022-06-30 08-45-34]
https://user-images.githubusercontent.com/106802377/176610884-707e4978-15ea-461c-a36f-f5a7361d4019.png
?
—
Reply to this email directly, view it on GitHub
https://github.com/cu-ecen-aeld/assignment-1-Texniq/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5CWE5KR4WVDJGCA3YMO2TVRU7MJANCNFSM52IGHE6Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
C уважением,
Евгений
@.***


Update instructions to download Drifty

This takes care of #114

@poshi1865 This PR will be merged after the release is made with the update of downloading YouTube videos.

@SaptarshiSarkar12 Okay cool, so I don't have to do anything as of now to make sure it's mergeable right?

@SaptarshiSarkar12 Okay cool, so I don't have to do anything as of now to make sure it's mergeable right?

Yes as of now.

@poshi1865 The user will not need to download yt-dlp manually as I have added that exe file as a part of the jar file as well as the cli exe file and runs quite well.

@SaptarshiSarkar12 Okay


Kotlin port

We're finally ditching Xtend.

[x] net.clgd.ccemux.*
[x] net.clgd.ccemux.emulation.*
[x] net.clgd.ccemux.emulation.tror.*
[x] net.clgd.ccemux.rendering.*
[x] net.clgd.ccemux.rendering.awt.*
[x] net.clgd.ccemux.rendering.tror.*
[x] net.clgd.ccemux.emulation.tror.tests

Alright, all done! I'll merge if you have no objections.

Stuff to do:

[ ] Switch to package functions where applicable
[ ] Optimize ported code
[ ] Write more tests
[ ] Manually test basically everything

@apemanzilla Since this is basically holding up all work, let's cross package functions and optimisation off that list and do that in a separate PR. That way, we can still work on other things.


"task" module still necessary or up-to-date

I saw there is a reference to an alpha parent in the current pom.xml for the "task" module. When going through the module's sources, I saw there are plenty of inconsistencies with the current codebase, i.e. the module would never compile. Is "task" still necessary ?

The task module will not be part of version 5 release, but I want to include it (clean up codebase) at a later stage.


DOMException: Failed to execute 'put' on 'IDBObjectStore':  could not be cloned.

Hello 👋🏼
I am running into the following error when using the localforage.setItem method.
DOMException: Failed to execute 'put' on 'IDBObjectStore': function(t){if(!(!this._popup||!this._map)){ft(t);var i=t.layer||t.target;if(this._popup._source===i&&!(i insta...<omitted>...}} could not be cloned.
    at https://btcmap.org/_app/immutable/chunks/localforage-9e4e8924.js:6:11234
    at V (https://btcmap.org/_app/immutable/chunks/localforage-9e4e8924.js:6:9129)
    at https://btcmap.org/_app/immutable/chunks/localforage-9e4e8924.js:6:11115

I have read other issues submitted surrounding this error (#610 and #533) and it sounds like this error appears when you try to set a data type to IndexedDB that it cannot handle like a function. In the case above it is telling me that I am trying to do that.
Now here is where it gets a little bit strange. I have console.logged the variable that I am setting to the local cache right before I use setItem and it does not contain any functions. It is an array of objects and the objects contain lots of data but no functions. The function it is referencing above comes from a node_module that I am using in my project. How it is ending up that localForage thinks it is included in this variable that I am trying to cache locally and not visible in the console.log I have no idea.
Now it gets even weirder.
Even though this error happens during the setItem function the key value in the IndexedDB DOES get updated with the new value. So even though we enter the catch part of the localForage method promise localForage.setItem.then still also runs. Because I am still achieving the desired functionality of storing the new value locally this bug is not technically stopping me from doing what I want. But I still would like to figure out why this is happening and fix it if possible. I have temporarily disabled the error toast for this function because it will appear every time it runs even though the action was successful.
Here is an example of one of the objects in the array of objects I am setting in the store:
{
  "id": "node:9985802993",
  "osm_json": {
    "changeset": 127516569,
    "id":<PHONE_NUMBER>,
    "lat": 53.4423766,
    "lon": -2.2775673,
    "tags": {
      "addr:city": "Manchester",
      "addr:housenumber": "585A",
      "addr:postcode": "M21 9AF",
      "addr:street": "Wilbraham Road",
      "currency:GBP": "yes",
      "currency:XBT": "yes",
      "currency:others": "no",
      "description": "Inexpensive traditional barbers, no appointment needed.",
      "name": "RJ's",
      "opening_hours": "Mo-Sa 09:00-17:00",
      "payment:lightning": "yes",
      "payment:lightning_contactless": "yes",
      "payment:onchain": "yes",
      "phone": "+44 7812 919857",
      "shop": "hairdresser",
      "survey:date": "2022-10-14"
    },
    "timestamp": "2022-10-14T10:27:01Z",
    "type": "node",
    "uid": 16971158,
    "user": "nathan_day",
    "version": 11
  },
  "created_at": "2022-09-25T08:45:08Z",
  "updated_at": "2022-10-14T10:33:31Z",
  "deleted_at": ""
}

I tried running myObject === JSON.parse(JSON.stringify(myObject)) as suggested in the other issue and it returned false. Is there something else in my Object that is causing this error and the function referenced in the error message is unrelated? Even if that is the case why is the setItem actually completing successfully when an error is being thrown?
Please let me know if you need any more, thanks!
EDIT: Including the code snippet from the place I am calling localForage at:
localforage
	.setItem('elements', newElements)
	.then(function (value) {
		// set updated elements to store
		elements.set(newElements);

		// display data refresh icon on map
		mapUpdates.set(true);
	})
	.catch(function (err) {
		//elementError.set(
		//'Could not update elements locally, please try again or contact BTC Map.'
		//);
		console.log(err);
	});

Just a thought - could it be the colons in the "addr:city" property names?


Define new tag

Is it possible to define a new custom tag and parse it?
like
@bindable {string} state - Represents the state of the component
{
    title: 'bindable',
    description: 'Represents the state of the component.',
    type: 'string',
    name: 'state'
}

Unfortunately we rely on eslint/doctrine for the actual parsing and this package was discontinued. So we will also discontinue this package in the foreseeable future.


Sharing posts should only contain URL's

Right now we add the post title as well - I feel like that use case is unrealistic and it's better to just share the URL. This is a very minor change but I am away on a conference right now so it's just an issue for now.

@SimonHalvdansson Can I take it?

Could you elaborate more a bit on why the decision was made to not share title? I often share links to a todo list and having to populate the title as well is time consuming and hard to do. This isn't the behavior I see in other hacker news apps or other social apps. Not saying it is the wrong decision, just curious as to what went into that decision and wanted to say I'd prefer it the other way.

I think the original motivation was someone asking for this with the motivation that when sharing to friends or something you usually supply the context yourself manually. I never looked at how the other HN apps do things but if they include the title that is interesting. I've thought about it a little and perhaps it is optimal to have the old version as an option in the initial share dropdown. Right now we have "Article link" and "Hacker News link" so perhaps a third option could work here. Do you think this is a reasonable middle ground?

Thanks for considering this.
First, I'll give a little research here. HN - Hacker News Reader and Trilby for Hacker News both share both the title and the link. Hacki for Hacker news shares only the URL. None of the apps I looked at allow configuration or choice here (but I do like the idea of having options).
I don't know that I'm the best at UI and I'm a developer (so terrible at naming things), but perhaps "Hacker News link and title" / "title and link"?

Okay but then it might make sense to give some options. I feel like people might do both the HN and article links both ways. Also "Hacker News" is a bit too long one you add the "link and title" so I am  leaning towards

Article link
Article link and title
HN link
HN link and title

Which is a long list but it is not like it shows up when you don't want it to. I think this is a reasonable solution.

This seems great to me too, thanks for considering it!

The app has been updated with the new sharing options, but these do not appear for self-text posts (Ask HNs for instance). Currently, only the HN link is shared. Do you have plans to add the "HN link and title" option to those posts as well?


Icons for detail titles, full square toggle + Separate detail & link text color

Feature Description
Icons for detail titles:
I'd love to see icons for detail titles similar/identical to how Stardust does it
Full square toggle:
On another note, I tweak your Constants.xaml file to make everything square. I'd love an option in ThemeModifier that will globally make everything square, but it's not as important as I'll just keep editing the file if I have to.
Separate detail & link text color:
Perhaps an option in ThemeModifier that makes it so we can tweak them separately? If not, then all good. Just thought I'd ask while I'm at it.
Edit:
KNARZnite has stars & Icons for a link in the details section. I just checked the theme and was rather impressed and am curious if you have anything similar? Sorry for the many questions about random stuff.
Off-topic:
I'm still attempting to get my head around a lot of what Playnite and your theme offer, so I apologize if you already have anything I've requested as a feature. The next big thing for me is to attempt to wrap my head around how to add icons to links.
I'm in absolute love with your theme and have enjoyed tweaking Playnite to my liking. Regardless of your decision, keep up the excellent work.

Screenshots

Click to view images

Details icons:

Everything square:

Separate colors:

KNARZnite: edit section:

I like your Ideas, Icons for details title and links are definitely things I wanted to do so yes it will be the next thing on my todo list.
For the rounded corner option unfortunately I can't add a CornerRadius settings in ThemeModifier. Last time I tried was a few years back so I'll have a go at it again but I think I saw it was still not supported somewhere not so long ago so I'm pretty sure it will not work.
For the separate color for "details panel links" and "links panel links" I could but I dont have much room left in the ThemeModifer file. There's a maximum lines quantity of 100 and we are at 99. Every time I want to add an option I need to remove another one, I may have made too many. Anyway I'll see what I can do for this, at worst you will have to change the color manually in the constant file each time there is an update.
Can you show/tell me which margin/padding you would like to edit? Its very simple and I could start you in the right direction if you wonder how to do it. Thank you very much for your kind words @misspent ❤

I did not know about the ThemeModifier limit; that's a pain in the ass, and I hope the dev increases the maximum amount of lines you can have. I'm definitely okay with tweaking it manually in the constant file; having the option in that will be just as good.
For the margin/padding I'm mainly on about the game details section, I like stuff rather compact and/or a tight fit in an attempt to use as much space as possible, and I'll more than likely mess with the constant file later and see what happens when I tweak random stuff as I have a small understanding of the language.
Example:

Thank you for the quick response 😄

For those margin in game details its gonna be mainly in the file GridViewGameOverview or DetailsViewGameOverview. If you struggle setting what you want let me know!
Just finished adding icons for the details panel in game view, and I also added stars for the rating like the "Critic Score" and a second panel of links that will show up at the end of the details section and all the links will have their "favicon" from their respective website! Both these features are from the plugin ThemeExtras. I Also added a button for "Installation Path" and a text field (not clickable) for "Added Date". Only thing left to do for this part of the update is to add triggers and settings to toggle visibility of some of these new elements.
Here's a little preview:

The update should be ready around next Sunday!

It should be fun to go through those 2 files and find what I'm looking for, and that looks insanely good. I'll be looking forward to that update. Keep up the excellent work, champ.
(Elitepvper too? Nice)


ENH: Speed up next_fast_len with LRU cache

On master the new benchmark gives:
                 size
              --------- ------------
                  12      592±7ns
                  13      672±70ns
                 1021     821±40ns
                 1024     729±70ns
                16381    1.05±0.3μs
                16384     678±40ns
                262139   1.61±0.1μs
                262144    716±40ns
                999983   1.74±0.2μs
               1048576    723±30ns

And on this PR, implementing @pv's alternative idea from #10589:
                 size
              --------- ----------
                  12     196±10ns
                  13     205±10ns
                 1021    208±20ns
                 1024    193±30ns
                16381    196±10ns
                16384    201±30ns
                262139   172±10ns
                262144   211±20ns
                999983   195±10ns
               1048576   186±20ns

LRU default cache size is 128 which seems reasonable for storing these.
Closes #10589.

@toddrjen given the speed I marked this as closing #10589, but let me know if you see that it's insufficient in some local benchmarks for your use case.


[pre-SVE] TC-DGGEN-2.2 Cannot read BootReason Event

Problem
TC-DGGEN-2.2 cannot read BootReason Event.
Steps:
./chip-tool generaldiagnostics read-event boot-reason 20 0
system configuration :
Chip-Tool: RPI
DUT used : Infineon CYW30739
app use: Lighting-app
chip-tool and DUT commit id : https://github.com/project-chip/connectedhomeip/commit/5b603f38746c7c360c60435271b7843f17b8d61a (sve SHA)
Logs:
TC-DGGEN-2.2_TH.txt
TC-DGGEN-2.2_DUT.txt
Proposed Solution
Moving “Initialize event logging subsystem” before “initializes clusters” in Server.cpp can read BootReason Event.
Please refer to the below diff:
Server.txt

Fixed by https://github.com/project-chip/connectedhomeip/pull/20482


parse does not properly handle floats of the form ".8"

> yaml.parse('foo: .8')
{ foo: '.8' }

Here, the value of foo should be the number 0.8 instead of the string '.8'.
The 1.1 schema does work properly:
> yaml.parse('foo: .8', { schema: 'yaml-1.1' })
{ foo: 0.8 }

Huh. You're right. I'm truly rather surprised that this hasn't been noticed before. Will fix ASAP.
Also, the trickier problem that this has surfaced for me is that I notice that the official YAML 1.1 !!float RegExp (which we use) is buggy, as it'll catch a solitary . as a "valid" float value:
> YAML.parse('.', { version: '1.1' })
NaN

To be clear, that's entirely separate from this issue, but now I'm conflicted about what the right thing might be, to follow the spec (as we currently do), or "fix" the expression. :/

This regexp is a bit strange IMO: (?:\.([0-9]+)|(?:0|[1-9][0-9]*)\.([0-9]*)) — is "00.1" not supposed to be a valid float?

🤦♂Yes, it is.

Thank you @ycz and @jtbandes for pointing these out. It's been a while since someone discovered something so deeply wrong with this library.

Thanks for the quick responses!


Support for alternate currencies beside CNY (￥)?

Hi.
Thanks for the hard work.
At present, only CNY (￥) is supported. It would be great if other currencies could be supported as well. A possible implementation is to allow updating exchange rates and available currencies through a user-defined json URL similar to the prices.json file. If that's too much of a hassle, it would be good if the root user could change the exchange rate and symbol to replace CNY (￥) in the settings (e.g., Payment Settings). An exchange rate can be set in the Settings under Payment Settings, but it doesn't affect the exchange rates in the "Pricing" and "Model Price" sections. See pics below.

Thanks for considering my request.
All the best,
Raz

Due to system design limitations, the use of currencies other than the current one is not supported at the moment. This is a major change and I currently do not have the resources to implement it.


chore(bootcamp): Conduct Technical Design Session

Posible topics:

Distributed Heureka Architecture ( Post MVP Implementation)
Inter Cluster connectivity
Scanners

Mural Panel for the Technical Design Discussion can be seen here.


Cleanup our cluster silences

Configured silences need to be reviewed and the ones which are irrelevant need to be cleaned up (removed) in order to know which alerts are triggered the most and to make the Alerts Analysis Dashboard useful.

anteater-deu01-nodeconntrackalmostexhausted.yaml | Created by: Nick Jüttner | Created at: 30 Nov 2021.
anteater-fs6x5-whole-cluster.yaml | Created by: Nikola Prokopić | Created at: 26 Jul 2021.
anteater-nlbt1-whole-cluster.yaml | Created by: Nikola Prokopić | Created at: 26 Jul 2021.
anteater-odp01-whole-cluster.yaml | Created by: Nikola Prokopić | Created at: 26 Jul 2021.
bumblebee.yaml | Created by: paurosello<EMAIL_ADDRESS>| Created at: 16 Dec 2021.
exodus.yaml | Created by: Christian Bianchi | Created at: 21 Oct 2021.
flamingo-eco1d-kiam.yaml | Created by: Christian Bianchi | Created at: 05 Nov 2021.
flamingo-sha1d.yaml | Created by: Jose Armesto | Created at: 02 Dec 2021.
gorilla-4muwu-LatestETCDBackup2DaysOld.yaml | Created by: Nikola Prokopić | Created at: 26 Feb 2021.
gorilla-4muwu.yaml | Created by: Volodymyr Stoiko | Created at: 14 Jan 2021.
gorilla-ep9z8.yaml | Created by: Christian Bianchi | Created at: 06 Dec 2021.
gorilla-f3y8u.yaml | Created by: Christian Bianchi | Created at: 02 Dec 2021.
gorilla-jh3s7.yaml | Created by: Jose Armesto | Created at: 02 Dec 2021.
gorilla-vu7r3.yaml | Created by: Christian Bianchi | Created at: 17 Dec 2021.
gorilla-y4hr4.yaml | Created by: Pau Rosello | Created at: 16 Dec 2021.
obi-csbox.yaml | Created by: Christian Bianchi | Created at: 03 Nov 2021.
obi-dev-clusters.yaml | Created by: paurosello<EMAIL_ADDRESS>| Created at: 05 Oct 2021.
talos-c9w6c-autoscaler.yaml | Created by: Christian Bianchi | Created at: 22 Dec 2021.
talos-e3cn8-cluster-autoscaler.yaml | Created by: Marcus Noble | Created at: 22 Nov 2021.
talos-e3cn8.yaml | Created by: Christian Bianchi | Created at: 01 Dec 2021.
talos-e4ga3.yaml | Created by: Tobiasz Kukawka | Created at: 16 Dec 2021.
talos-j6p3b.yaml | Created by: Christian Bianchi | Created at: 01 Dec 2021.
talos-silence-cordoned-np-migration.yaml | Created by: Tobiasz Kukawka | Created at: 04 Nov 2021.
viking-eks00-whole-cluster.yaml | Created by: Christian Bianchi | Created at: 06 Nov 2021.
viking-eks02-whole-cluster.yaml | Created by: calvix<EMAIL_ADDRESS>| Created at: 08 Nov 2021.
viking-eks03-whole-cluster.yaml | Created by: calvix<EMAIL_ADDRESS>| Created at: 12 Nov 2021.
viking-eks04-whole-cluster.yaml | Created by: calvix<EMAIL_ADDRESS>| Created at: 12 Nov 2021.
viking-hnq40-webhook.yaml | Created by: Nick Jüttner | Created at: 05 Jan 2022.
viking-naap2.yaml | Created by: Nick Jüttner | Created at: 26 Apr 2021.
viking-ue2ra-update-failed.yaml | Created by: Nick Jüttner | Created at: 22 Nov 2021.

exodus.yaml => MC nodes are scaled to zero replicas, silence still needed
flamingo-eco1d-kiam.yaml => customer is not using kiam and kiam is erroring because they have annotations for it anyway. If we remove the silence it will page constantly
gorilla-ep9z8.yaml => deleted (cluster does not exist)
gorilla-f3y8u.yaml => deleted (cluster does not exist)
gorilla-vu7r3.yaml => deleted (cluster does not exist)
obi-csbox.yaml => deleted (cluster seems to be running fine)
talos-e3cn8.yaml => deleted (cluster does not exist)
talos-e3cn8-cluster-autoscaler.yaml  => deleted (cluster does not exist)
talos-j6p3b.yaml => deleted (cluster does not exist)
viking-eks00-whole-cluster.yaml => EKS clusters, still valid

anteater-fs6x5-whole-cluster.yaml => deleted (cluster does not exist)
bumblebee.yaml => deleted already
gorilla-jh3s7.yaml => deleted (cluster does not exist)
obi-dev-clusters.yaml => deleted (pattern does not match any cluster)
talos-silence-cordoned-np-migration.yaml => deleted (alert not firing in any of the clusters in talos)
viking-eks02-whole-cluster.yaml => EKS clusters, still valid
viking-eks03-whole-cluster.yaml => EKS clusters, still valid
viking-eks04-whole-cluster.yaml => EKS clusters, still valid
viking-hnq40-webhook.yaml => deleted (seems not to be firing any more)
viking-naap2.yaml => deleted (silence very old; cluster is alerting we should take care)
viking-ue2ra-update-failed.yaml => deleted (alert not firing any more)

anteater-odp01-whole-cluster.yaml => deleted (not alerting any more)

anteater-deu01-nodeconntrackalmostexhausted.yaml => deleted (alert not firing any more)
flamingo-sha1d.yaml => deleted (according to slack, it was meant to last "until monday")

talos-e4ga3.yaml => deleted (cluster does not exist)

there are 2 clusters left, both on gorilla:

4muwu => @njuettner will check it out as part of https://github.com/giantswarm/roadmap/issues/737
y4hr4 => asked partner what to do about it

@alex-dabija Why do we have y4hr4 ?

@alex-dabija I just deleted cluster y4hr4 on customer request.
We can close this ticket


how to assign tap_action to entities listed by a filter

Hello,
thank you for this card!
I have a question: I listed my entities using a filter as per this example:
filter:
  include: # filters for auto-adding
    - name: entity_id # entities which id ends with "_battery_level"
      value: "*_battery_level"

How can I assign tap_action: more-info to these entities?

You can specify the action with the same indent as 'filter'

@maxwroc - perfect! thank you.  closing.


Is there a way not use this plugin highlight word in fold?

sometimes it highlight many fold really annoy

after I press j:

I hope not use this plugin highlight word in fold or not highlight when cursor on a fold

What version of Neovim are you using? This is a bug in Neovim that is being investigated, see #52 and https://github.com/neovim/neovim/issues/12982.

Dup of #52.

What version of Neovim are you using? This is a bug in Neovim that is being investigated, see #52 and neovim/neovim#12982. There is nothing that can be changed in vim-illuminate, closing this issue since #52 is tracking this already.

NVIM v0.5.0-856-g7dfeadb0f

Yup that version has the bug. You can try downgrading your neovim version, nvim-0.5.0-840ish  from brew install --head neovim doesn't have it.


⚠ RPC server - Astar has degraded performance

In e3bab15, RPC server - Astar ($ASTAR_RPC_URL) experienced degraded performance:

HTTP code: 403
Response time: 816 ms

Resolved: RPC server - Astar performance has improved in dca93b9 after 6 minutes.


'use strict' declaration doesn't seem to do anything

The 'use strict' declaration in scripts doesn't seem to have any effect in files or in test files.
module file:
\\ foo.js
(function() {
'use strict';

foo = 'foo value';

module.exports = foo;
}());

and test file:
\\ __tests__\foo-test.js
(function() {
'use strict';

jest.dontMock('../foo.js');

    describe('testing use strict', function() {
         it('should throw some sort of error', function() {

              bar = 'bar value';
              console.log(bar);
              console.log(require('../foo'));
         });
    });

}());

running npm test yields:
Using Jest CLI v0.1.15
Found 1 matching tests...
 PASS  __tests__/foo-test.js (0.03s)
bar value
foo value

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Let me know if this is still an issue. It should definitely work as expected in node 4.


updateAttributes() function doesn't exist.

Could you add support for the Sequelize updateAttributes() function, please?

@ktsashes


python312Packages.fasthtml: 0.2.1; python312Packages.fastlite: 0.0.7; python312Packages.sqlite-minutils: init 3.36.0.post4-unstable-2024-07-22

Description of changes
watched latest fireship video... couldn't help myself, packaged fastHTML

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

FYI. Trying to use fasthtml the dependecy checker throws an error due to uvicorn not having the required version:

uvicorn>=0.30 not satisfied by version 0.29.

This PR should fix the issue

yeah, it's not fully ready :sweat_smile:, let me mark as draft

For anyone waiting on this package to be merged, please like the dependent uvicorn PR  so that it gets prioritized


Merge the SSH Infor into one command.

PR for issue #2580. Also fix the zsh bug.

Coverage remained the same at 53.314% when pulling 168c457fa6edc21a7b3430d44c2412a4a7b62ac9 on GeoffreyChen777:merge-ssh-info into 04124223d11c3f15228b32590c30db0638ab4804 on Microsoft:master.

Coverage remained the same at 53.314% when pulling 168c457fa6edc21a7b3430d44c2412a4a7b62ac9 on GeoffreyChen777:merge-ssh-info into 04124223d11c3f15228b32590c30db0638ab4804 on Microsoft:master.

close and track in #2634.


setZoom, setCenter not working

It seems that setZoom and setCenter are not available on the  component. Can these functions be called in a different way? If not, please consider this a request to make them available.

You have access to the google map instance into the props of <GoogleMap /> component.
Here's a snippet:
onGoogleMapLoad = ({ props: { map } }) => {
    // Save google map instance
    // on the parent component
    this._map = map;
  }

render() {
  return (
    <ScriptjsLoader
              hostname={ 'maps.googleapis.com' }
              pathname={ '/maps/api/js' }
              query={ { v: 3, libraries: 'drawing' } }
              loadingElement={ <div /> }
              containerElement={ <div style={ { height: '100%' } } /> }
              googleMapElement={
                <GoogleMap
                  ref={ this.onGoogleMapLoad }
                  defaultZoom={ 3 }
                  defaultCenter={ { lat: -25.363882, lng: 131.044922 } } />
              } />
  );

Don't call setZoom or setCenter. Change the props pass in to <GoogleMap> like this:
<GoogleMap
   zoom={this.state.zoom}
/>

@tomchentw Yes it's good for initialization, but for instance there's no way to call fitBounds() see this code snippet:
  moveMapCurrentPosition = () => {
    const { userLocation, corners } = this.props;
    const { mapInstance } = this.state;

    // * go to position on map
    // * fit in bounds 3 nearest corners
    if (mapInstance && userLocation) {
      // create a bound object with the user location and three nearest corners
      const bounds = new window.google.maps.LatLngBounds();
      const userPos = new window.google.maps
        .LatLng(userLocation.latitude, userLocation.longitude);

      // add user location and thre nearest stores in bounds
      bounds.extend(userPos);
      take(corners, 3).forEach(({ latitude, longitude }) => {
        const cornerPos = new window.google.maps.LatLng(latitude, longitude);
        return bounds.extend(cornerPos);
      });

      mapInstance.setCenter(userPos);
      mapInstance.fitBounds(bounds);
    }
  }

looking forward for this solution as well

We're looking into this!
We're also looking for maintainers. Involve in #266 to help strengthen our community!

+1 for setCenter

@nodegin you can just use:
<GoogleMap center={this.state.center} />

to change the center of the map. There's no need for a setCenter function.
Also,  6.0.0 is released on npm beta tag now. We also have a new demo page. Feel free to try it:
https://tomchentw.github.io/react-google-maps/

@tomchentw I'm not sure if I was using it in a correct way, I specify a center prop object which contains the initial coordinate, then I modify the center coordinate in a click event which opens a panel, but once I dismiss the panel the map should able for dragging. However, the center variable locks my map movement.
If I use mapRef.panTo then the problem is solved perfectly by just calling it when my panel is being opened, but I don't want the panning animation (since it's causing lag on mobile).

@nodegin could you try if setting a center props locks the map movement in 6.0.0?

@tomchentw I'm not using v6, let me try it later. By the way I got it working by using mapRef.props.map.setCenter hope this help anyone who having the same problem.

I'm finding that changing the center and zoom props isn't affecting the map on re-renders (v6.0.1). I have to manually call panTo() based on the updated props and I haven't figured out a way to reflect the changes to zoom level yet.

Same problem here, i can set zoom the first time, but then if user change zoom manually, the props do not effect the component anymore.

to change the center of the map. There's no need for a setCenter function.

 That's very confusing that underlying Google Maps API is being called either by passing component property or by calling its method. Any component API must be unified!

Also having this issuewith updating zoom level - anyone have any workarounds in the meantime?

@barnc Unfortunately, no, I ended up rebuilding on another Google Maps component for React.

This may or may not be relevant, but if you use Redux, this isn't a problem (in my experience). If you set center and zoom by assigning them values from props and you are changing zoom and center via action --> reducer --> new state, then the map re-renders on every change. The user can still control the map entirely.

I believe this would also work with normal react state...but have not tried.

I do believe there are good use cases for setZoom, etc. One glaring issue is once you call fitBounds, the map no longer responds to state/prop changes.
I've created a pull request exposing these methods: https://github.com/tomchentw/react-google-maps/pull/455

One setCenter use case
User has a google map, and threw a toggle view, he can switch his recorded map presets (with differnet centers, radius, ..)
Solution without setCenter: redux?
In my head, the only suitable solution for this use case, is to use redux:

we have mapCenter in the store
mapCenter is used to set the defaultCenter
onMapMove update mapCenterin the store

Questions

How can we depend of a center object, coming from props, if we want to let the user move the map, and change dynamically the map center when changing map preset. (withoutonMapMoveevent)
Is kind of onMapMoveevent does at least exist to get current center coords?
I guess updating the store and re-render on each move will give bad performances, does it?
How much work/time would it take to implement/link this feature to the google map?

Beyond my use case
In my opinion, the setCenterfunction would be very interesting if we need :

a defaultCenter (which can comes from props)
to let the user moove the map (we don't care about center -> more performant?)
to update programmatically this._mapRef.setCenter(userMapX.coords) 🎉

Waiting for your lights

@nodegin, mapRef.props.map.setCenter doesn't seem to exist anymore [v6.3]

Hi - did anyone get to the bottom of how do you force change the zoom? I need for the map to zoom in on searchbox entry (handlePlacesChanged()) and
this.setState({zoom: 20}); does not appear to affect the default zoom in any way. Thanks in advance!

@scronide which one did you end up switching to?

@iamwerby set it on the map component as in the first comment.  You can use redux to pass it down as props or if you have a higher order component that wraps <GoogleMap /> you can set the values there and pass it down.

@oshalygin Thanks! However I handled it via fitBounds - as you could see in my pull.

console.log(this._map.context.__SECRET_MAP_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.setZoom(15));

^^ dont do what @gabrielmicko is recommending set the zoom and center appropriately as discussed in the thread

@oshalygin that one doesn't work after zooming out. (for me)

If you came here because using both center and onDragEnd was janky on beginning of drag, as mentioned above, switch from onDragEnd to onIdle. I had to switch from defaultCenter (uncontrolled) to center (controlled) as I needed to set the center programmatically. At first, I thought it wasn't going to work but simply switching from onDragEnd to onIdle and it's working great.


feat: Auto-teleport in confirm modal simplified

PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #8368

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI;

no funds , add funds

can auto teleport

Copilot Summary

🤖[deprecated] Generated by Copilot at 5d63148
Refactored the AutoTeleportActionButton component to split the add funds and auto-teleport features. Added a new button and modal for the on-ramp option.

🤖[deprecated] Generated by Copilot at 5d63148

No more auto-teleport, you must choose your fate
Add funds or teleport now, don't hesitate
A new modal awaits you, with the on-ramp feature
Will you join the rebels, or the tyrant's creature?

not sure if related, but in the case of the not funds, when hovering over the tooltip, its not overflow and its makes the modal horizontal scrollable

@exezbcz

not sure if related, but in the case of the not funds, when hovering over the tooltip, its not overflow and its makes the modal horizontal scrollable

otherwise oki

its not overflow and its makes the modal horizontal scrollable

isn't it ?

what would be the expected behaviour in this case ?

to not show the scrollbar even if it goes beyond the modal ?

Thanks!
pay 50 usd
made follow up for @hassnian

#8451

😍 Perfect, I’ve sent the payout
💵 $50 @ 6.02 USD/DOT ~ 8.306 $DOT
🧗 13QUj3pZyFNfYj4AM336hRdyLQbevj5H3sR4PKmLEXLdwZhh
🔗 0x930ce3713be346e486f372ca8c672d086deaa51e658cda3e5689377702ff07fb
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Mark WHN Autotune as beta

🚀 Deployed on https://664b8dd8da79e80192b95f37--cozy-fox-0defec.netlify.app


replace ' ' space characters with \s to make in-game filtering work

The \s is needed in the regex to properly search for item names with a space in them.

Looks good to me. Merging.


Docs - Add a gulp task to publish the website

fixes #277
\cc @DevExpress/testcafe-docs

lgtm

lgtm

lgtm

@testcafe-build-bot  \retest

server tests are failed (rebase required)

done

lgtm


fix: revert production js chunk names

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

We started using human readable names as part of production chunks (#7463) but then multiple regressions reported (some history at #7808) and also currently #7994 and #7882 are open.
So even tough previous regressions resolved and current open issues can be fixed, it seems not worth keep supporting it for nuxt@2. Will continue this for nuxt@3 with more tests (and probably only for limited async and initial chunks not all)
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #8012 into dev will increase coverage by 0.14%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##              dev    #8012      +/-   ##
==========================================
+ Coverage   68.87%   69.02%   +0.14%
==========================================
  Files          91       91
  Lines        3849     3835      -14
  Branches     1043     1038       -5
==========================================
- Hits         2651     2647       -4
+ Misses        972      966       -6
+ Partials      226      222       -4

Flag
Coverage Δ

#unittests
69.02% <75.00%> (+0.14%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

packages/webpack/src/config/client.js
69.44% <ø> (+6.94%)
:arrow_up:

packages/webpack/src/config/base.js
64.45% <50.00%> (-0.18%)
:arrow_down:

packages/config/src/config/build.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


The .withPiplineParameter method of the ParameterBuilder class doesn't add a default value to the pipeline parameter

The defaultValue param of the .withPiplineParameter doesn't appear to add a default value to the pipeline params. The output is the same if it is provided a value or not.
It actually might make sense to not have the .withPipelineParameter work like that and just have it reference a pipeline param rather than generate one. There could be situations where different tasks reference the same pipeline param and it might not be a good idea for multiple tasks to have the ability to change the default value of the parent pipeline param.
What the main.ts looks like:
.withTask(
new TaskBuilder(this, 'task-id')
.withStringParam(
new ParameterBuilder('param-id').withPiplineParameter(
'param-name',
'param-default-value',
),
)
.withName('task-name'),
)
What the generated pipeline yaml looks like:
kind: Pipeline
metadata:
name: pipeline-name
spec:
params:
- name: param-name
type: string
tasks:
- name: task-id
taskRef:
name: task-name
runAfter:
- get-entitlement-key
params:
- name: param-id
value: $(params.param-name)
What the generated pipeline yaml should look like:
kind: Pipeline
metadata:
name: pipeline-name
spec:
params:
- name: param-name
type: string
default: "param-default-value"
tasks:
- name: task-id
taskRef:
name: task-name
runAfter:
- get-entitlement-key
params:
- name: param-id
value: $(params.param-name)

I've also tried using the withDefaultValue method, but it didn't add a value or default value to the parameter in the generated pipeline.

There could be situations where different tasks reference the same pipeline param and it might not be a good idea for multiple tasks to have the ability to change the default value of the parent pipeline param.

Yes, this is why the .withStringParam() method, as an example, takes a ParameterBuilder object as its argument. While the examples all demonstrate inline usage (that should get changed), you can declare the parameter once and then reference the same parameter for multiple tasks. I will also make sure we have a unit test that covers that scenario. For example, this should work (although, again, I will create a unit test to verify):
   const projectDirName = new ParameterBuilder('project-dir')
      .ofType('string')
      .withPiplineParameter('project-dir');

    new TaskBuilder(this, 'my-task')
      .withName('ansible-runner')
      .withDescription('Task to run Ansible playbooks using Ansible Runner')
      .withWorkspace(runnerDir)
      .withStringParam(projectDirName)

    // ... reference in other TaskBuilders as well...

Yea, I think in my mind the problem is with the fact that the reference to the pipeline parameter (withPipelineParameter) appears to be intended to have the ability to change values, like default value, of the pipeline parameter.
withPipelineParameter takes a name and a default value, but not an option for a ParameterBuilder that already exists.
It feels like withPipelineParameter should only be allowed to be a reference to an existing parameter at most, or maybe not exist at all.

It feels like withPipelineParameter should only be allowed to be a reference to an existing parameter at most, or maybe not exist at all.

On looking at this, I think you're right. I had been toying with the idea of using a ValueBuilder to reference values (constants, calculated values, references to other objects, etc...) and I think that's the right way to go with this instead of having withPipelineParameter as a method.
Getting rid of this and changing with withValue to accept something else will be a little work, but I think I can do that without breaking the API too badly. I will document and, of course, version it appropriately.

Closed by https://github.com/cloud-native-toolkit/cdk8s-pipelines/pull/46


Let beets execute a shell script after import/update

Hey, this is a feature request. I don't know how to label it accordingly.
I ran into the problem that I would like to automate my update process for my music system. This system is basically using beets in combination with KODI and kplaylist. At least kplaylist can be triggered from the command line to update its database. I guess KODI should be able to be triggered, too. So I searched for an option to execute a shell script every time beets imported or updated the database. In such a script I could call respective trigger commands for KODI and kplaylist.
AFAIK there is nothing around to solve this. If there is, I'd be happy to get a pointer to it. Otherwise, it might be a good idea to be implemented.
Thanks! :)

What about using importfeeds plugin, and using a tool like maid to watch its output folder and acts accordingly?
I have a similar setup on mac (hazel instead of maid) to import new tunes to itunes and it works like a charm.

Thanks for the idea. I will have a look into this.

Thanks, @Kraymer! Seems like a worthy feature request in any case—probably a plugin that can run shell commands on any beets event.

What's wrong with writing a shellscript that executes beets and those commands sequently?
On 8 August 2015 02:18:20 CEST, Adrian Sampson<EMAIL_ADDRESS>wrote:

Thanks, @Kraymer! Seems like a worthy feature request in any
case—probably a plugin that can run shell commands on any beets event.

Reply to this email directly or view it on GitHub:
https://github.com/sampsyo/beets/issues/1561#issuecomment-128866488

--
Sent from my phone. Please excuse my brevity.

Good point. For the case where you just want to run after an import, a wrapper script/alias seems like the right solution.

FWIW a plugin to replace beet's UI with machine readable output (printing raw filepaths etc, no colors) would be nice. But I'm not sure that's necessary for OP's usecase.

A simple wrapper script would be e.g. /usr/local/bin/beet:
#!/bin/bash
SCRIPT=/usr/local/bin/beet_follow_import.sh
/usr/bin/beet "$@"
if [ "$?" = 0 ] && [ "$1" = "import" ]; then
echo Executing script "$SCRIPT"
"$SCRIPT"
fi
exit 0

I don't think it's necessary to globally override the beet binary.
On Sat, Aug 08, 2015 at 01:37:42PM -0700, marlemion wrote:

A simple wrapper script would be e.g. /usr/local/bin/beet:
#!/bin/bash
SCRIPT=/usr/local/bin/beet_follow_import.sh
/usr/bin/beet "$@"
if [ "$?" = 0 ] && [ "$1" = "import" ]; then
echo Executing script "$SCRIPT"
"$SCRIPT"
fi
exit 0

Reply to this email directly or view it on GitHub:
https://github.com/sampsyo/beets/issues/1561#issuecomment-129043127

To implement the desired use case, it is necessary imho.

I have actually cobbled together a plugin to do this a while ago. I am fairly busy right now, but would offer to create a pull request one of these days.

Awesome! Good point about that Mopidy hook, @m-urban.

Just created PR #1573 to run scripts after import. I don't think we have a hook for beet update yet, do we?

I still don't see why this is necessary though?
Sent from my phone. Please excuse my brevity.

@untitaker I can imagine this being useful if you want to sync your beets configuration across machines. Currently I use beets with git-annex, and I have to run git annex sync --content every time I import music or change my library. It would be nice to have a plugin that allows hooking into beets events, so it could run git annex sync --content automatically for me.

For reference, you can now use the hook plugin merged in #1603 (as long as you're running >=1.3.18) to do this.


MatBlazorSwitchT - Missing some implementations for nullable types

First of all, thank you for your amazing library. Very useful in my project.
I noticed that when I bind MatTextField to a int? property, it fails at runtime with a NullReferenceException.
After looking deeper, I realized that you don't propose any implementation for int? in your class MatBlazorSwitchT. It's the same for byte, float and double.
Not a big deal to add I hope...

I ran into this problem while trying to bind MatNumericUpDownField to an int? field. Looking at the 2.0.0 release notes makes it seem like the decision to omit support for non-decimal nullable types was intentional, but I can't figure out why. I'll prepare a PR to add support for the other primitive types, I just hope it doesn't break anything...


Do not add an alias to a Wikidata item if it is already present as label in the same language

To Reproduce
Steps to reproduce the behavior:

Create a Wikidata schema which adds an alias to an item, with as value the current label in the same language on the item
Upload the edits

Current Results
The label is added as alias:
https://www.wikidata.org/w/index.php?title=Q53979627&diff=1235209660&oldid=1213785140
Expected Behavior
The alias should be skipped.
Screenshots

Versions

Operating System: Debian
OpenRefine: 3.4

Additional context
This might be due to mismatching whitespace?

I have the same issue, I don't know the rules from Wikidata, but I don't think the extra alias hurts.


⚠ Bofrost.de has degraded performance

In 523a8a8, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1337 ms

Resolved: Bofrost.de performance has improved in 2889cf5 after 18 minutes.


Fix issue #12470 - Parse out encoded PH video URLs

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl 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?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Fixes issue #12470 by implementing a crummy javascript parser.

jsinterp may be preferred, I was not aware of it at the time.

jsinterp doesn't seem to be complete enough:
--- a/youtube_dl/extractor/pornhub.py
+++ b/youtube_dl/extractor/pornhub.py
@@ -1,12 +1,11 @@
 # coding: utf-8
 from __future__ import unicode_literals

-import functools
 import itertools
-import operator
 # import os
 import re

+from ..jsinterp import JSInterpreter
 from .common import InfoExtractor
 from ..compat import (
     compat_HTTPError,
@@ -133,36 +132,11 @@ class PornHubIE(InfoExtractor):

         encoded_url = self._search_regex(r'(var.*mediastring.*)</script>',
             tv_webpage, 'encoded url')
-        assignments = encoded_url.split(";")
-        js_vars = {}

-        def parse_js_value(inp):
-            inp = re.sub(r'/\*[^*]*\*/', "", inp)
-
-            if "+" in inp:
-                inps = inp.split("+")
-                return functools.reduce(operator.concat, map(parse_js_value, inps))
-
-            inp = inp.strip()
-            if inp in js_vars:
-                return js_vars[inp]
-
-            # Hope it's a string!
-            assert inp.startswith('"') and inp.endswith('"')
-            return inp[1:-1]
-
-        for assn in assignments:
-            assn = assn.strip()
-            if len(assn) == 0:
-                continue
-
-            assert assn.startswith("var ")
-            assn = assn[4:]
-            vname, value = assn.split("=", 1)
-
-            js_vars[vname] = parse_js_value(value)
-
-        video_url = js_vars["mediastring"]
+        jsi = JSInterpreter('')
+        for stmt in encoded_url.split(";"):
+            jsi.interpret_statement(stmt, {})
+        video_url = jsi._objects["mediastring"]

         title = self._search_regex(
             r'<h1>([^>]+)</h1>', tv_webpage, 'title', default=None)

yields:
ERROR: Unsupported JS expression '"62'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 695, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 369, in extract
    return self._real_extract(url)
  File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/pornhub.py", line 138, in _real_extract
    jsi.interpret_statement(stmt, {})
  File "/usr/lib/python3.5/site-packages/youtube_dl/jsinterp.py", line 55, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3.5/site-packages/youtube_dl/jsinterp.py", line 92, in interpret_expression
    m.group('expr'), local_vars, allow_recursion - 1)
  File "/usr/lib/python3.5/site-packages/youtube_dl/jsinterp.py", line 189, in interpret_expression
    m.group('x'), local_vars, allow_recursion - 1)
  File "/usr/lib/python3.5/site-packages/youtube_dl/jsinterp.py", line 55, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3.5/site-packages/youtube_dl/jsinterp.py", line 211, in interpret_expression
    raise ExtractorError('Unsupported JS expression %r' % expr)
youtube_dl.utils.ExtractorError: Unsupported JS expression '"62'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Revamp Bits strategy and implement Bitstruct strategy

Now I think we should create strategies in a generator-like style. At strategy construction time, our bitwidth/bitstruct types are already fixed, which means all the arguments won't change during runtime. As a result, we should be able to capture them in closure and return a strategy with minimum metadata access like object dict access or creating types.
Based on these, I reimplemented Bits strategy and added custom min_value/max_value support since there can be cases where the full range of value doesn't make sense. I also write a bitstruct strategy based on recursive construction of strategy list, and the real strategy is very succinct and simple.
For complete functionality, I think I still need to implement setting min/max value limit from the top-level bitstruct using a trie-like data structure. I open the PR early to get some feedback on style.

Setting manual min/max limit already implemented. Feature complete now! @yo96 take a look when you have time. @icyxiao96 you can take a look if you want

This is a great idea!


Mockoon DOWN

🚨 Service Alert: Check the details below
Monitor Details

Monitor Name: Mockoon
Incident Status: TRIGGERED
Severity: critical
Monitor Status: DOWN
Monitor Health Checks: 1
Monitor Failure Threshold: 1

Actions

View Monitor

[start_datetime:1732951500] [end_datetime:1732931820]

The incident has been auto resolved
Total downtime: 2 minutes


Sublicense Timestamp.js file

Is your feature request related to a problem? Please describe.
This little utility is amazing, and it would be nice to export it / publish it alone.
https://github.com/quasarframework/quasar-ui-qcalendar/blob/dev/ui/src/utils/Timestamp.js
Describe the solution you'd like
Add an SPDX license header to the file.
Make it well-known.
Describe alternatives you've considered
Just copying it to my projects.

I have been thinking about making it a separate library. I'll let you know.


docs(gatt_ble): example of implementation of a characteristic with 128 bit UUID (IDFGH-11866)

Added a small example implementing characteristics with 128-bit UUID.
Problem solving

http://esp32.io/viewtopic.php?t=19012
https://www.esp32.com/viewtopic.php?t=5410
https://github.com/espressif/esp-idf/issues/3050
https://github.com/espressif/esp-idf/issues/5988

@MatoiDev
The current BLE documentation lacks an introduction to UUID 128. We plan to add comprehensive information on this in the future.

Thank you for sharing; we will take it into consideration.


Add categories to base layer picker

Added the ability to defined a category in ProviderViewModel.  Then BaseLayerPicker separates each category into a section and uses the category name as the section title.
cc @mramato

@hpinkos, thanks for the pull request! Maintainers, we have a signed CLA from @hpinkos, so you can review this at any time.
:warning: I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

@pjcozzi may have some thoughts here:

The wording looks a little small to me and I'm not crazy about the double-bars at the top.  Perhaps @emackey has some suggestions to punch it up.

From a pure functionality stand-up, this is spot on.  Thanks @hpinkos!

Terrain comes from Cesium ion - can we make that clear?

Terrain comes from Cesium ion - can we make that clear?

Maybe we should just change the name to ion World Terrain but I assume that ship has sailed.  Perhaps we make an exception for this widget and use Cesium ion World Terrain?  I'm up for anything, just throwing out ideas.

I like it.  @pjcozzi okay with you?

Please call it "Cesium World Terrain" - that is what it is called and what everyone else calls it.  Can't it just be in a Cesium ion box?

@pjcozzi can both the world terrain and WGS84 option be in an ion box?  It's going to look dumb if they're on two separate lines

@pjcozzi

I think that is fine.  I know the ellipsoid is not served from ion, but I think this is clean enough.

thanks @pjcozzi!
@mramato this should be ready to go them

Will merge after that bug I showed you offline is fixed.


UITabBarController delegate

When you assign self as delegate in UITabBarController, Hero stops working.

This happens with UINavigationController as well.


Add MAINTAINERS.rst file

Add MAINTAINERS.rst file
Signed-off-by: Martin Vrachev<EMAIL_ADDRESS>

@KAUTH can I ask you for your email address?


ROX-11315: Bump Scanner to CentOS9

Description
Bump Scanner build (and test) images to CentOS9, and leave the other images on the same CentOS tag.
The CENTOS_TAG file was renamed to STACKROX_CENTOS_TAG and the build script and dockerfiles were modified to so that only stackrox-build and rocksdb image depend on it. All the other images hardcode theirs FROM tags in the Dockerfile themselves. Some refactoring was done in the CircleCI script to emphasize that.
Tests
None, waiting for the PR to give me the outcome of this.

Is there a reason why stackrox-build uses FROM rocksdb and centos:
FROM quay.io/rhacs-eng/apollo-ci:${ROCKSDB_TAG} as builder

FROM quay.io/centos/centos:${STACKROX_CENTOS_TAG} as base

Asking because RocksDB already depends on CentOS.
FROM quay.io/centos/centos:${STACKROX_CENTOS_TAG}

And the build logic is complex today because of that dependency.


multiple hosts.

Hello,
Is it possible to get metrics from multiple hosts ?
i have a cluster of 8 Citrix XenServers.
i can only run the collector on the master, and when i do, i'm only getting host and vm information of the master.
I saw in your code that you handle multiple hosts, so, i was wondering if i'm missing something obvious.
i tried connecting this exporter to the second host (which is a slave)
the docker logs from that container gives this error.
Traceback (most recent call last):
  File "/docker/data/prometheus/test.py", line 203, in <module>
    collect_metrics()
  File "/docker/data/prometheus/test.py", line 111, in collect_metrics
    with Xen("https://" + xen_host, xen_user, xen_password, verify_ssl) as xen:
  File "/docker/data/prometheus/test.py", line 69, in __init__
    self.session.xenapi.login_with_password(
  File "/usr/local/lib/python3.9/dist-packages/XenAPI/XenAPI.py", line 264, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python3.9/dist-packages/XenAPI/XenAPI.py", line 151, in xenapi_request
    self._login(methodname, params)
  File "/usr/local/lib/python3.9/dist-packages/XenAPI/XenAPI.py", line 175, in _login
    result = _parse_result(
  File "/usr/local/lib/python3.9/dist-packages/XenAPI/XenAPI.py", line 238, in _parse_result
    raise Failure(result['ErrorDescription'])
XenAPI.XenAPI.Failure: ['HOST_IS_SLAVE', '<IP_ADDRESS>']

I don't have multiple hosts in order to test this, so the multi-host support only exists in theory.
The master is supposed to have the metrics for all hosts, so running it only on the master is correct.
If you're able to figure out how to make it work with multiple hosts I'd love to accept a pull request to add that feature properly.

Hello,
Thank you for your answer.
Upon further examination, it's possible to manually download the RRD info from the slave.
It's the XenAPI module which doesn't alllow to connect to a slave.
RRD is however different. data is stored on the host itself according to the docs. (except if a VM is powered off)
Tomorrow i'm going to try to rewrite to requests, as we're downloading only a json anyway.
If i get it working, i'll do a PR.

Merged #2.


Fails profile list on Quectel EM05-G (propably V2)

So basically it fails here  at the very beginning, maybe you could help nail the issue
Details of the modem:
$ lsusb  |grep Quectel
Bus 001 Device 003: ID 2c7c:0313 Quectel Wireless Solutions Co., Ltd. Quectel EM05-G

The command:
 lpac-mbim --device=/dev/cdc-wdm0 profile list
INFO: Connect
INFO: Open channel with AID a0000005591010ffffffff8900000100
'--ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"'
Error executing command: error: operation failed: Failure

Traceback (most recent call last):
  File "/home/mastier/.local/bin/lpac-mbim", line 167, in <module>
    main()
  File "/home/mastier/.local/bin/lpac-mbim", line 152, in main
    payload = handle_type_apdu(req["payload"]["func"], req["payload"]["param"])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mastier/.local/bin/lpac-mbim", line 78, in handle_type_apdu
    channel_id = open_channel(param)
                 ^^^^^^^^^^^^^^^^^^^
  File "/home/mastier/.local/bin/lpac-mbim", line 53, in open_channel
    output_cmd = run_mbimcli(f'--ms-set-uicc-open-channel="application-id={aid}"').split('\n')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'

I run the command myself below with full debug:
 mbimcli -p --verbose-full -d /dev/cdc-wdm0 --ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"
[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] opening device...
[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] read max control message size from descriptors file: 4096
[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 88
<<<<<<   data   = 03:00:00:00:58:00:00:00:01:00:00:00:01:00:00:00:00:00:00:00:83:8C:F7:FB:8D:0D:4D:7F:87:1E:D7:1D:BE:FB:B3:9B:01:00:00:00:01:00:00:00:28:00:00:00:0C:00:00:00:1A:00:00:00:1E:00:00:00:2F:00:64:00:65:00:76:00:2F:00:63:00:64:00:63:00:2D:00:77:00:64:00:6D:00:30:00:00:00

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 88
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 1
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-d71dbefbb39b)
<<<<<<   cid     = 'configuration' (0x00000001)
<<<<<<   type    = 'set' (0x00000001)
<<<<<< Fields:
<<<<<<   DevicePath = '/dev/cdc-wdm0'
<<<<<<   Timeout = '30'

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] received message...
>>>>>> RAW:
>>>>>>   length = 48
>>>>>>   data   = 03:00:00:80:30:00:00:00:01:00:00:00:01:00:00:00:00:00:00:00:83:8C:F7:FB:8D:0D:4D:7F:87:1E:D7:1D:BE:FB:B3:9B:01:00:00:00:00:00:00:00:00:00:00:00

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] received message (translated)...
>>>>>> Header:
>>>>>>   length      = 48
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 1
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'proxy-control' (838cf7fb-8d0d-4d7f-871e-d71dbefbb39b)
>>>>>>   cid          = 'configuration' (0x00000001)

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:00:00:00:10:00:00:00:02:00:00:00:00:10:00:00

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 16
<<<<<<   type        = open (0x00000001)
<<<<<<   transaction = 2
<<<<<< Contents:
<<<<<<   max control transfer = 4096

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] received message...
>>>>>> RAW:
>>>>>>   length = 16
>>>>>>   data   = 01:00:00:80:10:00:00:00:02:00:00:00:00:00:00:00

[02 Jul 2024, 14:11:16] [Debug] MBIM Device at '/dev/cdc-wdm0' ready
[02 Jul 2024, 14:11:16] [Debug] Asynchronously setting UICC open channel.
[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 80
<<<<<<   data   = 03:00:00:00:50:00:00:00:03:00:00:00:01:00:00:00:00:00:00:00:C2:F6:58:8E:F0:37:4B:C9:86:65:F4:D4:4B:D0:93:67:02:00:00:00:01:00:00:00:20:00:00:00:10:00:00:00:10:00:00:00:00:00:00:00:00:00:00:00:A0:00:00:05:59:10:10:FF:FF:FF:FF:89:00:00:01:00

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 80
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 3
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'ms-uicc-low-level-access' (c2f6588e-f037-4bc9-8665-f4d44bd09367)
<<<<<<   cid     = 'open-channel' (0x00000002)
<<<<<<   type    = 'set' (0x00000001)
<<<<<< Fields:
<<<<<<   AppId = 'a0:00:00:05:59:10:10:ff:ff:ff:ff:89:00:00:01:00'
<<<<<<   SelectP2Arg = '0'
<<<<<<   ChannelGroup = '0'

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] received message...
>>>>>> RAW:
>>>>>>   length = 48
>>>>>>   data   = 03:00:00:80:30:00:00:00:03:00:00:00:01:00:00:00:00:00:00:00:C2:F6:58:8E:F0:37:4B:C9:86:65:F4:D4:4B:D0:93:67:02:00:00:00:02:00:00:00:00:00:00:00

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] received message (translated)...
>>>>>> Header:
>>>>>>   length      = 48
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 3
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'Failure' (0x00000002)
>>>>>>   service      = 'ms-uicc-low-level-access' (c2f6588e-f037-4bc9-8665-f4d44bd09367)
>>>>>>   cid          = 'open-channel' (0x00000002)

error: operation failed: Failure
[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] closing device...
[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 02:00:00:00:0C:00:00:00:04:00:00:00

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 12
<<<<<<   type        = close (0x00000002)
<<<<<<   transaction = 4

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] received message...
>>>>>> RAW:
>>>>>>   length = 16
>>>>>>   data   = 02:00:00:80:10:00:00:00:04:00:00:00:00:00:00:00

[02 Jul 2024, 14:11:16] [Debug] [/dev/cdc-wdm0] channel destroyed
[02 Jul 2024, 14:11:16] [Debug] Device closed

more information on mmcli
$ mmcli -m any
  -----------------------------
  General  |              path: /org/freedesktop/ModemManager1/Modem/1
           |         device id: 37ee3f931cfbbd9af6a717d5db271f036ca66b76
  -----------------------------
  Hardware |      manufacturer: Quectel
           |             model: Quectel EM05-G
           | firmware revision: EM05GFAR07A07M1G
           |    carrier config: default
           |      h/w revision: QUECTEL Mobile Broadband Modul
           |         supported: gsm-umts, lte
           |           current: gsm-umts, lte
           |      equipment id:<PHONE_NUMBER>01301
  -----------------------------
  System   |            device: /sys/devices/pci0000:00/0000:00:08.1/0000:64:00.3/usb1/1-4
           |           physdev: /sys/devices/pci0000:00/0000:00:08.1/0000:64:00.3/usb1/1-4
           |           drivers: option, cdc_mbim
           |            plugin: quectel
           |      primary port: cdc-wdm0
           |             ports: cdc-wdm0 (mbim), ttyUSB0 (at), wwan0 (net)
  -----------------------------
  Status   |             state: failed
           |     failed reason: sim-missing
           |       power state: low
  -----------------------------
  Modes    |         supported: allowed: 3g; preferred: none
           |                    allowed: 4g; preferred: none
           |                    allowed: 3g, 4g; preferred: 4g
           |                    allowed: 3g, 4g; preferred: 3g
           |           current: allowed: 3g, 4g; preferred: 4g
  -----------------------------
  Bands    |         supported: utran-1, utran-4, utran-6, utran-5, utran-8, utran-2,
           |                    eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
           |                    eutran-12, eutran-13, eutran-14, eutran-18, eutran-19, eutran-20,
           |                    eutran-25, eutran-26, eutran-28, eutran-38, eutran-39, eutran-40,
           |                    eutran-41, eutran-66, eutran-71, utran-19
           |           current: utran-1, utran-4, utran-6, utran-5, utran-8, utran-2,
           |                    eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8,
           |                    eutran-12, eutran-13, eutran-14, eutran-18, eutran-19, eutran-20,
           |                    eutran-25, eutran-26, eutran-28, eutran-38, eutran-39, eutran-40,
           |                    eutran-41, eutran-66, eutran-71, utran-19
  -----------------------------
  IP       |         supported: ipv4, ipv6, ipv4v6
  -----------------------------
  3GPP     |              imei: <censored>
  -----------------------------
  SIM      |    sim slot paths: slot 1: none (active)
           |                    slot 2: none

Ok, I think I found it, I needed to switch slot for eSIM
$ sudo mbimcli -p -d /dev/cdc-wdm0 --ms-query-device-slot-mappings
[/dev/cdc-wdm0] Slot mappings retrieved:
	 Executor '0': slot '0'

$ sudo mbimcli -p -d /dev/cdc-wdm0 --ms-set-device-slot-mappings=1
Asynchronously set device slot mappings
[/dev/cdc-wdm0] Updated slot mappings retrieved:
	 Executor '0': slot '1'

# lpac-mbim --device=/dev/cdc-wdm0 profile list
INFO: Connect
INFO: Open channel with AID a0000005591010ffffffff8900000100
'--ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"'
['Succesfully retrieved UICC APDU response:', '\t  status: 144', '\tresponse: BF:2D:52:A0:50:E3:4E:5A:0A:98:00:00:00:00:00:00:00:00:21:4F:10:A0:00:00:05:59:10:10:FF:FF:FF:FF:89:00:00:20:00:9F:70:01:00:90:0A:52:26:53:20:43:4D:57:35:30:30:91:0F:52:6F:68:64:65:20:26:20:53:63:68:77:61:72:7A:92:0A:52:26:53:20:43:4D:57:35:30:30:95:01:00']
INFO: Received LPA data. Printing...
{'payload': {'code': 0,
            'data': [{'iccid': '89000000000000000012',
                      'icon': None,
                      'iconType': None,
                      'isdpAid': 'a0000005591010ffffffff8900002000',
                      'profileClass': 'test',
                      'profileName': 'R&S CMW500',
                      'profileNickname': 'R&S CMW500',
                      'profileState': 'disabled',
                      'serviceProviderName': 'Rohde & Schwarz'}],
            'message': 'success'},
'type': 'lpa'}
INFO: Close channel 1
INFO: Disconnect
Exit code: 0

good, i close the issue :)

Thanks, @stich86 you may mentioned this hardware in README.md but let me test further.

ok ping me again when you have done all tests and let me know
Pls check if it also work with QMI o AT backend

Switching to QMI require adding VID and  MID and possibly some quirks to the kernel at ./drivers/net/usb/qmi_wwan.c , at least what I checked in 6.8 kernel in Ubuntu 24.04. Maybe it is already in the mainline. Will try in the spare time.
After swiitch to QMI I was missing wwan interface, only AT
I sent at+qcfg=“usbnet”,0
And then I saw the following
$ mmcli -m any
  -----------------------------
  General  |              path: /org/freedesktop/ModemManager1/Modem/9
           |         device id: a875b7ef7dc1f31b7256f633798e964e6dfe1517
  -----------------------------
  Hardware |      manufacturer: Quectel
           |             model: EM05-G
           | firmware revision: EM05GFAR07A07M1G
           |         supported: gsm-umts, lte
           |           current: gsm-umts, lte
           |      equipment id:<PHONE_NUMBER>01301
  -----------------------------
  System   |            device: /sys/devices/pci0000:00/0000:00:08.1/0000:64:00.3/usb1/1-4
           |           physdev: /sys/devices/pci0000:00/0000:00:08.1/0000:64:00.3/usb1/1-4
           |           drivers: option
           |            plugin: quectel
           |      primary port: ttyUSB0
           |             ports: ttyUSB0 (at)
  -----------------------------
  Status   |             state: failed
           |     failed reason: sim-missing
           |       power state: off
  -----------------------------
  Modes    |         supported: allowed: 2g, 3g, 4g; preferred: none
           |           current: allowed: 2g, 3g, 4g; preferred: none
  -----------------------------
  IP       |         supported: ipv4, ipv6, ipv4v6
  -----------------------------
  3GPP     |              imei:<PHONE_NUMBER>01301

So it seems I was able to download the profile
I have run enable profile
and now I see on /dev/ttyUSB0
OK

OK

OK

OK

OK

The profile seems enabled
# lpac-mbim --device=/dev/cdc-wdm0 profile list
INFO: Connect
INFO: Open channel with AID a0000005591010ffffffff8900000100
'--ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"'
['Succesfully retrieved UICC APDU response:', '\t  status: 144', '\tresponse: BF:2D:82:02:1C:A0:82:02:18:E3:4E:5A:0A:98:00:00:00:00:00:00:00:00:21:4F:10:A0:00:00:05:59:10:10:FF:FF:FF:FF:89:00:00:20:00:9F:70:01:00:90:0A:52:26:53:20:43:4D:57:35:30:30:91:0F:52:6F:68:64:65:20:26:20:53:63:68:77:61:72:7A:92:0A:52:26:53:20:43:4D:57:35:30:30:95:01:00:E3:82:01:C4:5A:0A:98:84:20:23:42:60:16:92:56:F2:4F:10:A0:00:00:05:59:10:10:FF:FF:FF:FF:89:00:00:11:00:9F:70:01:01:91:0B:54:2D:4D:6F:62:69:6C:65:2E:70:6C:92:0B:54:2D:4D:6F:62:69:6C:65:2E:70:6C:93:01:01:94:82:01:7E:89:50:4E:47:0D:0A:1A:0A:00:00:00:0D:49:48:44:52:00:00:00:40:00:00:00:40:04:03:00:00:00:58:47:6C:ED:00:00:00:24:50:4C:54:45:FF:FF:FF:CC:00:66:FF:CC:FF:99:33:66:FF:99:CC:CC:66:99:CC:33:99:CC:33:66:FF:CC:CC:99:00:66:FF:66:99:FF:99:FF:D0:80:4A:B6:00:00:01:15:49:44:41:54:48:C7:ED:D4:BF:4B:C3:40:14:07:F0:C7:A1:90:F5:8B:B6:62:5D:D2:43:A9:1D:BD:2A:CE:41:8B:E8:64:9A:41:74:4B:C7:6E:55:A4:AB:38:75:AD:E8:1F:E0:A0:83:7F:A5:2F:2F:77:A5:60:5E:9C:DA:29:5F:12:1E:97:FB:90:FB:15:42:D4:A4:C9:C6:33:B7:96:AF:E2:7E:A9:06:57:C0:60:81:FD:01:E0:AA:41:82:F6:65:82:83:1B:60:57:03:23:EA:62:4C:47:2A:E8:90:00:93:6B:C0:95:80:AE:DF:AB:C1:FD:AD:07:DB:1A:88:3D:D8:3A:AD:06:59:00:46:03:54:00:9E:48:A4:00:1B:00:CD:F5:ED:96:21:B4:58:7B:2C:E0:D5:5A:69:1F:72:BB:7C:1E:97:20:C5:33:F5:19:A4:F8:28:9A:D1:09:64:2E:D1:34:9C:4D:8A:96:80:9C:2B:C7:F8:33:E1:FA:16:40:87:7A:AC:3F:B9:16:1D:F9:5F:D0:12:90:FA:37:2C:96:C0:0F:91:CD:CE:64:99:D9:4C:C6:36:77:4F:D2:61:CE:77:DC:EA:2A:9C:D4:D5:D9:2F:57:51:EE:C3:63:FD:77:D9:FB:1F:8C:EB:41:37:2C:49:4B:A2:7D:8F:3E:BC:39:ED:B8:A6:FF:62:0A:60:CF:E9:60:F8:F0:F3:3D:F9:1A:35:3F:99:26:EB:CF:2F:46:16:2E:6E:54:C2:1C:C7:00:00:00:00:49:45:4E:44:AE:42:60:82:95:01:02']
INFO: Received LPA data. Printing...
{'payload': {'code': 0,
            'data': [{'iccid': '89000000000000000012',
                      'icon': None,
                      'iconType': None,
                      'isdpAid': 'a0000005591010ffffffff8900002000',
                      'profileClass': 'test',
                      'profileName': 'R&S CMW500',
                      'profileNickname': 'R&S CMW500',
                      'profileState': 'disabled',
                      'serviceProviderName': 'Rohde & Schwarz'},
                     {'iccid': '8948023224066129652',
                      'icon': 'iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAJFBMVEX////MAGb/zP+ZM2b/mczMZpnMM5nMM2b/zMyZAGb/Zpn/mf/QgEq2AAABFUlEQVRIx+3Uv0vDQBQH8MehkPWLtmJd0kOpHb0qzkGL6GSaQXRLx25VpKs4da3oH+Cgg3+lLy93pWBenNopXxIel/uQ+xVC1KTJxjO3lq/ifqkGV8Bggf0B4KpBgvZlgoMbYFcDI+piTEcq6JAAk2vAlYCu36vB/a0H2xqIPdg6rQZZAEYDVACeSKQAGwDN9e2WIbRYeyzg1VppH3K7fB6XIMUz9Rmk+Cia0QlkLtE0nE2KloCcK8f4M+H6FkCHeqw/uRYd+V/QEpD6NyyWwA+Rzc5kmdlMxjZ3T9Jhznfc6iqc1NXZL1dR7sNj/XfZ+x+M60E3LElLon2PPrw57bim/2IKYM/pYPjw8z35GjU/mSbrzy9GFi5uVMIcxwAAAABJRU5ErkJggg==',
                      'iconType': 'png',
                      'isdpAid': 'a0000005591010ffffffff8900001100',
                      'profileClass': 'operational',
                      'profileName': 'T-Mobile.pl',
                      'profileNickname': None,
                      'profileState': 'enabled',   ####<<-------------------------------------------------------
                      'serviceProviderName': 'T-Mobile.pl'}],
            'message': 'success'},
'type': 'lpa'}
INFO: Close channel 1
INFO: Disconnect
Exit code: 0

but mmcli show enabling, cannot pass pin to eSIM
 -----------------------------
  Status   |             state: enabling
          |       power state: low
 -----------------------------

# lpac-mbim --device=/dev/cdc-wdm0 chip info
INFO: Connect
INFO: Open channel with AID a0000005591010ffffffff8900000100
'--ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"'
['Succesfully retrieved UICC APDU response:', '\t  status: 34153', '\tresponse: (null)']
INFO: Received LPA data. Printing...
{'payload': {'code': -1, 'data': '', 'message': 'es10c_get_eid'}, 'type': 'lpa'}
INFO: Close channel 2
INFO: Disconnect
Exit code: 255

root@earl:~# mbimcli -p -d /dev/cdc-wdm0  --quectel-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved: 'fcc-locked'
root@earl:~# mbimcli -p -d /dev/cdc-wdm0  --quectel-set-radio-state=on
[/dev/cdc-wdm0] Successfully requested to enable radio
root@earl:~# mbimcli -p -d /dev/cdc-wdm0  --quectel-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved: 'on'

Then I got on ttyUSB0
+CFUN: 1

Yet, setting PIN was still failing
AT+CPIN=<PIN>

CME ERROR: 14

I restarted the stack
AT+CFUN=0
AT+CFUN=1

and now it ask for pin
 -----------------------------------
  Status   |                    lock: sim-pin
           |          unlock retries: sim-pin (3)
           |                   state: locked
           |             power state: low
  -----------------------------------

When I passed the pin
+CPIN: READY

now
  -----------------------------------
  Status   |                    lock: sim-pin2
           |          unlock retries: sim-pin (3), sim-pin2 (3)
           |                   state: enabling
           |             power state: low
  -----------------------------------

-----------------------------------
  SIM      |        primary sim path: /org/freedesktop/ModemManager1/SIM/2
           |          sim slot paths: slot 1: none
           |                          slot 2: /org/freedesktop/ModemManager1/SIM/2 (active)

Then I see radio is again locked
root@earl:~# mbimcli -p -d /dev/cdc-wdm0  --quectel-query-radio-state
[/dev/cdc-wdm0] Radio state retrieved: 'fcc-locked'
# mbimcli -p -d /dev/cdc-wdm0  --quectel-set-radio-state=on
[/dev/cdc-wdm0] Successfully requested to enable radio

OK

+CPIN: READY

+QUSIM: 1

+QIND: SMS DONE

+QIND: PB DONE

No seems more stable, but no signal
  -----------------------------------
  Status   |                    lock: sim-pin2
           |          unlock retries: sim-pin2 (3)
           |                   state: enabled
           |             power state: on
           |          signal quality: 0% (recent)
  -----------------------------------
```

```
+CGDCONT: 1,"IP","internet","<IP_ADDRESS>",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>",0,0,0,0
+CGDCONT

```

modemmanager show strange message

```
$ sudo systemctl status ModemManager
● ModemManager.service - Modem Manager
     Loaded: loaded (/usr/lib/systemd/system/ModemManager.service; enabled; preset: enabled)
     Active: active (running) since Thu 2024-07-04 23:41:28 CEST; 4min 43s ago
   Main PID: 129214 (ModemManager)
      Tasks: 7 (limit: 36815)
     Memory: 3.5M (peak: 4.5M)
        CPU: 423ms
     CGroup: /system.slice/ModemManager.service
             ├─129214 /usr/sbin/ModemManager
             └─129264 /usr/libexec/mbim-proxy

Jul 04 23:45:58 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (unknown -> detached)
Jul 04 23:45:58 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (detached -> unknown)
Jul 04 23:46:01 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (unknown -> detached)
Jul 04 23:46:01 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (detached -> unknown)
Jul 04 23:46:04 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (unknown -> detached)
Jul 04 23:46:04 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (detached -> unknown)
Jul 04 23:46:07 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (unknown -> detached)
Jul 04 23:46:07 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (detached -> unknown)
Jul 04 23:46:10 earl ModemManager[129214]: <msg> [modem0] 3GPP packet service state changed (unknown -> detached)
```

@stich86 It worked finally, but I needed to leave it over night! Propably the operator got lag with allowing the registration or bug in the driver.

Jul 05 10:16:27 earl ModemManager[1512]: <wrn> [modem0/bearer2] connection attempt #4 failed: Failure
Jul 05 10:16:27 earl ModemManager[1512]: <msg> [modem0] state changed (connecting -> registered)
Jul 05 10:16:27 earl ModemManager[1512]: <msg> [modem0/bearer2] connection #4 finished: duration 0s
Jul 05 10:16:27 earl ModemManager[1512]: <wrn> [modem0] couldn't connect bearer: Failure
Jul 05 10:21:27 earl ModemManager[1512]: <msg> [modem0] simple connect started...
Jul 05 10:21:27 earl ModemManager[1512]: <msg> [modem0] simple connect state (6/10): register
Jul 05 10:21:27 earl ModemManager[1512]: <msg> [modem0] simple connect state (7/10): wait to get packet service state attached
Jul 05 10:21:27 earl ModemManager[1512]: <msg> [modem0] simple connect state (8/10): bearer
Jul 05 10:21:27 earl ModemManager[1512]: <msg> [modem0] simple connect state (9/10): connect
Jul 05 10:21:27 earl ModemManager[1512]: <msg> [modem0] state changed (registered -> connecting)


can't login with wechat

when scan the wechat QR，it will show blank. then noting.

When use the unblock will broken the wechat QR code