Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

C Programmers: I just squashed a MUTANT KILLER ZOMBIE BUG FROM HELL

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
 
Commie Pinko Dirtbag Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Mar-14-06 06:25 PM
Original message
C Programmers: I just squashed a MUTANT KILLER ZOMBIE BUG FROM HELL
typedef struct _stuff {
sometype this;
someothertype that;
...
} stuff;

.
.
.

stuff *mystuff;

mystuff = malloc(sizeof(mystuff)); /* WRONG WRONG WRONG THERE'S AN ASTERISK MISSING */

That little oversight caused us extreme grief today. I released a Primal Geek Scream™ when I finally found it.

Ah, And I also learned how to do two-way MySQL replication.

It's been a good day. I feel... powerful!
Printer Friendly | Permalink |  | Top
Call Me Wesley Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Mar-14-06 06:35 PM
Response to Original message
1. Congrats!
// Generate relevant output
//
if ( Donald Rumsfeld is giving the president his daily briefing.) && $He concludes by saying:] == 'Yesterday, 3 Brazilian soldiers were killed.' )
{
$phrase = @openphrase("OH NO!" the President exclaims. "That's terrible!");

$setjoke = 1;
while( $His staff sits stunned at this display of emotion, nervously watching as the President sits, head in hands. )
{
if ( bush_match("/stunned\.")
{
include(Finally, the President looks up and asks, "How many is a brazillion?");
}
}

@closejoke($brazillion);
Printer Friendly | Permalink |  | Top
 
Misunderestimator Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Mar-14-06 07:25 PM
Response to Reply #1
2. OMG! How does Heidi put up with you?
:rofl:
Printer Friendly | Permalink |  | Top
 
arwalden Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Mar-14-06 07:34 PM
Response to Reply #1
3. ROFL!! Too Funny!
Edited on Tue Mar-14-06 07:35 PM by arwalden
(I think I might have even wet myself a little bit.)

10 HOME
20 PRINT :rofl: :rofl: :rofl: :rofl: :rofl:
30 GOTO 20
Printer Friendly | Permalink |  | Top
 
Commie Pinko Dirtbag Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Mar-15-06 10:25 AM
Response to Reply #3
4. Let me guess -- the edit is because you typed GOTO 10 instead of GOTO 20
in line 30, right?

(Crap, the geekiness in this thread is reaching frightening levels)
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 Fri May 03rd 2024, 04:45 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