|
Wheany posted:And I just want to warn you that as a new convert I just might become insufferable. It's cool, we all are
|
| # ? May 12, 2013 15:12 |
|
|
| # ? May 20, 2013 12:30 |
|
Wheany posted:And I just want to warn you that as a new convert I just might become insufferable. Tell me about it. My first work where I dove into a 100% promise driven approach was this WebSQL/IndexedDB API I've just started on: http://malucomarinero.bitbucket.org/johodb/ It's blowing me away how powerful promises are, especially when you're processing a stack of asynchronous actions, and then Q will wait for them all to finish and then output an Array of the lot in sequence. It such a clean and logical way to deal with this stuff, and greatly simplified my life in writing an API for asynchronous storage.
|
| # ? May 12, 2013 15:55 |
|
I'm not really a fan of Crockford, but that talk didn't really explain Monads at all. It seems he, too, fell under the curse. Like, how was that a "loophole" that allowed Haskell people to do anything? The utility of it as a general pattern seems like it would belong right at home in the Gang of Four book. I understand Promises, but it seems he had to stretch the definition of the generic pattern in order to give it the "monad" label. I'm disappointed that he didn't really give any concrete examples for promises either, when there's a lot to show off about how the composition works in practice, just a giant code dump with his own weird-o "break" / "keep" / "fate" stuff that seemed to exist just to confuse. 2/10 F- would not watch again
|
| # ? May 12, 2013 16:13 |
|
Edit: I got the help I needed from another source.
Don Mega fucked around with this message at May 17, 2013 around 17:39 |
| # ? May 14, 2013 03:17 |
|
Anyone know how to simulate hanging a cluster worker in Node.js so I can test out hearbeat monitoring?
|
| # ? May 17, 2013 02:48 |
|
|
| # ? May 20, 2013 12:30 |
|
Couldn't find a d3.js question, so I'll try my luck here. I load a dataset from a csv file: Javascript code:EDIT: I think I found the JavaScript way of doing things; I don't know if this is what they want people using d3.js to do, though: Javascript code:ufarn fucked around with this message at May 18, 2013 around 23:07 |
| # ? May 18, 2013 22:51 |








