Skip to content

Instantly share code, notes, and snippets.

View witt3rd's full-sized avatar
⌨️
coding

Donald Thompson witt3rd

⌨️
coding
View GitHub Profile

System

  • an interconnected set of elements that is coherently organized in a way that achieves something.
System: {
	elements: [Element]
	interconnections: [Connection]
	purpose: Purpose
}

Geometry of Meaning

Peter Gärdenfors

What is semantics?

Ontological

What are meanings?

Realism vs conceptualism vs nominalism

  • Realism: meanings are out there in the world (e.g., the meaning of the word 'horse' is the set of all horses)(i.e., extensional). Plato, Frege

Nassim Nicholas Taleb defines a Stoic as someone who “transforms fear into prudence, pain into information, mistakes into initiation and desire into undertaking.”

Docker

Swarm init

PUBLICNAME=127.0.0.1 docker stack deploy --with-registry-auth -c docker-compose.yml foo

Homebrew

Minimal packages

brew install git bash

Remove everything

brew remove --force --ignore-dependencies $(brew list)

p5js

This is a collection of notes on the p5.js library. There is a corresponding repo with the configured project and sample code described here.

Basic setup

The easiest way to get setup with a auto-reloading ES6 server is with the p5-manager.

Sketch Functions

Setup

Where one-time initialization code goes. Minimally, we setup a canvas:

Python

Miniconda

Simple way to manage version, environments, and packages. https://conda.io/miniconda.html

Installation

Download and run the bash installer for your platform, listed below.

macOS

Deep Learning Setup

Python

This assumes miniconda3 has been installed and is being used for environment and package management. See this gist for setup details.

Keras

Keras is a higher level library that uses various backends (e.g., Tensorflow, CLTK, ...).

We have setup a miniconda environment with the typical packages: