Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tmhedberg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
tmhedberg
15y ago
There is libtrash ( http://pages.stern.nyu.edu/~marriaga/software/libtrash/ ), which does something very similar. It adds a library to your LD_PRELOAD variable which intercepts unlink syscalls and moves deleted files to $HOME/Trash instead
152.
▲
by
tmhedberg
15y ago
He may be referring to the fact that lambda expressions in Python are limited to a single statement. If you want anything more complex than that, you have to define a function elsewhere and pass it by name.
153.
▲
by
tmhedberg
15y ago
Firefox doesn't support the notifications API either. Currently only Webkit browsers do.
154.
▲
by
tmhedberg
16y ago
True, but when using numbers to make a menu selection, it makes more sense to start numbering at 1, because of the way number keys are arranged across the top of the keyboard. It's slightly less intuitive to have the key corresponding to th
155.
▲
by
tmhedberg
16y ago
Out of all the confusing and misleading monad tutorials out there, this one finally made it click for me: http://ertes.de/articles/monads.html . He doesn't use any off-the-wall analogy like spacesuits or ghosts inside of boxes. Instead, he
156.
▲
by
tmhedberg
16y ago
Learn You a Haskell for Great Good ( http://learnyouahaskell.com/ ) is another good resource for learning the language. It's a bit lighter weight than Real World Haskell, and doesn't have the breadth of practical examples, but I think it ma
157.
▲
by
tmhedberg
16y ago
I don't think the radii of the circles actually correspond to a particular land area. How would one measure the "extent" of an earthquake, anyway? It's not like they have well-defined, circular bounds. More likely, the circles are just size
158.
▲
by
tmhedberg
16y ago
POST is not defined to be idempotent, although you're correct about PUT and DELETE.