Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skohan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
751.
▲
by
skohan
5y ago
30% would be insanely optimistic.
752.
▲
by
skohan
5y ago
> Their battery technology is outdated and they invest almost nothing in BEV. Isn't Toyota investing heavily in solid-state batteries?
753.
▲
by
skohan
5y ago
Isn't Toyota investing heavily in battery tech? I thought they were farther along with solid-state batteries than anyone.
754.
▲
by
skohan
5y ago
Do you think around 50% of the cars on the road in the US will be Teslas?
755.
▲
by
skohan
5y ago
I think Tesla will be successful, but the current valuation seems to assume that every IC car on the road will be replaced by a Tesla in the next 10 years. I think Ford and Toyota are going to figure out how to be tesla a lot sooner than Te
756.
▲
by
skohan
5y ago
Yeah I agree there are examples where types are not enough to disambiguate arguments.
757.
▲
by
skohan
5y ago
It's a nice rule of thumb, but it's not always practical. For instance, something like a vulkan compute pipeline has a ton of parameters just due to the complexity of the domain, and breaking it down into sub-objets to a greater
758.
▲
by
skohan
5y ago
It's an interesting thought. Personally I don't mind explicit ordering, since it's just one more way to cross-check correctness. Also I can imagine leaning on the type inference to resolve which argument is which might not
759.
▲
by
skohan
5y ago
At the risk of being pedantic, I would use separate types there for the id's to avoid this kind of issue, but in general I agree with your point
760.
▲
by
skohan
5y ago
The thing I really don't like about the builder pattern is that it obscures the possibility space. With named arguments/defult parameters, you know exactly what the fields are you need to consider. With builders, you can wander
761.
▲
by
skohan
5y ago
Or you could just have named arguments with defaults, which is a highly ergonomic and well-tested solution to this problem.
762.
▲
by
skohan
5y ago
I totally agree. Named parameters are one of those language features which once you use it, you don't want to go back. Similar to C-like syntax and ADT's / explicit nullability, I think named parameters are just going to be
763.
▲
by
skohan
5y ago
I don't really understand this: why should capital availability increase in the face of a labor shortage? Making capital doesn't actually create more labor, so wouldn't this just re-allocate labour towards those with more ac
764.
▲
by
skohan
5y ago
So yes, there is always going to be a fight for power in society, and people are going to find ways to buy power with money to the extent they are allowed. However there are ways to structure governance to limit the extent to which wealth
765.
▲
by
skohan
5y ago
I am in favor of increasing labor's share of income. My point is, in order to increase labour's share of income, the money supply has to be held relatively constant in order to avoid inflation. In an environment like we have, whe
766.
▲
by
skohan
5y ago
See this would hold if the money supply is held relatively constant. We are not in that environment.
767.
▲
by
skohan
5y ago
The thing is, it seems like there are multiple factors at play here. What you're talking about is the distribution of funds within an organization. I.e. if company X has a certain total revenue, can they afford to re-distribute a grea
768.
▲
by
skohan
5y ago
I can't speak for the other commenter, but for me the M1 air is so good I wouldn't feel the need to pay several times more for a "pro" machine.
769.
▲
by
skohan
5y ago
Isn't C# quite available on mac?
770.
▲
by
skohan
5y ago
Is there a tradeoff in terms of power consumption?
771.
▲
by
skohan
5y ago
Agree on the chargers. SD card is great if you do anything wit Raspberry Pi's and photos.
772.
▲
by
skohan
5y ago
I believe it is intended to limit click-bait. I'm happy HN does this kind of stuff, because it increases the quality of discussion.
773.
▲
by
skohan
5y ago
I find it very cool. I was thinking recently of something similar, and it's interesting to see it in practice. I can imagine there might be some serious tradeoffs in terms of making something which has to be interoperable with all the
774.
▲
by
skohan
5y ago
I feel like this is a use-case which sounds a lot better on paper than it actually is. Mobile apps in my experience tend to be shaped quite heavily by the system API and UI frameworks they are built on top of. When you talk about the &quo
775.
▲
by
skohan
5y ago
This is more likely imo
776.
▲
by
skohan
5y ago
Why is the attitude so prevalent in 2021 that the market is always the answer and regulation never is? Every high-functioning society is built on a foundation of sensible and fair regulation. Over the past 30 years, we've seen a rise
777.
▲
by
skohan
5y ago
Yeah over the past few years this has been an issue I have found myself becoming increasingly passionate about. It's a particular problem of internet connected devices - in the past it was not really possible to own something which is
778.
▲
by
skohan
5y ago
But this is exactly equivalent to calling `.unwrap()` in rust, no?
779.
▲
by
skohan
5y ago
Yeah it seems like they just waited for a new generation of consumers to grow up without knowing it is a trap. That plus waiting for the regulatory environment to give up on anti-trust almost entirely.
780.
▲
by
skohan
5y ago
Apple tries to sell you, but I feel like they are better on dark patterns. Whenever I use Windows, I feel like I have to be actively on-guard against the OS subverting my intentions. There are a lot of problems with the Apple ecosystem, b
More ›