News for hackers. Stuff that matters.
Re:GoPro cutting 7 percent of its workforce by toomanybeersies on Wednesday January 13, 2016 @10:08PM (#10899378)
I'm not sure how you'd have a firmware cap of 9999, sounds like exceptionally poor programming to me.
Re:GoPro cutting 7 percent of its workforce by kyllo on Wednesday January 13, 2016 @10:16PM (#10899398)
Yeah you would at least expect it to be a power of 2 (minus one)
Re:GoPro cutting 7 percent of its workforce by Kliment on Thursday January 14, 2016 @01:04AM (#10899900)
The most common cause of 10^n-1 limits is auto-incrementing filenames like img0001.
Re:GoPro cutting 7 percent of its workforce by greggman on Thursday January 14, 2016 @03:42AM (#10900224)
Actually it's a common error. Some buffer is 4 bytes for digits and overflows when 5 are written when the counter goes to 10000
Re:GoPro cutting 7 percent of its workforce by toomanybeersies on Thursday January 14, 2016 @03:39PM (#10904291)
Wouldn't you use modulo 10000 and then avoid that error?

Sure, you might overwrite some files, but at least you wouldn't brick the thing.

Re:GoPro cutting 7 percent of its workforce by kyllo on Thursday January 14, 2016 @10:13AM (#10901829)
Come to think of it, I just saw this on a lottery machine last night. Powerball jackpot display was stuck at 999 million.