Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
monzee
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
monzee
6y ago
You can generalize this with TS's fancy mapped types: type Sum<K> = <T> (cases: Pattern<K, T>) => T type Pattern<K, T> = { [V in keyof K]: K[V] extends any[] ? (...args: K[V]) => T : never
2.
▲
by
monzee
9y ago
Faster startup, mouse works as you'd expect in a regular desktop app. Switch panes, tabs, open new tab, scroll panes, resize panes, select ranges, all in the terminal. I know not using the mouse is one of the reasons why one would choo
3.
▲
by
monzee
11y ago
For this reason, I think of objects as not equivalent to closures, but rather ML-style functors. I think implementing objects as records with closures as fields is really just a poor man's parameterized module.
4.
▲
by
monzee
11y ago
It's a view generation library, not a DOM-diffing library. That's like asking how to rotate a subtree in an RB tree library.
5.
▲
by
monzee
14y ago
Is this guy really a former Google employee? Those posts sound like they were written by an elementary school kid.
6.
▲
by
monzee
14y ago
This is so cool. I only wish the screen were a little bigger and could show all the colors.
7.
▲
by
monzee
14y ago
Looking forward to this. Registration doesn't seem to work yet. Please add 'monospace' to the font-family declaration. The site looks terrible in Ubuntu.
8.
▲
by
monzee
15y ago
Here's how to make shift-pgup/pgdn work in screen: echo "termcapinfo xterm ti@:te@" >> ~/.screenrc