Category: Programming
When Your Site’s SSL Works on WiFi but not Cellular
Last night I ran into an interesting error, so I figured I’d make a quick post about what happened to Make Art with Python. I had an error that kept occurring whenever I’d connect to my site over cellular network…
Writing a Technical Book in Emacs and Org Mode
I spent the past year writing a book called Make Art with Python. It teaches Python programming through drawing and art, instead of print statements. If that sounds interesting to you, sign up to hear when it’s released here. Why Write a Book in Emacs? I needed a distraction free way to write my code and prose in one …
Using Neural Networks to Generate Paintings
Last week an incredible paper got released showing how neural networks could be used to separate a “style” from an image, and apply that style to another image. It’s a great read, even if some of the math goes over…
The (Mostly) Newbie’s Guide to Automatically Swapping Faces in Video
Last weekend I was inspired by a great blog post from Matthew Earl, where he showed how to do face swapping in Python. It immediately got me intrigued, and I ended up quickly using it to make this video: Adopting…
Defeating Facebook’s DeepFace with Deep Dreams
AI Is Already Here, And We’ve Barely Noticed AI is infiltrating our lives, in much the same way mobile did before it. It’s being fueled by the massive amounts of data we humans are generating from our phones, and it’s…
Fixing Twilio’s SSL Certificate Errors in PHP and Ubuntu
If you’re trying to get the latest version of the Twilio API up and running on PHP with Ubuntu 14.04, and you keep getting errors about SSL, you’re most likely missing the php5-curl package. The error would look like the…
Plant Controlled Robot Bongos
TLDR: I turned a Teensy LC into a plant controlled MIDI robot bongo. I used the capacitive touch sensors built into the Teensy along with some guitar shielding copper stuck in plant’s soil to trigger MIDI clips in Ableton Live…
Using Processing to Generate Christmas Presents
Download the code at Github. As a last minute idea, I decided to write some code to generate my Christmas gifts. If you look above, you can see what the final result was with all the code. I’ve printed out…
Hacking the Human Mind
“The intelligent want self-control, children want candy.” – Rumi Last week I gave a talk about the progress I’ve made on my meditation platform. In it, I went into a little more depth about the whys behind meditation, stressing how…
An Iterative Approach to Building an API – Part 4: Fabric Scripts for Code Deployment
Over the past three days, we’ve stubbed an API in YAML on Tornado, then upgraded to an ElasticSearch backend, and finally, built and deployed a server to Amazon Web Services using Chef scripts. Today, we’ll write scripts in Fabric to…