<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:gaoithe</id>
  <title>gaoithe</title>
  <subtitle>gaoithe</subtitle>
  <author>
    <name>gaoithe</name>
  </author>
  <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom"/>
  <updated>2009-09-03T00:09:59Z</updated>
  <lj:journal userid="12998713" username="gaoithe" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://gaoithe.livejournal.com/data/atom" title="gaoithe"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:33541</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/33541.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=33541"/>
    <title>automatic sync mobile photos, map traces</title>
    <published>2009-09-03T00:09:59Z</published>
    <updated>2009-09-03T00:09:59Z</updated>
    <category term="bluetooth"/>
    <category term="automate"/>
    <category term="bash"/>
    <category term="linux"/>
    <category term="download"/>
    <category term="sync"/>
    <category term="transfer"/>
    <content type="html">Let's all sing the "let's automate" song!&lt;br /&gt;&lt;br /&gt;Incidentally started new job with Intune &lt;a href="http://www.intunenetworks.com"&gt;http://www.intunenetworks.com&lt;/a&gt; Monday.&lt;br /&gt;Finished with Sun &lt;a href="http://www.sun.com"&gt;http://www.sun.com&lt;/a&gt; Friday!&lt;br /&gt;Kids all started back to school Tue.&lt;br /&gt;&lt;br /&gt;script created just now: bt-sync-mobile.sh&lt;br /&gt;&lt;br /&gt;TODO: cron job to daily sync phone&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
#!/bin/bash

#INVOCATION:
#$ bt-sync-mobile.sh [device [dir]]
#$ bt-sync-mobile.sh Pooky 'C:\Data\Images\' 2&amp;gt;&amp;1 |tee .btsync/bt_sync_images.log 
#Stuff is synched to ~/.btsync/`echo $dir |sed 's/[\/ \\"]/_/g'`
#wami*.gpx and *.jpg files are cleared off device if synced successfully
#
#REQUIREMENTS: 
#linux with bluetooth hardware
#various bluetooth linux utils, these ubuntu packages:
#bluez bluez-utils(?) obexftp openobex-apps
#
# some of these come by default, and some are not needed, but this is on the system the script was tested on
#$ dpkg -l |egrep "bluez|hci|obex" |sed 's/  */ /g'
#ii bluez 4.32-0ubuntu4.1 Bluetooth tools and daemons
#ii bluez-alsa 4.32-0ubuntu4.1 Bluetooth audio support
#ii bluez-cups 4.32-0ubuntu4.1 Bluetooth printer driver for CUPS
#ii bluez-gnome 1.8-0ubuntu5 Bluetooth utilities for GNOME
#ii bluez-gstreamer 4.32-0ubuntu4.1 Bluetooth gstreamer support
#ii bluez-utils 4.32-0ubuntu4.1 Transitional package
#ii gnome-vfs-obexftp 0.4-1build1 GNOME VFS module for OBEX FTP
#ii libopenobex1 1.5-1 OBEX protocol library
#ii libopenobex1-dev 1.5-1 OBEX protocol library - development files
#ii obex-data-server 0.4.4-0ubuntu1 D-Bus service for OBEX client and server sid
#ii obexftp 0.19-7ubuntu2 file transfer utility for devices that use t
#ii openobex-apps 1.5-1 Applications for OpenOBEX
#ii python-bluez 0.16-1ubuntu1 Python wrappers around BlueZ for rapid bluet
#
#NOTES:
#The bluetooth connect seems to fail sometimes.
#Files with funny chars in name could cause a problem. maybe. () are okay
#Files to clear out are hardcoded.
#It's simple - just syncs files up if they don't exist on host.
#There are various other TODOs

DEVICENAME=$1
#echo all is $*
BTSYNCHOME=~/.btsync

# DEVICENAME can be blank (scans all devices)
HCISCAN=`hcitool scan |grep "$DEVICENAME" |grep -v ^Scanning `
#Scanning ...
#	00:1F:5D:BF:29:39	Nokia 3120 mmfa
#	00:17:E5:EE:29:18	Pooky
#check for duplicates
DEVCOUNT=`echo "$HCISCAN" |wc -l`
HCISCAN_S=`echo "$HCISCAN" |sed 's/[\t ][\t ]*/ /g;s/^ *//;'`
BTADDR=`echo "$HCISCAN_S" |cut -d' ' -f1`
DEVNAME=`echo "$HCISCAN_S" |cut -d' ' -f2-`

#echo "DEVCOUNT=$DEVCOUNT HCISCAN=$HCISCAN 
#BTADDR=$BTADDR DEVNAME=$DEVNAME"

if [[ $DEVCOUNT -ne 1 ]] ; then
    echo "usage: $0 &lt;devicename&gt;  &lt;dir_to_sync&gt;
  e.g. $0 42:54:41:44:44:52 \"C:/Data/\"
Which device?
$HCISCAN
"
    exit;
fi

echo "BTADDR=$BTADDR DEVNAME=$DEVNAME"
#sudo hcitool info $BTADDR

DIRTOSYNC=$2
# TODO pass in dir/file to sync on cmd line in $2
if [[ -z $DIRTOSYNC ]] ; then
    echo "usage: $0 &lt;devicename&gt;  &lt;dir_to_sync&gt;
  e.g. $0 42:54:41:44:44:52 \"C:/Data/\"
  e.g. $0 \$BTADDR \"C:/Data/Images/\"
  e.g. $0 $BTADDR \"C:/Data/Videos/\"
  e.g. $0 42:54:41:44:44:52 \"C:/Data/Sounds/\"
"
    DIRTOSYNC="C:/Data/"
    #exit;
fi

mkdir -p $BTSYNCHOME

DIRTOSYNC_HASH=`echo "$DIRTOSYNC" |sed 's/[\/ \\"]/_/g'`
#obexftp -b $BTADDR -v -l ""
#obexftp -b $BTADDR -v -l "C:/"
echo DIRTOSYNC=$DIRTOSYNC DIRTOSYNC_HASH=$DIRTOSYNC_HASH
obexftp -b $BTADDR -v -l "$DIRTOSYNC" |tee $BTSYNCHOME/$DIRTOSYNC_HASH.list


# cd to where we are getting files
mkdir -p $BTSYNCHOME/$DIRTOSYNC_HASH
cd /tmp
cd  $BTSYNCHOME/$DIRTOSYNC_HASH
pwd


echo get list of all files
echo TODO: parse xml safely/properly
# &lt;folder name="whereami" modified="20080825T144716Z" user-perm="RWD" mem-type="DEV"&gt;
#  &lt;file name="CapsOff.sisx" size="25568" modified="20080331T131250Z" user-perm="RWD"&gt;
FILES=`grep "&lt;/pre&gt;&lt;div class='ljparseerror'&gt;[&lt;b&gt;Error:&lt;/b&gt; Irreparable invalid markup ('&amp;lt;file [...] newer/different&amp;gt;') in entry.  Owner must fix manually.  Raw contents below.]&lt;br /&gt;&lt;br /&gt;&lt;div style="width: 95%; overflow: auto"&gt;Let&amp;#39;s all sing the &amp;quot;let&amp;#39;s automate&amp;quot; song!&lt;br /&gt;&lt;br /&gt;Incidentally started new job with Intune http://www.intunenetworks.com Monday.&lt;br /&gt;Finished with Sun http://www.sun.com Friday!&lt;br /&gt;Kids all started back to school Tue.&lt;br /&gt;&lt;br /&gt;script created just now: bt-sync-mobile.sh&lt;br /&gt;&lt;br /&gt;TODO: cron job to daily sync phone&lt;br /&gt;&lt;br /&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;#INVOCATION:&lt;br /&gt;#$ bt-sync-mobile.sh [device [dir]]&lt;br /&gt;#$ bt-sync-mobile.sh Pooky &amp;#39;C:\Data\Images\&amp;#39; 2&amp;gt;&amp;amp;1 |tee .btsync/bt_sync_images.log &lt;br /&gt;#Stuff is synched to ~/.btsync/`echo $dir |sed &amp;#39;s/[\/ \\&amp;quot;]/_/g&amp;#39;`&lt;br /&gt;#wami*.gpx and *.jpg files are cleared off device if synced successfully&lt;br /&gt;#&lt;br /&gt;#REQUIREMENTS: &lt;br /&gt;#linux with bluetooth hardware&lt;br /&gt;#various bluetooth linux utils, these ubuntu packages:&lt;br /&gt;#bluez bluez-utils(?) obexftp openobex-apps&lt;br /&gt;#&lt;br /&gt;# some of these come by default, and some are not needed, but this is on the system the script was tested on&lt;br /&gt;#$ dpkg -l |egrep &amp;quot;bluez|hci|obex&amp;quot; |sed &amp;#39;s/  */ /g&amp;#39;&lt;br /&gt;#ii bluez 4.32-0ubuntu4.1 Bluetooth tools and daemons&lt;br /&gt;#ii bluez-alsa 4.32-0ubuntu4.1 Bluetooth audio support&lt;br /&gt;#ii bluez-cups 4.32-0ubuntu4.1 Bluetooth printer driver for CUPS&lt;br /&gt;#ii bluez-gnome 1.8-0ubuntu5 Bluetooth utilities for GNOME&lt;br /&gt;#ii bluez-gstreamer 4.32-0ubuntu4.1 Bluetooth gstreamer support&lt;br /&gt;#ii bluez-utils 4.32-0ubuntu4.1 Transitional package&lt;br /&gt;#ii gnome-vfs-obexftp 0.4-1build1 GNOME VFS module for OBEX FTP&lt;br /&gt;#ii libopenobex1 1.5-1 OBEX protocol library&lt;br /&gt;#ii libopenobex1-dev 1.5-1 OBEX protocol library - development files&lt;br /&gt;#ii obex-data-server 0.4.4-0ubuntu1 D-Bus service for OBEX client and server sid&lt;br /&gt;#ii obexftp 0.19-7ubuntu2 file transfer utility for devices that use t&lt;br /&gt;#ii openobex-apps 1.5-1 Applications for OpenOBEX&lt;br /&gt;#ii python-bluez 0.16-1ubuntu1 Python wrappers around BlueZ for rapid bluet&lt;br /&gt;#&lt;br /&gt;#NOTES:&lt;br /&gt;#The bluetooth connect seems to fail sometimes.&lt;br /&gt;#Files with funny chars in name could cause a problem. maybe. () are okay&lt;br /&gt;#Files to clear out are hardcoded.&lt;br /&gt;#It&amp;#39;s simple - just syncs files up if they don&amp;#39;t exist on host.&lt;br /&gt;#There are various other TODOs&lt;br /&gt;&lt;br /&gt;DEVICENAME=$1&lt;br /&gt;#echo all is $*&lt;br /&gt;BTSYNCHOME=~/.btsync&lt;br /&gt;&lt;br /&gt;# DEVICENAME can be blank (scans all devices)&lt;br /&gt;HCISCAN=`hcitool scan |grep &amp;quot;$DEVICENAME&amp;quot; |grep -v ^Scanning `&lt;br /&gt;#Scanning ...&lt;br /&gt;#	00:1F:5D:BF:29:39	Nokia 3120 mmfa&lt;br /&gt;#	00:17:E5:EE:29:18	Pooky&lt;br /&gt;#check for duplicates&lt;br /&gt;DEVCOUNT=`echo &amp;quot;$HCISCAN&amp;quot; |wc -l`&lt;br /&gt;HCISCAN_S=`echo &amp;quot;$HCISCAN&amp;quot; |sed &amp;#39;s/[\t ][\t ]*/ /g;s/^ *//;&amp;#39;`&lt;br /&gt;BTADDR=`echo &amp;quot;$HCISCAN_S&amp;quot; |cut -d&amp;#39; &amp;#39; -f1`&lt;br /&gt;DEVNAME=`echo &amp;quot;$HCISCAN_S&amp;quot; |cut -d&amp;#39; &amp;#39; -f2-`&lt;br /&gt;&lt;br /&gt;#echo &amp;quot;DEVCOUNT=$DEVCOUNT HCISCAN=$HCISCAN &lt;br /&gt;#BTADDR=$BTADDR DEVNAME=$DEVNAME&amp;quot;&lt;br /&gt;&lt;br /&gt;if [[ $DEVCOUNT -ne 1 ]] ; then&lt;br /&gt;    echo &amp;quot;usage: $0 &amp;lt;devicename&amp;gt;  &amp;lt;dir_to_sync&amp;gt;&lt;br /&gt;  e.g. $0 42:54:41:44:44:52 \&amp;quot;C:/Data/\&amp;quot;&lt;br /&gt;Which device?&lt;br /&gt;$HCISCAN&lt;br /&gt;&amp;quot;&lt;br /&gt;    exit;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;echo &amp;quot;BTADDR=$BTADDR DEVNAME=$DEVNAME&amp;quot;&lt;br /&gt;#sudo hcitool info $BTADDR&lt;br /&gt;&lt;br /&gt;DIRTOSYNC=$2&lt;br /&gt;# TODO pass in dir/file to sync on cmd line in $2&lt;br /&gt;if [[ -z $DIRTOSYNC ]] ; then&lt;br /&gt;    echo &amp;quot;usage: $0 &amp;lt;devicename&amp;gt;  &amp;lt;dir_to_sync&amp;gt;&lt;br /&gt;  e.g. $0 42:54:41:44:44:52 \&amp;quot;C:/Data/\&amp;quot;&lt;br /&gt;  e.g. $0 \$BTADDR \&amp;quot;C:/Data/Images/\&amp;quot;&lt;br /&gt;  e.g. $0 $BTADDR \&amp;quot;C:/Data/Videos/\&amp;quot;&lt;br /&gt;  e.g. $0 42:54:41:44:44:52 \&amp;quot;C:/Data/Sounds/\&amp;quot;&lt;br /&gt;&amp;quot;&lt;br /&gt;    DIRTOSYNC=&amp;quot;C:/Data/&amp;quot;&lt;br /&gt;    #exit;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;mkdir -p $BTSYNCHOME&lt;br /&gt;&lt;br /&gt;DIRTOSYNC_HASH=`echo &amp;quot;$DIRTOSYNC&amp;quot; |sed &amp;#39;s/[\/ \\&amp;quot;]/_/g&amp;#39;`&lt;br /&gt;#obexftp -b $BTADDR -v -l &amp;quot;&amp;quot;&lt;br /&gt;#obexftp -b $BTADDR -v -l &amp;quot;C:/&amp;quot;&lt;br /&gt;echo DIRTOSYNC=$DIRTOSYNC DIRTOSYNC_HASH=$DIRTOSYNC_HASH&lt;br /&gt;obexftp -b $BTADDR -v -l &amp;quot;$DIRTOSYNC&amp;quot; |tee $BTSYNCHOME/$DIRTOSYNC_HASH.list&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# cd to where we are getting files&lt;br /&gt;mkdir -p $BTSYNCHOME/$DIRTOSYNC_HASH&lt;br /&gt;cd /tmp&lt;br /&gt;cd  $BTSYNCHOME/$DIRTOSYNC_HASH&lt;br /&gt;pwd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;echo get list of all files&lt;br /&gt;echo TODO: parse xml safely/properly&lt;br /&gt;# &amp;lt;folder name=&amp;quot;whereami&amp;quot; modified=&amp;quot;20080825T144716Z&amp;quot; user-perm=&amp;quot;RWD&amp;quot; mem-type=&amp;quot;DEV&amp;quot;/&amp;gt;&lt;br /&gt;#  &amp;lt;file name=&amp;quot;CapsOff.sisx&amp;quot; size=&amp;quot;25568&amp;quot; modified=&amp;quot;20080331T131250Z&amp;quot; user-perm=&amp;quot;RWD&amp;quot;/&amp;gt;&lt;br /&gt;FILES=`grep &amp;quot;&amp;lt;file name=&amp;quot; $BTSYNCHOME/$DIRTOSYNC_HASH.list |cut -d&amp;#39;&amp;quot;&amp;#39; -f2 `&lt;br /&gt;echo FILES=$FILES&lt;br /&gt;&lt;br /&gt;## forget about first retrieve or not, just check files on each system&lt;br /&gt;#if [[ -f $BTSYNCHOME/$DIRTOSYNC_HASH.success ]] ; then&lt;br /&gt;#echo for second/.. retrieve just get differences&lt;br /&gt;&lt;br /&gt;echo TODO: recurse into directories&lt;br /&gt; &lt;br /&gt;echo TODO get updated files, now we get new files only&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function wipe_existing_files_from_list () { &lt;br /&gt;    echo for now we check if file exists already and wipe from list&lt;br /&gt;    ##file list to retrieve by eliminating ones already retrieved&lt;br /&gt;    FILESTOGET=&lt;br /&gt;    for F in $FILES ; do&lt;br /&gt;        if [[ ! -f $F ]] ; then&lt;br /&gt;            FILESTOGET=&amp;quot;$FILESTOGET $F&amp;quot;&lt;br /&gt;        fi&lt;br /&gt;    done   &lt;br /&gt;    FILES=&amp;quot;$FILESTOGET&amp;quot;&lt;br /&gt;#diff $BTSYNCHOME/$DIRTOSYNC_HASH $BTSYNCHOME/$DIRTOSYNC_HASH.success&lt;br /&gt;#mv $BTSYNCHOME/$DIRTOSYNC_HASH $BTSYNCHOME/$DIRTOSYNC_HASH.success&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function get_the_files () {&lt;br /&gt;    if [[ ! -z $FILES ]] ; then &lt;br /&gt;        echo get the files&lt;br /&gt;        obexftp -b $BTADDR -v -c &amp;quot;$DIRTOSYNC&amp;quot; -g $FILES |tee $BTSYNCHOME/$DIRTOSYNC_HASH.get&lt;br /&gt;        # can obexftp do a dir? would be handy.&lt;br /&gt;        #obexftp -b $BTADDR -v -g &amp;quot;$DIRTOSYNC&amp;quot; |tee $BTSYNCHOME/$DIRTOSYNC_HASH.getdir&lt;br /&gt;        # also -G (get and delete) could be used for some files&lt;br /&gt;    fi&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# TODO/half DONE track and check each file seperately&lt;br /&gt;# TODO maybe if we got the file, store the associated line then in .success file&lt;br /&gt;# use size/date in xml and  on file system.&lt;br /&gt;# ideally we want commands: GET[and remove] if newer/different&lt;br /&gt;&lt;br /&gt;function track_the_files () { &lt;br /&gt;#CHECKFILES=`echo $FILES |sed &amp;#39;s/ / &amp;amp;&amp;amp; -f /g&amp;#39;`&lt;br /&gt;#if [[ $CHECKFILES ]] ; then&lt;br /&gt;#   mv $BTSYNCHOME/$DIRTOSYNC_HASH $BTSYNCHOME/$DIRTOSYNC_HASH.success&lt;br /&gt;    for F in $FILES ; do&lt;br /&gt;        if [[ -f $F ]] ; then&lt;br /&gt;            # a file name which is part of others will cause problems &lt;br /&gt;            FILEINFO=`grep &amp;quot;&amp;lt;file name=&amp;quot; $BTSYNCHOME/$DIRTOSYNC_HASH.list |grep $F`&lt;br /&gt;            echo &amp;quot;$FILEINFO&amp;quot; &amp;gt;&amp;gt; $BTSYNCHOME/$DIRTOSYNC_HASH.success&lt;br /&gt;        fi&lt;br /&gt;    done&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;## TODO cleanup all files  on mobile retrieved this time or previous&lt;br /&gt;##   allows syncing as soon as possible but cleaning after longer (keep recent photos, traces, ...) &lt;br /&gt;&lt;br /&gt;# cleanup files matching certain patterns on mobile if they were successfully retrieved&lt;br /&gt;# we could use -G earlier (get and delete)&lt;br /&gt;function clean_the_files () { &lt;br /&gt;    for F in $FILES ; do&lt;br /&gt;###if [[ -f bin/eirkey.pl &amp;amp;&amp;amp; ( -n ${FG#wami} || -n ${F%gpx} ) ]] ; then echo yep; fi&lt;br /&gt;        &lt;br /&gt;        if [[ -f $F &amp;amp;&amp;amp; ( -n ${F#wami*.gpx} || -n ${F#*.jpg} ) ]] ; then&lt;br /&gt;            obexftp -b $BTADDR -v -c &amp;quot;$DIRTOSYNC&amp;quot; -k $F |tee -a $BTSYNCHOME/$DIRTOSYNC_HASH.clean&lt;br /&gt;        fi&lt;br /&gt;    done&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;wipe_existing_files_from_list&lt;br /&gt;echo files to get FILES=$FILES&lt;br /&gt;&lt;br /&gt;get_the_files&lt;br /&gt;&lt;br /&gt;track_the_files&lt;br /&gt;&lt;br /&gt;clean_the_files&lt;br /&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:32413</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/32413.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=32413"/>
    <title>emacs macro open-this-file and minimum .emacs settings for c-mode</title>
    <published>2009-07-22T23:41:59Z</published>
    <updated>2009-07-22T23:41:59Z</updated>
    <category term="c-basic-offset"/>
    <category term="macros"/>
    <category term="emacs"/>
    <category term="c-mode"/>
    <category term="open-this-file"/>
    <category term="indent-tabs-mode"/>
    <content type="html">&lt;pre&gt;
; open file (path and file at cursor) and bounce back to original buffer next line
; handy for restoring sessions or opening list of interesting files
; it's obvious here I'm repeating myself somewhat
; easier creating a quick macro each time sometimes than reading docs and trying to find the one-and-only proper way of the probably few ways of doing something
(fset 'open-this-file2
   [?\C-  ?\C-e escape ?w ?\C-x ?\C-f ?\C-  left left left left left left left left left left left left left left left left left left left left left left left left left left ?\C-a ?\C-y ?\C-k return ?\C-x ?b return ?\C-a down])

(fset 'load-file-at-cursor
   [?\C-  ?\C-e escape ?w ?\C-a ?\C-x ?\C-f ?\C-a ?\C-y ?\C-k return ?\C-x ?b return down])

(fset 'open-this-file
   [?\C-  ?\C-e escape ?w ?\C-a down ?\C-x ?\C-f ?\C-a ?\C-y ?\C-k return ?\C-x ?b return])
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I used to carry a massive .emacs file around everywhere, now-a-days I just put in the minimum:&lt;br /&gt;&lt;pre&gt;
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(c-basic-offset 4)
 '(c-default-style (quote ((java-mode . "java") (awk-mode . "awk") (other . "gnu"))))
 '(indent-tabs-mode nil))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
&lt;/pre&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:32091</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/32091.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=32091"/>
    <title>ECB = Emacs Code Browser, quick to set up, my head is less befuddled with code/file locations</title>
    <published>2009-07-22T23:35:04Z</published>
    <updated>2009-07-22T23:35:04Z</updated>
    <category term="ecb"/>
    <category term="source code"/>
    <category term="emacs"/>
    <category term="cedet"/>
    <category term="editor"/>
    <category term="ide"/>
    <content type="html">;ECB = Emacs Code Browser&lt;br /&gt;;Sometimes there are too many source code files, directories and lines.&lt;br /&gt;;ECB turns  emacs into a more friendly source code editor/browser.&lt;br /&gt;;Emacs is zippy and lightweight and  stable when compated with Eclipse/Netbeans/Visual Studio&lt;br /&gt;;The install doc is slightly scary however the install is really easy.&lt;br /&gt;; there's just one easy to install dependancy which is CEDET (= Collection of Emacs Development Environment Tools)&lt;br /&gt;;&lt;a href="http://ecb.sourceforge.net/"&gt;http://ecb.sourceforge.net/&lt;/a&gt;&lt;br /&gt;;&lt;a href="http://www.emacswiki.org/emacs/EmacsCodeBrowser"&gt;http://www.emacswiki.org/emacs/EmacsCodeBrowser&lt;/a&gt;&lt;br /&gt;;&lt;a href="http://cedet.sourceforge.net/"&gt;http://cedet.sourceforge.net/&lt;/a&gt;&lt;br /&gt;;&lt;a href="http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html"&gt;http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;; get cedet, unpack it (I'm working in ~/src) and build it with `make`&lt;br /&gt;;  &lt;a href="http://sourceforge.net/projects/cedet/files/cedet/1.0pre6/cedet-1.0pre6.tar.gz/download"&gt;http://sourceforge.net/projects/cedet/files/cedet/1.0pre6/cedet-1.0pre6.tar.gz/download&lt;/a&gt;&lt;br /&gt;; add settings in your .emacs (see below)&lt;br /&gt;; get ecb, unpack it&lt;br /&gt;;  &lt;a href="http://sourceforge.net/projects/ecb/files/ecb/ECB%202.40/ecb-2.40.tar.gz/download"&gt;http://sourceforge.net/projects/ecb/files/ecb/ECB%202.40/ecb-2.40.tar.gz/download&lt;/a&gt;&lt;br /&gt;; add settings in your .emacs (see below): add to load-path and (require 'ecb)&lt;br /&gt;; restart emacs&lt;br /&gt;; you may be prompted to confirm some initialisation actions&lt;br /&gt;; in emacs: tools -&amp;gt; Start Code Browser ECB&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
(load-file "~/src/cedet-1.0pre6/common/cedet.el")
(global-ede-mode 1)                      ; Enable the Project management system
(semantic-load-enable-code-helpers)      ; Enable prototype help and smart completion
(global-srecode-minor-mode 1)            ; Enable template insertion menu


(add-to-list 'load-path
             "~/src/ecb-2.40")
(require 'ecb)
;(require 'ecb-autoloads)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;;; screenshots&lt;br /&gt;; Code editing windows&lt;br /&gt;; File and dir list, file source control status shown.&lt;br /&gt;; Code method/symbol semantic view.&lt;br /&gt;; &lt;a href="http://www.dspsrv.com/~jamesc/torture/Screenshot-emacs-ECB-sun_jmf_gstreamer.png"&gt;http://www.dspsrv.com/~jamesc/torture/Screenshot-emacs-ECB-sun_jmf_gstreamer.png&lt;/a&gt;&lt;br /&gt;; &lt;a href="http://www.dspsrv.com/~jamesc/torture/Screenshot-emacs-ECB-whereami-symbian.png"&gt;http://www.dspsrv.com/~jamesc/torture/Screenshot-emacs-ECB-whereami-symbian.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;fedora 10 Sun embedded Java media:&lt;br /&gt;&lt;img width="98%" src="http://www.dspsrv.com/~jamesc/torture/Screenshot-emacs-ECB-sun_jmf_gstreamer.png" /&gt;&lt;br /&gt;&lt;br /&gt;ubuntu jaunty whereami symbian:&lt;br /&gt;&lt;img width="98%" src="http://www.dspsrv.com/~jamesc/torture/Screenshot-emacs-ECB-whereami-symbian.png" /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:31990</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/31990.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=31990"/>
    <title>Swearing at work found to build team spirit, increases productivity.</title>
    <published>2009-07-21T09:44:43Z</published>
    <updated>2009-07-21T09:44:43Z</updated>
    <category term="psychology"/>
    <category term="swearing"/>
    <category term="swear"/>
    <content type="html">Swearing at work;&lt;br /&gt;&lt;a href="http://illinois.edu/blog/view?blogId=25&amp;topicId=1121&amp;count=1&amp;ACTION=VIEW_TOPIC_DIALOGS&amp;skinId=286"&gt;http://illinois.edu/blog/view?blogId=25&amp;topicId=1121&amp;count=1&amp;ACTION=VIEW_TOPIC_DIALOGS&amp;skinId=286&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This blogger also found to be quite a pleasant and humourous read.&lt;br /&gt;&lt;br /&gt;Everything IN MODERATION now children!&lt;br /&gt;&lt;br /&gt;Clarence Darrow may have been the first to describe swearing as a non-optional linguistic universal: "I don't swear just for the hell of it . . . . Language is a poor enough means of communication as it is. So we ought to use all the words we've got. Besides, there are damned few words that everybody understands."&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Clarence_Darrow"&gt;http://en.wikipedia.org/wiki/Clarence_Darrow&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Swearing not maladaptive:&lt;br /&gt;&lt;a href="http://illinois.edu/blog/view?blogId=25&amp;topicId=2831&amp;count=1&amp;ACTION=VIEW_TOPIC_DIALOGS&amp;skinId=286"&gt;http://illinois.edu/blog/view?blogId=25&amp;topicId=2831&amp;count=1&amp;ACTION=VIEW_TOPIC_DIALOGS&amp;skinId=286&lt;/a&gt;&lt;br /&gt;Tolerance of pain increased for people who swear when they’re hurt.&lt;br /&gt;Not yet FDA approved though.&lt;br /&gt;&lt;br /&gt;so ... when I'm muttering away under my breath cursing at the code/script I'm writing that means I'm building team spirit (between me and my code!!!) :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I stumbled across this when reading the weekly summary from A Word A Day&lt;br /&gt;&lt;a href="http://wordsmith.org/awad/"&gt;http://wordsmith.org/awad/&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:31719</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/31719.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=31719"/>
    <title>notes/howto setup symbian dev environment linux</title>
    <published>2009-07-15T00:40:16Z</published>
    <updated>2009-07-15T00:40:16Z</updated>
    <category term="howto"/>
    <category term="linux"/>
    <category term="symbian"/>
    <category term="whereami"/>
    <content type="html">You can set up a symbian development environment in a couple of hours.&lt;br /&gt;Follow these instructions: &lt;a href="http://www.martin.st/symbian/"&gt;http://www.martin.st/symbian/&lt;/a&gt; they are very good.&lt;br /&gt;Here are my extra notes on the install.&lt;br /&gt;They might be useful to someone else (or myself again in future).&lt;br /&gt;&lt;br /&gt;I have a nokia E65 and although it is very grotty (interface-wise) it has nice hardware. I like being able to make software for my electronic devices. I played with python apps on the phone a bit. Symbian signing is very awkward for sharing and even playing/experimenting/developing little apps. &lt;br /&gt;&lt;br /&gt;I &lt;a href="http://www.openstreetmap.org"&gt;http://www.openstreetmap.org&lt;/a&gt; a bit and I use a bluetooth GPS with my mobile to collect the data with WhereAmI &lt;a href="http://www.symbianos.org/whereami"&gt;http://www.symbianos.org/whereami&lt;/a&gt; which is a really nice map display and GPS collection tool. It can also collect GSM cellid information, or rather, it hints it can but it doesn't on my phone.  So I want to get the source and see what the  problem is and can I get it working.&lt;br /&gt;&lt;br /&gt;================================================================================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.google.ie/search?q=symbian+development+linux"&gt;http://www.google.ie/search?q=symbian+development+linux&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wiki.forum.nokia.com/index.php/Symbian_development_on_Linux_and_OS_X"&gt;http://wiki.forum.nokia.com/index.php/Symbian_development_on_Linux_and_OS_X&lt;/a&gt;&lt;br /&gt;The three main approaches.  Realistically there seems to be one sensible approach.&lt;br /&gt;&lt;br /&gt;Symbian's build system is based mostly on perl. And a bit of make. &lt;br /&gt;It seems heavyish and they should have used make perhaps but the symbian apps are all going to be small enough really. These scripts are modified to work on unix. This matches symbian build system very closely. Seems to be best supported.&lt;br /&gt;&lt;br /&gt;Other options: Replacing the build system with makefiles giving a lighter build system or integrating the build system with IDEs don't seem to be well supported.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Start here.&lt;/h3&gt;&lt;br /&gt;&lt;a href="http://www.martin.st/symbian/"&gt;http://www.martin.st/symbian/&lt;/a&gt;   based on GnuPoc project&lt;br /&gt;"for S60 3rd ed and UIQ 3, you need the EKA2 toolchain."&lt;br /&gt;Of course we're going to build the compiler from source and not take binaries &amp;gt;;)&lt;br /&gt;And of course we're going to install the extra gnupoc tools so we don't have to use wine too much.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;What is going to be installed.&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;1. Working in this area and tools/scripts + source code are going here:&lt;br /&gt; export SYM_WORKING_DIR=$HOME/src/mobile&lt;br /&gt;&lt;br /&gt;2. compiler is going here:&lt;br /&gt; export SYM_COMPILER_DIR=$HOME/csl-gcc&lt;br /&gt;&lt;br /&gt;3. SDK is going here:&lt;br /&gt; export EPOCROOT=$HOME/symbian-sdks/s60_3_fp2_v11/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Install steps.&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;0. Signup to nokia and start SDK download&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/"&gt;http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/&lt;/a&gt;&lt;br /&gt;3rd ed fp2 v1.1 430Mish&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;1. install gnupoc tools and 2. install compiler&lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
mkdir -p $SYM_WORKING_DIR; cd $SYM_WORKING_DIR
wget http://www.martin.st/symbian/gnupoc-package-1.13.tar.gz
# http://www.codesourcery.com/sgpp/lite/arm/releases/2005Q1C  # and form fill and get OR:
wget http://www.martin.st/symbian/gnu-csl-arm-2005Q1C-arm-none-symbianelf.src.tar.bz2

tar -zxvf gnupoc-package-1.13.tar.gz
cd gnupoc-package-1.13
cd tools

less README
# I needed to install bison, I also do other development so possibly already had a
# bunch of other devel packages and tools installed. If it needs bison it probably
# needs make/autoconf/gcc packages 
sudo apt-get install bison

./install_csl_gcc ../../gnu-csl-arm-2005Q1C-arm-none-symbianelf.src.tar.bz2 $SYM_COMPILER_DIR

# I also did need libssl-dev and already had zlib
sudo apt-get install libssl-dev
dpkg -l |grep zlib

./install_eka2_tools $SYM_COMPILER_DIR
#that goes off and gets cross-binutils and compiler and builds them .... 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is the error I got that showed I needed bison.  "Unexcpected(sic) error" &lt;br /&gt;Flailing newbie help trap.&lt;br /&gt;&lt;pre&gt;
bison  -d -o gengtype-yacc.c gengtype-yacc.y
make[1]: bison: Command not found
make[1]: [gengtype-yacc.h] Error 127 (ignored)
gcc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I. -I./. -I./../include  \
	 gengtype-lex.c -o gengtype-lex.o
gcc: gengtype-lex.c: No such file or directory
gcc: no input files
make[1]: *** [gengtype-lex.o] Error 1
make[1]: Leaving directory `$HOME/src/mobile/gnupoc-package-1.13/tools/csl-build/gcc-csl-arm/gcc'
make: *** [all-gcc] Error 2
Unexcpected error: aborting.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is the error I got that showed I needed ssl-dev package.&lt;br /&gt;It actually did say you needed openssl in the README.&lt;br /&gt;Flailing newbie help trap.&lt;br /&gt;&lt;pre&gt;
g++ -Wall -gstabs+ -I../include -DTEST -ggdb -c signutils.cpp -o signutils.o
signutils.cpp:36:25: error: openssl/evp.h: No such file or directory
signutils.cpp:37:25: error: openssl/pem.h: No such file or directory
signutils.cpp:44:25: error: openssl/err.h: No such file or directory
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;2-and-a-half. Read up on symbian build tools and &lt;/h5&gt;&lt;br /&gt;&lt;br /&gt;No excuses for slacking off while compiling/installing/downloading.&lt;br /&gt;&lt;br /&gt;Also poke inside the scripts you've installed.&lt;br /&gt;&lt;br /&gt;Read more about gnupoc here:  &lt;a href="http://gnupoc.sourceforge.net/HOWTO/"&gt;http://gnupoc.sourceforge.net/HOWTO/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gnupoc.sourceforge.net/"&gt;http://gnupoc.sourceforge.net/&lt;/a&gt;&lt;br /&gt;gnupoc_install gnupoc-utils&lt;br /&gt;&lt;a href="http://web.archive.org/web/*/http://www.wayfinder.it/resources/uiq_gnupoc.php"&gt;http://web.archive.org/web/*/http://www.wayfinder.it/resources/uiq_gnupoc.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reading the "Build tools guide" is helpful to know more about what the build scripts are doing. &lt;br /&gt;&lt;a href="http://developer.symbian.com/main/documentation/sdl/symbian94/sdk/doc_source/ToolsAndUtilities94/BuildTools/index.html"&gt;http://developer.symbian.com/main/documentation/sdl/symbian94/sdk/doc_source/ToolsAndUtilities94/BuildTools/index.html&lt;/a&gt;&lt;br /&gt;How to use bldmake, How to use abld, etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;3. install the SDK&lt;/h5&gt;&lt;br /&gt;&lt;pre&gt;
# Example on(sic) installing an SDK:

## no! don't get your own unshield. sudo apt-get install unshield
export PATH=`pwd`/unshield:$PATH

cd $SYM_WORKING_DIR/gnupoc-package-1.13/sdks
mv ~/Downloads/S60_3rd_Edition_SDK_Feature_Pack_2_v1_1_en.zip ../..

./install_gnupoc_s60_32 ../../S60_3rd_Edition_SDK_Feature_Pack_2_v1_1_en.zip ~/symbian-sdks/s60_3_fp2_v11

# needed to do this (lzma_decoder.h and any SDK includes need to be findable from working area)
# perhaps should be working inside the SDK dir structure
cd $SYM_WORKING_DIR/whereami_trunk/sis
 ln -s $HOME/symbian-sdks/s60_3_fp2_v11/epoc32 ../../

## I did this:  don't know did it work, switched to using gcc
cp $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools/uidcrc.exe $HOME/.wine/drive_c/windows/
cp $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools/make.exe $HOME/.wine/drive_c/windows/
#MESSY:
cp $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools/*.exe $HOME/.wine/drive_c/windows/
ls $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/release/winscw/udeb/sdkw.exe
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Info on figuring out problems with how to set up environment for SDK:&lt;br /&gt;&lt;pre&gt;
### unshield did not work for me initially at this stage until I figured out where it was and set PATH
./unshield/unshield -V
./unshield/unshield -D3 l _e/data2.cab
find $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools -name \*.orig -exec rm {} \;
cd $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools; chmod a+x *.pl bldmake abld makmake bmconv rcomp makesis epoc eshell petran pfsdump setupcomms elf2e32 mifconv makekeys signsis extmake rtf2ptml cjpeg

### Take a look at the SDK, the install doc, the examples

ls $HOME/symbian-sdks/s60_3_fp2_v11/
epoc32/                                                             S60_3rd_Edition_FP2_SDK_for_Symbian_OS_Installation_Guide_V1.1.pdf
examples/                                                           s60cppexamples/
GCCE_readme.txt                                                     s60tools/
Nokia_EULA.txt                                                      series60doc/

ls $HOME/symbian-sdks/s60_3_fp2_v11/s60cppexamples/
addressbook         clientserverasync     dynamicsettinglist  helperfunctions   localization                   note        progressbar     webclient
aiwconsumerbasics   clientserversync      filelist            helpexample       locationlandmarksrefappfors60  npbitmap    query
animation           contacts              finditemtestapp     hwrmtestapp       locationlandmarksuirefapp      ocrexample  readme.txt
audiostreamexample  datamobility          focusevent          imopenapiexample  locationrefappfors60           openc_ex    registration
brctlsampleapp      directorylocalizerex  graphics            isvtelcallapp     locationsatviewrefapp          openglex    richtexteditor
chat                _doc                  guiengine           isvtelinfoapp     messaging                      popupfield  sipexample
clfexample          driveinfo             helloworldbasic     listbox           myview                         popuplist   uniteditorex

cat $HOME/symbian-sdks/s60_3_fp2_v11/s60cppexamples/readme.txt 
To open the Example Application Help documentation, please go to the _doc folder 
and double-click the index.htm file found there.

wine: could not load L"C:\\windows\\system32\\make.exe": Module not found
make: *** [FINALicons] Error 126

ls $HOME/csl-gcc/bin/
arm-none-symbianelf-addr2line  arm-none-symbianelf-cpp        arm-none-symbianelf-gcov     arm-none-symbianelf-ranlib   bmconv   makekeys  signsis
arm-none-symbianelf-ar         arm-none-symbianelf-g++        arm-none-symbianelf-ld       arm-none-symbianelf-readelf  copy     makesis   uidcrc
arm-none-symbianelf-as         arm-none-symbianelf-gcc        arm-none-symbianelf-nm       arm-none-symbianelf-size     del      mifconv
arm-none-symbianelf-c++        arm-none-symbianelf-gcc-3.4.3  arm-none-symbianelf-objcopy  arm-none-symbianelf-strings  elf2e32  rcomp
arm-none-symbianelf-c++filt    arm-none-symbianelf-gccbug     arm-none-symbianelf-objdump  arm-none-symbianelf-strip    extmake  rem


find $EPOCROOT -name make.exe
$HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools/make.exe
$HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools_orig/make.exe


cp $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools/uidcrc.exe $HOME/.wine/drive_c/windows/
cp $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools/make.exe $HOME/.wine/drive_c/windows/


perl -S makmake.pl  -D $HOME/src/mobile/whereami_trunk/group/s60_v3/whereami WINSCW  
ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation
make: *** [MAKEFILEwhereami] Error 255


MESSY:
cp $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools/*.exe $HOME/.wine/drive_c/windows/
$HOME/symbian-sdks/s60_3_fp2_v11/epoc32/release/winscw/udeb/sdkw.exe

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;4. try out hello world&lt;/h5&gt;&lt;br /&gt;&lt;pre&gt;
cd ~/symbian-sdks/s60_3_fp2_v11/s60cppexamples
cd helloworldbasic/group/
bldmake bldfiles
 abld build gcce urel
 cd ../sis
 makesis helloworldbasic_gcce.pkg helloworldbasic.sis
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Yay. Install finished&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Install this in your .bashrc&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
# This goes in my .bashrc or symbian environment setup script:
export SYM_WORKING_DIR=$HOME/src/mobile
export SYM_COMPILER_DIR=$HOME/csl-gcc
export PATH=$PATH:$HOME/symbian-sdks/s60_3_fp2_v11/epoc32/tools
export PATH=$PATH:$SYM_COMPILER_DIR/bin
export EPOCROOT=$HOME/symbian-sdks/s60_3_fp2_v11/
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Now play with WhereAmI&lt;/h3&gt;&lt;br /&gt;&lt;pre&gt;
 # everyday commands:
 cd $SYM_WORKING_DIR/whereami_trunk
 cd group/s60_v3

 bldmake bldfiles
 abld build gcce urel    # this works instead

 cd ../../sis
 makesis whereami_s60_v3.pkg whereami_s60_v3_jco.sis
 signsis whereami_s60_v3_jco.sis whereami_s60_v3_jco.sisx mycert.cer mykey.key
 cd ../../group/s60_v3
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
cd $SYM_WORKING_DIR
svn co https://svn.symbianos.org/whereami/trunk/ whereami_trunk

# And this is how I can work quickly compile and make .sis for whereami
# put this in a script or README or notes or blog somewhere
cd $SYM_WORKING_DIR/whereami_trunk
cd group/s60_v3
 bldmake bldfiles
 #abld build winscw udeb  #?  needs wine, .. make.exe problem?
 abld build gcce urel    # this works instead

 cd ../../sis
 makesis whereami_s60_v3.pkg whereami_s60_v3_jco.sis

 # and key signing to make sisx, don't know does this help much?
 # privately made key.  My phone is a bit hacked so I can install any .sis on it.
 # first make key and cert for yourself
 [[ ! -f mykey.key ]] || [[ ! -f mycert.cer ]] &amp;&amp;
   makekeys -cert -expdays 3650 -dname "CN=Name Surname OU=Development O=Company Name C=UK EM=foo@bar.com" mykey.key mycert.cer
 # sign application each time you need to
 signsis whereami_s60_v3_jco.sis whereami_s60_v3_jco.sisx mycert.cer mykey.key

 # how clean make/build?
 # this does a bit of it anyway:
 rm $HOME/symbian-sdks/s60_3_fp2_v11/epoc32/build${HOME}/src/mobile/whereami_trunk/group/s60_v3/whereami*/*/urel/*.{o,exe}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;WhereAmI needed lzma_decoder.h&lt;/h4&gt;  &lt;br /&gt;&lt;br /&gt;This is done above to resolve this problem:&lt;br /&gt;&lt;pre&gt;
cd $SYM_WORKING_DIR/whereami_trunk/sis
 ln -s $HOME/symbian-sdks/s60_3_fp2_v11/epoc32 ../../
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
WARNING: Can't find following headers in User or System Include Paths
 "lzma_decoder.h"
(User Inc Paths "$HOME/src/mobile/whereami_trunk/src/" "$HOME/src/mobile/whereami_trunk/group/s60_v3/" "$HOME/src/mobile/whereami_trunk/inc/" "$HOME/src/mobile/whereami_trunk/data/")
Dependency list for "$HOME/src/mobile/whereami_trunk/src/nmeaparser.cpp" may be incomplete
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
dpkg-query -L lzma-dev # no, LzmaDecode.h
# here it is:
svn co https://svn.symbianos.org/lzma/
cd lzma/C/Symbian/group
#oops! it's part of SDK:
$HOME/symbian-sdks/s60_3_fp2_v11/epoc32/include/lzma_decoder.h
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;GSM_LOCATION enable&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;GSM_LOCATION is compiled out in the source code as you get it now.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
+++ add to this file group/s60_v3/whereami.mmp  (after GPS_LBS)
MACRO		GSM_LOCATION
#define		GSM_LOCATION
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;svn diff &amp;gt;../whereami_enable_gsm_location.patch&lt;br /&gt;meld .</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:31441</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/31441.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=31441"/>
    <title>defin_I_te and definitely</title>
    <published>2009-07-13T22:27:36Z</published>
    <updated>2009-07-13T22:27:36Z</updated>
    <category term="definitely"/>
    <category term="definite"/>
    <category term="definate"/>
    <content type="html">I was putting definitely in an email earlier and had to look it up.&lt;br /&gt;Apparently it is a common enough mis-spelling. :)&lt;br /&gt;&lt;br /&gt;It's spelt definite. Not definate! definate seems to be the way I pronounce it which is presumably wrong or my accent.  And If it's spelt definite then spelling definitely is EASY.  &lt;br /&gt;&lt;br /&gt; &lt;a href="http://www.google.ie/search?q=definitely"&gt;http://www.google.ie/search?q=definitely&lt;/a&gt;  =&amp;gt;&lt;br /&gt;    &lt;a href="http://www.d-e-f-i-n-i-t-e-l-y.com/"&gt;http://www.d-e-f-i-n-i-t-e-l-y.com/&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.merriam-webster.com/dictionary/definitely"&gt;http://www.merriam-webster.com/dictionary/definitely&lt;/a&gt;&lt;br /&gt; definite definition definitive infinite (again I pronounce _ate!)&lt;br /&gt; &lt;a href="http://etymonline.com/index.php?term=define"&gt;http://etymonline.com/index.php?term=define&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:31001</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/31001.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=31001"/>
    <title>Loganberry jam and Blackberry and accidental cider</title>
    <published>2009-07-13T22:06:33Z</published>
    <updated>2009-07-13T22:06:33Z</updated>
    <category term="loganberries"/>
    <content type="html">Yummmm: Loganberry jam.  Logans from Cobh:&lt;br /&gt;&lt;a href="http://graciesbakes.com/2009/07/07/loganberry-jam/"&gt;http://graciesbakes.com/2009/07/07/loganberry-jam/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Loganberries + sugar. Nyam. Nyam.&lt;br /&gt;Not a very refined or complicated dish.&lt;br /&gt;&lt;br /&gt;Loganberry and apple jam.  Yumm.&lt;br /&gt;&lt;br /&gt;I've tried to sneak a loganberry into back garden but it is a bit obvious and hasn't escaped attention of Fionn :(  I want to find a lonely patch and gureilla garden a loganberry into it.&lt;br /&gt; &lt;br /&gt;I want to try this:&lt;br /&gt;Blackberry wine. No blackberries but a couple of buckets  of blackberry shoots/tips.&lt;br /&gt;&lt;a href="http://books.google.ie/books?id=H4h0zC-EKIgC&amp;pg=PA245&amp;lpg=PA243&amp;vq=pine&amp;dq=reed+wildfood+europe"&gt;http://books.google.ie/books?id=H4h0zC-EKIgC&amp;pg=PA245&amp;lpg=PA243&amp;vq=pine&amp;dq=reed+wildfood+europe&lt;/a&gt;&lt;br /&gt;Plus rasins, sugar or honey and yeast.  &lt;br /&gt;&lt;br /&gt;Did I ever tell you I found a bucket of old apples in the old orchard in Cobh once?&lt;br /&gt;In Wintertime.&lt;br /&gt;All full with wizened old apples (cooking apples) and rainwater,&lt;br /&gt;Not sure how it escaped being kicked over by the cattle who would have been in the field.&lt;br /&gt;It smelled lovely and I brought it back to the yard and forgot about it.&lt;br /&gt;A week later I spilled it out on the gravel which FIZZED and produced a fawn couloured big bubbled FROTH.&lt;br /&gt;Oops wow!&lt;br /&gt;Must try that again using less accidental and more hygenic methods.&lt;br /&gt;&lt;br /&gt;We have a small gooseberry bush (with reddish gooseberries on it now) and a very young blackcurrant with fruit and a young apple tree in the front garden.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:30878</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/30878.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=30878"/>
    <title>epic device recovery/flashing/breaking back into redboot via kernel saga</title>
    <published>2009-07-11T02:02:48Z</published>
    <updated>2009-07-11T02:02:48Z</updated>
    <category term="redboot"/>
    <category term="mtd"/>
    <category term="flash"/>
    <category term="busybox"/>
    <category term="mtd_utils"/>
    <category term="linux"/>
    <category term="embedded"/>
    <category term="jffs2"/>
    <content type="html">The hexdump write last week was part of an epic struggle to get back onto the RedBoot prompt of a device which was booting into a not very well working full linux and which had some problems in the flash images.&lt;br /&gt;&lt;br /&gt;The plot of the epic is more or less:&lt;br /&gt;&lt;br /&gt; James starts using device and is very cautious with flash mounted filesystem.&lt;br /&gt; After some weeks using the system James gets more confident and puts minor handy links and scripts on the flash system,&lt;br /&gt; After more than a month James is happy making mods to the file-system. Removes a 600kish app and unpacks a package in /lib/modules. &lt;br /&gt; Next reboot =&amp;gt; severe b0rkedness.&lt;br /&gt; Struggle and puzzle with device for a couple of hours,&lt;br /&gt; Augh.  It's a jffs2 filesystem image.&lt;br /&gt;&lt;br /&gt; Nope. Give up. Reflash with OS image and original busybox jffs2 image.&lt;br /&gt; Reboot.  Set up system, configure stuff. &lt;br /&gt; Mount drives. Config environment.&lt;br /&gt; Hurngghh. Problems problems problems Ehhh?&lt;br /&gt; Struggle struggle struggle.  wtf ?&lt;br /&gt; Extreme puzzledness.&lt;br /&gt;&lt;br /&gt; Start again.&lt;br /&gt; Reflash.&lt;br /&gt; Configure configure.&lt;br /&gt; Still same problems! MAH! &lt;br /&gt; But this time the redboot delay is 0 before running boot script.&lt;br /&gt;  That's the default after fis init!&lt;br /&gt; AUGH :( &lt;br /&gt; And this image seems to be even more problematic.&lt;br /&gt;&lt;br /&gt; Email replying to some questions from device makers, they use squashfs now and before that they had lots of jffs2 bug fixes so yeah, using and writing to the jffs2 flash image WAS a bad idea :(&lt;br /&gt;&lt;br /&gt; So ... now ... then ... I never quite got a nfs boot working for the device but now seems like a good time to try!  &lt;br /&gt;&lt;br /&gt; BUT can't get at RedBoot to reflash or just reconfigure RedBoot.&lt;br /&gt; Can we write to flash with BusyBox?&lt;br /&gt; mtd device ... seems to have limited writing capability?&lt;br /&gt; not really?&lt;br /&gt; Compile mtd_utils.&lt;br /&gt; They give info but unlocking/writing not allowed by kernel.&lt;br /&gt; fconfig ported to linux ... looks noice but again can't open mtd for write.&lt;br /&gt; kexec? ... Hurmmm.&lt;br /&gt; Okay.&lt;br /&gt; Write a kernel module.&lt;br /&gt; Get address of mtd data structures from kernel with nm.&lt;br /&gt; hexdump them&lt;br /&gt; Get the pointer to the mtd device in which RedBoot config is written,&lt;br /&gt; Follow the structure and find the WRITABLE flag.&lt;br /&gt; Set writable to 1!&lt;br /&gt; Now mtd_unlock mtd_write does something.  But? Flash not changed :(&lt;br /&gt; fconfig seems to do more.  Use it to set time delay to 2, not 0.&lt;br /&gt; BUt it doesn't quite work.&lt;br /&gt; The config is not modified ... BUT ... the CRC is!&lt;br /&gt; A few more attempts to correct it back to valid don't seem to work.&lt;br /&gt; fconfig won't write it again as the CRC is invalid! &lt;br /&gt; Hah hah.&lt;br /&gt; Okay.&lt;br /&gt; Fine.&lt;br /&gt; Reboot.&lt;br /&gt; OH yessss!  Redboot detects bad CRC in it's fconfig block and breaks into command-line! YES!! &amp;gt;;-)&lt;br /&gt; &lt;br /&gt; Right. nfs boot.&lt;br /&gt; Manual reading.  Configure stuff.  Unpack initrd.gz/initrd_media.gz, mount, make a copy of it. Config config. Read manuals.  After a while have nfs boot,   BUT *sigh* half the libs are not there. It's a different image really than the busybox_media.jffs2?  Thus ensues lib/bin/module finding and installing ... which never quite completely works. &lt;br /&gt;&lt;br /&gt;MAH! MAH! MAH! I've seriously run out of time.&lt;br /&gt;&lt;br /&gt;So.&lt;br /&gt;&lt;br /&gt;Hopefully we can recover that box sometime.&lt;br /&gt;&lt;br /&gt;For now share another box and do some real work.&lt;br /&gt; (real work = spend hours on weird timing/gfx/memory problems to find eventually the main problem is gstreamer tcpserversrc binding to default ("localhost") doesn't work. A bind to 0.0.0.0 does work.)&lt;br /&gt;Now we still have mostly memory problems now.  &lt;br /&gt;Buffering video is probably using up too much especially when 1 video ends + another starts maybe?  Multiple rebuilds and reconfigs and runs with different memory settings later ....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ecos.sourceware.org/docs-latest/redboot/flash-image-system.html"&gt;http://ecos.sourceware.org/docs-latest/redboot/flash-image-system.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.embedded.com/story/OEG20020729S0043"&gt;http://www.embedded.com/story/OEG20020729S0043&lt;/a&gt; If the RedBoot fits&lt;br /&gt;&lt;a href="http://sourceware.org/redboot/"&gt;http://sourceware.org/redboot/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.gelato.unsw.edu.au/lxr/source/drivers/mtd/redboot.c"&gt;http://www.gelato.unsw.edu.au/lxr/source/drivers/mtd/redboot.c&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Inside my kernel this seems to be in place:&lt;br /&gt;201 #ifdef CONFIG_MTD_REDBOOT_PARTS_READONLY&lt;br /&gt;202                 if (!memcmp(names, "RedBoot", 8) ||&lt;br /&gt;203                                 !memcmp(names, "RedBoot config", 15) ||&lt;br /&gt;204                                 !memcmp(names, "FIS directory", 14)) {&lt;br /&gt;205                         parts[i].mask_flags = MTD_WRITEABLE;&lt;br /&gt;206                 }&lt;br /&gt;207 #endif&lt;br /&gt;&lt;br /&gt;But writing to flash may not be possible for other reasons. The mtd driver might be find for read only. Writing to flash might be fully supported in redboot code but not in mtd code in busybox?  Not sure. The flash writing procedure requires unlock, erase, write, lock. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gelato.unsw.edu.au/lxr/source/drivers/mtd/mtdpart.c"&gt;http://www.gelato.unsw.edu.au/lxr/source/drivers/mtd/mtdpart.c&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; 28 /* Our partition node structure */&lt;br /&gt; 29 struct mtd_part {&lt;br /&gt; 30         struct mtd_info mtd;&lt;br /&gt; 31         struct mtd_info *master;&lt;br /&gt; 32         u_int32_t offset;&lt;br /&gt; 33         int index;&lt;br /&gt; 34         struct list_head list;&lt;br /&gt; 35         int registered;&lt;br /&gt; 36 };&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gelato.unsw.edu.au/lxr/ident?i=mtd_info"&gt;http://www.gelato.unsw.edu.au/lxr/ident?i=mtd_info&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gelato.unsw.edu.au/lxr/source/include/linux/mtd/mtd.h#L59"&gt;http://www.gelato.unsw.edu.au/lxr/source/include/linux/mtd/mtd.h#L59&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; 59 struct mtd_info {&lt;br /&gt; 60         u_char type;&lt;br /&gt; 61         u_int32_t flags;&lt;br /&gt; 62         u_int32_t size;  // Total size of the MTD&lt;br /&gt; 63 &lt;br /&gt; .&lt;br /&gt; .&lt;br /&gt; .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linux-mtd.infradead.org/"&gt;http://www.linux-mtd.infradead.org/&lt;/a&gt;&lt;br /&gt;Linux MTD (flash device drivers).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wiki.davincidsp.com/index.php/MTD_Utilities"&gt;http://wiki.davincidsp.com/index.php/MTD_Utilities&lt;/a&gt;&lt;br /&gt;MTD utils&lt;br /&gt;Heh heh, mtd_utils has a little hexdump inside also.&lt;br /&gt;&lt;br /&gt;fconfig ported to work in linux/busybox:   HANDY!&lt;br /&gt;&lt;a href="http://andrzejekiert.ovh.org/software.html.en"&gt;http://andrzejekiert.ovh.org/software.html.en&lt;/a&gt;&lt;br /&gt;&lt;a href="http://andrzejekiert.ovh.org/software/fconfig/fconfig-20080329.tar.gz"&gt;http://andrzejekiert.ovh.org/software/fconfig/fconfig-20080329.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Could build kexec for the platform and trigger boot of a particular image from busybox. Maybe.&lt;br /&gt;&lt;a href="http://www.ibm.com/developerworks/linux/library/l-kexec.html"&gt;http://www.ibm.com/developerworks/linux/library/l-kexec.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/"&gt;http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# this will more or less get things going:&lt;br /&gt;CC=arm-linux-gcc CXX=arm-linux-g++ make</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:30707</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/30707.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=30707"/>
    <title>motortax.ie Internet Exploder only :(</title>
    <published>2009-07-11T00:16:53Z</published>
    <updated>2009-07-11T00:16:53Z</updated>
    <category term="motortax.ie"/>
    <category term="internet explorer"/>
    <category term="linux"/>
    <category term="ies4linux"/>
    <category term="wine"/>
    <content type="html">2 posts about use/abuse of Microsoft formats/packages in linux in a row :( sorry :(&lt;br /&gt;&lt;br /&gt;The wine I have has an internet exploder with it .. but .. it doesn't work? :(&lt;br /&gt;Not sure what is up.&lt;br /&gt;&lt;br /&gt;Found this:&lt;br /&gt;&lt;a href="http://www.tatanka.com.br/ies4linux/page/Installation"&gt;http://www.tatanka.com.br/ies4linux/page/Installation&lt;/a&gt;&lt;br /&gt;Download. Unpack. Run. (installer breaks out and warning. Run again. Gets further. Breaks out again.&lt;br /&gt;Run again. Disable Flash install as that is giving a run32.dll exception.&lt;br /&gt;&lt;br /&gt;:~/src/ies4linux-2.99.0.1$ wine --version&lt;br /&gt;wine-1.1.25&lt;br /&gt;:~/src/ies4linux-2.99.0.1$ ./ies4linux &lt;br /&gt;IEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version. It's recommended that you update your wine to the latest version (Go to: winehq.com).&lt;br /&gt;&lt;br /&gt;Yeah. Okay.&lt;br /&gt;&lt;br /&gt;ie6&lt;br /&gt;&lt;br /&gt;Uoh. neat :)&lt;br /&gt;motortax.ie site works fine.&lt;br /&gt;Ow, where are my insurance details.&lt;br /&gt;Clicketty click.&lt;br /&gt;Done.&lt;br /&gt;&lt;br /&gt;Screenshot here: &lt;br /&gt;&lt;a href="http://www.dspsrv.com/~jamesc/torture/ScreenshotOfRunInternetExploderOnLinux.png"&gt;http://www.dspsrv.com/~jamesc/torture/ScreenshotOfRunInternetExploderOnLinux.png&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:30416</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/30416.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=30416"/>
    <title>Working with .mpp (Microsoft Project Plan) files in linux</title>
    <published>2009-07-11T00:01:27Z</published>
    <updated>2009-07-11T00:01:27Z</updated>
    <category term="projity"/>
    <category term="linux"/>
    <category term="problem"/>
    <category term=".mpp"/>
    <category term="openproj"/>
    <category term="java"/>
    <category term="help"/>
    <category term="microsoft project plan"/>
    <content type="html">Use Projity openproj. &lt;a href="http://openproj.org/"&gt;http://openproj.org/&lt;/a&gt;&lt;br /&gt;"OpenProj is a free, open source desktop alternative to Microsoft Project."&lt;br /&gt;Very good, it read the .mpp I was interested in no bother.&lt;br /&gt;Other linux project planning tools don't work much with .mpps.&lt;br /&gt;Colleagues have used it to edit .mpps and  exchange them with Windows people.  &lt;br /&gt;&lt;br /&gt;Downloads here:&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/openproj/files/"&gt;http://sourceforge.net/projects/openproj/files/&lt;/a&gt;&lt;br /&gt;The rpm worked well for me on Fedora 10.&lt;br /&gt;The .deb (openproj_1.4-2.deb) installed and runs but menus/gui were invisible for me on ubuntu jaunty.&lt;br /&gt;I have some java dev packages installed so my java environment is not a bog-standard one.&lt;br /&gt;google problem trap: help problem openproj cannot see interface b0rked doesn't work horrendous argh help!&lt;br /&gt;&lt;br /&gt;Projity was acquired recently by Serena Software.&lt;br /&gt;Common Public Attribution Licensed.&lt;br /&gt;Implemented in Java. &lt;br /&gt;Seems to be a relationship with Sun and distros so hopefully coming as the project planning part of StarOffice and OpenOffice sometime. No I'm not affiliated in any way and still don't even like java though somewhat grudgingly have to admit it's somewhat useful.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;vi `which openproj`&lt;br /&gt;# Set it to log to file and control what version of java it chooses.&lt;br /&gt;# The command-line it chose was this:&lt;br /&gt;/usr/lib/jvm/java-1.5.0-sun/bin/java -Xms128m -Xmx768m -jar /usr/share/openproj/openproj.jar --silentlyFail true&lt;br /&gt;# This command-line worked for me (just use my default java which is 1.6):&lt;br /&gt;java -Xms128m -Xmx768m -jar /usr/share/openproj/openproj.jar &lt;br /&gt;&lt;br /&gt;I have these jvms:&lt;br /&gt;&lt;br /&gt;java version "1.6.0_0"&lt;br /&gt;OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)&lt;br /&gt;OpenJDK Server VM (build 14.0-b08, mixed mode)&lt;br /&gt;&lt;br /&gt;java version "1.5.0_18"&lt;br /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)&lt;br /&gt;Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:30042</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/30042.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=30042"/>
    <title>silly james, quick c hexdump</title>
    <published>2009-07-06T15:53:36Z</published>
    <updated>2009-07-06T15:53:36Z</updated>
    <category term="c++ design patterns perl python"/>
    <category term="hexdump"/>
    <content type="html">Not AGAIN! DOH. ended up writing a quick c hexdump AGAIN :(.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
void hexdump(char *msg, char *buf, int len)
{
    int i;
    char c;
    char str[0x11];
    if (msg != NULL) printf("%s: %s\n", __func__, msg);
    i=0;
    while(i&amp;lt;len){
        if (i%0x10 == 0) printf("%08x: ",i);
        c = *(buf+i);
        printf("%02x", (int)c);           
        str[i%0x10] = '.';     
        if (c &amp;gt;= 32 &amp;&amp; c&amp;lt;=120) str[i%0x10] = c;
        if (i%2 == 0) printf(" ");
        if (i%0x10 == 0xf) {
            str[i%0x10+1] = 0;
            printf(" %s\n",str);
        }
        i++;
    }
    if (i%0x10 != 0xf) {
        str[i%0x10+1] = 0;
        printf(" %s\n",str);
    }                  
    
}

&lt;/pre&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:29826</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/29826.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=29826"/>
    <title>cycle in the hills, Nokia E65 SIM hack, rabbits</title>
    <published>2009-07-05T03:41:15Z</published>
    <updated>2009-08-21T09:49:55Z</updated>
    <category term="sim"/>
    <category term="rabbits"/>
    <category term="hill"/>
    <category term="dublin"/>
    <category term="nokia e65"/>
    <category term="gps"/>
    <category term="cycle"/>
    <content type="html">We went on a cycle today, I cycled over to Kilmashogue (start of Wicklow way near Marlay park).&lt;br /&gt;Yeow! Steep hill.  Fionn drove with kids and kids bikes.&lt;br /&gt;Then we cycled up the  hill, had a picnic and cycled back down.&lt;br /&gt;&lt;a href="http://www.facebook.com/album.php?aid=2015681&amp;id=1118555017&amp;l=59f1dcfc6b"&gt;http://www.facebook.com/album.php?aid=2015681&amp;id=1118555017&amp;l=59f1dcfc6b&lt;/a&gt;&lt;br /&gt;We found 2 burnt out cars. One micra in car park.&lt;br /&gt;One white/black BMW up the hills.&lt;br /&gt;Then I cycled back home over the hills instead of on the road.&lt;br /&gt;More steepness. Up and Down steepness. After Three Rock extreme rocky downhill steepness. &lt;br /&gt;Trails deteriorated into very interesting cycling.&lt;br /&gt;I had to walk a bit,&lt;br /&gt;I think there might be an easier track to cycle (as I joined it 100m from bottom of hill!) only it has moved since the map I had was done.&lt;br /&gt;&lt;a href="http://www.openstreetmap.org/user/gaoithe/traces/432302"&gt;http://www.openstreetmap.org/user/gaoithe/traces/432302&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.openstreetmap.org/?lat=53.25161&amp;lon=-6.25589&amp;zoom=15&amp;layers=B000FTF"&gt;http://www.openstreetmap.org/?lat=53.25161&amp;lon=-6.25589&amp;zoom=15&amp;layers=B000FTF&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My mobile phone (Nokia E65) has been misbehaving.&lt;br /&gt;Saying "Insert SIM card" and "General System Error" reset needed and crashing/resetting itself (more often than normal).&lt;br /&gt;The web votes for jamming something in behind the SIM and it seems to be working for me :)&lt;br /&gt;I quite like hardware hacks like this :-D&lt;br /&gt;&lt;a href="http://discussions.europe.nokia.com/discussions/board/message?board.id=hardware&amp;message.id=7926&amp;jump=true#M7926"&gt;http://discussions.europe.nokia.com/discussions/board/message?board.id=hardware&amp;message.id=7926&amp;jump=true#M7926&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ocpdesign.wordpress.com/2008/09/12/nokia-e65-sim-card-registration-failed-insert-sim-card-error-cant-update-firmware/"&gt;http://ocpdesign.wordpress.com/2008/09/12/nokia-e65-sim-card-registration-failed-insert-sim-card-error-cant-update-firmware/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.boards.ie/vbulletin/showthread.php?p=58081238"&gt;http://www.boards.ie/vbulletin/showthread.php?p=58081238&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;New hutch for the rabbits.&lt;br /&gt;They're not impressed.&lt;br /&gt;Ran around the edges of the garden alot at bedtime.&lt;br /&gt;Twinkle Star is inside nice and cosy but Jack isn't - though he is inside the chicken run so safe.&lt;br /&gt;I also saw a rabbit/hare up in the hills today.&lt;br /&gt;&lt;br /&gt;At home GPS trace uploading of the cycle ensued and I wanted an elevation graph.&lt;br /&gt;Here one is: &lt;a href="http://www.dspsrv.com/~jamesc/map/Kilmashogue_to_ThreeRock_gpxreport.pdf"&gt;http://www.dspsrv.com/~jamesc/map/Kilmashogue_to_ThreeRock_gpxreport.pdf&lt;/a&gt;&lt;br /&gt; &lt;a href="http://utrack.crempa.net/"&gt;http://utrack.crempa.net/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/wherewasi/wiki/WhereWasI"&gt;http://code.google.com/p/wherewasi/wiki/WhereWasI&lt;/a&gt;&lt;br /&gt; wherewasi.py --eprof -g wami-20090704-00.gpx &lt;br /&gt; wherewasi_gui.py&lt;br /&gt;&lt;a href="http://www.fsckin.com/2008/04/06/review-four-linux-gps-packages/"&gt;http://www.fsckin.com/2008/04/06/review-four-linux-gps-packages/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.mapability.com/blogs/gps/2008/07/gpx-route-map-technical-detail.html"&gt;http://www.mapability.com/blogs/gps/2008/07/gpx-route-map-technical-detail.html&lt;/a&gt;&lt;br /&gt;  &lt;a href="http://utrack.crempa.net/"&gt;http://utrack.crempa.net/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wiki.openstreetmap.org/wiki/Making_Tracks_with_Homebrew-ware"&gt;http://wiki.openstreetmap.org/wiki/Making_Tracks_with_Homebrew-ware&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.nabble.com/Displaying-the-properties-of-GPX-points-td22432909.html"&gt;http://www.nabble.com/Displaying-the-properties-of-GPX-points-td22432909.html&lt;/a&gt;&lt;br /&gt;  sudo apt-get install viking&lt;br /&gt;&lt;a href="http://www.ncc.up.pt/gpsman/wGPSMan_1.html"&gt;http://www.ncc.up.pt/gpsman/wGPSMan_1.html&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:29536</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/29536.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=29536"/>
    <title>Helicopter Coast View Around Cork Harbour, wget and ffmpeg fun</title>
    <published>2009-07-01T01:06:08Z</published>
    <updated>2009-07-01T01:27:03Z</updated>
    <category term="coast"/>
    <category term="wget"/>
    <category term="gis"/>
    <category term="ireland"/>
    <category term="ffmpeg"/>
    <category term="maps"/>
    <category term="video"/>
    <category term="cork"/>
    <content type="html">Video here:&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=5TVB7KPXAts"&gt;http://www.youtube.com/watch?v=5TVB7KPXAts&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Image data Copyright:&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter"&gt;http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter&lt;/a&gt;&lt;br /&gt;It would be nice if GIS info were available to taxpayers! poke. poke.&lt;br /&gt;And if GIS browsing site had more features.&lt;br /&gt;Basic bookmarking/linking would be nice.&lt;br /&gt;Anyone want to write a cloudy app?&lt;br /&gt;It's not fantastically wonderful data really .. maybe,&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
BASEURL=http://gis3.dcmnronline.ie/sorted/
for (( i=87198 ; i&amp;lt;=88123 ; i++ )) ; do 
 echo i=$i;
 wget -c $BASEURL/$i.jpg ; 
done

for (( i=87198,j=0 ; i&amp;lt;=88123 ; i++,j++ )) ; do 
 ln -s $i.jpg $j.jpg; 
done

# -r is framerate in fps, -b bitrate
FFFLAGS=-title 'Helicopter Coast Cork Harbour http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter'
ffmpeg $FFFLAGS -r 3 -b 1800 -i helisound.mp3 -i %d.jpg HelicopterCoastCorkHarbour.mp4

# ugh, yes. sorry about the audio
# 995 images, 8M video.
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/output/ENG_HELICOPTER_dcmnrgis-web134762684331.png"&gt;http://gis3.dcmnronline.ie/output/ENG_HELICOPTER_dcmnrgis-web134762684331.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87685.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87685.jpg&lt;/a&gt;&lt;br /&gt;Cuskinney, Cobh&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87654.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87654.jpg&lt;/a&gt;&lt;br /&gt;The slip in Cobh&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/100741.jpg"&gt;http://gis3.dcmnronline.ie/sorted/100741.jpg&lt;/a&gt;&lt;br /&gt;Dublin joyce martello tower sandycove&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/104513.jpg"&gt;http://gis3.dcmnronline.ie/sorted/104513.jpg&lt;/a&gt;&lt;br /&gt;Dundalk &lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/1.jpg"&gt;http://gis3.dcmnronline.ie/sorted/1.jpg&lt;/a&gt;&lt;br /&gt;Throat of malin&lt;br /&gt;&lt;br /&gt;87k * 100000 images = 8700000k = 8.7G&lt;br /&gt;Hmmmmm &amp;gt;;)&lt;br /&gt; &lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/88123.jpg"&gt;http://gis3.dcmnronline.ie/sorted/88123.jpg&lt;/a&gt;&lt;br /&gt;out to R of Roches Point (and of Cork harbour)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87198.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87198.jpg&lt;/a&gt;&lt;br /&gt;well out of (Cork) harbour to left&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/HNLMS_Amsterdam_(A836"&gt;http://en.wikipedia.org/wiki/HNLMS_Amsterdam_(A836&lt;/a&gt;)&lt;br /&gt;&lt;a href="http://www.defensie.nl/marine/operationeel/schepen/hr_ms_amsterdam/"&gt;http://www.defensie.nl/marine/operationeel/schepen/hr_ms_amsterdam/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87638.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87638.jpg&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87639.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87639.jpg&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87640.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87640.jpg&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87641.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87641.jpg&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/sorted/87642.jpg"&gt;http://gis3.dcmnronline.ie/sorted/87642.jpg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;87638 bow -&amp;gt; 42 stern&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter"&gt;http://gis3.dcmnronline.ie/imf5104/imf.jsp?site=Helicopter&lt;/a&gt;&lt;br /&gt;&lt;img src="http://www.dspsrv.com/~jamesc/map/ScreenshotOfFirefoxAndHelicopterSite.png" /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:29400</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/29400.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=29400"/>
    <title>Some fun taking down election posters &amp; kids school Play</title>
    <published>2009-06-12T00:15:30Z</published>
    <updated>2009-06-12T00:15:30Z</updated>
    <category term="election"/>
    <category term="diary"/>
    <category term="posters"/>
    <content type="html">Kids were in school play last 4 days.&lt;br /&gt;Very good actually combination of variety Irish dancing, singing and music by kids and teachers mixed in with two stories.&lt;br /&gt;Snow White and Prince Hugh&lt;br /&gt;Kate on Mon (F&amp;M saw her) + Tue (F&amp;M&amp;I saw her and Daire).&lt;br /&gt;Daire was Prince Hugh who was a bit too popular with the girls for comfort!&lt;br /&gt;Daire was Prince Hugh on Tue and today (Thur), on Wed Daire was in Larch hill with scouts.&lt;br /&gt; (Maeve and I dropped Daire, Cian and Conor over to scouts. &lt;br /&gt;  We left Kate with Moya to get lift to play.&lt;br /&gt;   Maeve &amp; I watched play and collected Kate.)&lt;br /&gt;Kate was very funny and nice as a dwarf.&lt;br /&gt;She marched around very confidently.&lt;br /&gt;She was very expressive - especially when they saw snow white had collapsed!&lt;br /&gt;She stared very concerndly at snow white at the end.&lt;br /&gt;&lt;br /&gt;Had great fun with Daire collecting some more election posters.&lt;br /&gt;He was really good at spotting them from car and great help carrying snippers and posters and ties.&lt;br /&gt;He was still dressed in sandals and pants with rope lashing on them for costume and still with moustache of Prince Hugh.&lt;br /&gt;He got hit on the arms with one poster on the way down. :(&lt;br /&gt;I got some myself on way back from dropping him down to do school play.&lt;br /&gt;Met Catherine and Kevin also collecting posters.&lt;br /&gt;Kevin has a magic long snippy rope stick.&lt;br /&gt;It almost flies like a broomstick! &lt;br /&gt;We have 10 of Elizabeth's, 4 of Adrianne's and 1 each of Terence's and Deirdre's.&lt;br /&gt;&lt;br /&gt;We met a friendly drunken person drinking through a plastic bag full of cans at the Goat.&lt;br /&gt;He offered to help but we had our ladder.&lt;br /&gt;He was asking how much might the fine be if they were left up and if you could make money putting the posters up or down.&lt;br /&gt;He scooted off real fast, hopefully not to get a ladder!!&lt;br /&gt;&lt;br /&gt;Fionn's really busy with Residents stuff.&lt;br /&gt;Delivering flyers about AGM, collecting subs, getting photos ready, making presentation for AGM, arranging things with roads/greens/sports&amp;social, stuff needs to go up on web and be printed. &lt;a href="http://lhra.info"&gt;http://lhra.info&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm suffering form VERRRY annoying cough.&lt;br /&gt;It was a teeny possible allergic sniffle coming back from camping. :(&lt;br /&gt;The heat seemed to initiate it.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:27967</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/27967.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=27967"/>
    <title>palm sync jpilot - on ubuntu gutsy - needed udev and /etc/modules tweaks</title>
    <published>2009-05-25T00:16:53Z</published>
    <updated>2009-05-25T00:16:53Z</updated>
    <category term="jpilot"/>
    <category term="ubuntu"/>
    <category term="gutsy"/>
    <category term="udev"/>
    <category term="sync"/>
    <category term="palm"/>
    <content type="html">Oh no! Palm worked seamlessly with linuxes for a while.&lt;br /&gt;(and other usb sync just by setting device "usb:" as the thing to sync.)&lt;br /&gt;Now ...&lt;br /&gt;The bad old messy config days are back (hopefully momentarily - I'm briefly stuck on gutsy for a bit on home pc).&lt;br /&gt;&lt;br /&gt;$ cat /etc/lsb-release &lt;br /&gt;DISTRIB_ID=Ubuntu&lt;br /&gt;DISTRIB_RELEASE=7.10&lt;br /&gt;DISTRIB_CODENAME=gutsy&lt;br /&gt;DISTRIB_DESCRIPTION="Ubuntu 7.10"&lt;br /&gt;$ uname -a&lt;br /&gt;Linux xx 2.6.20-16-generic #2 SMP Tue Feb 12 05:41:34 UTC 2008 i686 GNU/Linux&lt;br /&gt;&lt;br /&gt;To get palm sync working (with jpilot): &lt;br /&gt;1. add visor to list in /etc/modules &lt;br /&gt; sudo vi /etc/modules&lt;br /&gt; sudo modprobe visor # to load module just for now without restarting&lt;br /&gt;2. Make (or add to 10-custom.rules the below KERNEL=="ttyUSB*" entry (and rm entry from 60-symlinks.rules&lt;br /&gt;BUS=="usb", SYSFS{product}=="*[vVisor]*", KERNEL=="ttyUSB[13579]", NAME="pilot",\&lt;br /&gt; GROUP="dislout", MODE="0660"&lt;br /&gt;2.1 &lt;br /&gt; sudo /etc/init.d/udev restart&lt;br /&gt;3. some tests  &lt;br /&gt; pilot-xfer -p /dev/ttyUSB0 -l   # doesn't work? works?&lt;br /&gt; sudo pilot-xfer -p /dev/ttyUSB0 -l&lt;br /&gt; udevinfo --query=all --name=/dev/ttyUSB0 &lt;br /&gt;4.And argh I ran sudo jpilot and did a sync (as root) The group setting was wrong so jpilot as normal user couldn't sync.&lt;br /&gt; # fix ownerships (be careful with find ... -exec chown or chown -R in general, ... &lt;br /&gt; # did I ever tell you about the time I killed a server with a recursive chown? &lt;br /&gt; find  /home/jamesc/.jpilot/ -user root -exec chown jamesc:jamesc {} \;  &lt;br /&gt;5. add group dialout for your user   &lt;br /&gt; sudo usermod -a -G dialout `whoami`&lt;br /&gt;5.1 login again then check new group is enabled for your user&lt;br /&gt; groups&lt;br /&gt;6. FINALLY&lt;br /&gt; jpilot&lt;br /&gt; #hotsync button on palm first, then hotsync button in application&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ubuntuforums.org/archive/index.php/t-418979.html"&gt;http://ubuntuforums.org/archive/index.php/t-418979.html&lt;/a&gt;  j-pilot problems in Feisty&lt;br /&gt;&lt;a href="http://barnson.org/node/1556"&gt;http://barnson.org/node/1556&lt;/a&gt;  Hotsync Palm Centro on Ubuntu Gutsy&lt;br /&gt;&lt;a href="http://www.linuxquestions.org/questions/linux-hardware-18/has-anyone-synced-a-palm-tx-with-linux-397038/?highlight=pda+sync"&gt;http://www.linuxquestions.org/questions/linux-hardware-18/has-anyone-synced-a-palm-tx-with-linux-397038/?highlight=pda+sync&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:27857</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/27857.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=27857"/>
    <title>house work, mirrors, ...</title>
    <published>2009-05-18T00:46:48Z</published>
    <updated>2009-05-18T00:46:48Z</updated>
    <category term="house"/>
    <category term="election posters"/>
    <category term="mirrors"/>
    <content type="html">I got to use a soldering iron this weekend :) &lt;br /&gt;One of Kate's karaoke microphones was broken.&lt;br /&gt;Sure enough, unscrew connector - only one wire attached ... where is other?&lt;br /&gt;Cut and dig into cable to find it.&lt;br /&gt;Then solder it up and screw back together.&lt;br /&gt;&lt;br /&gt;Paul brought mirrors and  laminated glass.&lt;br /&gt;  (by the way, thanks loads for ordering and bringing them Paul!&lt;br /&gt;   &lt;a href="http://www.palmac.ie/"&gt;http://www.palmac.ie/&lt;/a&gt;)&lt;br /&gt;Fionnuala got mirror glue and we put up the 2 bay window mirrors (propped with big bits of wood for the day).&lt;br /&gt;I fitted a frame of wood into old attic hatch.&lt;br /&gt;Maeve helped paint it white.&lt;br /&gt;And today we fitted in the laminated glass.&lt;br /&gt;And I stood on it.&lt;br /&gt;And it didn't break!&lt;br /&gt;Big and little bathroom mirror are for another day/weekend.&lt;br /&gt;&lt;br /&gt;Music rehersal for choral singing as usual Tue and Thur (competition coming close).&lt;br /&gt;Playing with recording sound, editing and with .abc format linux software.&lt;br /&gt;&lt;br /&gt;My jeans have 2 more rips in them (4 times repaired already).&lt;br /&gt;&lt;br /&gt;Last Wed helped put up election posters for Green party.&lt;br /&gt;Grand activity. I did feel it in back after a few hours climbing ladder and doing awkward things on it.&lt;br /&gt;Collected Daire from scouts in middle of postering (and rescued a poster for Terence).&lt;br /&gt;It was dampish by end of night but not bad at all.&lt;br /&gt;On Thur backtracked and numbered posters on bike.&lt;br /&gt;Maebh Cody and Adrianne Wyse running in different parts of Dubin South.&lt;br /&gt;Next time: bring sweeping brush for pushing up posters/ties/reaching (umbrella is okay).&lt;br /&gt;Bring gloves - poles are surprisingly dirty.&lt;br /&gt;Brind indelible marker and number them BEFORE putting them up!&lt;br /&gt;Someone must make a plan and a map.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:27450</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/27450.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=27450"/>
    <title>book: A Short History of Nearly Everything - Bill Bryson</title>
    <published>2009-05-17T22:35:37Z</published>
    <updated>2009-05-17T23:16:47Z</updated>
    <category term="science"/>
    <category term="books"/>
    <content type="html">Explores how science was understood and developed by the people working in it. &lt;br /&gt;What their mindset/thinking was and what were the big changes and which were the accidential(and misinterpreted) discoveries and missed opportunities.&lt;br /&gt;A good meditation upon good scientific method :)&lt;br /&gt;&lt;br /&gt;He succeds admirably with the goal of finding proper, not superficial (and hence satisfying) explainations.&lt;br /&gt;Good book. Enjoyable read.&lt;br /&gt;&lt;br /&gt;This is my Mum's book.She has a note in it about Kuala Lumpur.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/A_Short_History_of_Nearly_Everything"&gt;http://en.wikipedia.org/wiki/A_Short_History_of_Nearly_Everything&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://media.shozu.com/cache/portal/media/59adc0c/16777603"&gt;&lt;br /&gt;  &lt;img src="http://media.shozu.com/cache/portal/media/59adc0c/16777603_blog" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p align="right"&gt;I'm trying to catch up on recording books I've read.&lt;br /&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:27209</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/27209.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=27209"/>
    <title>book: Fly By Night - Frances hardinge</title>
    <published>2009-05-17T22:35:20Z</published>
    <updated>2009-05-18T00:04:25Z</updated>
    <category term="religion"/>
    <category term="fantasy"/>
    <category term="kids"/>
    <category term="books"/>
    <content type="html">'A wonderful and wondrous novel' indeed!&lt;br /&gt;&lt;br /&gt;Lovely fantasy. &lt;strike&gt;Myra oops! heh heh&lt;/strike&gt;Mosca has grown up in a small village in a world where religions and politics have evolved in weird (only marginally more weird than our own world) ways. Mosca loves books and words though they are denied to ordinary people and guarded jealously by the stationers guild. Her journey into the wider world to the city of Mandelion is great fun for a reader and nothing dismays Mosca (for too long).&lt;br /&gt;Excellent! :)  A fantastic new world to explore.&lt;br /&gt;   &lt;br /&gt;This is one of Daire's books.&lt;br /&gt;I think someone got it for him for Christmas.&lt;br /&gt;Good choice!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.franceshardinge.com/"&gt;http://www.franceshardinge.com/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.amazon.com/Fly-Night-Frances-Hardinge/dp/0060876271"&gt;http://www.amazon.com/Fly-Night-Frances-Hardinge/dp/0060876271&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://media.shozu.com/cache/portal/media/59adc0c/16777601"&gt;&lt;br /&gt;  &lt;img src="http://media.shozu.com/cache/portal/media/59adc0c/16777601_blog" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p align="right"&gt;I'm trying to catch up on recording books I've read.&lt;br /&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:26953</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/26953.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=26953"/>
    <title>smoke alarm testing and "be quiet" feature</title>
    <published>2009-05-17T22:34:56Z</published>
    <updated>2009-05-18T00:22:46Z</updated>
    <category term="silence button"/>
    <category term="carbon monoxide"/>
    <category term="smoke alarm"/>
    <category term="fire"/>
    <content type="html">This smoke alarm in the kitchen has been in the wars.&lt;br /&gt;I think the smoke mark (new) must be from fire officer Daire testing it!&lt;br /&gt;&lt;br /&gt;It's "be quiet" feature never worked very well and the break in the face is because the "be quiet" part of the face was always too stiff to push though the switch did engage if it was hit VERY hard.&lt;br /&gt;Nowadays smoke alarms (and CO alarms) seem to very alot in expense.&lt;br /&gt; (Watch out for price hikes after fire/CO stories reported in media!)&lt;br /&gt;And the design seems to have disimproved over last few years.&lt;br /&gt;&lt;br /&gt;You can't get a "be quiet" (for a little while) feature any more?&lt;br /&gt;Is this because of over regulation?&lt;br /&gt;Or because it doesn't pay the alarm makers to put it in?&lt;br /&gt;Without a "be quiet" our kitchen smoke alarm ends up disabled (battery out or covered) for a while when we do end up with smoke. And on occasion when we make a big mess in the kitchen with smoke the same has been done to the alarm in the landing.&lt;br /&gt;&lt;br /&gt;We have a CO alarm in Daire and Kate's rooms. &lt;br /&gt;We have a smoke alarm in stairs landing, in attic room and in kitchen.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://media.shozu.com/cache/portal/media/59adc0c/16777599"&gt;&lt;br /&gt;  &lt;img src="http://media.shozu.com/cache/portal/media/59adc0c/16777599_blog" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p align="right"&gt;&lt;br /&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:26659</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/26659.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=26659"/>
    <title>book:  Ark Angel by Anthony Horowitz</title>
    <published>2009-05-17T22:34:39Z</published>
    <updated>2009-05-18T00:10:46Z</updated>
    <category term="ark angel"/>
    <category term="anthony horowitz"/>
    <category term="books"/>
    <category term="alex rider"/>
    <content type="html">I quite like Anthony Horowitz's Alex Rider books though they're plainly told action.&lt;br /&gt;The characters are well done.&lt;br /&gt;&lt;br /&gt;Perfect for Daire and friends I think :)&lt;br /&gt;In some of Daire's stories you can see the influence of books he reads sometimes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Ark_Angel"&gt;http://en.wikipedia.org/wiki/Ark_Angel&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.anthonyhorowitz.com/alexrider/books/arkangel.html"&gt;http://www.anthonyhorowitz.com/alexrider/books/arkangel.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.amazon.com/Ark-Angel-Anthony-Horowitz/dp/0744583241"&gt;http://www.amazon.com/Ark-Angel-Anthony-Horowitz/dp/0744583241&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://media.shozu.com/cache/portal/media/59adc0c/16777597"&gt;&lt;br /&gt;  &lt;img src="http://media.shozu.com/cache/portal/media/59adc0c/16777597_blog" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p align="right"&gt;&lt;br /&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:26601</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/26601.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=26601"/>
    <title>book: Touching the Void by Joe Simpson</title>
    <published>2009-05-17T22:34:22Z</published>
    <updated>2009-05-17T23:58:09Z</updated>
    <category term="joe simpson"/>
    <category term="mountaineering"/>
    <category term="simon yates"/>
    <category term="books"/>
    <category term="touching the void"/>
    <content type="html">Joe Simpson and Simon Yates climb the 6,344 metre Siula Grande in the Peruvian Andes in 1985. &lt;br /&gt;The climb is tough (tougher than expected somewhat) and the description is gripping.&lt;br /&gt;On the way down Joe falls and smashes his leg. OW. &lt;br /&gt;Both climbers think Joe is almost as good as dead.&lt;br /&gt;&lt;br /&gt;Simon stays to help Joe descend despite increased risk to himself and worsening frostbite in his hands.  The descent goes well at first but ends in darkness with Simon holding onto a rope at a hold gradually giving way not able to communicate with or see what is going below with Joe who is dangling over an ice cliff unable to do anything,&lt;br /&gt;Simon eventually cuts the rope. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.amazon.co.uk/Touching-Void-Joe-Simpson/dp/0099771012"&gt;http://www.amazon.co.uk/Touching-Void-Joe-Simpson/dp/0099771012&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Touching_the_Void"&gt;http://en.wikipedia.org/wiki/Touching_the_Void&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.touchingthevoid.co.uk/"&gt;http://www.touchingthevoid.co.uk/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Siula_Grande"&gt;http://en.wikipedia.org/wiki/Siula_Grande&lt;/a&gt;&lt;br /&gt;&lt;a href="http://maps.google.com/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Siula+Grande&amp;amp;ie=UTF8&amp;amp;sll=-10.283333,-76.883333&amp;amp;sspn=0.006295,0.006295&amp;amp;ei=s6EQSq6VO8HOjAfanNTpDw&amp;amp;sig2=RSoQ0x3cYY-yTs8amX_jDw&amp;amp;cd=1&amp;amp;cid=-10283333,-76883333,12917700353800356580&amp;amp;li=lmd&amp;amp;ll=-10.278585,-76.883333&amp;amp;spn=0.347947,0.622787&amp;amp;t=h&amp;amp;z=11"&gt;Google Maps: Siula_Grande area&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am actually reading this one today.&lt;br /&gt;Library book.&lt;br /&gt;Picked it up and half way in before it's time to go to bed (but I'm obviously not going to get to bed on time YET again!) &lt;br /&gt;&lt;br /&gt;&lt;a href="http://media.shozu.com/cache/portal/media/59adc0c/16777595"&gt;&lt;br /&gt;  &lt;img src="http://media.shozu.com/cache/portal/media/59adc0c/16777595_blog" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p align="right"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;small&gt;&lt;a href="http://maps.google.com/maps?f=q&amp;amp;source=embed&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Siula+Grande&amp;amp;ie=UTF8&amp;amp;sll=-10.283333,-76.883333&amp;amp;sspn=0.006295,0.006295&amp;amp;ei=s6EQSq6VO8HOjAfanNTpDw&amp;amp;sig2=RSoQ0x3cYY-yTs8amX_jDw&amp;amp;cd=1&amp;amp;cid=-10283333,-76883333,12917700353800356580&amp;amp;li=lmd&amp;amp;ll=-10.283333,-76.883333&amp;amp;spn=0.006295,0.006295&amp;amp;t=h" style="color:#0000FF;text-align:left"&gt;View Larger Map&lt;/a&gt;&lt;/small&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:26159</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/26159.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=26159"/>
    <title>confessed user of WhereAmI (OSM gps data collecting helper app)</title>
    <published>2009-05-13T01:10:57Z</published>
    <updated>2009-05-13T01:10:57Z</updated>
    <category term="osm"/>
    <category term="whereami"/>
    <category term="gps"/>
    <category term="gpx"/>
    <content type="html">&lt;a href="http://wiki.openstreetmap.org/wiki/WhereAmI"&gt;http://wiki.openstreetmap.org/wiki/WhereAmI&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;With v0.11 whereami (on nokia E65) crashes out sometimes, phone resets other times. The E65 has bluetooth stability problems I think. I have seen phone do this with other bluetooth and not whereami. I did not lose .gpx info with crashes. I used up all memory on phone one time and lost last .gpx trace I had done. oops! Check your kids haven't been snapping tons of photos with your phone before OSMing!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.symbianos.org/admin.php?nav=bugs&amp;n=144&amp;oldnav=bugs"&gt;http://www.symbianos.org/admin.php?nav=bugs&amp;n=144&amp;oldnav=bugs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;With v0.13a after an initial .gpx collect (and maybe GSM cellids) I have an issue with whereami.db :( Need to follow instructions in FAQ: &lt;a href="http://www.symbianos.org/faq/r=projectlink%3D47"&gt;http://www.symbianos.org/faq/r=projectlink%3D47&lt;/a&gt; The .db is not fully corrupt though. maps load fine. When I flip into named items view whereami crashes out.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:26083</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/26083.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=26083"/>
    <title>The etymology of porridge</title>
    <published>2009-05-04T23:56:52Z</published>
    <updated>2009-05-04T23:56:52Z</updated>
    <category term="shopping. etymology"/>
    <category term="porridge"/>
    <content type="html">Maeve and I went shopping today.&lt;br /&gt;And made a GPS trace of Ballyogan Dunnes car park for OpenStreetMap.&lt;br /&gt;We got loads of stuff. &lt;br /&gt;Need food.&lt;br /&gt;We have used lots of staples at home and Fionn's Mum &amp; Dad are visiting Wed+Thur this week to mind kids in afternoons while Fionn has a training course in East Point (Where I'm working in Sun).&lt;br /&gt;Maeve did a really good job as usual helping especially unloading stuff from trolley onto conveyor belt while I packed.&lt;br /&gt;As well as minding shopping list.&lt;br /&gt;&lt;br /&gt;Anyway, porridge is a funny word. I was wondering about the origins of it.&lt;br /&gt;Porridge is from French/Latin pottage - leek soup. And associated a little later with oatmeal in Scotland.&lt;br /&gt;Ahhh, "pease porridge hot" ? maybe&lt;br /&gt;Fionn is good at making leek soup.&lt;br /&gt;I made it yesterday.&lt;br /&gt;Lots of potato.&lt;br /&gt;Quite yummy.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.etymonline.com/index.php?term=porridge"&gt;http://www.etymonline.com/index.php?term=porridge&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dic.academic.ru/dic.nsf/enwiki/858168"&gt;http://dic.academic.ru/dic.nsf/enwiki/858168&lt;/a&gt;  "a type of porridge made from peas, pease pudding" and ""pease" was treated as a mass noun, similar to "oatmeal""&lt;br /&gt;&lt;br /&gt;And yoghurt (while we're trying to remember which item of shopping I was thinking about the etymology of!)&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Yogurt#Etymology_and_spelling"&gt;http://en.wikipedia.org/wiki/Yogurt#Etymology_and_spelling&lt;/a&gt;&lt;br /&gt;From Turkish, related to word for to knead and dense/thick&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.etymonline.com/index.php?term=sausage"&gt;http://www.etymonline.com/index.php?term=sausage&lt;/a&gt;     boooring  meaning from salted&lt;br /&gt;&lt;br /&gt;Interesting, on OSM after editing you can see the edits appear at further out zoom levels first.&lt;br /&gt;&lt;a href="http://www.openstreetmap.org/?lat=53.2593&amp;lon=-6.1957&amp;zoom=14&amp;layers=B000FTF"&gt;http://www.openstreetmap.org/?lat=53.2593&amp;lon=-6.1957&amp;zoom=14&amp;layers=B000FTF&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Good weekend.&lt;br /&gt;Long one with May bank holiday.&lt;br /&gt;We stayed in Dub, relaxed slightly in a busy way.&lt;br /&gt;Caught up on some housework.&lt;br /&gt;Cycled with girls to Balawley park (trailgators).&lt;br /&gt;Fionnuala did gardening work.&lt;br /&gt;On Mon I added openable nest box to chicken coop.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:25404</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/25404.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=25404"/>
    <title>aie! out of memory - lost a few kilometers</title>
    <published>2009-04-28T22:06:47Z</published>
    <updated>2009-04-28T22:06:47Z</updated>
    <category term="bluetooth"/>
    <category term="osm"/>
    <category term="memory"/>
    <category term="map"/>
    <category term="gps"/>
    <content type="html">On way back from singing I cycle all around Fernleigh and Sandyford Hall.&lt;br /&gt;Phone memory error just when finished.&lt;br /&gt;When I opened the .gpx file I see everything it had on the latter part of journey is gone! :(&lt;br /&gt;arg.&lt;br /&gt;&lt;br /&gt;clearing off photos, videos, sound clips, .gpx files from phone ...&lt;br /&gt;&lt;br /&gt;bluetooth also seems a bit flaky</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:gaoithe:24931</id>
    <link rel="alternate" type="text/html" href="http://gaoithe.livejournal.com/24931.html"/>
    <link rel="self" type="text/xml" href="http://gaoithe.livejournal.com/data/atom/?itemid=24931"/>
    <title>openstreetmap (oh, and b.t.w. Libertas are bad)</title>
    <published>2009-04-26T23:17:51Z</published>
    <updated>2009-04-26T23:36:34Z</updated>
    <category term="name:ga"/>
    <category term="openstreetmap"/>
    <category term="osm"/>
    <category term="whereami"/>
    <category term="gps"/>
    <content type="html">Ohhh Nassssty Libertas ad on my livejournal blog.&lt;br /&gt;Please note: Libertas are bad untrustworthy evil etc...&lt;br /&gt;&lt;br /&gt;&amp;gt;;-]&lt;br /&gt;&lt;br /&gt;Filling in a blank bit of openstreetmap just now:&lt;br /&gt;&lt;a href="http://www.openstreetmap.org/index.html?mlat=53.26773641413781&amp;mlon=-6.215411545071221&amp;zoom=15"&gt;http://www.openstreetmap.org/index.html?mlat=53.26773641413781&amp;mlon=-6.215411545071221&amp;zoom=15&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is very handy figuring out the Irish street names:&lt;br /&gt;&lt;a href="http://www.logainm.ie/?text=mount+eagle+view"&gt;http://www.logainm.ie/?text=mount+eagle+view&lt;/a&gt; (Radharc)&lt;br /&gt;&lt;a href="http://www.logainm.ie/?text=mount+eagle+way"&gt;http://www.logainm.ie/?text=mount+eagle+way&lt;/a&gt; (Bealach)&lt;br /&gt;&lt;a href="http://www.logainm.ie/?text=mount+eagle+green"&gt;http://www.logainm.ie/?text=mount+eagle+green&lt;/a&gt; (Faiche) &lt;br /&gt;&lt;a href="http://www.logainm.ie/?text=mount+eagle+drive"&gt;http://www.logainm.ie/?text=mount+eagle+drive&lt;/a&gt; (Céide)&lt;br /&gt;&lt;a href="http://www.logainm.ie/?text=mount+eagle+grove"&gt;http://www.logainm.ie/?text=mount+eagle+grove&lt;/a&gt; (Garrán)&lt;br /&gt;&lt;a href="http://www.logainm.ie/?text=mount+eagle+court"&gt;http://www.logainm.ie/?text=mount+eagle+court&lt;/a&gt; (Cúirt)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I found and charged up my little GPS unit.&lt;br /&gt;&lt;br /&gt;WhereAmI on mobile phone used to record track (gpx).&lt;br /&gt; (very nice also download osm map onto phone)&lt;br /&gt; &lt;a href="http://www.symbianos.org/projects/47"&gt;http://www.symbianos.org/projects/47&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu/bluetooth gpx files to laptop.&lt;br /&gt;JOSM to edit and upload map.</content>
  </entry>
</feed>
