Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
06-07-2021, 01:38 PM   #16
Veteran Member
Kobayashi.K's Avatar

Join Date: Mar 2013
Photos: Albums
Posts: 716
QuoteOriginally posted by biz-engineer Quote
Can be seemingly random when the cause-effect relationships aren't known. Once underlying variable is known as a cause, all of the sudden , what seemed to be unpredictable becomes predictable, not random anymore.
That is very true. I have studied this random thing as a sort of hobby because I wanted to know if you can create a true random process in software. But doing so I came to the conclusion that it is plausible that 'random' actually doesn't exist, and that we are only calling a process random because it is too complicated to find out its deterministic properties.

06-07-2021, 02:46 PM   #17
Pentaxian
reh321's Avatar

Join Date: Nov 2014
Location: South Bend, IN, USA
Photos: Gallery | Albums
Posts: 23,175
QuoteOriginally posted by Kobayashi.K Quote
That is very true. I have studied this random thing as a sort of hobby because I wanted to know if you can create a true random process in software. But doing so I came to the conclusion that it is plausible that 'random' actually doesn't exist, and that we are only calling a process random because it is too complicated to find out its deterministic properties.
I took a course in “Modeling and Simulation”, where you begin by studying random number generators, as a Grad Student, then later taught a course in the material at the Undergrduate college level.

Actually, the good generators are fairly simple, but they still meet certain standards.
06-07-2021, 03:39 PM   #18
Veteran Member
Kobayashi.K's Avatar

Join Date: Mar 2013
Photos: Albums
Posts: 716
I wonder if the firmware update is also for the random freezes of the camera as some users reported, hidden in
'Improved stability for general performance'.
06-07-2021, 06:47 PM   #19
Senior Member




Join Date: Jul 2017
Photos: Gallery
Posts: 280
Getting back to the original topic, I did actually get an error message writing to the SD card yesterday. I was just taking some test shots and hit the review button quickly. I got one message that the card could not be accessed followed by a message that a new folder could not be created. I was not writing to both cards simultaneously, I was set up for Raw + JPG writing to the cards sequentially. I had to power down to clear the error but the camera and card were fine. I didn’t lose any pictures.

I was using a pair of new 32 GB Sandisk UHS-II Extreme Pro cards. (I didn’t check them for errors before using them. Sometimes I do but I don’t have the scanning software on my new computer.) I only got the error that one time.

06-07-2021, 06:51 PM   #20
Pentaxian
reh321's Avatar

Join Date: Nov 2014
Location: South Bend, IN, USA
Photos: Gallery | Albums
Posts: 23,175
QuoteOriginally posted by Kobayashi.K Quote
I wonder if the firmware update is also for the random freezes of the camera as some users reported, hidden in
'Improved stability for general performance'.
It is entirely possible that the engineers found paths though the code that either ‘go nowhere’ or go in circles as they investigated reports of strange behavior.
06-07-2021, 09:18 PM   #21
Pentaxian




Join Date: Feb 2015
Photos: Gallery
Posts: 12,223
QuoteOriginally posted by Kobayashi.K Quote
I wonder if the firmware update is also for the random freezes of the camera as some users reported, hidden in'Improved stability for general performance'.
Problem of testing is as systems get more complex, testing efforts increase exponentially (or so). For some systems, it is practically impossible to achieve 100% faults coverage (there is this notion of NP hard problems, https://en.wikipedia.org/wiki/NP-hardness).
06-08-2021, 02:16 AM   #22
Site Supporter
Site Supporter
jersey's Avatar

Join Date: Jun 2017
Location: 3City agglomeration
Photos: Gallery | Albums
Posts: 2,054
QuoteOriginally posted by Kobayashi.K Quote
In physics an event is random or it is not random. There is no state between those two possibilities. So, as I explained a 'preventable random system glitch' is a contradictio in terminis. I think we are too much accustomed to 'random' processes (in software) that are artificially created and actually semi-random. It is not possible to create a true random process with software. True random signal generators are always using a physical process, for example thermal activity from ions, or particles that are emitted from a radioactive material.

Going back to the subject, a matter of more concern is the reliability of the new firmware itself, because in the past it has often happened that within one or two days Pentax published yet another update to compensate for new errors. So that is a valid reason to delay installing the new firmware.
In programing there are no truly random things. Everything is just a result of code being processed. Stuff may look random to customer, but that's it. So in terms of software there may be preventable random.

As for the update and fear of it I kinda understand it, in complex code each fix usually breaks two other things but in most cases those new errors are more and more "random" and require less and less possible variables. I know, I do it all the time for the money Me, being the programist I would rather update to fix common errors and risk less possible ones then not upgrade and stay with commonly occurring errors.

06-08-2021, 06:16 AM   #23
Pentaxian
reh321's Avatar

Join Date: Nov 2014
Location: South Bend, IN, USA
Photos: Gallery | Albums
Posts: 23,175
QuoteOriginally posted by biz-engineer Quote
Problem of testing is as systems get more complex, testing efforts increase exponentially (or so). For some systems, it is practically impossible to achieve 100% faults coverage (there is this notion of NP hard problems.
Modern testing attempts to test every path through the code.
“NP” is irrelevant here because it refers to automata, and testing is done by humans.
06-08-2021, 06:21 AM   #24
Pentaxian
reh321's Avatar

Join Date: Nov 2014
Location: South Bend, IN, USA
Photos: Gallery | Albums
Posts: 23,175
QuoteOriginally posted by jersey Quote
In programing there are no truly random things. Everything is just a result of code being processed. Stuff may look random to customer, but that's it. So in terms of software there may be preventable random.

As for the update and fear of it I kinda understand it, in complex code each fix usually breaks two other things but in most cases those new errors are more and more "random" and require less and less possible variables. I know, I do it all the time for the money
Recursive Regression testing” helps because it insures that those things which worked correctly before the upgrade still work correctly after the upgrade.

Last edited by reh321; 06-08-2021 at 12:18 PM.
06-08-2021, 11:34 AM   #25
Veteran Member
Painter's Avatar

Join Date: Jun 2008
Location: Canada
Photos: Gallery
Posts: 348
QuoteOriginally posted by Wheatfield Quote
There's nothing like being controlled by fear.
Good grief I’m not afraid of updating my camera but if Pentax is churning out firmware updates every two weeks I think I can wait until they fix something of import.

In my job we do firmware and microcode updates on network gear all the time. No one expects things to go wrong but they still do.
06-08-2021, 11:53 AM   #26
Pentaxian




Join Date: Apr 2007
Location: Romania
Posts: 15,132
QuoteOriginally posted by reh321 Quote
“Recursive testing” helps because it insures that those things which worked correctly before the upgrade still work correctly after the upgrade.
Regression testing.
06-08-2021, 12:29 PM   #27
Pentaxian
reh321's Avatar

Join Date: Nov 2014
Location: South Bend, IN, USA
Photos: Gallery | Albums
Posts: 23,175
QuoteOriginally posted by Kunzite Quote
You're going too far - people usually don't mean that when they say random. They usually means "it doesn't always happen, and I didn't see an extremely obvious pattern".
OTOH, I'd say that a 'glitch' involving a cryptographic strength pseudo-random number generator would do the trick (can you differentiate from it and true randomness?). Been there, done that. The behavior was completely deterministic, the trigger was for all practical purposes random.
As I said in the comment which precipitated this comment, I have personally created errors which seemed ‘random’ to users, but made sense when I figured out how they got there. A common cause is a mistake in memory management - for example releasing memory in one module that is in use in another one. Modern languages {such as ‘Java’} make such mistakes unusual, but such errors do occur in older ones such as ‘c’; I don’t know what language the K-3iii firmware is developed in.
06-09-2021, 03:52 AM   #28
Pentaxian




Join Date: Feb 2015
Photos: Gallery
Posts: 12,223
QuoteOriginally posted by reh321 Quote
Modern testing attempts to test every path through the code.“NP” is irrelevant here because it refers to automata, and testing is done by humans.
One testing approach for non-life-critical devices consists of only testing what's possibly used by customer. Software can have for faults in it, as long as those faults don't show-up in real life use.
06-09-2021, 05:22 AM   #29
Pentaxian




Join Date: Apr 2007
Location: Romania
Posts: 15,132
QuoteOriginally posted by reh321 Quote
As I said in the comment which precipitated this comment, I have personally created errors which seemed ‘random’ to users, but made sense when I figured out how they got there. A common cause is a mistake in memory management - for example releasing memory in one module that is in use in another one. Modern languages {such as ‘Java’} make such mistakes unusual, but such errors do occur in older ones such as ‘c’; I don’t know what language the K-3iii firmware is developed in.
Clearly not Java, as it's fast
They're using C or C++, or a combination of both (maybe some assembly as well).
06-09-2021, 05:36 AM   #30
Pentaxian
reh321's Avatar

Join Date: Nov 2014
Location: South Bend, IN, USA
Photos: Gallery | Albums
Posts: 23,175
QuoteOriginally posted by Kunzite Quote
Clearly not Java, as it's fast
They're using C or C++, or a combination of both (maybe some assembly as well).
All three have control of memory used {by the code} issues that could appear “randomly”, but an engineer can find by carefully examining the code.
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!
firmware, iii firmware v1.02, k-3 mark iii, mark iii firmware, pentax news, pentax rumors
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
K-3 BULB MODE issues on Firmware V1.11 V1.20 V1.40 gedasst Pentax K-3 & K-3 II 8 01-16-2019 02:04 AM
[URGENT] is Firmware V1.02 necessary from V1 for k-50? Any major help? Hexism Pentax K-30 & K-50 9 12-20-2014 08:51 PM
Firmware v1.03 now available Rob22315 Pentax K-01 26 05-04-2013 06:11 AM
New firmware: v1.13 for K-5/645D, v.1.12 for K-7/K-r, v1.03 for K-x Adam Pentax News and Rumors 71 05-15-2012 01:42 PM
Comparison of K-5 low light focus accuracy with v1.01 and v1.03 of firmware tram57 Pentax K-5 & K-5 II 3 03-20-2011 08:13 PM



All times are GMT -7. The time now is 01:49 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