- Entries from April 2007 Entries from April 2007 http://tech.randomness.org.uk/ GPS Shiny Thing http://tech.randomness.org.uk/GPS_Shiny_Thing.html http://tech.randomness.org.uk/GPS_Shiny_Thing.html Sat, 14 Apr 2007 01:29:12 GMT <p>So recently <a href="http://london.randomness.org.uk/wiki.cgi?Kake">Kake</a> and <a href="http://london.randomness.org.uk/wiki.cgi?Bob">I</a> have been adding <a href="http://london.randomness.org.uk/wiki.cgi?Category_Free_Geodata">Public Domain Geodata</a> to our <a href="http://london.randomness.org.uk/">Guide to London</a> using a Garmin Etrex she has been borrowing from a friend. However, it possibly has one of the one most annoying interfaces i've used for a while and we only have one.</p> <p>So, I succumbed and bought the <a href="http://europe.nokia.com/accessorieslink?s=LD-3W">Nokia LD-3W</a> which works with my <a href="http://europe.nokia.com/A4142101">phone</a>. I can get location data with applications which came as standard and indeed save landmarks which I can then export as an xml file. I cant get any routes though. However, I did find an <a href="http://research.nokia.com/research/projects/SportsTracker/">application</a> from nokia research which almost gives me what i want. It can export trip data as kml. So for your viewing pleasure <a href="http://maps.google.co.uk/maps?f=q&amp;hl=en&amp;q=http://randomness.org.uk/Shopgoo.kml">My trip to the butchers</a> this morning. It jumps around quite a bit. </p> <p>One problem is that I can only get Lat/Long out when we are using OSGB for the guide. Thankfully, the windows <a href="http://www.ordnancesurvey.co.uk/oswebsite/gps/osnetfreeservices/furtherinfo/questsoftware.html">program</a> the <a href="http://www.ordnancesurvey.co.uk/">Ordnance Survey</a> provide to <a href="/http://gps.ordnancesurvey.co.uk/convert.asp">convert</a> between them can run under <a href="http://www.winehq.com/">Wine</a>. This will make mass conversions easier. </p> Things I have learnt this week http://tech.randomness.org.uk/Things_I_have_learnt_this_week.html http://tech.randomness.org.uk/Things_I_have_learnt_this_week.html Sat, 7 Apr 2007 00:44:08 GMT <p>Things I have learnt this week. </p><ul> <li class="u">Backups are good.<ul> <li class="uu">If for instance your colo box breaks.</li></ul></li> <li class="u">Tested backups are better.<ul> <li class="uu">Best to test them before your box breaks.</li></ul></li> <li class="u">Automated backups are better still.<ul> <li class="uu">Humans forget to do things. Machines rarely do. So your backup may not be as recent as yo u think.</li></ul></li> <li class="u">How to backup svn<ul> <li class="uu"><code> svnadmin dump $repo | bzip2 &gt; svndump.bz2 </code></li></ul></li> <li class="u">Checking which disk you are replacing in a degraded mirrored pair is a good thing<ul> <li class="uu">Your filesystem dieing or going back in time is not fun. See previous points</li></ul></l i></ul> <p>Having learnt these things I have made my backup regime <a href="http://morerandomness.org.uk/svn/tru nk/bob/scripts/backup.sh">better</a> and have made sure its croned and does backup the stuff I need. I s hould also start putting more stuff in my svn <a href="http://morerandomness.org.uk/svn/">repo</a>.</p> <p>This clusterfuck did annoyingly lead to losing about a weeks worth of data on the <a href="http://lo ndon.randomness.org.uk/">Randomness Guide to London</a> which was particularly galling since one of the reason for doing it was I trusted myself more with the data. bah</p>