Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If I'm following https://github.com/mame/radiation-hardened-quine#abnormal-us... correctly, that's exactly what he did!
If there were more languages, then it'd be `console.log("System.out.println({python_source})")`, etc. The problem then becomes quoting and escaping inner quotes. I managed to avoid the problem by using both single and double quotes, and relying on Python's `repr` also giving valid JS strings, but if I had to add one more language I'd have problems.
I still think the Quine Relay is a tour de force, but for different reasons. It's not 128 quines in different languages, but an incredibly robust system for quoting and escaping strings in 128 different languages.
[1] https://github.com/mame/quine-relay/blob/master/src/code-gen...
Or this one [3] that calculates pi by estimating its own surface area.
Or this one [4]. It's a lovers quarrel, written simultaneously in C and English. It's incredible, seriously, read it.
[0]: https://www.ioccc.org/
Here is something quite similar I've just made, but in the image domain :
https://github.com/unrealwill/uncroppable
It's a tool POC to steganographically encode an image into itself to make it crop resistant.
Related posts
- Quine Relay: An uroboros program with 100 programming languages
- Quine Relay – An uroboros program with 100 programming languages
- JavaScript forbidden practices. Part 4: self-documenting code
- High Te/Ti users, explain to me a fact (scientific/business/practical...) in stupid terms.
- What do you do to achieve this catastrophy?