Re: Program Translation - Nov. 14, 2013

2013-11-18 Thread Joel Goldstick
On Mon, Nov 18, 2013 at 12:15 PM, E.D.G. wrote: > "Terry Reedy" wrote in message > news:mailman.2820.1384745298.18130.python-l...@python.org... > > >> A couple of sentences of follow-up would have been sufficient. > > > The experience that I have had over the years with Newsgroup posting >

Re: Program Translation - Nov. 14, 2013

2013-11-18 Thread E.D.G.
"Joel Goldstick" wrote in message news:mailman.2792.1384709379.18130.python-l...@python.org... That being said, I'm guessing that this thing is used in some academic setting. If that's true, why not get a student (who will be much more versed in modern programming languages and techniques) to

Re: Program Translation - Nov. 14, 2013

2013-11-18 Thread E.D.G.
"Terry Reedy" wrote in message news:mailman.2820.1384745298.18130.python-l...@python.org... A couple of sentences of follow-up would have been sufficient. The experience that I have had over the years with Newsgroup posting is that it is generally better to try to be polite and answer

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Charlton Wilbur
> "BB" == Ben Bacarisse writes: BB> There is a slight air in unreality to all this, This is a far more polite way of putting it than I would. It's an earthquake predictor based on pseudoscience and technobabble. BB> Finally, why are you timing Perl arithmetic? A translation into

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Terry Reedy
On 11/17/2013 5:25 AM, E.D.G. wrote: [snip several paragraphs that have nothing to do with Python] A couple of sentences of follow-up would have been sufficient. 'We decided to go with Fortran and True-Basic and not Python." PERL SPEED COMPARISON Some of the early discussions leading t

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Rainer Weikusat
Roy Smith writes: > Henry Law wrote: > >> On 17/11/13 14:37, E.D.G. wrote: >> > All of my own important programs are written using Perl. I am starting >> > to run into calculation speed limitations with one of the programs. >> >> Your Perl code is, er, sub-optimal. There is absolutely no poin

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"E.D.G." wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... Some additional research indicates that there is an international scientific organization that should be interested in this particular program translation effort. And tomorrow I plan to contact them and se

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Joel Goldstick
On Sun, Nov 17, 2013 at 12:05 PM, Richard Maine wrote: > Roy Smith wrote: > >> In article , >> Tim Prince wrote: >> >> > Perhaps you would start with an automatic indentation tool before >> > translating. You may have a rule against using current syntax and >> > indentation for Fortran, but ot

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Richard Maine
Roy Smith wrote: > In article , > Tim Prince wrote: > > > Perhaps you would start with an automatic indentation tool before > > translating. You may have a rule against using current syntax and > > indentation for Fortran, but others don't. > > Does anybody still use ratfor? No. Well, I s

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread J�rgen Exner
mecej4 wrote: >On 11/14/2013 8:18 AM, E.D.G. wrote: >> Posted by E.D.G. on November 14, 2013 >> >>In view of the fact that I mentioned the following project in >> both Perl and Python Newsgroup notes and did not get any hostile >> responses [...] Don't flatter yourself. Just to get the r

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Roy Smith
In article , Tim Prince wrote: > Perhaps you would start with an automatic indentation tool before > translating. You may have a rule against using current syntax and > indentation for Fortran, but others don't. Does anybody still use ratfor? -- https://mail.python.org/mailman/listinfo/pyth

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Tim Prince
On 11/17/2013 8:25 AM, E.D.G. wrote: "Roy Smith" wrote in message news:roy-d4b9a4.10202517112...@news.panix.com... Scientists view computer programs as tools, no different from any other I agree totally. There are many scientists who learn how to write programs to help with their sci

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"Roy Smith" wrote in message news:roy-d4b9a4.10202517112...@news.panix.com... Scientists view computer programs as tools, no different from any other I agree totally. There are many scientists who learn how to write programs to help with their scientific work. I doubt that there are

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"E.D.G." wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... All of the necessary information regarding this effort has now been obtained. So, further discussions of this particular project will probably take place in only the Fortran Newsgroup. If and when the pro

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread James Van Buskirk
"E.D.G." wrote in message news:f7mdndyty6yrsrxpnz2dnuvz_owdn...@earthlink.com... > For one thing, the input and output routines need to be changed. > And we want it to be able to generate charts or graphs. The existing > program will generate only text data. You can generate charts and

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 2:20 AM, Roy Smith wrote: > But, for a non-expert, it may be that while L2 is capable of computing a > solution in less time than L1, it takes a lot of expert knowledge to get > the L2 program to that state. For the limited amount of programming > expertise and time availa

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Roy Smith
In article , Henry Law wrote: > On 17/11/13 14:37, E.D.G. wrote: > > All of my own important programs are written using Perl. I am starting > > to run into calculation speed limitations with one of the programs. > > Your Perl code is, er, sub-optimal. There is absolutely no point in > doing

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Henry Law
On 17/11/13 14:37, E.D.G. wrote: All of my own important programs are written using Perl. I am starting to run into calculation speed limitations with one of the programs. Your Perl code is, er, sub-optimal. There is absolutely no point in doing benchmarks until you've improved the code. I

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"Ben Bacarisse" wrote in message news:0.444ab0f1470c9d9a7a89.20131117124526gmt.87li0nqjrt@bsb.me.uk... There is a slight air in unreality to all this, but just in case this is The world of science where programmers work with people who have degrees in the physical sciences can ge

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Ben Bacarisse
"E.D.G." writes: > "E.D.G." wrote in message > news:jckdnqiu1zxguxvpnz2dnuvz_qmdn...@earthlink.com... >> "E.D.G." wrote in message >> news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... > > Etgtab FORTRAN project > Perl speed comparison > > This Etgtab FORTRAN computer program related

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"E.D.G." wrote in message news:jckdnqiu1zxguxvpnz2dnuvz_qmdn...@earthlink.com... "E.D.G." wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... Etgtab FORTRAN project Perl speed comparison This Etgtab FORTRAN computer program related effort is progressing much better

Re: Program Translation - Nov. 14, 2013

2013-11-16 Thread William Ray Wing
On Nov 16, 2013, at 4:31 AM, Terence wrote: > I downloaded the packed file mentioned, extracted the files and had a look > at the Fortran sources given: > ETGTAB.FOR and ETGTAB.F > > The ETGTAB.FOR file had double spacing, which Iremoved automatically, then > compared the two sources automatical

Re: Program Translation - Nov. 14, 2013

2013-11-16 Thread Terence
I downloaded the packed file mentioned, extracted the files and had a look at the Fortran sources given: ETGTAB.FOR and ETGTAB.F The ETGTAB.FOR file had double spacing, which Iremoved automatically, then compared the two sources automatically (passing and copying equals and offering choice between

Re: Program Translation - Nov. 14, 2013

2013-11-15 Thread E.D.G.
"E.D.G." wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... The responses regarding that Etgtab program were encouraging. I was not sure if anyone would even recognize the code as the program was written quite a while ago. The main reason for wanting to tra

Re: Program Translation - Nov. 14, 2013

2013-11-15 Thread Clive Page
On 14/11/2013 17:36, Gordon Sande wrote: Indeed! Under NAGWare Fortran it runs to completion with C=all but pulls an undefined reference when C=undefined is added. Lots of obsolete features and other warnings but no compiler error messages. The obvious lessons are that 1. Fortran has very good

Re: Program Translation - Nov. 14, 2013

2013-11-14 Thread Gordon Sande
On 2013-11-14 17:07:45 +, mecej4 said: On 11/14/2013 8:18 AM, E.D.G. wrote: Posted by E.D.G. on November 14, 2013 In view of the fact that I mentioned the following project in both Perl and Python Newsgroup notes and did not get any hostile responses I am going to take a chance and mentio

Re: Program Translation - Nov. 14, 2013

2013-11-14 Thread mecej4
On 11/14/2013 8:18 AM, E.D.G. wrote: Posted by E.D.G. on November 14, 2013 In view of the fact that I mentioned the following project in both Perl and Python Newsgroup notes and did not get any hostile responses I am going to take a chance and mention it again in all three of these Newsg