Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wahern
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
391.
▲
by
wahern
11mo ago
To use big endian on real-world systems. And one of the reasons to use big endian is because diversity helps to find bugs in code. A bug that might result in a hidden off-by-one on little endian might crash on big endian.
392.
▲
by
wahern
11mo ago
> Friends aren't good enough They are if you actively manage your relationships with an eye to maintaining redundant access to necessary materiel or having multi-pronged defense strategies. Singapore is constantly nurturing strategi
393.
▲
by
wahern
11mo ago
Can you confirm whether or not anonymous member structures originated with the Plan 9 C compiler? I know I first learned of them from the Plan 9 compiler documentation, but that was long after they were already in GCC. I can't find whe
394.
▲
by
wahern
11mo ago
The original proposal at https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1406.pdf explains why. > Some implementations have permitted anonymous member-structures and -unions in extended C to co
395.
▲
by
wahern
11mo ago
I've never read proprioception described as a sense of balance before. AFAIU, proprioception is the sense of where your body parts are in relation to each other--arms, legs, head, eyes (and eye gaze), and much more that's difficul
396.
▲
by
wahern
1y ago
> That's far from the only way to get that framework. By analogy, you can pray without attending church. Institutional religion lets dedicated people practice full-time. It's why in Asia there's the culture of donating foo
397.
▲
by
wahern
1y ago
Google removed a ridiculous amount of material during the dispute with the Author's Guild. I know because a bunch of my legal history research citation links collected between 2007-2011 are long since dead, with the material completely
398.
▲
by
wahern
1y ago
> mindfulness meditation I doubt mindfulness meditation started with Buddhism. For one thing, it also figures heavily into Christian practice, especially of Christian religious--priests, nuns, monks, etc. Though, curiously, Christian asc
399.
▲
by
wahern
1y ago
Emotional intelligence and IQ are positively correlated, albeit not strongly. But like IQ, emotional intelligence brings its own burdens.
400.
▲
by
wahern
1y ago
It avoids heap allocation in some situations. But in principle the exact same optimization could be done for stackful coroutines. Heck, right now in C I could stack-allocate an array and pass it to pthread_create as the stack for a new thre
401.
▲
by
wahern
1y ago
> But it has the key limitation that you don't know how much stack to allocate. If you allocate too much stack in advance, you end up being not much cheaper than OS threads; but if you allocate too little stack, you can easily hit s
402.
▲
by
wahern
1y ago
> People are now planting bombs in the tramways of Algiers. My mother might be on one of those tramways. If that is justice, then I prefer my mother. -- Albert Camus Contextualized: https://archive.org/details/Albert
403.
▲
by
wahern
1y ago
One of the cooler Unix command utilities is tsort, which performs a topological sort. Basically you give it a list of items (first word in each line) and their dependencies (subsequent words on each line) and it sorts them accordingly, simi
404.
▲
by
wahern
1y ago
FreeBSD, kernel and base, was ported to CHERI, along with PostgreSQL. > We have adapted a complete C, C++, and assembly-language software stack, including the opensource FreeBSD OS (nearly 800 UNIX programs and more than 200 libraries in
405.
▲
by
wahern
1y ago
> Wouldn’t surprise me, if the US and Israel have done the same. The US doesn't have the institutions or culture in place to recruit and shepherd people into that kind of espionage. Or any espionage, really. We're notoriously h
406.
▲
by
wahern
1y ago
> It has received fulsome praise from such right-libertarian eminences as economists Milton Friedman and Donald Boudreaux I had Boudreaux for an economics class in law school. His, shall we say, enthusiasm and dogmatic faith in markets w
407.
▲
by
wahern
1y ago
There is the old theory about how life is entropy accelerating, and therefore in a grand sense the emergence of life is thermodynamically favored. Though, that says nothing about the absolute chance of it occurring.[1] Our observable univer
408.
▲
by
wahern
1y ago
> In contrast, cryptocurrencies have to upgrade the entire network all at once or it’s effectively a painful fork Bitcoin is much more centralized than the popular imagination would have you believe, both in terms of the small number of
409.
▲
by
wahern
1y ago
> If you're reading this and are the sort to edit wikipedia.. Don't fix it. That would be cheating. Imagine if this was the ethos regarding open source software projects. Imaging Microsoft saying 20 years ago, "Linux has t
410.
▲
by
wahern
1y ago
PUC Lua doesn't use these tricks; every value in the VM is represented with a POD struct with explicit tag and value members. The OP may have been thinking of LuaJIT, which uses NaN boxing, but not pointer tagging. PUC Lua does rely on
411.
▲
by
wahern
1y ago
A VM is a reasonably defensible boundary which you can use to make meaningful assessments about exposure and vulnerability. It's like safe sex--you assume your partner has an STD and take measures to prevent transmission. VMs are lik
412.
▲
by
wahern
1y ago
> Does the local gov "buying" a voting machine give them total visibility into the software? I am genuinely curious. No, it doesn't. But there's a wide variety of machines, from comparatively simple, tested-and-true S
413.
▲
by
wahern
1y ago
I think it's sloppy wording and rhetoric by the article author. AFAIU most jurisdictions do purchase and own their machines, as opposed to leasing.
414.
▲
by
wahern
1y ago
> ICE has extremely little power to punish people who are citizens of the united states Tell that to yourself while in a holding cell for 24 hours waiting for your ID to be "verified". Police have long used temporary detention
415.
▲
by
wahern
1y ago
Trailing commas were common in language design long before JSON or even JavaScript existed as it simplifies machine generation of code while being comparatively trivial to handle in a parser, so a net win. The convenience it offers for diff
416.
▲
by
wahern
1y ago
Yep. Signals were literally the original async model on Unix. They were a userspace abstraction over hardware interrupts, much as they are today, but the abstraction didn't turn out to be as fruitful as it might have been, perhaps beca
417.
▲
by
wahern
1y ago
Conversely, a slower rate of reactivity suggests intelligent life might not yet have arisen in such environments, or ever arise before the opportunity passes.
418.
▲
by
wahern
1y ago
Radiogenic heating as a primary factor in Earth's heat budget and geologic processes might very well not have even been firmly established when the OP was in school. Alot of what is now confidently taught about Earth's geology and
419.
▲
by
wahern
1y ago
Ah. I guess it's only useful for an optimized router/firewall or network storage appliance, perhaps with a bespoke stack carefully tuned to quickly process and then hand the data back to the controller (via DDIO) before it flushes
420.
▲
by
wahern
1y ago
For the curious, > When a 100G NIC is fully utilized with 64B packets and 20B Ethernet overhead, a new packet arrives every 6.72 nanoseconds on average. If any component on the packet path takes longer than this time to process the indiv
More ›