Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kibwen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
601.
▲
by
kibwen
8mo ago
> And even if they come with hash checks _today_, there is no guarantee next version won't quietly remove them. ...But you could say this about literally every security measure in literally every codebase. At any point, anyone cou
602.
▲
by
kibwen
8mo ago
By this same metric, do you refuse to use C because the vast majority of OSS C codebases are permissively licensed? Surely you see that this makes no sense, yes? Neither Rust-the-language nor Rust-the-ecosystem are any more hostile to GPL t
603.
▲
by
kibwen
8mo ago
I mean, it's an apt comparison, given that the Venn diagram between the pro-NFT hucksters and the pro-AI crowd is a circle. When you listen to people who were so publicly and embarrassingly wrong about the future try to sell you on the
604.
▲
by
kibwen
8mo ago
> At that scale, you can't just give everyone the source and tell them to do a world compile. Firstly, of course you could. Secondly, you don't even need to, as NixOS shows.
605.
▲
by
kibwen
8mo ago
The problem is that "division" in the context of computation refers to multiple different operations, so that we all end up talking past each other. Some people want a `division_where_zero_is_an_illegal_denominator`, some people w
606.
▲
by
kibwen
8mo ago
> To see the point try to wrap overflows on arithmetic functions. The invariant is less obvious, but you could still do this if you really wanted. The observation is that addition of two fixed-size nonnegative integers cannot overflow
607.
▲
by
kibwen
8mo ago
Let's not dance around the issue. It's clear that the reason that the VC class are so frothing-at-the-mouth at the potential of LLMs is because they see slavery as the ideal. They don't want employees. They want perfectly sub
608.
▲
by
kibwen
8mo ago
> movements in the actual prediction market itself, well before the event occurs/market resolves can themselves convey information, about what apparent insiders think (or whales want to manipulate the market to think) Yes, and sur
609.
▲
by
kibwen
8mo ago
Yes, Apple is an ad company. Their annual ad revenue is in the billions, and climbing every year.
610.
▲
by
kibwen
8mo ago
Prediction markets can only pay out based on public information, which means that prediction markets can only "reveal information" like this for things that would have been public knowledge anyway. And insiders are always risking
611.
▲
by
kibwen
8mo ago
"High variance, slightly-negative EV shots on a long time horizon" is a gambling addict's way of justifying the old adage, "sure, we're losing money on each sale, but we'll make up for it in volume!"
612.
▲
by
kibwen
8mo ago
The output of /dev/random doesn't have meaning, but that doesn't make my kernel a nihilist.
613.
▲
by
kibwen
8mo ago
At no point in human history has C been the best language for beginners. C was, like Javascript, hacked together in a weekend by someone who wished they could be using a better language. It was burdened with flaws from the outset and consid
614.
▲
by
kibwen
8mo ago
Yes, defer is absolutely a form of hidden control flow, even if it's less egregious than exceptions.
615.
▲
by
kibwen
8mo ago
Defer is also hidden control flow. At the end of every block, you need to read backwards in the entire block to see if a defer was declared in order to determine where control will jump to. Please stop pretending that defer isn't hidde
616.
▲
by
kibwen
8mo ago
No, RAII is one of the primary improvements of C++ over C, and one of the most ubiquitous features that is allowed in "light" subsets of C++.
617.
▲
by
kibwen
8mo ago
If you're teaching them to write an assembler, then it may be worth teaching them C, as a fairly basic language with a straightforward/naive mapping to assembly. But for basically any other context in which you'd be teaching
618.
▲
by
kibwen
8mo ago
The vast majority of Rust code out there doesn't use the `unsafe` keyword at all, and the vastly smaller amount of unsafe code that exists allows for focused and precise testing and verification. You really have no idea what you'r
619.
▲
by
kibwen
8mo ago
Please be more specific about where you think the parent commenter is getting the basics wrong. A single quoted sentence will do.
620.
▲
by
kibwen
8mo ago
> How many OS threads can you run on 1 machine? Any modern Linux machine should be able to spawn thousands of simultaneous threads without breaking a sweat.
621.
▲
by
kibwen
8mo ago
> both of these are not the case in practice though No, people routinely write Rust with no third-party dependencies, and yet people do not routinely write C code that is memory-safe. Your threat model needs re-evaluating. Also keep in
622.
▲
by
kibwen
8mo ago
But this is irrelevant. If you're afraid of third-party code, you can just... choose not to use third-party code? Meanwhile, if I'm afraid of memory corruption in C, I cannot just choose not to have memory corruption; I must inste
623.
▲
by
kibwen
8mo ago
I still wonder if it wouldn't have been better to let each digit be represented by its exact value, and then use the high end of the scale rather than the low end for the control characters. I suppose by 1970 they were already dealing
624.
▲
by
kibwen
9mo ago
No. Apple makes money from subscriptions, and Apple controls the app store with an iron fist. In a hypothetical world where the price of apps falls to ~free, Apple will just ban free apps in order to recoup that revenue. Hell, if you think
625.
▲
by
kibwen
9mo ago
> Major parts of Windows and Office were being written in C++ in the early-mid 90s, before C++ turned 10. Major parts of Windows, Android, and Linux were being written in Rust before it turned 10. Major parts of AWS were being written
626.
▲
by
kibwen
9mo ago
No, this is silly. You can look at the availability and maturity of toolchains, the rate of release of projects written in that language, the rate of release of books and learning materials, the rate at which universities begin teaching the
627.
▲
by
kibwen
9mo ago
No, services that lean too heavily on Github routinely receive messages from the admins asking them to do what they can to dial back usage of server resources. It happened to Homebrew, it happened to Rust, and it happened to various other p
628.
▲
by
kibwen
9mo ago
> Very much so once you compare it to how quickly C++ (and, in fact, any language that's ever been in the top 5 or so) achieved similar milestones. No, this completely overestimates how quickly languages gain prominence. C came ou
629.
▲
by
kibwen
9mo ago
I'm not expecting to convince you of this position, but I find it to be a feature, not a bug, that Rust is inherently hostile to companies whose business models rely on tossing closed-source proprietary blobs over the wall. I'm fa
630.
▲
by
kibwen
9mo ago
> The resulting constraint is roughly similar to that of never ever breaking ABI in C++. No, not even remotely. ABI-stability in C++ means that C++ is stuck with suboptimal implementations of stdlib functions, whereas Rust only stabil
More ›