Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chrisdotcode
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
A complete rewrite of wiki as a single page application
(c2.com)
161 points
by
chrisdotcode
12y ago
|
119 comments
92.
▲
by
chrisdotcode
12y ago
Right - What I'm saying is that the above former code does handle the error, in the exact same way as the latter code. For clarification, the error is handled implicitly (but you'd know what kind of error it was due to the type
93.
▲
by
chrisdotcode
12y ago
That's the magic of monads: the errors are all handled for you (in an encapsulated, lossless way), and you can deal with them (if you choose) at the end of the chain, just the same as promises (because promises are a monad).
94.
▲
by
chrisdotcode
12y ago
This: images <- get "http://example.com/images.json" is objectively easier to reason about than: var images; get("http://example.com/images.json", (err, resp) =>
95.
▲
by
chrisdotcode
12y ago
What's interesting is that all of the 'niceness' seen is the result of a switch to the functional style. Excluding the singleton class (which could have been a single function itself), you've got your map/filters in
96.
▲
by
chrisdotcode
12y ago
Correct me if I'm wrong, but isn't all of this openness a result of Microsoft realizing it's loosing, and trying to win back market share by niceing up to OSS developers?
97.
▲
by
chrisdotcode
13y ago
Is there actually a legitimate reason that the MIT PGP server doesn't have HTTPS?
98.
▲
by
chrisdotcode
13y ago
If it's that trivial, a lot of us would be happy for such a fix; is there any particular limitation as to why it hasn't been done?
99.
▲
by
chrisdotcode
13y ago
Thank you for the recommendation!
100.
▲
by
chrisdotcode
13y ago
Most "tutorials" I've seen as of late (including this one) seem to walk through creating the grammar, and then just hand wave the actual creation of the AST (and the rest of the steps) to "yacc magic" or some other
101.
▲
by
chrisdotcode
13y ago
Here's an article [0] explaining more about how this works from the author of Hieroglyphy. [0] - http://patriciopalladino.com/blog/2012/08/09/non-alphanumeri...
102.
▲
by
chrisdotcode
13y ago
`mdfind' in non-Mac UNIXs is spelled `locate' (and the corresponding `updatedb' updates the indexing db, obviously (although you don't have to do this often, as it runs as a cron job)).
103.
▲
by
chrisdotcode
13y ago
This was Felixge - former core Node.js developer - with his pull request hack [0]. [0] http://felixge.de/2013/03/11/the-pull-request-hack.html
104.
▲
by
chrisdotcode
13y ago
Rather the dict is bound during "compile" time, and not at each individual invocation (which would be much better, IMO). And during each invocation, it doesn't get re-bound.
105.
▲
All Megaupload Data Has Been Deleted
(theverge.com)
3 points
by
chrisdotcode
13y ago
|
1 comments
106.
▲
Massive Number of Vulnerabilities Found in X.Org
(lists.x.org)
197 points
by
chrisdotcode
13y ago
|
107 comments
107.
▲
by
chrisdotcode
13y ago
Could it be something like brainfuck[0]? [0] - http://esolangs.org/wiki/brainfuck
108.
▲
by
chrisdotcode
13y ago
What really irks me is that this question [1], asking word-for-word the same question for a different year entry, that was posted two days later was closed as "too localized" and has -10 points, while this one has +452. Stackoverflow has se
109.
▲
by
chrisdotcode
14y ago
Also feels good to have vim bindings inside of emacs using evil ( http://www.emacswiki.org/emacs/Evil ).