Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Quekid5
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
931.
▲
by
Quekid5
8y ago
Heh, I was actually alluding to C++ with the pattern matching thing. Std::variant<> is actually a bona fide sum type, but using it is horrendous because of the lack of pattern matching. You can use the the "cppreference overloade
932.
▲
by
Quekid5
8y ago
Yes, but it's also much more likely to result in a run-time failure. I'm not talking about memory safety here -- just the fact that Rust has (Algebraic Data)/Sum Types[1]. Of course these kind of "want" pattern ma
933.
▲
by
Quekid5
8y ago
It was an incredible comedic performance. (By his co-stars too, btw, but he carried a lot of the film, I felt.). Also an overall very funny movie. I'm not sure exactly how much of Graham Norton is scripted, but he's had at least
934.
▲
by
Quekid5
8y ago
This actually sounds very close to my personal preference -- I just configure Quod Libet to only show full path and the "search everything" functionality lets me just search for the album name and have everything match + Ctrl+A +
935.
▲
by
Quekid5
8y ago
No idea what Audacious is doing for you (never used it), but I find that Quod Libet is somewhat in the WinAMP tradition (IIRC) in that it's pretty simple: It has a "library", "queue" and you can basically configure
936.
▲
by
Quekid5
8y ago
> his will probably never happen cause C looms too large in Zig's world, but I wish "*" and especially the super non-intuitive "&" go the way of the dodo and some short keywords replace them. Perhaps "pt
937.
▲
by
Quekid5
8y ago
> That's pretty much what Kuhn means by pre-paradigm science: when scientists don't know enough about an area to have come up with general principles to guide their research. Isn't this extremely post-hoc reasoning? If y
938.
▲
by
Quekid5
8y ago
Disclaimer: I'm not a historian nor a philosopher, though I do wonder (I like to think, at least) deeply about these things. I've also only just read the first two (three?) chapters so far, so this may be way to soon to opine. Sti
939.
▲
by
Quekid5
8y ago
It may, but if your customer can't tolerate/afford 5-10 minutes of downtime you're already into "big league" territory. I could see a case if you're rolling out gradually, but with only 3-5 machines you're
940.
▲
by
Quekid5
8y ago
That's a really good observation and I agree. I sometimes have to pinch myself to make sure I'm not dreaming when I see that there are actually pretty affordable machines with these insane amounts of RAM. (I think the first machin
941.
▲
by
Quekid5
8y ago
It's a really bizarre situation that BitTorrent is actually the most convenient consumption mechanism if you want a lot of diverse, specific or old content. All you have to do is be behind the "new releases" by a month or t
942.
▲
by
Quekid5
8y ago
> I feel like the author is making a huge omission by not talking about the properties of multi-raft sharded DBs coupled with the TrueTime-like APIs from cloud providers in 2018. I mean this is all fine and dandy if it works (plus, how d
943.
▲
by
Quekid5
8y ago
I may be a bit of an old fart, but this is the exact reasoning behind my decision to never go with "distributed X" if there's a "single-machine X" where you can just vertically scale. If you can afford 3-5 machines&
944.
▲
by
Quekid5
8y ago
I don't think that's what the poster meant. I think it was probably more along the lines of how you experience e.g. 'light' vs. what it actually is : https://www.youtube.com/watch?v=FjHJ7FmV0M4 (T
945.
▲
by
Quekid5
8y ago
I'm not sure about whether this particular problem has anything to do with fat jars, but there a couple of really big annoyances with fat jars which have bitten me occasionally: * If you flatten the classpath completely when building t
946.
▲
by
Quekid5
8y ago
Fat jars are evil, but there's no need for Docker: Just collect the dependency jars in a lib/ (or whatever) folder and explicitly give them on the classpath when running the 'java' executable. We use the sbt 'pack&#
947.
▲
by
Quekid5
8y ago
AFAIUI: "Void -> a" means that the function cannot be called , because there no way to conjure a Void value. In Haskell, you can do it by (ab)using 'undefined', but that's kind of cheating. However, if you'