Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wahern
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
421.
▲
by
wahern
1y ago
A quick look at a topographic map of California suggests HSR through the Central Coast would be significantly more expensive, especially the southern half. Moreover, the Central Valley has more than 3x the population and significantly more
422.
▲
by
wahern
1y ago
My first thought is that what's different here isn't async, per se, but parallelism. io_uring uses a kernel thread pool to service I/O requests, so you actually end up with multiple threads running in parallel handling bookke
423.
▲
by
wahern
1y ago
> We should be looking to draw people from these HCOL areas to help bring back these cities. This is one of the arguments for high-speed rail. The primary reason to move to a HCOL city is employment opportunities. The rapid growth of rai
424.
▲
by
wahern
1y ago
It's difficult to know specifically what ordinary folks believed, let alone the literati. But as you said, even today people mix religion and politics even when they at least superficially understand them as distinct and separable. I t
425.
▲
by
wahern
1y ago
> Just make all the standard library random interfaces back onto a real CSPRNG That's what OpenBSD has done for the traditional C and POSIX randomness APIs. Also, re your earlier comment, OpenBSD's arc4random API is everywhere
426.
▲
by
wahern
1y ago
Well, modern science wasn't a thing, per se; would have been part of natural philosophy and not well delineated. But philosophy, religion, and magic were broadly speaking understood as distinct, similar to today, at least from the pers
427.
▲
by
wahern
1y ago
AFAIU, in Ancient Greek culture Magi were often considered like Plato's Philosopher Kings. Greeks didn't have an accurate understanding of Zoroastrianism or the structure of Persian government, but for some reason they saw Persian
428.
▲
by
wahern
1y ago
Except primers have lead, dusting your hands and face with lead, which I wouldn't be surprised if worse than ingesting some lead shot. And it's far more difficult to find ammunition with lead-free primer than lead free bullets.
429.
▲
by
wahern
1y ago
Yeah. I always disable overcommit (notwithstanding that Linux cannot provide perfectly accurate strict memory accounting), and I'd prefer not to use swap, but Linux VM maintainers have consistently stated that they've designed and
430.
▲
by
wahern
1y ago
There are plenty of American tourists and American brands in China, too. But the article mentioned "ancient towns", which is another way of saying old areas, often preserved as historic districts (if an enclave of a larger city) o
431.
▲
by
wahern
1y ago
I'm not even sure the 20th century was an aberration. Yes, the 19th and 20th centuries saw outside influences (Opium Wars, WWII, Communism) triggering massive domestic changes, but those influences happened at the edges, geographically
432.
▲
by
wahern
1y ago
> Walking through the ancient towns another reality hit me: China doesn't need us anymore. These towns were packed with only Chinese tourists, I counted maybe ten Westerners the whole week. No Starbucks, no McDonald's, no Weste
433.
▲
by
wahern
1y ago
That seems a little too cynical. It matters how a customer might use a chip, such as the type of cooling that would be expected in a typical system using that model, and that's informed by the advertised specifications. Base clocks a
434.
▲
by
wahern
1y ago
Aren't quarks and, probably, electrons point-like particles? In that sense the fundamental subatomic particles aren't "physical" in the sense the Greeks would have thought of them, e.g. having a non-0 diameter, and in th
435.
▲
by
wahern
1y ago
Nope. Newer hardware, newer exploits.
436.
▲
by
wahern
1y ago
Also, the timing is mighty suspicious, with this NIH decision being published yesterday (21st) and the announcement happening this morning (22nd). I wouldn't be surprised if Intel's lawyers were waiting (perhaps slow-walking the a
437.
▲
by
wahern
1y ago
> Can somebody explain to me how the government made an investement, bought shares, but paid nothing? Extortion. Recent Supreme Court decisions have permitted the government to unilaterally cancel disbursements, even in flagrant violatio
438.
▲
by
wahern
1y ago
In the case of io_uring, one user thread per core is not a bad rule of thumb given that the kernel side is using a pool of worker threads.
439.
▲
by
wahern
1y ago
Product and project managers can have similar issues of perspective as engineers, chasing trends in the industry or losing the forest for the trees (feature checklists, etc). But, yeah, having devs talk directly to customers can be problema
440.
▲
by
wahern
1y ago
> I find far more often that bad UX is the result of someone trying to use a tool for something it wasn't designed for. Isn't that the point? In the story the engineers weren't designing a tool well-suited for the customer
441.
▲
by
wahern
1y ago
It was first added to the Single UNIX Specification (SUS) in 1997. Perhaps there was some oddball non-conformant implementation at the time, but in those cases the standard would usually use a different name. There's the infamous strnc
442.
▲
by
wahern
1y ago
> I always have understood that snprintf does not write a null character when the produced string is longer than the given size. snprintf always null-terminates when the buffer length is greater than 0 and there's no error. That is,
443.
▲
by
wahern
1y ago
we're -> we are I've -> I have & -> and co. -> company won't -> will not it's -> it is
444.
▲
by
wahern
1y ago
> And combine it with __attribute__((cleanup)) to get the string automatically freed at the end of your function (if that's the right thing to do). Looks like cleanup with be standardized finally in the next C2x. The problem is that
445.
▲
by
wahern
1y ago
asprintf and vasprintf are part of POSIX, now.
446.
▲
by
wahern
1y ago
> Why would long lived VMs be better if they're also using old versions of software? It's more difficult to break out of a VM and take over the host, unless a container has a very strict seccomp policy that limits the exposed k
447.
▲
by
wahern
1y ago
He's making the trains run on time. Before I learned it was an infamous political meme immortalized by the fallout from WWII, I heard that claim recited in utter sincerity in the 1990s by a woman who had been a teenager in Italy during
448.
▲
by
wahern
1y ago
The constraint here (entirely self-imposed by Boeing's sales strategy) is that the newer models have to basically behave like the older models to avoid needing a new type certification. (See https://en.wikipedia.org/wik
449.
▲
by
wahern
1y ago
I was curious myself, poked around, and found some references. But I'm still woefully incapable of answering that with any confidence and don't want to risk saying anything misleading, so here's the code and some other breadc
450.
▲
by
wahern
1y ago
Is that a regional adage?
More ›