Tech and travel

Posts

Holiday time

2010-11-13

My big holiday this year was to the US. Firstly I took a boat from Southampton to New York. Then a train from NY to Boston. And lastly a plane took me to Toronto. The weather was great, except on the boat. Boston and Toronto are very nice cities well worth a visit.

Queen Mary 2

Queen Mary 2

Paul Revere's home in Boston

Paul Revere's home in Boston

Toronto as seen from lake Ontario

Toronto as seen from lake Ontario

Leeds Castle

2010-09-19

Here are some photos from a visit to Leeds Castle, Canterbury Cathedral and Audley End.

Leeds Castle

Leeds Castle

The __enter__ method in the with statement

2010-07-06

The with statement is a great addition to Python. One thing that might not be immediately clear from the documentation is how the __enter__ method has to be implemented. If you want to use the object containing __enter__ then you have to return self there. You should not create a new object and return it.

Podcasts

2010-03-14

Here are two great podcasts that make my ride into work more enjoyable : Astronomy Cast History of Rome Well worth subscribing to.

Useless

2010-01-05

This is great : Some people have too much spare time.

Copyright (c) 2025 Michel Hollands