Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klodolph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
661.
▲
by
klodolph
3y ago
Is it the sensor? I though it was the processing.
662.
▲
by
klodolph
3y ago
That is exactly what I was talking about, but it wasn’t actually punishable by death in the Old West (that’s a myth).
663.
▲
by
klodolph
3y ago
> Ransomware attacks and their perpetrators need to be officially classified as terrorists. I understand where the sentiment is coming from, but don’t do that. There are a couple reasons why you shouldn’t do that. First is that these kin
664.
▲
by
klodolph
3y ago
You can have more than one cousin. C# and Java are cousins, obviously, I don’t think I need to explain that one. F# and C# are also cousins, naturally.
665.
▲
by
klodolph
3y ago
The article is using immutable records and sum types as “more like Rust” and I am just sitting in the corner, wondering whether everyone has forgotten that these things came from FP in the first place. In my mind, a language isn’t “Rust-lik
666.
▲
by
klodolph
3y ago
Older editors rely more on the axial views. Trenchbroom has much better tools for modeling right in the main 3D window. I think what happened here is that over time, people figured out better ways to handle the UI for modeling right in a 3D
667.
▲
by
klodolph
3y ago
Agreed BUT… they are still useful for talking about roles, responsibilities, and the kind of staff you need for a team. You just can’t trust that somebody who was Staff Engineer at Yoyodyne has the skills you’d expect from a staff engineer.
668.
▲
by
klodolph
3y ago
With `malloc`, and converting the pointer to the correct type. void function(int n) { int (*arr)[n] = malloc(sizeof(*arr)); }
669.
▲
by
klodolph
3y ago
> Or do I have it backwards, that autistic people are capable in ways the rest of us can't even imagine, and maybe we're the ones who can't adapt? https://en.wikipedia.org/wiki/Social_model_of_disabili
670.
▲
by
klodolph
3y ago
I think it’s more explanatory that the autism spectrum is itself a very wide spectrum. I’ll make a comparison. When we talk about conditions like ADHD or bipolar, there’s a whole spectrum which makes the discussion hard to work with. There
671.
▲
by
klodolph
3y ago
Choosing a different grade of stainless steel may buy you more corrosion resistance but the other properties may suffer (e.g. strength).
672.
▲
by
klodolph
3y ago
Darkroom chemicals have varying pH, both acid and alkaline, there’s various salts involved, and there’s a decent amount of metal-on-metal contact in development tanks (you load the film onto a metal reel, and the metal reel goes into a meta
673.
▲
by
klodolph
3y ago
Stainless steel does rust and does stain. It is much more resistant to rust or staining than ordinary carbon steel. Think of it as “stain-resistant” and “rust-resistant”.
674.
▲
by
klodolph
3y ago
Generally I would think of stainless steel as “stain-resistant”, not “stainproof”. I used stainless steel equipment in the darkroom and I always saw some amount of staining or corrosion. It will even rust, under certain conditions.
675.
▲
by
klodolph
3y ago
There are too many counterexamples. Normally I’ll deep into the apologia and explain stuff like “why VHS is actually better than Beta”, which, yes, is something I believe. But I only have a limited stockpile of apologia for why the market
676.
▲
by
klodolph
3y ago
> Yeah, thats what I figured. Im not sure if I want the tradeoff of calling .GetValue in multiple places just to save calling validate in maybe 2 or 3 places. The tradeoff is not that you save calling validate, it’s that you avoid forge
677.
▲
by
klodolph
3y ago
Right—I think the “error code” here is going to be the error type, i.e., UsernameError, or some qualified version of that. It’s not perfect, but software evolves through many imperfect stages as it gets better, and this is one such imperfec
678.
▲
by
klodolph
3y ago
I mean, you may end up just wanting something like, type UsernameError struct { name string reason string } func (e *UsernameError) Error() string { return fmt.Errorf("invalid username %q: %s", e
679.
▲
by
klodolph
3y ago
We have tools that flag methods with high cyclomatic complexity during review. By “flag”, all I mean is that these tools leave a comment during code review. Humans make the decision to listen to the comment or ignore it. The human in the lo
680.
▲
by
klodolph
3y ago
A skill that you see in some of the more experienced devs is the ability to front-load the most important stuff in a series of changes, or make changes that can at least be understood in isolation. It’s not always reasonable to do that, but
681.
▲
by
klodolph
3y ago
Yeah—on the other hand, I’ve gotten PRs that are just too damn big and that means that I can’t review them without sitting down and getting into the flow just for that review. What I end up doing is, after some false starts, getting myself
682.
▲
by
klodolph
3y ago
Yeah. Last team I joined I started doing reviews and immediately I was dealing with, like, 500 line PRs. They’d do things like add three completely new API endpoints (one of which is broken), or set up an entirely new service with all sor
683.
▲
by
klodolph
3y ago
> But the logic in Oslo is that our municipal government has a budget, and buying it at least shows what I have done as a civil servant. That sounds reasonably similar to me. People keep buying iPads for classrooms because “it puts techn
684.
▲
by
klodolph
3y ago
> Yes, figuring out how to teach and what to teach using computers was difficult, but students needs familiarity with computers and how to use them. Someone coming in here and %s/computers/ChatGPT/g is going to make an arg
685.
▲
by
klodolph
3y ago
Reminds me of when school districts would buy iPads or laptops or computer labs without any idea of how those machines would support their mission.
686.
▲
by
klodolph
3y ago
>I don't like combined single-hyphens for a different reason: sometimes they accept arguments, and it seems strange to me that `-a0` can variously mean `-a 0` and `-a -0`. I think the answer to that is just to stop designing argumen
687.
▲
by
klodolph
3y ago
If you have -r / --recursive, I would rather just have -recursive work as the others. POSIX be damned, the double hyphen is just an opportunity to make more mistakes, and the combined -rptgo single-hyphen flags are more opportunities t
688.
▲
by
klodolph
3y ago
And it takes a staff engineer to know which system to refactor.
689.
▲
by
klodolph
3y ago
> And in my impression even the ones doing moderately ok as small niche bands seem to be generally thankful for their position. That doesn’t match my impression at all—where I’m sitting, I heard artists complaining about how they’re unab
690.
▲
by
klodolph
3y ago
Yeah—as consumers, it’s kind of invisible to us. When I buy something, the production is obscured by the whole distribution network between me and whoever produced it. When I watch a movie, I don’t know if the actors and stagehands were tre
More ›