Attempted logins

Wow!  This must be a record 9362 attempted logins from  91.142.162.50

Read More
Atmel MCUs and RFM01,02,12 modules.

I am building a modular monitoring system for the home.  The nodes need to be connected via radio and run on batteries.  Easy huh? 

Read More
Fedora 14 to 15 and what got broke.

It's that time of year again, yes it's Fedora upgrade time.  I hate upgrades, something always breaks and this one was no exception.

Read More
Somedays (weeks) I hate Computers

This week seems to have been a bad week in my computer world.  First I deleted all the auth data from my MySQL server, then I upgraded from FC14 to FC15.  Oh Dear...

Read More
Leaving Kmail for claws-mail

I was getting more and more frustrated with Kmail getting slower and using huge amounts of memory and CPU share.  I loooked into thinderbird as an alternate but where was no easy way to transfer all my old mail into the new format.  I eventually found claws-mail, which seemed to get good reviews as to speed, memory and CPU useage.

Read More
My Webserver Died

My webserver is an old thinkpad and was running Fedora8 when the HDD failed.  It would reboot but was suffering ever increasing numbers of drive errors.  This is here to remind me what I did so I can rebuild it little quicker next(?) time.

Read More
Making a Site Graph

I needed to make a site graph, before tools were readily available in the web.  Combining this script with wget to get a static version of the site makes a primitive site map.  It's not perfect and needs a rewrite using Python to correctly map links.

To get a static version of a site:

wget --recursive --page-requisites --html-extension --convert-links  www.your-site.co

Then cd to the new directory and run maketree to get a image file, sitemap.png.  Look at it.  I'm sure there a better tools 'out there' these days.  Perhaps I'll improve it one day.

Read More
Floating Point to Fraction Convertion Using Python

A Python script to convert a decimal fraction like 0.125 to a regular fraction like 1/8. Why you a
sk?  I wrote this as an aid to programming a microcontroller, in this case a 68HC11. Ineeded to derive temperature from a thermister sensor using a formula like:
t = 1.234x + 12 but didn't want use to use floating pint maths as this increased the code size too much.

Read More