Dustin Davis
Developer, Entrepreneur
Category: Programming & Internet

I love collecting t-shirts at programming conference. So far I’ve gotten some good ones at ng-conf. Here are the eight shirts I added to my wardrobe. Counting down to my favorite. 8. CDK Global These guys were awesome to put a t-shirt in every swag bag so you didn’t have to go ask for it. […]

Yesterday I attended the advanced workshop at ng-conf. I thought I\’d share some of the highlights. There were four rooms for the advanced workshops. We stayed in the same room while the instructors rotated. AngularJS Animation Our first session was on AngularJS Animation by Lukas Ruebbelke. I\’ll be honest, I\’ve been spoiled by being able […]

I recently needed to update the SSL certificate on EnvelopeBudget.com. Below are the notes I took in the process for when I need to do it again in 5 years. Step 1 Purchase an SSL certificate. I bought a cheap one from namecheap.com. Step 2 Create CSR (certificate signing request) openssl req -newkey rsa:2048 -nodes […]

My mom called me last night. She owns a hot tub dealership in the Salt Lake City area. She said she had a woman come in and purchase a top of the line hot tub the other day. The woman said, \”I\’m glad I found you. You were not on Google when I searched. Someone […]

Last week as I was driving to a user group meeting, I listed to a podcast episode. The subject was managing email. Since then I have cleaned up my inbox and I have been at inbox zero or close to it all week. Between my 5 email accounts I have 1 message in my inbox […]

The pluralize filter is great for humanizing text in templates. But what if you want to use the same function inside of your python code. For example, let\’s say you are sending back a message via ajax. It is simple enough to make use of the same pluralize filter function in your python code: Testing […]

We just moved into a new house about a month ago. This is actually the second time we have built. I had forgot how much work a new home is. There is so much to be done. One big project we need done is landscaping the backyard.  Since we have pretty much run out of […]

My junior year of high school I took a calculus class from the local college extension. I happened to get a nice Casio calculator (circa 1994) that allowed me to write programs. Since I didn’t really have a computer, this was my first experience programming. Each time we learned a new algorithm, I would figure […]

Lately I was getting this error frequently as I was using Django’s built in cache_page decorator to cache some views. memcache in check_key MemcachedKeyLengthError: Key length is > 250 Basically the problem is that Memcached only allows a 250 char key and some of my view names were pretty long and so it was creating […]

Even after coding in Python for the past five years I’ve never really considered myself an expert in the language because I find the more I know, the more I know I don’t know. I generally keep my code simple on purpose until I have a good reason to be complex – which for most […]