News for hackers. Stuff that matters.

ziihrs

Re:Following Up on the Python JIT on Thursday July 31, 2025 @02:32PM (#44748656)
Yep. It supports Python 3.11 now.
Very interesting, thanks for the explanation!
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?

Re:What's in an E-Graph? on Saturday September 14, 2024 @10:01AM (#41539870)
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.
Re:Go's Concurrency Examples in Java 19 on Wednesday May 04, 2022 @03:46AM (#31257820)
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.
Re:What's Inside the EU Green Pass QR Code? on Tuesday June 22, 2021 @07:26AM (#27590317)
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...

Re:What's Inside the EU Green Pass QR Code? on Tuesday June 22, 2021 @07:21AM (#27590275)
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.

Re:Pointer Pointer (2012) on Friday December 11, 2020 @06:56AM (#25384748)
If it runs instantaneously, it would probably be a pretty cool effect to have the pointing fingers trace your cursor as it moves.