Tutorials very successfully concluded

My tutorials this afternoon went exceptionally well. Discussing an area that you really know a great deal about with someone who is interested but just starting out in their scholarly examination of it is both engaging and rewarding. I am especially enjoying the tutorial on distributive justice. I remember how interesting it was to first read Rawls, Mill, Singer, et al and it is particularly gratifying to be sharing such ideas with someone else. The only danger is assigning a reading list that is far too long. As far as the tutorials on globalization and global justice go, I need not have worried about being short on communicable knowledge.

The other tutorial, on OPEC and the oil price shock, was also quite interesting. I have gone over 20th century Middle Eastern history enough times now that I feel quite comfortable talking about it and have a list of sources in mind basically all the time. In general, the tutorials were a reminder of the excitement that can be associated with the conveyance of knowledge.

I am looking forward to the four tutorials that remain with these two students.

You think you’re so clever, but you forget about the VAT

So much for saving money by using price differences between the US and UK version of Amazon. Today, I received not my headphones, but the duty bill for them:

Cost of headphones from Amazon.com: US$75 (C$85) (£40)
Shipping from USA to UK: US$26 (C$29)
UK Value Added Tax: £12 (C$25)
UK Parcelforce Clearance Fee: £14 (C$30)
Total: C$169 (Ack! Ack!)
Delivery time: about five weeks

Cost on Amazon.co.uk (with all taxes and shipping): £74 (C$156)
Delivery time: 4-6 days

In any case, I suppose I will cycle the five miles or so out to Kidlington (where the depot is) to pick them up either after my tutorials today or tomorrow. Many thanks to Jessica for her help with the ungainly trans-shipment process above.

The moral of the story: ye who think you can get $160 headphones for $85 are probably mistaken.

[Update: 9:01pm] I rode the six and a half miles to the pickup depot. I paid the $100 in taxes. I put in the headphones with the flanged eartips… and was disappointed. It sounded more precise than the default iPod earphones, but not enormously better. An hour later, I tried the foam eartips and I understood. Tori has never sounded more astounding. If it keeps up for a few years, the Etymotic ER6i headphones will have been worth every cent.

[Update: 2 August] It should be further noted that the Etymotic customer service people are unusually polite and helpful. I wanted to order the larger flanged tips to see if they work as well as the medium foam tips. There was no time spent on hold at all, and I was immediately put in touch with someone who is going to send me the large flanged eartips internationally for free. Such things are always pleasant surprises.

[Update: 8 August] I got the larger and smaller alternative eartips for the Etymotics today. The large flanged ones work much better than the normal flanged ones, but don’t sound quite as good as the normal foam eartips. That said, the normal foam ones get somewhat gross quite quickly and are hard to clean. I think I will mostly stick with the large flanged eartips.

[Update: 30 January 2007] I had a few minutes of abject panic today, when it seemed that the right earbud in my pair of excellent but expensive Etymotic ER6i headphones had dropped to 10% of its original volume. I had been listening for a few straight hours, working on a paper, and found myself wondering why the song I was listening to was so biased to the left. Thankfully, when I called their very helpful tech support people, we realized that it was just a clogged filter. I replaced it with one of the replacements included in the original set and all is well. (Actually, the right side is a bit louder now, but the filters are $2.50 each and I should wait until the other is more clogged).

Scotland 2006 photos: second batch

All taken during our first big hike on Friday, this series of photos shows a bit of the majesty of the Scottish highlands.

Scottish peak

There is really no mistaking the glacial origins of these mountains, though the erosion patterns of the rocks look quite unusual to someone used to mountains in British Columbia.

Three peaks we climbed

These are three of the five peaks we climbed on Friday, including at least one of the three Munros.

Descending path

While requiring less exertion, descents were often rather more daunting than ascents.

Study in lichen

Continuity of hats is an important element of hiking trips.

Group photo

From left to right: Milan, Mark, Helen, Kathleen, Dengli, Chris, and Bruno. Photo taken by Andrew or Roman.

With tutorials tomorrow, I need to get some sleep. More photos and descriptions of the trip should come online tomorrow.

Scotland 2006 photos: first batch

Before putting anything on Photo.net, I will put a few of my better photos up here. I used my film camera for the shots I hoped would turn out more artistically. These digital shots are meant more as a documentation of the excursion. These are all from the ‘Five Sisters of Kintail’ hike that we did on Friday.

First Scotland ascent

When we first got out of the minibus on Friday morning, I joked that we were about to climb the steep rise in front of us. We then went on to do exactly that: through the fog, with one backpack dropped and recovered from at least 100m below before we reached the first ridge.

Scotland ridge

Here we are atop that ridge. On account of the fog, we didn’t get much of a view for quite a while.

Bruno leading on the ridge

Bruno and Andrew leading along the ridge.

Study in lichen

Ecology on Scottish mountain tops is a study in grasses, lichen, and perhaps sheep.

Bruno near a rockslide

When the fog did clear a bit, we got a close up view of the legacy of glaciers upon the Scottish Highlands.

Back from Scotland

After an excellent few days, those parts of me not devoured by midges are back from Scotland. Over the three days, we climbed seven proper mountains (each more than 900m), including four designated as Munros. The mountains were quite spectacular – a nice reminder of home – and the fellow walkers were a great pleasure to spend time with. Interesting, knowledgeable, and friendly people all, we had some excellent conversations about everything from quantum chromodynamics to medieval theology. The combination of physical scientists, computer geeks, and a political theorist was nearly ideal. I was really glad to meet everyone, and I hope I shall meet them all again.

Sorting everything out, both physically and in terms of all the data, may keep me a while. Digital photos will appear both here and on Photo.net as I process them. I should have the roll of Velvia I shot off in the post for processing and scanning shortly, as well.

In closing, I should quickly thank the trip’s superb organizers. The Oxford University Walking Club is an exceedingly professional organization, run by very capable and helpful individuals. I really appreciate the opportunity they granted me.

Something to try over the weekend: cryptography by hand

For about three and a half hours tonight, I awaited essays from next month’s tutorial students in the MCR. Having exhausted what scaps of newspaper were available, I fell back to reading a copy of Dan Brown’s Da Vinci Code, abandoned by some departed grad student.

Two hundred and sixty pages in, and unlikely to proceed enormously further, I note somewhat pedantically that there have been no codes presented. At best, there have been a series of riddles. The book would be interesting for its historical asides, if I could consider them credible.

Rather than go on about that, I thought I would write an incredibly brief primer on how to actually encrypt a message:

Crypto by hand

In the next few paragraphs, I will show you how to use a simple cryptographic device called a transposition cipher. If you really want to learn it, follow along with a pen and paper. As ciphers go, it is very weak – but it is easy to understand and learn. For starters, we need a secret message. The following is hardly secret, but it will do for a demonstration:

“DAN BROWN IS A DUBIOUS HISTORIAN”

Next, we need an encryption key. For this type of cipher, we need two or more English words that do not use any letter more than once. It is quicker if they have the same number of letters, but I will use two with different numbers of letters to demonstrate the process:

“DUBLIN PINT”

Write the first word of the key onto a piece of paper, with a bit of space between each letter and plenty of space below:

“D U B L I N”

Now, add numbers above the letters, corresponding to their order in the alphabet:

“2 6 1 4 3 5
D U B L I N”

Now, add your message (hereafter called the plaintext) in a block under. If necessary, fill out the box with garble or the alphabet in order:

“2 6 1 4 3 5
D U B L I N
D A N B R O
W N I S A D
U B I O U S
H I S T O R
I A N A B C”

Note how each word of the first keyword now has a column of text underneath it. Starting with the first column in the alphabetical ordering (B, in this case) copy out the column, starting at the top, as a string of text. Make sure you understand what is happening here before you go on. The first column, read downwards is:

NIISN

Now, add to that string the other columns, read from top to bottom, in alphabetical order. You can leave spaces to make it easier to check:

NIISN DWUHI RAUOB BSOTA ODSRC ANBIA

Clearly, each column section should have the same number of letters in it. Make sure you’ve got the transcription right before going on. Note that the string above is the same letters as are in the original message, just jumbled. As such, this system isn’t smart to use for very short messages. People will realize fairly quickly that “MKLLINAIL” could mean “KILL MILAN.”

Moving right along…

Take the strong you generated a moment ago, and put it into a block just like the one you made with the first keyword, except with the second keyword. This time, if you need letters to fill out the rectangle, make sure to use the alphabet in order. You will need to remove the excess letters when working backwards to decrypt, so you may as well make it easier.

“3 1 2 4
P I N T
N I I S
N D W U
H I R A
U O B B
S O T A
O D S R
C A N B
I A A B”

Now we have the message even more jumbled. The final encryption step is simply to copy each column in that grid out, from top to bottom, in alphabetical order according to the second keyword:

IDIOODAA IWRBTSNA NNHUSOCI SUABARBB

Note: the shorter the key, the longer each column will be. The above string is your encrypted text (called cyphertext). This final version is a jumble of the letters in the original message. Remove the spaces to make it harder to work out how long the last keyword is. If you like, you can use that put that string through a grid with another word. Each time you do that, you make the message somewhat harder to crack, though it obviously takes longer to either encode or decode.

To pass on the message, you need to give someone both the cyphertext and the key. This should be done by separate means, because anyone who has both can work out what kind of cipher you used and break your code. The mechanisms of key exchange and key security are critical parts of designing cryptographic systems – the weakest components of which are rarely the algorithms used to encrypt and decrypt.

To decode it, just make grids based on your keywords and fill them in by reversing the transcription process described above. I am not going to go through it step by step, because it is exactly the same, only backwards.

If anyone finds out about the credibility of Mr. Brown’s historical credentials, it won’t be my fault.

One word of warning: this system will not keep your secrets secure from the CIA, Mossad, or even Audrey Tautou. This cipher is more about teaching the basics of cryptography. If you want something enormously more durable that can still be done by hand, have a look at the Vignere Cipher.

PS. It is rumored that this very blog may contain a tool that automates one form of Vignere encryption and decryption. Not that it is linked in the sidebar or anything…

[Update: 27 July] Those who think they have learned the above ciper can try decrypting the following message:

BNTAFREEHOOI-LTOSIRISOTWD-FTNWAOEYSOXT-ERASEAAAKGVE

The segment breaks should make it a bit easier. The key is:

SCOTLAND HIKE

Good luck, and please don’t post the plaintext as a comment. Let others who want to figure it out do so.

Off to Scotland – goodbye until Monday

Train tracks south of Oxford

One advantage of not having all of your gear with you (particularly large backpacks) is that it forces a certain parsimony in packing. Given that we are only going for four days and that we will be spending a lot time crushed in a minibus, that is probably for the better. As such, I am reduced to standard hiking gear, wet weather gear, cold weather gear, and basic camping equipment. One important thing coming along with my is my Dublin book, so that I can plan where I want to go for my excursion beyond the city and generally plot out what I want to see. Suggestions are still very welcome.

My brothers are parents are making their annual trek to Oregon this coming week. It is something my family has been doing for more than a decade now: always going to the Lagoon Campground near Florence, Oregon by driving down the gorgeous Oregon coastline. I’ve gone at least six times: twice with my friend Jonathan, twice with Kate, and several times with just my family. Once, we went as far south as the Redwood Forest in California, but Florence is generally our terminus. Several times, the drive back has included Mount Saint Helens, and it always manages to encompass the Tillamook Cheese Factory. I hope they have a safe drive and enjoy themselves.

A full account of the hiking trip in Scotland, along with photos, will appear here upon my return.

South Hinksey

Bridge near South Hinksey

Happy Birthday Bilyana

While walking with Kelly this evening, we found an unusually nice bit of Oxfordshire, accessible through a park near their new flat. If you carry on down St. Aldates and across the Folly Bridge, then farther on down Abingdon Road, you will eventually see a park on the right. There is a small waterpark and a pool. Beyond that is a reasonably large lake, which can be crossed using the bridge in the photo above. Farther on are a set of train tracks likewise crossed by that bridge and then fields and the village of South Hinksey. It is all very attractive and photogenic, and I am glad to have discovered it in such good company.

Tomorrow, I need to tie up final loose ends before the Scotland trip. Now that it has become clear that we will be driving more than thirteen hours each way, I am a bit daunted by this four day excursion. Hopefully, the drive will be pleasant and the two days of hiking will be spectacular. My fingers are crossed incredibly tightly that I will get both papers from my August tutorial students in time to print them before leaving. If not, I will have a very hectic period of work to be completed immediately upon my return.

If I am to get my paper into the next issue of MITIR, I need to have it submitted by the 31st. Since I will be in Scotland after the 27th, that means finishing it tomorrow. They haven’t been entirely clear on whether they just want a few stylistic changes and a few specific statistics, or if they are serious about the 4000 word maximum. If so, I need to boil away more than a third of the existing paper. Hardly something I can do in the day that remains to me. All that can be done is for me to revise the paper as well as can be managed, send it off before I leave, and then return home to find out what they have decided. It seems increasingly likely that I will also return home to finally find my new headphones.

Warped wheel

I have discovered why the rear wheel of my bike keeps going out of alignment and rubbing against the frame: the wheel itself is somewhat bent. No matter how I line it up, there is a warp that causes it to rub against the brake pad once or twice per revolution. Over time, I guess it drifts more and more, to the point where the side of the tire is rubbing against the back portion of the frame.

When I get back from Scotland, I will have to go to Beeline Cycles and learn how much it will cost to have repaired. Until then, I will ride with a spanner so that I can reset things when they go too badly out of whack for me to easily maintain forward momentum.

[Update: 5 August 2006] I brought the bike in to Beeline Cycles, where I bought it back in March, and they fixed it for free under the warranty. Yet another case in which they have exceeded my expectations for good customer service.

500 miles by minibus

Google Maps predicts that the drive from Oxford to Shiel Bridge, near the Isle of Skye, will take almost thirteen hours. That seems an excessively long time to traverse less than 550 miles, but they may know things about the character of the roads that I do not. We leave at 8:15am on Thursday.

The weather is predicted to range between highs around 22 degrees Celsius and lows of about 12. Cloudy days are predicted, which is welcome. I much prefer to climb mountains under an overcast sky than under the glare of the sun. I have a spray bottle of 50% DEET to repel midges.

Since the whole trip is only four days, and I don’t need to carry a tent, stove, or sleeping bag, I will just be taking a day pack. Naturally, I will include items necessary if real rain or real cold emerge – Gore-Tex and wool respectively. On the photographic side, I am bringing both my A510 and my EOS Elan 7N (with 28-105mm zoom). On the latter, I will be shooting the roll of Velvia that Tristan sent me. As with so much other gear left behind in Vancouver, I wish I had my 50mm prime lens and my Manfrotto tripod with me for the trip.

While it’s a bit of a shame that we won’t get much chance to see any Scottish cities or towns, it is really the mountains that are drawing me up there. Nice as the countryside around Oxford can be, it has no wildness to it. It’s all marked off and manicured. I expect Scotland to be more vital.