Freethought & Rationalism ArchiveThe archives are read only. |
07-15-2003, 06:52 PM | #121 | |
Veteran Member
Join Date: Jan 2001
Location: USA
Posts: 1,072
|
Re: Re: Re: Re: Re: if you were boss
DNAunion: Principia flubbed it BOTH ways!
Quote:
Code:
The code : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>GREETINGs by Sophie </title> <link type="text/css" rel="stylesheet" href="http://www.notrich.org/GREETING/greeting.css"> <script language="JavaScript1.2"> var PLANPic = new Array() ; PLANPic[0] = 'http://www.notrich.org/ANIMATION/PLAN2.jpg' ; PLANPic[1] = 'http://www.notrich.org/ANIMATION/PLAN1.jpg' ; var PLANrc ; var PLANj = 0 ; var PLANp = PLANPic.length ; var PLANpreLoad = new Array() ; for (i = 0; i < PLANp; i++){ PLANpreLoad[ i ] = new Image() ; PLANpreLoad[ i ].src = PLANPic[ i ] ; } var PLANspeed = new Array() ; PLANspeed[0] = 300 ; PLANspeed[1] = 240 ; PLANspeed[2] = 180 ; PLANspeed[3] = 140 ; PLANspeed[4] = 50 ; PLANspeed[5] = 130 ; PLANspeed[6] = 183 ; PLANspeed[7] = 130 ; PLANspeed[8] = 50 ; PLANspeed[9] = 321 ; PLANspeed[10] = 440 ; PLANspeed[11] = 500 ; var LANspeed = new Array() ; LANspeed[0] = 6 ; LANspeed[1] = 3 ; LANspeed[2] = 5 ; LANspeed[3] = 1 ; LANspeed[4] = 8 ; LANspeed[5] = 2 ; LANspeed[6] = 7 ; LANspeed[7] = 2 ; LANspeed[8] = 11 ; LANspeed[9] = 2 ; LANspeed[10] = 4 ; LANspeed[11] = 4 ; Principia flubs it no matter how you look at it. |
|
07-15-2003, 07:23 PM | #122 | |||||
Veteran Member
Join Date: Jan 2001
Location: USA
Posts: 1,072
|
Re: Re: Re: Re: Re: Re: if you were boss
DNAunion: <sigh> Principia still can’t fight a fair battle.
Quote:
Quote:
Oh, and the first one you show below and claim is unneeded was put in there for flexibility, as the code makes clear, and as I have already explained to you. Now that I corrected Principia’s error on that, we can continue where we left off…Principia was just about to quote from my code. Quote:
(Also, Principia failed to mention the explanation I gave elsewhere about the first comment he made being wrong because that code does have a purpose for being there: flexibility). Quote:
But from the misquote that Principia just posted, no one would know that. Since Principia intentionally omitted RELEVANT material, he is guilty of misquoting. Quote:
Now, let’s talk facts. Note that in Sophie’s script, speed, memory, AND code clarity suffer. So unlike in my code, in Sophie's there is no compensatory tradeoff. Hence, no hypocrisy, despite Principia’s charge. |
|||||
07-15-2003, 07:38 PM | #123 |
Veteran Member
Join Date: Jan 2001
Location: USA
Posts: 1,072
|
Re: Re: Re: Re: Re: Re: Re: if you were boss
DNAunion: "And now, for something completely different"
What’s up with the clocks? I made two back-to-back posts this morning just before leaving for work. They couldn’t have been posted more than 5 or at most 10 minutes apart. Yet the timestamps show: July 14, 2003 07:30 PM And July 15, 2003 01:36 PM What up? |
07-15-2003, 09:09 PM | #124 | ||
Veteran Member
Join Date: Jan 2001
Location: USA
Posts: 1,072
|
Re: Re: Re: Re: if you were boss
Quote:
Quote:
|
||
07-16-2003, 05:30 AM | #125 | ||
Veteran Member
Join Date: Jan 2001
Location: USA
Posts: 1,072
|
DNAunion: Okay, time to point out another or Principia’s blunders and tricks, both of which deal with the block of code associated with if (nDiscardTilesOnceChosen == 0).
First, the trick. Note that no matter how many times and ways I explain the PURPOSE of that particular block of code, Principia continues to offer it up as though it were an error. Has he a clue? Obviously not. Now for his blunder. Here are the relevant parts of exchanges. Quote:
Quote:
Code:
// [2] = CHOSEN: has this letter/tile already been chosen from the urn? // If so, it may have been disarded and so not available // any more, or it may have been replaced and available to // be selected again. Which occurs for an already selected // tile depends upon the value of the const variable // nDiscardTilesOnceChosen. |
||
07-16-2003, 06:37 AM | #126 |
Veteran Member
Join Date: May 2003
Location: On the road to extinction. . .
Posts: 1,485
|
further discussions
Any further discussions I will take part in will only be about the algorithm of the code I presented.
I think we have flogged the horses enough. Time to run the race. |
07-16-2003, 06:37 AM | #127 |
Veteran Member
Join Date: Aug 2002
Location: In the land of two boys and no sleep.
Posts: 9,890
|
Consider this a general reminder to all to play nice.
8-10 threads in a row where one person criticizes another while not addressing them directly does not seem productive to me. This goes for more than one person, by the way. If the conversion has value with regards to the actual topic, ehtn carry on by all means, but let's try to move away from the current line of accusations personal comments please. Wyz_sub10. S&S Moderator |
07-16-2003, 11:09 AM | #128 |
Veteran Member
Join Date: Apr 2003
Location: Level 6, Inside a Burning Tomb
Posts: 1,494
|
Out of Curiosity
Might a non-programmer be allowed to ask a question? I certainly don't understand the program code itself being discussed here, but I'm curious how the principles spoken of might apply to a specific situation:
Does anyone know if the specific error in the "killer X-ray machine" software was ever discovered, and could the tenets of program clarity noted here have prevented it? Background: Atomic Energy of Canada Limited once made an X-ray machine called the Therac-25, which could be used for both research work (delivering radiation doses lethal to humans) and medical work (same doses attenuated by a software-controlled lead beam shield). A bug in the code and the operator interface allowed several people to receive lethal doses when the shield failed to swing into place. I should note that I don't have to be a programmer to appreciate this stuff, after having skimmed through Boris Beizer's The Frozen Keyboard: Living With Bad Software. I highly recommend this, as it's some of the wryest and wittiest writing available on this subject. Any light you can shed is greatly appreciated. Thanks -- Deacon Doubtmonger "In any decently-run universe, this [God] would've been out on his all-powerful ass a long time ago!" --George Carlin |
07-16-2003, 11:29 AM | #129 | |
Veteran Member
Join Date: Jan 2001
Location: Median strip of DC beltway
Posts: 1,888
|
Re: Out of Curiosity
Quote:
The Capability Maturity Model (CMM) is one means of certifying the level of maturity in the process. Note that it follows my earlier caveat: a good process will exhibit the characteristics in the CMM outline, but using the CMM outline as your process will not necessarily provide you with good results. For comparison, the practices being discussed here have nothing to do with coding standards. They're all mistakes that people make, and no matter how good you are, you will make them from time to time. The quality assurance is how good your process is at catching these mistakes. Programming is an very small portion of designing good software, actually. I don't know any specifics about the case you mention. Software engineering is hideously complex if you approach it from traditional engineering standpoints. The number of interactions is orders of magnitude higher than a project of equal "difficulty" in another field. Embedded design is it's own little world, too. |
|
07-16-2003, 11:42 AM | #130 |
Veteran Member
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
|
I believe you are referring to the Therac fiasco, which is a case study used in many computer sci. courses of a bad software development model.
You can read about it here: http://sunnyday.mit.edu/papers/therac.pdf PS: Nevermind, I see you had already referred to the case by name. |
Thread Tools | Search this Thread |
|