Article View: alt.folklore.computers
Article #4212Re: Stupid programming errors.
From: Steve Sears
Date: Thu, 30 Aug 1990 22:21
Date: Thu, 30 Aug 1990 22:21
30 lines
2188 bytes
2188 bytes
In article <1172@meaddata.mead.UUCP> mead!gor...@uccba.uc.edu writes: >In light of the stupid user discussion, how about a discussion of stupid and >embarrassing programming errors. > While I attended University I worked at the Library Automations, primarily doing applications with some systems programming stuff. I had just finished writing an interface between the big IBM's and a little Honywell 5 running the Pick operating system, which was the university check writing machine. This was for the financial people at the library and the University. Someone in the accounting department notices that they are loosing all kinds of money because the old application did not handle some case or another, and because I had just been in there, I was asked to provide some new whizzy stuff. Everybody wanted this real bad, so I went into hacker mode and turned it out in a few days, with extra bells and whistles that I could see they would need soon. It went into production after we proved that it would do the job with the previous months data. After that, everything went real well for a month or so. One day I walk into work, and there are the library and University MIS people, along with a couple University vice presidents, and they are not happy. They explain that the previous night a check had been written for $216,420,138.90, and they wanted an explanation. Turns out that someone decided to process a credit into the system by writing a check for a negative amount. My program didn't know what to do with the '-', so it just deleted it from the ascii input, effectively concatenating two amounts together; a $216.42, and a $138.90 with a leading zero. University people have no sense of humor...
Technical Details
Message-ID:
<74@iconsys>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!iconsys!sjsReferences:
<1172@meaddata.mead.UUCP>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!iconsys!sjs From: sjs@iconsys (Steve Sears) Newsgroups: alt.folklore.computers Subject: Re: Stupid programming errors. Message-ID: <74@iconsys> Date: 30 Aug 90 22:21:26 GMT References: <1172@meaddata.mead.UUCP> Organization: Sanyo/ICON International, Orem, UT Lines: 30 Posted: Thu Aug 30 23:21:26 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit