Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sagichmal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
sagichmal
5y ago
> Most people don't understand how to build an application. They think in terms of RPC and encoding, not in terms of Screens, Actions, and Workflows. What are Screens, Actions, and Workflows?
92.
▲
by
sagichmal
5y ago
> go-kit is very far away from DDD. Bizarre. Go kit is basically the reference model for DDD in Go.
93.
▲
by
sagichmal
5y ago
Lightweight DDD is a great match for Go. You don't want to go all-in -- you don't want a package usecases, for example. You just want to take the high-level concepts and apply them in a way that's idiomatic to the language. T
94.
▲
by
sagichmal
5y ago
> inheritance is an advanced programming language feature It really isn't. > that is easily misused. If a tool is misused frequently enough, it really isn't the fault of the users.
95.
▲
by
sagichmal
5y ago
> VictoriaMetrics :( Not actually Prometheus-compatible, sloppy code, spotty docs. I have no idea why this dumb product continues to attract users. https://prometheus.io/blog/2021/05/04/prometheus-conf
96.
▲
by
sagichmal
5y ago
No, it isn't framed as all or nothing. Principally because "the framing" isn't some well-defined objective thing, it's all a matter of perception, which means it's always possible to read whatever narrative you
97.
▲
by
sagichmal
5y ago
Macro vs micro. Appropriate advice at the individual level is often very different than, and sometimes the complete opposite of, appropriate advice at the demographic scale. It's fine to tell your brother to quit the shit and pick hims
98.
▲
by
sagichmal
5y ago
My post rebutted a claim. It didn't inflame anything, nor did it escalate the conversation. Readjust your sensors. And unflag the post.
99.
▲
by
sagichmal
5y ago
In no way did I do what you're claiming. Please unflag my post.
100.
▲
by
sagichmal
5y ago
> You think the base got there all on their own, Yes, more or less? I can't think of a single right-wing activist or politician who was truly rabble-rousing for the cause.
101.
▲
by
sagichmal
5y ago
> And conversely, you don’t get to assume that others understand you when you use language in ways that aren’t colloquial. Yep! It was a failure of all parties involved that the two competing definitions of racism weren't laid out o
102.
▲
by
sagichmal
5y ago
(laughs) "Politicians and activists" obviously didn't politicize masks. No coherent reading of the last 2 years supports that conclusion. It was the screeching Republican base, who decided on day one that the masks were a sym
103.
▲
by
sagichmal
5y ago
You don't get to assert what other people mean when they say things (shrug)
104.
▲
by
sagichmal
5y ago
You're describing the critical perspective, which is just a framing that motivates discussion. There are versions of it for essentially every sociological phenomenon. The hypersensitivity to it among certain demographics is what's
105.
▲
by
sagichmal
5y ago
> I agree for the most part there. Less so the founders, How anyone can look at this debacle and think of the employees as anything but victims, and the founders as anything but reactionary blowhards, is absolutely incoherent to me. The
106.
▲
by
sagichmal
5y ago
> many people seem to like unified look and feel All else equal, sure. But they'll sacrifice that in a minute if it means elimination of other toil. > many people complain about per-app auto-update Facts not in evidence. > ma
107.
▲
by
sagichmal
5y ago
The number of people who consider the system/distribution the atomic unit rather than the application, is probably about equal to the number of people who "edit dependencies and put their system back together" -- they are in
108.
▲
by
sagichmal
5y ago
Rebuilding tens of thousands of packages on a dependency upgrade is not a big deal.
109.
▲
by
sagichmal
5y ago
Fewer and fewer people are interested in the benefits provided by "coherent whole" distributions. And more and more people are interested in the benefits provided by "it's own island" applications. The future is sta
110.
▲
by
sagichmal
5y ago
> Probably, the founders believed that the toxicity of the internal culture had reached a point There are precisely one set of actors behaving toxically in this whole fiasco, and it's the founders. > I'd be really surprised
111.
▲
by
sagichmal
5y ago
Cool! Sequence diagrams are by far the most effective way to communicate system behavior. These, and boxes-and-lines diagrams to communicate component relationships, are all that's necessary to document a system of arbitrary complexity
112.
▲
by
sagichmal
5y ago
I've not figured out a way to effectively debug a distributed system except via printf. Debuggers are basically a nonstarter, because stopping one component to inspect it almost always triggers knock-on effects in other components that
113.
▲
by
sagichmal
5y ago
TinyGo will soon support encoding/json.
114.
▲
by
sagichmal
5y ago
This isn't an interesting or convincing argument because it revolves around a non-satisfiable metric. No matter the size of an artifact, this line of reasoning can always be used to claim it's too big and needs to be smaller.
115.
▲
by
sagichmal
6y ago
> if res, err := fn(...); err != nil { > return nil, err > } It's bad practice, though unfortunately extremely common, to return unannotated errors like this. I can't think of the last time I'
116.
▲
by
sagichmal
6y ago
> Even better, if there’s an error, there is no non-error return value. You can’t accidentally use the zero-valued return half of a tuple (as you can in golang) because it simply isn’t there. That is better! But it's not as better a
117.
▲
by
sagichmal
6y ago
I think the core of it is the belief that error handling is no less important than "happy path" code. In some domains, this isn't true. In mine, distributed systems, it is. So I don't want to relegate errors to some ghet
118.
▲
by
sagichmal
6y ago
Yep, it's very useful for channel-based state machines, you can turn transitions on and off between states.
119.
▲
by
sagichmal
6y ago
There is one way to iterate over things, for any kind of elementwise processing: a `for` loop. There is one way to format your code ;)
120.
▲
by
sagichmal
6y ago
`?` makes code substantially less coherent, not more.
More ›