Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nas
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
nas
4mo ago
If you are using "httpx", it's likely caused by a reference cycle. I made a PR to fix it but the maintainers haven't applied it. :-( https://github.com/encode/httpx/pull/3733 The referen
2.
▲
by
nas
6mo ago
Just an FYI, for people looking at the low pass rates for mypy and ty and concluding they must not be very useful. These test suites are checking many odd corners of the typing spec. For "normal" Python code, I find mypy does pre
3.
▲
by
nas
7mo ago
My CS college used Turbo Pascal as a teaching language. I had a professor who told us "don't turn the range and overflow checking off, even when compiling for production". That turned out to be very wise advice, IMHO. Too
4.
▲
by
nas
11mo ago
I get: 3.9: 2.78 3.14: 3.86 3.14t: 3.91 This is a silly benchmark though. Look at pyperformance if you want something that might represent real script/application performance. Generally 3.14t is about 0.9x the performance of the defa
5.
▲
by
nas
2y ago
The "starve the beast" strategy ( https://en.wikipedia.org/wiki/Starve_the_beast ) has been around for a long time and is something that some right wing conservative people want to do. E.g. Norquist's quo
6.
▲
by
nas
2y ago
Every PyObject structure has a ob_type pointer.
7.
▲
by
nas
2y ago
You should probably just read the PEP, which explains these things: https://peps.python.org/pep-0703/#reference-counting If by GC you mean the cyclic GC, free-threaded Python currently stops all threads while the cycli
8.
▲
by
nas
2y ago
The key enabling tech is thread safe reference counting. There are many other problems that Sam Gross solved in order to make it happen but the reference counting was one of the major blockers.
9.
▲
by
nas
2y ago
There are a whole set of problems, IMHO. The code-of-conduct working-group (CoC WG) members are self selected. There is no effective oversight mechanism. No matter if you think they are currently doing a good job or not, it's not a p
10.
▲
by
nas
2y ago
Very encouraging news!
11.
▲
by
nas
2y ago
I think it means it could be a title from a Monty Python skit, not that it necessarily is taken from one.
12.
▲
by
nas
3y ago
darktable is still being developed. There are pretty regular releases. I use it as my main photo processing software (raw-based workflow). As I said in my other comment, Aurélien has strong opinions. He felt he could not effectively work
13.
▲
by
nas
3y ago
This is the work of a former "darktable" developer (Aurélien Pierre) who decided to fork the codebase and go it alone. He has strong opinions about the correct way to do things. I like some of the cleanup on the UI that he has do
14.
▲
by
nas
3y ago
You can make due with only a couple of good knots. Very short list: the reef knot (square knot, avoid the granny version) and the alpine butterfly (don't use reef knot for joining two ropes, i.e. a "bend"). The alpine butte
15.
▲
by
nas
3y ago
The 41C came out about 10 years before the 42S. Each would have their fans. The 42S doesn't have the hardware expand-ability but is generally faster and a bit more refined. If I wanted a nice handheld calculator today, I'd pref
16.
▲
by
nas
3y ago
Nothing insurmountable. You need a receiver that supports RTK. Typically the hardware receiver can do it but you have pay to unlock the functionality (typically about 3000 USD per device). You need an RTK base station (or one you can use
17.
▲
by
nas
3y ago
This is great and was a huge effort by Eric Snow and collaborators to make it happen. To be clear, this is not "PEP 703 – Making the Global Interpreter Lock Optional in CPython", by Sam Gross. PEP 703 is more ambitious and add qu
18.
▲
by
nas
4y ago
A variable is not a container. That would imply you can only put an object in one container. In Python, a variable is a label for an object. There can be multiple labels on a single object. If the object is mutable, you can tell it'
19.
▲
by
nas
4y ago
Pablo (the release manager) did his PhD on black hole physics.
20.
▲
by
nas
4y ago
ZODB is awesome and overlooked, IMHO. I'm biased I guess because I was involved in making Durus which is inspired by ZODB. The ZODB model is not appropriate for all applications (optimistic concurrency control) but for the applicatio
21.
▲
by
nas
4y ago
I'm pretty sure the decision on how to address the bug (and the determination of even if it's a bug) was not done by one dev. Other devs were involved and the determination was made as a team to make the change. Having a better
22.
▲
by
nas
4y ago
It's an interesting article but probably needs "2019" in the title.
23.
▲
by
nas
4y ago
The major problem, IMHO, was the licensing of C-Kermit. Yes, if you used C-Kermit and set it up properly, it was as fast or faster than ZModem. However, ZModem had free implementations and was relatively ubiquitous. Columbia University w
24.
▲
by
nas
4y ago
Use "dmypy", it is fast.
25.
▲
by
nas
4y ago
I've found that it's pretty easy to slowly enable mypy checking. You can mark modules with "type:ignore" to make mypy ignore them. Then, you can move to marking individual statements with "type:ignore". Fina
26.
▲
by
nas
5y ago
It's an interesting idea but a lot of care is needed to avoid parsing bugs. I.e. the code you are feeding to the shell via "eval" doesn't not get parsed in some way you don't expect. Also, parsing the script sourc
27.
▲
by
nas
5y ago
No, I mean unlike a gift card, you can get your balance back from the card without the merchant's cooperation. Once you pay a merchant, it's not reversible.
28.
▲
by
nas
5y ago
It's functional but not ready for prime time yet, IMHO. Buying things on Bitrefill using Lightning works well. It is better than a credit card, I think. Really fast and low fees. Imagine a gift card that works for any merchant that
29.
▲
by
nas
5y ago
I suspect Tim's meaning was that ordinary users don't need to know how metaclasses work in detail. It is enough that people know they exist (i.e. do something at time class is defined). If you need them, you are doing deep enoug
30.
▲
by
nas
5y ago
It's a term for the nature of a problem, not a library or software package. It looks like they have designed the API so that "embarrassingly parallel" problems can naturally be computed using Polars. That would be fantastic
More ›