11-05-2009 11:48 AM
PJS wrote:Ben,
Isn't there a website that collects old versions of pages on the web? I don't remember that name of it, nor have time to research today, but maybe there is an archived version there?
-p
I never heard of that before your post. I did read a post by Macahel (?) saying they managed to put most of the non-Lounge post back togtehr by usings someones off-line backups. I believe he also said that they go back and find stuff if necessary.
But I can almost summarize that thread.
I put forth the idea that the the Queued SM (the version that uses a stack of states that need to execute and in what order) was a throw back to when we had to code using a stack and prevented task that could execute in parallel to wait in line.
Most of the other replies were along the lines of "how could you say such a thing?", "I swear by it", and "I would not code without it." ...
In a thread from earlier this week we touched on that idea again and this time I was suprised that my "The emporer has no clothes" comments did not make me feel like I was a "voice crying in the wilderness".
It is like many other things in programming, were the comfort of the developer plays a big role in how things are implemented. In my case I love brining up the task manager and seeing all of my CPU contributing to the work.
Ben
11-05-2009 12:03 PM - edited 11-05-2009 12:05 PM
I tend to agree with the lava article, although my reasons differ a bit. I seperated the GUI for one simple reason, Windows, to date, does not allow for a single workspace for multiple users. IT departments are getting more restrictive, and as such, require a user to log off a terminal when done. They are not allowing us to use 'common' user names as passwords. By having the test engine as a service that is launched as a system activitiy, the GUI 'plugs-in' to display the data regardless of which user is logged in. Thus avoiding issues with applications closing after a forced logout.
But at the core, the basic question of whether to use one, or more than one loop in a program really depends on what the programmer is doing. I have several of the Queued State Machines (QSMs) that are running as sub-vis, and as such are given to handling medium level tasks where decisions and order of execution play a part, but they never rely or include an event structure to operate.... Check that... I have one that reads data from a RS-232 port that is event driven, in that it waits (till timeout) for a set number of bytes at the serial port (event callback) before executing.
Of course many people smarter than I could hash these arguements out for a long time. My advice, be aware of different programming architectures and use what makes sense.
11-05-2009 12:07 PM
11-05-2009 12:07 PM
PJS wrote:I tend to agree with the lava article, although my reasons differ a bit....
Kudos for voicing another view point!
Ben
11-05-2009 12:24 PM
Correction. Those posts are still there. They aren't lost. They are just not assigned to your username. You can do a focused Google search by adding site:lavag.org after your search terms.
Ben wrote:That thread (along with about 500 of my posts ) were lost in the LAVA crash of 2009.
Ben
11-05-2009 12:34 PM
Thank you Michael!
That indeed worked. THe the Thread in question can be found here Is the day of the "Queued State machine" behind us?
Ben
11-05-2009 12:48 PM
Thanks!
Learn something new everyday