$ ❯ CrowderSoup

A website about programming, technology, and life.

Blog

This is a collection of my longer form posts / articles. It’s a “blog” in the most traditional sense. You won’t find things here that are short-form, those will live under /micro when I eventually get around to building it out 😅

Build a Torrent Machine and Network Share

by Aaron Crowder on in Raspberry Pi

When I first got a Raspberry Pi the first thing I wanted to build was a home server. I wanted to have a central place at home to store files. I also thought it would be nice to have a torrent machine to handle downloading whatever I wanted. This past weekend I was finally able to get around to building it with a Raspberry Pi 2. I chose to use Diet Pi as my OS.

Read more...

Raspberry Pi Zero Giveaway: Review

by Aaron Crowder on in Raspberry Pi

I’ve been watching my local Barnes & Nobel’s like a hawk the past few weeks. In case you’ve been living under a rock, the official Raspberry Pi magazine, MagPi, shipped with the new Raspberry Pi Zero attached to the cover. The Raspberry Pi Zero, announced in late November of 2015, has been flying off shelves as fast as it’s stocked. They’re HARD to get your hands on. I should know, I’ve been trying since they were first announced!

Read more...

New Theme!

by Aaron Crowder on in Site Updates

I recently started using Pelican static site generator for this blog. I was drawn to it for a few reasons: It uses Jinja2 for templates, which I love. It written in python It reminds me a lot of Flask (this might be because of using Jinja2…) I’ve done a few interesting things with this site though. I’m hosting the repo that contains the source content, configuration, etc. on Gitlab.

Read more...

Resolutions for 2016

by Aaron Crowder on in Life

It seems like the “thing to do” at the beginning of each new year is to make New Years Resolutions. If you’re at all into blogging then you know that you then have to publish those resolutions for all the people who don’t read your blog to see. That’s who/what this post is for. I wanted to make my resolutions less about “I want to lose weight”, and more focused on programming, open source, and this blog.

Read more...

Christmas of 2015

by Aaron Crowder on in Life

This year’s Christmas was one for the books. As a father it was SO much fun to watch my two girls have the time of their little lives getting and playing with all their new toys. Their excitement and wonderment meant the world to me, even if I know they don’t fully understand everything. Before we went down, we had the girls get their Christmas Jamies on! When we went downstairs there wasn’t much ceremony to it at all.

Read more...

Hour of Code

by Aaron Crowder on in Life

Yesterday I took part in the Hour of Code at my local high school as a volunteer.In fact, it was at the high school that I attended. I had a lot of fun and I was excited to see the stundents gain a deeper understanding of code. I was especially impressed with the number of young women in the class that seemed to really enjoy it. It’s a really common misunderstanding that people hold that girls aren’t interested in tech.

Read more...

Using vh with calc In CSS

by Aaron Crowder on in CSS

I often have need to build layout’s that vary depending on the content put in them. I can’t always count on that content being the same (cough CMSs cough). It’s just one of those things you have to do. One thing I’m having to do a lot though, is making the body of a page take up a certain amount of space so that the footer doesn’t look weird. In the past I’ve used JavaScript to make the footer take up the remaining space on the page if the content didn’t take up enough.

Read more...

Managing Scope Using Call, Apply, and Bind

by Aaron Crowder on in JavaScript

Call Calls a function, with the specified arguments passed in The first argument becomes this, the rest are passed in as regular arguments. Using call allows you to maintain the scope of this accross methods. It works like this: Here we’re using prototypical inheritance to allow us to inheirit properties from Animal in Dog and Cat. Using call allows us to invoke Animal to initialize it’s properties while maintaining the correct scope.

Read more...

Anatomy of a Commit Message

by Aaron Crowder on in Programming

1. Subject Line The Subject Line is the first line of your commit message. Often the subject alone is enough, but if it’s not and you need a body be sure to separate the subject and body with a blank line. First line of a commit message Often the only part you’ll need Separated from the body by a blank line Soft limit of 50 characters, hard limit of 69 Github’s interface truncates the subject line at 69 characters Capitalize!

Read more...

JavaScript: Array's with named Properties

by Aaron Crowder on in JavaScript

Adding named properties to arrays in JavaScript can be handy in a few different cases. For instance: You need a nice formatted title / description for a data set. Rather than having multiple objects you can use named properties and get away with only using one. You want to add some functions to an array for whatever reason Lots of other reasons that I can’t think of right now! Basically, this just buys you a nice way to encapsulate all the data you might need, without having to use an object with a nested array, or multiple objects.

Read more...