top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: Did somebody say "pi"
Reverend Evil
Posts: 12500
Location: Wynnum, Queensland
Are you ready to have fun and learn at the same time? I know I am.

Here is an awesome filmclip that shows learning can be fun. Also weighs in at 16.6meg for the bandwidth challenged.

Right click, save as and get learning!!

8-)
system
--
Crizane Tribal
Posts: 818
Location: Brisbane, Queensland
I swear rev, if this clip is crap not even the collective love of this forum for you will save you.
parabol
Posts: 1815
Location: Brisbane, Queensland
I have absolutely no idea what the link is about so I'll add a post about an obfuscated C program that weirdly calculates pi to 3 decimal places by analysing its own source-code (I think).

Grab the file from the link above and compile it for yourself if you don't believe :)

http://homepage.powerup.com.au/~boldajis/images/pi.jpg


last edited by parabol at 23:26:11 17/Oct/05
Crizane Tribal
Posts: 819
Location: Brisbane, Queensland
Ow, parabol just raped my eyes! *_*
nF
Posts: 11524
Location: Wynnum, Queensland
Avagadro's > Pi
whoop
Posts: 9273
Location: Brisbane, Queensland
I have a text file here of pi to 400 million decimal places. Who wants a 400meg text file? anyone?

edit: just watched it and all I can say is wtf?

last edited by whoop at 23:58:27 17/Oct/05
möoby
Posts: 2973
Location: UK
I have a text file here of pi to 400 million decimal places. Who wants a 400meg text file? anyone?


why dude? i think its time u got help... or a girl friend.
DM
Posts: 98
Location: Gold Coast, Queensland
i feel mentaly raped after trying to understand parabol's post
Crizane Tribal
Posts: 821
Location: Brisbane, Queensland
Rev... WTF? That video scared the f*** out of me. Although I must admit it would be cool to watch while using some sort of mind altering substance :P

Also, I just want to hit that little fat girl. What is it that makes you want to hit fat kids?
Astroboy
Posts: 2913
Location: Brisbane, Queensland
just watched it and all I can say is wtf?
scuzzy
Posts: 11623
Location: Brisbane, Queensland
mmmm pie
Persay
Posts: 3451
Location: Brisbane, Queensland
haha im gonna show this to my students one day
Opec
Posts: 3608
Location: Brisbane, Queensland
Please correct the mispell in your subject to pie before trog sees it.
demon
Posts: 1753
Location: Brisbane, Queensland
that movie is pretty wack... dunno how educational it'd be either... i didnt learn a thing.
I have a text file here of pi to 400 million decimal places. Who wants a 400meg text file? anyone?

how pointless... just delete it & use 22/7 plz
A_W
Posts: 679
Location: Brisbane, Queensland
just watched it and all I can say is wtf?
Hogfather
Posts: 814
Location: Cairns, Queensland

Haha parabol, you just gave all the devs here a "wtf" moment.

One of them is pulling apart that c now you've set him off ;)
casa-werk
Posts: 10
Location: Brisbane, Queensland

This is the single most nerdiest thread of all time.
hUON
Posts: 153
Location: Brisbane, Queensland
For someting to do (while taking a break from my programming assignment) I ran parabols code through a c pre processor (to evaluate the #define). It suddenly became obvious how it worked, so here is the result. (Added a few comments for those not too familiar with C)


//global variables
long F=00;
long OO=00;

main()
{
F_OO(); //A function to initialise the values of F and OO

//Now that F has been initialised to -202 and OO has been initialised to -16
//It is pretty easy to see how the result is calculated. Incidentally the
//number "4." is a float not an int, so the result of the * operator will also
//be a float
printf("%1.3f\n", 4.*-F/OO/OO);
}

F_OO()
{
//The results of the following expressions are not important. The important thing
//is that the global variables F and OO are decremented. More importantly, F is
//decremented by every expression (202 times), while OO is only decremented by the expressions
//that begin (F--)>00 (16 times), this is because the second part of the or operation is only
//evaluated when the first part fails

(F--)>00 || F-(OO--);
-(F--)>00 || F-(OO--);
-(F--)>00 || F-(OO--);
-(F--)>00 || F-(OO--);

(F--)>00 || F-(OO--);
-(F--)>00 || F-(OO--);

:
:continues in this basic way for about 200 lines
:

-(F--)>00 || F-(OO--);
}


edit : abbreviated it a bit

last edited by hUON at 13:53:30 18/Oct/05
eXemplar
Posts: 1328
Location: Brisbane, Queensland
For the perl inclined, try to wrap your head around some of these, http://www.perlmonks.org/?node=Obfuscated%20Code
sc00bs
Posts: 2025
Location: Brisbane, Queensland
Did somebody say pie? No steve, not pie, pie.. oh :(


hahahahahhahaha
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.