Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
catern
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
catern
5y ago
You may already realize this, but you don't need to run a VM per project if you're using Nix; Nix lets you have as many self-contained development environments as you like, all on one machine without VMs or containers.
92.
▲
by
catern
5y ago
When it comes to Linux kernel work, yes.
93.
▲
by
catern
5y ago
Yes, and it shows (it's notoriously poorly designed)
94.
▲
by
catern
5y ago
After reading this article, the theory that comes to mind is that "best practices" not just developer preferences - rather, "best practices" is cargo culting by mediocre programmers, trying to copy techniques that a real
95.
▲
by
catern
5y ago
Yeah, I think the easiest way to test that Service A is meeting its API obligations is to send some requests to Service B. Hyrum's Law means that that's the only way to really test the important aspects of Service A's API. An
96.
▲
by
catern
5y ago
>3. e2e as a driver of first class system integration Could you say more about this approach? That's how I've tried to approach end-to-end tests, but I haven't found much written about this which is specifically about e2e
97.
▲
by
catern
5y ago
Your comment matches my experience very well. I had the same experience as GP and OP with low-quality e2e tests at my job. I got fed up four years ago, started something new from scratch, and now I'm the BDFL you mentioned, for a bunch
98.
▲
by
catern
5y ago
Compare it to unsafe functions. An unsafe function can be called in an unsafe block or an unsafe function. Rust could require annotating each call to an unsafe function, even inside unsafe functions. Why don't we do that? That seems li
99.
▲
by
catern
5y ago
One sad aspect is the ? operator. In the beginning, Rust thought it could get away with explicitly handled return codes, without having support for direct style/exceptional error handling. But they've ended up with that in the end
100.
▲
by
catern
5y ago
>that is making the web less decentralized Sadly I don't see any alternative. The need for CDNs is a direct result of the structure of the internet and modern HTTP. We could imagine alternative infrastructures - decentralized transp
101.
▲
by
catern
5y ago
No, they quite clearly say the opposite, I edited my comment to quote the post.
102.
▲
by
catern
5y ago
The analogy is fun, but I'm not sure I agree with the author's conclusion: > a constexpr marker should be unnecessary, just like a hypothetical linux marker In fact, I'd love to have a "linux" annotation for func
103.
▲
Exit and voice in open source software
(catern.com)
3 points
by
catern
5y ago
|
0 comments
104.
▲
by
catern
5y ago
The FSF has made no such statement. This article is complete bullshit and a slanted quote. The FSF said it was unacceptable because it's proprietary, like Github in general. They've made no statement about the specific details of
105.
▲
by
catern
5y ago
From the git repo history it looks like the original name was "Loc", for "Language of Composition".
106.
▲
by
catern
5y ago
Er, just as a historical note, one of the primary uses of chroots was for packaging. Just like how Docker does it. That, in a sense, was even the original motivation. The security usage of chroots was a later innovation.
107.
▲
by
catern
5y ago
Use NaCL or other SFI techniques. It doesn't require any kind of serialization/deserialization code, contrary to your suggestion. Here's the original SFI paper, maybe it's more approachable? https://cs155.stan
108.
▲
by
catern
5y ago
Sorry, I responded too quickly to this comment: >- Libraries often CAN'T be written in a separate language without an additional effort -- and often writing with interop in mind means you have to give up nice features like C++ STL c
109.
▲
by
catern
5y ago
Great comment! I've added points about most of these to the post. But just to respond quickly to these directly: - Writing in a single language, not multiple languages which requires you to speak IPC protocols, is the whole point. - Ad
110.
▲
Write signatures, not schemas
(catern.com)
8 points
by
catern
5y ago
|
7 comments
111.
▲
No more DSLs: Implement and deploy a distributed system with a single program
(catern.com)
5 points
by
catern
5y ago
|
0 comments
112.
▲
by
catern
5y ago
This article doesn't really back up its contention that "Internet" is a bad name. It says, briefly: >Some of us call the whole thing The Internet, when technically, the internet is — as once unfortunately put — a “series o
113.
▲
by
catern
5y ago
>You can't get away with shipping buggy hardware, people would ask for their money back. Why not? Intel shipped buggy hardware to everyone for years, it was called "Meltdown".
114.
▲
by
catern
5y ago
>Also, as other have said, the author's definition of "distributed system" (here, basically a "multithreaded" , concurrent system) What gives you that impression? The article talks multiple times about using libr
115.
▲
by
catern
5y ago
They're distributed threads. As it says in http://catern.com/caternetes.html#thread : >An rsyscall.Thread may operate on a local or remote host, or inside a container or VM, or on other kinds of nodes, depending on h
116.
▲
by
catern
5y ago
>The quote you pulled out mentions "distributed execution" being completely contained in a "single-program system" - isn't a single-program system, by definition, not a distributed system? Nope. As the second par
117.
▲
by
catern
5y ago
No, this is distributed; see this line in the introduction: >Functionality for distributed execution and monitoring is shared through libraries rather than by delegating to external orchestration systems, making a single-program system c
118.
▲
by
catern
5y ago
Lizardman's Constant: https://slatestarcodex.com/2013/04/12/noisy-poll-results-and...
119.
▲
by
catern
5y ago
As an alternative, there's no reason why one couldn't use neovim and magit (using Emacs only for magit). Emacs is an application framework, there's no reason why one has to use the "editor" application if all you wa
120.
▲
by
catern
5y ago
I loved Stockfighter. I played through it as preparation for starting my first job out of college, at an HFT. No comment on whether it was good preparation. :)
More ›