Skip to content

Instantly share code, notes, and snippets.

View rolandpeelen's full-sized avatar

Roland Peelen rolandpeelen

View GitHub Profile
@VictorTaelin
VictorTaelin / sat.md
Last active February 7, 2026 11:27
Simple SAT Solver via superpositions

Solving SAT via interaction net superpositions

I've recently been amazed, if not mind-blown, by how a very simple, "one-line" SAT solver on Interaction Nets can outperform brute-force by orders of magnitude by exploiting "superposed booleans" and optimal evaluation of λ-expressions. In this brief note, I'll provide some background for you to understand how this works, and then I'll present a simple code you can run in your own computer to observe and replicate this effect. Note this is a new observation, so I know little about how this algorithm behaves asymptotically, but I find it quite

@kconner
kconner / macOS Internals.md
Last active March 4, 2026 17:23
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

PostgreSQL Type PostgreSQL Size Description Range Diesel Type Rust Type
Nullable Types nullable Nullable``
@g-k
g-k / Makefile
Created December 26, 2012 18:18
fizzbuzz in GNU make
include gmsl-1.1.2/gmsl
# ^ Thank you Mr. Make
three := $(call int_encode,3)
five := $(call int_encode,5)
start := $(call int_encode,1)
stop := $(call int_encode,100)