Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdpi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
511.
▲
by
pdpi
2y ago
Let's say you have a type L (for letters) with values A and B, and you have another type N (for numbers) with values 1, 2 and 3. The sum type L + N is composed of the values A, B, 1, 2, 3. It's a set union, and the cardinality of
512.
▲
by
pdpi
2y ago
> I dislike the polymorphism one, simply because it is so closely tied to most OO languages and inheritance that most people–when overriding or overloading a method, for instance–use it without ever thinking “oh! this is polymorphism in
513.
▲
by
pdpi
2y ago
There's several bugs from some 8+ years ago that I remember fairly well, because they were truly interesting. One I didn't work on, but was the sort of stuff legends are made of. A very specific revision of Blink that was never sh
514.
▲
by
pdpi
2y ago
> Just because car people are not used to this doesn't make it necessarily bad. Of course it's bad. If this were a purely software discussion, would anybody be saying "It's OK they have a bazillion zero-days every ye
515.
▲
by
pdpi
2y ago
At this rate, we're going to have "LLM psychology" courses at some point in the near future.
516.
▲
by
pdpi
2y ago
> Everybody with over 50,000,000 transactions annually gets CFPB oversight. This is such a simple, straightforward rule. No weird gotchas, exceptions, or whatever. Just the most basic test you can think of for "are you acting as a f
517.
▲
by
pdpi
2y ago
Not so much games proper, but more like scientific computing visualisations, CAD, stuff like that. This interview talks about it in a bit of length: https://youtu.be/PND2Wpy6U-E
518.
▲
by
pdpi
2y ago
Depends. Dairy milk? Oat milk? Soy milk?
519.
▲
by
pdpi
2y ago
What you're asking for is a Harvard architecture computer (as opposed to a von Neumann architecture). There's tradeoffs involved. Two things to keep in mind are that JITs are damn useful pieces of tech, so losing them is a pretty
520.
▲
by
pdpi
2y ago
I’m quite fond of watching Let’s Plays of Obra Dinn (it’s the closest I can get to experiencing it for the first time again), and there is a fundamental mistake I see happening over and over: people not getting the rules the game plays by.
521.
▲
by
pdpi
2y ago
Your “trying to frame a man” is their “trying to get him to confess to something he did”. It’s intellectually lazy on their part to jump to that conclusion without any sort of due diligence, but it’s not necessarily evil per se. Threatening
522.
▲
by
pdpi
2y ago
Given that you have Patrick's Parabox in that list, have you played Baba is You?
523.
▲
by
pdpi
2y ago
I'm not sure how they built this thing, but it makes sense to me on the face of it: Notepad should be the thinnest wrapper possible around a simple textbox, and the generated thing they're showing should be built into the widget i
524.
▲
by
pdpi
2y ago
> Labour has an incredibly relaxed attitude to British property. As the Chagos islanders found out, it wants to give away as much as it can, as quickly as possible. That is an extremely facile take on a complex situation. Kind of hard to
525.
▲
by
pdpi
2y ago
You have several misunderstandings packed in there. First off, one of the things the UE does accomplish is reduce the obstacles that come with cross-border work, and European bureaucracy is massively overblown as a problem. Insofar as it i
526.
▲
by
pdpi
2y ago
Yeah. It’s more a case of “average person would only be able to come up with the invention after months/years of R&D”. What’s being protected is the effort (and corresponding investment of resources), not the intellectual prowess o
527.
▲
by
pdpi
2y ago
WasmGC is a feature you can opt in to, rather than a core feature of the platform. It's more of an enabler for languages that expect a GC from their host platform (for things like Dart and Kotlin). Inversely, other forms of bytecode mi
528.
▲
by
pdpi
2y ago
Unlike ActiveX, Silverlight, or Flash, it's an open standard developed by a whole bunch of industry players, and it has multiple different implementations (where Java sits on that spectrum is perhaps a bit fuzzier). That alone puts it
529.
▲
by
pdpi
2y ago
> LibreDrive functionality is implemented as part of open-source LibDriveIO library (at the time of this writing the library source code is not yet released) This was posted in 2019. As of today, there is still no published source code.
530.
▲
by
pdpi
2y ago
It all makes sense if you consider laziness here to mean the same as in Larry Wall's three great virtues of a programmer.
531.
▲
by
pdpi
2y ago
Yeah, that's my point: the salient point here for me is the judgment call that this is one specific context where Mitchell attaching his name to the donation adds value.
532.
▲
by
pdpi
2y ago
> Our philanthropy is generally private, but I'm making an exception since I think my public support of Zig has a chance to really help the project due to my background. I can't quite put words to it, but this statement kind of
533.
▲
by
pdpi
2y ago
Huh. Curiouser and curiouser.
534.
▲
by
pdpi
2y ago
Which brings us to: It's unclear why the author of the article decided that the reviewer was not acting in good faith.
535.
▲
by
pdpi
2y ago
My understanding is that real-time isn't so much about lower latency (though that is also desirable), but rather about predictable , bounded latency. For the purposes of gaming, no amount of predictability at the kernel level will r
536.
▲
by
pdpi
2y ago
It's a "courage isn't the absence of fear" sort of situation. I don't think there's many people out there who would not be tempted at all to take some of that money for themselves. Rather, people are willing an
537.
▲
by
pdpi
2y ago
Yeah, it singlehandedly turned me on to Mercurial when I was there, and has massively shaped the way I use git ever since.
538.
▲
by
pdpi
2y ago
In a narrower sense of the word, one technique I developed early on in my career that I don’t see mentioned very often is exploratory debugging. At its most basic, you run the program, look at the output and find the output string in the so
539.
▲
by
pdpi
2y ago
> you _also_ have to make a submit system call of some kind after you've finished appending stuff to your submit queue. Sure. As I understand it, you need a handful of syscalls to get your async IO setup up and running (one io_uring
540.
▲
by
pdpi
2y ago
That's pretty much why many places consider senior a terminal position. You're expected to progress from junior to midweight to senior, but after that it's fine to plateau.
More ›