Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
patrec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
661.
▲
by
patrec
6y ago
And the fallacy you are making is describing adding more shit sauce on top as "a layered defense". A layered defense is when you take multiple, individually sane steps, with well defined boundaries to reduce risks that remain de
662.
▲
by
patrec
6y ago
Nix basically already does this, apart from the decentralised distributed cache (there is a centralised one and you can easily set up your own, too). All references, including to dynamically linked libraries are via unique, content addressa
663.
▲
by
patrec
6y ago
What "fallacy"? I'm actually horrified that several high profile companies are proudly advertising using this abomination on https://www.cloudflare.com/waf/ . I really do not want to use the product of a
664.
▲
by
patrec
6y ago
I'd contend that the obvious, dead simple and user-friendly way to deal with this is not treat `a<b>(c)` the same as `a < b > (c)`. Mandate whitespace on both sides of relational operators and forbid it where it would look
665.
▲
by
patrec
6y ago
Well, or functions not -- sadly. It seems possible that the reason Mr Volpiatto ceased development was because the burnout he had close brushes with before finally caught up with him. My impression is that most open source projects that do
666.
▲
by
patrec
6y ago
C++ generally compiles orders of magnitude slower, has far worse interop and platform support and makes it really easy to unwittingly add all sorts of horrendous bloat. I'd personally still rather write code in C++ than C, but I agree
667.
▲
by
patrec
6y ago
Already exists, written by none other than Virding himself: https://github.com/rvirding/luerl
668.
▲
by
patrec
6y ago
I find it pretty amazing that someone who's been working for 20 years as a mountain guide and spends as much time as possible outdoors picks up an obscure piece of niche software like Emacs, learns to program in his 40ies and then beco
669.
▲
by
patrec
6y ago
Not, OP, and not well read in Marxist literature either (life is too short), but I can recommend The Communist Manifesto, it's short, quite lucid and of enormous historical influence (and would be worth reading for that reason alone).
670.
▲
by
patrec
6y ago
Yes, sorry I was imprecise, it would have been better to have written "derivative of protobuf". To the extent the RPC part is derivative, it's probably mostly derivative of E?
671.
▲
by
patrec
6y ago
Blaze/Bazel has its flaws (including poor integration into the world outside google), but what are you comparing it against? Any general purpose build system I've seen that is not bazel based and not nix is a flaming pile of gar
672.
▲
by
patrec
6y ago
How do you propose to encode the additional information that is needed to detect these mistakes though?
673.
▲
by
patrec
6y ago
I'm not saying you wouldn't desire something like pf when using linux. Of course you would. But in the grand scheme of things, I don't see many people choosing FreeBSD over Linux for pf unless they want a firewall box.
674.
▲
by
patrec
6y ago
For someone who has good grounding in FreeBSD and the above technologies already, I can see how that decision would make sense (if you know dtrace well, you probably invested several man weeks into it -- why throw that away?). Typically the
675.
▲
by
patrec
6y ago
> What also gets lost in the fray is FreeBSD, even with all those Linux-focused tools, is still a compelling and useful operating system Is FreeBSD compelling and useful at this point beyond as an inferior but more liberally licensed Lin
676.
▲
by
patrec
6y ago
I'd certainly be interested to hear how quantities where dimensions would normally divide out should be modelled and some concrete statistical examples how this really helps avoiding likely errors.
677.
▲
by
patrec
6y ago
It's pretty horrible. Apart from being hard to read (why pick an uppercase later that looks similar to numerals?), it only works for full dates or times or datetimes. You can't have literals for just years, or just hours, or ju
678.
▲
by
patrec
6y ago
GC advocates say that managing memory lifetimes is an excessive burden to programmers. Anti-GC advocates say that memory is just one particular instance of management of life-timed resources, and that special casing it is an ugly hack and y
679.
▲
by
patrec
6y ago
> That's what "with" is for. Python's "with" clauses, unusually, play well with exceptions at scope exit. [...] Very few languages get this right. I wonder if I'm missing something subtle here. What lan
680.
▲
by
patrec
6y ago
I find it interesting that you are seeing one of the prime defects of python's json parsing implementation (no streaming support) as an inherent property of json parsing. Do you use any other languages that share this defect, or is thi
681.
▲
by
patrec
6y ago
Try it (or swap caps and control for day, to make sure you don't accidentally "cheat"). On most keyboards reaching the control key is very unergonomic compared to the capslock key. I wonder how many cases of RSI could be avoi
682.
▲
by
patrec
6y ago
Not true. VSCode lacks some very fundamental functionality, like proper (non-linear) undo and the vim plugin basically does not support any ex commands (other than s, which works different as well). Having said that, I think the VSCode vim
683.
▲
by
patrec
6y ago
Still wasteful. Map Capslock to both Escape and Ctrl and never look back https://github.com/alols/xcape (for linux) https://apple.stackexchange.com/questions/132564/how-can-i-r... (for m
684.
▲
by
patrec
6y ago
What makes you think of him as more powerful than Xi Jinping?
685.
▲
by
patrec
6y ago
Does anyone have a nice list of interesting, compact examples of sites or apps that are written in vanilla javascript?
686.
▲
by
patrec
6y ago
> The belief in competent government would seem to be a logical flaw Only to someone ideologically blinkered or completely ignorant of history. There are countless examples of governments achieving all sorts of highly non-straightforward
687.
▲
by
patrec
6y ago
I simply meant that price can be another valid reason to prefer linux on the desktop, but not one that applies to most of the HN readership.
688.
▲
by
patrec
6y ago
WSL2 came out (in non-preview version) last month and is a vital improvement. Windows Terminal is still pre-1.0 as is the CUDA and DirectX on Linux stuff. Then give it a bit of time to percolate through, technically and socially.
689.
▲
by
patrec
6y ago
> I personally don't get why any developer would prefer Windows over Linux Because windows now literally has all the stuff Linux has plus a lot more. The only reason for a well paid developer to prefer linux over windows for a deskt
690.
▲
by
patrec
6y ago
You'd need something like this: cat <(cmd1... | awk -vRS='\0' '""$0') <(cmd2... | awk -vRS='\0' '""$0') >>output
More ›