Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
721.
▲
by
cle
6y ago
There’s a third option if the package is so important: put it in the standard library. Technically it’s still a dependency but the standard library is maintained with a standard that is rarely matched by third party libraries, and can drama
722.
▲
by
cle
6y ago
I've seen this too. And I've also seen the converse--complexity that was added because engineers refused anything but the most myopic designs, using thought-terminating cliches like "YAGNI" or "that's hypothet
723.
▲
by
cle
6y ago
I don't know what you're talking about WRT the 3rd way. I agree that developers should continuously improve their systems. I was replying to the descriptions in the article: > The third way of DevOps is continuous learning. [.
724.
▲
by
cle
6y ago
This article triggers my Scrum™️ PTSD. The Way of DevOps? Am I going to have to fight off DevOps™️ certified consultants for the next five years now? By the way, I would recommend not trying to make your systems clever and “learn”, as the
725.
▲
by
cle
6y ago
This is an interesting claim, do you know of anything I can read for more info?
726.
▲
by
cle
6y ago
You don't think "likes action movies" or "watches romantic comedies" or "binge watches on weekends" are targeting segments that advertisers will pay for?
727.
▲
by
cle
6y ago
Metric obsession is just a special case of confirmation bias. It has the same antidote. Try to constantly and creatively disprove the hypothesis that the only thing that can move your metric is the thing you care about. Search for confou
728.
▲
by
cle
6y ago
UTF-8 support is completely orthogonal to static typing. There are dynamically typed languages that handle it great, and statically typed languages which have garbage support for it. In general I know what you mean though. “What if this C
729.
▲
by
cle
6y ago
I don’t care if my throw away CSV munger is formally safe/sound or maintainable. I care if it gives me correct results , once, as quickly and effortlessly as possible. Which is why very few people fire up GHCi/rustic/javac
730.
▲
by
cle
6y ago
I consider that one of the most important criteria when picking the right tool for the job (if you're writing something to be maintained by other people in a company).
731.
▲
by
cle
6y ago
It depends on what you mean by "correct". If it means "it does what I need it to do and I can move on with my life", then no, the cognitive load doesn't already exist, and formalized type theory in many cases adds
732.
▲
by
cle
6y ago
There’s a continuum for sure. Type systems have their own kind of cognitive load, because you have to learn them, how to model your invariants in them, how to understand error messages, avoid common pitfalls, etc. Type systems are usually
733.
▲
by
cle
6y ago
I do this because my family is locked in to iMessage and FaceTime, and to test programs that I write to ensure they work on Macs.
734.
▲
by
cle
6y ago
There are still some warts but it works pretty well. It is definitely the future of cross-editor Java support.
735.
▲
by
cle
6y ago
This kind of conversation is never productive in a team setting. The strongest criteria is "what would the majority of people on the team prefer to use?". That'll yield the highest productivity, regardless of whatever synta
736.
▲
by
cle
6y ago
These days I use lsp-mode for Java--effectively the same thing used in VS Code--but it's still powered by Eclipse ( https://github.com/eclipse/eclipse.jdt.ls ).
737.
▲
by
cle
6y ago
What conclusion should I draw from these seemingly inconsistent statistics?
738.
▲
by
cle
6y ago
Not sure what you mean, functions can take multiple return values as arguments just fine: https://play.golang.org/p/l7s7i-QyRnM
739.
▲
by
cle
6y ago
Ah got it. Tuples come with their own challenges and are quite similar to structs, so I’m not surprised they didn’t make the cut. I’ve had to define structs like you say occasionally, but it literally takes like 2 seconds so I don’t reall
740.
▲
by
cle
6y ago
Couldn’t you just use a pointer?
741.
▲
by
cle
6y ago
Go cares very much about readability. It’s a very subjective topic...because someone doesn’t agree with your opinions on a subjective issue doesn’t mean they don’t care.
742.
▲
by
cle
6y ago
Yeah that's one of the first things I mentioned. Go executables aren't editable. In practice it barely makes a difference, if you can SSH onto a machine then you can SCP a binary onto it too. At that point you edit the source c
743.
▲
by
cle
6y ago
The point is that you still have to make sure those tools are installed on the system, and compatible with the code you wrote. Standard CLI programs we rely on in our Bash scripts can vary dramatically between Linux distributions and OSs.
744.
▲
by
cle
6y ago
For me this is way too much to invest in Bash. Any non-trivial utilities should be written in a real programming language when possible, especially when they are used in a context where they are likely to accrete complexity over time. I’m
745.
▲
by
cle
6y ago
I definitely relate with this. This is why I do my “scripting” these days in Go. Programs aren’t editable like Python, but compiling a Go program results in a single executable that I can just drop onto a host somewhere, without worrying
746.
▲
by
cle
6y ago
> Supply chain control has zero to do with this practice. This is a completely separate issue—I don’t know Apple’s rationale for this practice. The issue we’re talking about is whether there are reasons to do it at all, and I still think
747.
▲
by
cle
6y ago
> There's absolutely no reason for not making user-replaceable batteries other than planned obsolescence Come on, it doesn’t take much effort to think of the benefits of controlling the quality of batteries that are put in the devic
748.
▲
by
cle
6y ago
In a world of methodological uncertainty and eroding trust in these kinds of studies, anecdotes are more important than ever (and they were never unimportant to begin with).
749.
▲
by
cle
6y ago
Why not “Lower cognitive function may make moderate adolescent cannabis use more likely”?
750.
▲
by
cle
6y ago
I wish the blog post was just this. So much clearer. Thank you.
More ›