Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Lacaranian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Lacaranian
3y ago
I love everything about this! I think a lot of code could benefit from restructuring via ADTs, and ser/deser is an important piece of that story. But I suppose I do have one nitpick. Using a fallback for asymmetric fields in sum types
2.
▲
by
Lacaranian
4y ago
There's one perspective (popular in funtional programming circles) that says data structures simply _are_ a special sort of function; that is, one that take no arguments. Really, in practice this means data is a partially applied, curr
3.
▲
by
Lacaranian
5y ago
I do wonder how "normal" human genitalia is compared to the vast majority of the animal kingdom. Though is that simply anthrocentric?
4.
▲
by
Lacaranian
5y ago
The card game example you propose is a pretty apt one. One might have any number of cards in a given hand, with any number of varying properties (like for standard 52 card decks, suit and rank). To keep a fixed size feature vector as the in
5.
▲
by
Lacaranian
5y ago
Does that mean if someone was raised in a mine are they better at bare-metal development?
6.
▲
by
Lacaranian
5y ago
As others here have hinted at, while NNT and NNH are both extremely useful concepts, they (deliberately) leave the consideration of whether a treatment's level of effectiveness, or the magnitude of a harmful side effect, subjective. Wh