Zune Thoughts

Zune Thoughts.com

Thanks for visiting Zune Thoughts - be sure to register in our forums!


Laptop Thoughts

Loading feed...

Windows Phone Thoughts

Loading feed...

Digital Home Thoughts

Loading feed...




Go Back   Thoughts Media Forums > ZUNE THOUGHTS > Zune Talk

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-01-2009, 08:47 PM
Editor Emeritus
Janak Parekh's Avatar
Join Date: Aug 2006
Posts: 15,171

Cause of Zune 30 leapyear problem ISOLATED! - Zune Boards

The problem occurs if days == 366 and IsLeapYear(year) is true.

Does Microsoft unittest this code?

--janak
 
Reply With Quote
  #12 (permalink)  
Old 01-01-2009, 11:21 PM
Editor Emeritus
Rocco Augusto's Avatar
Join Date: Aug 2006
Posts: 2,432

You want to know what annoys me the most about this situation? The Zune has a darn internal clock! Why can't we get that clock on the homescreen!?!?!?

I kid of course and my Zune is working again though my screen is still broken
__________________
Follow me on Twitter - @therocco
 
Reply With Quote
  #13 (permalink)  
Old 01-02-2009, 07:07 PM
Executive Editor
Jason Dunn's Avatar
Join Date: Aug 2006
Posts: 29,135

Quote:
Originally Posted by Rocco Augusto View Post
Why can't we get that clock on the homescreen!?!?!?
You know that you can now, right? Just go into the options and turn it on.
__________________
Want to contact me personally? Use this. Want to read my personal blog? Check it out. Want to follow me on Twitter? Here you go.
 
Reply With Quote
  #14 (permalink)  
Old 01-02-2009, 07:35 PM
Neophyte
Join Date: Jan 2009
Posts: 1

Quote:
Originally Posted by Chris Gohlke View Post
Confirmed, mine works fine this morning. Leap year testing is one of those obvious things you test for any time you have a date calculation, so it seems VERY sloppy for them to have missed it.

right. i'm sure you would have thought of this. C'mon people give the zune team a break. Nobody would have thought of this. Now they know to test for this sort of thing in the future. Like it's been said the 30's have only been out for a few years.
 
Reply With Quote
  #15 (permalink)  
Old 01-02-2009, 08:36 PM
Contributing Editor Emeritus
David Tucker's Avatar
Join Date: Sep 2006
Posts: 1,052
Send a message via ICQ to David Tucker Send a message via AIM to David Tucker Send a message via MSN to David Tucker Send a message via Yahoo to David Tucker

Yeah, I would have (or at the very least ensure that its in the test scripts) If I missed something like this on some of the systems I work on we could have delays which means money. I expect proffessionals to do their job correctly. Doctors can't afford to make 'little' mistakes. Lawyers can't. Not the good ones. Same rules.
 
Reply With Quote
  #16 (permalink)  
Old 01-02-2009, 09:53 PM
Editor Emeritus
Janak Parekh's Avatar
Join Date: Aug 2006
Posts: 15,171

Quote:
Originally Posted by twinkyman90 View Post
right. i'm sure you would have thought of this. C'mon people give the zune team a break. Nobody would have thought of this. Now they know to test for this sort of thing in the future. Like it's been said the 30's have only been out for a few years.
Sorry, I agree with David on this one. Where I work, code like this would absolutely be extensively tested. Date handling in particular is an area traditionally rife with problems. If you look at the link I posted, it's an elementary infinite loop problem. Good unittesting practices emphasize testing loop and conditionals to make sure all code paths work.

I've heard MS is good on testing in general, so all I can guess is that this slipped through the cracks. But I don't think even Microsoft would excuse themselves on this one.

--janak
 
Reply With Quote
  #17 (permalink)  
Old 01-03-2009, 12:22 AM
Contributing Editor Emeritus
Chris Gohlke's Avatar
Join Date: Aug 2006
Posts: 2,289

Quote:
Originally Posted by twinkyman90 View Post
right. i'm sure you would have thought of this. C'mon people give the zune team a break. Nobody would have thought of this. Now they know to test for this sort of thing in the future. Like it's been said the 30's have only been out for a few years.
Yes I would have. I can surely understand that someone not in the computer industry might not think it is obvious. But if you are at all involved in programming/testing, it is standard practice to test for leap years when you have any date related calculations.
 
Reply With Quote
  #18 (permalink)  
Old 01-03-2009, 04:02 AM
Editor Emeritus
Rocco Augusto's Avatar
Join Date: Aug 2006
Posts: 2,432

Quote:
Originally Posted by Jason Dunn View Post
You know that you can now, right? Just go into the options and turn it on.
Really? I pick the worst time ever to break my screen. Now I can't even utilize the one feature I wanted
__________________
Follow me on Twitter - @therocco
 
Reply With Quote
  #19 (permalink)  
Old 01-03-2009, 01:32 PM
Contributing Editor Emeritus
Ed Hansberry's Avatar
Join Date: Aug 2006
Posts: 8,228

Seems the Toshiba Gigabeat had the same problem. http://www.engadget.com/2009/01/03/y...freescale-bug/

I wasn't aware the Zune was base, partially at least, on the PMC.
__________________
text sig
 
Reply With Quote
  #20 (permalink)  
Old 01-03-2009, 03:18 PM
Contributing Editor Emeritus
Chris Gohlke's Avatar
Join Date: Aug 2006
Posts: 2,289

And here is an article looking at the code block itself and provides an analysis showing exactly where the infinite loop occurs on the date check. http://www.toddhpoole.com/2009/01/02...s-zune-freeze/
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forums.thoughtsmedia.com/f5/zune-30s-will-de-brick-themselves-january-1st-2009-a-91962.html
Posted By For Type Date
Jason's Tiki-Lounge - Windows Live This thread Refback 01-06-2009 05:20 AM


All times are GMT +1. The time now is 08:28 PM.



Search Engine Friendly URLs by vBSEO 3.6.0