archive_

Email To Hoist

I mentioned in jest to the Hoist Product Manager that there should be a way that you can email data to Hoist, but my mind would not let it rest. So I bring to you a not so finished method of sending an email to get data into Hoist. https://bitbucket.org/andrewcox/email2hoist There was nearly some …

Creating a simple voting site with Hoist

I needed to create a simple site (2 page) that would let people vote on when my baby would be born. Not wanting the trouble of hosting the database or creating the api to store the data, I turned to Hoist With the easy to use javascript library found at https://github.com/hoist/hoist-js I was …

New Website Content

Just pushed a new version of www.civet-labs.com live, just more content than the last parked version. Some interesting things for us all to remember: One: Always have someone test your work! (Thanks James) As you are bound to forget something. Two: Always have a deploy script! It makes life so much …

Twisted Server on AWS EC2

This is a post on how I built a script to provision a AWS EC2 instance for a twisted server, for those that just want the finished script it is in my bit bucket repo here with instructions on how to use it - https://bitbucket.org/andrewcox/provisiontwistedserver Wanting a public facing version of …

Heroku Scheduler and the UnicodeEncodeError

Ruminate runs a scheduled task on Heroku every hour to grab the new entries from the configured news feeds. I was noticing that some feeds were not updating, checking the logs I saw that I was getting a: ‘ascii’ codec can’t encode character u’\u2022’ in position 49: ordinal not in range(128) This …

Announcing Ruminate

A week ago I challenged myself to write a simple Google reader clone. The reason being that I wanted to write a non-trivial piece of python code, and document the creation process. It is now in version 0.1. I have released it onto heroku and it works for my reading needs. You can see the Trello …

Installing .Net 1.1 on a AWS Windows 2008 machine

I am trying to get the .Net 1.1 applications that I work with installed on a AWS Windows 2008 instance so that it can act as a development server. After installing .Net 1.1 our windows services install and run OK. The problem comes when you try to run an ASP.Net application. Searching I found this …

Installing Nikola on Windows 7

The new version of Nikola was released and wanted to know if I could use it for www.civet-labs.com. I started by trying to pip install nikola into a virtualenv, but it didn’t work out of the box. The reason it was not installing out of the box was due to the fact windows doesn’t have a build chain …

Would your device lie to you?

The purpose of this post is the pose the question “Why would your device lie to you?” One of the assumptions of the “Internet of things” is that the device is objective. That the device will report the truth within the limits of its sensors. That is a useful assumption, but what if the devices …

Creating a heroku python app on windows 7

Here are the steps I follow to create a new python app on heroku. I am writing them down so that I don’t have to remember them, or where to find them. I give credit to the tutorial over at “Getting Started with Python on Heroku” where I learned these steps. However these steps are tailored to …