News for hackers. Stuff that matters.

rtg

Re:I just got meta-copied on Wednesday August 31, 2011 @12:48AM (#2944372)
Curiously, even Apple wasn't able to make headway in fighting counterfeit products. [1]

"China's government declined to investigate a facility ... that was manufacturing imitation Apple laptops because it threatened local jobs ... A different arm of China's government scrapped plans for a raid on an electronics mall in the Guangdong province because it could have driven away shoppers, the cable says."

[1] http://www.macrumors.com/2011/08/30/apples-anti-counterfeiti...

Re:A writer leaves Microsoft Word on Sunday August 14, 2011 @10:34PM (#2885191)
F.lux is indispensable on Mac and PC (when I still had a PC.) Absolutely required if you code at all during evening/nighttime.

Unfortunately I couldn't get it to work* on my Ubuntu box and found another app, Redshift, that seems to jive better with Linux: http://jonls.dk/redshift/

-----

* Ran without errors, but didn't tint my screen. I chalked it up to oddities of video card drivers on Linux.

Re:The quick website launch checklist on Sunday August 14, 2011 @05:24PM (#2884492)
Would you mind sharing how you set this up? That would actually make a great blog post.

Ask HN: Have you tried a snail-mail-to-web (virtual mailbox) service?

Dear HN: I'm a hacker currently based in California. I'm looking to take on the on-the-road lifestyle -- travel to Asia, and hopefully try to support myself by building iPhone and Mac apps. I'd like to have a place to receive occasional snail mail while on the road.Googling a bit reveals some services that will accept your mail via their PO Box, and show scans online, for something like $20 per...

( Read More... | 2 comments | 5 points | on HN )
Re:Java 7 is now available on Thursday July 28, 2011 @06:08PM (#2819177)
If you use the Google library [1], this becomes a bit more convenient that the built-in Java way:

   List<String> people = ImmutableList.of("Frank", "Mary", "Bob");
There's also ImmutableSet and many other goodies, to say the least. For instantiation of these generic types, you can do:

   List<String> people = Lists.newArrayList(); 
   Map<String,Integer> scores = Maps.newHashMap();
and so on.

[1] http://code.google.com/p/guava-libraries/