Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcranmer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
601.
▲
by
jcranmer
1y ago
If I write a vector v = [1, 3, 2], what I am actually saying is that v is equal to 1 * e₁ + 3 * e₂ + 2 * e₃ for three vectors I have previously decided on ahead of time that form an orthonormal basis of the corresponding vector space. If I
602.
▲
by
jcranmer
1y ago
> Even the "why does matrix multiplication look that way" is incredibly deep but practically impossible to motivate from other considerations. It's only difficult if you are wedded to a description of matrices and vectors
603.
▲
by
jcranmer
1y ago
> Barely 50 years ago computers used to cost a million dollars and were less powerful than your phone's SIM card. Fifty years ago, we were starting to see the very beginning of workstations (not quite the personal computer of modern
604.
▲
by
jcranmer
1y ago
If you're going to count the surrogate pairs as not-a-Unicode-codepoint, you should also count the other noncharacters: the last two codepoints on each of the 17 planes and the range U+FDD0-U+FDEF. The expansion of Unicode beyond the B
605.
▲
by
jcranmer
1y ago
If I have the numbers right, OpenAI will burn more money this year alone than all of those prior companies did in their entire profitless phase of existence .
606.
▲
by
jcranmer
1y ago
> It's how the code point address space is defined. Not really. Unicode is still fundamentally based off of the codepoints, which go from 0 to 2^16 + 2^20, and all of the algorithms of Unicode properties operate on these codepoints.
607.
▲
by
jcranmer
1y ago
> But if the code already exists and is working, is it really that costly to just not break it? It depends on the feature, but in many cases the answer is in fact 'yes.' There's a reason why Alpha support (defunct for deca
608.
▲
by
jcranmer
1y ago
I don't know that 7-bit bytes were ever used. Computer word sizes have historically been multiples of 6 or 8 bits, and while I can't say as to why particular values were chosen, I would hypothesize that multiples of 6 and 8 work w
609.
▲
by
jcranmer
1y ago
No, that's not the thing I'm talking about. Those are the different ordering modes you can specify on atomic operations. Rather, there's a panoply of definitions like "inter-thread happens-before" and "synchron
610.
▲
by
jcranmer
1y ago
The data-race-free memory model was an observation back in the early 90's that a correctly-synchronized program that has no data races will, even on a weak memory model multiprocessor, be indistinguishable from a fully sequentially-con
611.
▲
by
jcranmer
1y ago
That's not a map of their HSR network, that's a map of their rail network. Openrailwaymap plots tracks by max speed, and you can see the map of China here: https://openrailwaymap.org/?style=maxspeed&lat=30.9587
612.
▲
by
jcranmer
1y ago
> (We also have world-class municipal and regional rail in the New York area.) If by world-class you mean something that most of the world would consider a rail system, yes (in comparison to most US cities' attempts which aren'
613.
▲
by
jcranmer
1y ago
That's what apt pinning is for: https://wiki.debian.org/AptConfiguration You can tell apt to prefer a given source list only for a few packages.
614.
▲
by
jcranmer
1y ago
Those two statements are not contradictory, and thinking that they are belies a pretty fundamental misunderstanding of his basic thesis. The first statement is one about the present value of AI. The second statement is about their belief of
615.
▲
by
jcranmer
1y ago
Since only the first one responds to any of Zitron's content that I've actually read, I'll respond only to that one: It's not responsive at all to Zitron's point. Zitron's broader contention is that AI tools ar
616.
▲
by
jcranmer
1y ago
A lot of people want to conflate several things that shouldn't be conflated. To clarify: * The First Amendment generally prohibits the government from enacting any laws or regulations that limit speech based on its content (anything yo
617.
▲
by
jcranmer
1y ago
As much as I hate 'as' and try to avoid it, it also covers several things that are impossible otherwise (integer <-> float casts are impossible without it, e.g.). I've found that sometimes just being able to express a c
618.
▲
by
jcranmer
1y ago
Apparently about 20% of the US is multilingual (per census data). So while the median might be monolingual, it is still so large of the US as to be a market segment worth catering to.
619.
▲
by
jcranmer
1y ago
> Second, the x86 platform has a lot of legacy, and each operation on x86 is translated from an x86 instruction into RISC-like micro-ops. This is an inherent penalty that Apple doesn't have pay, and it is also why Rosetta 2 can achi
620.
▲
by
jcranmer
1y ago
I'm pretty dubious that the value it adds is in fact positive. I first thought to look at DeepWiki for a large project--LLVM, specifically--and the results ranged from incomplete to just plain incorrect (see https://news.yco
621.
▲
by
jcranmer
1y ago
So I decided to look at some open source repos I know decently well. The only one that seems to have a wiki is LLVM ( https://deepwiki.com/llvm/llvm-project ). Thoughts on the overview page: Okay, weird subset of the top
622.
▲
by
jcranmer
1y ago
The thing that causes you run out of memory isn't actually anything in LLVM, it's all in ld. If you're building with debugging info, you end up pulling in all of the debug symbols for deduplication purposes during linking, an
623.
▲
by
jcranmer
1y ago
I think Terry Pratchett laid it out best: > “Do you understand what I'm saying?" shouted Moist. "You can't just go around killing people!" > "Why Not? You Do." The golem lowered his arm. > "W
624.
▲
by
jcranmer
1y ago
Yes and no. In my case, I have code that essentially looks like this: struct Parser { state: ParserState } struct Subparser { state: ParserState } impl Parser { pub fn parse_something(&mut self) -> Sub
625.
▲
by
jcranmer
1y ago
There is, I think, an ownership model that Rust's borrow checker very poorly supports, and for lack of a better name, I've called it hot potato ownership. The basic idea is that you have a buffer which you can give out as ownershi
626.
▲
by
jcranmer
1y ago
Ad revenue runs around $1/1000 views, and her output looks roughly daily with a few hundred K views per video on average. That means she's grossing maybe a few hundred K/year. But that's gross, not net; she still has to
627.
▲
by
jcranmer
1y ago
When I worked at a water treatment plant, we produced about 160 million gallons/day of water in the summer time, and only about 80 million gallons/day in the winter time. Now ask yourself what water-consuming activities happen in
628.
▲
by
jcranmer
1y ago
> I wish the author gave more concrete examples about what kinds of workflows they want to dynamically construct and remotely execute (and why a separate step of registering the workflow up front with the service before running it is suc
629.
▲
by
jcranmer
1y ago
> Would it ever make sense to write handwritten compiler intermediate representation like LLVM IR instead of architecture-specific assembly? Not really. There are a couple of reasons to reach for handwritten assembly, and in every case,
630.
▲
by
jcranmer
1y ago
So you might say that... any sufficiently complicated init system contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of systemd?
More ›