Re: Bug - 4.5
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40851
interpreted = N
texte = This is another variation of the early computer science discussion called the halting problem if I remember right. In a nutshell it was proven that it is not possible for something outside the code to determine that you are in a non-useful, endless loop and stop it. You have to write tests into your code because there is no way that WebCatalog can determine that you didn't want to do that endless loop. So this is not a bug.Larry Goodhew> > on 6/24/02 10:10 AM, Jesse Williams-Proudman at j.list@ninewire.com so> noted...> > > While this is a dumb programming mistake, it shouldn't bring down the whole> > server:> > > > If you create a file named crash.tpl and in it you put [include> > file=crash.tpl], WebCatalog will consume the entire CPU until you stop it and> > start it again.> > I've got a few projects that use include files recursively (the include> calls itself). They have counters at the beginning of the code that stop the> includes at a preset number just in case the conditional that's *supposed* to> stop the routine doesn't trip (like while testing/debugging) to prevent it from> running away and killing the machine (which it'll do in OS 9).> > So not really a bug, just a programming practice you need to take care in> using. : )> > > Rob Marquardt> Designer/Resident Wirehead> Toast Design> > 800 Washington Avenue North> Minneapolis MN 55401> 612.330.9863 v> 612.321.9424 f> www.toastdesign.com> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
This is another variation of the early computer science discussion called the halting problem if I remember right. In a nutshell it was proven that it is not possible for something outside the code to determine that you are in a non-useful, endless loop and stop it. You have to write tests into your code because there is no way that WebCatalog can determine that you didn't want to do that endless loop. So this is not a bug.Larry Goodhew> > on 6/24/02 10:10 AM, Jesse Williams-Proudman at j.list@ninewire.com so> noted...> > > While this is a dumb programming mistake, it shouldn't bring down the whole> > server:> > > > If you create a file named crash.tpl and in it you put [include> > file=crash.tpl], WebCatalog will consume the entire CPU until you stop it and> > start it again.> > I've got a few projects that use include files recursively (the include> calls itself). They have counters at the beginning of the code that stop the> includes at a preset number just in case the conditional that's *supposed* to> stop the routine doesn't trip (like while testing/debugging) to prevent it from> running away and killing the machine (which it'll do in OS 9).> > So not really a bug, just a programming practice you need to take care in> using. : )> > > Rob Marquardt> Designer/Resident Wirehead> Toast Design> > 800 Washington Avenue North> Minneapolis MN 55401> 612.330.9863 v> 612.321.9424 f> www.toastdesign.com> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Larry Goodhew
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] COPYFILE & permissions (2013)
Plugin or CGI or both (1997)
Bannerad Demo (1998)
SiteEdit Pro Update Announcement (1997)
Changing the value assigned to a formvariable (2000)
'does not contain' operator needed ... (1997)
Question (1998)
Webstar 1.3.1 PPC (1997)
pc (1997)
searching for items that begin with a number (2004)
Webcatalog and IIS4b2 (1997)
Price question (1998)
Nested vs conditional (1997)
Unexpected error (1997)
Further on formula.db failure to calculate shipCost (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
WebCatalog/WebMerchant Manuals Available (1998)
Sorting Dates in a search (2000)
any suggestions for creating a multi-lingual site? (1999)
Please please help (2001)