Hammerspoon with Fennel

embed it

embed it

Neovim with Fennel

quickfix and tree-sitter

quickfix and tree-sitter

Circles on a hypotenuse problem

seems simple, isn't

seems simple, isn't

Retro line art

bored in middle school

bored in middle school

ClojureDart macro for nested components

adding complexity

adding complexity

Driving fast but not fastest

less safe but more tedious

less safe but more tedious

Choosing a speed to minimize passing

safe but tedious

safe but tedious

Speeding and traffic

hurry up and wait

hurry up and wait

Speeding and stop lights

time cancels out luck

time cancels out luck

Saving time by speeding

doesn't save much

doesn't save much

Astronomical wall calendar

infographic a day

infographic a day

Scraping an HTML dictionary with Babashka and Bootleg

quick and simple

quick and simple

Constructing major system mnemonics with Markov chains

imitating grammar

imitating grammar

Major system mnemonics with a smaller vocabulary

less is more

less is more

Constructing major system mnemonics with grammar

thanks, English

thanks, English

Phonetic major system mnemonics

easier for a human, harder for a computer

easier for a human, harder for a computer

Major system mnemonics

minor improvement

minor improvement

Finding mnemonics in a body of text

harder than just remembering the digits

harder than just remembering the digits

Superformula identicons

infinite possibility, tiny utility

infinite possibility, tiny utility

Symmetrical identicons

infinite possibility space × 3

infinite possibility space × 3

Divisibility graph identicons

a small possibility space

a small possibility space

Hand-drawn dungeon identicons

a large possibility space

a large possibility space

Mapping orbital positions

a little numerical approximation

a little numerical approximation

Mapping elliptical orbits

a little matrix multiplication

a little matrix multiplication

Locker doors puzzle

slightly magical

slightly magical

Lens transducer

experimental

experimental

Exponential smoothing transducer

introductory signal processing

introductory signal processing

Specialty transducers

e.g. take-until-repeat, interpolate, spillover

e.g. take-until-repeat, interpolate, spillover

Workaday transducers

e.g. tap, dedupe-by, parallel

e.g. tap, dedupe-by, parallel

Transducers

list processing

list processing

Bus barn dequeueing

better strategies?

better strategies?

Jumping higher when the sun and moon are overhead

less than I expected

less than I expected

Jumping higher when the sun is overhead

more than I expected

more than I expected

Divisibility scatter plots

tricks for smallish primes

tricks for smallish primes

Best base for modulo tricks?

possibly base 9

possibly base 9

Modulo tricks in other bases

special behavior around the choice of base

special behavior around the choice of base

Divisibility graphs and modulo tricks

explaining a couple small mysteries

explaining a couple small mysteries

Divisibility graph of 7

a starting point

a starting point

Calculating a date's day of the week

the final step

the final step

Calculating anchor days

simple math and memorization

simple math and memorization

Doomsdays

not as scary as it sounds

not as scary as it sounds

Recursive subdivision

a generic function to only subdivide as needed

a generic function to only subdivide as needed

Coastal variation

add some regional parameters

add some regional parameters

Basic island generation

an oldie but a goodie

an oldie but a goodie

Sunlight's distance through the atmosphere

influence on color?

influence on color?

Mapmaking on a toroidal world

sometimes the simpler option is actually pretty good

sometimes the simpler option is actually pretty good

Compass directions on a toroidal world

facing unusual choices

facing unusual choices

Day and night in the toroidal interior

it keeps switching

it keeps switching

Toroidal interior

dark and eerie

dark and eerie

Toroidal poles

double horizon

double horizon

Torus with Earth's area and volume

two equations, two unknowns

two equations, two unknowns

An Earth-sized torus

mostly hollow

mostly hollow

Toroidal world

worldbuilding in genus one

worldbuilding in genus one

Calculator words

a simple amusement

a simple amusement

Apparent size above horizon

just one triangle inside another

just one triangle inside another

Finding hide and seek probabilities analytically

reinventing the choose function

reinventing the choose function

Probabilities when hiding more items

less computation, more exact

less computation, more exact

Hiding strategies

overanalyzing the task

overanalyzing the task

Timeline of the patriarchs

less certain than usually shown

less certain than usually shown

Uncertain Gantt

fuzzy at the edges

fuzzy at the edges

Gantt charts of diverging possibilities

divergantt

divergantt

Relative schedules

a simple start

a simple start

Sum and product puzzle extra credit

doesn't help

doesn't help

Sum and product puzzle

re-encoding the problem

re-encoding the problem

Drawing the Mandelbrot set

it's the negative space

it's the negative space

Semi-tessellation with a continuous line

a (minor) dilemma

a (minor) dilemma

Growth limited by interpersonal conflict?

or just reading too much into a cubic term?

or just reading too much into a cubic term?

A Sigmoidal Population

resource contention over an idea?

resource contention over an idea?

Nelson rules

leveraging a small set of Clojure's collection functions

leveraging a small set of Clojure's collection functions

Rate, time, and distance nomogram for shorter distances

after feedback from the kids

after feedback from the kids

Manipulating nomographic matrices symbolically

data as code

data as code

Rate, time, and distance nomogram

for the children

for the children

Horizon distance along ground

more work to get the same result

more work to get the same result

Distance to horizon

surprisingly simple

surprisingly simple

Adventures in notebook programming

some different approaches

some different approaches

Vim syntax range plugin

convenient for mixing Clojure and Markdown

convenient for mixing Clojure and Markdown

A Clojure reader with string interpolation

forking tools.reader to add a dispatch macro

forking tools.reader to add a dispatch macro

Mid-ocean ridge trace

extracting geographical coordinates from an image

extracting geographical coordinates from an image

Stack-math compendium

for future reference

for future reference

Stack-based square and cube roots

could be worse

could be worse

Chunking stack-math operations

a vocabulary

a vocabulary

More flexible rewrite rules

wading into a broader solution space

wading into a broader solution space

Rewriting stack algorithms programmatically

find and replace

find and replace

Improving a mental math stack algorithm

some numbers are easier to multiply than others

some numbers are easier to multiply than others

Stack-based mental math

leveraging small working memory but big(ger) long-term memory

leveraging small working memory but big(ger) long-term memory

Mini Zettelkasten

130 lines of Clojure, 1.9 kilobytes of JavaScript

130 lines of Clojure, 1.9 kilobytes of JavaScript

Clojure-flavored JavaScript

macro expand, compile, and minify

macro expand, compile, and minify

Accelerating to oblivion?

is there a relativistic barrier below the speed of light?

is there a relativistic barrier below the speed of light?

View from a photon

is everything flat?

is everything flat?

Michigan big trees near you

group hug

group hug

Drawing an icosphere

divide and inflate

divide and inflate

Drawing an icosahedron

spherical coordinates for the win

spherical coordinates for the win

Michigan county boundary roads

three naming conventions

three naming conventions

Babashka script to serve stdin

for those who prefer the command line to setting up a webserver

for those who prefer the command line to setting up a webserver

Analysis of incremental water heating

writing math to avoid tedious computation

writing math to avoid tedious computation

Heating cold water in smaller batches

writing code to avoid tedious arithmetic

writing code to avoid tedious arithmetic

Modeling a simple thermodynamics problem

setup for further experiments

setup for further experiments

Heating cold water

feels paradoxical

feels paradoxical

Calendar recurrence

when you'd rather store old calendars than buy new ones

when you'd rather store old calendars than buy new ones

Checkerboard islands

don't go cross-eyed

don't go cross-eyed

Terrain chess

because war is also senseless

because war is also senseless

Variations on hand-drawn dungeons

not a major development

not a major development

Procedural generation by hand

invented in a meeting

invented in a meeting

Scaling stars on the flag

not hoping to need it, just an occupational hazard

not hoping to need it, just an occupational hazard

`quickbb` script for Babashka

saving rework with an nREPL

saving rework with an nREPL

`quick` script for Tmux

entr Joe

entr Joe

Improving generated Lindenmeyer rules

using something like a state machine

using something like a state machine

Generating Lindenmeyer fractals

from random data definitions

from random data definitions

More Lindenmeyer fractals

for the pretty pictures

for the pretty pictures

Lindenmeyer fractals as data

revisiting old code to turn logic into data

revisiting old code to turn logic into data

Sunrise, sunset, and latitude

sunrise and sunset at the extremes

sunrise and sunset at the extremes

Sunrise, sunset, and the winter solstice

in which the earliest sunset and latest sunrise don't happen on the same day

in which the earliest sunset and latest sunrise don't happen on the same day

Rotation of the solar terminus

days are longer than we realize

days are longer than we realize