• Update to kindle script 

    I had a bug report from Pablo yesterday about my Applescript based kindle annotations and highlights parser.

    It seemed to be erroring when it was attempting to parse a phrase into a number

    error "Can’t make \"ur Highlight Location 82 \" into type number." number -1700 from "ur Highlight Location 82 " to number

    to be exact.

    I've only ever had my own My Clippings.txt file to use as a test file so it came as no great surprise that someone else's caused a problem. Interestingly, to me at least, the format of the highlight and notes seems to have changed. On my kindle the format is

    - Highlight Loc. 218-19 | Added on Friday, December 31, 2010, 10:36 AM

    and sometimes like

    - Highlight on Page 12 | Loc. 122-23 | Added on Saturday, April 02, 2011, 03:30 PM

    whilst on Pablo's there are some like

    - Your Highlight on Page 103 | Location 1505-1506 | Added on Tuesday, May 21, 2013 2:57:09 PM

    (note the use of Location rather than Loc. as in my version)

    and some like

    - Your Highlight on Unnumbered Page | Location 368-370 | Added on Tuesday, April 2, 2013 10:08:27 PM

    which completely threw me. Unnumbered Page. Helpful!

    Anyway, I've updated the script to cope with both of these scenarios. I've tested it on Pablo's My Clippings file, and on mine. It is still slow (over an hour for my collection of snippets) and I think leaks memory all over the place, but as long as it continues to work, I'm not going to be spending too much time refactoring it - applescript is not something I tend to play in. If I did refactor it, I'd probably move it into ruby or something with more parsing capabilities in-built.

    The usual disclaimer applies: your mileage may vary, this is just something I wrote for myself. If it helps you, excellent news, and I'm happy to spend a bit of time, as in this case, to keep it working.


  • On "dementia tagging" 

    The other week I saw this article about Sussex police defending their use of GPS locators to find dementia patients who wander off. It opens with the following paragraph

    Police have defended a "barbaric" decision to buy GPS locating devices to trace people with dementia who disappear.

    then continues with the following

    Sussex police have bought six battery-powered locators as part of a attempt to save money and time spent on searching for dementia patients.

    The National Pensioners Convention described the introduction of the devices as "barbaric" and suggested people could be stigmatised and made to feel like criminals.

    The Mindme GPS device is monitored by Chichester Careline, run by Chichester district council, and supports vulnerable people 24 hours a day. It can be attached to house keys or kept round a person's neck and enables those who become lost or disorientated to be found by their families through a website or the careline.

    As long as wearers have a mobile signal, they can be located anywhere in the world, officials said. Information on their whereabouts is given only to the carer or family after security checks.

    The device is seen as a way of helping police who say they are regularly called out to help find people with dementia.

    Chichester wrote about the service themselves in New technology is transforming the lives of those with dementia. This also contains a story about someone who is using the service.

    A week or so later I spotted Debate about GPS for people with dementia needs to be based on fact which says

    Discussion of the Sussex example on the Today programme illustrated the intensity of emotions and unwillingness to consider any potential application with Dot Gibson, general secretary of the National Pensioners Convention, dismissing any use of the devices. Her view was that the scheme was tantamount to imposing an Asbo on people with dementia, and was "inhumane", "barbaric" and flouted their human rights.

    There are risks in using new technologies to substitute for care, but they can be important tools as part of a package of care and support. What is vital is that debate should be informed by the facts and not by knee-jerk alarmism and prejudice.

    And I couldn't agree more with this last paragraph. The debate should be informed and thought of from all angles.

    I also did a quick search of the Alzheimer's Society Forums and found this thread about it. The interesting thing here is that everyone posting has first-hand experience of dementia. There are a lot of "it depends" but also a lot of "tag me when the time comes", which is more in line with this Guardian article from a dementia sufferer.

    From all of these places, there are a few areas that seem to have been picked out and given a lot of focus:

    • terminology - the use of the phrase tagging is unhelpful and tends to give a perspective of prisoner tagging/dog tagging. This is not a good comparator and it is a very emotive word. The system has been described as barbaric, and that it restricts people's civil liberties and criminalises them - I see this having more potential as a liberator than a restrictor. I used the term tagging in the title of my post deliberately as it seems to be what people are searching for.
    • the view of it being introduced as a cost cutting exercise rather than an independence gaining exercise.
    • the focus on the technology as a solution rather than the concern about whether it is an indication that the carer needs additional help and assistance - certainly, from my personal experience of having watched my Dad suffer, sometimes the level of carer support was a bit thin on the ground but he was reluctant to admit he wasn't coping as he felt he was letting Mum down. He wasn't. He was amazing.

    I've spoken with friends over the past year or so about this as a concept, and I'm pleased to see someone starting to tackle the idea. This post is really just to pull together some references, and some personal experiences, and I'm writing it is as much for me to get my thoughts out as for anyone else to read.

    As Mum's dementia got worse, and she no longer really appreciated the difference between day and night, she would get up and wander around the house as and when she felt like it. Dad, sometimes, would fall asleep in his chair in the afternoon through sheer exhaustion. Mum would wander around the house, and on occasions neighbours did check up on Dad, as they hadn't seen him for a few hours and Mum was obviously restless. For years our family home always had the front door key left in the front door lock. This changed when Mum started wandering, but occasionally Dad would forget, and Mum would get out (which I do know makes it seem like we were keeping her captive, but in some ways, we were). Once a week Mum would visit her friend who lived down the street. She'd been going to see this friend year after year, always at the same house. And then she forgot where she was going and got lost. Going 200 metres down the road. This resulted in her freedom being restricted as the risk was too great that we'd lose her.

    There was also a time that I remember vividly. We'd gone to the British Museum and I was given the seemingly simple responsibility of escorting Mum to the toilet - I lost her in minutes. I was frantic, but fortunately found her before she left the building. I didn't let her out of my sight again.

    Dementia robs the sufferer of their independence as jobs and responsibilities are taken away from them. I guess it is the opposite to how it works with children, when you stretch them and encourage them to expand their knowledge. With dementia it is all too easy to do things for them, which, I guess (amateur psychology time here) reduces their capabilities and confidence.

    A lot of the more recent dementia research and guidelines seem to be about encouraging the sufferer to do as much as possible, without exhausting them to keep them active for longer. Having a tracking device, where the data is available to the right people, should restore some independence, and stops the sufferer having to be so dependent on others - maybe allowing them to go to the local shop to get milk or bread or a newspaper. Or even have some time on their own. This can only be a good thing. Dad would have liked Mum to have been able to do more on her own. Both so he got a bit of time to himself (for the final few years Mum lived at home she went to a local centre several days a week to allow him some time to himself - I suspect he slept for much of this time) but also so that she regained a bit of confidence in herself, which would hopefully have helped her quite a bit, and would have taken away the feeling of uselessness and worthlessness that she often expressed to us. I would be interested in knowing more about the psychological benefits of giving people independence for longer - if anyone knows anywhere for me to find it, please leave me a comment.

    But, any such device needs to be subtle - obvious to the right people but not exposing the vulnerabilities. I bought Mum an SOS Talisman bracelet. It wasn't the prettiest thing in the world, but it would be recognisable to medical staff or the emergency services, and contained information about her illness and her details. She wore this much of the time, and was a very low-tech, and ugly, way around this identification issue.

    Any device would also need to be robust. And always on the sufferer, which is a concern with the Mindme unit actually as it, obviously, needs charging. Mum wandered around the house at night, if she'd got out, she wouldn't necessarily have been wearing a device. Also, Mum went through a stage of removing her rings, and watches. Necklaces survived, until the chain was snapped, so, for her, some form of necklace would have been the best solution. But as with everything else relating to dementia, different people have different symptoms and methods of dealing with things.

    Key to the success and general acceptance, at least within the tech community, would be around it being well secured - allowing the right people to access the information, and not make them vulnerable.

    Overall, I'm in favour of anything that extends a normal life for dementia sufferers and gives them more scope and independence. But I do think it has to be a choice, and not enforced. What works for one situation, won't work for others.

    There are so many opportunities through technology. We can make plants tell us to water them, and GPS track all manner of things - including our phones via various Find my Phone services, and ski clothing so that in case of an avalanche people can be found. I see no reason why we can't use technology to support the more vulnerable members of our community in a secure and safe way. It needs focussed and careful thought and not over-reaction in the media.


  • She is creative 

    Every three months an email comes around the office asking people to vote for their colleagues in an Employee of the Quarter style thing. It's supposed to be for the people who best reflect the company values. After the votes have been tallied, and the award given, the nomination comments get sent around to the appropriate person. So, last week, I recieved an email which said

    ‘My vote is for Jane as she is very creative in everything she does’

    which absolutely delights me. I am considered as creative within the company. Until the past couple of years I would never have described myself as particularly creative. And yet I am. And to some extent I always was. After all software development is a creative profession. I do think thought that as a result of participating in various crafts over the past 18 months I've begun to express myself in a more creative manner.

    Of all the things I could have been recognised for, I doubt any would have made me as happy as being recognised for creativity.


  • Design your day 

    Last week Jez tweeted

    I've quite enjoyed reading "Designing Your Day" by @nokiaatwork slideshare.net/NokiaAtWork/smarter-everyday-ebookdesignyourday

    - Jez Nicholson (@jnicho02) May 10, 2013

    Over the last couple of days I've read it as a pdf (it took me a while to work out how to get it in that format) and it was quite nicely put together. I've read, and blogged about, various time management/productivity books/methodolgies before and as a consequence there wasn't much new material in there, although, there was yet another reference to Daniel Kahneman's Thinking Fast and Slow which is about the 5th I've come across in various articles, recommendations etc - looks like I'll just have to read it!

    What I really liked though was that the whole idea of productivity was tackled in a more creative manner, using a more design led process and terminology, rather than it being very business language. It also introduced me to this lovely quote from Tim Brown

    Think of today as a prototype. What would you change?

    which I really like. Well worth the reading time.


  • on Carbon paper 

    In a lovely bit of observational selection bias I read this

    one of the company’s main expenses was postage: each programmer would write their code on carbon paper (backup copies were needed in case the original was lost or damaged) and send it through the mail to their client’s punchgirls. The code would be transcribed, the program run and any errors would get posted back to the programmer for correction

    in the, well worth a read, article A Woman’s Place about a group of freelance women programmer's in the 1960s/70s/80s yesterday, and then this morning saw this Inside the UK's last carbon paper factory, a lovely video showing the machinery and people working at York Haven, the last one-time carbon manufacturer in the UK.

    It had never occurred to me that carbon paper would have been used as a backup for coding, but why not, it was an available "technology", and programs in the 60s were hand written before being made into punched cards.