4 ms·
It's like a quine almost. My favorite quine is...http://aem1k.com/world/ http://aem1k.com/world/ (view source)
by Exuma 10y ago
It's like a quine almost. My favorite quine is...http://aem1k.com/world/ http://aem1k.com/world/ (view source)
- nkoren 10y agoThat is outrageously wonderful. Thank you!
- djsumdog 10y agoHave you seen this one? It's insane: https://github.com/mame/quine-relay https://github.com/mame/quine-relay
- TuringTest 10y agoIt's awesome how it can maintain the image layout in the source code through those 100 transformations. I wonder whether it reads its own source code file to detect where to put the spaces for the image, or is it all encoded as data in the ruby program itself? I suppose it's the latter (otherwise it wouldn't qualify as a quine), but I can't figure out how it is encoded.
- nacs 10y agoIt appears all the languages' code is encoded in the `code_gen.rb` file: https://github.com/mame/quine-relay/blob/master/src/code-gen.rb#L1030-L1056 https://github.com/mame/quine-relay/blob/master/src/code-gen... < VB https://github.com/mame/quine-relay/blob/master/src/code-gen.rb#L120-L146 https://github.com/mame/quine-relay/blob/master/src/code-gen... < PHP
- power78 10y agoHow is that possible?