138 karma · joined April 5, 2011
I think it happens when the card gets inverted horizontally.
And seriously, i can't believe that this (probably) is the most upvoted comment in this article.
Everything is not so simple; we use their (amazing) products, we pay by clicking ads. And it is useful for society as a whole (Google, Twitter and Facebook).
I am 100% sure that not even half of the programmers who work at Google are working in the "deliver ads" area. Many of them are working in a little piece of something that does something that someone else is going to find really useful... just like millions of people in earth!
Shit happens, and it will continue to happen to someone from time to time, but one case between thousands should not damage so much a single company.
2) When i am writing javascript is very common for me to use the global object (window) as the context; so in my case is not a good idea to use the HTML element as context by default.
I used this a lot when developing a Chrome extension for Facebook because i can identify when an HTML element is created via ajax.
It uses getElementById to traverse the DOM and it is said to be the faster selector in javascript.
For example: Lets pretend you are really interested in having as few requests to the server as possible. And lets pretend you have a huge multi-content gallery (images, flash, video, etc).
So, you want a nice javascript pagination for all that; but if you just hide the pages it is gonna get loaded on the user browser, and the page is gonna get really slow.
But, if the content is inside comments the user machine only loads it when the user actually ask for it. It feels ajax-like but a little bit faster and with less petitions to the server.
Here is a script that does a little bit of that http://jsbin.com/ihepuz/2
Mmm... if you are not a Chrome user... well... you should become one! :)
Check the link to see the other functionalities it adds to Hacker News.