Better HN
topnewbestaskshowjobs
Log inSign up

rosh

57 karma · joined Mar 25, 2009 (17y ago) · 8 submissions

Submissions

comment 12y ago · link · parent

I was reading up on Monads because of the reactive course. [0] I translated the code in "Monads for functional programming" (the linked paper) to Python a few weeks back – [1]

Not sure if it will actually help anyone, but it did help me in realising that I had not understood some code, but had instead just glossed over it. The State Monad, for example. [2]

--

[0] https://www.coursera.org/course/reactive

[1] https://github.com/rm/wadler

[2] https://github.com/rm/wadler/blob/master/wadler-2.8.py

comment 13y ago · link · parent

Tornado has a similar interface:

    class GenAsyncHandler(RequestHandler):
        @gen.coroutine
        def get(self):
            http_client = AsyncHTTPClient()
            response = yield http_client.fetch("http://example.com")
            do_something_with_response(response)
            self.render("template.html")
(via http://www.tornadoweb.org/en/stable/gen.html ..)

3.

Best Way to Really Understand the Racket Compilation and Execution Model?(lists.racket-lang.org ↗)

41 points · by rosh · 13y ago · 2 comments

comment 14y ago · link · parent

It was on Reddit a few days ago... http://www.reddit.com/r/compsci/comments/xb6ft/

comment 15y ago · link · parent

You should contact Thrun and Norvig who are running ai-class, they've started http://www.knowit.com/

6.

Siracusa: Walter Isaacson was the wrong guy to write Jobs' biography. [audio](5by5.tv ↗)

3 points · by rosh · 15y ago · discuss

comment 16y ago · link · parent

Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy. -- Alan Perlis, Epigrams on Programming

comment 17y ago · link · parent

this is the link: http://web.mit.edu/alexmv/6.001/