From: Robert Dober Date: 2009-06-01T23:56:10+09:00 Subject: Re: Quine (#207) On Mon, Jun 1, 2009 at 3:54 PM, Brian Candler wrote: > Robert Dober wrote: >> On Mon, Jun 1, 2009 at 3:20 PM, Brian Candler >> wrote: >>> >>> � �cat quine.rb | ruby >>> >>> � �cat quine.rb | ruby | diff -u quine.rb - >>> >>> That eliminates tricks with __FILE__ and $0. >>> >> Good thinking, but the "optimal" solution still passes ;) > > Sure - the trivial quine is valid. I can also run it on my network which > has zero nodes. True but you cannot test it on your network with zero nodes, but I have a network with zero nodes too, maybe we can come up with something like Map Reduce ( or was that Collect Inject :-O) > -- > Posted via http://www.ruby-forum.com/. > > -- Toutes les grandes personnes ont d’abord été des enfants, mais peu d’entre elles s’en souviennent. All adults have been children first, but not many remember. [Antoine de Saint-Exupéry]