Better HN
topnewbestaskshowjobs
Log inSign up

ziihrs

39 karma · joined Dec 11, 2020 (5y ago) · 9 submissions

Submissions

comment 1y ago · link · parent

Yep. It supports Python 3.11 now.

comment 1y ago · link · parent

Very interesting, thanks for the explanation!

comment 1y ago · link · parent

I'm curious about what makes this implementation faster than the alternatives.

Also, if you care about function call performance, I guess you'd use PyPy. Have you tried to run the benchmarks (with appropriate warmup) on PyPy to see if the results carry over?

comment 2y ago · link · parent

It's possible to maintain the "eclasses" without additional theoretical overhead. Associate a linked list with each representative, initially only containing the representative itself. When you union two representatives, concatenate their linked lists in constant time.

comment 4y ago · link · parent

In Go, the select branch to take is non-deterministically chosen from the set of enabled branches. For the examples I don't think it makes a difference, but in general you cannot assume that a select attempts to choose branches from top to bottom.

6.

Neovim v0.6.0 Released(github.com ↗)

45 points · by ziihrs · 5y ago · 7 comments

comment 5y ago · link · parent

This one [1] doesn't specifically mention facebook.

You can run the text through a translator yourself, but the main quote: "Henover weekenden har vi allerede set de første eksempler på danskere, der sælger QR-koder i lukkede grupper på sociale medier" roughly translates to: "During the weekend we have experienced the first examples of people selling QR codes in closed groups on social media".

Edit: This article [2] is about 6 teens being charged with forgery of the pass.

[1]: https://www.inputmag.dk/snyd-med-coronapas-er-dokumentfalsk/

[2]: https://www.dr.dk/nyheder/regionale/oestjylland/seks-gymnasi...

comment 5y ago · link · parent

The Danish app gives the user two options. You can either show one that contains name and DOB or one that doesn't.

It's not clear (to me) when you are supposed to show the code with additional information, and I haven't been asked to do so.

comment 5y ago · link · parent

If it runs instantaneously, it would probably be a pretty cool effect to have the pointing fingers trace your cursor as it moves.