17. May 2017

## Intro to Bayesian Classifiers

Bayes’ theorem is a way of determining the likelihood of an event A given that another event B has occurred. It’s a way of making an educated guess without much information to go on.

17. May 2017

Bayes’ theorem is a way of determining the likelihood of an event A given that another event B has occurred. It’s a way of making an educated guess without much information to go on.

28. March 2017

rein is a gem for adding database constraints in rails migrations. It’s always been possible to set these up using execute calls in the migration, but rein makes it look rails-y.

27. January 2017

rubycheck is a library implementing similar functionality to the quickcheck library in haskell. Using rubycheck, you can write assertions that a method works for all given inputs meeting a given criteria. Of course, the implementation is to just try a bunch of options and see whether they all meet the desired outcome. Using rubycheck gives you the power to verify your code works for a wider variety of cases than you might normally put into a unit test (or at least lets you hide the random input generator within a gem).

02. January 2017

I’ve been playing around with processing a lot over the holidays. I’ve been watching some of Daniel Shiffman’s coding challenge videos, including the intro to L-Systems, and decided to try it out.

An L-System is a set of rules for rewriting a string. This generally creates recursive patterns in the generated strings, and in all the examples I’ve worked on, these are used to build turle graphics programs.

04. October 2016

I’ve been meaning to try out swift for a while. I finally got some motivation to push it to the top of the “things to learn” queue today, when a coworker announced an upcoming seminar at work, all about learning perfect, which is one of the leading web frameworks written in swift.