998 karma · joined Oct 22, 2010 (16y ago) · 236 submissions
comment 15y ago · link · parent
http://stackoverflow.com/questions/1995113/strangest-languag...
it will stay forever in my bookmarks.
comment 15y ago · link · parent
location === window.location === self.location
and that objects are also associative arrays:
oneObject.aMethod === oneObject['aMethod'] === oneObject['aMet' + 'hod']
you can write infinite variant of the same function call.
comment 15y ago · link · parent
http://developer.apple.com/library/mac/#documentation/Genera...
Only applications that support auto-save AND set NSSupportsAutomaticTermination to YES do quit when there are no open windows.
comment 15y ago · link · parent
1) Non adapt for touch typists. In my opinion it would be very hard to find the home row without raised dots and the feeling of real keys.
2) Can increase the effect of repetitive strain injury (RSI). Hitting an hard surface isn't the same thing that hitting keyboard keys.
comment 15y ago · link · parent
webkitCancelFullScreen webkitCurrentFullScreenElement webkitFullScreenKeyboardInputAllowed webkitIsFullScreen onwebkitfullscreenchange
comment 15y ago · link · parent
The crocodiles are radio buttons and animations are controlled via the :checked pseudo-selector, very clever.
comment 15y ago · link · parent
http://twitter.com/#!/twitter
is parsed by the Google crawler as: http://twitter.com/?_escaped_fragment_=/twitter
which is a 301 Moved Permanently to the old: http://twitter.com/twitter
which in turn redirect to the #! version if you are logged. This is a mixed approach that mantain backward compatibility (and support Bing, Yahoo and other crawlers).comment 15y ago · link · parent
comment 15y ago · link · parent
The Processing parser generate (fast) javascript code on the fly the can be accessed from external scripts. You can mix processing with javascript.
comment 15y ago · link · parent
The problem here is that the (old) Facebook prompt_page.php page:
http://www.facebook.com/connect/prompt_feed.php
doesn't sanitize feed_info[action_links][0][href] allowing javascript: links.
comment 15y ago · link · parent
Now I use the swiss-knife Memoir class for nearly everything and I have understood the importance of beautiful typesetting.
Worth reading:
http://www.ctan.org/tex-archive/info/memdesign (the memoir manual of style)
The Elements of Typographic Style, Robert Bringhurst (the bible)
comment 15y ago · link · parent
C-x z, the command that repeat the last command for every 'z' you type. This is in my opinion one of the most important feature of Emacs
M-s o, the 'occur' command that show all the lines that match a specified regexp
File variables: http://www.gnu.org/software/emacs/manual/html_node/emacs/Spe...
comment 15y ago · link · parent
http://www.tuaw.com/2011/03/14/70-percent-of-ipad-2-buyers-a...
http://www.appleinsider.com/articles/11/03/13/apple_attracts...
comment 15y ago · link · parent
Today I use XeTeX together with the swiss-knife memoir class and a huge preamble that I have built over the years. XeTeX is modern and lets you write your docs in UTF8 with ease. I have stopped writing a lot of commands by hand cause there are a lot of modern editors out there (TeXShop on the Mac, TeXworks/TeXnicCenter on Windows, Kile and a bunch of others in Linux.)
When you enter the TeX world you cannot go back cause you start to see typographical errors everywhere: wrong kerning, missing ligatures, wrong align in formulas, wrong page dimensions and others. As Don Knuth says: "I can't go to a restaurant and order food because I keep looking at the fonts on the menu."
The beauty of LaTeX (XeLaTeX in this case): http://nitens.org/taraborelli/latex