Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dfgdghdf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
dfgdghdf
6y ago
I'm a big fan of steel bikes, so don't take this the wrong way, but you cannot build a steel bike as light as a carbon one for any reasonable price or robustness. The most high end steel bikes will barely be competitive with mid-l
92.
▲
by
dfgdghdf
6y ago
Rust is influenced by OCaml but has lots of C++ concepts thrown in too. I don't think it makes sense to be choosing between OCaml/F# and Rust since they are so different. If you need the performance characteristics of Rust, then t
93.
▲
by
dfgdghdf
6y ago
F# syntax is so much better than C# for functional programming - and arguably for object programming too. However, it is sufficiently different that you really need to jump in with both feet. Don't assume it will be easy because you
94.
▲
by
dfgdghdf
6y ago
Assuming both have a carbon fork, the difference is a few hundred grams.
95.
▲
by
dfgdghdf
6y ago
When 99% of modern Ti bikes have a carbon fork I don't think this argument holds up much. The advantage of Ti for me is that it is a metal bike (metal wears beautifully) without the weight penalty of steel. The downside is the cost...
96.
▲
by
dfgdghdf
6y ago
The reason is that a light and stiff bike is much more fun to ride! An expensive road bike is optimizing for fun and performance. A heavy old steel bike is optimizing for cost and reliability. If you are riding for fitness then fun is impor
97.
▲
by
dfgdghdf
6y ago
On the flip side, you would be still be faster on the $10000+ machine, and you don't even need to train to get the benefit!
98.
▲
What ever happened to scandium bike frames? (2016)
(bikeblogordie.com)
118 points
by
dfgdghdf
6y ago
|
106 comments
99.
▲
by
dfgdghdf
6y ago
The democratic left were not very enthusiastic about Biden. Also, I think it's fair to allow people to change over time. Maybe Biden was right of Trump 30 years ago, but the recent actions by Trump and Biden make it very clear that the
100.
▲
by
dfgdghdf
6y ago
Lots of libertarians like UBI; it's pretty much the smallest government you can have that still ensures a floor to everyone's quality of life. Milton Friedman advocated a negative income tax, which is similar.
101.
▲
by
dfgdghdf
6y ago
A big advantage of UBI is that it allows a smooth transition from living only on UBI into better paid employment because you don't lose the income once you start working. A long term study would reveal if this lowers unemployement over
102.
▲
by
dfgdghdf
6y ago
Exactly this. In the UK we have "universal credit", which is a guaranteed payment for people out of work. In practice, claiming this can be so difficult that many must turn to food banks and private charities before they receive t
103.
▲
by
dfgdghdf
6y ago
Two of the most fundamental products people need are food and shelter, and both of these are low margin businesses (excluding high rent areas, but a UBI allows people to move more easily because you receive it regardless of employment statu
104.
▲
by
dfgdghdf
6y ago
Counter-point: I write lots of F#, and I find that computation expressions (a fancy version of do-notation) makes my code more "dumb" and "simple", despite being an advanced "FP" feature. This is because it pu
105.
▲
by
dfgdghdf
6y ago
My perspective as a software engineer is that security is a much more technically challenging field that SWE. Is this true? Is security just smoke and mirrors? And why is SWE so much better remunerated?
106.
▲
by
dfgdghdf
6y ago
I know in F# it is much better to use a discriminated union because you get automatic comparison and equals implementations. You can't use functions as map keys, for example.
107.
▲
by
dfgdghdf
6y ago
This might get messy once you need hashCode and equals
108.
▲
by
dfgdghdf
6y ago
Is C++ cheating since it has such a powerful type-system? I would like to see an attempt in Java.
109.
▲
by
dfgdghdf
6y ago
It's particularly weird because most statically-type functional languages have discriminated unions as a practical alternative to the visitor pattern anyway.
110.
▲
by
dfgdghdf
6y ago
Indeed. It's interesting that the conservatives in the UK have chosen sovereignty over free trade. These aren't Thatcher tories.
111.
▲
by
dfgdghdf
6y ago
I want to be clear that I do not think the US system is a good one. However, we should not be blind to limitations of a UK style system. There are also in-between alternatives, such as in Germany or to a lesser extent Japan.
112.
▲
by
dfgdghdf
6y ago
Perhaps there's another way to put this. In an ineffective public healthcare system, people are denied treatment because the public body has determined it is not worth the cost. In an ineffective private healthcare system, people are d
113.
▲
by
dfgdghdf
6y ago
The US system is truly the worst of a both worlds: a highly centralized, bureaucratic system, with a handful of winner capturing huge margins on the top. The level of regulation and corporatism means that free-market people should be as dis
114.
▲
by
dfgdghdf
6y ago
Valve can do this stuff because they are a private company. Gabe has publicly stated that he does not believe in game streaming services, because he thinks computation is best done at the edge.
115.
▲
by
dfgdghdf
6y ago
Sounds like things have shifted since I last used it. Here's hoping they resolve this stuff soon!
116.
▲
by
dfgdghdf
6y ago
The Elm architecture has been implemented in F# as "Elmish". It's quite nice! I think Fable wins over Elm, simply because F# is such a great server-side language. Even if I was writing an Elm app, I would still likely reach f
117.
▲
by
dfgdghdf
6y ago
.NET has native ahead-of-time compile options that are getting better all the time. F# actually works better with these tools than other .NET languages because it is less reliant on reflection etc. to build its abstractions. You can write C
118.
▲
What I wish I knew when learning F#
(danielbachler.de)
1 points
by
dfgdghdf
6y ago
|
0 comments
119.
▲
by
dfgdghdf
6y ago
F# could have out of order definitions, but the designers chose not to because it lengthens compile times considerably.
120.
▲
by
dfgdghdf
6y ago
My personal favourite is the logical-fallacy-fallacy. This is where someone names a logical fallacy that doesn't quite apply, but is close enough to fool people into making it look like they have won debate. An example might be: "
More ›