![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
http://nanochess.110mb.com/chess3.html
--
Darren New, San Diego CA, USA (PST)
Understanding the structure of the universe
via religion is like understanding the
structure of computers via Tron.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New wrote:
> http://nanochess.110mb.com/chess3.html
That is exceedingly disturbing.
--
Tim Cook
http://empyrean.freesitespace.net
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New schrieb:
> http://nanochess.110mb.com/chess3.html
CAUTION:
My virus scanner warns me about some of that page's content! I didn't
check whether it's a true or false alert, but I'd recommend a heightened
attention to potential security issues when visiting that page.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> http://nanochess.110mb.com/chess3.html
that man is clearly a real programmer. ^_^
also amazing the things he does with javascript, the zooming of the photo...
checked the source? :)
http://nanochess.110mb.com/efectos.js
perhaps he generated it from perl... :P
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> http://nanochess.110mb.com/chess3.html
That's pretty amazing. Did you try it? How well does it play? I mean, not
well of course, but is it at least somewhat competent? I saw a similar program
whose features included occasional suicide and such. One of those "features,
not bugs" sort of things.
I've played around with these obfuscated things a little, and I was pretty
surprised how much you can fit in a kilobyte or two of c. Not to toot my own
horn, but I'm not a skilled programmer in the least, and for 1728 bytes, I
managed to get a 3D incompressible fluid simulator with temperature convection
and buoyancy, adjustable size, an X11 display, volume rendering with faked
scattering, and animation output and playback. Of course it's no chess
program, but the only trick is to do exactly what he did and iterate about five
times, realizing each time the way you should have done it. It's actually
pretty addicting... I think the most elegant I ever saw was this:
http://www.ioccc.org/2000/dhyang.c
- Ricky
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Darren New
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 01:04:54
Message: <4a976576$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
triple_r wrote:
> Darren New <dne### [at] san rr com> wrote:
>> http://nanochess.110mb.com/chess3.html
>
> That's pretty amazing. Did you try it?
No. He says it goes 6 ply on that page, tho.
--
Darren New, San Diego CA, USA (PST)
Understanding the structure of the universe
via religion is like understanding the
structure of computers via Tron.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
triple_r schrieb:
> I think the most elegant I ever saw was this:
>
> http://www.ioccc.org/2000/dhyang.c
Only looks that elegant at first glance, until you notice that he's
actually kind of cheating: First line defines a single-character empty
preprocessor macro, which he makes quite liberal use of to achieve the
desired formatting of the code.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
clipka <ano### [at] anonymous org> wrote:
> Only looks that elegant at first glance, until you notice that he's
> actually kind of cheating: First line defines a single-character empty
> preprocessor macro, which he makes quite liberal use of to achieve the
> desired formatting of the code.
Did you run it? If you run it, the output is a different beautifully-formatted
c-code. If you run that, the output is another formatted c-code. If you run
that, the output is another formatted c-code. If you run that, the output is
the first result again. Basically:
original -> #1
#1 -> #2
#2 -> #3
#3 -> #1
It's probably more mundane than it looks, but at a glance it's pretty slick.
Maybe RLE compression?
- Ricky
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Warp
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 08:34:34
Message: <4a97ceda@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
triple_r <nomail@nomail> wrote:
> Did you run it? If you run it, the output is a different beautifully-formatted
> c-code. If you run that, the output is another formatted c-code. If you run
> that, the output is another formatted c-code. If you run that, the output is
> the first result again. Basically:
> original -> #1
> #1 -> #2
> #2 -> #3
> #3 -> #1
It's one of the best self-replicating programs I have ever seen.
Most self-replicating programs just replicate themselves, and that's it.
No ascii art either.
This program, however, prints a different program, which prints a third
program, which prints the original program. And all these programs use
ascii art formatting. That's some self-replication there.
It's just incredible how he could store the *shapes* of all four programs
inside a single self-replicating program.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Darren New
Subject: Re: You thought 4K graphics demos were impressive?
Date: 28 Aug 2009 12:31:21
Message: <4a980659$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Warp wrote:
> It's one of the best self-replicating programs I have ever seen.
FWIW, this is called a "quine", after the philosopher Quine.
http://en.wikipedia.org/wiki/Quine
--
Darren New, San Diego CA, USA (PST)
Understanding the structure of the universe
via religion is like understanding the
structure of computers via Tron.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |