Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cbarrick
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
cbarrick
6mo ago
IIUC, this crate has similar restrictions to the std Mutex. So it depends on what you mean by "work with async code." First, lock acquisition seems to be a blocking method. And I don't see a `try_lock` method, so the naive pa
32.
▲
by
cbarrick
6mo ago
Yeah, it's a pretty versatile phrase that's hard to explain. But it does often have a connotation of childishness or naivety, even when used sincerely. It is often used an expression of thanks or appreciation, but I associate that
33.
▲
by
cbarrick
6mo ago
Defining BE integer data types seems like a bad approach. I wouldn't want to maintain those types. The maintainer would either have to implement all of the arithmetic operations or assume that your users would try to hack their way to
34.
▲
by
cbarrick
6mo ago
Zombo.com is under new management.
35.
▲
by
cbarrick
6mo ago
Doesn't appear to put much strain on my Pixel 10! Graphics and physics performance in 2026 across all kinds of hardware is wildly impressive.
36.
▲
by
cbarrick
7mo ago
Exactly. No need to engineer an allocator. You only live once! void* malloc(size_t size) { void *ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_ANON, -1, 0); return (ptr == MAP_FAILED) ? NULL : ptr; } void
37.
▲
by
cbarrick
7mo ago
Fair enough. Hope you understand my suspicion.
38.
▲
by
cbarrick
7mo ago
There are definitely some warning signs that OP could be a bot: - They "no longer use Github" but their Github account was only created on March 1st. - Their blog domain was registered on March 1st according to whois. - They have
39.
▲
by
cbarrick
7mo ago
Looks like Reddit. Ruins the clear separation between answers and comments. Terrible information density. This sucks.
40.
▲
by
cbarrick
8mo ago
I was familiar with the Gerrit workflow, but not the AGit workflow. The original AGit blog post is no longer available, but it is archived: https://web.archive.org/web/20260114065059/https://git-repo....
41.
▲
by
cbarrick
8mo ago
- M for Model: your data model. - V for View: views of your data. - C for Controller: does stuff with your data.
42.
▲
by
cbarrick
8mo ago
Quite an unhinged take. The claim that malware "makes a ton of money" for Apple definitely needs a citation. I certainly don't believe it. Obviously, Apple understands that the reputational damage from malware is more costly
43.
▲
by
cbarrick
8mo ago
It's not though. I thought it was, and posted this same comment on the other telnet article. But I was informed that it is back! And I was able to confirm it myself. I don't have a telnet client on my Mac, but I was able to confir
44.
▲
by
cbarrick
8mo ago
~~IIRC the blinkenlights telnet movies have been offline for a few years already.~~
45.
▲
by
cbarrick
8mo ago
Do you want the control systems of the subway to get modified by a malicious actor? What about damn releases? Heat pumps in apartment buildings? Robotaxis? Payroll systems? Banks? Amutability is a huge security feature, with tons of real wo
46.
▲
by
cbarrick
8mo ago
That's like saying we shouldn't build anything that can be used for good if it can also be used for evil. By that logic, we should just turn off the internet. Too much potential for evil there. More seriously, the argument being p
47.
▲
by
cbarrick
8mo ago
> [T]he war on general computing and computer ownership [...] It is exhausting to see the hatred some have for people just owning their hardware. The integrity of a system being verified/verifiable doesn't imply that the owner
48.
▲
by
cbarrick
9mo ago
I don't think it's functionally different if you write sudo on the command line or if the installer uses sudo in the script. As you said, most installers need to place binaries in privileged locations anyway.
49.
▲
by
cbarrick
9mo ago
> Please just let me end rules with a trailing comma instead of a period, I'm begging you. The reason Prolog doesn't support trailing commas is exactly the same reason JSON doesn't support trailing commas: the language is
50.
▲
by
cbarrick
9mo ago
As I understand it, if the metadata is lost then the whole filesystem is lost. I think this is a common failure mode in filesystems. For example, in ZFS, if you store your metadata on a separate device and that device is destroyed, the whol
51.
▲
by
cbarrick
9mo ago
It's not really different than downloading a .msi or .exe installer on Windows and running it. Or downloading a .pkg installer on macOS and running it (or running a program supplied in a .dmg). Or downloading a .deb or .rpm on Linux an
52.
▲
by
cbarrick
9mo ago
It's funny hearing someone talk about "market segment" in art. Blurring the line between gen AI and human painting definitely seems in line with the show. Especially since only a human can actually produce art with intent. It
53.
▲
by
cbarrick
9mo ago
It is genuine human artwork, designed to look like generative AI. The retweet by the Apple TV account clearly ties the artwork to the show Pluribus, whose themes are relevant to the current societal discussions around gen AI. All of this ha
54.
▲
by
cbarrick
10mo ago
Almost all. According to the article, we are still missing one: "David Bowie Related" 1/14/2016
55.
▲
by
cbarrick
11mo ago
> There may be a recurrence that does all three at once, not sure. Now that we know the start of the sequence, we can just dump it into OEIS to look up the answer! :) The sequence is A046180 ( https://oeis.org/A046180 ) ti
56.
▲
by
cbarrick
11mo ago
Has this been done successfully at scale? There's a lot of handwaving in this "just use AI" approach. You have to figure out a way to guarantee correctness.
57.
▲
by
cbarrick
11mo ago
> why use `x.wrapping_sub()` instead of regular old `x - 1`? Because I coded it to start at x=0, which will underflow and will panic in debug mode.
58.
▲
by
cbarrick
11mo ago
Same algorithm in Rust finds 2172315626468283465 in about 3 seconds on my M1 Pro. $ time cargo run --release Finished `release` profile [optimized] target(s) in 0.02s Running `target/release/p45` 0 1
59.
▲
by
cbarrick
11mo ago
You've been in the RSS world since the beginning and never seen a stylized feed? I've not been in the RSS world very much. I don't use news readers. And even I have seen a stylized RSS in the wild. Our individual experience
60.
▲
by
cbarrick
1y ago
"Just" is carrying a lot of weight here. We're discussing consumer hardware. Can a consumer "just" replace the components of their iPhone? No, they cannot.
More ›