Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stouset
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
571.
▲
by
stouset
1y ago
It can't go on indefinitely, but thanks to exponential growth it also can't go on for much longer. 275 years is—to me at least—a shockingly short time-frame. Obviously it won't be something I live to see, but humanity being f
572.
▲
by
stouset
1y ago
From Tom Murphy's excellent Do the Math blog[1]. Only 70% of the incident sunlight enters the Earth’s energy budget—the rest immediately bounces off of clouds and atmosphere and land without being absorbed. Also, being land creat
573.
▲
by
stouset
1y ago
I keep intending to give nushell a serious try, but I'm too set in my ways :(
574.
▲
by
stouset
1y ago
My relationship with the world is one where I want billionaires and companies with unprecedented amounts of power to be held to account when they act maliciously, negligently, or irresponsibly, and not one where we try to find any reason to
575.
▲
by
stouset
1y ago
Trillion-dollar companies run by egomaniacal billionaires do not need you rushing to your keyboard to make excuses for them. A corporation can hire people and put processes in place to arbitrarily minimize (or not) the chance of an mistake
576.
▲
by
stouset
1y ago
And vice versa. Rust code and C code can both operate on each other’s structs natively. `#[repr(C)]` instructs the compiler to lay the struct out exactly according to C’s rules: order, alignment, padding, size, etc. Without this, the compil
577.
▲
by
stouset
1y ago
Regexes are not fundamentally hard. People make regexes hard by trying to parse things by sight rather than finding a spec. If you have a spec, and it can be parsed by a regular expression, they are pretty damn rote to implement. If you are
578.
▲
by
stouset
1y ago
Sorry, but I have driven off-road and you inevitably get dings, nicks, and scratches from gravel, tree branches, and random detritus. I know people that use their trucks for hauling for work and they are never pristine. They don’t look de
579.
▲
by
stouset
1y ago
I have multiple times driven a Mustang Mach E (a heavy, very low ride height EV) out to a friend’s property an hour off of anything resembling a road, down multiple dirt switchbacks into the bottom of the Yuba River canyon. Vehicles these d
580.
▲
by
stouset
1y ago
> Trucks can haul people, things, do road trips, etc. pretty well. Yes, as can most vehicles?
581.
▲
by
stouset
1y ago
If this were the case, you’d see more trucks with wear and tear on them and fewer with five years in and pristine paint jobs. Most people buy trucks as a lifestyle choice, not as a practical one. That’s not to say there aren’t real uses for
582.
▲
by
stouset
1y ago
This is more fuel for my thesis that every single feature of golang was considered in isolation, and zero thought was put into how any of them would work together. I’m not sure how else you can explain perfectly idiomatic code (a loop, or a
583.
▲
by
stouset
1y ago
You can also just drop it by scoping the mutex guard to the critical area using a block, since it’ll be dropped when it goes out of scope.
584.
▲
by
stouset
1y ago
Unless there’s a bug and it panics? At a minimum now you’ve also got to scan for nil dereferences. Maybe that simple code between the mutex is pulled out into a function in a later commit. Then the function body is changed in the next com
585.
▲
by
stouset
1y ago
Amazing! You’ve found the mythical perfect programmers who never make mistakes and always run resource cleanup under defer! I personally haven’t worked with any of these perfect programmers, but I’m glad that you do.
586.
▲
by
stouset
1y ago
I consider Ruby to be Perl 6 :)
587.
▲
by
stouset
1y ago
It is definitely not loss aversion. It also has nothing to do with whether or not someone else is getting the money. Handing me nearly half a billion because a parent died would certainty be welcome, but I think it would feel equally as dis
588.
▲
by
stouset
1y ago
And you could assign somebody to do that work, but who wants to be employed as the maintainer of a dead product? It’s a career dead-end.
589.
▲
by
stouset
1y ago
I agree that Tesla should receive punitive damages. And the size of the punitive damages must be enough to discourage bad behavior. I'm not necessarily sure the victim(s) should get all of the punitive damages. $329 million is a garg
590.
▲
by
stouset
1y ago
This was removed in Ruby 2.7. It was neat, but a bit of a blunt instrument.
591.
▲
by
stouset
1y ago
Bordering on zero percent of projects too performance sensitive to be written in Ruby should be written in Perl instead.
592.
▲
by
stouset
1y ago
I agree it was a combination of Raku and Ruby. As far as I'm concerned, Ruby deprecates Perl 5. It fills the same niche while avoiding a lot of the absolutely crazier parts of Perl (no shade; Perl was designed in a far different time a
593.
▲
by
stouset
1y ago
Yep. I feel like this every time a coworker pushes back on a code review “I’m just trying to get this to work”. Okay but this is the ninth time in a row, and now you’re building on top of all the other half-baked bits, and the confusion fro
594.
▲
by
stouset
1y ago
The difference is we didn’t know any better back then. We do now.
595.
▲
by
stouset
1y ago
The U.S. is only slightly less far down this path, but we are trying our best to catch up.
596.
▲
by
stouset
1y ago
Having an insane number of files in the same directory is already a performance killer. Here you’re talking about having something like 10,000 JSON files in one directory plus some number of non-JSON files, and you’d just be better off in a
597.
▲
by
stouset
1y ago
I accept your bet. Please contact me and we can work out the details for your payment.
598.
▲
by
stouset
1y ago
A -EV investment like early-stage startup equity is still -EV for every incremental dollar spent. Paying upfront for equity whose terms can be rewritten out from under you with zero input is not smart from any angle. You’re basically critic
599.
▲
by
stouset
1y ago
“This doesn’t make sense. We’ve only added 200ppm of CO2 to our atmosphere. Shouldn’t affect anything.” Systems at a roughly stable equilibrium can be surprisingly easy to shift out of that equilibrium by pushing them ever so slightly outsi
600.
▲
by
stouset
1y ago
So just to clarify, what you’re saying is that the volume of water we’ve pumped is directly responsible for the observed sea level rise? The article makes it sound as if the tilt is what was responsible, and I was curious about the mechanic
More ›