Right on the Method Missing page, @mame, Ruby committer, #TRICK champion, the man who made a #Quine Relay across 128 languages, signed in with a tiny program:
> eval$s=%!puts"eval$s=%"<<33<<$s<<33 # Yusuke Endoh!
A self-printing Ruby one-liner. A #quine, written in a guestbook, by hand. Because that's how a
fox who breathes obfuscated #Ruby leaves their name.
#whysfoxes #WhysPoignantGuideToRuby #WPGTRPage190 #RubyLang #quine #TRICK #RubyLanguage
On the tangential topic of quines.
Here is my "due diligence".
By the way, in October I realized on my own a quine could be done with
`lambda' and `let', tried to work it out, ran out of time, left it
aside, and, alas, never went back to it...
(defun quinep (form)
"Test whether a non-atom FORM evaluates to itself.
Test equality with `equalp' for better coverage (of implementations
that construct structures when reading backquoted expressions)."
;; A justified use of `eval'.
(and (not (atom form))
(equalp form (eval form))))
;; NB: `*print-pretty*' may affect the printing of backquotes.
(defconstant pitmanual-funnies-eni-mmcm
'(LET ((LET '`(LET ((LET ',LET)) ,LET)))
`(LET ((LET ',LET)) ,LET))
"MMcM's quine.
See <https://maclisp.info/pitmanual/funnies.html#evaluating_new_ideas>,
«MMcM@MIT-AI 09/17/79 15:37:16 Re: ''s».")
(defconstant pitmanual-funnies-eni-rwk-kmp
'((LAMBDA (LAMBDA) (LIST (LIST 'LAMBDA '(LAMBDA) LAMBDA)
(LIST 'QUOTE LAMBDA)))
'(LIST (LIST 'LAMBDA '(LAMBDA) LAMBDA)
(LIST 'QUOTE LAMBDA)))
"RWK-KMP's quine.
See <https://maclisp.info/pitmanual/funnies.html#evaluating_new_ideas>,
«KMP,RWK@MIT-ML (Sent by KMP@MIT-ML) 09/18/79 03:37:32».")
(assert (quinep pitmanual-funnies-eni-mmcm))
(assert (quinep pitmanual-funnies-eni-rwk-kmp))
128개 프로그래밍 언어를 순환하는 콰인 릴레이: Quine Relay
Ruby로 시작해 Rust, Scala 등 128개 언어를 거쳐 다시 원래의 Ruby 코드로 돌아오는 거대한 순환형 콰인 프로그램이다.
Very similar to my interpretation of last year's Genuary 3 "42 Lines of Code" (link below), this code is a "Quine" that outputs itself into a stylized image using SVG curves and gradients.
MessyQuine
Video: https://youtu.be/nrUZabVzmgM
Blog: https://blog.illestpreacha.com/genuary2026quine
#Genuary #Genuary2026 #creativecoding #Genuary11 #electronicliterature #poem #quine
MessyQuine is coded in #P5Js and is a Moving,formatted and Jittery Quine Poem (Genuary 2026 Prompt 11).
Constructing the Word's First JPEG XL MD5 Hash Quine
https://stackchk.fail/blog/jxl_hashquine_writeup
#HackerNews #JPEGXL #MD5 #Hash #Quine #Hashing #Programming #HackerNews