p5k
Re:Ask HN: YouTube down?
on Tuesday October 16, 2018 @09:21PM (#18234795)
Not working for me.
Re:Instagram deprecates majority of their API
on Wednesday April 04, 2018 @06:45PM (#16760009)
I think HN users are outraged at everything.
The EFF's Newsletter
Re:Google claims it's too costly to produce salary records in gender p...
on Tuesday May 30, 2017 @06:31PM (#14449095)
And they only need 100k. For a multibillion dollar company, that's pennies.
Re:Node v8.0.0 Released
on Tuesday May 30, 2017 @05:33PM (#14448721)
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));