#Quine

vintage screwlisp accountscrewtape@mastodon.sdf.org
2025-03-21
vintage screwlisp accountscrewtape@mastodon.sdf.org
2025-03-21
Tipiak75 :kirby:🍜tipiak75
2025-01-10

Next episode of Super Tipiak75: all stars in AoC world. ⭐

Day17 was interesting : part1 involved running machine language on an imaginary CPU and lookup output, pretty straightforward. Part2 was about modifying the output in order for the program to output a quine. Pure logic and little coding got me that last star in the end.

I just completed "Chronospatial Computer" - Day 17 - Advent of Code 2024 adventofcode.com/2024/day/17

Screenshot of my text editor window with partial part2 php source code in itScreenshot of AoC website's day17 success message, proving completion
Yuzuki Araiyudukikun5120
2024-12-21

C. F. Santos が批判する、直観に基づく論理学における「直観」は心理主義的な意味におけるそれだが、哲学における直観は超越論的でありベイズ主義的なものではない。つまり、超越論的な直観と論理体系は整合しうるが、心理主義的な直観と論理体系は独立したものでありうる。これは超越論的言語観と同型をなす。超越論的言語観において、私の言語は世界に等価である。同じように超越論的論理観では、私の直観的論理体系は先験的でしかありえない。論理における反例外主義(AEL)において修正される直観とは、心理主義的な意味におけるそれであり、超越論的なそれではない。

dos Santos, César Frederico (2021). Intuitions, theory choice and the ameliorative character of logical theories. Synthese 199 (5-6):12199-12223.

gur desire to design a #fractran #quine tatoo, but also gur lack of standard/defacto output systems for it making it less doable

vintage screwlisp accountscrewtape@mastodon.sdf.org
2024-05-09

#quine #commonLisp #functionalProgramming #lisp

((LAMBDA (X &AUX (XX (EVAL X))) (LIST (FUNCTION-LAMBDA-EXPRESSION XX) `',X))
'(LAMBDA (X &AUX (XX (EVAL X))) (LIST (FUNCTION-LAMBDA-EXPRESSION XX) `',X)))

dedicated to @brokenix . In my last version, I forgot to make the lambda expression list back into a quoted list.
@Reiddragon @mdhughes @louis

EDIT: Somehow even more elegant

Nicolas DelsauxRiduidel@framapiaf.org
2024-04-12

I made an interactive quine.Un fichier HTML qui se met à jour quand vous l'éditez. un peu comme TiddliWiki, mais dans une version minimaliste pbt.dev/blog/quine/ #html #quine #bizarre #programming

new #quine in #c, this one works on GCC, clang and TCC, gur initial version was shorter but only works on GCC, so im posting this one, decent improvement from last quine, took me hours to figure out gur last trick to make this work with my wierd arbitary restriction of "all preprocessor commands have to be at gur top of gur file"

Thomas Muchthmuch
2024-03-04

Nerd alert 🤓🤖

Using 21 preview features, I was able to shrink my Java down to a mere 102 characters:

void main(){var f="void main(){var f=%c%s%1$c;System.out.printf(f,34,f);}";System.out.printf(f,34,f);}

A quine is a programm that takes no input and outputs its own source code (without using file operations).

See examples from Java 1.0 to Java 21 here: github.com/thmuch/java-quine

2024-02-29

Markdown support in the speedata Publisher and a layout “quine”. New blog post at news.speedata.de/2024/03/01/ma

#speedatapublisher #pdf #quine #markdown

2024-01-02

Quine in typst, why not? It even does syntax highlighting! typst.app/project/rIASwtB7-l6q #typst #quine

Prima che mi scordo, volevo condividere questo #video: https://www.youtube.com/watch?v=5HSjJU562e8. 🎥

Discute di un concetto per me non nuovo, ma applicato ad un
#retrogame per #Atari, #YarsRevenge. In pratica, il #gioco usa parte del suo codice per generare #pattern sullo schermo con un’#entropia abbastanza alta da sembrare #random, e creare effetti visivi interessanti. 🎇

Sarebbe definibile #quine, se non fosse che non è completo… manca una parte non trascurabile del #codice macchina, e anche per questo a conti fatti, anche se in teoria è possibile, nella pratica non si può realisticamente recuperare l’intero #programma semplicemente guardando cosa viene mostrato a schermo nella cosiddetta #NeutralZone. 🧱

Questo tipo di roba, ossia la visualizzazione di #dati in modi “non adatti”, mi intriga sempre. Non so perché, ma escono sempre effetti sensoriali unici quando si prendono dati #binari e li visualizzano direttamente per vie multimediali. In questo caso, c’è tanto da analizzare in una vista del genere, e perciò il video è #intrigante. 🪬

https://octospacc.altervista.org/2023/12/21/694/

#Atari #binari #codice #dati #gioco #intrigante #NeutralZone #pattern #programma #quine #random #retrogame #video #YarsRevenge

2023-12-17

It took a few iterations to get this right and short. I hadn't seen this done before so was kind of fun. #ChatGPT #quine

ChatGPT quine
"Create a prompt quine for ChatGPT. If the generated prompt is ever entered into the ChatGPT conversation box, from then on, ChatGPT will only ever respond with the prompt quine that can then be fed back into the chat, etc. Do not respond with a definition for quine, only respond with the quine."
2023-11-20

𝗪𝗜𝗞𝗜𝗣𝗘𝗗𝗜𝗔'𝗦 𝗙𝗘𝗔𝗧𝗨𝗥𝗘𝗗 𝗔𝗥𝗧𝗜𝗖𝗟𝗘

✧ Quine–Putnam indispensability argument ✧

The Quine–Putnam indispensability argument reasons that we should believe in abstract mathematical objects such as numbers and sets because mathematics is indispensable to science. One of the most important ideas in the philosophy of mathematics, it is credited to W. V. Quine and Hilary...

#Quine #Putnam #PenelopeMaddy #HartryField #Wikipedia
en.wikipedia.org/wiki/Quine%E2

Pete Coreypetecorey
2023-10-26

Last week I couldn't convince my brain to do work I'd get paid for, so instead I wasted a day writing a "git quine."

It's a node script that, when run, outputs the short hash of its `head` commit. The script itself contains its own short hash.

github.com/pcorey/git-quine/tr

> git-quine git:(quine) node index.js

git rev-parse —-short=4 head: a73d

> git-quine git:(quine) git rev-parse --short=4 head a73d
2023-10-26
2023-10-15

Would have been somewhat funny if had renamed to "X, formerly Twitter"

this is amazingly cursed, but i wrote a #quine in C, making sure to abuse gur preprocessor much as i could

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst