- ARCHIVE / Uncategorized
- Brain teaser
In response to Dustin Diaz (you’ll need a JavaScript 1.8 capable browser, or Ojay):
var arr = ['a', 'b', 'c', 'c', 'd','e', 'e',
'e', 'e', 'e', 'f', 'e', 'f', 'e',
'f', 'a', 'a', 'a', 'f', 'f', 'f'];arr.reduce(function(memo, letter) {
var last = memo[memo.length - 1];
if (!last || last[0] != letter) memo.push([letter]);
[...] - Down with templating languages
There’s been a couple of posts I’ve read in the last few days discussing the merits of allowing varying amounts of code into the HTML templates in web applications. One point that some people seem to be missing with regard to code in your templates is this: I don’t care what it is, I care [...]
- In response to Tim Bryce’s Theory P
Now I know better than to rise to deliberately inflamatory comments, but Tim Bryce seems to be deadly serious when he espouses his ‘Theory P’. I’m going to try to respond to this article in as level-headed a fashion as I can. Let’s go.
(Yes I know it’s from 2005, but I only just read it [...] - If you’re this much of an idiot, you have no place writing business articles.
I wouldn’t normally comment on this in writing, but I cannot believe that there exists even one person who seriously entertains the notion that the iPhone (or anything else for that matter) should fail because it is impossible to use while driving. As pointed out by John Gruber, Rob Enderle holds such an opinion, as [...]