HNHacker News
TopNewBestAskShowJobs

jQueryIsAwesome

903 karma · joined September 10, 2011

@ivanca at twitter
submissionscomments
jQueryIsAwesome··on Google has indexed thousands of publicly accessible HP printers
The enjoyment or lack of it by the printer owners is probably not a valid legal argument.
jQueryIsAwesome··on Google has indexed thousands of publicly accessible HP printers
But we didn't change anything here; is just a website that says: "Select the file you want to print" and that's it.
jQueryIsAwesome··on Google has indexed thousands of publicly accessible HP printers
Who says I am not authorised? I can claim that public access is an implicit authorization, like any website! And there is no warning or message in the public control panels.
jQueryIsAwesome··on Meetup, you've been bad, bad hosts
Just like everything in this world someone point out his bad experience and then his opinion become famous and everyone generalizes because it gets a lot of attention. And worst, the comment section attracts all the people that had a similar experience making it even more biased; so it gets a lot of more bad press than it deserves.

So despite there could being just one false-positive-not-fixed-after-human-contact every 1 million deleted meetups, in Internet that false-positive is likely to bring a lot of undeserved negative attention.

jQueryIsAwesome··on Pirate Bay Branded “Malware Distributor” by Google
Specially when they promote unpopular music bands in the front page, its not illegal but how do they dare to replace record labels like that! That's just evil.
jQueryIsAwesome··on Pirate Bay Branded “Malware Distributor” by Google
Is always the littlest one but if you can just use AdBlock, it usually hides the fake ones.
jQueryIsAwesome··on We should retire Aaron's number
Just more (sub)domains. That's all

    france.twitter.com/user
    artists.twitter.com/user
jQueryIsAwesome··on Dynamically generate HTML/CSS for forms, icons, buttons
Selecting the colors one by one is really annoying; I would recommend something like the CSS gradient generation tool[0] where you can easily change the HUE, saturation and lightness of all the colors at once. Presets like theirs would be nice too.

[0]http://www.colorzilla.com/gradient-editor/

jQueryIsAwesome··on HTML5Wow
The mobile browsers should allow to use the keyboard anytime and just send the events to the current focused DOM tag like any desktop browser does. Maybe as an another option in the browser menu.
jQueryIsAwesome··on What I Expect From a Programming Language
Well, there is trampolines: http://clojuredocs.org/clojure_core/1.2.0/clojure.core/tramp...
jQueryIsAwesome··on What I Expect From a Programming Language
Clojure.
jQueryIsAwesome··on Rational Suckers
The very same thing happens around the world in many political elections; because people think that voting for a candidate perceived as unpopular is wasting their vote; so some candidates remain unpopular not for their ideas but for their perceived unpopularity.

People when are free to make decisions individually usually assume everyone else doesn't have group mentality so they themselves decide not to have one, making it a self-fulfilling prophecy.

jQueryIsAwesome··on French ISP Removes Google Adsense From Websites
Offering everything users want only can be done when they are paying, otherwise they must accept the little things they don't like such as the main income source of all the websites they like to use. It would be like google asking all other ISPs to block this French ISP just because they don't like their business decisions.
jQueryIsAwesome··on French ISP Removes Google Adsense From Websites
Maybe, just maybe because that spam is not the bussiness model of your email provider.
jQueryIsAwesome··on French ISP Removes Google Adsense From Websites
The only "bullshit" I can see here is your comment[0].

Of all possible crows I would expect the Hacker News one to be the more rational about this; but no; many here are pretending this is somehow OK; lets be very clear, for many sites this for all practical reasons the same as hiding the pay button in any SaaS or PasS start-up.

The tracking done by many ads could be stopped by deleting cookie-headers and using a proxy to serve the ads to hide the real IP from advertisers; but no; they decided that removing the ads completely was a perfectly good idea.

Google should stop allowing all users from that ISP to use _any_ Google service at all (Including Google search and Gmail) with a little message saying that "Your internet provider is actively hurting our business model by using default ad-blocking in all their routers including yours. If you like to keep enjoying our services please contact them and ask them to stop using such aggressive tactics. Thank you."

The only reason we the people with ad-blockers as browser extensions are not actually harmful is because (believe or not) we are a minority.

[0]Yes, calling "bullshit" the title someone decided was appropriate for this article is just as offensive as calling your comment the same way.

jQueryIsAwesome··on Vigil: A programming language with eternal moral vigilance
Rebel, don't forget rebel; a keyword to use an exploit in the vigil compiler to remove it from the hard drive just after escaping to a python environment where it is compiled under less oppressive rules.
jQueryIsAwesome··on Microsoft's Ajax CDN tumbles worldwide
You can easily specify how much time a CDN will have to respond as you can see in my example in another comment: http://news.ycombinator.com/item?id=5003129
jQueryIsAwesome··on Microsoft's Ajax CDN tumbles worldwide
False; because (if the script is inside the head of the page) the loading of Javascript is synchronous so the user will not notice any refresh at all.
jQueryIsAwesome··on Microsoft's Ajax CDN tumbles worldwide
Well; I also think this is going offtopic but I have to mention "unescape" is not a JS standard but it is available in most JS engines; in the other hand literal Unicode codes in strings are part of the ES specification.
jQueryIsAwesome··on Microsoft's Ajax CDN tumbles worldwide
A simpler solution would be to reload the page passing a parameter that you want to use other CDN; something like this: https://gist.github.com/4444636
jQueryIsAwesome··on Microsoft's Ajax CDN tumbles worldwide
Don't use unescape, is ugly and is not required if you break the close tag of "script".

    this.jQuery||document.write('<script src="js/jquery-1.8.3.min.js"></sc'+'ript>')
jQueryIsAwesome··on C# is the language of the year, Python of the decade
Furthermore, the growing of C# seems to be the almost same as C++ in the worldwide trends (not only USA):

http://www.google.com/trends/explore?hl=en-US#q=Java%20tutor...

And also there you can see that India is still the biggest searcher of programming tutorials in the world.

jQueryIsAwesome··on C# is the language of the year, Python of the decade
Obligatory xkcd http://xkcd.com/1102/
jQueryIsAwesome··on John Resig's ‘Secrets of the JavaScript Ninja’ has been released
False, you want a book plus its applications; if you buy a book about woodworking you probably want to see some examples of furniture creation and other practical challenges to apply your new found knowledge.

That is why this book deals with DOM and BOM from chapter 11 to 15 even if those are not purely JavaScript.

jQueryIsAwesome··on John Resig's ‘Secrets of the JavaScript Ninja’ has been released
depends-on-the-reader-if-fiction, a new category in amazon's book.
jQueryIsAwesome··on Military Must Prep Now for ‘Mutant’ Future, Researchers Warn
4500 mg single dose don't kill a human (recommended dose is 200mg); strong side-effects are an exception and not the norm.
jQueryIsAwesome··on Military Must Prep Now for ‘Mutant’ Future, Researchers Warn
There is a drug called modafinil, is not an amphetamine in the strict sense of the word but it can keep you awake for many hours, is used to treat narcolepsy and its already being used in the military.
jQueryIsAwesome··on JavaScript: Clarifying The Keyword ‘this’
It's actually a Javascript strength; one that makes it more dynamic.

    NodeList.prototype.map = Array.prototype.map
Just one line and now you can do stuff like:

    document.querySelectorAll("div").map(function(ele){
      return ele.id
    });
jQueryIsAwesome··on JavaScript: Clarifying The Keyword ‘this’
And in JS is really easy to create an abstraction for this issue:

    function wait(o){
      return setTimeout(function(){ o.action.call(o.this) },o.delay*1000)
    }    
To use it like this:

    wait({
       action : function(){ console.log(this) },
       delay : 1,       
       this : this
    });
jQueryIsAwesome··on JavaScript: Clarifying The Keyword ‘this’
In what other language you have direct access to methods as first class objects to do an immediate execution of a method returned by an execution container (parenthesis in JS) ?

I think most people would write it like this:

    playing ? player.play() : player.pause()
← PreviousPage 5 of 20Next →