Funny programming pictures, jokes & quotes

Discussion about everything. New games, 3d math, development tips...

Postby ChaiRuiPeng » Sat Mar 19, 2011 11:16 pm

Image
just because it compiles doesnt excatly mean it will work :)
ent1ty wrote:success is a matter of concentration and desire


Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
User avatar
ChaiRuiPeng
 
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Postby Go|iath » Sun Mar 20, 2011 1:31 am

Heh,

I've been using Code::Block for about 4-6 months now and I don't recall having compiled anything that built right the first time. It's always like :

- pressing "F9",
- waiting for millions of dollars to magically appear into bank account.
- bank account still at same level, re-checking code.
- pressing "F9"
- and so on...
User avatar
Go|iath
 
Posts: 12
Joined: Fri Dec 24, 2010 11:00 pm

Postby Brainsaw » Mon Mar 21, 2011 12:03 pm

Lol ... I got a nice comment ... stumbles upon it today at work:

/*

I am very sorry for this. It's not a nice solution, but hey ... this is not a nice program. Sometimes
it happens that something is lost somewhere in the dark and scary depths of the multithreaded message
processing system this whole bunch of s!#& ... bunch of code relies on. I haven't been able to fully
follow the problem, but sometimes a job remains in the job list shown to the user although it was
already processed and therefore the source file was deleted. So here we are: we just check the list of
shown jobs for jobs that have already been processed. If such a zombie job - let's call it "Steve" - is
there we'll find it with this small code section here and put Steve where he belongs.

*/
User avatar
Brainsaw
 
Posts: 1038
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Postby greenya » Mon Mar 21, 2011 1:12 pm

Brainsaw,
+1, that is fair comment :)
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Postby Radikalizm » Mon Mar 21, 2011 1:15 pm

Steve is such a great name for a zombie multithreading job :D
Radikalizm
 
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Postby viejodani » Mon Mar 21, 2011 3:44 pm

a classic

Image
-- Never lose your sense of wonder --
User avatar
viejodani
 
Posts: 32
Joined: Tue Nov 10, 2009 3:09 pm

Postby ent1ty » Tue Mar 22, 2011 1:24 pm

Something that occurred to me while sitting in the school:
Code: Select all
//Comments are for sissies, so we're not going to use them.
//Oops
Height2Normal - convert height maps to normal maps

Code with brain, not heart.
- entity, a proud member of the Heartless Coders society
ent1ty
 
Posts: 925
Joined: Sun Nov 08, 2009 11:09 am

Postby Brainsaw » Tue Mar 22, 2011 2:47 pm

Comments? I don't need no comments.

Brainsaw from another thread wrote:Good code is self-documenting. But as self-documenting is not *really* enough is have pushed this one step further, my code is not only self-documenting, even the machine code generated by any compiler is still self-documenting.


Sometimes they call me Megalomaniac and I just *don*t*know*why* ;)
User avatar
Brainsaw
 
Posts: 1038
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Postby lazerblade » Wed Mar 23, 2011 2:26 am

Code: Select all

// proprietary random number generator (C) Microsoft


int getRandomNumber(void)
{
    return 42;
}

LazerBlade

When your mind is racing, make sure it's not racing in a circle.

3d game engine: http://sites.google.com/site/lazerbladegames/home/ray3d
lazerBlade blog: http://lazerbladegames.blogspot.com/
lazerblade
 
Posts: 194
Joined: Thu Mar 18, 2010 3:31 am

Postby Radikalizm » Wed Mar 23, 2011 2:44 am

lazerblade wrote:
Code: Select all

// proprietary random number generator (C) Microsoft


int getRandomNumber(void)
{
    return 42;
}



Ah, the good old Hitchhiker's guide to the galaxy reference, awesome
Radikalizm
 
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Postby Brainsaw » Wed Mar 23, 2011 6:54 am

You should be careful with such jokes. They might depress your computer. You know ... enough computing power to solve the problems of the universe and what is it supposed to do? Tell you something everyone knows. Every calculation that has never been calculated, every question that has never been asked and every problem that has never been solved result in "42". Everyone knows that.




My computer just had a Marvin flashback :D
User avatar
Brainsaw
 
Posts: 1038
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Postby greenya » Wed Mar 23, 2011 8:33 am

lazerblade wrote:
Code: Select all

// proprietary random number generator (C) Microsoft


int getRandomNumber(void)
{
    return 42;
}



- Over here we have our Random Number Generator.
... 42, 42, 42, 42, 42, ...
- Are you sure that's random?
- That's the problem with randomness, you can never be sure.

:lol:
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Postby cobra » Wed Mar 23, 2011 4:21 pm

GUI interface in Visual Basic to track an IP address
http://www.youtube.com/watch?v=hkDD03yeLnU


Code: Select all
And what does a comma do, a comma does nothing but make easy a thing that if you like it enough is easy enough without the comma. A long complicated sentence should force itself upon you, make you know yourself knowing it and the comma, well at the most a comma is a poor period that lets you stop and take a breath but if you want to take a breath you ought to know yourself that you want to take a breath. It is not like stopping altogether has something to do with going on, but taking a breath well you are always taking a breath and why emphasize one breath rather than another breath. Anyway that is the way I felt about it and I felt that about it very very strongly. And so I almost never used a comma. The longer, the more complicated the sentence the greater the number of the same kinds of words I had following one after another, the more the very more I had of them the more I felt the passionate need of their taking care of themselves by themselves and not helping them, and thereby enfeebling them by putting in a comma.
So that is the way I felt about punctuation in prose, in poetry it is a little different but more so …

— Gertrude Stein
from Lectures in America
Josiah Hartzell
Image
cobra
 
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States

Postby Radikalizm » Wed Mar 23, 2011 4:35 pm

cobra wrote:GUI interface in Visual Basic to track an IP address
http://www.youtube.com/watch?v=hkDD03yeLnU


Super facepalm :D
Radikalizm
 
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Postby viejodani » Wed Mar 23, 2011 5:19 pm

Image
-- Never lose your sense of wonder --
User avatar
viejodani
 
Posts: 32
Joined: Tue Nov 10, 2009 3:09 pm

PreviousNext

Return to Off-topic

Who is online

Users browsing this forum: No registered users and 0 guests