Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
distortionfield
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
distortionfield
2y ago
> By that same logic, if you just use wait groups and mutexes correctly, you should also not worry about deadlocks and race conditions. I agree with most everything else you said - especially about software being a trade off between spec
62.
▲
by
distortionfield
2y ago
Not the OP but yeah, that’s usually the reason I reach for a channel in this case. A mutex or wait group is just begging for a deadlock to rise up when you least expect.
63.
▲
by
distortionfield
2y ago
Tbh, I would rather a whimsical but unique and memorable name than another “tax-pool-cache-service” type of name to try and reason about.
64.
▲
by
distortionfield
2y ago
I get your point, but a wait group or a mutex can be removed in favor of a clean usage of channels if the proper concerns are isolated at first. And I would personally much rather reason about channels than mutexes and wait groups. Wait gro
65.
▲
by
distortionfield
2y ago
Buy the rumor, sell the news strikes again
66.
▲
by
distortionfield
2y ago
I see a lot of these comments boiling code review like this down to "picky reviewers" or "lazy submitters", but I have first-hand experience with something that doesn't fit either of these explanations, and it'
67.
▲
by
distortionfield
2y ago
You are describing “branding”.
68.
▲
by
distortionfield
2y ago
My setup is a digital ocean box with docker compose scripts and watchtower for deploys. All I have to do is push a new image and it will deploy in prod. Database is as aged Postgres cause that’s all that is really important. Cloudflare for
69.
▲
by
distortionfield
2y ago
It’s trivial to add in a keypress that short circuits the animation. God, this website is full of the grumpiest people on the planet.
70.
▲
by
distortionfield
2y ago
Deployment scripts are what come to mind for me. I wouldn’t mind a cool loading screen that highlighted problem nodes in the burning font or something when I deploy to dev / test / hell, maybe even prod.
71.
▲
by
distortionfield
2y ago
Did you even look at the link? Lol, they are selling specifically radiation hardened cameras for nuclear power plant use. I’m no nuclear engineer so I can’t comment on durability but they are legitimately selling a solution to exactly that
72.
▲
by
distortionfield
2y ago
Idk I wouldn’t mind one or two of these as loading screens or something.
73.
▲
by
distortionfield
2y ago
I’m not thinking of literate programming, no. I’m familiar with that. I’m referring to a fairly well-known recommendation from Clean Code. https://www.baeldung.com/cs/clean-code-formatting#vertical-f... I don’t agree t
74.
▲
by
distortionfield
2y ago
A really interesting finding considering how many comparisons of code to literature exist. I.e. the advice of laying your files out like a “newspaper”, writing your code in logical evolutions like an essay, etc…
75.
▲
by
distortionfield
2y ago
They don’t even necessarily need to be cheaper than all existing methods. They only need to be cheaper than (IMO inevitable) carbon tax penalties plus the cost of these bricks compared to current methods, which is a rapidly falling curve.
76.
▲
by
distortionfield
2y ago
> Tests can't catch race conditions in multithreaded code. Citation needed. > can you imagine Yes I can, because several languages have tooling built specifically for finding those race conditions. If you built it, you can test i
77.
▲
by
distortionfield
3y ago
I would agree if it wasn’t for the wave of Russian apologia that accompanied Republican talking points during the Trump administration.
78.
▲
by
distortionfield
3y ago
There’s definitely a sizeable chunk of pro-Russia in right wing circles. I’m reminded of those “I’d rather be a Russian than a Democrat” t-shirts that were popular in Republican circles from the 2016 election.
79.
▲
by
distortionfield
3y ago
It’s absolutely possible, it’s just hard, as all trust is.
80.
▲
by
distortionfield
3y ago
That’s the exact opposite of the grabby alien’s hypothesis tho. The grabby aliens hypothesis says that we’re very much average but that life as a whole is still quite young in the universe.
81.
▲
by
distortionfield
3y ago
In this thread: software engineers all of a sudden put some value on counting lines of code.
82.
▲
by
distortionfield
3y ago
I like rust as much as the next guy but this is just hilarious Rust apologia. Insisting that your long compile times are ackchually tests is comedy gold. And yes, I read the article, I know that they literally work on the Rust compiler.
83.
▲
by
distortionfield
3y ago
I’ve been reading a lot of danluu.com and https://acoup.blog/
84.
▲
by
distortionfield
3y ago
Except it’s not a single rare phenomenon, and Tesla has proven itself capable of serious innovation before.
85.
▲
by
distortionfield
3y ago
I find it really interesting how many times this distinction has been made (from each side to the other and vice versa) in just this thread.
86.
▲
by
distortionfield
3y ago
They can take down prey much larger than themselves including small crickets and worms. They’re cool little creatures.
87.
▲
by
distortionfield
3y ago
We can have safe nuclear, full stop. Your FUD notwithstanding.
88.
▲
by
distortionfield
3y ago
I understand the need for this tool but it says a lot about how broken GitHub’s own notifications system is.
89.
▲
by
distortionfield
3y ago
But at least we have Facebook and Instagram and DoorDash to keep us sated and complacent in the meantime /s
90.
▲
by
distortionfield
3y ago
Fully agree. Unfortunately, most people won’t even start to process it until it happens to them. Even if not “wrongly”, being jailed for a minor paperwork issue is scarring enough that I am hypervigilant about cops to this day, nearly a dec
More ›