Name: Steve 2017-02-12 5:03
Sitting on a goldmine!
TITLE: 2ch english if you will NEXT POST: 11
TITLE: C/C++ vs Good Language NEXT POST: 55
TITLE: Who needs functional programming... NEXT POST: 11
TITLE: Diversity on /prog/ NEXT POST: 33
TITLE: Elegance of Haskell NEXT POST: 22
TITLE: Haskell can't prove shit NEXT POST: 22
Here's your dilemma. If you use these dubs now, you will have used this shitty JS to acquire them.
"use strict";
let fs = require("fs");
let file = fs.readFileSync("progrider.txt", "utf8").toString().split("\r\n");
let output = "";
for(let i = 0, n = file.length; i < n; i++)
{
try {
let pieces = file[i].split("\t");
let title = pieces[1];
let nextPost = (Number(pieces[2]) + 1).toString();
if(nextPost.length > 1 && nextPost.substring(nextPost.length - 1, nextPost.length) == nextPost.substring(nextPost.length - 2, nextPost.length - 1))
{
output += "TITLE: "+ title +" NEXT POST: "+ nextPost +"\r\n";
}
}
catch(e) { }
}
fs.writeFileSync("output.txt", output, "utf8");
TITLE: 2ch english if you will NEXT POST: 11
TITLE: C/C++ vs Good Language NEXT POST: 55
TITLE: Who needs functional programming... NEXT POST: 11
TITLE: Diversity on /prog/ NEXT POST: 33
TITLE: Elegance of Haskell NEXT POST: 22
TITLE: Haskell can't prove shit NEXT POST: 22
Here's your dilemma. If you use these dubs now, you will have used this shitty JS to acquire them.