Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 43 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Todd Nathan  
View profile  
 More options Feb 21 2005, 10:29 am
Newsgroups: comp.lang.ruby
From: Todd Nathan <io...@yahoo.com>
Date: Tue, 22 Feb 2005 00:29:23 +0900
Local: Mon, Feb 21 2005 10:29 am
Subject: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Neukirchen  
View profile  
 More options Feb 23 2005, 8:35 am
Newsgroups: comp.lang.ruby
From: Christian Neukirchen <chneukirc...@gmail.com>
Date: Wed, 23 Feb 2005 22:35:29 +0900
Local: Wed, Feb 23 2005 8:35 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Bill Guindon <agori...@gmail.com> writes:
> On Wed, 23 Feb 2005 08:23:08 +0900, David A. Black <dbl...@wobblini.net> wrote:

>> Is that "pretty" as in "somewhat", or "pretty" as in "nice-looking"?
>> :-)

> How about "pretty" and "pretty unreadable"?
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/124391

Don't tell me you can't read base64! :P

(It may be unreadable, but it isn't really obfuscated...)

> I'm still impressed by that one (obviously)

Well, thank you.

--
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David A. Black  
View profile  
 More options Feb 23 2005, 8:52 am
Newsgroups: comp.lang.ruby
From: "David A. Black" <dbl...@wobblini.net>
Date: Wed, 23 Feb 2005 22:52:06 +0900
Local: Wed, Feb 23 2005 8:52 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
Hi --

On Wed, 23 Feb 2005, Christian Neukirchen wrote:
> Matt Lawrence <m...@technoronin.com> writes:

>> On Wed, 23 Feb 2005, Yukihiro Matsumoto wrote:

>>> Well, it is a good chance to prove them we can write pretty unreadable
>>> code as well as readable code.

>> There are already too many Ruby books that I can't read.  :-)

> Now, "Ruby, the language where the documentation is more unreadable
> than the source" wouldn't be that good news, probably. :)

I think the books Matt is referring to are perfectly readable, if you
know Japanese :-)

David

--
David A. Black
dbl...@wobblini.net


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Neukirchen  
View profile  
 More options Feb 23 2005, 8:02 am
Newsgroups: comp.lang.ruby
From: Christian Neukirchen <chneukirc...@gmail.com>
Date: Wed, 23 Feb 2005 22:02:19 +0900
Local: Wed, Feb 23 2005 8:02 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
Josef 'Jupp' Schugt <j...@gmx.de> writes:

> Todd Nathan wrote:
>> 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."

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

Seriously, a deobfuscation contest of the winners is planned, too.

> Josef 'Jupp' Schugt

--
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Kellett  
View profile  
 More options Feb 22 2005, 5:20 pm
Newsgroups: comp.lang.ruby
From: Alexander Kellett <ruby-li...@lypanov.net>
Date: Wed, 23 Feb 2005 07:20:29 +0900
Local: Tues, Feb 22 2005 5:20 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
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

On Feb 22, 2005, at 10:37 PM, Josef 'Jupp' Schugt wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yukihiro Matsumoto  
View profile  
 More options Feb 22 2005, 6:07 pm
Newsgroups: comp.lang.ruby
From: Yukihiro Matsumoto <m...@ruby-lang.org>
Date: Wed, 23 Feb 2005 08:07:49 +0900
Local: Tues, Feb 22 2005 6:07 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
Hi,

In message "Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)"
    on Wed, 23 Feb 2005 06:37:50 +0900, Josef 'Jupp' Schugt <j...@gmx.de> writes:

|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."

Well, it is a good chance to prove them we can write pretty unreadable
code as well as readable code.

                                                        matz.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Guindon  
View profile  
 More options Feb 22 2005, 6:42 pm
Newsgroups: comp.lang.ruby
From: Bill Guindon <agori...@gmail.com>
Date: Wed, 23 Feb 2005 08:42:46 +0900
Local: Tues, Feb 22 2005 6:42 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
On Wed, 23 Feb 2005 08:23:08 +0900, David A. Black <dbl...@wobblini.net> wrote:

How about "pretty" and "pretty unreadable"?
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/124391

I'm still impressed by that one (obviously)

--
Bill Guindon (aka aGorilla)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yukihiro Matsumoto  
View profile  
 More options Feb 22 2005, 8:08 pm
Newsgroups: comp.lang.ruby
From: Yukihiro Matsumoto <m...@ruby-lang.org>
Date: Wed, 23 Feb 2005 10:08:01 +0900
Local: Tues, Feb 22 2005 8:08 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

In message "Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)"
    on Wed, 23 Feb 2005 08:23:08 +0900, "David A. Black" <dbl...@wobblini.net> writes:

|> Well, it is a good chance to prove them we can write pretty unreadable
|> code as well as readable code.
|
|Is that "pretty" as in "somewhat", or "pretty" as in "nice-looking"?
|:-)

Both, of course.  I'm glad you've found the pun.

                                                        matz.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shalev NessAiver  
View profile  
 More options Feb 22 2005, 7:05 pm
Newsgroups: comp.lang.ruby
From: Shalev NessAiver <sha...@simplyphysics.com>
Date: Wed, 23 Feb 2005 09:05:16 +0900
Local: Tues, Feb 22 2005 7:05 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
WoW

On Feb 22, 2005, at 6:42 PM, Bill Guindon wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ochronus  
View profile  
 More options Feb 22 2005, 6:25 pm
Newsgroups: comp.lang.ruby
From: Ochronus <ochro...@gmail.com>
Date: Wed, 23 Feb 2005 08:25:40 +0900
Local: Tues, Feb 22 2005 6:25 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
Josef 'Jupp' Schugt írta:

> Todd Nathan wrote:

>> 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

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josef 'Jupp' Schugt  
View profile  
 More options Feb 22 2005, 4:37 pm
Newsgroups: comp.lang.ruby
From: "Josef 'Jupp' Schugt" <j...@gmx.de>
Date: Wed, 23 Feb 2005 06:37:50 +0900
Local: Tues, Feb 22 2005 4:37 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Todd Nathan wrote:
> 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
--
Currently running Aurox 10.1 Quicksilver.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Neukirchen  
View profile  
 More options Feb 23 2005, 8:37 am
Newsgroups: comp.lang.ruby
From: Christian Neukirchen <chneukirc...@gmail.com>
Date: Wed, 23 Feb 2005 22:37:06 +0900
Local: Wed, Feb 23 2005 8:37 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Matt Lawrence <m...@technoronin.com> writes:
> On Wed, 23 Feb 2005, Yukihiro Matsumoto wrote:

>> Well, it is a good chance to prove them we can write pretty unreadable
>> code as well as readable code.

> There are already too many Ruby books that I can't read.  :-)

Now, "Ruby, the language where the documentation is more unreadable
than the source" wouldn't be that good news, probably. :)

> -- Matt

--
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David A. Black  
View profile  
 More options Feb 22 2005, 6:23 pm
Newsgroups: comp.lang.ruby
From: "David A. Black" <dbl...@wobblini.net>
Date: Wed, 23 Feb 2005 08:23:08 +0900
Local: Tues, Feb 22 2005 6:23 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
Hi --

On Wed, 23 Feb 2005, Yukihiro Matsumoto wrote:
> Hi,

> In message "Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)"
>    on Wed, 23 Feb 2005 06:37:50 +0900, Josef 'Jupp' Schugt <j...@gmx.de> writes:

> |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."

> Well, it is a good chance to prove them we can write pretty unreadable
> code as well as readable code.

Is that "pretty" as in "somewhat", or "pretty" as in "nice-looking"?
:-)

David

--
David A. Black
dbl...@wobblini.net


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Kellett  
View profile  
 More options Feb 23 2005, 10:04 am
Newsgroups: comp.lang.ruby
From: Alexander Kellett <ruby-li...@lypanov.net>
Date: Thu, 24 Feb 2005 00:04:34 +0900
Local: Wed, Feb 23 2005 10:04 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
On Feb 23, 2005, at 2:02 PM, Christian Neukirchen wrote:

> 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Roberts  
View profile  
 More options Feb 22 2005, 6:12 pm
Newsgroups: comp.lang.ruby
From: Sam Roberts <srobe...@uniserve.com>
Date: Wed, 23 Feb 2005 08:12:00 +0900
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
Quoting m...@ruby-lang.org, on Wed, Feb 23, 2005 at 08:07:49AM +0900:

> Hi,

> In message "Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)"
>     on Wed, 23 Feb 2005 06:37:50 +0900, Josef 'Jupp' Schugt <j...@gmx.de> writes:

> |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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Navindra Umanee  
View profile  
 More options Feb 23 2005, 10:26 am
Newsgroups: comp.lang.ruby
From: Navindra Umanee <navin...@cs.mcgill.ca>
Date: Thu, 24 Feb 2005 00:26:31 +0900
Local: Wed, Feb 23 2005 10:26 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Christian Neukirchen <chneukirc...@gmail.com> wrote:
> > How about "pretty" and "pretty unreadable"?
> > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/124391

> Don't tell me you can't read base64! :P

> (It may be unreadable, but it isn't really obfuscated...)

> > I'm still impressed by that one (obviously)

> Well, thank you.

I agree, you did some really clever work, including a generator
script, but in the end it's base64 and the resulting Ruby code is very
readable.

I've seen people going around with a simple base64 encode/decode Ruby
line in their .signatures.  It's just not impressive, people!  :-)

Cheers,
Navin.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Lawrence  
View profile  
 More options Feb 22 2005, 7:20 pm
Newsgroups: comp.lang.ruby
From: Matt Lawrence <m...@technoronin.com>
Date: Wed, 23 Feb 2005 09:20:34 +0900
Local: Tues, Feb 22 2005 7:20 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

On Wed, 23 Feb 2005, Yukihiro Matsumoto wrote:
> Well, it is a good chance to prove them we can write pretty unreadable
> code as well as readable code.

There are already too many Ruby books that I can't read.  :-)

-- Matt
Nothing great was ever accomplished without _passion_


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
io...@yahoo.com  
View profile  
 More options Feb 23 2005, 10:46 am
Newsgroups: comp.lang.ruby
From: io...@yahoo.com
Date: 23 Feb 2005 07:46:48 -0800
Local: Wed, Feb 23 2005 10:46 am
Subject: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
Dear Fellow Rubists,

The Official IORCC Rules and FAQ are now available online.

   http://iorcc.dyndns.org/

Please consider entering, judging or promoting this Ruby event.

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Lawrence  
View profile  
 More options Feb 23 2005, 11:19 am
Newsgroups: comp.lang.ruby
From: Matt Lawrence <m...@technoronin.com>
Date: Thu, 24 Feb 2005 01:19:46 +0900
Local: Wed, Feb 23 2005 11:19 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

On Wed, 23 Feb 2005, Christian Neukirchen wrote:
> Matt Lawrence <m...@technoronin.com> writes:

>> On Wed, 23 Feb 2005, Yukihiro Matsumoto wrote:

>>> Well, it is a good chance to prove them we can write pretty unreadable
>>> code as well as readable code.

>> There are already too many Ruby books that I can't read.  :-)

> Now, "Ruby, the language where the documentation is more unreadable
> than the source" wouldn't be that good news, probably. :)

Personally, I find the book on Ruby Internals to be impossible for me to
read.

-- Matt
Nothing great was ever accomplished without _passion_


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Neukirchen  
View profile  
 More options Feb 23 2005, 11:34 am
Newsgroups: comp.lang.ruby
From: Christian Neukirchen <chneukirc...@gmail.com>
Date: Thu, 24 Feb 2005 01:34:45 +0900
Local: Wed, Feb 23 2005 11:34 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Alexander Kellett <ruby-li...@lypanov.net> writes:
> On Feb 23, 2005, at 2:02 PM, Christian Neukirchen wrote:
>> 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?

Now, *that* would explain lots... }:-) Excellent book, btw.

> Alex

--
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Neukirchen  
View profile  
 More options Feb 23 2005, 11:40 am
Newsgroups: comp.lang.ruby
From: Christian Neukirchen <chneukirc...@gmail.com>
Date: Thu, 24 Feb 2005 01:40:13 +0900
Local: Wed, Feb 23 2005 11:40 am
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

How about:

puts [926381,23200231779,1299022,1045307475].map{|n|
n.to_s(?$).send n%9==0&&:to_s||:capitalize}.join(" ")<<","

My favorite stays:

s=",GreEkcaSh BODybuILDER ALBreChtAMMOonIa tSUNEMATsuJ";
puts lambda{|f|h=lambda{|h|lambda{|x|f[h[h]][x]}};h[h]}[
lambda{|f|lambda do|h|h[0]?f[h[1..-1]]<<h[0]:[];end}][s.
delete(*%w{A-Z ^JR})].#See King James text of the bible:
pack("c*")## "Y do ye not understand my speech?", John 8

> Cheers,
> Navin.

srand 52019;puts"Azzp!bljqkmw!Xrfy!nmgaiq!".
unpack(%q(c*)).map{|x|x^rand(16)}.pack('c*')
--
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Schröder  
View profile  
 More options Feb 23 2005, 12:56 pm
Newsgroups: comp.lang.ruby
From: Brian Schröder <ruby.br...@gmail.com>
Date: Thu, 24 Feb 2005 02:56:17 +0900
Local: Wed, Feb 23 2005 12:56 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)
On Thu, 24 Feb 2005 01:40:13 +0900, Christian Neukirchen

On my machine:
$ uname -a
Linux silver.wg 2.6.9silver #1 Mon Jan 10 14:43:04 CET 2005 i686 GNU/Linux
$ ruby -v
ruby 1.8.2 (2005-01-10) [i386-linux]

That evaluates to:
$ ruby -e 'srand 52019;puts"Azzp!bljqkmw!Xrfy!nmgaiq!".
unpack(%q(c*)).map{|x|x^rand(16)}.pack("c*")'
Gwvz&baf|ej}%T{a|.ikhbcw)

And I thought it was about obfuscating the code, not the answer ;)

cheers,

Brian

--
Brian Schröder
http://ruby.brian-schroeder.de/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Neukirchen  
View profile  
 More options Feb 23 2005, 1:08 pm
Newsgroups: comp.lang.ruby
From: Christian Neukirchen <chneukirc...@gmail.com>
Date: Thu, 24 Feb 2005 03:08:34 +0900
Local: Wed, Feb 23 2005 1:08 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Brian Schröder <ruby.br...@gmail.com> writes:
> On my machine:
> $ uname -a
> Linux silver.wg 2.6.9silver #1 Mon Jan 10 14:43:04 CET 2005 i686 GNU/Linux
> $ ruby -v
> ruby 1.8.2 (2005-01-10) [i386-linux]

> That evaluates to:
> $ ruby -e 'srand 52019;puts"Azzp!bljqkmw!Xrfy!nmgaiq!".
> unpack(%q(c*)).map{|x|x^rand(16)}.pack("c*")'
> Gwvz&baf|ej}%T{a|.ikhbcw)

> And I thought it was about obfuscating the code, not the answer ;)

> cheers,

Very interesting...

$ uname -a
Darwin lilith.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22
14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power
Macintosh powerpc
$ ruby -v
ruby 1.8.2 (2004-12-25) [powerpc-darwin7.7.0]

And it works.  BTW, I've coded that on an Athlon XP on Kernel 2.6.0
with ruby 1.8.1...

Has the RNG changed recently?

> Brian

--
Christian Neukirchen  <chneukirc...@gmail.com>  http://chneukirchen.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin DeMello  
View profile  
 More options Feb 23 2005, 1:29 pm
Newsgroups: comp.lang.ruby
From: Martin DeMello <martindeme...@yahoo.com>
Date: Wed, 23 Feb 2005 18:29:31 GMT
Local: Wed, Feb 23 2005 1:29 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Christian Neukirchen <chneukirc...@gmail.com> wrote:

> My favorite stays:

> s=",GreEkcaSh BODybuILDER ALBreChtAMMOonIa tSUNEMATsuJ";
> puts lambda{|f|h=lambda{|h|lambda{|x|f[h[h]][x]}};h[h]}[
> lambda{|f|lambda do|h|h[0]?f[h[1..-1]]<<h[0]:[];end}][s.
> delete(*%w{A-Z ^JR})].#See King James text of the bible:
> pack("c*")## "Y do ye not understand my speech?", John 8

Very neat, though the "suJ" sequence gives it away.

martin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Navindra Umanee  
View profile  
 More options Feb 23 2005, 6:19 pm
Newsgroups: comp.lang.ruby
From: Navindra Umanee <navin...@cs.mcgill.ca>
Date: Thu, 24 Feb 2005 08:19:19 +0900
Local: Wed, Feb 23 2005 6:19 pm
Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC)

Brian Schröder <ruby.br...@gmail.com> wrote:
> That evaluates to:
> $ ruby -e 'srand 52019;puts"Azzp!bljqkmw!Xrfy!nmgaiq!".
> unpack(%q(c*)).map{|x|x^rand(16)}.pack("c*")'
> Gwvz&baf|ej}%T{a|.ikhbcw)

> And I thought it was about obfuscating the code, not the answer ;)

So ruby -e 'srand 52019; puts rand(16)' prints 6 for you, not 11?

Maybe it's only guaranteed to be deterministic on a particular
machine.  Hey, I guess you ask for random, you get random!

Cheers,
Navin.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 43   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google