109876
Re:Request For Research: Basic Income
on Wednesday January 27, 2016 @06:20PM (#10984403)
I think you just described homeless shelters.
Re:A Quick Puzzle to Test Your Problem Solving
on Thursday July 02, 2015 @01:40PM (#9820382)
Full method just for fun:
function judgeSentence(sentence, numNo) {
sentence = sentence.toLowerCase();
// no nos -> wrong.
if (numNo === 0 || sentence == "") {
return false;
}
// if have any fancy words -> wrong.
var probablyWrong = ["doubl", "expon", "multipl", "^", "**", "power", "two", "2", "twice", "as big", "nth", "rais"];
if (hasAny(probablyWrong, sentence)) {
return false;
}
// if you have the right words, and no buts.
var seemsRight = ["larger", "increas", "greater", "small", "less", "big", ">", "<", "go up", "ascending"],
weaselWords = ['but ', 'not ', 'odd'];
if (hasAny(seemsRight, sentence) & !hasAny(weaselWords, sentence)) {
return true;
}
// // no nouns, verbs or adjectives in your sentence -> wrong.
// var s = nlp.pos(sentence).sentences[0],
// verbs = s.verbs().map(getWords),
// nouns = s.nouns().map(getWords),
// adj = s.adjectives().map(getWords),
// numWords = verbs.length + nouns.length + adj.length;
// if (numWords === 0) {
// return false;
// }
return false;
}
Re:C for high level programmers (slides)
on Sunday May 31, 2015 @09:37PM (#9636388)
I think he is just saying that C isn't worth learning if you just need to do really simply things that a ton of modern languages can do in one of two lines.
Re:A Guide to SVG Animations (SMIL)
on Monday November 17, 2014 @12:10AM (#8616938)
Wow, that was a super thorough article.
Re:WebGL Water
on Wednesday February 19, 2014 @11:11AM (#7264266)
Should this work on mobile? I'm not having any luck on my iPhone 5.
Re:Web Latency Benchmark: A new kind of browser benchmark
on Monday November 11, 2013 @02:47PM (#6713518)
1.1 out of 10 running the latest stable version of Chrome on a 2010 13" MacBook Pro with a 2.40GHz Core 2 Duo, 8GB of RAM, and a Samsung 840 SSD. Geez... Is there anything I can do to improve the score?