Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwthrow0987
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
throwthrow0987
10mo ago
Is this as big as I think it is?
2.
▲
by
throwthrow0987
11mo ago
Effect systems are a trend that will go away. You can't statically guarantee that only, for example, the DB has side effects in a function. So what's the point? Haskell got it right in the first instance: IO or pure.
3.
▲
by
throwthrow0987
11mo ago
Most big corporates have their own inner sourced css components library. So when you get design feedback you wouldn't be directly editing the style in one self contained web application, which is what this demo is assuming.
4.
▲
by
throwthrow0987
11mo ago
>comparative advantage Makes a lot of sense in textbooks. But in the real world, when politics is involved, the whole theory breaks down. What does your text book say about China holding rare earths hostage in regard of comparative advan
5.
▲
by
throwthrow0987
11mo ago
Thanks, very clear explanation.
6.
▲
by
throwthrow0987
11mo ago
So it seems the thesis of some pretty in the know mathematicians is that the secret of dependent types is knowing when not to use them. Is that necessarily an argument against Lean or Rocq? In the sense could one simply just not use the dep
7.
▲
by
throwthrow0987
11mo ago
>It has been some time I worked seriously in a dependently-typed language, but I recall coming to the conclusion that dependent types are best used as little as possible, for exactly this reason. For which reason sorry?
8.
▲
by
throwthrow0987
1y ago
React is dead easy to create a component and get going with whatever you want to create. But as your application grows it is really difficult to test. The React testing library sounds good in principle, but once you have useEffects, hooks,
9.
▲
by
throwthrow0987
1y ago
I preferred class based components. The pretend functional programming style of hooks is quite imperative when you prick a little beneath the surface, so classes were probably the right abstraction.
10.
▲
by
throwthrow0987
1y ago
> is quite convenient It's not principally about convenience though is it? It's about defining the semantics of your program through the DSL. Then you can verify the program logic, prove properties about it if you wish. It is
11.
▲
by
throwthrow0987
1y ago
They must be making a lot of money!
12.
▲
by
throwthrow0987
1y ago
How many of these projects are actually merged to master and live though? I noticed the phrase "worked on" a lot, as opposed to shipped.
13.
▲
by
throwthrow0987
1y ago
If you have an effect ReadsFromDB, you can't enforce statically that someone will not come along and change the ReadsFromDB effect to write to the db. That's why I think Haskell got it right in the first instance, functions are e
14.
▲
by
throwthrow0987
2y ago
So why is barData being recomputed? Does anyone understand how React compiler works enough to answer this?