User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » What's that computer program... Page [1]  
moron
All American
34144 Posts
user info
edit post

Someone posted a program a while ago, in a thread about weird programs, that had an expansion of Pi in it, but did something totally unrelated to Pi (it printed out 3 letters very large, that were each composed of individual characters of those letters, or something like that).

1/2/2008 3:09:44 AM

Prospero
All American
11662 Posts
user info
edit post

only one i can think of is a cpu benchmark:
http://en.wikipedia.org/wiki/Super_PI

but i don't think that's the one you're thinking of

1/2/2008 1:16:18 PM

moron
All American
34144 Posts
user info
edit post

No, this was like gimmick programs. There's a special name for them... like a program that does something that it wouldn't look like it would do.

I actually think it was joe_schmoe that posted it... maybe i'll shoot him a PM.

1/2/2008 2:31:33 PM

Aficionado
Suspended
22518 Posts
user info
edit post

sounds like it rastered an image using pi

1/2/2008 2:54:23 PM

moron
All American
34144 Posts
user info
edit post

Well, it was all ASCII.

1/2/2008 3:09:39 PM

joe17669
All American
22728 Posts
user info
edit post

http://www.figlet.org/ ?

1/2/2008 3:16:03 PM

joe_schmoe
All American
18758 Posts
user info
edit post

term is "obfuscated"

as in, The 0th Annual Obfuscated Perl Contest put on by The Perl Journal in 1996. this was one of the winning programs.

Think: Carl Sagan's Contact

Quote :
"

$maxerrors = 220; # needs tuning

$pi = reverse "3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378201667323156423156323187423187323128423128323658323697323647223923101167323156423156323287323187423128323128323158423158323197423197323147723923101167323656323187123187223187423528323158423158323197423197323147723923101167323156423156323187223187123187323128423128323158423158323197423197323147723923101167423456423187323287323628323158423158323697323147723923301723923101667323128423128323696823108823101167423128323128823196823108823101167423528623396423508823101167323128423128823196323108423108823101167323628323696323608823401696323127423127623148223101196323127423127623148223101923396323627623148223101196323127423127623148223101696323127423127423548101";

while ($offset < length($pi)) {
my($x) = substr($pi, $offset +++ 0, 2);
my($y) = substr($pi, $offset +++ 1, 1); # XXX should be 3?
my($z) = substr($pi, $offset +++ 2, 1);
if ($x * cos($y) / cos($z)) {
$dbg .= chr ($x) x $y;
if (++$errors >= $maxerrors) { # "cannot happen"
die("$dbg\n");
}
}
} # passes sig test
print("ok!\n");
"








[Edited on January 2, 2008 at 6:00 PM. Reason : make sure the string for PI doesnt have any whitespace]

1/2/2008 5:48:32 PM

qntmfred
retired
40726 Posts
user info
edit post

^ yep, that's it. i've posted it in here a few times before

1/2/2008 6:43:19 PM

moron
All American
34144 Posts
user info
edit post

That's exactly what I was looking for, thanks!

1/2/2008 7:54:54 PM

joe_schmoe
All American
18758 Posts
user info
edit post

^^ boolshit mofucker

all you did was just fuck it up when you cut and pasted it from me.

1/2/2008 11:33:11 PM

WolfAce
All American
6458 Posts
user info
edit post

uh ohs stealing code

you're going to jail

1/2/2008 11:40:07 PM

qntmfred
retired
40726 Posts
user info
edit post

cut and pasted from you? au contraire. i know i remember it from at least message_topic.aspx?topic=406961. i prolly saw it on thedailywtf.com or something

1/3/2008 12:18:34 AM

joe_schmoe
All American
18758 Posts
user info
edit post

um, okay, if you say so...

but that link has nothing related to the program we're talking about here

1/3/2008 2:42:45 AM

 Message Boards » Tech Talk » What's that computer program... Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.