Django Webservice Consumer Tutorial Part 2
August 1st, 2011

This is the conclusion to the first tutorial LOCATED HERE

This tutorial covers:

  • adding templates to support the views
  • integrating the web-service
  • adding an interactive form
  • and a few other odds & ends

While reviewing the video after uploading I did make an error in the code that is not immediately obvious. I wrote an error checking mechanism:

if (current.Success or forecast.Success) == False:

This code would fail if one of the services returned false but not the other. This should have been something along the lines of:

if (current.Success == False) or (forecast.Success == False):

Oh well – that’s what I get for recording myself coding :) Enjoy.
Right-Click here and select “Save Link As” to download the video or stream it below:

Django Webservice Consumer Tutorial Part 1
July 31st, 2011

This is the first part of a 2 part tutorial on setting up a simple Django development environment and building a SIMPLE application that consumes a weather service and provides a simple interaction with the user.

This tutorial part covers:

  • Setting up your development environment
  • A basic introduction to using SUDS SOAP library
  • Creating the Django project
  • Creating a very simple view handler.

Hopefully someone enjoys it :)

Right-Click here and select “Save Link As” to download the video or stream it below:

 

Big Fish
July 4th, 2011

We just took a family vacation to Myrtle Beach, and as usual, I try my hand at a little surf fishing. I’ve done this on each vacation for the last few years, and normally catch some small white-fish and small sand sharks. This time however, I had slightly a different experience. It was about 9 pm and the tide was heading out. I baited my hook with some tough mackerel because I find it stays on the hook pretty well. I only had mine line in the water for a minute or two and then it happened: My pole lurched forward and the drag began singing as the line screamed out of my reel. I planted my feet as I tightened the drag. I felt my feet slide in the sand as the beast pulled against my line..  Just before the trip I put 50lb SpiderWire on my reel and I always use steel cable leaders when fishing the ocean – so I felt pretty confident in my rig. And then it happened – I felt the release of  all the pressure on the line..  As I pulled in the line I expected to see that the line had broken, but that was not the case. The fish had bitten through the steel cable. It’s just as well though – anything that big and bad would have probably eaten me :)

First Brain Dump
May 25th, 2011

I’ve tried blogging many times in the past, and haven’t been very good at keeping it up. Recently I’ve decided to start blogging again – I think as a form of relaxation and/or to log new experiences as I learn them. I also thought I may post some tutorials from time to time.