Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eqvinox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
721.
▲
by
eqvinox
1y ago
The block alignment of the text in the e-mail ( https://sourceware.org/pipermail/binutils/2025-October/14487... ) is triggering some serious tilt for me…
722.
▲
by
eqvinox
1y ago
They're just using the encoding for PUSH CS, presumably the actual instruction doesn't concern segment registers… I hope…
723.
▲
by
eqvinox
1y ago
Unless there is a reason they can't, I feel like libraries like this should use existing abstractions where possible. In this case: struct timespec on Unix systems. Defining a new "Time" struct that has the same members just
724.
▲
by
eqvinox
1y ago
> Next week: pthread_attach(). I think you meant PTRACE_ATTACH, there is no pthread_attach ;) The newer process_vm_readv() is easier btw, for the implied function of reading from the target process' memory.
725.
▲
by
eqvinox
1y ago
> why people continue to misunderstand this befuddles me. You might want to check whether your befuddlement is due to your own misunderstanding of the topic. How many switching regulators have you built? We aren't living in fixed
726.
▲
by
eqvinox
1y ago
Sure, but that's not what your article is arguing. You literally have a heading "The Vulnerability". It's not a vulnerability, it's not an attack, it's just one option of what you can do after you're done
727.
▲
by
eqvinox
1y ago
This is not a vulnerability. If someone can modify your environment variables or /etc/ld.so.conf, your system is already wholly, entirely and utterly compromised.
728.
▲
by
eqvinox
1y ago
I'm curious what this data would look like collated by drive birth date rather than (or in 3D addition to) age. I wouldn't use that as the "primary" way to look at things, but it could pop some interesting bits. Maybe
729.
▲
by
eqvinox
1y ago
> Today, the “: list[str]” is 11 wasted characters and it’s not as aesthetically pleasing. Tomorrow, you do some refactor and your inferred list[str] becomes a list[int] without you realizing it… I’m sure that sounds silly in this toy ex
730.
▲
by
eqvinox
1y ago
They maybe (not taking a stance) shouldn't, but I don't think this argument is as simple as one thinks. Doing surveillance on someone's home generally requires a court order beforehand . And depending on the country (I don&
731.
▲
by
eqvinox
1y ago
Yes, annotating the type explicitly fixes it; but tbh I'd consider that type annotation "unnecessary/distracting code litter". As far as their philosophy goes, it's an open issue they're working on, so their ph
732.
▲
by
eqvinox
1y ago
> it does not actually cover what rules you can check or infer from type hints Indeed this is the cause of maybe 30% of the warnings I'm seeing… items being added to lists or dicts in some place (or something else making it infer a
733.
▲
by
eqvinox
1y ago
> You can take a look yourself if you think some of them are wrong: https://github.com/python/typeshed/tree/main/stdlib/asyncio Hmm. Presumably mypy and pyrefly use the same ones, but then I don&
734.
▲
by
eqvinox
1y ago
Hm, it doesn't seem to be dealing particularly well with imported packages that don't have type annotations. Seeing a bunch of "has no attribute" warnings. Some of the "substitute" annotations also seem to be
735.
▲
by
eqvinox
1y ago
Indeed, how did they even figure this out?
736.
▲
by
eqvinox
1y ago
> Can we agree that with close to 10,000 Starlink birds in the air and counting, that whatever succeeds GPS needs to be a much larger constellation than the 30-unit GPS constellation in MEO, flying much lower? For the record, block III G
737.
▲
by
eqvinox
1y ago
"with enough integration time" — the article is about live navigation, which generally can't afford that.
738.
▲
by
eqvinox
1y ago
The legal requirements on that (in most places) are that the speedometer is in something like a -0%/+10% range, i.e. never shows lower than you're actually driving. Not only is that not helpful for navigation (but you could compe
739.
▲
by
eqvinox
1y ago
Almost, they use accelerometers and gyros, 'dead reckoning' is the keyword to look for. The wheels are a bit unreliable because the diameter changes slightly with pressure and temperature.
740.
▲
by
eqvinox
1y ago
That's kinda what RTK does, you have a ground station and transfer correction data for the visible satellites from it to your GNSS receiver. It doesn't transmit a GNSS signal itself but functionally the effect is vaguely comparabl
741.
▲
by
eqvinox
1y ago
Nothing in this article is new, and the problem with RTK has always been the (unpaid) availability of reference stations. Good on them for trying to make a package of it, but maybe this "news" site could've used a bit less un
742.
▲
by
eqvinox
1y ago
I'm not a Windows developer, you'll have to excuse my ignorance on that. Pretty sure you're not shipping user32.dll with your applications though. Also, I didn't claim any tool would give a perfect answer on compatibili
743.
▲
by
eqvinox
1y ago
At least that'll allow you to install both in parallel. Which is an absolutely essential requirement IMHO, and there not being a solution for this for semver'd Python packages is a root cause of all this I'd say.
744.
▲
by
eqvinox
1y ago
That's why other spaces have machine tools for this. There seems to be an overall drift in Python to use more type annotations anyway; making a tool that compares 2 versions of a package isn't rocket science (maybe it already exis
745.
▲
by
eqvinox
1y ago
There are a whole bunch of these — libevent, libev, glib's main loop, Qt's main loop, Apache's modular event loop, … …which is why there is libverto, a 2nd order abstraction. It'd be funny if it weren't also sad.
746.
▲
by
eqvinox
1y ago
> epoll/kqueue are replacements for their deprecated counterparts poll and select. Neither poll nor select are deprecated. They're just not good fits for particular use patterns. But even select() is fine if you just need to wa
747.
▲
by
eqvinox
1y ago
I was hoping part of this delay was due to people arguing lock files are poor engineering to begin with, but alas, no mention of that. I guess we've just given up on any kind of package version flexibility.
748.
▲
by
eqvinox
1y ago
The article (and a lot of comments here) confuse C with the psABI (platform specific ABI, which is what really defines conventions —more than just calling— for executable code.) Due to history, yes, most psABIs are "do what C does"
749.
▲
by
eqvinox
1y ago
> Well, CALL and RETURN need a stack: RETURN would need an address to return to. So there you go. I agree with the sentiment but you're making an impermissible contraction here. Look at how ARM calls work—the instructions are "
750.
▲
by
eqvinox
1y ago
Great, now the smartass in me thinks everywhere is quicksand because it's just a bunch of compacted sand¹ on top of the groundwater aquifer… ¹ yes I know soil is not sand
More ›