HN user

AltIvan

138 karma
Posts10
Comments45
View on HN

No straight male gets sexually exited when they watch other male jerking off. But many people dreaming about starting their own company will find this really exiting and inspiring.

And seriously, i can't believe that this (probably) is the most upvoted comment in this article.

I cant believe this is posted on Hacker news...

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!

Fuck this shit. This is like when a Facebook user gets contacted by a raper using it; this is like when a Gmail account gets completly deleted.

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.

1) The dom state is that everything inside the HTML element that you were waiting for already exists when the function is executed.

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.

OP here: neither .live() or .delegate() do functions when an element comes to existence, those just bind events.

I used this a lot when developing a Chrome extension for Facebook because i can identify when an HTML element is created via ajax.

Its excellent for in-place-non-active-at-the-start content; specially useful for images.

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

Hi, this is completly offtopic but i couldn't find another way to contact you: In another thread you complain about the "Unknown or Expired Link" error you sometimes get in HN; i want to tell you that i created a Google Chrome extention that fixs this problem (and also adds some other functionality). You can check it out here: https://chrome.google.com/webstore/detail/bldhjkmbdomhijjjnm...

Mmm... if you are not a Chrome user... well... you should become one! :)

Oh yeah? This is just bussines? Well, then maybe Google Search should be starting redirecting users to Google+ every time someone clicks a Facebook link.