829 karma · joined September 12, 2010
Pretty sure I've read quotes from Steve Jobs that follow that line of thinking actually.
I don't understand this advice, if I say I expect 'at least X', then it's me coming up with the number, not them. I have always just said I'll comment on what is offered.
[1] http://www.amazon.com/Fatal-Shore-Epic-Australias-Founding/d...
I was thinking about making a blog post about it but couldn't see much more information to add, it seems this blogger couldn't either ;p
4 distinct digits = 4! = 24 permutations
3 distinct digits (one repeated) = 4!/2*3 = 36 permutations
Note: division by 2 is because of the symmetry of swapping the order of the repeated digit, multiplication by 3 is because it is not known which of the 3 digits is repeated.Note2: Using 2 distinct digits (both used twice or one used 3 times) is not as ideal as that results in: 4c1*2 + 4c2 = 14 permutations
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
..yet they haven't actually optimized the site properly for a small display, meaning it's not actually possible to scroll/zoom to see any full line of text (tested on iPhone)."Billion"
> There is no really good reason to predefine the array length.
There are good reasons, though they're usually quite 'sneaky', for example:
function repeatString(str, howMany) {
return new Array(howMany+1).join(str);
}
> 13. Usage of undefined as a variable... that variables isn’t read-only, and any other code can change its value... why take the risk?There's no good reason to be that paranoid, libraries could also overwrite 'document', 'XMLHttpRequest', 'setTimeout' and a number of other variables that would likely break my code; if any of my libs are so rogue that they overwrite 'undefined' then I've got big problems.
I'll be honest, I didn't read any more of the article after this totally false statement in the intro. Facebook and Twitter both use https for login (they are http pages that submit to a https endpoint that redirect to http, that way https is used for authentication but never appears in the url).
Note: of the symbols there, '%' seems to stand out as a character that is on just about all keyboards right? (maybe '$' also)
While true, it is their best selling laptop, I can imagine it happening in a few years once the air gets a few spec bumps and lowers in price.
"HTML5 entirely" doesn't really mean much, for example my website uses mostly HTML 4.01, but is HTML5 as well (since it's mostly backwards compatible).
eg. If you're using <div> tags then you're using HTML5.
edit: others who confirm are using chrome, I'm using chrome on mac so it looks like latest chrome on all platforms are affected.