Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weberc2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
331.
▲
by
weberc2
7y ago
I agree that less power is better, but I find TOML pretty cryptic. Like I said, JSON with comments and multi line strings is my ideal. :)
332.
▲
by
weberc2
7y ago
I’ve been around long enough to use them all. I’m pretty happy with JSON as a debuggable serialization format for machine-to-machine or light machine-to-human use cases. YAML works well for human-to-machine (JSON could fill this use case as
333.
▲
by
weberc2
7y ago
Unless the GP edited, there's no suggestion of punishment in his comment.
334.
▲
by
weberc2
7y ago
In theory they are better, but in practice “what makes them the most money” is often “what is best for the people” and governments and elected officials are often inept or corrupt. This doesn’t apply for every government or corporation on e
335.
▲
by
weberc2
7y ago
I don't doubt there are definitions of privilege which are falsifiable, as those pertaining to discrimination. But those are seldom used, and when challenged, the claimants fall back to some abstract unfalsifiable definition, i.e., a m
336.
▲
by
weberc2
7y ago
Is societal privilege even falsifiable? Can it explain anything? (Or rather, can it be made to explain anything and everything?)
337.
▲
by
weberc2
7y ago
> Patents should expire but don't always do due to all sorts of shenanigans between corporations and govt. I'm not familiar with this. Genuinely didn't know it was an issue. > We however need to take a communal interest
338.
▲
by
weberc2
7y ago
> I definitely wouldn't say that government is always trustworthy, but having the food supply controlled by a democratically operated nonprofit entity with a clear interest in everyone's wellbeing is obviously better than havin
339.
▲
by
weberc2
7y ago
I wasn't saying it was. Merely observing that the government isn't a popular alternative either. Note that this isn't even my valuation--anti-corporatists tend to very strongly dislike both corporations and (the U.S.) governm
340.
▲
by
weberc2
7y ago
The alternative is the government, right?
341.
▲
by
weberc2
7y ago
You might be right, and I think it makes for interesting introspection. For me, it’s not necessarily a policy grounded in rigorous economic philosophy. Rather, someone—a person with thoughts and feelings—just went the extra mile to serve me
342.
▲
by
weberc2
7y ago
I’m fine with the notion of tipping as a reward for extraordinary service, but it absolutely shouldn’t be part of a standard compensation package and especially not considered as part of a minimum wage requirement.
343.
▲
by
weberc2
7y ago
It’s not a bad idea because it’s not well supported by current tooling and practices, not because of scalability. The scalability problem is tractable.
344.
▲
by
weberc2
7y ago
Maybe it's not your objective, but comments like this would be a lot more convincing if they were accompanied by a proposal for replacing cars and especially a steel man of the pro-car position.
345.
▲
by
weberc2
7y ago
How could it mean that blind auditions are fairer if it didn’t detect a gender bias signal to begin with? Genuine question?
346.
▲
by
weberc2
7y ago
I agree there are things you need to control for, but I don’t think its as hopeless a comparison as you seem to imply. As previously mentioned, I’m already controlling for healthcare and pension, for instance. What other insurances do Europ
347.
▲
by
weberc2
7y ago
As an ignorant and neutral bystander, I’m really curious why this is downvoted and would be interested in reading the rebuttal (seems like I could learn something).
348.
▲
by
weberc2
7y ago
Mind you, I don’t advocate for struct embedding, but it doesn’t force you into a type contract. The outer struct retains its type—it is not a subtype of the nested type so it can’t be used in places that take the inner type. Literally all i
349.
▲
by
weberc2
7y ago
What then do you mean that American cars/houses are unsustainable? I don't think big houses/cars is a good thing, but I think it probably is sustainable for quite a while (less climate concerns, in which case everything is un
350.
▲
by
weberc2
7y ago
The middle classes in Europe definitely don’t have more. Salaries are 30-40% higher in America (even accounting for healthcare and pensions) and the cost of living is quite a lot higher.
351.
▲
by
weberc2
7y ago
It’s not just the very wealthy. The middle class in America also enjoy a much nicer standard of living than in Europe. Have a gander at the cost of living indices and there are very few categories where the US doesn’t fare better (and often
352.
▲
by
weberc2
7y ago
I get it, but I disagree with subverting the type system. The type system is there to promote safety and maintainability; you shouldn't subvert it even if "you" are the std lib.
353.
▲
by
weberc2
7y ago
Both types implement the `Client` interface. So either type can be passed into a function that accepts the `Client` interface, but a `CachedHTTPClient` cannot be passed into a function that accepts an `HTTPClient` (you would have to pass
354.
▲
by
weberc2
7y ago
golang is right :) Seriously though, Go doesn't have inheritance and I don't miss it. The only reason I need it in Java, etc is because so many libraries expect/require you to subclass.
355.
▲
by
weberc2
7y ago
This is often a reasonable thing to do (encapsulation). Callers don't have a right to private details, and I would go further and say that an interface value's concrete type is itself an implementation detail that callers shouldn&
356.
▲
by
weberc2
7y ago
This might be a bad practice, but I don't feel very bad if you subvert the type system like this and it bites you. If `io.ReaderTo` is important, it should be a bonafide first-class method, not something that's determined and disp
357.
▲
by
weberc2
7y ago
It is exactly composition; the compiler just generates the methods to automatically delegate to the anonymous elements. It's just syntax sugar that probably creates more confusion than it alleviates. It's not inheritance of any ki
358.
▲
by
weberc2
7y ago
> Inheritance with embedding is a false friend in Go. Stick to composition. Note that this applies to every language with inheritance. Composition is _always_ better.
359.
▲
by
weberc2
7y ago
Of course, that’s not what the parent implied, as I demonstrate in the sibling thread.
360.
▲
by
weberc2
7y ago
The parent observed that “Bigots oppose hobby lobby”, not that everyone who opposes hobby lobby is a bigot. You levied the unsubstantiated accusation that the hobby lobby founders are bigots. These things are not the same.
More ›