A series of For Fun

Hacktoberfest 2018

- Blog

To be honest, I haven’t posted in a while, and this is really just an excuse for me to do so. Anyways, I’ll just briefly be talking about my experience with Hacktoberfest this year. If you’re not familiar with Hacktoberfest, you can read more about it here. I’ll admit that I shamefully only did the minimum 5 pull requests, but I’ve had a very busy month. Hopefully I will do better for Christmas, when I should have more free time.

Continue reading ↦

A Recurrent Neural Network for Wolfrat Bot

- Projects

For fun, I decided Wolfrat Bot needed a bit more, err, personality. So, I set off to make him one. After training an RNN for a few hours on my desktop’s GPU, I had interesting results but ultimately failed at achieving quite what I wanted. Anyway, I encountered some huge hurdles I found out AFTER training for ~8 hours that the way I was encoding the characters for the network input (and thus, the way I was decoding the network output) behaved non-deterministically between Python 3.5 runtimes!

Continue reading ↦

Automatic Site Rebuilding with PHP and GitHub

- Projects

The content of this website is on GitHub here. A nifty feature about GitHub are its Webhooks. I wanted to be able to add content here without having to SSH into my server, cd-ing into the www directory, git pulling, and makeing, as those steps are tedious. So, I set up a GitHub webhook to POST to a PHP page on the server. The basic form of this PHP page is just: <?php passthru("MYSCRIPT.sh"); ?> Where MYSCRIPT.sh is just a script that pulls and makes the site.

Continue reading ↦