Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
patrec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
631.
▲
by
patrec
6y ago
https://github.com/dylanaraps/pure-sh-bible#do-something-on-...
632.
▲
by
patrec
6y ago
I sometimes idly wonder if one of the last favors Google and the other IT behemoths could do the open web before being broken up is just announcing a plan to just use SCTP for Important Thing, and fuck people who are sitting behind broken
633.
▲
by
patrec
6y ago
No. There is a real difference between staged computation of the type that zig has and macros in common lisp, scheme/rust have (so much for lisp's uniqueness BTW). In common lisp you can do completely arbitrary computation at comp
634.
▲
by
patrec
6y ago
Well, I was hoping for less than 93GiB compressed, given that this exceeds the storage capacity of several devices I'd like to use it on and I'd estimate the total amount of info I care about to be far smaller than that. And small
635.
▲
by
patrec
6y ago
I might be wrong, but is there real evidence that HTTP/2 "solves" the HTTP head of line blocking issue, in a disease was worse than the cure sort of way? Of course the reason people try to multiplex higher level protocol stre
636.
▲
by
patrec
6y ago
I'd be curious to hear how they have been useful to you: just in teaching you about the topic for curiosity's sake, or in achieving some practical outcome?
637.
▲
by
patrec
6y ago
The author is obviously in the top ~1% or something of programmers: the article is thoughtful and shows a lot of technical depth and knowledge about things most programmers won't even have heard of and he clearly has a fair amount of p
638.
▲
by
patrec
6y ago
I am aware that there are various offline wikipedia compilations and I am grateful they exist and to the people who work on them, but last I looked using them looked like a bit of pain, and on checking again that still appears to be the ca
639.
▲
by
patrec
6y ago
I never followed it that closely, but from afar HTTP/2 always seemed like an amazingly stupid idea to me, and I always wondered if I was missing something -- apart from all the bloat and complexity, multiplexing several streams over T
640.
▲
by
patrec
6y ago
Well, for storage (and thus offline) purposes it is of course exactly a zero sum game. I for one would really like a say 3 GiB version of English Wikipedia without Pokemon and Porn, or a 33GiB version with useful images. However broad and n
641.
▲
by
patrec
6y ago
Unlikely. Apple have made the default interactive shell zsh, but /bin/bash still stays around and I believe /bin/sh still aliases to it by default. Meanwhile there is an enormous ecosystems of shell scripts including cou
642.
▲
by
patrec
6y ago
That's mostly irrelevant, since basically no one writes shell code in zsh and this is unlikely to change that.
643.
▲
by
patrec
6y ago
Actually, there are still some bashism, and real foot traps at that. `trap EXIT` basically only "works" for try/finally behavior in bash, not even zsh. There should really be a warning around this in the article: if you want
644.
▲
by
patrec
6y ago
Linux in practice always comes with bash, but sh is not necessarily an alias; e.g. on the world's most popular distro: > readlink -f /bin/sh /usr/bin/dash Also, BSDs and derivatives either have
645.
▲
by
patrec
6y ago
IIRC original name was Amnesia, but Joe was made to change it for marketing reasons (it's in one of his books or blog posts). Anyway, I do not think Mnesia is a particularly good way to persist stuff, just use postgres.
646.
▲
by
patrec
6y ago
Excluding so many "tasty beverages" must be why German beer has such a terrible reputation.
647.
▲
by
patrec
6y ago
Uhm, it has been done. Writing an obviously correct csexp serializer is literally 3 lines of code in a high level language and writing a deserializer is only slightly more LOCs (and yeah, I've used it in production for real stuff). If
648.
▲
by
patrec
6y ago
XML is basically just a vastly inferior form of sexps, just as ASN.1 at least for the purposes of encoding cert info in TLS is vastly inferior to csexps -- the latter is canonical by design, efficient and trivial to write a robust parser fo
649.
▲
by
patrec
6y ago
Designing Data-Intensive Applications might be the best (non-niche) CS book of the decade, and he definitely did create far more value than he captured. So I'm glad Mr Kleppmann at least kind of "broke even" compared to the a
650.
▲
by
patrec
6y ago
This is terrible advice. Exposing any public endpoint that talks XML is a security disaster in waiting and the fact that the author makes no mention of a long history of major security vulnerabilities in popular XML packages does no credit
651.
▲
by
patrec
6y ago
I really don't really see how her actions can be interpreted in any other light. If she were just incompetent, she would not so blatantly enrich herself all the while laying off hundreds of staff, many undoubtedly more deserving. Did y
652.
▲
by
patrec
6y ago
What makes you think Google will drop linux support? As far as I can tell it's in their interest to keep a (2nd class) linux version around: linux is no competitive threat to anything they do, a large fraction of their staff use linux
653.
▲
by
patrec
6y ago
You mean the "competitive roles elsewhere were paying about 5 times as much. That's too big a discount to ask people and their families to commit to"? It's pretty funny, especially the word "competitive"? I ass
654.
▲
by
patrec
6y ago
Well, concerning the sucking dry: maybe I'm overly cynical but I wonder if being on the mozilla board is not a nice sinecure (so high effective hourly wage, even if the yearly compensation is not egregious) with a massive CV boost: non
655.
▲
by
patrec
6y ago
Do you see any realistic chance of this happening? Generally if a company is captured by a parasitic leadership sucking it dry, that's it, right? Is there anyone on the board whose interests are more aligned with keeping Mozilla alive
656.
▲
by
patrec
6y ago
No genuine ambiguity here, it's the book (and I suspect that's typical). Even if you increased the ratio of theoretically ambiguous sentences, if that comes at a decrease of actual, practical ambiguity (uintended and unnoticed by
657.
▲
by
patrec
6y ago
Not really. Google hired LLVM and Swift dude for ML stuff. LLVM and Swift dude decided that although Google already had some LLVM, it still needed more Swift, and for ML specifically. This must have struck probably the majority of people in
658.
▲
by
patrec
6y ago
You don't remember correctly. Word's docx format is far more intelligent than openoffice ODT, despite propaganda to the contrary. With one exception: word's zip files don't have a convenient magic header. The way it work
659.
▲
by
patrec
6y ago
It reduces anaphora ambiguity. Compared with gendered pronouns in English (some languages have gender neutral pronouns). Bob and Alice went to the beach, but only he got a nasty sunburn. Bob and Alice went to the beach, but only "it&
660.
▲
by
patrec
6y ago
Strange that the author does not mention Japan's greatest visual artist, who by his own (and others') reckoning only became truly great in his old age. Although there are many examples of great artists who do great, and novel, wor
More ›