All posts by Graham Miln

More Squirrels

I am playing with a new camera and trying to figure out its limits, my limits, and how to get the most from it. It is going to take a while.

The newly released Canon PowerShot SX700 HS is lovely. Holding a shot still while zoomed in x30 is tricky but possible; although probably better left to a tripod when the shots are critical.

Below are a few photos and a short film of squirrels foraging in our local park. Most of the shots are taken at maximum zoom.

Red squirrel on a tree

Red squirrel on a tree

Red squirrel on a tree

Red squirrel on a tree

Amazon links on this page help support running The Work Life.

Exporting Contacts to CSV

An AppleScript to export name and e-mail addresses from Contacts.app on Mac OS X to a Comma Separated Values (CSV) file. The created CSV file is suitable for importing into numerous other tools and services.

I wrote this script for Mac OS X 10.9, Mavericks, but it should work without too many changes on most recent versions of Mac OS X.

To use this AppleScript:

  1. Launch AppleScript Editor from Applications > Utilities
  2. Copy and paste the code below into a new document
  3. Run the script
  4. On completion a contacts.csv will appear on your desktop
-- Save comma separated values (CSV) file to desktop
set exportPath to (path to desktop as string) & "contacts.csv"

set contactsCSV to "" -- variable to collect rows of addresses
set quoteString to "\"" -- constant to ease concatenation

tell application "Contacts"

	-- Repeat with every person in your Contacts
	repeat with x from 1 to the count of people
		set thePerson to person x
		set theirName to the name of thePerson

		-- A person may have multiple e-mails addresses, add one row for each
		repeat with anEmail in the email of thePerson
			set contactsCSV to contactsCSV & quoteString & theirName & quoteString & "," & quoteString & (value of anEmail) & quoteString & "
"
		end repeat
	end repeat

end tell

-- Write the CSV contents to a file
set exportFile to open for access file exportPath with write permission
set eof of exportFile to 0
write contactsCSV to exportFile starting at eof
close access exportFile

Lyon Funicular – Fourvière to Saint-Jean

“Going to put that on Facebook.” the man nearby  pondered aloud. I was not convinced he wanted an answer or even intended I could understand him. He had spoken in English more to himself than to anyone else around.

I stood by the front of the cab, camera in hand, quietly capturing the journey down from Fourvière.

With the camera recording the last thing I wanted to do was reply and spoil the audio. I smiled and that appeared to be enough. The camera’s microphone is terrible but the audio would be unsalvageable with a conversation over the top.

The funicular saves the crowd a walk up the steep hill that overlooks the old town of Lyon. The walk is not bad and we had come up this way earlier that day.

For our return we took advantage of the rare free transport being offered and I took my opportunity to put together a short film, Fourvière to Saint-Jean.

Hot Water

After two weeks without hot water, I am looking forward to running that hot tap soon. The plumbers have just finished and are leaving behind a brand new water heater. The new heater looks identical to our last but this one is not leaking water through the electrics.

Beneath the leaking hot water heater

Beneath the leaking hot water heater

Having dealt with leaks from the apartment above twice since moving to Lyon, it came as no surprise to once again suffer another leak. This time our wall mounted water heater was the source, rather than the apartment above.

Two weeks ago Megan walked into the kitchen and let out an odd sound; a sound something between surprise and confusion. I rushed to the kitchen to find her trying to determine why a sizeable area around our sink was covering with water. A thin layer of water coated the sink, the nearby floor, and our cooker top.

A slowly forming drip from the water heater fell, hit the edge of our drying rack, and splattered.

The water was leaking from the base of the heater, near the red power light, and seemingly far too close to the electrics hidden inside. I quickly cut the power at our power box and then cut the water to the apartment.

A few minutes examination revealed an obscured tap to cut off just the water to the heater. After those simple steps we had isolated the now dangerous device.

The dripping continued for another hour and stopped.

Our landlords were not slow but instead a combination of multiple visits by the plumber, securing an invoice for the replacement, and scheduling time all mounted up. The final visit was postponed. Another client of the plumber having a “big problem”. So it is only now our new heater has been installed.

It will not be long now until we get back our steady, reliable, hot water. I will not miss having to heat water in a pan.

York

We arrived in York late in the day with the sun having set a few hours before. The streets were dark and we could only catch a glimpse of the fortified walls and gates that surrounded the old town.

Micklegate Bar in the evening

Micklegate Bar in the evening

Bell tower at night

Bell tower at night

The next morning we were up early and we bought our first Costa Coffee. Costa is a brand that has appeared across the UK since I left. Despite many return visits, York was the first place I have tried their coffee. I am not a coffee expert but the drink was fine; more enjoyable was the little gingerbread biscuit balanced on top of Megan’s whipped cream covered treat.

Gingerbread man from Costa Coffee

Gingerbread man from Costa Coffee

York is a walled city and the walls are open to the public. The views across and into the city are impressive. The minster stands out and, in the right light, is stunning.

Micklegate Bar

Micklegate Bar

River Ouse

River Ouse

Lamp post on bridge in York

Lamp post on bridge in York

Defensive tower along York's fortified walls

Defensive tower along York’s fortified walls

Clifford's Tower, the keep of York Castle

Clifford’s Tower, the keep of York Castle

York Minster and city walls

York Minster and city walls

York Minster

York Minster