News for hackers. Stuff that matters.

nysauhem

Re:Groovy Array: it just keeps going...and going... on Monday November 29, 2010 @04:33PM (#1951868)
You could accomplish the same thing with a

public static Object[] createArray(Object... objects) { ... }

but doing it statically, hard-coded like this is faster. You leave it to the compiler to determine the length of the arguments, rather than having to count them at run-time.

The Google Guava library does something similar, but not to this extent, only up to 12 args http://guava-libraries.googlecode.com/svn-history/r12/trunk/...

Re:Google Gives All Employees 10% Raise on Tuesday November 09, 2010 @08:22PM (#1888778)
I think the real lesson is that in a company of 20,000 employees, nothing stays confidential for long...

Very irresponsible behavior from whoever leaked this. Here's hoping no Googlers get mugged for their bonus today

Re:Ask HN: What are you reading right now? on Wednesday November 03, 2010 @01:36PM (#1865628)
Nightfall and Other Stories, Isaac Asimov

My first foray into the world of sci-fi books, spurred on by my new Kindle. I have to say I'm impressed so far

Re:The Tax Haven That's Saving Google Billions on Thursday October 21, 2010 @10:35AM (#1815536)
"The setup lowers Google's overseas tax bill, but it also affects U.S. tax revenues as the government struggles to close a projected $1.4 trillion budget gap."

It's a ridiculous notion that any single corporation's tax contribution will put even the slightest dent in the budget deficit. Government spending is like gas in a vacuum, it will expand to fill whatever space you give it.

I think this statistic is neither surprising nor problematic. Would you really expect more than 36% of the workforce to be frequently deserving of recognition? The job of management is not to give lip-service praise to all their employees.
Re:Google Street View adds Antarctica, Brazil, Ireland on Thursday September 30, 2010 @01:45PM (#1744135)
When I saw this headline I was wondering how they managed to get pictures from Antarctica, but looking at Google Maps, it just looks like a geotagged photo-album
Re:Tell HN: Crunchbase searches are public on Wednesday September 29, 2010 @06:57PM (#1741497)
Which begs the question, if you search for a tree in an empty forest and nobody logs it, does it make a sound? (Lumberjack pun not intended)
Re:Lessons of the Chewbacca Incident on Tuesday September 28, 2010 @10:00AM (#1735683)
From the original, the darker bar is the average time spent on the site, while the lighter one is the average number of pages viewed.

Shame on boingboing for using a key-less graph.

Re:Google Labs - Breadcrumb on Friday September 24, 2010 @06:55PM (#1725710)
I could be wrong, but it looks like it's used to create mini-sites, so being able to use Javascript seems more like a feature than an xss vulnerability.
Re:Rate our startup: 42goals.com on Wednesday September 08, 2010 @12:35PM (#1672379)
I think the functionality is great, I especially like the data aggregation options that you provide.

That said, I think the design needs polish. This is nitpicky, but looking at the demo, there's no visual distinction between the time and the stopwatch types. Also, I'd suggest a more web-optimized font, Times New Roman looks, for lack of a better term, bleh

Re:Google Scribe - Get autocomplete suggestions as you type on Tuesday September 07, 2010 @02:53PM (#1669726)
On a desktop keyboard maybe, but I'd much prefer this method of input on a phone with a touch-screen keyboard
Re:Google Scribe - Get autocomplete suggestions as you type on Tuesday September 07, 2010 @02:52PM (#1669724)
I did this until it suggested "I'ma let you finish but Beyonce had one of the..."

I guess this particular phrase has been on the internet so much that it skews the machine learning algorithm.

This reminded me of a story I saw a while back about Google patenting a modular datacenter structure:

http://www.datacenterknowledge.com/archives/2010/06/18/googl...

I wonder how similar these designs are

Re:Google offices raided by Korean police on Tuesday August 10, 2010 @09:33AM (#1591379)
Agreed, but I wonder what kind of red tape you would need to go through to raid a data center instead (if there did happen to be a data center in Korea)
Re:Google misses deadline for L.A. city e-mail system on Monday July 26, 2010 @02:15PM (#1548788)
Does anybody have details on what security requirements remain to be met? I've always thought of Google as being pretty good with data security
Re:USB True Random Number Generator on Tuesday June 22, 2010 @06:28PM (#1453437)
It never says that it generates true random numbers, just a "better" random
Re:Latest HN traffic stats on Friday June 04, 2010 @02:01PM (#1405062)
It also looks like most people check HN at work on the weekdays, which is to be expected.
Re:More is less on Wednesday June 02, 2010 @02:53PM (#1398954)
"Generally, computer science is concerned with questions of computational complexity: Given a particular algorithm, you want to know whether a computer can execute it quickly, slowly or never."

Tsk tsk MIT for confusing computational complexity with analysis of algorithms. Or perhaps with sloppy use of the words "algorithm" and "execute", when "problem" and "solve" would be more accurate.

Re:Facebook Privacy Guide on Saturday May 08, 2010 @01:00PM (#1330477)
"You also always have control over who can see your Connections ------ on your profile." (Emphasis added)
Re: on Friday May 07, 2010 @05:18PM (#1328805)
I personally find this article misleading (ignoring the fact that it is criticizing a 9-month old change).

"No way to reconfigure this change."

Having the ability to change such a trivial setting would be terribly annoying. This type of "add a setting for that" thinking is probably what led to Facebook's privacy preferences.

"Top 10 mistakes in web design"

This article is quoted to support the reconfiguration point, but in fact the "mistake" that is mentioned is to disable the zoom-in and zoom-out of a browser (which DOES in fact work on Google's page) and not some sort of font-size preference.

"Violating Design Convention" "Inconsistent Marketing Message" "Branding Mistakes"

The only argument offered for these points is that the author simply does not like the new look, and that "people are now criticizing the design"

Re:Pregel: Large-scale graph computing at Google on Friday May 07, 2010 @12:55PM (#1328082)
I wonder if this can be considered an NP-complete oracle.
Re:Discovering Fractals: The Lorenz Attractor on Monday April 26, 2010 @08:45AM (#1294718)
This may be a silly question, but what is it about a Lorenz attractor that makes it a fractal? I can't imagine that it's self-similar, which I remember as being a necessary condition.
I'm playing around with the resume editing, which is pretty clean so far. I am wondering what the difference is between "project descriptions", "course or training information", and "job and project experience". It seems like you could combine the three and make the interface simpler.