News for hackers. Stuff that matters.

HNatWORK

Re:How Google's Self-Driving Car Works on Tuesday May 08, 2012 @02:00PM (#3944995)
Everything except for some of the Google X Labs projects, of which this is one.

I'm going to take an optimistic tack and say they're doing this for the PR benefits of being seen as creating new technology that gives people tools they never thought they could have, somewhat like Microsoft has done with the Kinect.

If you file a DMCA notice and the infringing party files a DMCA counter-notice, would you have to register the copyright before you could sue for infringement?
Re:Ubuntu Releases 12.04 LTS Precise Pangolin on Thursday April 26, 2012 @12:41PM (#3894756)
It looks like that specific card won't work for three monitors, because output #3 is hdmi and not displayport.
Re:Richard Stallman: How I do my Computing on Saturday April 07, 2012 @02:40AM (#3810194)
He is right to fight for Free software because it empowers the weak, the poor, the oppressed, and also hobbyists, even though there is certainly non-Free software that does so as well (routers for example may carry speech freely but may not be Free themselves). He takes this philosophy to extremes to make his point.
Re:Ever heard of "Low orbit server stations"? on Monday March 19, 2012 @02:03PM (#3725253)
The pirates would become the pirated. Sorry I couldn't help myself.
It should be trivial to determine which accounts have the same passwords, are you taking any proactive steps to help secure these accounts?
Re:The Patient Ant And The Stretchy Rubber Band on Monday February 20, 2012 @04:37PM (#3614045)
So this post inspired me because I've been doing a lot of the Project Euler (http://projecteuler.net/) problems and this seemed in a similar vein.

I let it run a few hours in Python on a fastish laptop (although I could only use one core) and only got to ~23%. I became interested in the number of minutes it took to advance each step, and found an interesting pattern:

To go from 7% to 8% takes 2.719 times as long as 6% to 7%, and 8% to 9% takes 2.719 times as long as that. The period eventually settles at e (2.7182818...). Using this, it should be easy to calculate the total number of minutes as such: I found it took 100210581 minutes to get to 19%, so: 100% = 100210581 * e^(100-19) = 1.509e+43

I checked my math by using another number (36865412 is ~18%) so while I don't understand the underlying mathematics, I'm at least confident that this is correct. It also contradicts my intuition which says that as the ant gets closer to the end, the rubber band stretching goes on mostly behind him and he should be able to make % increases in fewer minutes.

Anyway, here is my python script which never gets past 23% (I'm on minute 14803200000, or year 28,164): https://gist.github.com/1871474

There are definitely at least two different, shall we say classes of crawlers: The Googlebot and the Google Web Preview crawler. I don't know the extent of Googlebot's javascript parsing but the web preview crawler appears to parse javascript like plain webkit.

Here's a link where they show the UA for the Google Web Preview crawler: http://www.webmasterworld.com/search_engine_spiders/4353651....

I believe this crawler renders your pages for the preview snippets you get in search results when you hover over the arrow that appears on the right side of a result.

The previews I've seen would only look that way if javascript was being rendered and allowed to run for ~10-20s by my estimation--based on the progress of an animation that was previewed.

Re:Megaupload down, FBI Charges Seven With Online Piracy on Thursday January 19, 2012 @05:21PM (#3487117)
Sorry to split hairs but responding with a "we took down this content based on your takedown notice" and actually taking down the content are two different things.

I've had companies take down content after a DMCA notice but never inform me they have done so; there is no requirement for them to do so.

I assume you're referring to the latter meaning though--that they left up infringing content after receiving notice. If they did that then they're in deep. ...As long as the US has jurisdiction to prosecute, which they probably do.

Thanks, I didn't know about this website.

http://www.zone-h.org/archive/ip=174.121.79.144

They have a list showing 26 hosts on that IP that were defaced. Randomly checked four of them (which are fixed now), all WordPress. But then #5 looked like a static HTML site (http://outrightoriginal.com/), so I'm going to go with server compromise, not CMS compromise.

Re:Firefox and IE's "View source" can be spoofed to show anything on Thursday September 08, 2011 @02:30PM (#2975060)
I believe Chrome shows the original source because when you View Source, it requests the page again. This complicates debugging Ajax requests (and also Get and Post requests).

Firefox and IE show the "current" source, which is liable to be replaced as shown by dave1010uk.

Type the following into the Chrome Dev Tools console, then the Firebug console:

  testBool = true;
  document.write('');
  typeof testBool;
Chrome shows boolean, firefox shows undefined.
Will do!
I also will not be installing games on my phone that require access to my contact list.