HNHacker News
TopNewBestAskShowJobs

p5k

20 karma · joined May 30, 2017

delete 6869fd7f86bfa8883d54ac35e9504c0a09c7cce394
submissionscomments
p5k··on Ask HN: YouTube down?
Not working for me.
p5k··on Instagram deprecates majority of their API
I think HN users are outraged at everything.
p5k··on Google claims it's too costly to produce salary records in gender pay case
And they only need 100k. For a multibillion dollar company, that's pennies.
p5k··on Node v8.0.0 Released
Notejs should get promise versions of its current callback-based APIs:

    const fs = require("fs");
    fs.writeFile("Hello, World", "helloworld.txt", (error)=>{
        if(error) throw error;
        console.log("done!");
    });
Should be:

    const fs = require("fs");
    fs.writeFilePromise("Hello, World", "helloworld.txt").then(()=>console.log("done!"),error=>console.error(error));