Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

I found it! I found the bug!

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 04:06 PM
Original message
I found it! I found the bug!
I found the bug in my software code that's been causing problems once or twice a month for over two years!

Dammit, it was *obscure*, all of three lines long but boy, it had some nasty effects like:

* Locking up check runs dumping an obscure error with a message to call the developer
* Magically unpaying a line item here and there, locking it forever in a paid/unpaid state (until I changed it manually)
* Wrecking havok on all financial reports
* Generally leaving me quaking in fear as I ran tests on the database praying that lots of money is still where it should be

I'm gonna have me some frosty beverage tonight!
:bounce:
Printer Friendly | Permalink |  | Top
spillthebeans Donating Member (486 posts) Send PM | Profile | Ignore Mon Dec-04-06 04:09 PM
Response to Original message
1. What kind of language? nt
Printer Friendly | Permalink |  | Top
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 04:20 PM
Response to Reply #1
3. It's PHP 5.*
unfortunately running against MYSQL 5.0 in the back (I now have a grudge against mysql. It's not very enterprisey!)
Printer Friendly | Permalink |  | Top
 
Gormy Cuss Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 04:11 PM
Response to Original message
2. It's the little things....
Here, let's start the celebration now with a few virtual mugs:
:toast:
:toast:
:toast:
:toast:
:toast:
:toast:
Printer Friendly | Permalink |  | Top
 
Phentex Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 05:42 PM
Response to Original message
4. Good. That gives you more time to concentrate on our thread.
You know. The Really. Heavily. Viewed. One.

:toast:
Printer Friendly | Permalink |  | Top
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 07:56 PM
Response to Reply #4
6. Oi! Thanks for the reminder!
Printer Friendly | Permalink |  | Top
 
firefox_fan Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 05:58 PM
Response to Original message
5. Great job!
Bugs can be nasty!
Printer Friendly | Permalink |  | Top
 
ZombieNixon Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 08:10 PM
Response to Original message
7. Dude! Me, too!
Today's bug was much easier to track down and fix than yesterday's bug, but it had been irritating me for the past year. One line of code...better yet...one variable. :D

Now yesterday's bug...that was a bitch...now if I only I could get ray intersections to work...:shrug:

Anyway, point is, good job! :toast:
Printer Friendly | Permalink |  | Top
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 08:24 PM
Response to Reply #7
8. One variable?
Don't you hate those?

Printer Friendly | Permalink |  | Top
 
ZombieNixon Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 08:27 PM
Response to Reply #8
9. Oh, yes.
Edited on Mon Dec-04-06 08:28 PM by ZombieNixon
Worse yet...it was technically the right variable, it just had the wrong bitshift on it.

It was "statusBits |= (1<<1)" when it should have been "statusBits |= 1" because the respective bits trigger different results. x(
Printer Friendly | Permalink |  | Top
 
LynzM Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Dec-04-06 08:28 PM
Response to Original message
10. Congrats!!
That's awesome... pour yourself a drink and heave a sigh of relief! :bounce:
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Wed Apr 24th 2024, 05:16 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC