Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lmm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
571.
▲
by
lmm
10mo ago
Hardly. Whether we are paying more for less is intimately linked to whether we are, in fact, paying more.
572.
▲
by
lmm
10mo ago
Are we paying more? Or are we being lied to about the rate of inflation?
573.
▲
by
lmm
10mo ago
> And yet Rust ecosystem practically killed runtime library sharing, didn't it? Yes, it did. We have literally millions of times as much memory as in 1970 but far less than millions of times as many good library developers, so this
574.
▲
by
lmm
10mo ago
How much evidence do we actually have that AI wasn't used for these "real props"? (Personally I don't care about my ability to tell the difference between what's AI and what's not; I care about my ability to te
575.
▲
by
lmm
10mo ago
> AFAICT the point of arrays as a data structure is to allow relatively cheap indexing at the cost of more expensive resizing operations. What else would you do with an array other than index into it? The main thing you do with arrays is
576.
▲
by
lmm
10mo ago
IPv6 is already here if you're not in the US. I moved house last month and consumer ISPs don't offer a (real) IPv4 connection in my country any more; you get an IPv6 connection and your router does MAP-E if you want to send data o
577.
▲
by
lmm
10mo ago
> The current adoption woes are exactly because IPv6 is so different from IPv4. Everyone who tries it out learns the hard way that most of what they know from IPv4 doesn't apply. In my experience the differences are just an excuse,
578.
▲
by
lmm
10mo ago
> - I don't have a shortage of IPv4. Maybe my ISP or my VPN host do, I don't know. I have a roomy 10.0.0.0/8 to work with. That's great until you need to connect to a work/client VPN that decided to also use 10.0
579.
▲
by
lmm
10mo ago
Decent code generally avoids indexing into arrays at all; if it does so then it does so in ways where the bound checks are so certain to succeed that you can usually explain it to the compiler (e.g. split an array into slices and access tho
580.
▲
by
lmm
10mo ago
"Bad programmers worry about the code. Good programmers worry about data structures and their relationships." > It's just so... dogmatic. Inexpressive. It ultimately feels to me like a barrier between intention and reality
581.
▲
by
lmm
10mo ago
| is a massive footgun because it's usually exclusive in practice and occasionally silently inclusive. Having it in a language is a mistake, even if it superficially seems to make things easier, just like e.g. null.
582.
▲
by
lmm
10mo ago
Sometimes you really can't separate the business logic from the imperative operations; in that case you use monads and at least make it a bit more testable and refactorable (e.g. https://michaelxavier.net/posts/201
583.
▲
by
lmm
10mo ago
Crashing is bad, but silently continuing in a corrupt state is much worse. Better to lose the last few hours of the user's work than corrupt their save permanently, for example.
584.
▲
by
lmm
10mo ago
> Do you not make such a tacit assumption every time you index into an array (which in almost all languages throws an exception on bounds failure)? Yes, which is one reason why decent code generally avoids doing that.
585.
▲
by
lmm
10mo ago
On the contrary. Popups you could leave for later and/or close with the browser chrome, as bad as they are, are less annoying than today's modals that block the site you were reading until you find the magic pixel.
586.
▲
by
lmm
10mo ago
How convenient for monoglot English speakers!
587.
▲
by
lmm
10mo ago
> I know the author mentioned this, but I just got nervous imagining this as a tourist who doesn't speak German at all. This shouldn't be like this. Why they don't help at all? How much help does your home country give to
588.
▲
by
lmm
10mo ago
Deutsche Bahn paid for my hotel and meal the last time my train was delayed, though I did have to make the booking myself and claim reimbursement.
589.
▲
by
lmm
10mo ago
> Yes, although quite often they forget not everyone speaks German. Do you complain when announcements in your home country are given in exclusively non-German languages?
590.
▲
by
lmm
10mo ago
> As opposed to... swiping the card? People still do that? Are you posting to us from 20 years ago?
591.
▲
by
lmm
10mo ago
Note that the advantages of Rust are not just execution speed: it's also a good language for expressing one's thoughts, and thus makes it easier to find and unlock the algorithmic speedups that really increase speed. But yeah. Pyt
592.
▲
by
lmm
10mo ago
> No, you spent a week effectively using both v6 and v4 with extra steps. It's less steps though. You can do all your network setup in the nice v6 world, and set up v4 emulation for those who need it. Yes, it's not yet practica
593.
▲
by
lmm
10mo ago
Is that still the case? The option to do that quietly disappeared from Amazon Music a couple of months ago, for example, and they were one of the last few holdouts where you still could. It might be only Apple now?
594.
▲
by
lmm
11mo ago
> You have two poison pills (`import "server-only"` and `import "client-only"`) that cause a build error when transitively imported from the wrong environment. Sure, but even though it's "build time" it
595.
▲
by
lmm
11mo ago
Completely normal yes. Repos are cattle not pets.
596.
▲
by
lmm
11mo ago
I hear a lot of people already roleplay with LLMs which is pretty much that.
597.
▲
by
lmm
11mo ago
> It’s not just to save the effort— stories are good because they surprise, challenge, and inspire us. Maybe, but that's the minority of demand. Most book sales are to people looking for something comfortable - think the near-infini
598.
▲
by
lmm
11mo ago
There are only so many short names to go around.
599.
▲
by
lmm
11mo ago
A friend created a library called library which was kind of a converse to that (you had to link it with -lrary). It was funny for 30 seconds and then just annoying.
600.
▲
by
lmm
11mo ago
Yeah. Being able to write code that's polymorphic between server and client is great, but it needs to be explicit and checked rather than invisible and magic. I see an analogy with e.g. code that can operate on many different types: it
More ›