HNHacker News
TopNewBestAskShowJobs

segfaltnh

317 karma · joined April 12, 2023

submissionscomments
segfaltnh··on Fault tolerance and resilience patterns for Go
Agree with this. While I too wish that Go had better ways of handling this, there are patterns and guidelines to follow that should prevent this in practice.

- Use factory functions for struct initialization where members are pointers.

- Use errcheck and friends to ensure errors are not ignored.

- Never dereference the left hand return value if the right hand is an error.

segfaltnh··on Breaking down tasks
A lot of the "never taskers" in this comment section seemed to have never worked with the juniors I have.

These are good, new software folks who genuinely don't know how to stand up basic functionality because the space is new to them. In my experience they want tasks they can learn from and excel at, leading to growth.

I think the thing that you absolutely must keep in mind is process overhead is a continuum you tune to your team. No one in the NBA is going into a huddle and getting instruction on how to throw a ball mid game, but the kids in third grade are. Both styles of planning and coaching are appropriate to the team at hand.

segfaltnh··on Being a Fast, Cogent Writer Is Useful
Glad to see someone else reflecting on this. I've been using long form code review for the last ten years of my career with these same goals in mind: concrete and actionable generative feedback. I know other people lurk on PRs, even outside their own teams, and benefit from the concepts. Plus, it's useful for posterity.
segfaltnh··on Being a Fast, Cogent Writer Is Useful
Add to that that dictionaries are lagging indicators of meaning. If people start using cogent differently, dictionaries will catch up later, but we will all understand each other ahead of that point.
segfaltnh··on GoboLinux
The real issue is case sensitive file systems. When do you actually want two files with the same name in different cases? That's not a human-centric design choice, Mac and Windows got this one right.
segfaltnh··on The creator economy can't rely on Patreon
Do you suppose their 41 members split the 700 euros evenly each month or have some kind of Ramen group buy system?
segfaltnh··on The creator economy can't rely on Patreon
But, at least for me, when I buy a book I may actually read it (maybe), and then it sits around until I manage to donate it when I move in seven years. Is it really any different from a digital purchase I forget about?
segfaltnh··on Almost every infrastructure decision I endorse or regret
Also don't make microservices if you don't have teams that will independently own them.
segfaltnh··on Almost every infrastructure decision I endorse or regret
My reaction exactly. I don't know their footprint but this is a long list of stuff.
segfaltnh··on jj init – getting serious about replacing Git with Jujutsu
What a waste of time. JAVASCRIPT works fine! This is a solution in search of a problem.
segfaltnh··on Western firms are quaking as China's electric-car industry speeds up
To be honest I stopped reading after that intellectually dishonest opener. I didn't mean to suggest there wasn't truth to the claim or that the market wasn't ripe for a shakeup. Interesting anecdote, too, thanks for sharing.
segfaltnh··on Western firms are quaking as China's electric-car industry speeds up
The article has a click bait title and then opens up with how fast the Chinese electric cars are compared to high end gas cars. Like, that's a core property of electric cars, nothing to do with incredible innovations in China...
segfaltnh··on Western firms are quaking as China's electric-car industry speeds up
Why aren't there more Chinese automakers of gasoline cars?
segfaltnh··on Should I open source my company? (2022)
But as a commercial consumer, I still value source available offerings quite a lot. I can debug my own issues with them, I can see how well they're built and I know thousands of eyes are looking at them.

Depending on the software, I agree it's not as good for me as free software, but it's not worthless.

segfaltnh··on Error handling in Go web apps shouldn't be so awkward
Did anyone else immediate get confused by the assertion that the http code shouldn't know about the database details so the solution is for the database code to embed http details instead?

In our project we have a domain types package with errors that permeate these types of boundaries. It's "okay" in the ways everything in Go is "okay". I've yet to see anything I really like in this space.

segfaltnh··on Amazon receives FDA warning letter for supplements with undeclared ingredients
Another problem solved by decentralization! You should sell some NFTs to celebrate.
segfaltnh··on U.S. Government Database of Dad Jokes
I do. I doubt it cost much in relative terms, and it's drawn a lot of attention to the issue of fatherhood and spawned a lot of debate.
segfaltnh··on 4B If Statements
Sometimes people do things to be funny.
segfaltnh··on Flare, a video sharing site built on Nostr
Exactly right. I don't understand why people miss this detail. Maybe Google does have too much power over how content is served, but this isn't a fix, at all.
segfaltnh··on Flare, a video sharing site built on Nostr
Yes, and they scale poorly. See the part where people fill warehouses with GPUs causing global shortages and lopsided power demands.
segfaltnh··on Ayllu: Hackable Code Forge Built on Open Standards
Is there another obvious term for this? I didn't know what it meant but now that I've learned I find it a valuable generic term for this class of thing.
segfaltnh··on Inko Programming Language
Yeah that is my read as well, and for a ton of use cases that's exactly what I want. Very exciting.
segfaltnh··on Why you should probably be using SQLite
Saying it's not uncommon for a database to be tens or even hundreds of milliseconds away is ignorant at best. If you care about performance, you're not jumping across the US for every database query.

Honestly this is the kind of stuff written to fluff out a social presence and offers nothing to a technical audience.

segfaltnh··on They can and will ruin everything you love
I really like "your dilation may vary".
segfaltnh··on Stop Arguing over Elite Schools. Just Make Public Colleges Free
Is there an example of negative repercussions of this in modern society? I hear people complain about extreme taxation relative to history, but I also have plenty of access to goods and services in my region, so it seems there must be other, perhaps higher weighted, factors?
segfaltnh··on Stop Arguing over Elite Schools. Just Make Public Colleges Free
What if you include living expenses?
segfaltnh··on Stop Arguing over Elite Schools. Just Make Public Colleges Free
I would imagine all such models would rely on thousands or more factors which, when tweaked based on individual bias, show widely variable outcomes.
segfaltnh··on Ask HN: Why use any other languages when Python can do the job?
You could swap Python here for Ruby, JavaScript or 12 other languages based on your personal preference. For most of what most of us are building rock solid libraries exist to do the task at hand. It's okay if you like Python, but many of us don't. :)
segfaltnh··on ChatGPT-4 significantly increased performance of business consultants
Honestly if you don't care about precision, /dev/zero is going to give you more throughput. Plus, I personally guarantee it's correct to within an error margin of 4.0. You can't offer the same with /dev/random!
segfaltnh··on “I want to use this tactically vs. GOOG/AAPL” (2022)
I believe that's a Buddhist expression about "right speech".
← PreviousPage 4 of 6Next →