Brad's Blog

web dev, django, running, food, or whatever

Published: 2015-03-17

Django hack: Help text on a model instance

curry django functional

If you've been been working with Django for a while, you're probably familiar with the help_text attribute for model fields. It gives us a hook for adding descriptive text that gets automatically included on forms or in the admin. But what if you want to access that same information on an instance of model object? Let's look at an example! Assume we have a simple model: class BlogPost(models.Model): title = models.CharField( max_length=50, unique=True ...

Published: 2014-12-01


comedy computing technology

This is a bit of rant. I'm currently checking (triaging, really) my email, and I've decided to click all the unsubscribe links in the marketing emails. The thing is, I've already done this. Many times. For many of these, I've just started reporting them as spam. I'm sorry, but if you ignore the fact that I've unsubscribed from your email, I'm calling you a spammer. Of course, about half the time I'm ...

Published: 2014-10-18

Running Miles, Curing Cancer

donate running stjude

Yesterday, I decided (mostly on a whim) to run the St Jude Memphis Marathon. It's a race supporting St. Jude Children's research hospital which provides treatment and research for major childhood illnesses such as Cancer and leukemia. The really cool thing about St Jude is that they provide treatment that is 100% free of charge to the families that suffer through these diseases. From their website, "Families never receive a bill from St. Jude for treatment, travel, housing ...

Published: 2014-09-21

#HACKMemphis 2014

hackmemphis memtech

The second annual HACKmemphis happened (is still happening, actually) this weekend, and it's been a blast. I went into the event with lots of ideas, but with very few expectations for myself. My Goals: Hang out with friends (new & old) and have fun. Mission Accomplished! I did build some stuff, too, so I feel pretty good about that. The stuff includes a simple, fun little app, improvements to an Alfred Workflow, and some improvements to Elvis, our community ...

Published: 2014-06-25

My Development Environment

development environment software tools

Every once in a while, I like to step back and take a look at the tools that I use. I don't change my development environment very often, but I do periodically pull in a new tool here and there. Sometimes they fit into my workflow, and sometimes they don't. As far as I know, I've never written my thoughts down when doing this, but in an attempt to keep in line with my Write more. Share ...

Published: 2014-03-21

Your VM has become "inaccessible."

vagrant virtualbox

Today I ran out of disk space on my Macbook Air. I mean, completely out of space. I use vagrant and Virtualbox for work, and I knew that had several large, but older snapshots of virtual machines that I could remove to free up space. And that's how today fell apart. I also use the vagrant-vbox-snapshot plugin, and that's the tool I typically use to take snapshots when I need them. So, looking into my project folder, I ...

Published: 2014-02-16

Wrapping up the WORS with a 10k at Shelby Farms

running trails

Today marks the end of the 2014 Winter Off Road Race Series. The race was a 10K at Shelby Farms, and, while I've run this distance several times in the past, I think this particular race might have been my best (just over 51 minutes). It helps when you're having fun ;) Prior to signing up for this series, I'd know about MRTC, but I'd never participated in any of their smaller events (and the 2012 St ...

Published: 2014-02-12

WORS 8K+ at Stanky Creek

running trails

Sunday afternoon was the WORS 8K at Stanky Creek. I'd already spent most of the weekend working at GiveCamp Memphis, so I really didn't know how well I'd fare during this race. Turns out, it's possible to run an 8K quite well with very little sleep! I felt pretty good for most of the race. The weather was cool (36F) and the trails were soppy, muddy, and slippery. There's really not much else to say ...

Published: 2014-02-07

GiveCamp 2014

community developer givecamp memphis rackspace

This weekend is GiveCamp Memphis, and I'm pretty excited to be a part of it. It's hosted this year by Cowork Memphis, which is a pretty great local coworking space. If you're not familiar with GiveCamp, it's a weekend-long event where the technically-inclined donate their time and skills to a select group of local noprofit organizations. The end results may include anything from new logos, to new web designs, to brand-new applications. Even though this will ...

Published: 2014-01-28

Old-school Skitch and CloudFiles with ftp-cloudfs

cloudfiles ftpcloudfs python rackspace skitch

I'm an unabashed fan of Skitch. The old one (pre-Evernote acquisition). A lot of folks have written about how to acquire this and how they use it. Until recently, I just used the built-in SFTP support to upload files to a Rackspace CloudServer. Lately however, I've been trying to limit the amount of stuff I have on servers that I have to maintain. One way I've been doing that is to push everything that looks like a ...