?

Log in

Previous Entry | Next Entry

Verizon apparently needs better coders

Droid was in the tech news again this week after the troublesome autofocus on the camera suddenly started working like it should. There was a bit of concern that Verizon was pushing a silent update over the air for the phone without user consent. It turns out that that wasn't the case, but the reality of what happens is even more bizzare.

See what happened is, there is a rounding error in the autofocus routine. Ok, fine, but how did it magically fix itself for all phones on the same day? Well, it just so happens, that the autofocus routine uses information from the datestamp, and the rounding error occurs on a 24.5 day cycle. Yesterday just happened to be the start of a "works correctly" cycle.

Two questions arise here.
First, where the heck did the 24.5 number come in?
Second, and more importantly, why in the world would you write an autofocus routine that is linked in any way shape or form to what day it is?!?

Apparently a permanent fix is on the way, but I hope it involves beating the programer (programmers?) involved with writing this code over the head with a calander or something.

Comments

( 2 comments — Leave a comment )
msondo
Nov. 19th, 2009 01:28 am (UTC)
I was trying to wrap my head around this earlier. The date is being passed in as a timestamp which is likely seeding a randomizer. There exists a ton of math in photography software, but autofocus routines tend to be based on finite distances rather than random numbers. Very weird. :S And a really silly bug, imho.
big_bad_al
Dec. 10th, 2009 07:11 am (UTC)
24.5 days is roughly 0b1000000000000000000000 seconds, which is suggestive of... something.
( 2 comments — Leave a comment )

Profile

happy
krizoitz
krizoitz

Latest Month

October 2010
S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
31      
Powered by LiveJournal.com
Designed by Tiffany Chow