Saturday, 31 May 2014

Books , O'Reilly Reviews , Tech

Java 8 Pocket Guide

More "Java" than "Java 8" ★★☆☆☆

A "pocket guide" for something like Java is always going to be a difficult book. It's got to be succinct enough to allow easy access to salient points while simultaneously proving the depth that this complex platform deserves. A book that is perfect for experts is unlikely to appeal to beginners too, and therein lies the problem with the Java 8 Pocket Guide.

I was hoping for a speedy "leg-up" on new features in Java SE 8, having been a long-term Java developer. Sadly this book doesn't quite meet that need. There is Java 8 material here: a tour of the new Date and Time API and a good overview of Lambdas (although only a passing reference to method references, and pretty much nothing about the new collections streams).

But I'd like to see further detail on the library: a list of package names isn't enough! The Concurrency chapter was interesting, but would've been so much more informative with more detailed examples. (And those examples that are present need reviewing further: I'm sure the author meant to invoke thread.start() instead of thread.run() to spawn a new thread.)

If you're coming back to Java from a long time away and need a reminder about the syntax and style of the language, or if you're new to Java and need an aide memoir to keep beside your IDE, the Pocket Guide might be perfect. Experts looking for a reference to what's new in Java SE 8 should look elsewhere.

[Note: I received a free copy of this book through the O'Reilly Reader Review Program.]

Posted by pab at 19:50 | Comments will be back one day. Please email me instead!

Islands

Kerrera

Another day, another island; another island with a special place in my heart.

sound-of-kerrera.jpgWithout Kerrera there would be no Oban. Separating the town from the Sound of Mull, the island acts as a huge natural breakwater, providing this "Gateway to the Isles" with its own ready-made harbour.

I first visited back in 1999. I was a hopeless romantic. I took the ferry from the mainland and embarked on a walk around the island's perimeter. Three quarters of the way round I sat on a rock to eat my sandwiches, the water gently lapping away at my feet.

Here I came up with the idea for the Model Boat Club. Imagine a young couple, hopelessly in love. On a warm summer's day they walk round a small island and stop off for a picnic in the bay. As the food is finished, a model boat comes into view. It rounds the rocks and heads straight towards the couple. Attached to its mast is a neatly wrapped box. Attached to the box is a label bearing the girl's name. She unwraps it to find a jewellery box. Her heart beats faster. Seeing that she's too nervous to look inside, the boy takes it from her, tilts open the lid and asks "the question". Of course she says "yes". The boat slips silently away.

model-boat-club-bay.jpgIt occurred to me that if you're going to spend a significant sum on an engagement ring, you may as well propose in style. You can draw a direct line between that time moment on the island of Kerrera and an evening on at Tan-y-Bwlch seven years later.

We saw plenty more on Kerrera today including parrots, a peacock and a turkey; Gylen Castle and one of the world's best tea-rooms. But the highlight for me was taking Emma to an unnamed bay on the island's southern tip to tell her the beginnings of the story that ended with me sketching a lych gate on a boulder on a beach south of Aberystwyth.

Posted by pab at 18:05 | Comments will be back one day. Please email me instead!

Friday, 30 May 2014

Greenbelt , Islands

Iona

We've been on the island of Iona this week with friends from Greenbelt.

For the past ten years Emma and I have made the pilgrimage here every two years or so. We'd each visited the island before we met each other too; it was on a call from the village phone box that I discovered my degree result twenty years ago. (I thought I might have scraped a third; I couldn't have been more wrong!)

abbey-sunset.jpg

It's an island we know well, but this year I discovered dozens of places I'd never visited before. Rather than stick to the well worn paths I ventured across the moorland at the heart of the island, climbed hills I'd not previously noticed and more than once sunk deep into a bog I wish I had spotted.

As we headed north on Friday I wondered whether this would be our last visit to Iona for a while. I now know that it will not. We shall return.

Posted by pab at 22:20 | Comments will be back one day. Please email me instead!

Wednesday, 28 May 2014

Islands

Staffa

fingals-cave.jpgCultured people might tell you they visit Staffa to see Fingal's Cave. They'll sit on the basalt columns and listen to Mendelssohn's Hebrides Overture as the waves break on the rocks below. Maybe they'll tell you of Queen Victoria's visit to Staffa, or invoke tales of the British Romantics.

It's certainly an atmospheric place, but it's not the reason I like to visit the island.

puffin.jpgIn fact, I'd venture that there's only one reason why anyone ever returns to Staffa: for the puffins.

Ever ready to entertain the crowds, these small birds will fly up to greet anyone willing to sit patiently on the cliff tops for a few minutes. They're beautiful, charming and curious. They bring a smile to everyone's face yet always look terribly sad.

Staffa is well worth the trip. The birds will draw you back.

Posted by pab at 19:29 | Comments will be back one day. Please email me instead!

Friday, 23 May 2014

Places

Heading north

caledonian-sleeper.jpg

There are few better places to find yourself just before midnight on a Friday night than platform one at Euston station. Or to be more specific, there are few places better than the lounge car of the Caledonian Sleeper with the love of your life and a wee dram, especially if ahead of you lies a week away from work and breathing space of the Hebridean islands.

Posted by pab at 23:45 | Comments will be back one day. Please email me instead!

Walks

Thirty times fifteen

Since 17 January I have walked more than five miles a day, every day.

That was quite straightforward: it just meant taking a slightly more circuitous route between home and the bus stop on my way to and from work.

I was concerned this would be difficult to keep up once I started working from home. I shouldn't have worried.

Since 3 April I have walked more than ten miles a day, every day.

I invested the time I wasn't on the bus in more walking. I found I was "walking to work" daily, even though the office was in the next room. Five miles there, five miles back.

Then as the evenings got lighter after Easter, I went slightly crazy.

Since 23 April I have walked more than fifteen miles a day, every day.

Today this stops. I can't see how I can sustain fifteen miles into the next month, so it's time to dial back the effort.

It's been fun though. I've completed my Neighbourhood Walks, and have a further dozen or so recreational walks to write up. There's a reason to all this walking; I must write about it sometime. But for now, it's good to know that 500 miles in a month isn't a problem and that I can still hold down a job at the same time!

Posted by pab at 12:03 | Comments will be back one day. Please email me instead!

Saturday, 10 May 2014

Personal

Imperial Festival

imperial.jpgIt's twenty years since I left Imperial. Time to return.

Today the college is running a festival alongside alumni reunion events. The festival was far more interesting than the reunion (I didn't meet anyone I knew).

I came away impressed by the wide range of research going on at Imperial, and with a pang of nostalgia after sitting through an interesting lecture. The one disappointment was how software and maths were hardly represented at all in the programme. Software is at the heart of almost everything in our twenty-first century society, and Imperial is (or at least was) leading the world in the subject. To be under-represented – to be unrepresented – was quite simply wrong.

Update:
Looks like I was caught on camera by one of IC's official photographers.

Posted by pab at 21:44 | Comments will be back one day. Please email me instead!

Friday, 9 May 2014

Food

Visiting Jura

Friends of ours invited them to join us on a tour of Jura later this month just before we spend a week on Iona. Unfortunately we had to decline.

jura.jpgSo we were delighted when our neighbour invited us to another tour of Jura this evening: a round of all six whiskies produced by the distillery.

Jura, Superstition, Elixir, Diurachs' Own, Origin, Prophecy; all very different. For my money though, Superstition stands out as the best.

Posted by pab at 23:58 | Comments will be back one day. Please email me instead!

Sunday, 4 May 2014

Chilterns and Thames Valley

Back to the beginning

sarratt.jpg Distance: 9.77 miles
Ascent: 237 metres
Duration: 3 hours 5 minutes

Walk 26: Chess Valley

Something began here in Sarratt back in 1981 or so. I've deliberately saved this visit to the village as the last Chiltern and Thames Valley walk.

It was the last summer at the first house in which I grew up. The churches' Holiday Week was always a highlight of the school holiday: a week in a marquee on the common with songs, plays and games. On the last day of the week the oldest children were taken on an afternoon walk to Sarratt. There on the village green I remember praying "the prayer" for the first time. It's the closest I have to a "conversion story".

A song I first heard twenty years ago always comes to mind when I think of Sarratt now. "I sometimes get embarrassed," sings Brian McGlynn, "I've been saved so many times". I'm still embarrassed, but also humbled by grace. "It's just that I've been lifted by the hands of love."

Posted by pab at 18:22 | Comments will be back one day. Please email me instead!