News for hackers. Stuff that matters.

ambiguity

Re:Regexp-based RFC822 email address validation on Friday November 16, 2012 @12:04PM (#4794659)
You are missing a * just before the $.
Re:The new Pandora: Slick new HTML5 design on Tuesday July 12, 2011 @11:36AM (#2755098)
Since Firefox does not support MP3 or AAC, and IE/Safari do not support OGG they would have to do it in Flash unless they are transcoding server side or only supporting certain browsers.
Re:PSN has been hacked again on Wednesday May 18, 2011 @12:17PM (#2560631)
If it is your credit card information, you would seem to be the victim. In that case Sony is playing the role similar to the US government and is only offering you a shirt instead of a bullet proof vest.

The original analogy though is only accurate depending on where this is taking place. A person living in the suburbs would seem silly for wearing a bullet proof vest. A person walking into a war zone without a vest is an idiot. The question is, which of the two locations best describes the internet.

Re:San Francisco Set to Ban Unsolicited Phone Books on Monday May 16, 2011 @10:31PM (#2555058)
Apparently you can opt out at: http://yellowpagesoptout.com/ If enough people do so then it would achieve the same thing.
Re:Netflix for select Android devices now available on Thursday May 12, 2011 @09:12PM (#2543077)
Doubtful since Netflix already runs on several Linux devices, most notably the Roku, the Boxee Box and the WD Live TV. Just like with android devices it all comes down to built DRM which regular Linux distributions will not support.
Re:Readable: A more readable version of "readability" on Sunday May 08, 2011 @02:27PM (#2526433)
It does make it nice that I can share links to the "readable" version with other people.
Re:The Last Post on Wednesday May 04, 2011 @05:42PM (#2515418)
Re:Where to Live to Avoid a Natural Disaster on Saturday April 30, 2011 @06:31PM (#2501749)
From what I remember, if the volcano at Yellowstone does erupt, pretty much everyone will be screwed.
Re:Amazon’s $23,698,655.93 book about flies on Friday April 22, 2011 @09:57PM (#2476051)
Amazon should put an upper bound on the maximum price a product can be. Can credit card companies even process a transaction in the tens of millions of dollars?
Re:HTTPSNow on Friday April 22, 2011 @08:48PM (#2475939)
They should redesign the header so that the site title looks like an actual header instead of a large text box. I spent a while trying to click on it to enter in my own site to check.
Re:Gawker's Traffic Numbers Are Worse Than Anyone Anticipated on Wednesday April 20, 2011 @08:26PM (#2468988)
Ever since the redesign their sites are almost unusable on my machine. When will sites realize that floating part of the page so that only part of it scrolls not only leads to lag but also makes for a visually confusing user experience. Slashdot did this exact thing with their header when they redesigned their site several months ago, luckily they have since switched to a fixed header.

Not only that, but I seem to get a 2px gray line that fills the width of the page and scrolls with the content. Ever since the redesign, every time I stumble upon one of their pages I click the back button.

But if that was not enough, they traded a system where each site had its own look and feel for one where every site looks exactly the same (except for a small logo in the header).

ub.com and pokerstars.com both resolve to their original servers (77.87.179.116 & 66.212.231.205) using either Google's DNS servers (8.8.8.8) or Level3's (4.2.2.1, 4.2.2.2)
Re:Ubuntu Unity usability testing results and analysis on Thursday April 14, 2011 @11:53PM (#2449382)
It would have been nice to have a test group that used the classic Gnome 2 desktop. This would give the Unity scores a bit more context.
Re:Name.com: Another Unscrupulous Registrar on Wednesday April 13, 2011 @06:28PM (#2444523)
The nonstandard part seems to be that the owner of the site ends up being responsible for any of the ads that show up on the parked page. So if I were to register kidsexchange.com and forgot about I would be liable for any ads being shown there containing child pornography.
Re:Stop Google's Exploitation of Open Communities on Monday April 11, 2011 @09:22PM (#2435362)
They are only copying the idea of a crowdsourced map.
Re:Stop Google's Exploitation of Open Communities on Monday April 11, 2011 @08:44PM (#2435230)
I believe 'ff' was referring to FriendFeed not FireFox.
Re:Stop Google's Exploitation of Open Communities on Monday April 11, 2011 @08:36PM (#2435201)
Arguing that Google stole the idea of 'Mapping Parties' seems a bit silly. Claiming that OSM invented the idea of 'Mapping Parties' is even more ridiculous than claiming that Apple invented the term 'App Store'.

The argument that MapMaker is harmful to open source efforts has a bit more merit. With MapMaker users contribute mapping information for free without the ability to actually make use of that data later on. OpenStreetMaps on the other hand provides a Creative Commons license for all of the map data.

That reminds me of the guy who tried to become the ultimate shopper by mailing people a copy of the UPC from his Safeway discount card with the intention that they would stick it over their UPC code. http://www.cockeyed.com/pranks/safeway/ultimate_shopper.html
Re:The One-second War (What Time Will You Die?) on Thursday April 07, 2011 @03:38AM (#2418594)
Java fail.

Here is a link to the PDF version: http://portal.acm.org/ft_gateway.cfm?id=1967009&type=pdf...

Re:GNOME 3 Released on Wednesday April 06, 2011 @08:25PM (#2417657)
At least a third of the people on Hacker News. http://news.ycombinator.com/item?id=2303726.
"Your only bottleneck in a web app should be: the databases, the workers. There are no excuses for the page generation to be slow. In the web speed is scalability because every web server is conceptually a parallel computation unit. So if the web page generation takes 10 ms instead of 100 ms I can server everything with just 10% of the hardware."

If the database is the bottleneck then the speed of web page matters much less. A page with a single 50 ms query will take %40 of the hardware (60 ms versus 150 ms).

This is even much less of an issue if you take into account how long it took for his test. PHP served 1500 requests per second vs Ruby's 250 requests per second which is equal to 0.7 ms per page and 4 ms per page. Assuming again you have a single 50 ms database query you are looking at 50.7 ms vs 54 ms which means you will need ~94% as much hardware. This is assuming that the database and webserver are on the same machine.

If one puts them on separate machines then the time of execution does not matter as long as the time it takes to query the database is less than the time it takes to render the page. Now this is bad in terms of page load as 50 ms + 49ms for page rendering is much more than 50 ms + 0.1 ms but in both cases you will be able to serve the same number of requests per second. This of course assumes that this is running in a multi threaded environment which allows one thread to sleep and other threads to start while waiting for a response from the database.

Re:PyCon Video Archive on Monday March 14, 2011 @01:05AM (#2321375)
Personally I find it easier to pair their rss feed (http://pycon.blip.tv/rss) with Miro that way I can view the summaries without having to click though. My laptop is so old that the flash player stutters and their html5 player is just awful. Miro does full screen effortlessly.
Re:JavaScript Getters/Setters Considered Harmful on Monday March 07, 2011 @11:23AM (#2297587)
Someone reported this to Bugzilla back in January. https://bugzilla.mozilla.org/show_bug.cgi?id=626021