Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcranmer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
271.
▲
by
jcranmer
7mo ago
> I wonder if C++ has some hairy concepts and syntax today on par with Rust's more difficult parts. … … … … Unqualified name lookup has been challenging in C++ since even before C++11. Overload resolution rules are so painful that i
272.
▲
by
jcranmer
7mo ago
Certificate revocations are not required to be reported after the expiration date, so you can no longer reliably check if a certificate has been revoked (e.g., because its underlying key was exfiltrated or because it was misissued).
273.
▲
by
jcranmer
7mo ago
Honestly, the Fourth Crusade in 1204 was more of a "real" death of the Byzantine Empire than the conquest of Constantinople in 1453. Although the largest remnant of the Byzantine Empire was able to reconquest Constantinople in 126
274.
▲
by
jcranmer
7mo ago
I've been trying out AI over the past month (mostly because of management trying to force it down my throat), and have not found it to be terribly conducive to actually helping me on most tasks. It still evidences a lot of the failure
275.
▲
by
jcranmer
7mo ago
And Robocop, Terminator, Captain Kirk and Darth Vader. Lo-Pan, Superman, every single Power Ranger.
276.
▲
by
jcranmer
7mo ago
You mean, like NYC Water Tunnel #3? https://en.wikipedia.org/wiki/New_York_City_Water_Tunnel_No....
277.
▲
by
jcranmer
7mo ago
> How big a share of the desktop market do the BSDs have compared to Linux? I imagine it’s quite small, unfortunately. Good stats are hard to come by, but the Linux : BSD ratio is probably no larger than the Windows : Linux ratio (which
278.
▲
by
jcranmer
7mo ago
There are three main problems with trying to offer a simple answer to the question of "what is the first computer?" The most obvious of the problems is that a computer isn't a singular technology that springs up de novo, but
279.
▲
by
jcranmer
7mo ago
> Why would anyone create a new language now? I'm writing my own programming language right now... which is for an intensely narrow use case, I'm building a testbed for comparing floating-point implementations without messy lan
280.
▲
by
jcranmer
7mo ago
> The back half of winter was characterized by blackened, salt-saturated puddles and banks. I wonder if the prevalence of EVs has made things less dirty in the winter. The dominant cause of that is probably brake and tire particulate mat
281.
▲
by
jcranmer
7mo ago
There is a decent legal argument to be made that §230 doesn't immunize platforms for the speech of their algorithm, to the extent that said speech is different from the speech of the underlying content. (A simple, if absurd, example of
282.
▲
by
jcranmer
7mo ago
Compilers are some of the largest, most complex pieces of software out there. It should be no surprise that they come with bugs as all other large, complex pieces of software do.
283.
▲
by
jcranmer
8mo ago
AIUI, all such results are because the FDA has given up since aduhelm and said "well, if it clears amyloid, that's as good as slowing Alzheimer's, right?" despite the actual results on Alzheimer's progression being
284.
▲
by
jcranmer
8mo ago
Too bad we've had like a half-dozen putative Alzheimer's drugs that clear amyloid beta that turn out to do nothing to slow or prevent Alzheimer's. Actually, I think even by 2016 we already had enough phase 3 drug failures tha
285.
▲
by
jcranmer
8mo ago
Example compiler explorer view: https://godbolt.org/z/b5z3q1616 Clang does the sensible thing with UB and just returns poison (a form of undefined value) in both cases, which manifests as do nothing on x86-64 and load
286.
▲
by
jcranmer
8mo ago
The term "loot box" has, since I want to say the early 2010s, referred to the mechanic described in the quote. It's hard for me to say what the earliest games were to create this mechanic, especially since its origin seems no
287.
▲
by
jcranmer
8mo ago
I must say, I do love how this comment has provoked such varying responses. My own observations about using AI to write code is that it changes my position from that of an author to a reviewer. And I find code review to be a much more exhau
288.
▲
by
jcranmer
8mo ago
I'd expect that probably less than 10% of my time is spent actually writing code, and not because of AI, but because enough of it is spent analyzing failures, reading documents, participating in meetings, putting together presentatio
289.
▲
by
jcranmer
8mo ago
That's only true when forwarding IPv4x -> IPv4. When you're going the reverse direction and you need to forward IPv4 -> IPv4x, well, still need a table then.
290.
▲
by
jcranmer
8mo ago
Recall for a minute that floating-point arithmetic is inherently inexact, and it is thus pretty rare that you query for equality using an == operator rather than a relative or absolute error check (both of which involve < or > against
291.
▲
by
jcranmer
8mo ago
> The IPv4 32-bit address space should have been included in the IPv6 address space, instead of having 2 separate address spaces. The entire IPv4 address space is included in the IPv6 address space, in fact it's included multiple ti
292.
▲
by
jcranmer
8mo ago
> Wouldn't this proposal not require isps to do anything? They already assign every user a unique ipv4 address. The reason there's an IPv4 address shortage is because ISPs assign every user a unique IPv4 address. In this altern
293.
▲
by
jcranmer
8mo ago
You can define a perfectly rational partial order on floats that make NaNs unordered with respect to numbers but equal to other NaNs.
294.
▲
by
jcranmer
8mo ago
> But the likely destiny of C++ is to inherit the provenance rules that are an adjunct to C23, PNVI-ae-udi, Provenance Not Via Integers, Addresses Exposed, User Disambiguates There's a competing proposal in C++ land to add provenanc
295.
▲
by
jcranmer
8mo ago
Pointer provenance is not properly defined in C or C++. (There is a C TS that introduces pointer provenance, but it's not part of the main standard). The problem of pointer provenance is more finding a workable theoretical model rather
296.
▲
by
jcranmer
8mo ago
> There is no way the US/Israel didn't calculate that - the straight would be closed, a new leader may represent similar idiologies of the past leader. A few things to remember here. First, Israel and US have divergent strategi
297.
▲
by
jcranmer
8mo ago
Some of the issues are undoubtedly that I have a decidedly non-standard architecture for my system that the AI refuses to acknowledge--it hallucinated things like integers, which isn't a part of my system, simply because what I have lo
298.
▲
by
jcranmer
8mo ago
I recently tried using Claude to generate a lexer and parser for a language i was designing. As part of its first attempt, this was the code to parse a float literal: fn read_float_literal(&mut self) -> &'a str { let
299.
▲
by
jcranmer
8mo ago
Which languages have a standard library that contains nothing requiring intimate integration with the language implementation itself? I'm not aware of any, even limited-standard-library C included.
300.
▲
by
jcranmer
8mo ago
It should be noted that because of the effect of the poles on the atmosphere (the atmosphere is intrinsically thinner near the poles), the surface pressure is even lower, so that it feels like about 11k feet in altitude rather than 9k feet
More ›