Dustin Davis
Developer, Entrepreneur

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 -keyout envelopebudget.com.key -out envelopebudget.com.csr

Then print it out and copy it to your clipboard.

cat envelopebudget.csr

Paste CSR into the namecheap admin area

Wait for approval email… submit approval.

SSL cert will be emailed to you in zip file \”envelopebudget_com.zip\”

Step 3

Upload the zip file to your server using scp.

scp envelopebudget_com.zip envelope@envelopebudget.com:~

Unzip the file on your server.

unzip envelopebudget_com.zip

Concatenate the primary certificates.

cat envelopebudget_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt >> ssl-bundle.crt

Move all certs to /etc/ssl/localcerts.

    sudo mkdir /etc/ssl/localcerts
    sudo mv *.crt *.key *.csr *.zip /etc/ssl/localcerts

Make sure the following is in nginx. (See Setting up a Django Server with PostgreSQL, Nginx, Celery & RabbitMQ)

    ssl on;
    ssl_certificate /etc/ssl/localcerts/ssl-bundle.crt;
    ssl_certificate_key /etc/ssl/localcerts/envelopebudget.com.key;
    ssl_protocols        SSLv3 TLSv1 TLSv1.1 TLSv1.2;

Restart nginx.

I completed the audio book Essentialism: The Disciplined Pursuit of Less by Greg McKeown. I had read some good reviews on how it has changed some people lives such as Stu McLarin, Michael Hyatt and Pat Flynn.

I don\’t know that is was as life changing for me as it was for them. Yes the book resonated with me and there were some good ideas in there, but nothing seemed revolutionary. In fact, it almost felt like stuff I had been taught my whole life, but backed up and supported by research and stories and given a new term: \”essentialism\”.

I guess I feel like I have a good balance in life as it is. I think I unconsciously made many essentialism type decisions after I was diagnosed with GIST cancer. In fact, I made a major job change last summer in order to take leave the face-paced world of a startup where I was in-line to be the CTO in order to take on a less stressful job where I could work from home and spend less time commuting and more time with my family.

I don\’t feel like I have a major problem of taking on too much or doing non-essential tasks. In fact, I often feel like there is more I should be doing. So, yes, there are many ways I can improve, but none of them are major life altering decisions. I just need to focus on the essential things I need to do in order to reach my goals. Setting goals regularly is one of those things I should be doing more of.

One interesting aspect of the book that made me do a \”Wait, what?\” was when the author said he likes to read classic literature first thing in the morning. He mentioned a number of books he liked to read and two of them he included were the Bible and the Book of Mormon. I didn\’t realize the author was LDS. I have to admit, that once I realized that, I did pay a little more attention as I am also a Mormon. I guess I have a little bias in me.

One question I have is can wealth really be achieved by practicing essentialism? It seemed to me that many of the stories in the book where of wealthy people turning to essentialism in order to cope with the ever increasing demands upon their time.

Is there a season of hustle to get to the top, then a turn to essentialism to stay there without burning out? Or, can you practice essentialism from the beginning and attain a level of financial success much faster? I think people often realize that once they have more than enough money, money does not buy happiness. Once money is no longer a motivation they turn to essentialism to find happiness.

I don\’t know if that question was completely answered for me. I\’d be curious to hear more thoughts on this.

I would like to read or listen to this book again in about a year to see if it has had much effect on me and to re-evaluate where I am.

I’ve read a few year-end review posts recently and I find them fascinating. I wish I had my own archives of year-end reviews to look back on. So I thought I’d jump on the bandwagon and get started this year.

What Went Well

Gym & Fitness

I got my first gym membership in December 2013 and started going regularly. I also started running (very slowly) for the first time in my life. These habits continued into the start of 2014. I even ran my first ever 5k. For me, this is a big deal because I really hate running. So to run 5k without stopping was a pretty big accomplishment. Sure, I took last place out of all my co-workers I ran with, but I finished middle of pack overall. Most importantly I finished!


When ng-conf was first announced, it sounded like it was going to be a small conference here in Salt Lake City. So I was surprised when I missed out on the early bird tickets both times. But I was fortunate to get tickets in the final round. It seemed they were golden tickets though as demand was huge.

It was a great conference and I was lucky enough to score early bird tickets first round for 2015!

New Home

We built a new home in Farmington, UT. We moved in on March 14th. We decided to build so that we could get everything we wanted and not spend so much time on remodeling projects. It is a great home and we love it. There are so many kids in this new neighborhood. Our kids have made lots of new friends.

Little League

When we moved to Farmington I signed the boys up for little league baseball. I got an email saying they were in need of about 30 parents to volunteer as coaches. I found that I really didn’t enjoy coaching in Alpine so I stopped volunteering. But since they were in great need I said I could coach any of my sons they wanted me to. They asked that I coach in the Mustang league (9-10 year olds).

It turns out that I had a blast. I had some great kids on my team. I got pretty competitive as a coach because for the first time I found that my decisions could often make the difference between winning and losing. In previous leagues they didn’t keep score and there technically were no losers nor winners. We ended up taking 3rd in the final tournament which was pretty good as we had about 12 teams in the league.

My 9 year old son really wanted to play on the all-star team but I just didn’t feel he was at that level. The league had about 6 kids that didn’t make the the A or B team that really wanted to play. So we put together a C team and I coached it. We got killed every game, but it was a good experience for my son to learn and get more pitching experience. He was also pretty happy to get an all-star uniform.

Gehrig pitching in an all-star game

Baby Griffey

Our 5th child was born on June 4th. He is our 4th son. We carried on the tradition of naming him after a baseball player. I’ll admit it has been quite an adjustment. We had to upgrade our SUV, adjust our sleeping schedules, and purchase all the baby stuff we had since given away. Plus, I am finding it is very hard to find hotel accommodations for a family of 7. My wife and I both feel confident now that our family is complete.

Family Fun

We bought season passes to Lagoon this year since we are so close. It has been fun because we don’t feel like we have to make a whole day of it. Sometimes I would just take one child in the afternoon on a weekday and there were virtually no lines to any rides.

We haven’t told the kids yet, but we got passes again for 2015.

New Job

After having the baby I worked from home for a week. One day after working I walked out of my office and sat on the couch to watch a movie with the family. I thought, “It would be nice to work from home again and not have to commute.”

The next morning I noticed an email in my inbox from the local Utah Python user group. A company was looking for Python developers that would work remotely. I looked into it more and ultimately interviewed with them and accepted an offer. So I am now an employee of Verizon Digital Media Services. I work on upLynk.com. It has been fun and I have learned a lot about video streaming the past six months.

Brought on a Partner

I partnered with a friend to help me work on EnvelopeBudget.com. The design and user interface has been mostly an afterthought on this project. I bought a template and I have just been using the css classes available in the framework. Now my friend is re-designing it from the ground up. Once the designs are complete I will work on re-coding it according to the new designs – mostly utilizing AngularJS and an Django REST Framework.

What Did No Go Well

Missed MicroConf

I bought tickets to attend MicroConf in Las Vegas. I was pretty excited about this. Unfortunately my boss at the time put a freeze on all vacation time in order to meet deadlines. (I didn’t feel this was necessary, but that is another story.)

Fortunately, the organizers were kind enough to resell my ticket and give me a refund and they also gave me early access to the recorded talks.


At some point – probably around the process of moving to Farmington, I stopped working out. I stopped going to the gym completely and ended up canceling my membership to save money. I have been pretty sedentary since then. I really want to get back into an exercise program. I found that I enjoyed free weights the most. I still hate running – especially on a treadmill.


At the start of 2014 we had zero debt and $80,000 in the bank. With the purchase of the house and all the upgrades and new decor, etc etc… plus a new car we now have about $30,000 in debt. As a personal finance guy that is supposed to know better, this is quite stressful.

While the change in jobs has helped, what hasn’t helped is losing income from my DIRECTV vs. DISH site. At its high point, about 3 years ago, it was bringing in $6,000 per month. Now it brings in about $300 per month if I’m lucky. It’s been hard to lose that income and hard to know what to do with that site. I can’t pay for any type of advertising and I don’t really enjoy SEO work so it has been hard to promote.

Sold My Truck, Bought a Lemon

In order to pay down some debts I decided to sell my truck about 2 months ago. I bought it at the end of 2013 for $15,000 after taxes & registration. It was a great truck. I was only able to sell it for $11,000.

Worse yet I bought a lemon of a car. I ended up purchasing a 2003 VW Passat. It had a bra on it. I was stupid not to check under the bra because when I got home I found it had been in an accident and had a different bumper on it that wasn’t put on very well. I really had no recourse. I find I am often too trusting and I can get taken advantage of easily by liars.

I took it to Midas to get new brake pads and they told me I needed to brakes. I spend $700 but when they gave me my car back the brakes didn’t work at all. They wanted another $700 to try to fix it. I took it to a different mechanic to fix it properly and spent another $700. That along with some other work that needed to be done I spent an additional $2200 on a car that is just not worth it.

I like having a truck for times I need a truck, but I hated driving it around on the freeway all the time. At some point I would like to own a small car and a truck. It won’t make my goal list for 2015, but some day…

Let Employee Go

Due to the loss of so much income and my own neglect of EnvelopeBudget – not marketing it properly, I didn’t have the income to continue paying my full-time programmer and had to let her go. It was very hard becuase she was good and so loyal. I did use my network to find her another job and she is actually getting paid more now, so I can feel good about that. And speaking of loyal I have found that she continues to answer support questions and fix issues on the site out of kindness. Isn’t she great!?

Stress & Regrets

I felt I spent too much time in 2014 looking backwards wondering if I made the right decisions. Should we have sold our house in Alpine for a smaller house & lot in Farmington in the middle of a swamp when the payments are the same? This went through my mind far more than I care to admit.

Should I have sold my truck? In hindsight, probably not.

I never really looked back on my career move though. What I learned after leaving was that I was much more stressed out at my old job than I thought. It wasn’t so much the job and the work I did, but more of the people I worked with. I felt my manager didn’t like me and didn’t value my opinion and there was NOTHING I could do to change that. It was just time to move on.

I found that moving jobs improved my back. I haven’t had any back pain to speak of in the 6 months since working from home full time. I think this is due to the lower stress environment. I’m not constantly worrying about pleasing my manager. I work for a boss who is also a brilliant developer. He understands development and doesn’t place unrealistic demands on my time & life. Plus, not commuting is just one less thing to not have to worry about.

Minor Health Issues

Around June I found myself very fatigued – hardly able to function. At my 6 month oncologist appointment I learned my blood count was way down and I was anemic. It explained a lot and it is why I had such a hard time continuing to exercise. My CT scans looked fine though. My doctor was stumped as to where I was losing blood. After a few weeks I started to gain more energy and follow-up visits showed my blood count improving. I’m still not sure what caused it. But at my oncologist appointment this month my all my blood levels were back to normal. I think I would just chalk it up to a virus or stress.

Books I Read

  1. Jouney to the Veil – A collection of blog posts from LDS author, John Pontius, up until his death.
  2. Triumph of Zion by John Pontius
  3. Visons of Glory by John Pontius – This book was fascinating. We listed to it on our trip to Boise & back.
  4. Book of Mormon – We read this as a family. Our stake president challenged us to read it in 6 months. We accepted and accomplished the challenge.
  5. Coaching Youth Baseball the Ripken Way by Cal Ripken Jr. – I bought this book for ideas to make my little league practices more fun and productive.
  6. The Happiness Advantage by Shawn Achor – I purchased this after listening to his TED talk.
  7. Fitness Confidential by Vinnie Tortorich – I purchased this book after listening to a Pat Flynn podcast were Vinnie was a guest.
  8. Rush Revere and the Brave Pilgrim by Rush Limbaugh – This is an entertaining history book we listened to on our road trip to St. George.

Places I Visited

We didn’t travel much in 2015. This was mainly due to finances and having a baby. We did take a couple of road trips though.

  1. Boise, ID – I had a niece born a month before our baby. We make the trip up to be at her blessing and spend time with my brother and his family. They were kind enough to let us stay at their home, but I think they couldn’t wait to kick us out afterwards!

    At Cheesecake Factory in Boise with my big Bro.

  2. Eden, UT – My mom rented a large condo for a family reunion. We hung out with family, played golf and did a lot of swimming.

    Family Photo in Eden, UT

  3. Marina del Rey, CA – A couple of weeks after starting my new job with Verizon, they flew us to California for a one day company technology conference. It was a great overview of the company I was joining. I had an awesome hotel room on the top floor overlooking the marina. While I was in town the Braves (my favorite team) just happened to be in town to play the Dodgers so I invited a co-worker and got tickets to the game.

    Marina del Rey

  4. Antelope Island, UT – This wasn’t much of a road trip since it is so close to home. We packed a lunch and drove out to Antelope Island because it is somewhere I have always wanted to see.

    Antelope Island

  5. St. George, UT – We rented a condo via VRBO and stayed for 3 days in St. George. While we were there we spend one day visiting Zion National Park for the first time. The next day we went hiking in Snow Canyon with some friends who live down there. The cover image for this post is from that hike. That night we also went to a local play of The Odd Couple with them.

    Hiking in Zion NP

What’s In Store for 2015?


I’ve made the decision to take on a bit of freelancing work. I haven’t done any freelance work in a number of years. Why get paid $45 an hour when I can do nothing and make $6,000 a month from one of my websites? But, like I said, that income has dried up.

Sometimes it is worth trading hours for dollars – when you really need the dollars. I have some financial goals for 2015 that will require some extra income so right now, the quickest way for me to get that income is to take on some freelance projects.

I have already started. I have agreed to tutor someone in San Francisco to help them learn Django. We have had one session so far. I had a short skype call today from another person that is looking for someone to tutor him to help him build and host a Django site. So I guess this is more like consulting than freelance. I’m charging $50 an hour right now. If this continues I can see raising my rate as my time is limited, but I’m just getting my feet wet with tutoring/consulting.

EnvelopeBudget 3.0

As I mentioned I brought on a friend and brilliant UX designer to help me. My goal is to have the 3.0 beta version available to customers by June 1, 2015.

15 Year Anniversary

This year will be my 15 year anniversary. I really want to do something fun with my wife. I would love to take her to Hawaii as neither of us have ever been. We have also never been on a cruise, so I would love that too. Depending on what the budget allows, it may just be a trip to San Diego. Where ever we go, I want it to include a beach so we can relax. Now I just need to find someone to watch our 5 kids as we get away!


Last night we set individual goals as a family. We wrote them out twice and sealed one of them in and envelope to open next year to see how we did. I wrote 10 goals. I’ll share my goals here:

  1. Complete at least 150 workouts throughout the year. I recently purchased some olympic weights and a power rack so I can do this at home. I plan on following the 5×5 Strong Lifts routine.
  2. Go to the temple at least 25 times. I’m LDS and one of the best places I can go to feel at peace is the temple. I like to go first thing in the morning to start my day.
  3. Read or Listen to 13 books.
  4. Write 150 journal entries.
  5. Write 50 blog posts. These can be on any of my blogs, but mostly likely on this blog or on EnvelopeBudget.com.
  6. Go Home Teaching at least 10 times. Another church related goal. I should go every month, but 10/12 would still be a major improvement for me this year.
  7. Take Rachel on a 15-year anniversary vacation – out of state – beach included.
  8. Pay off credit card debt.
  9. Launch new version of EnvelopeBudget.com.
  10. Landscape our backyard. We ran out of money to complete our back yard last summer. I want to get it done this summer so our kids can play back there.

    My new home power rack!

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 up the street said I should check out your store.\”

My mom has been paying some company $320 per month for the last nine months that promised to get her on the first page of Google. They have literally done nothing except continue to bill her month after month.

I don\’t know how effective an SEO campaign would be if you are only paying $320 per month, but I know I could take half that and start getting lots more exposure than she is getting just by using Google Adwords.

Basically my mom was calling to ask if she could send that money to me instead in return for me helping her get more traffic. I agreed to do it. I have enough experience that I put together a simple marketing plan for her so I can start to get her more customers and as I prove I can get a lot better ROI, then we can increase our marketing spending and efforts, and I can hire a virtual assistant to do the majority of the work.

But this post isn\’t really about marketing, SEO, or hiring VAs. My first order of business was to figure out how to allow my mom to set up an auto payment plan on her business credit card to put that $320 into my account each month.

Without doing much research I turned to stripe, because I know I could get it set up fairly quickly with their API. And it was relatively quick. It took me about 2 hours to do the research and create the page. It is nothing fancy.

First I created a folder on my server named payments and dropped the lib folder of the PHP Stripe API library into it.

I created a config.php file with the following:


$stripe = array(
  &quot;secret_key&quot;      =&gt; &quot;<strong>my_secret_key</strong>&quot;,
  &quot;publishable_key&quot; =&gt; &quot;<strong>my_publishable_key</strong>&quot;


I created a subscription plan on the Stripe admin page and gave it an ID of \”soakers320\”. Then I created this very simple index.php page:


if($_SERVER[&quot;HTTPS&quot;] != &quot;on&quot;)
    header(&quot;Location: https://&quot; . $_SERVER[&quot;HTTP_HOST&quot;] . $_SERVER[&quot;REQUEST_URI&quot;]);

if ($_SERVER[\'REQUEST_METHOD\'] == \'POST\') {
    require_once(dirname(<strong>FILE</strong>) . \'/config.php\');

<pre><code>$token  = $_POST[\'stripeToken\'];

$customer = Stripe_Customer::create(array(
    \'email\' =&amp;gt; \'customer@example.com\',
    \'card\'  =&amp;gt; $token,
    \'plan\'  =&amp;gt; \'soakers320\'

echo \'&amp;lt;h1&amp;gt;Successfully charged $320.00. Thank you!&amp;lt;/h1&amp;gt;\';


&lt;title&gt;Red Seam Marketing Subscription&lt;/title&gt;

&lt;?php if ($_SERVER[\'REQUEST_METHOD\'] == \'GET\'): ?&gt;

&lt;script src=&quot;https://checkout.stripe.com/v2/checkout.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://code.jquery.com/jquery-2.1.1.min.js&quot;&gt;&lt;/script&gt;

&lt;form method=&quot;post&quot;&gt;

      var token = function(res){
        var $input = $(\'&lt;input type=hidden name=stripeToken /&gt;\').val(res.id);

<pre><code>  StripeCheckout.open({
    key:         \'**my_publishable_key**\',
    address:     true,
    currency:    \'usd\',
    name:        \'Marketing\',
    description: \'Marketing Plan for Soakers.biz\',
    panelLabel:  \'Subscribe\',
    token:       token,
    allowRememberMe: false

  return false;

&lt;?php endif; ?&gt;


Some notes on the code:

Lines 3-7: I should also mention I purchased a $9.00 SSL certificate at namecheap.com for added security. This code ensures that the page is only accessed via https.

Lines 9-22: After the form is filled out and submitted, it creates a form past back to this page. This is the call that creates the customer using the subscription plan and actually charges their card.

Lines 41-59: This creates the Checkout form that generates the card token that is passed into this page when it is posted.

That\’s about it! Let me know if you have questions on any other portions of this code.

I set up my OpenSprinkler last night. It was a pretty painless endeavor. I\’ll walk through it in this post so I can explain what I did.

The Purchase

There are a few different models and options to choose from on RaysHobby.net. Time seems to be my greatest commodity at this stage in life so I opted to get the fully assembled model for $149.99. It seemed a bit expensive. I paid the same price for a 12 station remote control system at my old home a few years ago. But that system, while very nice, didn\’t allow me the customization I knew I would get with this system. Also, I didn\’t have to worry about my kids walking off with the remote. I could just use my phone or computer.

Additional Purchases

Once the system arrived, I realized I didn\’t have everything I needed to set up the sprinkler. Specifically, I needed a power source and something to get the internet to this thing.

Power Supply

The instructions said I needed a 24VAC transformer. Honestly I had no idea what this was. I did a little research and ended up buying this one on Amazon for $14.96. It has a plug for Rain Bird devices at the end of it. I just cut it off and trimmed the wires to attach to my power terminal block on the OpenSprinkler. I learned that each of this blocks pull out with makes it easy to attach wires.

In hindsight, I didn\’t really need to purchase this. When I took down my cheap sprinkler controller that the landscapers set up I noticed it uses a 24VAC transformer and I just had to loosen some screws to detach it and it would have been easier to use — no trimming of wires required.

Internet Connection

Unfortunately there is no wireless adapter built into this thing so I had to find a wireless bridge. I found this one on Amazon which I purchased for $25.99.

It was a pretty simple setup to get it configured:

  1. Plug in it.
  2. Connect to it as if it were your wireless rounder.
  3. Go to in your browser to access to admin config.
  4. Put it in repeater mode, connecting to you main wireless router.

That\’s basically it. Then I just ran a Cat5 cable (which came included in the package) to the OpenSprinkler.

Managing Open Sprinkler

Once it connects to your home network, if you push the top button on the right side of the device it will display it\’s IP address. In my case it was I then went to this IP in my browser ( and was propted to log in. The default password is printed on the OpenSprinkler instructions. From here you can change settings, set up stations and watering times etc.

Wiring up the sprinkler wires was also simple. I just moved the wires from my old system to the new OpenSprinkler. There wasn\’t much to it.

I downloaded the Sprinklers App on my iPhone. Because my iPhone was connected to my home network as well it was able to easily detect my OpenSpinkler automatically.

I installed the app on my wife\’s phone so now she doesn\’t have to ask me to turn on sprinklers on random occasions.


All in all this project cost me around $190 and about 2 hours of time. You could save some money if you went with a DIY kit and didn\’t need to buy the 24VAC transformer or wireless bridge. But I am sure going to love the ability to manage my sprinklers on a web page rather than a tiny black & white display. Also I have the ability to control my sprinkler from anywhere. (I could put it on a public IP but I haven\’t done this yet since I work from home and don\’t really see the need to control my sprinklers from out of town. But who knows, that could change.)

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 right now. I\’m used to having thousands of emails in my inbox, half of them unread.

One thing that has helped is that I have determined that my inbox is a terrible todo list. I have started using Wunderlist more to manage my daily tasks.

Generally I’ll start my morning by looking through my todo list in Wunderlist. I’ll set due dates on all the items I want to get done today and set the due date as today. Wunderlist has an automatic category named Today where I can see all the tasks I have set as due today.

I generally try to have no more than 10 tasks. Some are long tasks, some are simple. My goal is to get through the task list for the day. I work on one until I check it off, then I work on another I generally get about 5-6 task done in a day leaving 4-5 left that are still in my today list the next day because they are now marked as overdue. I generally just mark them as due today, or leave them as overdue and because they show up in red they tend to get a higher priority.

So as I go through my emails, if there is something that I need to take action on, I move it into my todo list. Basically, the only thing that stays in my inbox is a message that I need to reply to and I can’t just reply quickly to. Either it needs some thought or action first. But, if it needs some action first, I will generally put it in my todo list and then find the email later and reply after I complete the todo task.

For email I have been using a combination of Airmail, Gmail, and I just got the beta of Mailbox for Mac, which have been using on my iPhone and I really like it. Each client has it’s pros & cons, but I think I\’ll save that topic for another day.

Last night I listed to a talk from Nathan Barry from MicroConf 2014. It was a good reminder of the power of habits and doing things on a daily basis. He actually wrote an iPhone app to track your habit goals and your streak. I looked at it and ultimately decided on a different one named Habit List. Today is my first day using it but so far I really like the flexible features. For example, some habit I may only want to do on Mon, Wed, Fri. Some habits I want to do 5 days a week, but it doesn\’t matter which days. Habit List supports these features. I just really wish they had a desktop app to go with it like Wunderlist.

Hopefully I can develop some good habits and report back later that the productivity apps and processes are still working.

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:

from django.template.defaultfilters import pluralize

def message(count):
    return \'{} item{} {} updated.\'.format(
        count, pluralize(count), pluralize(count, \'was,were\'))

Testing this would produce the following results:

In [3]: message(1)
Out[3]: \'1 item was updated.\'

In [4]: message(2)
Out[4]: \'2 items were updated.\'

In [5]: message(0)
Out[5]: \'0 items were updated.\'

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 money with all our other upgrades, I decided that rather than go into debt to get it done, I could perhaps find a landscaper willing to do some trade work. I could build a website for their business in return for their landscaping services.

I’ve actually done trade work once in the past. I needed my house painted and posted an ad on Craigslist. I had an artist come and paint my house and I built a custom website for him in return to feature his artwork. I think after all the iterations and custom work I did, he came out far ahead.

But, I really need a backyard, so I wrote up a few on craigslist. I got a couple of bites. The first one was someone who wanted me to call them. I emailed them instead and never heard back from them. If I can’t communicate with someone via email, I don’t think we will be able to work well together.

The second person who contacted me was all about every plant being editable and water-wise. She said if I liked to use bug spray and non-organic fertilizer then she didn’t feel we would be a good fit. I didn’t feel we would be a good fit.

So I figured it was time to just find someone and get a bid. I subscribed to Angie’s list and sent emails to about 6 different landscapers. I didn’t hear from any of them. It must be a busy time of year. My wife called a few places and actually got one person to return her call. 

But then something crazy happened. Some neighbors came to visit and welcome us into the area. When I told them what I did for a living, one of them’s eyes lit up and said “We need to talk.” I actually hear this a lot. Since I haven’t really done freelance work in many years I usually just let them know I’m not in the freelance business. But, when he said he owned a landscaping company and needed a website and that he was interested in trade work, my eyes lit up. “Yes, we need to talk!\”

So we are going to work with each other. Hopefully it all goes well. My wife tends to get nervous when I do business with neighbors because she is afraid that something may go bad and cause hurt feelings and awkward relationships. I tend to look at it as more of a blessing. I love trade work. There is something appealing for about trading skills for skills and work for work.

So what do you think? Have you ever done trade work? How did it go? Would you do it again?

Recently Luke lamented that his favorite ebook reader was being sunset. I suggested Kindle. I was showing off the features I liked about Kindle when I realized that while I could send personal documents (PDF, MOBI) to my kindle devices (Kindle, iPad, iPhone), these personal documents were not showing up in Kindle for Mac or Kindle Cloud Reader. These apps only let me read kindle books I have purchased on Amazon.

This morning I got the following email from Amazon:

Dear Kindle Customer,

As a past user of personal documents on Kindle devices or reading apps, we are pleased to let you know about some improvements we\’ve made to how personal documents work.

Personal documents are now in Amazon Cloud Drive: Starting today, all personal documents that you have archived in your Kindle Library will be available to access, delete, organize, and share from your Amazon Cloud Drive. You can see these documents in a new \”My Send-to-Kindle Docs\” folder alongside all of your saved content such as photos and personal videos.

There is no action required on your part. Your personal documents features will continue to work just as they have in the past. And as always, you can use Manage Your Kindle to see a list of your documents, re-deliver them to Kindle devices and free reading apps, delete them, or turn off auto-saving of documents to the cloud. Documents will be delivered just as they have in the past and you will continue to have 5 GB of free cloud storage for your personal documents. Just \”Send Once, Read Everywhere.\”

Documents stored in their native format: Also starting today, new documents that you save to the cloud with Send to Kindle will be stored in their native format (e.g. MS Word, TXT) so you can access them anywhere from Amazon Cloud Drive.

Please note: Your usage of Amazon Cloud Drive is subject to the Amazon Cloud Drive Terms of Use.

The Docs Team

To learn more about sending documents, news, blogs, and other web articles to your Kindle, please visit amazon.com/sendtokindle

To learn more about Amazon Cloud Drive features and apps, please visit amazon.com/clouddrive/learnmore

I learned a number of things from this email.

First, I didn\’t even know there was an Amazon Cloud Drive app that essentially works like Dropbox, Copy, Google Drive, etc. So I installed it. What\’s one more?

After installing it, I had a cloud drive folder and it synced some MP3\’s I had purchased from Amazon in the past. It also created a folder that contained all my personal docs I had syned to my kindle devices.

Still, I didn\’t see a way to automatically see these docs in my Kindle for Mac app.

Fortunately, I found an easy hack to make it work.

How to sync personal kindle docs with your local kindle app

In the Kindle for Mac app, you can set your content folder in your preferences. Just set this to the Amazon Cloud Drive folder that contains all your personal Kindle docs. Done!

Still, I don\’t think it will sync furthest location read between devices. Hopefully this is addressed at some point.

Sending personal docs to kindle

The other thing I learned is that there are easier ways to send personal documents to kindle. While the email message is nice, it is not ideal. I downloaded the Send To Kindle app that lets you simply drag & drop a file. It will even try to convert PDF files to Kindle files. I\’m not sure how well it works though.

Good job Kindle & Docs teams. Keep up the good work!

Show Your WorkMy 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 out how to program that algorithm into my calculator. The problem was that once I did, I would promptly forget how to work the problem by hand.

I mostly got B’s on my tests. I would get all the answers right, but I would often get docked for not showing my work. How do you show your work when the only way you remember how to solve a problem is to plug numbers in to the program you wrote on your calculator?

I was thinking about this recently. Today I might be accused of the opposite. When I leave a comment in a bug or feature ticket, I might be accused of sharing too much information. The business person that submitted the bug in our ticket system doesn’t really need to see all the queries I ran, the results of those queries and a documented process of how I came to find my solution. They just wanted it fixed.

But here’s the deal: I don’t write all that information for them. I write it for me.

Like the algorithms I programmed into my calculator in high school, I will promptly forget what I worked on two days ago and the process I followed. If I run into a similar problem, finding the ticket where I documented my process of finding a solution in the past is often much faster than coming up with that solution (or a new solution) again. This is also why I blog.

So, if you are going to err, err on the side of sharing too much information. Even if nobody cares, you will thank yourself later. On top of that, the business person requesting the bug fix might just learn a little more about your system in the process.