Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sagichmal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
sagichmal
5y ago
Gun is snake oil.
32.
▲
by
sagichmal
5y ago
Don't filesystems already do this? Like, really really good?
33.
▲
by
sagichmal
5y ago
I understand "singleton" as "only one exists" and "it exists in the global scope". That is, if I create one instance of something in my `int main()` that's not enough for it to be a singleton. That'
34.
▲
by
sagichmal
5y ago
As dcow pointed out, it really doesn't work fine for testing, as it couples what should be isolated tests together, and prevents them from being executed concurrently.
35.
▲
by
sagichmal
5y ago
Singletons are globals, aren't they?
36.
▲
by
sagichmal
5y ago
Each of these things prevents isolated testing of dependent components. For that reason alone they are nonstarters.
37.
▲
by
sagichmal
5y ago
> Unless you're doing something mathematical, where you can exhaustively test every input and output and ship something that's essentially close to the platonic ideal of the thing, you're going to need to update. You only
38.
▲
by
sagichmal
5y ago
Many markets are strongly influenced by federal policy and have enormous lobbying groups, and capitalism by its nature harms vulnerable people. I don't see what makes housing unique in this sense.
39.
▲
by
sagichmal
5y ago
I don't understand how anyone can view this as unfair. It's as basic as basic economics gets. It is obviously the case that downstream consumers of goods and services pay more than upstream suppliers. The initial investment is an
40.
▲
by
sagichmal
5y ago
All evidence suggests the answer is actually "no".
41.
▲
by
sagichmal
5y ago
I don't think you can generalize from that specific scenario to your broad claim. It is not necessary to usurp famous city landmarks to offer affordable housing. Berlin is large and underdeveloped.
42.
▲
by
sagichmal
5y ago
Zoning laws are not the thing restricting affordable housing supply, certainly not in Berlin and rarely elsewhere either.
43.
▲
by
sagichmal
5y ago
Thanks for the reply. We have pretty compelling historical evidence that the market does not solve this problem.
44.
▲
by
sagichmal
5y ago
What quotas are you referring to? Is your claim that fewer regulations would result in a net increase in affordable housing stock?
45.
▲
by
sagichmal
5y ago
This is... obviously not true? Demand exists at a lower end of the market, where there is less incentive for suppliers. There is no affordable housing stock being created. Government exists for things precisely like this situation.
46.
▲
by
sagichmal
5y ago
Tempelhofer is an enormous asset of the city and turning half of it into apartments would be a disgrace.
47.
▲
by
sagichmal
5y ago
> Progressive taxes on investors can mitigate this and make home ownership more affordable In Germany home ownership is not seen as strictly positive in the same way it is in the US for example. Many, perhaps even the majority, of German
48.
▲
by
sagichmal
5y ago
Error handling is equally important to business logic. This is a core tenet of Go, an explicit design decision. If you don't agree with that statement, then you're gonna have a bad time.
49.
▲
by
sagichmal
5y ago
The ? operator permits chaining, which obscures sad path control flow and makes code harder to reason about, not easier.
50.
▲
by
sagichmal
5y ago
No, they offer observability as defined in your link.
51.
▲
by
sagichmal
5y ago
The capabilities described in the post do indeed offer observability, not just monitoring.
52.
▲
by
sagichmal
5y ago
At the moment, the capabilities of technology simply don't permit the level of... generic-ness? that vendors like OTel -- and customers really -- want. If you try to push everything through a single pipeline, as a single kind of data,
53.
▲
by
sagichmal
5y ago
Parsing logs has a performance ceiling that locks you out of ~most of the value that good observability systems should be delivering.
54.
▲
by
sagichmal
5y ago
> If there’s anything that’s an absolute must in my Observability to-do list, it’s getting org-wide acceptance of OpenTelemetry (OTel) for data-collection. OpenTelemetry exists to allow CTOs to tick boxes on requirements checklists, and
55.
▲
by
sagichmal
5y ago
> it’s just silly to confine quasi-generics to those 2 places Why is it silly?
56.
▲
by
sagichmal
5y ago
> the builtins are ad-hoc and half-assed In what way are slices and maps half-assed?
57.
▲
by
sagichmal
5y ago
> You may have already noticed that links to the package reference docs for the standard library on golang.org/pkg now redirect to their equivalents on pkg.go.dev, which is a better experience today and will continue to improve. Fac
58.
▲
by
sagichmal
5y ago
Finalizers are not guaranteed to run. They're not ersatz destructors.
59.
▲
by
sagichmal
5y ago
Nix is a prototype-grade implementation of a very narrowly useful model of computation.
60.
▲
by
sagichmal
5y ago
> When you bring in technologies like Kafka to orchestrate this, you'll end up with a more reliable system that you can fix if something goes wrong. It depends... If your services are servicing typical user requests, and expect resp
More ›