Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: When my script doesn't work, I ...

by blue_cowdawg (Monsignor)
on Oct 17, 2012 at 18:51 UTC ( #999596=note: print w/replies, xml ) Need Help??

in reply to When my script doesn't work, I ...

There's a process for that:

  1. Cuss like a sailor asking the Universe why the <BLEEP!> this thing ain't working??????
  2. Smack monitor
  3. Go for more coffee
  4. Cuss some more
  5. rerun the code and hope the problem isn't still there.
  6. cuss more when the problem remanifests itself.
  7. try blaming the input data.
  8. go for more coffee
  9. re-run code
  10. Turn on script's built in debug logging
  11. stare at terminal
  12. Go to lunch
  13. read debug output
  14. Add more debug logging in strategic locations
  15. Get Diet Mountain Dew from vending machine
  16. rerun script
  17. found bug, fix.
  18. Go home
And the next day we start all over again!

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Replies are listed 'Best First'.
Re^2: When my script doesn't work, I ...
by cavac (Deacon) on Oct 25, 2012 at 14:59 UTC

    Sound familiar.

    Although lately, working with big databases and data files, more often enough the story ends more like "realize that the script does exactly the right thing, but $OTHERSCRIPT supplied broken data. (Junk in/Junk out principle)".

    "I know what i'm doing! Look, what could possibly go wrong? All i have to pull this lever like so, and then press this button here like ArghhhhhaaAaAAAaaagraaaAAaa!!!"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999596]
and the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2018-05-25 05:55 GMT
Find Nodes?
    Voting Booth?