AltIvan
AltIvan on Hacker News
Posted by
AltIvan on Thursday August 18, 2011 @12:27PM
from the creativetextboxes.com dept.
Posted by
AltIvan on Thursday August 18, 2011 @02:08AM
from the javascriptisawesome.blogspot.com dept.
If it does what you guys say it does... you are full of awesome!
If you delete/change '<script' and '</script>' you pretty much have that covered.
https://leaky.com/about_us/ Alcohol, video-games and four guys that couldn't get together for a photo in formal suits... introduction, you are doing it wrong.
Why people gave you upvotes? You clearly stated that your reward system is not working.
There is one exact position in Google Chrome where it get stuck for half a second.
I think it happens when the card gets inverted horizontally.
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.
Oh look! there is a little note: "Do not use if you need an infinite loop not to stop."
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!
BTW She is making more damage to the AirBnB employees (and their families) than the raiders did to her.
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.
Posted by
AltIvan on Tuesday July 26, 2011 @08:30PM
from the javascriptisawesome.blogspot.com dept.
Just some scene of an anime.
That is why it only uses getElementById to traverse the DOM.
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.
OP here. The 5ms interval is only used on old versions of Internet Explorer.
It uses getElementById to traverse the DOM and it is said to be the faster selector in javascript.
I am the OP; i just removed the background... but is going to be back! (as soon as i figure out a way to make it consume less CPU... probably using canvas)
Posted by
AltIvan on Monday July 25, 2011 @04:41AM
from the javascriptisawesome.blogspot.com dept.
you dont even need jquery:
document.getElementsByTagName("tbody")[1].innerText.replace(/\s/gi,"")
I do that all the time when people look at me. Look away like you are staring at something important; they very quickly try to see what you are interested in.
Posted by
AltIvan on Friday July 22, 2011 @10:14PM
from the javascriptisawesome.blogspot.com dept.
Posted by
AltIvan on Thursday July 21, 2011 @06:56PM
from the self-post dept.
Hi guys; some days ago i published a Google Chrome extension that adds some functionalities to the navigation through this site (Hacker News).Link: https://chrome.google.com/webstore/detail/bldhjkmbdomhijjjnmckgchocnfhkpndIf you are a Chrome user an have an idea for a feature that you would like to see implemented in the HN navigation please tell me about in this thread.So far it have 3...
Posted by
AltIvan on Wednesday July 20, 2011 @02:06PM
from the show-hn dept.
What? If the malware can do that it would easier for them just redirect them with javascript to any site.
Sorry, i love it... but someday i am gonna put the option to hide it.
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
Posted by
AltIvan on Tuesday July 19, 2011 @05:53PM
from the javascriptisawesome.blogspot.com dept.
Well... looks like this didnt get any attention... feedback about it?