This site is hosted on GitHub Pages. See this post on transitioning to a custom domain with GitHub Pages.
Below are my most recent posts. Please explore some of the one-off posts, as well as some longer running series that I've started recently (updates as I have time). Check out the projects section for interesting work I've been creating (Completed series will be collected here as well).
The goal is to create a microservice that will take a date string or a unix timestamp and make a JSON response with both versions of the given timestamp / date.
Posted on May 10, 2018
(Last modified on January 20, 2020)
| 3 minutes
| Chase Sawyer
Gotchas In order of the issue being found:
Is Strange (Hugo) (Template Logic) Hugo templates use strange logic - for conditional statements, Hugo uses Polish or prefix notation for the operators. This meas that instead of writing if this and that, you have to write if and this that. For more complex arrangements of logical conditions, say for a situation in which you need to check three conditions, you have to write it as: if and (first) ( and (second) (third)) which, in a infix notation style, would have been written if first and second and third.
[Read More]
Posted on May 10, 2018
(Last modified on May 12, 2018)
| 1 minutes
| Chase Sawyer
I woke up late today, so I didn't have time to make coffee. And instead of going to my usual place where I know there's going to be great coffee available, I decided to get a doughnut and some coffee from the doughnut shop. The first warning that this wasn't going to go well was when I got my travel mug back and there was coffee all over the outside of the mug.
[Read More]
Posted on May 9, 2018
(Last modified on June 15, 2019)
| 2 minutes
| Chase Sawyer
I took some time this week to look into all the code that I've been collecting and producing over the last year or more and began to assess where everything was being stored and hosted. Since I build a lot of demos and try out new technologies on a pretty consistent (if not sporadic) basis, this has led me to a state where I have several projects hosted on Heroku, on AWS, and offline.
[Read More]
Built a new site, leaving Jekyll for Hugo, for my github.io page.
Changes Moved all my old Jekyll files to a new subdirectory in order to maintain access to the old code and posts, and then transition all the content over to the main Hugo site as settings come together. One major advantage of Hugo is that the build process is super fast, so I've been looking at how to integrate CircleCI with Hugo builds.
[Read More]
Posted on June 21, 2017
(Last modified on January 20, 2020)
| 4 minutes
| Chase Sawyer
I've been making a lot of progress on the python-LEDSerialController project. There's been a lot to learn about how to run the original command line script with a GUI frontend. I chose to use Tk since it's baked into Python already, and there's nothing to configure to get it working. It doesn't look nearly as nice as something that would come out of using a more advanced UI toolkit, but it's also had a lower bar to entry, despite some drawbacks with Tk's documentation.
[Read More]
Posted on May 25, 2017
(Last modified on January 20, 2020)
| 3 minutes
| Chase Sawyer
First Post!
Learning how to set up Jekyll on GitHub Pages is actually a little harder than I was expecting from the outset. Mostly because most of the things that you need to set up Jekyll for local development, and a lot of the things that come prepackaged with it aren't actually necessary for running it on GitHub Pages.
Here is the Gemfile content for this page when I first started and got things working:
[Read More]
Posted on March 10, 2017
(Last modified on May 11, 2018)
| 2 minutes
| Chase Sawyer
We have a hammer drill that has a vacuum collector attachment, and we wanted a collector that could use different kinds of filters. I took the existing dust collector and designed an exact replacement that would take any kind of 3M respirator filter as the filter element. This allows using different kinds of filters and for the filters to be replaced. The parts involved were manually reverse-engineered on paper with the device and a set of good digital calipers. The replacement parts were designed in Autodesk Fusion360 and 3D printed on a Prusa i3 MK2.