Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stouset
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
661.
▲
by
stouset
1y ago
I did see the illusion but I just did a double-take. That image looks just straight green to me. I suppose I could imagine it being greener somehow, but blue!? I have a slight deuteranomaly. I did see the illusion. Pretty!
662.
▲
by
stouset
1y ago
Fish shell with starship. You will never look back.
663.
▲
by
stouset
1y ago
Git as a backend (with some amendments) is lovely and brilliant. Git as a front end is legendarily difficult to use. Jujutsu has all the advantages with none of the downsides and—unlike the alternatives—adoption doesn’t need to happen all
664.
▲
by
stouset
1y ago
From my point of view, the significant tradeoffs made in the design of go make it better suited toward software that has to change a lot: e.g., things closer to customer-facing that are constantly being iterated on. Rust is more appropriate
665.
▲
by
stouset
1y ago
You can 100% use it with that workflow, and there is no problem in doing that. You could use other workflows but those are things you can pick up as you gain more familiarity. What I would focus on is what it enables you to do that’s hard
666.
▲
by
stouset
1y ago
Yep. Having made the switch, I now see git (as a user-facing VCS) as a dead end. It’ll take awhile for people to switch, but I think it will happen eventually. Invisible git compatibility means we don’t have to get everyone to switch all at
667.
▲
by
stouset
1y ago
You’re not wrong, but now you have all your logs on another machine. And that machine could make them immutable/append-only for defense-in-depth purposes :)
668.
▲
by
stouset
1y ago
I agree with your assessment of the problem. It’s already been broken out into discrete chunks that are all simply solvable in short order. Even finding neighbor squares is reasonably straightforward (generating all 8 candidates is basicall
669.
▲
by
stouset
1y ago
> I basically retired at 40. I’m going to go out on a limb here and guess your monthly spending exceeds $10-20k and is probably well north of $100k.
670.
▲
by
stouset
1y ago
Plan?
671.
▲
by
stouset
1y ago
You're the one that started things off here with framing things as "replacing police with a hippie circle". Further, you admit you can't speak credibly to San Francisco, but then you keep trying to speak credibly about S
672.
▲
by
stouset
1y ago
Be specific. Which police reforms resulted in an increase in nuisance crimes in NYC?
673.
▲
by
stouset
1y ago
As someone who grew up with a dad who listened to conservative talk radio, "liberal" has been used as an epithet for at least thirty years. I was genuinely stunned in high school when I met people who would willingly refer to th
674.
▲
by
stouset
1y ago
It was a branding fuckup more than a policy fuckup. The idea that we want types of response units other than armed gunmen available to respond to certain types of emergencies isn’t exactly radical. We don’t send the police for medical emerg
675.
▲
by
stouset
1y ago
And do you think this was a result of a ~3% reduction in police officers, or could it have been something else?
676.
▲
by
stouset
1y ago
This was the sensationalist media narrative, yes. Chesa got kicked out. Brooke Jenkins took over to much fanfare. Aaaand nothing material really changed, either with enforcement or with prosecution. The media stopped talking about it though
677.
▲
by
stouset
1y ago
> This was tried. It generated a generational backlash against the left as petty crime and visible homelessness rose. Crime has been on a downward trend for a generation, outside of a few areas. In San Francisco specifically, crime also
678.
▲
by
stouset
1y ago
This same argument is true for every bit of authority we give to law enforcement agencies (and really, the government in general). We expect they'll use those powers responsibly and within the limitations that we've ascribed, but
679.
▲
by
stouset
1y ago
Yeah, I've done the calculations for 3% at 2%. I didn't feel like doing them again, so just went with a conservative bet.
680.
▲
by
stouset
1y ago
If the world’s energy use increases by 2% annually for a thousand years and we’re generating it with anything other than wind/solar/tidal/geothermal, we will raise the equilibrium temperature of the Earth by tens of degrees
681.
▲
by
stouset
1y ago
If you are using string concatenation to build HTML in your application layer, you are fundamentally doing it wrong. Ruby isn’t making all strings immutable here. Just string literals. You are free to allocate mutable strings that can be ap
682.
▲
by
stouset
1y ago
I architected and built our entire log-ingestion pipeline for intrusion detection on it, at Square. I built a small Ruby wrapper around the C API. Then I used that to slurp all the logs, periodically writing the current log ID to disk. Thos
683.
▲
by
stouset
1y ago
Tests should not generally need to be rewritten unless you’re changing the externally-visible behavior API of a function or library (either the literal API, its effects, or its semantics). If you’re changing the tests because you’ve changed
684.
▲
by
stouset
1y ago
> My understanding was that speed is not something you want in a UUID generator, since it makes it more susceptible to brute force attacks. Is this not the case? The only possible think I can think of here is using a UUID version with a
685.
▲
by
stouset
1y ago
The vast majority of Golang developers are neither hobbled by the lack of gigabyte throughput for random identifier generation nor are they on the verge of becoming victims to attacks on identifiers with "only" 2^122 random bits.
686.
▲
by
stouset
1y ago
I don't really disagree. But I also can't help but imagine a hyper-advanced alien species thinking the same thing about us due to us lacking some notionally critical (to them) aspect of intelligence/consciousness and paving o
687.
▲
by
stouset
1y ago
> My opinion is, _my unit tests_ are to protect my code against unwanted changes. This is just about the most bizarre take on unit testing I've seen in my 25-year career. > If I have to rewrite a method, usually I rewrite all of
688.
▲
by
stouset
1y ago
The mocking thing actually touches on another point of frustration for me. I think the design of Rails ends up causing people to reach for mocking way too often in order to test things. At a glance I think Brut should avoid a lot of this
689.
▲
by
stouset
1y ago
Do you mind elaborating on what more you end up wishing you had? Most of the additional features RSpec adds seem worthwhile but just end up being more complicated/confusing in the end, in my experience. Shared contexts/examples, f
690.
▲
by
stouset
1y ago
To be honest, I love this framework (so far from what I've seen) but I do hate the choice of RSpec. I say this as someone who used RSpec for like a decade after it was first released. I "get" it. I have contributed code to it
More ›