Re: *MOST* useful feature! [message #33126] |
Tue, 10 December 2002 07:59  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Pertti Rautiainen (pertti@sun3.oulu.fi) writes:
> Yup. Could you record the scream and put it to your home page
> (coyote.wav)?
I've added a coyote howl to the tones Windows users can
activate with the BELL procedure on my web page:
http://www.dfanning.com/programs/bell.zip
I'm not sure it has exactly the forlorn quality
I was looking for, but there you go. :-)
IDL> Bell, /Coyote
Cheers,
David
P.S. Let's just say it works pretty well if you
want to get the dog's attention during an IDL program!
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: *MOST* useful feature! [message #33128 is a reply to message #33126] |
Tue, 10 December 2002 01:36   |
Carsten Dominik
Messages: 45 Registered: February 1998
|
Member |
|
|
>>>> > "DF" == David Fanning <david@dfanning.com> writes:
DF> JD Smith (jdsmith@as.arizona.edu) writes:
>> Well, to avoid the scream, I'll only say that in addition to this useful
>> feature, IDLWAVE also lets you "Run Region" on selected text. What does
>> this do for you? Try giving a regular piece of code like:
>>
>> for i=0,1 do begin
>> foo,i
>> endfor
>>
>> to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
>> take that code, slap an END statement at the end, and .run it as a
>> $MAIN$ level routine. Excellent for trying out individual pieces of a
>> routine, complete with real control blocks, at a time.
DF> Oh, I knew it ... :-(
Just wait until JD releases his new debugger :-) I am sure we'll need
some ear protection then.
- Carsten
|
|
|
Re: *MOST* useful feature! [message #33129 is a reply to message #33128] |
Mon, 09 December 2002 15:59   |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Mon, 09 Dec 2002 12:50:00 -0700, Alex Schuster wrote:
> david@dfanning.com (David Fanning) wrote:
>
>> JD Smith (jdsmith@as.arizona.edu) writes:
>
>>> to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
>>> take that code, slap an END statement at the end, and .run it as a
>>> $MAIN$ level routine. Excellent for trying out individual pieces of a
>>> routine, complete with real control blocks, at a time.
>
>> Oh, I knew it ... :-(
>
> Some time, I _will_ learn Emacs.
Try:
http://jeremy.zawodny.com/emacs/emacs.html
or
http://bioinformatics.weizmann.ac.il/~lvssso/emacs/guide.htm l
or even better yet, start Emacs, then hit "Control-h" then "t".
This advice written in 1985 from a tutor of Emacs may help:
EMACS is the name of a text editor that everyone around here,
sooner or later, learns how to use. (So far the longest hold-out
has been about three months.) Learning to use EMACS is exactly the
same as learning to ride a bicycle. It is awkward,
counter-intuitive, frequently painful, and the documentation is no
help at all. Bicycles are optimized for efficient use by those who
already know how; they are not optimized for the learning
period. Neither is EMACS. One of the most painful parts of learning
to ride a bicycle is enduring the snotty condescension of those who
go whizzing by no-hands, bragging about how easy it is. Be prepared
to have that happen as you struggle with EMACS as well.
At least the documentation is better now:
http://www.gnu.org/manual/emacs-21.2/html_chapter/emacs_toc. html
JD
|
|
|
|
|
|
|
|
|
Re: *MOST* useful feature! [message #33139 is a reply to message #33138] |
Mon, 09 December 2002 10:37   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
JD Smith (jdsmith@as.arizona.edu) writes:
> Well, to avoid the scream, I'll only say that in addition to this useful
> feature, IDLWAVE also lets you "Run Region" on selected text. What does
> this do for you? Try giving a regular piece of code like:
>
> for i=0,1 do begin
> foo,i
> endfor
>
> to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
> take that code, slap an END statement at the end, and .run it as a
> $MAIN$ level routine. Excellent for trying out individual pieces of a
> routine, complete with real control blocks, at a time.
Oh, I knew it ... :-(
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
|
Re: *MOST* useful feature! [message #33141 is a reply to message #33140] |
Mon, 09 December 2002 10:26   |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Mon, 09 Dec 2002 09:18:13 -0700, David Fanning wrote:
> Folks,
>
> Did you see what the elves brought us this Christmas!?
>
> In IDL 5.6 Windows version you can grab a piece of code out of a window
> and paste the whole darn thing at the IDL command line! Hooray!!!
>
> Productivity at my place has just gone up 178%.
>
> Cheers,
>
> David
>
> P.S. If somebody opens their mouth and says they have been able to do
> this with their IDLWAVE emacs mode since 1986 I am going to scream. :-(
Well, to avoid the scream, I'll only say that in addition to this useful
feature, IDLWAVE also lets you "Run Region" on selected text. What does
this do for you? Try giving a regular piece of code like:
for i=0,1 do begin
foo,i
endfor
to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
take that code, slap an END statement at the end, and .run it as a
$MAIN$ level routine. Excellent for trying out individual pieces of a
routine, complete with real control blocks, at a time.
JD
|
|
|
|
|
Re: *MOST* useful feature! [message #33218 is a reply to message #33129] |
Wed, 11 December 2002 08:04  |
mvukovic
Messages: 63 Registered: July 1998
|
Member |
|
|
JD Smith <jdsmith@as.arizona.edu> wrote in message news:<pan.2002.12.09.23.59.48.980292.6387@as.arizona.edu>...
> This advice written in 1985 from a tutor of Emacs may help:
>
> EMACS is the name of a text editor that everyone around here,
> sooner or later, learns how to use. (So far the longest hold-out
> has been about three months.) Learning to use EMACS is exactly the
> same as learning to ride a bicycle. It is awkward,
> counter-intuitive, frequently painful, and the documentation is no
> help at all. Bicycles are optimized for efficient use by those who
> already know how; they are not optimized for the learning
> period. Neither is EMACS. One of the most painful parts of learning
> to ride a bicycle is enduring the snotty condescension of those who
> go whizzing by no-hands, bragging about how easy it is. Be prepared
> to have that happen as you struggle with EMACS as well.
>
Strongly disagree. Like any other skill (even Word requires some
skill) it requires the willingness to invest time and effort to learn
in. For emacs, unlike Word, it takes about 30 minutes to go through
the tutorial. With that, one will be more than competent in basic
usage. Now compare that with at least two hours for one to go through
a 3D CAD tutorial to achieve a same level of proficiency. It is
really not that catastrophic. And actually, how much time does it
take for one to become somewhat proficient in IDL? More than 30
minutes I bet.
My morning's gripe :-)
Mirko
|
|
|