Epic Blog of Awesome

code.tech.sci.math.art.write

Using Promises | codefoster

If I want to create my own method and allow callers to call it asynchronously then I need to return to them a promise. That’s simply the pattern in JavaScript.Creating a promise is pretty easy, but you need to understand the concept because sometimes things can start to feel messy and it’s really helpful to understand what’s going on not that I do entirely yet.In Windows 8 JavaScript development we have the WinJS.Promise. You create it like this…

via Using Promises | codefoster.

SpaceX Dragon Spacecraft in Production

As the only operational vehicle capable of taking significant amounts of cargo both to and from the International Space Station, SpaceX’s Dragon spacecraft is already a critical piece of the American space program.  With at least 10 more station resupply missions over the next couple years, and with development of a human-rated Dragon and DragonLab underway, production of the Dragon spacecraft has increased significantly. 

No other American company is mass producing spacecraft at the same rate.  Pictured below are no less than six Dragons in production, as SpaceX ramps up to keep pace with its plans and a very full manifest:

dragons2013_spacex_stack
via Production at SpaceX | SpaceX.

The 25 Best Horror Movies on Netflix Instant :: Blogs :: List of the Day :: Paste

Netflix offers exactly 700 horror movies for instant streaming, including some of both the best and worst examples of the genre. We pored through creature features, slashers, and tales of zombies, vampires and werewolves to find 25 films that are scary-good. Our picks span nearly a century of horror-movie making from classics like The Cabinet of Dr. Caligari 1919 to last year’s V/H/S. They include works from cinematic legends like Alfred Hitchcock, Brian de Palma, and Roman Polanski, as well as horror specialists Wes Craven and Clive Barker. These are frightening films for sure, but most will give you something more than just a cheap scare.

via The 25 Best Horror Movies on Netflix Instant :: Blogs :: List of the Day :: Paste.