News for hackers. Stuff that matters.

noisysocks

Re:101 – A JavaScript utility library on Monday November 24, 2014 @11:43PM (#8656373)
A silly example:

  var Promise = require('bluebird');
  var fs = Promise.promisifyAll(require('fs'));
  var and = require('101/and');
  
  var paths = [...];
  Promise.map(paths, fs.existsAsync).reduce(and)
    .then(function(allExist) {
      if (allExist) console.log('all paths exist');
    });
Re:Economists Discover the Poor Behave Differently From the Rich on Wednesday November 13, 2013 @09:40PM (#6730195)
I can only imagine the ECB ignored this reality so as to justify their recommendation for governments to implement austerity.
Yes, but that would require that the road close for debris to be picked up. The water wall solution allows the tunnel to resume operation quickly. A small jam in the Sydney Harbour Tunnel blocks the whole city, so we want to avoid unnecessarily large delays.