Skip to content

Instantly share code, notes, and snippets.

View no-defun-allowed's full-sized avatar

Hayley Patton no-defun-allowed

View GitHub Profile
@no-defun-allowed
no-defun-allowed / oblique-strategies.el
Last active March 9, 2025 06:43
Brian Eno's Oblique Strategies cards in Emacs
(defvar *oblique-strategy-list*
'("Remove specifics and convert to ambiguities"
"Don't be frightened of cliches"
"What is the reality of the situation?"
"Are there sections? Consider transitions "
"Turn it upside down "
"Think of the radio "
"Allow an easement (an easement is the abandonment of a stricture) "
"Simple subtraction "
"Go slowly all the way round the outside "
@no-defun-allowed
no-defun-allowed / nn.lisp
Created November 2, 2018 00:28
a neural network with petalisp
(ql:quickload :petalisp)
(use-package :petalisp)
(defvar x (as-matrix #2a((5.1 3.5 1.4 0.2)
(4.9 3.0 1.4 0.2)
(6.2 3.4 5.4 2.3)
(5.9 3.0 5.1 1.9))))
(defvar y (as-matrix #(0 0 1 1)))
(defvar w (as-matrix #(0.5 0.5 0.5 0.5)))