Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diarrhea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
331.
▲
by
diarrhea
3y ago
Having recently picked up Rust (yes, sorry for mentioning it, I promise it's relevant), I picked up Terraform the other day. I was shocked by how weak its language-level developer experience story is. I am working in VSCode, which by a
332.
▲
by
diarrhea
3y ago
Just scrolled through your open job postings, and the Control Plane opening is jaw-droppingly interesting. Sounds like a marvelous mission you're on. I'm wishing you all the best and will make sure to check back in with Oxide'
333.
▲
by
diarrhea
3y ago
I don’t think that’s a strong argument. It’s just function overloading that some languages enable, others don’t. Not a categorical difference.
334.
▲
by
diarrhea
3y ago
I think ADTs and effects system are orthogonal though. A “print” has an effect but I don’t know of languages where failure of that is propagated (for example in Rust, println doesn’t evaluate to Result).
335.
▲
by
diarrhea
3y ago
One disadvantage here is taking the entire struct on each operation even if only a single part of it is needed. That can be much harder to deal with due to ownership rules (if &Mut self or all of self is taken). Free functions can be ea
336.
▲
by
diarrhea
3y ago
> Also btw "borrow checker fighting" is not much of an issue for experienced Rust developers. You quickly get used to how to write code to avoid borrow checker issues. And in general, writing code that way tends to be a good th
337.
▲
by
diarrhea
3y ago
That is a great insight, thanks. I have always been under the impression that non-GC performance is strictly better under all circumstances, but your example is an obvious counterpoint.
338.
▲
by
diarrhea
3y ago
> * Rust is a little faster, and avoids GC. I always wondered: how is it not much faster? Dealing with the borrow checker is immense overhead, yet performance gains are low compared to Go. Is Go's GC simply that good? Is Rust'
339.
▲
by
diarrhea
3y ago
Very similar in Python and Rust as well.
340.
▲
by
diarrhea
3y ago
This is on my reading list. This little bit sold me on it in the past: > The bottom of every page is padded so readers can maintain a consistent eyeline. Such a tiny and, in hindsight, obvious detail. It's surprisingly pleasant.
341.
▲
by
diarrhea
3y ago
That situation sounds reasonable though. I don’t believe in tearing down all silos. Expertise and preferences exist, it’s human nature. I always thought the DevOps mantra of having one person be good at both was a fruitless endeavour. Have
342.
▲
by
diarrhea
3y ago
I enjoy writing good PR messages. They border on too elaborate, with too much detail (better to err on that side though). They often aren't read. "TL;DR" is what I hear, without shame. Similar to how "math sucks!" i
343.
▲
by
diarrhea
3y ago
Ironically, I have a fundamental hatred for LinkedIn and its sluggishness. It’s one of the slowest websites I frequent. I have few connections all things considered. Putting my feed together cannot be rocket science (its contents stay quite
344.
▲
by
diarrhea
3y ago
I’m not arguing there is more important stuff, but DUs would enhance the language on a wide, fundamental level, accelerating a lot of other advancements.
345.
▲
by
diarrhea
3y ago
That is, a bit like TFA, a tad too high-level for what I was hoping to find here. What's immensely mentally blocking me is how such high-level, admittedly elegant solutions translate down. Async code writes naturally in JS/Node.js
346.
▲
by
diarrhea
3y ago
But is an engineers time not worth more than an additional key users can do self service with? Seems like a really thin argument given how cheap the keys can be.
347.
▲
by
diarrhea
3y ago
Peak HN comment.
348.
▲
by
diarrhea
3y ago
A Union in itself is not a sum type. Rust even has unions: https://doc.rust-lang.org/reference/items/unions.html The unions of Rust are tagged unions that can hold data: https://doc.rust-lang.org/b
349.
▲
by
diarrhea
3y ago
I was under the impression Linux is proofed against that already by now. Is 15 years time to prepare the rest not enough?
350.
▲
by
diarrhea
3y ago
Great rant, and on the money. Made my day! Thank you.
351.
▲
by
diarrhea
3y ago
Good point, never thought of that. Indentation would become hellish though.
352.
▲
by
diarrhea
3y ago
I use long options always, even going through the pain of typing them out when to tab completion is available. Exceptions are truly trivial things like ls. It allows things like history | fzf to work very well.
353.
▲
by
diarrhea
3y ago
As far as I remember, if you put quote(s) first, then paste into them, this doesn’t happen. That would then be strictly better, as zsh catches the unquoted special characters, preventing disaster, but doesn’t interfere if quoting is in plac
354.
▲
by
diarrhea
3y ago
Perhaps I need to give that a serious try at last. I don’t dare touch a shell other than bash or zsh because you’ll have to come back to those anyway , for example for debugging containers. Then another shell is another thing to learn, con
355.
▲
by
diarrhea
3y ago
I don’t know if that book originated the idea, but your description fits closely to Philosophy of Software Design .
356.
▲
by
diarrhea
3y ago
I don’t know what that is, but their docs very prominently and strongly say this: > However, we do not maintain a stable Go language API or ABI, as Git LFS is intended to be used solely as a compiled binary utility. Please do not import
357.
▲
by
diarrhea
3y ago
The other day I was trying to work with git LFS. I was very surprised to find out git-lfs, as in the binary, CLI application is the only (open) implementation in existence. There is nothing else. And even it itself does not offer itself u
358.
▲
by
diarrhea
3y ago
That is at odds with the observation that the German Mittelstand arguably carries the country’s economy in large parts. There are many world leaders there, hiding in niche markets. For how that lasts remains to be seen.
359.
▲
by
diarrhea
3y ago
This works for both common meanings of ICE, engines and the train type.
360.
▲
by
diarrhea
3y ago
I’ve been playing a game with license plates as well, for many years now. It’s quite simple: combine the numbers found in the license plate such that they form a valid equation. Regular binary operators are allowed, exponentiation is availa
More ›