Top
Best
New

Posted by surprisetalk 4 days ago

A quine in Piet – a GIF image that prints itself [video](www.youtube.com)
76 points | 9 comments
chao- 20 hours ago|
Every time I peek at the code from something by Mr. Endoh, I end up down a rabbit hole and learn something. I look forward to what this one brings. Probably looking into this Piet language: https://www.dangermouse.net/esoteric/piet.html

Another awe-inspiring quine of his, from about a decade ago, is the 128-language ouroboros quine:

https://github.com/mame/quine-relay

capitainenemo 16 hours ago|
The esolang wiki has a few simpler to grasp piet examples too. https://esolangs.org/wiki/Piet
vok 14 hours ago||
The examples:

https://www.dangermouse.net/esoteric/piet/samples.html

The last one is astonishing: "Okay, this one is really wild. Piet J. (yes, that's his real name) was browsing art in a small gallery and saw a work which reminded him of a Piet program. He spoke to the artist, who claimed to know nothing about the language. Piet took a photo of the artwork (left), converted it into a clean image file using close colours from the Piet palette (right), and tried running it.

It ran!..."

jamesaross 12 hours ago||
If you like quines with a visual output like this, I recently taped out an self-reproducing ASIC which displays it's own Verilog source over VGA. https://github.com/jar/ttsky26a_prime_quine

You may view the simulated output: https://vga-playground.com/?repo=https://github.com/jar/ttsk...

laxisOp 12 hours ago||
Naive question:what it actually is .and what is usecase
rashkov 12 hours ago|
a quine is a program that prints its own source code. The usecase is to inspire
sargstuff 10 hours ago||
Could use vonori / conformal map[0][1] in order to support the decomposition of a complex problem into individual parts/piet blocks. aka go from base 2 gotos to base N gotos.

--------

[0] : Conformal Mapping by Computationally Efficient Methods : https://cdn.aaai.org/ojs/7676/7676-13-11206-1-2-20201228.pdf

[1] : dictionary of conformal mapping : https://web.archive.org/web/20130407075256/http://math.fulle...

"considered harmful" [gotos/globals/etc] : http://en.wikipedia.org/wiki/Considered_harmful

"A case against the GO TO statement" : https://www.cs.utexas.edu/~EWD/transcriptions/EWD02xx/EWD215...

sri9s 15 hours ago||
this is amazing
Joabpeters 13 hours ago|
I just created an API that found this news right now and it's amazing how it works because i can't believe it actually pulled a news from here