Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wahern
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
361.
▲
by
wahern
11mo ago
It does do something similar... and more. IIUC, when unwinding on panic Rust does unlock the mutex, but it also "poisons" it so that a subsequent attempt to lock will return an error. This is because on panic all the code protecte
362.
▲
by
wahern
11mo ago
These are distinctions without a difference. Events replicated across several independent Matrix servers are not meaningfully different than events broadcast across independent clients in terms of observability or repudiation.
363.
▲
by
wahern
11mo ago
> unless you restart all of userspace (at which point you might as well just reboot). I can't speak for FreeBSD, but on my OpenBSD system hosting ssh, smtp, http, dns, and chat (prosody) services, restarting userspace is nothing to
364.
▲
by
wahern
11mo ago
I don't know how it was approached for vitamin D, but it's all about the model they choose, which in the first instance is just something they pull out of thin air. For many water soluble vitamins and minerals the model is based o
365.
▲
by
wahern
11mo ago
AFAIU, cmov wasn't originally intended to be a guaranteed constant-time operation, Intel and AMD won't commit to keeping it constant-time in the future, but it just so happened that at one point it was implemented in constant-time
366.
▲
by
wahern
11mo ago
> What does "visible" mean here? In Rust, in any circumstance where a move is possible, there are no other references to that object, hence it is safe to move. And other than during construction or initialization (of the mutex
367.
▲
by
wahern
11mo ago
I've been using OpenBSD and PF for nearly 25 years (PF debuted December 2001). Over those years there have been syntax changes to pf.conf, but the most disruptive were early on, and I can't remember the last syntax change that eff
368.
▲
by
wahern
11mo ago
That particular change improves throughput received locally. Though over the past few years there's been a ton of work on unlocking the network layer generally to support more parallelism. For a firewall I guess the critical question i
369.
▲
by
wahern
11mo ago
> Prior to that issue Rust was using something much worse, pthread_mutex_t Presumably you're referring to this description, from the Github Issue: > > On most platforms, these structures are currently wrappers around their pth
370.
▲
by
wahern
11mo ago
Iowa City is in Johnson County. A 2024 point-in-time count of the chronic homeless population--the highly visible population noticeably encountered in public spaces--in Johnson and Washington Counties combined is less than 200 people. See
371.
▲
by
wahern
11mo ago
Using the app a small soda at McDonald's is ~$1 ($1.14 near me, but that may include the SF soda tax). Less than $2 for a large for those beckoning diabetes. But soda is definitely cheaper elsewhere, and drinks, even soda, are usually
372.
▲
by
wahern
11mo ago
Have you used the app? You may need to use the app to get the McValue and similar lower-priced menu items. It's a brilliant price discrimination strategy.
373.
▲
by
wahern
11mo ago
Isn't that horribly out of date? More recent benchmarks elsewhere performed after some Go improvements show Go's C FFI having drastically lower overheard, by at least an order of magnitude, IIUC.
374.
▲
by
wahern
11mo ago
Time to up my game and finish adding new features to KeyMux, which supports enclave keys for SSH, SSL, and PGP, including in mixed-use scenarios, such as secure enclave-backed SSL peer authentication to a Vault server for SSH authentication
375.
▲
by
wahern
11mo ago
That's for amd64/x86_64. macOS, iOS, and recently Android on ARM64 use 16KB pages. Though, Windows does seem to use 4KB pages: https://devblogs.microsoft.com/oldnewthing/20210510-00/?p=10...
376.
▲
by
wahern
11mo ago
Until a few years ago, gccgo was well maintained and trailed the main Go compiler by 1 or 2 releases, depending on how the release schedules aligned. Having a second compiler was considered an important feature. Currently, the latest suppor
377.
▲
by
wahern
11mo ago
Does McDonalds not have the $5 McValue Meals where you live? In the Bay Area, $5 + tax gets you a McChicken, 4 chicken nuggets, small fries, and small drink. $6 to upgrade to a McDouble cheeseburger instead of the McChicken. Altogether ~100
378.
▲
by
wahern
11mo ago
I have a friend who, once he started steadily making mid-high six figures in Silicon Valley, began taking the HOV lane on his commute into work, despite driving alone. The calculus was easy. Assuming $500,000 salary (I think he made more),
379.
▲
by
wahern
11mo ago
The best way to start cooking is probably with a knife, cutting board, an 8" or 10" skillet, and a small saucepan (i.e. little soup pot). There are pans that can work as the last two, but it helps to be able to have two pans at ha
380.
▲
by
wahern
11mo ago
How big is the Arcan development team? Is there any prospect of Gtk or Qt adding at least basic native support?
381.
▲
by
wahern
11mo ago
You're definitely correct. "#!" is reserved (see Rationale C.2.1), but not required, though it's described as "ubiquitous" (see Rationale C.1.7). "/bin/sh" isn't required either, but ar
382.
▲
by
wahern
11mo ago
The issue in the US isn't lack of institutionalization, per se, it's the lack of mandatory mental health treatment. That is, it's very difficult and rare to require the mentally ill in the US to take medicine, even after re
383.
▲
by
wahern
11mo ago
Italy has a strong north/south cultural and wealth divide, much like the US (at least before the recent cultural reconfiguration). Northern Italy has always been at the forefront of industry, AFAIU, but Italian diaspora largely came fr
384.
▲
by
wahern
11mo ago
Yeah, median income in the UK is about at the level of Mississippi, as is much of Western Europe (Western, not Eastern!). The US is just ridiculously wealthy, and our income inequality is largely a matter of the absurd heights reached at th
385.
▲
by
wahern
11mo ago
> I think that it is much more like the US, nowadays. IIRC, mobility indexes crossed quite a few years ago. IOW, UK is better than the US in this respect. See, e.g., https://en.wikipedia.org/wiki/Global_Social_Mobili
386.
▲
by
wahern
11mo ago
> And I say that having some in my name (I actually tried to get my name off them, but our lawyers said it's not possible). I was originally named on a patent filing (along with the CTO), but left the company and apparently it was t
387.
▲
by
wahern
11mo ago
It's an intentional security thing. If the sftp subsystem command failed OpenSSH could fall back to scp automatically, but there are some security issues with that. Certain semantics, e.g. file name expansions, differ between scp and s
388.
▲
Sudo-Rs Affected by Multiple Security Vulnerabilities
(phoronix.com)
10 points
by
wahern
11mo ago
|
6 comments
389.
▲
by
wahern
11mo ago
It's already too exhausting to use for OOM, which is why Rust effectively punted on that from the very beginning. And the ironic thing is that anyhow::Error (or similar) seems poised to become idiomatic in Rust, which AFAIU always al
390.
▲
by
wahern
11mo ago
> Belief in ESP back then is more understandable since they didn't have the experiments that disproved it, or the knowledge of biology that doesn't show a mechanism. IMO, quite the opposite. They had more than sufficient knowle
More ›