ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

T

Todd Nathan

Dear Fellow Rubists,

My name is Todd Nathan, and it is with great pleasure
to annouce the opening of 2005 IORCC. The Official
International Obfuscated Ruby Code Contest Rules and
FAQ are now online. Please consider entering your
most obfuscated Ruby program, or becoming a judge.

The Official IORCC site: http://iorcc.dyndns.org/

Warm regards,

Todd Nathan
IORCC Founder/Judge
(SeaForth) irc://irc.freenode.net/
http://iorcc.dyndns.org/

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 
J

Josef 'Jupp' Schugt

Todd said:
it is with great pleasure to annouce the opening of 2005 IORCC.

1st price: "Advanced Obfuscation: Perl for Ruby Programmers"
2nd price: "More Awkward Obfuscation: AWK for Ruby Programmers"
3rd price: "Obfuscation by Parenthesis: Lisp for Ruby Programmers"
4th price: "How to shoot yourself in the foot"

An ORCC doesn't seem to be a good idea. I already hear them saying "See
this? They keep on saying that Ruby code is much cleaner than Perl code.
Don't believe their lies."

Josef 'Jupp' Schugt
 
A

Alexander Kellett

you're just annoyed cus you can't write crap code!
well i can! so let me at it! yay! yay me! etc. oh.
erm. ummm. la la la
 
S

Sam Roberts

Quoting (e-mail address removed), on Wed, Feb 23, 2005 at 08:07:49AM +0900:
Hi,

In message "Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)"

|An ORCC doesn't seem to be a good idea. I already hear them saying "See
|this? They keep on saying that Ruby code is much cleaner than Perl code.
|Don't believe their lies."

Powerful languages allow obfuscation. Weak languages only allow garbage
code.

Anybody looking at the code in an obfuscated coding contest as an
example of how unreadable a language is severely misses the point.

Sam
 
O

Ochronus

Josef 'Jupp' Schugt írta:
1st price: "Advanced Obfuscation: Perl for Ruby Programmers"
2nd price: "More Awkward Obfuscation: AWK for Ruby Programmers"
3rd price: "Obfuscation by Parenthesis: Lisp for Ruby Programmers"
4th price: "How to shoot yourself in the foot"

An ORCC doesn't seem to be a good idea. I already hear them saying "See
this? They keep on saying that Ruby code is much cleaner than Perl code.
Don't believe their lies."

Josef 'Jupp' Schugt

Obfuscated codes promote exactly two things, not less, not more:
1, the flexibility of the target language
2, the talent and creativity of the author

I can only look up to those who write such high quality codes :) It does
not mean that they are
not capable to write clean, well-structured ones, on the contrary, most
of the times it shows their
deep understanding of both "sides".

For another point, any idea which puts ruby in the spotlight is more
than welcomed, I think, for
what ruby needs now more than anything else is popularity... and fun
around it, like this obfuscated
contest or the ruby quiz is exactly the thing for it - improving morale,
stirring up any still water, etc.


Regards,
Ochronus
 
A

Alexander Kellett

I wonder how the perl community reacted on books like "Object-oriented
Perl" by Conway... :p

as far as i can tell more people (e.g me) in the ruby community
have read books such as that than people in the perl community.

sad ain't it?

Alex
 
L

Lloyd Zusman

ruby -e 'def x(n,m)z=n;(m-1).times{|x|z*=n};z;end
def f(n)d=2;r=[];while(d*d)<n do t=0;while((n%d)==0)do
n=(n/d).to_i;t+=1;end;while(t>0)do t-=1;r<<d;end;d+=(1+(d%2));end
(r<<n)if(n>1);r;end;p f((x(3,2).to_s+x(2,5).to_s).to_i).inject{
|x,y|x+y}.to_s.split(//).inject(1){|a,b|a*b.to_i}'
 
J

Josef 'Jupp' Schugt

Christian said:
I wonder how the perl community reacted on books like
"Object-oriented Perl" by Conway... :p

"Who needs yet another way to do it?" I suppose.

Josef 'Jupp' Schugt
 
J

Josef 'Jupp' Schugt

Alexander said:
you're just annoyed cus you can't write crap code!

It only seems more natural to use C for that. The following is a quick
and dirty hack to compute n! I wrote yesterday - without having
obfuscation in mind. It's simply my way of writing C. Blame it on my
tutorial - K&R.

#include <stdio.h>
#include <stdlib.h>
int main(int argc,char*argv[]){
unsigned long long i,fac;
for(i=fac=atoi(argv[1]);i>2;fac*=(--i));
return(printf("%ll\n",fac)==1);
}

To me Ruby is a tool for elegant solutions:

ruby -e 'puts (1..10).inject{|f,x| f*x}'

Josef 'Jupp' Schugt
 
L

Lloyd Zusman

Christian Neukirchen said:
Lloyd Zusman said:
ruby -e 'def x(n,m)z=n;(m-1).times{|x|z*=n};z;end
def f(n)d=2;r=[];while(d*d)<n do t=0;while((n%d)==0)do
n=(n/d).to_i;t+=1;end;while(t>0)do t-=1;r<<d;end;d+=(1+(d%2));end
(r<<n)if(n>1);r;end;p f((x(3,2).to_s+x(2,5).to_s).to_i).inject{
|x,y|x+y}.to_s.split(//).inject(1){|a,b|a*b.to_i}'

Now, that's a lotta code to calculate 6*9. :)

Hey, this is nothing. They had a planet-sized computer working for
nearly 10 million years on that calculation.

Life ... don't talk to me about life ...
 
A

Alexander Kellett

#include <stdio.h>
#include <stdlib.h>
int main(int argc,char*argv[]){
unsigned long long i,fac;
for(i=fac=atoi(argv[1]);i>2;fac*=(--i));
return(printf("%ll\n",fac)==1);
}

dunno why anyone would find that wierd...
you should see some of my c/c++ code with
method-template/class-template/macros mixes
it makes most c++ coders ask for explanations...
To me Ruby is a tool for elegant solutions:

i think the point here is "to me"
to me ruby is a tool for having fun
while making useful stuff :)

Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top