Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
04-26-2009, 04:33 AM   #31
Veteran Member




Join Date: May 2007
Location: Somerset, UK
Photos: Gallery
Posts: 619
Anyway that photo is not of the K-7 fact, it's a k20d

04-26-2009, 04:38 AM   #32
Senior Member




Join Date: Apr 2008
Location: Barcelona, Spain
Posts: 264
I agree... obviously there is no official K-7 picture they can show, so the easy way was using a K20D photo.
04-26-2009, 04:47 AM   #33
Veteran Member




Join Date: May 2007
Location: Somerset, UK
Photos: Gallery
Posts: 619
It's more a confirmation it's coming, Pentax must be pretty chuffed with this camera and quite understandably from what I'm looking at..
04-26-2009, 05:22 AM   #34
Inactive Account




Join Date: Apr 2009
Posts: 4
The picture is not of a k20D. Probarbly k10d
Itīs the same photo as Pentax used for their product catalouge 2008 though so im pretty sure itīs not another announcement.

04-26-2009, 07:39 AM   #35
Inactive Account




Join Date: Apr 2009
Location: Finland
Posts: 3
QuoteOriginally posted by RBellavance Quote
Except months are numbered 0-11 in most programming languages. So that date is really means *june* 19th, hence the 54 days remaining.
Ah yes, you are correct. I should have checked the flash documentation before jumping to conclution: Date (ActionScript 3.0). PHP language which I'm most familiar with uses the 1-12 format.
So no glitch... that must mean it's the sale date as cooldude14es suggested.
04-26-2009, 08:39 AM   #36
Veteran Member
mattdm's Avatar

Join Date: Feb 2007
Location: Boston, MA
Photos: Gallery
Posts: 2,948
QuoteOriginally posted by Toni Quote
Ah yes, you are correct. I should have checked the flash documentation before jumping to conclution: Date (ActionScript 3.0). PHP language which I'm most familiar with uses the 1-12 format.
So no glitch... that must mean it's the sale date as cooldude14es suggested.
Don't discount the possibility of an embarrassing programing error.
04-26-2009, 01:38 PM   #37
Veteran Member




Join Date: Sep 2006
Location: Netherlands
Photos: Gallery
Posts: 908
Original Poster
QuoteOriginally posted by dopeytree Quote
Anyway that photo is not of the K-7 fact, it's a k20d
Could as well be a K10D, so why not a Kx0D????

And all these specualtions about a possible release date...
That woudl be plain silly, you can only do that if you guarantee that date, and to all stores...
I remember K20D, it was announced, it became available and then... I had to wait eons before i could get it...

04-26-2009, 01:45 PM   #38
Veteran Member




Join Date: May 2007
Location: Somerset, UK
Photos: Gallery
Posts: 619
QuoteOriginally posted by janneman Quote
Could as well be a K10D, so why not a Kx0D????

And all these specualtions about a possible release date...
That woudl be plain silly, you can only do that if you guarantee that date, and to all stores...
I remember K20D, it was announced, it became available and then... I had to wait eons before i could get it...
Ah I should have put Its not a K-7 fact as I have seen one! It does however look like a k20d (im guessing they'd use that over a k10d as it's newer)
04-26-2009, 03:27 PM   #39
Veteran Member
falconeye's Avatar

Join Date: Jan 2008
Location: Munich, Alps, Germany
Photos: Gallery
Posts: 6,871
QuoteOriginally posted by cooldude14es Quote
Come on, system programmers!! You should come to an agreement...
Web programmers aren't system programmers. Quite different leagues and income classes ...
QuoteOriginally posted by mattdm Quote
Don't discount the possibility of an embarrassing programing error.
This is a frequent error in JavaScript and Actionscript. Everybody using the function did already make the mistake -- months start at 0, days start at 1
Responsible programmers check for correctness, though
04-26-2009, 04:03 PM   #40
Site Supporter
Site Supporter
ManuH's Avatar

Join Date: Dec 2007
Location: Montreal
Photos: Gallery | Albums
Posts: 1,249
QuoteOriginally posted by falconeye Quote
This is a frequent error in JavaScript and Actionscript. Everybody using the function did already make the mistake -- months start at 0, days start at 1
Responsible programmers check for correctness, though
The "off by one" is probably one of the most classic programming mistake. That said, what were thinking the designers of these programming languages to make a month starts at 0?
04-26-2009, 05:06 PM   #41
Veteran Member
falconeye's Avatar

Join Date: Jan 2008
Location: Munich, Alps, Germany
Photos: Gallery
Posts: 6,871
QuoteOriginally posted by ManuH Quote
The "off by one" is probably one of the most classic programming mistake. That said, what were thinking the designers of these programming languages to make a month starts at 0?
It isn't an off by one error. It is an awkward API functon.

It isn't a flaw in the language, it is in this particular built-in API object named "Date()".

Having counters start at zero is best practice to avoid real "off by one errors".

Here, it is just that the API is inconsistent and is asking for trouble -- here for a wrong countdown for end of Pentax K-7 embargo
04-26-2009, 06:51 PM   #42
Veteran Member
mattdm's Avatar

Join Date: Feb 2007
Location: Boston, MA
Photos: Gallery
Posts: 2,948
QuoteOriginally posted by ManuH Quote
The "off by one" is probably one of the most classic programming mistake. That said, what were thinking the designers of these programming languages to make a month starts at 0?
It comes from the standard Unix/C ctime(3) function call. And who knows where that got its inspiration — it surely dates back to 1960s at the latest.

Not that this helps anything, but like many things that don't make much sense, it probably seemed like a good idea at the time.
04-26-2009, 08:30 PM   #43
Forum Member




Join Date: Mar 2009
Location: Toronto
Posts: 59
QuoteOriginally posted by RBellavance Quote
Except months are numbered 0-11 in most programming languages. So that date is really means *june* 19th, hence the 54 days remaining.
Right - so the programmer made a coding error assuming that 5 referred to May. This is the most sensible explanation so far.
04-27-2009, 01:18 AM   #44
Senior Member




Join Date: Apr 2008
Location: Barcelona, Spain
Posts: 264
Well, I checked again the spanish Pentax site for the countdown and it has been modified:

22days, 13hours, etc... so that bring us to May 20th...
04-27-2009, 01:25 AM   #45
Inactive Account




Join Date: Apr 2009
Location: Mississippi
Posts: 184
Good detective work, peeps. Embarassing programming error, indeed.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
announcement, days, k20d, mistake, model, pentax news, pentax rumors

Similar Threads
Thread Thread Starter Forum Replies Last Post
K-7 Pricing since K-5 announcement SkagitFly Pentax Price Watch 7 01-14-2011 10:29 AM
Who is becoming nervous after the K5 vs. the D7000 announcement? jpzk Pentax News and Rumors 141 09-20-2010 07:04 AM
News An announcement from Adorama Adam Site Suggestions and Help 8 03-22-2010 07:09 PM
global announcement Nass Site Suggestions and Help 9 09-19-2009 11:23 AM
A happy announcement Damn Brit General Talk 73 03-11-2009 12:19 PM



All times are GMT -7. The time now is 08:31 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top