You Could Have Invented Objects
Mar 20, 2016, 8:00 PM
I’ve always been interested in programming languages and paradigms.
Usually, this manifests itself in reading about functional programming, the Lisp
family of languages, compilers, and lately,
Implementing a Small DSL in Swift
Oct 27, 2015, 8:00 PM
I was working on an iOS project earlier today when I ended up running into an annoying bug in my Swift Core Data stack. My seemingly correct NSFetchRequest code was returning nil for all inputs, and I couldn’t figure out why.
Wrapping a C Library in a Swift Framework
Oct 4, 2015, 8:00 PM
I recently started work on a project where I wanted to wrap up a C library for OS X with a more palatable Swift framework interface. My first thought was to follow what I saw in Apple’s Mix and Match documentation, a guide to...
An Observable Pattern Implementation in Swift
Sep 30, 2015, 8:00 PM
Over the past few days, I’ve been working a new Mac app in Swift as a part of Gumroad’s Small Product Lab challenge. This app contains a simple struct type, AppConfig, representing the application’s editable...
Getting Started with Pure Data
Aug 2, 2015, 8:00 PM
Pure Data is a cross platform and open source visual programming language allowing you to work with audio, video, and more in a simple dataflow programming model. Over the past week or so, I’ve been exploring Pd for music and audio...
Vim for iOS Development: Setting up ctags
Jun 24, 2015, 8:00 PM
With projects like cocoa.vim and vim-ios, iOS developers have a variety of helpful tools when deciding to build an app in Vim. However, with implementation files, header files, and the numerous set of frameworks we use to build apps,...
k-means Clustering in Ruby
May 27, 2011, 8:00 PM
Clustering algorithms play a very important role in many modern web applications that feature machine learning. This article will introduce you to one of the simplest techniques for the unsupervised grouping of related objects, or...
A Genetic Algorithm in Python
Apr 30, 2011, 8:00 PM
In the spirit of taking biology and artificial intelligence this quarter, I decided to try to throw together a program combining the concepts of the two. I ended up writing a python script that performs “natural selection” of a...