Piwik Analytics

  • Show all Flask Routes

    One of my favorite things about rails is rake routes. This command will show you all of the routes that your application is currently aware of. I was searching for something similar in Flask and came across this snippet. Sadly, it did not work for me. I am using Python 3, so that may have something to do with it.

    Read More...

  • How to Ship a Simple Feature in Two Months

    I started working on a feature to allow users to remove notebooks in Braindump two months ago. What started as adding an additional link and a corresponding flask endpoint to handle the deletion has turned into a horrible long running branch that I have no idea how to get out of.

    Read More...

  • Find Dead Links on Your Jekyll Blog with HTML Proofer

    There is nothing worse than clicking on a link and seeing a 404. When the post is from 2013, perhaps you can excuse it, but it is still a terrible experience for the user and as a "web master" you owe it to your users to prevent link rot.

    Read More...

  • Portable MFA

    A couple of years ago I got the portable MFA book for Kindle. I was really into writing back then. I kept a blog (which I have since completely deleted) called “The Thoughts Bubble” where I would write poetry, prose, short stories, and thoughts about writing in general. I think I even wanted to just become a writer at some point.

    Read More...

  • Coursera Rails Module 3 Notes

    I just finished the final module of this course. Overall I think it was a great course that provided a good overview of Ruby, and a thorough introduction to Rails. The next course dives into working with Databases and I am looking forward to learning more about Active Record.

    Read More...

  • Coursera Rails Module 2 Notes

    This module goes through a general introduction to Ruby. One thing that I find interesting is how optimistic Ruby is, in the sense that everything except for `false` and `nil` is true. This is especially interesting from the perspective of comparing true and false in sqlite where sqlite stores 0 as false and 1 as true. I have not had to deal with this yet, but it is nice to keep in mind going forward.

    Read More...

  • What's With the Green Links?

    I am experimenting with monetizing this blog by using affiliate links. I am a strong proponent of user privacy, non-intrusive advertising, and ethical practices when it comes to advertising online. This is why all affiliate links are clearly distinguished from regular links with a green underline and an asterisk that points to this page.

    Read More...

  • Notes on Steve Krug's "Don't Make Me Think"

    I am working my way through Jeff Atwoods reading list and finally got around to reading Don’t Make Me Think by Steve Krug. This is one of the best books that I have read in quite some time. His writing style is amazing, and there is so much useful content in the book that I don’t even want to spoil it by talking about it here.

    Read More...

  • Notes on Mastering Sublime Text

    I picked up Mastering Sublime Text while working through the first section of the Rails Series on Coursera. First, its nice to sometimes switch up your text editors to see what you are missing. Second, Sublime Text has a very small learning curve and I never took the time to learn about some of the more advanced features so this was a decent use of my time. Third, I really want to write a CircleCI plugin for Sublime Text similar to the ones that exist for atom and Visual Studio Code, and this book has a great section that goes into detail about what it takes to write a plugin.

    Read More...

  • Fix Broken Piwik Graphs

    I have been using Piwik on this blog for a few weeks now as an open source, self hosted, alternative to Google Analytics. So far I have been really impressed with how easy it was to install, configure, and use. In addition the functionality and the amount of community developed plugins is spectacular.

    Read More...