Skip to content

Instantly share code, notes, and snippets.

View jlin's full-sized avatar

Jonathan Lin jlin

View GitHub Profile
@jlin
jlin / gist:9cbe776ab7d66ab88c03cdc33c20a011
Created October 16, 2024 20:39 — forked from jackrusher/gist:5139396
Hofstadter on Lisp: Atoms and Lists, re-printed in Metamagical Themas.

Hofstadter on Lisp

In the mid-80s, while reading through my roommate's collection of Scientific American back issues, I encountered this introduction to Lisp written by Douglas Hofstadter. I found it very charming at the time, and provide it here (somewhat illegally) for the edification of a new generation of Lispers.

In a testament to the timelessness of Lisp, you can still run all the examples below in emacs if you install these aliases:

(defalias 'plus #'+)
(defalias 'quotient #'/)
(defalias 'times #'*)
(defalias 'difference #'-)
@jlin
jlin / keybase.md
Last active November 13, 2020 21:40

Keybase proof

I hereby claim:

  • I am jlin on github.
  • I am jlin (https://keybase.io/jlin) on keybase.
  • I have a public key whose fingerprint is B90F EDFD 2012 4621 9FC4 B714 3F39 C768 3D49 BBB6

To claim this, I am signing this object:

*This Gist has been updated to work with Catalina 10.15. Everything works as usual, except for the need to get the 10.11 SDK and unzip it to the correct place, then a line in mozconfig to tell the build system where the SDK is.

*Using mozconfig (not the dotfile) throughout so that we don't have to deal with trying to troubleshoot a hidden dot file with the Mac Finder

Set Up

  • Install macOS
  • Update macOS + run dinobuildr.sh (enable filevault and let filevault encryption complete)
  • install homebrew (Command Line Tools installation will be prompted as part of homebrew installation)
  • https://brew.sh/
@jlin
jlin / bbs-story.md
Last active August 29, 2015 14:21 — forked from ike/bbs-story.md

(jlin)

The house wasn't the same to her any more. Physically, not many changes were made by the new owners. The roof still had that deep shade of red, but some shingles have been replaced with black ones, marring the uniformity. The porch was still dusty as usual. "Can't keep that wind blowing the factory soot into houses," she thought to herself. She looked around at the windows on the second floor, wondering if the tree branches were still in the same place as when she was younger. She could just climb in. No luck. The oak had been cut down, the only remaining feature a dark weathered stump to the left of the house.

She hoped that nobody was at home. She just needed to get into the basement, if there still was a basement. It had been popular to fill in basements with cement to stop people like her from taking advantage of people's houses. The government called them tunnelers - experts in geo-engineering who dug their way into the palace and held up

@jlin
jlin / gist:bfc91130a59bf241acc8
Last active August 29, 2015 14:14
Care and feeding of your GeeksPhone Peak device
@jlin
jlin / gist:f60a7a6c0b75c2c9aee9
Last active August 29, 2015 14:14
Care and feeding of your Firefox OS Flame device

Keybase proof

I hereby claim:

  • I am jlin on github.
  • I am jlin (https://keybase.io/jlin) on keybase.
  • I have a public key whose fingerprint is DA32 9C69 E557 8E65 CD93 C7E9 C140 B35F DBF7 B9EC

To claim this, I am signing this object:

@jlin
jlin / gist:bfd9e0b900962c95c706
Last active August 29, 2015 14:12
adventures

the beginning

You arrive at a plain, unadorned room, just snug enough in physical dimensions to fit two of your arm-lengths.

You sit cross-legged on the beachwood floor, and before you are a tape casette and a black skeleton key.

Some Common objects:

  • tea cup
  • hair tie
Licensed under the terms of the Creative Commons - Attribution-Share Alike 3.0 Unported license
http://creativecommons.org/licenses/by-sa/3.0/
she slumbers beside me, the rhythmic ebb and flow of her breathing marks the passing of the night
tech inspired writing techniques
use of scm to track and branch plot lines
the reality distortion field