comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Why so serious?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Why so serious? [message #64054] Sat, 29 November 2008 20:45 Go to next message
jigga1206 is currently offline  jigga1206
Messages: 9
Registered: February 2008
Junior Member
Usually this group is deep into vectorization, optimization, and so on…
except for David's occasional asides on tennis. However, does anybody
have any interesting/funny/random/ IDL code that makes your programs
more enjoyable to use? As a VERY simple example:

function stupid_error_message
output=['I do not like you',$
'This program has many bugs, stop whining!',$
'Are you an idiot?',$
'Why did you do that?',$
'Please stop crashing the program!']
return,output[fix(randomu(seed)*5)]
end

The output array is sanitized for general consumption, usually I’m a
bit more explicit…but you get the idea. I like the option of
generating random insults when users cause my stuff to break, though
typically it’s my fault.

Take care,
frank
Re: Why so serious? [message #64164 is a reply to message #64054] Tue, 02 December 2008 20:02 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Andrew Cool writes:

> If that's Moe, I'll go he.
>
> I reckon it's Shemp!!

Well, I never could keep those guys straight. It's the price
you pay for going without television all those years. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Why so serious? [message #64195 is a reply to message #64164] Sun, 07 December 2008 15:33 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
On Dec 3, 2:02 pm, David Fanning <n...@dfanning.com> wrote:
> Andrew Cool writes:
>> If that's Moe, I'll go he.
>
>> I reckon it's Shemp!!
>
> Well, I never could keep those guys straight. It's the price
> you pay for going without television all those years. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I bought some 3 Stooges DVDS's for my girls. They roll around laughing
their butts off.
There's just nothing like the Stooges these days - it's all anime-
style cartoon garbage
with precious little humour at any level.

Andrew
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Assigning Coordinates in NetCDF
Next Topic: creat #D array and anaylis it

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 23:00:25 PDT 2025

Total time taken to generate the page: 1.75785 seconds