News for hackers. Stuff that matters.

ponzi

Re:MusicForProgramming(); on Monday February 06, 2012 @03:01PM (#3558934)
I liked your playlist. Thanks!
Re:FizzBuzz without multiplication or division on Monday May 02, 2011 @02:53AM (#2505475)
Are those really equivalent? What if ix == 15?

It would work with a 2,8-fizzbuzz, though.

Re:Nokia Plan B on Tuesday February 15, 2011 @06:18AM (#2220849)
While that is certainly true, MeeGo is much more of a linux system than android is, and has great potential to attract hackers. The same tools and libraries can be used to develop for MeeGo, as is used in any (desktop) linux distribution. My point is, there is a lot of developers out there that already know how to develop for MeeGo. Not a proprietary but only very lightly platform specific tool chain is needed.
Re:Nokia CEO: Nokia is "standing on a burning platform" on Wednesday February 09, 2011 @05:57AM (#2197063)
At least in the US they'd be free to fire the dead weight. The laws in Finland are made to protect the workers, and a previously fired employee must be considered before hiring somebody new. This might be a reason why Nokia have so many external contract workers.
Re:Efficient C Tip – use the modulus (%) operator with caution on Wednesday February 09, 2011 @04:18AM (#2196903)
> I'd say most of this stuff is written for people who wouldn't really learn much from a disassembly.

Even so, I find that a lot of the advice is misleading. As mentioned elsewhere, the reason modulus is slow is not that you can write it three arithmetic operations, but because division is slow. And especiall any kind of 32bit arithmetic on 8bit and 16bit processors. Even though he used narrower integer types, he did not explain why that was better.