Welcome Guest.   Make a donation to an author on the site October 31, 2014, 06:01:58 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Comments That Make You Smile :)  (Read 5994 times)
Renegade
Charter Member
***
Posts: 11,667



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: January 14, 2008, 06:10:42 PM »

So, I'm back to cleaning up other people's messes yet again and going through source code, when I find in the source for one of the commercial modules purchased:

//the method formats... argh! see the code, it is self-explainig!

smiley

Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Deozaan
Charter Member
***
Posts: 6,439



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: January 14, 2008, 07:14:00 PM »

Haha. When I saw the thread topic I was thinking things along the lines of:

"You look great today!"

"Did you lose weight?"

"I love your sense of humor!"

etc. cheesy
Logged

f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: January 14, 2008, 07:58:52 PM »

A couple of snippets from my own fSekrit that tend to make me smile when I re-discover them:
Formatted for C++ with the GeSHI Syntax Highlighter [copy or print]
  1. // used when saving... I really need a cleaner interface for this, but I also
  2. // really need to ship version 1.0 before deadline. Sigh :P
  3. extern unsigned g_ugly_w, g_ugly_h, g_ugly_x, g_ugly_y;
  4. extern bool g_ugly_maximized;  // [1.2] - something needs a cleanup...
and the related (line 8):
Formatted for C++ with the GeSHI Syntax Highlighter [copy or print]
  1. struct FileHeaderV1
  2. {
  3. char signature[8]; // header_v1_signature
  4. char hash[sha256::hashbits/8]; // plaintext hash
  5. unsigned size; // size of data, padded to crypt blocksize
  6. unsigned realsize; // "real" size of data, unpadded
  7. unsigned flags; // bitmask of FL_* constants
  8. unsigned w, h; // saved width and height... mouser wants this
  9. };
« Last Edit: January 14, 2008, 08:01:45 PM by f0dder » Logged

- carpe noctem
Renegade
Charter Member
***
Posts: 11,667



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: January 14, 2008, 11:38:27 PM »

Quote
mouser wants this

Hahaha~!

Y'know, programmers can have a pretty foul mouth too sometimes -- NSFW code comments 1 and 2.

It's pretty funny to see how people get flustered! cheesy

Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Renegade
Charter Member
***
Posts: 11,667



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: January 14, 2008, 11:39:38 PM »

Oh! Oh! Oh! This one is funny:


The irony is killer! cheesy
Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Renegade
Charter Member
***
Posts: 11,667



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: January 14, 2008, 11:41:19 PM »

And those licensing agreement comments:


The license is here. HILARIOUS!
« Last Edit: January 14, 2008, 11:43:43 PM by Renegade » Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Renegade
Charter Member
***
Posts: 11,667



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: January 15, 2008, 12:07:56 AM »

Having problems are we?


Foreign languages got you down?


This one rocks!


Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,292



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: January 15, 2008, 12:27:38 AM »

I was given the source to an application made by my friend & Delphi mentor, BugHunter. Looking through her code is always fun. It's often loaded with odd comments, strange error messages, and easter eggs.


And I found this comment that still I have no clue what it was supposed to mean:

//JKL :-) :-| :-(
Logged

Rover
Master of Smilies
Charter Member
***
Posts: 628



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: February 09, 2008, 09:49:32 PM »

Quote
This code is released under the IDGARA License, so feel free to use, abuse, destroy or
   ignore as you see fit.  I will not be held responsible for any use you may attempt
   with this software; in fact, assume that it's broken, doesn't work and I am a putz.

   IDGARA roughly translates to: I Don't Give A Rat's Hind End, but I used a short word
   for Hind End.
 
Logged

Insert Brilliant Sig line here
allen
Charter Member
***
Posts: 1,173



Powered by Beard

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: February 09, 2008, 11:43:32 PM »

A few I don't remember making, but must have. . . a quick grep has left me mildly amused.

Quote
# It's over!
Quote
// I should idiot proof this. I'm not sure I'm qualified.
// I'll forget about this anyway.
Quote
// I'm one lazy bastard.
Quote
# 'I'm sorry'" => "I'm thinking . . . fuck you, asshole"
Quote
// Any idiot could figure out how to do this [more cleanly]
// And I really mean ANY idiot.
// I need to try this bit sober some time.
Logged
Renegade
Charter Member
***
Posts: 11,667



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: February 10, 2008, 10:18:21 PM »

Quote
Formatted for C# with the GeSHI Syntax Highlighter [copy or print]
  1. // I need to try this bit sober some time.

HAHAHAHA~!

Been there! I coded a web app 1 time where I was doing massive damage control. The guy that was supposed to do it totally dropped the ball.

2 months work and:

20% of code done
0% worked

 Angry

Needless to say I was more than simply angry...

I sat at home waking up in the morning then starting to code... Round 10pm I'd start drinking until I finished at around 2~4am. I got a LOT of the app done half blitzed. Strangely enough, I had no problems with bugs. (I coded very conservatively to save time.)

Beer -- One of the great fuels of the Internet! beerchug

Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Armando
Charter Member
***
Posts: 2,682



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #11 on: February 11, 2008, 12:24:56 AM »

And those licensing agreement comments:

The license is here. HILARIOUS!


 Grin
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.104s | Server load: 0.02 ]