Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Joker_vD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
691.
▲
by
Joker_vD
1y ago
Nah. Having built-in automatic backpressure is one of the most underappreciated things about the UNIX pipes.
692.
▲
by
Joker_vD
1y ago
Heh. Or shaving blades [0]. Just don't touch the water! [0] https://www.youtube.com/watch?v=MjJ1N4uJyV8
693.
▲
by
Joker_vD
1y ago
If anything, the pre-pipe style of prog1 -input input_file -output tmp1_file prog2 -input tmp1_file -output tmp2_file && del tmp1_file prog3 -input tmp2_file -output tmp1_file && del tmp2_file ... progN
694.
▲
by
Joker_vD
1y ago
You know, pretty much all of the Germany's post-WW2 industry could be described like that, including Daimler and Benz...
695.
▲
by
Joker_vD
1y ago
> comparing apples to oranges. In a situation when we're being told to completely give up on apples (ICE cars) and switch entirely to oranges (EVs), I am afraid we'd have to make exactly the comparison you find so distasteful f
696.
▲
by
Joker_vD
1y ago
> If you write all the queries directly in Haskell, you get an IO action which you can't inspect. Of course you can inspect it: open the source code you wrote and read it. Also, don't write the code you don't want to be ex
697.
▲
by
Joker_vD
1y ago
> We want to build a structure that is essentially a syntax tree of the operations we want to perform. A-a-and so we went from programming in Haskell to creating a new DSL, with an interpreter for it in Haskell, and programming in that D
698.
▲
by
Joker_vD
1y ago
EV certs seem to have basically the same verification policies that CAs had for ordinary certificates back in the early 2000s (i.e., really not that much at all), so I am intrigued as to what the DV has to offer except "it's basic
699.
▲
by
Joker_vD
1y ago
Like this: region = if name == "bravo-hourly" then "us-west" else "eu-west",
700.
▲
by
Joker_vD
1y ago
> What people do with Docker is spin up a database or another service to develop or test against. Yep. Being able to run docker run --rm --publish=127.0.0.1:27017:27017 'mongo:3.6.8' or docker run --rm --publish=
701.
▲
by
Joker_vD
1y ago
> I wrote that the "binary search" bug happened because they proved the wrong property, but you can just as well argue that it was a broken assumption (that integers could not overflow). No, you can't argue that (well, arg
702.
▲
by
Joker_vD
1y ago
Surely those 30 of those in a single ship are not their entire species and technology? Right? So yeah, kinda alarming.
703.
▲
by
Joker_vD
1y ago
> You’ll say, “They got lucky, it had to happen, if not them someone else. Well. If you look at the previous examples of sudden technological breakthroughs, it's kind of amazing how many things were suddenly invented almost simultan
704.
▲
by
Joker_vD
1y ago
> I discovered the pointer to the next line wasn't a good idea, because it needed to move every pointer after a line insertion. Huh? Don't you need to only change the "next-line-pointer" for the line that's right
705.
▲
by
Joker_vD
1y ago
Honestly, never quite understood the argument against &42, &int64(42), &true, etc. that those have "unintuitive semantics": after all, taking address of compound literals e.g. &Point{X: 42, Y: -34} has b
706.
▲
by
Joker_vD
1y ago
Just so you know, the "return x < 0 ? -x : x;" compiles into abs_branch: mov eax, edi neg eax cmovs eax, edi ret on x64, and into abs_branch: srai a5,a0,31
707.
▲
by
Joker_vD
1y ago
An array index can be signed with no problem. If you're worried about the address calculations, well, the address of an array doesn't have to be the address to its initial element, does it? It can be the address of the element wit
708.
▲
by
Joker_vD
1y ago
So instead of having to train and employ radiologists, we will train and employ radiologists and pay for the AI inference. Excuse me, but how is this beneficial in any way? It's trivially more expensive, and the result has the same q
709.
▲
by
Joker_vD
1y ago
There also needs to be a Face Screaming in Fear Emoji plastered on the other side of it.
710.
▲
by
Joker_vD
1y ago
> When you have software that's critical infrastructure, with a nutso security policy like "no embargoes / 0day me bruh", ...you then should stop and re-evaluate your life choices: specifically, choosing this particul
711.
▲
by
Joker_vD
1y ago
> But Dave, what we mean by outdated is that other languages have surpassed C++ and provide a better developer experience. > Matter of personal taste, I guess, C++ is still one of the most widely used programming languages with a huge
712.
▲
by
Joker_vD
1y ago
> Please note, you are assuming I have the ability to control the version of Windows the product lives on. Some products still have to support up to Windows XP. It's what, 6 different versions of Windows, with quite clearly defined
713.
▲
by
Joker_vD
1y ago
It actually is a case study from the Innovator's Dilemma: Yet IBM’s success in the first five years of the personal computing industry stands in stark contrast to the failure of the other leading mainframe and minicomputer
714.
▲
by
Joker_vD
1y ago
Seeking a tape also takes an unpredictable amount of time; and so is seeking a disk, for that matter (IIRC, historically it was actually quite difficult for UNIX systems to saturate disk's througput with random reads).
715.
▲
by
Joker_vD
1y ago
Well, yes, it did improve that particular area of software. Although for about 15 years that wasn't really problem for anyone who didn't self-host their blog on a potato attached to the Internet with a phone coupler and copper-wir
716.
▲
by
Joker_vD
1y ago
> you would need to redesign the process API. Not really, PIDs are unstable, so only the immediate parent of a child can reasonably do anything with a child's PID anyway, PPID is mostly useless; so when a process exits, set PPIDs of
717.
▲
by
Joker_vD
1y ago
That's the problem with writing posts both of the "everyone else is doing things WRONG, those dang fools" (e.g. the series on RSS readers) and "oops, I did a stupid mistake, heh, TIL" styles and variety: the latter
718.
▲
by
Joker_vD
1y ago
Yeah... the sudden paging in also has been noted as a source of latency in the network-oriented software. But that's the problem with our current state of the APIs and their implementations: ideally, you'd have as many independent
719.
▲
by
Joker_vD
1y ago
> disks are not considered "slow devices". And neither are the tapes. But the pipes, apparently, are. Well, unfortunately, disk^H^H^H^H large persistent storage I/O is actually slow, or people wouldn't have been writi
720.
▲
by
Joker_vD
1y ago
Sounds similar to TIS-100, but with even more special-purpose units.
More ›