Bits & Bytes
  • About
  • Art
  • Blog
  • Cooking
Subscribe
Tagged

quine

A collection of 2 posts

Tupper's self-referential formula
quine

Tupper's self-referential formula

So here's something cool. This formula: $$\frac{1}{2} < \lfloor mod(\lfloor\frac{y}{17}\rfloor2^{-17\lfloor x \rfloor -mod(\lfloor y\rfloor,17)},2)\rfloor$$ will literally plot itself if you look at the right region. where k is this 543-digit integer: 960 939 379 918 958

  • Ben Yu
Ben Yu Apr 18, 2015 • 3 min read
Quine
quine

Quine

Inspired by this impressive piece of engineering, I tried to write my one quine in CoffeeScript. The trick I used was to encode the entire file into decimal ASCII and store it in the data array. To rebuild the actual code, you convert it back to characters. This lets you

  • Ben Yu
Ben Yu Jul 17, 2013 • 1 min read
Bits & Bytes © 2025
Powered by Ghost