Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MrDarcy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
211.
▲
by
MrDarcy
2y ago
I also live in Portland. Look into our local taxes for the answer. We have the highest local tax rate in the nation for families earning more than 200K a year, higher than Manhattan. It simply doesn't pencil to build an ADU and rent
212.
▲
by
MrDarcy
2y ago
This is the correct answer. Just use Cobra, the automatic autocomplete is the best UX for users. I’ve also tried all of them. cobra is more than good enough and what issues remain in 2025 are easily and reliably worked around to be non iss
213.
▲
by
MrDarcy
2y ago
In Go at least you simply define an interface and use it as the receiver then inject whatever mock object you want. The mock itself may simply be a new type defined in your test case.
214.
▲
by
MrDarcy
2y ago
I did this in an interview once, failed miserably and got the feedback, “we don’t care about the database.” I personally feel you aren’t wrong but you also aren’t aligned with what they’re looking for, like I wasn’t when I failed this inter
215.
▲
by
MrDarcy
2y ago
I suppose you’ve never had to maintain a system heavily reliant on meta-programming techniques.
216.
▲
by
MrDarcy
2y ago
The code rarely resembles the runtime state of the system. Debuggers are an incredible shortcut almost all the time.
217.
▲
by
MrDarcy
2y ago
I was writing code similar to how the popular int13 kubelogin kubectl plugin works, which also uses wire for DI and is organized as a clean architecture repo. In that particular case I found both the clean architecture and the wire DI to a
218.
▲
by
MrDarcy
2y ago
DI is generally not an explicit thing in Go. As a sibling comment mentioned, there is wire but it simply generates code, it is not a runtime DI framework like Spring has. This is a feature. The code wire generates is the same code you’d nor
219.
▲
by
MrDarcy
2y ago
I hit this point in tfa and had the same comment. Please don’t pass things around in a Comtext. Maybe stash a slog logger in there, but that’s about it. I made the switch to Go a few years ago. For those who are on a similar journey as the
220.
▲
by
MrDarcy
2y ago
> How should companies monetize products? By charging for valuable, differentiated features. Not by charging for undifferentiated, standardized, secure authentication.
221.
▲
by
MrDarcy
2y ago
Another one for the sso wall of shame - https://sso.tax/
222.
▲
by
MrDarcy
2y ago
There’s a whole controversy over this specific issue. For decades they recommended 90 days in the fridge to keep it fresh. Then they switched to 30 days recommendation to goose sales.
223.
▲
by
MrDarcy
2y ago
I think they meant use a container to build caddy with xcaddy. It is essentially a one liner to cross compile caddy for all your use cases as long as you have access to a container runtime to build it.
224.
▲
by
MrDarcy
2y ago
There is no objective black and white is or is not in this situation. There is litigation of multiple cases and a judge making a judgement on each one. Until then, and even after then, publishers can set the terms and enforce those terms us
225.
▲
by
MrDarcy
2y ago
Not do which? Build a business on OSS, or incentivize OSS maintainers to not disappear?
226.
▲
by
MrDarcy
2y ago
Moore’s law came to an end about a decade ago. Since the clouds began a vcpu then is largely the same as a vcpu today.
227.
▲
by
MrDarcy
2y ago
I largely agree except with IBM. They may not be fashionable but they have 195B market cap and the stock price is up over 25 years.
228.
▲
by
MrDarcy
2y ago
This is more FUD. Employer cost is nowhere near 2.5x employee wages.
229.
▲
by
MrDarcy
2y ago
> I remember reading Yegge's blog post, years ago, saying that an engineer needed to know bitwise operators, otherwise they were not good enough. I think he's right, nearly every engineer needs a basic understanding IP routing
230.
▲
by
MrDarcy
2y ago
That depends entirely on if you ask permission before you interrupt another person.
231.
▲
by
MrDarcy
2y ago
I’m not dismissive of security related issues. My comment was a snarky reference to some other HN comments on uuid7 some time ago which I’m having trouble finding now. The comment was lamenting developers using uuid7 for many things, pres
232.
▲
by
MrDarcy
2y ago
Just use v7. Cue the security experts who say otherwise…
233.
▲
by
MrDarcy
2y ago
buf.build
234.
▲
by
MrDarcy
2y ago
To be fair, the first heading and section of TFA says no one knows what the terminology means anymore. Which, to GP’s point, is kind of BS.
235.
▲
by
MrDarcy
2y ago
How are you different than ZITADEL specifically? They’re open source (Apache 2.0), developer friendly (nice, documented API), and handles authorization and user management well.
236.
▲
by
MrDarcy
2y ago
I did this. It’s not easier than k8s, GKE, EKS, etc…. It’s harder cause you have to roll it yourself. If you do this just use GKE autopilot. It’s cheaper and done for you.
237.
▲
by
MrDarcy
2y ago
> Kubernetes isn't even that complicated I’ve been struggling to square this sentiment as well. I spend all day in AWS and k8s and k8s is at least an order of magnitude simpler than AWS. What are all the people who think operating
238.
▲
by
MrDarcy
2y ago
Which IDP’s are you speaking of? All major players support OIDC now. Google, Apple, Microsoft, Amazon, login.gov.
239.
▲
by
MrDarcy
2y ago
> However there’s no reason we should rule out general purpose languages. We’ve learned the hard way general purpose languages are poor for configuration at scale. I know first hand having worked on some of the larger prod infrastructur
240.
▲
by
MrDarcy
2y ago
In practice it’s fine to rebase and force push to your own published branch, even when it’s an open PR. Just mark it draft or otherwise communicate when it’s no longer a moving target.
More ›