Article View: news.software.readers
Article #261674Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
From: Bernd Rose
Date: Sat, 07 Jan 2017 08:47
Date: Sat, 07 Jan 2017 08:47
62 lines
4900 bytes
4900 bytes
On Sat, 7th Jan 2017 03:29:15 +0000 (UTC), Stijn De Jong wrote: [OnBeforeSendingMessage script] >> I don't know, whether this was good for you (and for JJ, FWIW)... Changing >> just a few settings will not teach you the necessary skills to adjust the >> script (or write others), if need be. Therefore, you'll continue to depend >> on JJ or others for explanations, adjustments, and so on. And other people >> with /seemingly/ comparable needs may try to use the script, as well. (With >> maybe even less knowledge about the inner workings, suitable settings, and >> so on.) [...] > I can't possibly NOT understand what you're trying to say, which is that I > would be better served (from a programming standpoint) if I programmed the > code myself, instead of relying on JJ's rewrite of the code. [...] > In fact, I had already given up on Dialog scripting (and said so), BEFORE > JJ posted his modified script on pastebin. If that's the case, then getting the script written is of course the best outcome from *your* POV. Whether JJ will have the time and strength for continuous error correction and support for you /and/ others (who might want to use such a script, as well), has to be seen. > We got something done with Dialog. > And, we improved the code base for Dialog, so others can use it themselves. When Dialog script development was at his heights, at least 5 people who were firm with that subject tested and fine-tuned the scripts, until they "released" them in script libraries. (Please note, there hasn't been an /official/ script repository for nearly 10 years. All available download sites are personal-preference sites with varying degrees of code-check.) The script development mainly occurred inside the German Dialog newsgroup. Nowadays, there's rarely a post on that subject. Most script developers moved on, at least one of the most productive ones is dead by now. :-( While releasing new scripts in test-state here in this group may seem to be a step forward, chances of significant code-check and testing are marginal. (I, for instance, currently just don't have the time for such matters.) With most scripts, publishing unpolished versions isn't too problematic. They may lead to problems on local installations. And that's about it. With OnBeforeSendingMessage scripts, OTOH, the results may - at worst - crash some receiving servers, if the message gets malformatted. And are you /sure/ that the last version will work with any kind of mail message, including headers in need of encoding, duplicated "headers" in the body, encoded attachments, encrypted mails, and so on? And some parts of the code /need/ to be polished for usability. Published scripts shouldn't carry user-specific settings deep down in the code, like your aioe/albasani-test. If you browse through well-written scripts, you'll notice a "settings const section" at the top or (sometimes) even the usage of an external settings file. Coming to this: Why only two possible mail servers in a script published for common use? Why not start with a list (or better: an array/dictionary of server/identity pairs), to begin with? The same goes for newsgroups... > So the real tradeoff was between: > a. Giving up on getting Dialog to do anything, or, > b. Using JJ's script (testing it, tweaking it, & re-publishing it). *Your* tradeoff. Bernd
Technical Details
Message-ID:
<11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog Date: Sat, 7 Jan 2017 09:47:01 +0100 From: Bernd Rose <b.rose.tmpbox@arcor.de> References: <o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: albasani.net Lines: 62 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net yoCdATb4iMIIirQcMIIADoUWdbmo3H2GdkitG/V95Ldd6gHjL07lw4DJjqzCbx2ugJxJ4nfD2J0jnfIkcBUdWQ== NNTP-Posting-Date: Sat, 7 Jan 2017 08:47:05 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="NZIx2jagwGNVOVnECuSPFclj4ZsUYCyd9EWQohWIX+u6M43uRRxN3JQD/Ru5DAvnANrsTwNtRYzeubGX+rXVrUezKqzP7cJkrSd6DEKL/7TZtU3TWNioqTvVGTv9EqSj"; mail-complaints-to="abuse@albasani.net" User-Agent: 40tude_Dialog/2.0.15.41 (1740b451.18.365) Cancel-Lock: sha1:HxMOGtV9oAnKaOsMLtqc6LyvitY= X-Received-Body-CRC: 407077600 X-Received-Bytes: 4831