adventures with flask-cors

  • I want people to be able to write and host the static parts of any book on any server. You can think of each page in a book as its own single page application.

  • I want to provide back-end services so that students using any book hosted anywhere can save their programs and answers to quizzes etc.

  • I want to continue to gather research data on how students learn computer science.

  • I want to make the registration and login process as easy as possible.

Since the static parts can be hosted anywhere (including a site like interactivepython.org) The interactive parts are going to involve making cross-domain XMLHttpRequests (xhr). Of course the first thing that happens when you have a page hosted on static-site that makes an xhr request to ajax-server is that you get an error. Browsers and sites work together to disallow cross-domain requests to prevent a variety of nasty behaviors. But, there are many times (wlike now) when you have a legitimate reason for doing this. So, the w3c created the Cross Origin Resource Sharing (CORS) standard to help developers get around this. Cory Dolphin has created an excellent plugin for Flask developers called Flask-CORS. The plugin is a great example of the brilliant design behind Flask and in fact the entire WSGI stack.

The Really Simple Approach

The first thing you find when you start googling about this problem is that there is a seemingly simple solution. If you have control over your AJAX response you simply need to add an HTTP header Access-Control-Allow-Origin: * problem solved. Now everyone in the world can make xhr requests to your server and use the results in their page.

Adding a header is pretty simple in Flask. All you need to do is use response.headers.add("Access-Control-Allow-Origin", "*" Problem solved, moving right along to the next programming challenge.

Or maybe not. Minutes later you realize that this is not all that great because you have decorated some of your requests to require a login. That wont be a problem if the static page is served from the same domain because you will automatically get the session cookie, and the Flask-Security extension will eat that cooking and validate things for you. BUT if your static page is not served from the same domain you will not even get the session cookie. Oh Bother. But you also have a second problem. You have probably violated the CORS specification without even meaning to. Really, if I had to read the spec for every web standard I wanted to use I would seriously think about changing careers. But, here is the important part you may not return a CORS header unless the request contains an origin header! Chances are you tested you change with a quick curl call to your endpoint, saw the Access-Control header and were happy. But you sure didn’t give it an origin header on the request when you did that. So to summarize, we have two problems we need to solve:

  1. We want to incorporate authentication into our cross origin strategy.

  2. We want to be good citizens and follow the spec.

The Smart Approach

The smart approach is to use a nice extension where other people have figured this out, and presumably followed the specification. Enter Flask-CORS. You can enable CORS support with a simple decorator @cross_origin This will automatically add the Access-Control-Allow-Origin: * to responses. As long as your test request includes an Origin. If you are like me you will forget that part, and then wonder why the extension must not be working. So this solves problem 2.

To solve problem 1 here is a snippet of code that works just fine.

@ajax.route('/ajax/page')

@login_required

@cross_origin(supports_credentials=True)

def test():

    return jsonify({'foo':'bar'})

The above responds to the url /ajax/page I have all of my API calls in an ajax blueprint with ajax as part of the url. I’m requiring that the user is logged in before I allow them to access this endpoint. I also want it to be allowed cross origin. This is where the parameter to the @cross_origin comes into play. Supports credentials sets up the CORS response to return an additional CORS header: Access-Control-Allow-Credentials: "true". For one final twist, you need to know that when you have supports_credentials=True you may NOT set Access-Control-Allow-Origin: * You need to be specific and set the origin to the origin that comes in the request headers. To Make this work and try it out from the client side, here is a bit of HTML/Javascript.

<button onclick="corsTest();">TestCORS</button>



<script>

    function corsTest() {

        var xhr = new XMLHttpRequest();

        xhr.withCredentials = true;

        xhr.onload = function () {

            alert(xhr.responseText);

        }

        xhr.onerror = function () {

            alert("error");

        }



        xhr.open("GET", "http://example.com/ajax/page", true)

        xhr.send()

    }

</script>

Note that you need to set xhr.withCredentials in order for your session cookie to be sent along. By default cookies are NOT sent with cross origin requests.

Now, I may end up adding more to this as I discover the intricacies of so called “Non-Simple” requests. That is requests beyond simple GET and POST, as I work on moving my API toward a RESTful API which uses PUT and others. This will nodoubt enlighten me about preflighted requests. Which I can only assume means something different than sitting around in an airport bar waiting for your flight to be called.

There is a lot more detail and background on using CORS at the following two sites:


unexpected adventures

Morning Climb to Castelmola

Since the students were planning on sleeping in this morning, Jane and I decided to explore on our own a bit. High above Taormina sits the little town of Castelmola. You can’t drive there, you have to climb. And so we did. But when we arrived in the little town we were rewarded with a spectacular view up and down the Ionian coast.

data-cycle-fx=scrollHorz

data-cycle-auto-height=container

data-cycle-caption="#castelmola-caption"

data-cycle-caption-template=“Slide {{slideNum}}: {{cycleTitle}}">


After enjoying the view we decided that a Cannoli and Cafe were in order before we started the hike down. At the end of one small street we found the perfect place. Maria, the proprietor of Gallo Cedro was cutting tomatoes on the terrace. “Prego,” she said by way of invitation to come in and sit down. The Cannoli’s were first rate. She stuffed them fresh for us and added some chocolate chips and pistachios to top off each end. Perfecto. We were about half done with the Cannolis when she unexpectedly appeared with two shot glasses and a bottle of almond wine. Well it was only 10AM, but we figured when in Sicily… So we had a little digestif to help the cannolis go down.

Gole Alcantara

We returned to the Lemon Tree (the name of our apartments) around 11 and everyone was out of bed and getting themselves awake for the day. We had some discussion about what we might do this afternoon. The gorge, known as Gole Alcantara, sounded like an interesting short hike and there was enthusiasm among the group for a stop at a Sicilian winery.

We made our way to Gole Alcantara and after making a donation to the parking attendant we set out on our short walk down to the gorge. It was beautiful. Of course many of our “kids” wanted nothing more than to play in the water which was quite a problem since we had not brought beach towels or anything for them to dry off with.

As we enjoyed the area, we checked our email to see if we would be able to visit any of the wineries. Unfortunately none of them could accommodate us that afternoon. So… We decided that we could do our own wine tasting back at the Lemon Tree.

Red and White

The wine tasting preparation required another stop at the supermarket where we put a strict limit on the price of wine to be purchased for the tasting. Our goal was to keep it under 100 euros while recognizing that with 13 people each of us would just get a taste of each different bottle. It was quite the production to get six of us to agree on what wine to select. I will say that the Italian construction workers who were supposed to be building another set of shelves in the middle of the aisle we fairly amused/distracted by the blonde haired blue eyed wine aficionados.

While we were in the wine aisle another group was in charge of meat and cheese and fruit. As you can see we put out a pretty good spread. We also agreed that we were “in for the night” as there was no way we were going to drive our mini-vans down or up the winding hill to the Lemon Tree after wine tasting activities.

The wine and cheese went remarkably quickly. Even with a seventh inning swimming stretch between the reds and the whites. I guess it was inevitable that after a bit of wine, some of the people were going to end up in the pool fully clothed.

With the reds, gone, people were in the mood for movies or whatever, and then “the munchies” set in. We had been told that there was at least one Pizzeria that would deliver all the way up the hill, and that Paula would take care of calling and ordering for us. After much trying however it was determined that the pizza places were closed on Monday night. The horror and sorrow of a hungry group of students without pizza. We were totally resigned to a pizza free night when Paula knocked on our door to inform me that the pizzas had arrived! We were saved. And for some reason she was convinced that the students needed a nightcap, and so brought them a complementary bottle of home made limoncello!


climbing mount etna

The van arrived right on schedule, 4:45 AM, and we were all in the courtyard in front of the flat on Triq DePiro ready to go. This is our last group trip together with the Malta students, Spring 2015 edition. It is a bonus trip in the sense that because Jane saved us a bunch of money by doing so much planning for our trips to Rome, Morocco, and Istanbul, that we were able to afford the plane tickets and lodging to get everyone to Sicily. Of course with budget travel comes early morning flights, but nobdy seemed to mind very much. We were, after all, heading for Sicily. What nobody guessed was that we have a distinctly non-budget view from our lodgings for the next three nights!

The flight to Catania is ridiculously short is is just over 100 miles and takes less than 30 minutes, we barely got above 11,000 feet before we started our descent. Our departure time was so early that once we arrived in Catania we had a good hour to wait before the rental car agencies opened up. Yes, we are driving in Sicily. Its part of the plan to keep costs low for this trip. Two mini vans for the group. The plan for the day was to meander our way north to Taormina stopping along the way at Bronte to sample some Pistachios and at Randazzo to check out lava as a building material in a Medieval town.

The highlight of the day was to do some hiking on Mount Etna. It is amazing that there is still snow on the volcano in mid-May and even more so when you consider that the volcano is quite active right now.

We started out together as a group and enjoyed the break from the busy urban vibe of our home in Sliema, stopping for a group photo in this cool clump of trees:


group


Eventually the group splintered with varying degrees of adventurousness, and an unfortunate bruised thigh for Jane due to a loose rock. Some of us persevered up the side of the volcano until the winds became so strong we thought we would blow away. Climbing through the lava is a lot like climbing up a giant sand dune. It is very hard work. It also reminded us of the scenes of Frodo and Sam climbing into Mordor in Return of the King. As we were scrambling our way up, a helicopter flew overhead and hovered over us for a few minutes. I think we all expected to hear a loud voice tell us to turn around and get out of there, but I guess they decided we were harmless and not in harms way as it soon moved on. After we reached our goal we were tired and happy to be there if only for a few minutes to enjoy the view.

If you look close, you can see part of the group on the plateau in the middle right of the picture.

As we began to descend our shoes soon became filled with sharp little pieces of lava. This made the descent quite painful and necessitated a few stops to empty the shoes. At one point I was really glad Emma was standing behind me as she remarked. “I wonder who’s glasses these are?” Of course they were mine having just fallen out of my pocket as I was emptying my shoes. That would have been a loss, and impossible to find one pair of transition lenses hiding in miles of black rock.


group



enjoying island life on a warm may day

Every day is a good day when you are on a boat, in the beautiful blue Mediterranean. After a bit of a mixup on the bus this morning, we got to spend 4 amazing hours with Captain Franz on a boat trip from St. Paul’s bay to Gozo to Comino. Complete with caves, and cliffs, and swimming. Click on the thumbnail below to see the photo gallery for today.

The bus mixup is amusing now that I look at it a day later… We had arranged for van to pick us up at 9:00 to bring us up to St. Paul’s bay. But after waiting and waiting I finally connected with my contact, Rachelle, at the University who handles all our transportation scheduling for us. It turned out the bus company had screwed up the schedule for the day. The solution was to send a coach. The only other vehicle available and in the area. No, not one with horses, a giant bus. Wait by the corner we were told. Oooops wrong corner. More delay. Imagine the 14 of us on a coach that could easily hold 60 people. So we made it to St. Paul’s in Style and in the end were only about 35 minutes late. Thankfully Frans was a very patient captain, and it was no problem to extend our time in the afternoon to make up for our lateness.


writing a runestone lab the easy way

As part of the grand reorganization of the various tools and software associated with the Runestone Interactive project I am planning to also write a series of tutorials to help people get started. The major aspects of this reorganization are discussed in detail in the Project Roadmap, but for the sake of some context I can summarize the major efforts as follows:

  1. Separate the distribution and development of writing tools from the server.

    1. Make a pip installable runestone package.

    2. Remove the interconnectedness between the components and Sphinx. In other words support the user of runestone tools in environments like Markdown, and even wysiwyg html editors.

  2. Re-architect the server side focusing on services for the writing tools

    1. Create an authentication service that supports CORS for cross domain AJAX use.

    2. Create a standard REST API for logging and storing student data

  3. Create a web application (or integrate with another) for grading

Since I just completed Part 1.1 I thought it was a good time to talk about how easy it is for you to now use the runestone tools for creating a lab for your students, or lecture notes and presentation materials for your class.

Getting Started

The major steps in getting started are

  • Installing Python

  • Installing the runestone tools

  • Building your first lab

Install Python

  1. If you are on a Mac you are already done with this step.

  2. If you are on Windows you will need to go to Python.org and download Python3.x. The windows installer is a typical installer and you can just click your way through it.

If you are an advanced Python user you may want to may want to create a virtualenvironment for this project but it is not a requirement.

If you are on Windows you may want to edit your PATH environment variable following the instructions here. Again, mac users can ignore this.

Installing the Runestone Components

You are going to need to use the command line for the rest of this tutorial, so start up a Terminal (/Applications/Utilities on a Mac or run PowerShell or cmd.exe on Windows) I will repeat myself here. These commands need to be run from the command line, not from the Python shell.

Run the pip command

$ pip install runestone

Or on Windows if you have not modified your PATH try:

C:\\Python34\Scripts\pip.exe install runestone

From now on I’m only going to give the Mac way of running the commands. If you are on windows you will need to add C:\\Python34\Scripts to the beginning of the command and add .exe to the end.

You can watch as a lot of text goes scrolling by. But as long as you don’t get any errors you should be good to go. You only need to do these first two steps once. Once you have installed Python and runestone you will not have to do it again.

Starting your first Runestone Project

Here is a session of me on my computer creating a simple project.

$ mkdir mynewproject

$ cd mynewproject

$ runestone init



This will create a new Runestone project in your current directory.

Do you want to proceed?  [Y/n]: y

Next we need to gather a few pieces of information to create your configuration files

Project name: (one word, no spaces): myhello

path to build dir  [./build]:

require login   [false]:

URL for ajax server  [http://127.0.0.1:8000]:

Your Name  [bmiller]: Brad Miller

Title for this project  [Runestone Default]: My Hello World

Log student actions?  [True]: False

Done.  Type runestone build to build your project

At this point you will have the following files and folders:

mynewproject/

        _static/

        _sources    

        _templates  

        conf.py

        pavement.py
  • The _static folder is for things like images or javscript files.

  • The _sources folder is where you will put your own writing. To start with there are a couple of examples files for you.

  • The _templates folder is for styling. There is a default set of templates that match the runestone interactive look and feel. That is a good thing to start with. Once you become more familiar with the system you may want to customize the templates or even make your own.

  • The conf.py file is used by Sphinx, and contains information from some of the questions you answered when you initialized your project.

  • The pavement.py file is used for building and setting build parameters.

All of these files are important, and you should not delete any of them.

Next run runestone build This command will create a build/mynewproject folder with an index.html file in it. If you want you can now run runestone serve and then go to your browser and open up the following URL http://localhost:8000/index.html Yay! You have a webpage. Feel free to explore a bit to get an idea about some of the components you can use in your lab.

Writing your Own Lab

OK, lets edit _sources/index.rst Initially it looks like this:

=====================

This Is A New Project

=====================





SECTION 1: Introduction

:::::::::::::::::::::::



Congratulations!   If you can see this file you have probably successfully run the ``runestone init`` command.  If you are looking at this as a source file you should now run ``runestone build``  to generate html files.   Once you have run the build command you can run ``runestone serve`` and then view this in your browser at ``http://localhost:8000``



This is just a sample of what you can do.  The index.rst file is the table of contents for your entire project.  You can put all of your writing in the index, or as you will see in the following section you can include additional rst files.  those files may even be in subdirectories that you can reference using a relative path.



The overview section, which follows is an ideal section to look at both online and at the source.  It is pretty easy to see how to write using any of the interactive features just by looking at the examples in ``overview.rst``





SECTION 2: An Overview of the extensions

::::::::::::::::::::::::::::::::::::::::



.. toctree::

   :maxdepth: 2



   overview.rst





SECTION 2: Add more stuff here

::::::::::::::::::::::::::::::



You can add more stuff here.

If you are not familiar with markup languages, this file should still be quite readable to you, and you can probably easily guess what most things do. Runestone uses a markup language called restructuredText. There is a very nice, short tutorial here.

To give you an idea of what you see in the example above, the section that starts with .. toctree:: is called a directive and it creates a table of contents for you. the maxdepth part sets the table of contents to show sections and subsections. And the line with overview.rst indicates that it is a file that should be included in the overall web page. More on all of this later. Our first task is simply going to be to wipe everything out, and start over. Using a plain text editor change index.rst to look like this:

=============

My Sample Lab

=============



Part 1: Turtle Graphics

=======================



In this section we will do the following:



* Create a turtle

* Make the turtle draw a box



.. activecode:: turtle1



   import turtle



   timmy = turtle.Turtle()

   for i in range(4):

       timmy.forward(100)

       timmy.right(90)





Now it is your turn.  Can you modify the program to make timmy draw an octagon instead of a square?

Now save the file and rerun the runestone build command. Everything should build without a problem and you can now run runestone serve and open up http://localhost:8000 from your browser. Notice that you can change the program and rerun it right from your browser.

It is probably obvious that you can create headings and subheadings. Unordered lists are created using * and the runnable code examples are created by the .. activecode:: directive. The name turtle1 must be unique on the webpage, other than that it is not used for too much at this point. The rest of the activecode directive contains plain old python code, but it must be indented to line up with the a in activecode. All indented lines are included as the body of the activecode directive, regular text processing starts at the first unindented line.

There you have it. You have created a very nice little lesson without a lot of hassle. The Runestone and Sphinx tools take care of all of the formatting for you!

Giving Students Browser Access to the Lab

If you have your own webpage hosted on a school server that you normally use for class you can make your Lab available to the students by simply taking the folder mynewproject inside the build folder and putting that on your website. The folder is self contained and can be hosted on any web server.

If you know the IP Address of your own computer and you simply want to give let students bring up the webpage from your computer you can do that too. For example, lets suppose you know that your IP address is 10.0.0.23 Your students can get everything they need from http://10.0.0.23:8000/index.html

Coming Soon

There are many free web hosting solutions out there and you can also choose one of them and upload your project folder for hosting there. I’ll cover at least one of them in another tutorial. In fact I think I see a whole series of tutorials in the future on topics such as:

  • Making an online quiz for class

  • Making a lecture or presentation

  • Hosting your lab or quiz on github pages or another online service

  • Using your lab with runestone services


A Tale of two Scams

Gastronomic Negotiation

“Sir, you walk past me every night. Please give me a chance! I will give you an appetizer and free baklava for desert!” Really? I honestly don’t remember you. I’ve only walked down this road one other time. “Very Sorry” I say, “I’ve already got a dinner reservation back at Ocean’s 7. " “you will like it!” Says one of the patrons at the current establishment. Another ten steps down the road and we are implored to “Look at my menu.” A bit further on we are told “Sir, I have your table ready for you!” The idea that you can bargain for your supper seems so counter productive to me that I just cannot fathom it. Hey, lets see how little I can pay for something I’m about to ingest into my body. The incentives here are all in the wrong direction!

I can only imagine the conversations in the kitchen:

Waiter: One chicken and rice for the cheapskates at table five!

Chef: Oh great, now we know what to do with the gizzard and thigh meat that has been sitting on the floor all night!

No Thank You I will be more than happy to pay a price that puts the chef on my side.

Waiter: Chef the generous folks are back at table seven.

Chef: Great, tell them to order the veal, I’ve got two extra tender pieces I’ve been saving for my best customers. Oh, and bring up that 2011 Rombaur Chardonnay from the cellar, I know they will love that.

I think we can all agree on which chef we would rather have cooking our food.

This whole hawking the restaurant thing has been an ongoing saga since we arrived in Istanbul, and we even experienced it in London a couple of weekends ago. I don’t remember it being the case in Vietnam or Morocco, and certainly not in Malta, but maybe this has more to do with the onset of high touring season than our location. Now, this is not really a scam (although we have heard stories of the old bait and switch ) so much as an intro to the two things that happened to us today.

Cruising on a Reputable Ferry

Our plan for the day was to take the Ferry up the Bosphorus river to the mouth of the Black Sea. You get to see a lot of Istanbul along the way, then the ferry stops for a couple of hours so you can have lunch or do a little hiking and then comes back. As usual Jane had it all planned out, including a discount for using our museum passes. When we arrived at the waterfront we were immediately accosted by the usual crowd of tour people trying to sell us one of their packages. – two hour boat trips, three hour boat trips, six hour boat trips… “No, we are going on the ferry!” we would say. “But I can leave sooner. I will take you to the same place, wait for two hours and bring you back. My boat holds 80, it will be much nicer than the ferry and 800 people!” Hmmm, we were intrigued, and a bit horrified that we were even considering this option. But after a bit of negotiation, and multiple confirmations about our destination and pricing we decided to risk it. The captain even threw in a 50% discount on coffee at the nearby snack shack. Run by a relative no doubt. “Just wait here” we were told. So we waited and watched them try to work their magic on other passersby.

After a while, one of them came up to talk to us.

We cannot take you. I cannot do the trip for just your group. It will be better if you take the ferry, down there. There are not enough passengers today, because the bike race is keeping them all away from here. I am sorry.

It was true, there was a big Tour of Istanbul bike race in town, and the weather was a bit dreary, so the pier was sparsely populated. Which also meant that the ferry was not nearly as crowded as Jane’s research had led us to believe it would be. So, we carried on with our original plan, got our tickets to the ferry and were on our way.

The cruise was interesting, we got to see some castles, and some amazing real estate. And even a container ship that originated from Valletta! We just can’t get away from Malta now. Here is a little slideshow of some photos on the tour.

data-cycle-fx=scrollHorz data-cycle-auto-height=container data-cycle-caption="#bosphorus-caption" data-cycle-caption-template="Slide {{slideNum}}: {{cycleTitle}}">

The shoeshine redemption

After the cruise we had to make our way back into the spice market to buy some of the delicious candy covered “fistik.” That is peanuts covered in a syrup and rolled in sesame seeds. We discovered these our last day in Morocco, and were only too happy to find out you can buy them in Turkey as well. Some of the group wanted to hit the archeological museum while others just wanted to wander the spice market some more. So we turned them loose and decided to wander our own way back to the hotel.

As we were passing up one street that was very lightly travelled a shoe shine man dropped his brush in front of us. So, we picked it up and called out to him to give it back. He thanked us and we were on our way. Suddenly he called back to us. He sat down and and said “please,” with a look that said let me repay your kindness. We thought how nice, one good turn deserves another. But I had on my hiking shoes, which are not “shineable” and so he offered to shine Jane’s black shoes which were definitely in need of some love after all of our travels. He finished up Jane’s shoes and then insisted on brushing mine with a toothbrush and some water – which certainly did not hurt. About this time both Jane and I reached into our pockets for a few coins to tip the guy.

Imagine my surprise when Jane offered him several one lyra coins and he said “no, paper” What? He doesn’t want coins he wants paper money? Slowly it dawned on me that we had been played this whole time. He now wanted to be paid the full amount for two shoe shines, which took less than a couple of minutes. I added my coins to Jane’s and dumped them in his hand and we turned and walked away. I guess we both got half price shoe shines, and nine turkish lyra (about $3). Lesson learned, and a small price to pay for a story to add to the blog.


Istanbul

“You want a fish!?” Said the night watchman with confusion. “No,” I said, “do you have a cork-screw?” doing my best imitation of screwing in a corkscrew and then pulling out the cork. “Ah! One moment” And off he went, out the front door and into the restaurant across the street. Moments later he was back with an excellent corkscrew, which I used to uncork the bottle we had purchased around the corner and then returned to him. After I got back to the room I could not contain my laughter any more. A fish? The fact that he borrowed the corkscrew from the restaurant, which was the very thing that Jane had suggested in the first place. An idea that I soundly rejected. Hi, I know that we didn’t eat dinner here or buy anything from you but would you mind terribly if I borrowed your corkscrew to open the bottle of wine I bought at the market around the corner? I just can’t imagine myself saything those words.

A glass of wine was a great way to cap off what had been a very full day of touring around the old city of Istanbul. Once known as Constantinople, it was the head of the Christian world. Then under the Ottoman empire it became a Muslim country. Today, Turkey is largly muslim, but the government is a secular government. We began with a tour of Topkapi Palace were we visited the treasury, and the Harem and saw the Sultans private rooms. We also visited the tulip gardens. It is an interesting fact that although Holland is usually celebrated for its tulips, the Dutch took them and transplated the tulips from Istanbul originally!

Tulips

In the hall of mirrors, I told students about recursion.

They did not care.

From the Palace we moved on to the Blue Mosque, one of the icons of Istanbul. There was a really long line to get in, but we made the best of it, while Ben ran into someone with nearly the same last name as him in line. He turned out to be from wisconsin, and has relatives in Decorah. Small world. The line was rather entertaining, as standing in line appears to be optional for many tourists here in Istanbul. However all of the guides team up to try and send the line jumpers to the end. It is interesting to see the reaction of the people who clearly know they are being jerks and getting called out for it. Once we got inside it was amazing. It is so hard to describe this space, like St. Peters in Rome it is just so large that you cannot hope to capture the scale of the whole thing.

Across a very large square from the Blue Mosque is Hagia Sofia. This was once the largest Christian church in the world. Of course it was later supplanted by St. Peters and others. The really interesting thing about Hagia Sofia is that it was converted to a Mosque. Check out the apse of the church in this next picture. Notice that the alcove is not centered. This is because even though the church was sited east to west, the axis was just eleven degrees off of the line to Mecca. Because Muslims do not allow for images in their mosques all of the mosaics were covered in whitewash and then painted over in more typical muslim designs. Except for the Seraphim. Look at the two images below:

Notice that the only difference here is that the face was painted over with a symetric diamond shape. Some of the mosaics that they have begun to uncover and restore are really stunning.

Hagia Sophia

Finally, we visited the cistern under the basilica. You may remember this from James Bond, “To Russia with Love.” It is just this giant underground place that used to provide water to the city. But now, it is just stunning:

The Cistern

After all of that we headed back to the hotel for a short rest before we took the students out for a group dinner. We were all plenty exhausted after such an interesting day. Tomorrow, the Grand Bazaar, the Spice Market, and Taksim square.


biking in london

Think you have done it all in London? The museums, the London Eye, the changing of the guard, the Thames, the list goes on. Here is a great way to spend a day, for almost no money. Rent a Barclay’s bike and head for the Regents Canal. This is exactly what we did and it was a fantastic way to enjoy London away from the traffic and the museums.

You’ll discover a whole different culture and way of life when you bike along the canal. There are hundreds of narrow small barges that people live on or work the canal on. We saw all walks of life that appeared to be barge owners, from the very wealthy to those who reminded us of the people in Veitnam who lived on their boats with no heat or running water.

The path is fairly narrow, so you have to be alert or you could get wet, which would definitely spoil an otherwise good day. Also you need to remember that pedestrians have the right of way, so just be polite, use your little bell, and don’t go too fast! We didn’t have any trouble, and we enjoyed all of the scenery and the side trips that are available from the canal path.

On day one we started from Angel, and followed the path toward the London Docklands. It was warm and scenic, and gave us a great taste of barge life on the canal. We wandered around the (free) docklands museum, hoping to learn a bit more about the canals, but were disappointed. The docklands museum is actually a very interesting history of London, so that was not disappointing, just that the museum didn’t have anything to say about the canal.

On day two we went the other way, and ended up having lunch in the rather bohemian Camden Market area. We also took a side trip around the zoo and the royal gardens to see some incredible villas that have been built right along the canal.

data-cycle-fx=scrollHorz data-cycle-auto-height=container data-cycle-caption="#london-canal-caption" data-cycle-caption-template="Slide {{slideNum}}: {{cycleTitle}}">

I love London. It is probably my favorite big city in the world. I think I have visited at least six times. So I have done the museums and most of the good tourist attractions. My top five would be:

  • The Transportation Museum in Covent Garden

  • The science museum in Kensington

  • The Imperial War Museum

  • Our visit to Parliament

  • Westminster Abbey

This was a really great alternative way to spend the better part of two days enjoying London culture from the perspective of a cyclist.

As a bonus part of this post, I do have to admit that I had never done the London Eye until this visit. It was definitely a fun way to get a view of the city. Jane and I both did a little bit of experimenting with time lapse videos on our iPhones. I wish I had brought my tripod so I could have captured the entire circle.



fa cup semifinal

The first words I read as my phone synced up email in the passport control line at Luton were “still no tickets.” The message went on to explain that the tickets were still supposed to be delivered by eleven PM by someone named Jamie who is running behind schedule.

Wembley Stadium

Getting tickets to the FA cup game is no easy trick. All of the tickets allocated to both clubs (Arsenal and Reading) were sold out to season ticket holders well in advance, so visitors like us are left trying to buy tickets online from third parties at crazy high prices. Yes, its crazy to pay over $300 to go to a soccer match. Yes, I paid it willingly! We did some research, so we think this is a reputable source of tickets but you have to put a certain amount of trust in strangers in order to get your tickets.

After the train ride into Farringdon station we walk over to the apartment we had rented through AirBnB, another exercise in trusting strangers, and are rewarded with exactly the fantastic two bedroom apartment we were promised. The owner met us at the door and showed us around. He had purchased us some breakfast items, and some fruit, and a nice bottle of wine. The apartment is on a Kings Mews street, which is nice and quiet so no problem with street noise either.

Jim and Josh arrived a few minutes later with Jim’s luggage. We got a two bedroom so we could share with Jim and so he would not have to spend the entire long weekend in Josh’s student housing. Which after seeing it, I am glad we did!

As 11:00 came and went, we still had no tickets. So we were preparing ourselves for the worst, which is really not too bad considering our apartment has a 56 inch big screen for the backup plan. We were all a bit nervous, but found some good entertainment value in the chat that Josh had been having with customer support at the ticket agency.

Cust Serv (23:35:25): How can I help you?

Cust Serv (23:35:29): hi

JMS (23:35:45): Hi Tina, we spoke earlier today about my order #XXXXXX. The tickets still haven’t arrived yet.

Cust Serv (23:37:07): I know - i have been told by Jamie that the tickets will arrive at your house by 11am in the morning as he have to do lots of deliveries and was promised by him they will be with you at 11 at latest

Cust Serv (23:37:16): please accept my deepest apologies

JMS (23:37:36): 11am? This is now the fourth promise made by your company to me in the past two days.

JMS (23:37:40): This is unacceptable.

JMS (23:46:05): Thanks for your assistance on that. I know it’s not your duty, and I am clearly angry, but I will not subject you to that anger.

Cust Serv (23:46:24): A refundable situation sir is where you did not get your goods as ordered and in time to watch the match

Cust Serv (23:46:39): but once again it is not my decision as you understand

JMS (23:46:56): I know that that’s a full refund, but I think the stress caused here warrants a special situation.

JMS (23:47:11): But yes, I won’t take it up with you! My mistake.

JMS (23:52:29): I don’t think so. I’m sorry you’ve had to deal with me today (and plenty others like me I’m sure!) during this busy day. I know you’re trying your best, but like I said earlier, my family flew in for this match and would ruin their holiday if this falls through.

Cust Serv (23:52:54): sir - I must say that you are one of the most kindest people I spoke to in this chat support ever!!!

JMS (23:53:17): Haha well I’m glad to hear that. I’m sure customer service can be very testing at times.

Cust Serv (23:53:40): you are very polite and kind despite being angry and dissapointed but you never had it on me at any point of our conversation and I thank you for that

JMS (23:54:26): Well I’m glad it has been a (relatively) positive experience. Hopefully I won’t have to chat anyone at your business tomorrow at 11:15! Good night.

Cust Serv (23:54:49): I hope that the only chat you will have tomorrow is to say that you have got the tickets as ordered sir

Cust Serv (23:55:03): good night sir- sweet dreams

Sweet dreams indeed! By 9:00 the next morning, we got the good news that we had tickets in hand. The problem was that they were not in the category we had paid for. They were not bad tickets! In fact they were really good. Row 8 on the first level, but they were in the corner so we would be looking at the field the long way. Since the website said tickets were fully refundable if you did not receive tickets in the category you paid for you were eligible for a full refund. So we got online and complained a bit. The first response was that we had been upgraded, and that these were actually better tickets than we had ordered for this game. LOL.

Shortly after this conversation we received a call saying that they had tickets for us in the area we had ordered. However these were way up in the nosebleed area, and we would be split two and two. about this same time we also noticed that two of our tickets had post-it notes attached with the note that they were Junior tickets. Hmmm, maybe we got the wrong tickets? Maybe they need to swap with us to get these to some guy and his two kids. Well, we reasoned, we don’t have to meet this guy and get the other tickets, possession is 90% of the law. So we began to think about breakfast. But before we all met up for breakfast, we got an email from Karen, who had been woken up at 3AM back in the US by a call from Thomas, who wanted us to call him on his mobile.

It turned out that Thomas also had tickets, but said they were “VIP tickets.” Karmic payback for being “one of the kindest people I spoke to in this chat support ever”? Maybe! Two of these new tickets included access to a table in the Bobby Moore hospitality area (free pre-game meal and drinks), and two of them were “merely” on the Wembly Gold (free budweiser at halftime) level. So, in less than 12 hours we had gone from zero tickets to tickets that were beyond anything we could have imagined. These tickets would be delivered to us by another delivery person, and then we were to meet Thomas near Wembly to return the four we originally had received. The new courier arrived at our apartment in a shiny white Range Rover, and delivered our packets of tickets. They all looked legit, and we all had great seats right on the halfway line! Now all we had to do was find Thomas and hand over the old tickets. Those young children might get to see the game with their dad yet.

As we made the walk from the Wembley tube station towards the stadium we had many opportunities to sell our four extras. We thought that we might even make a profit, but our honesty and the fact that we had VIP tickets in hand, put us in the mood to carry on to our meeting point and keep up our end of the bargain. It is interesting to think about the business model and operations of a third party ticket seller. They are selling the tickets to us at a significant markup, but the tickets have to come from somewhere. So they have to be able to forecast in advance how many tickets from each area they will probably have, and then they need to get those tickets from the original owners to the new buyers. Its no wonder a lot of the transactions come down to the wire.

Our tickets allowed us into the stadium well in advance of the game so we had plenty of time to soak up the atmosphere and check out all of our food, beverage and gift shop options. As we were standing in the gift shop I saw one young man in Reading blue from head to toe, with a big foam blue finger call out to his dad. His voice was shaking with excitement as his big blue finger pointed to a rack of merchandise. LIVERPOOL he said with longing. The dad just melted into the ground. I guess you can’t control who your kids will choose for their football team, even in England.

As a fan of the Men in Blazers show, I was very excited to see that meat pies were available everywhere in the stadium. Tom’s pies to be exact. So I enjoyed a very nice Guinness and roast beef pie as a pre-game meal. It is true, they are quite good. flakey crust, stringy tender roast beef and gravy on the inside, just like Sunday dinner back home. So, here is the obligatory food shot! You might also notice the betting sheet on the left side of the photo. You can bet on almost anything right there at the game. Final score, who will score, when will they score, who will score first, etc. It was too complicated for us so we left the betting up to others and saved our money for sausages and more food later.

beef pie

The game itself turned out to be good. It wasn’t Arsenal’s best performance of the year. But I blame that on Wenger for going away from the lineup that had us winning nine in a row. I would not have substituted Welbeck for Giroud, but I am not the manager. Nevertheless Alexis scored a great goal just before halftime and I was feeling good. A strong pep talk in the locker room and surely we would come out and seal the game with a couple more goals. It turned out that the opposite happened. Reading came out fired up and scored an equalizer, and we looked like we were playing “not to lose” which is our worst strategy. At the end of regulation it was Arsenal 1 - 1 Reading. OVERTIME! We were really getting our moneys worth out of these great seats. As long as we win in overtime and don’t go to penalties life is good Which is what happened. shortly before the end of the first extra period Alexis scored again. It was kind of a sad screw up for the Reading keeper, but a victory is a victory!

Corner Kick

On to the FA Cup Final!


homeward bound in 77 days

Somehow the midpoint of this journey escaped my notice. Its not surprising as it has been a busy and amazing two weeks, full of new cultures and new experiences. But, this morning we have time to just relax, watch the sea outside our room, and think about our experiences over the last three months. In total we will be gone for 179 days! That is a long time to be away from family and friends and the comforts of home. But the time has gone by quickly, and will only accelerate as we head towards the end.

I took a few minutes this morning to put together this map. The red pins show everywhere we have been since January 1, 2015 and the green pins show all the places we have yet to visit before we arrive back home on June 28th.

So, what do I take away from this journey so far? I would like to break it up into three themes:

  • The expanse of history

  • The variety of culture

  • The challenges of living away from home

History

I never would have guessed that a new understanding and appreciation for world history would have been one of my biggest takeaways from this experience, but it is certainly shaping up to be that way. A big reason for this has been the history course at the University of Malta, and seeing the evidence of history everywhere you turn. You go to Valletta and you can’t escape seeing the walls and the buildings left behind by the Knights of St. John’s. You visit other places and see the Megalithic temples or evidence of the Romans or Phonecians or the Ottoman Empire. But what is really cool is that now when we leave Malta I have a much better appreciation for the timescale and the artifacts left behind by these same people in other parts of the Mediterranean.

The scope of the Roman empire is simply amazing. As we were standing among the Roman ruins in Volubilis Morocco, we could just as easily have been standing in Ostia Antica in Italy. The frescos on the floor looked the same, the aqueducts and walls were identical to those we have seen in Italy, France, and Spain. Now we flew, on a jet, and drove in a fast car to all of these places. Its really hard to imagine how an empire like this managed when the way to travel was on horse, or foot, or camel. There was no internet to get word back to headquarters so its easy to imagine that important information would be lost or take many months to get from place to place.

In Malta, the arabic influence is clearly heard in the language, but not so much in the architecture. However now that we have traveled to Morocco and Spain it is interesting to see the influences of the Ottoman empire in both places. It is also interesting to see how all of the different empires recycled and reused materials from their predecessors. Mosques built from the stones of Christian churches and vice versa. Churches that still bear signs of a mosque built from stones taken from a prehistoric temple. I am really excited to visit Istanbul in a few weeks to see this city where Islaam and Christianity have coexisted for so many centuries.

I think that I have developed a better appreciation for the timescale of history. When we hear that at one time Malta was predominantly Muslim, but now Christian, or that the Berbers of Morocco were predominantly Jewish but are now Muslim you wonder how did that happen? Slowly. These are changes that took place over hundreds of years. Longer than the United States has been a country! Back home we might say, look at this old building, it has been around since 1849. That is barely a blip in the timescale of the history here in the Mediterranean. At the same time, I have developed a new appreciation for the importance of preserving our own historical artifacts for future generations to study and learn from.

Cultural Variety

Living on internet time, it is easy to think that everything and everyone has always changed as fast as it does today. But, it is easy to see that this is not true. In the pueblos blancos of Spain, the towns of Malta, and the villages of Vietnam and Cambodia, things don’t move so fast. People still fix their old televisions and home appliances rather than just toss them aside after five years. In the medinas of Morocco and the villages of the Mekong delta people still use every part of every animal and plant. Husks of rice kernels are used to fire the kilns for making bricks, every part of the cow or goat or camel is used for something.

I love to observe the old men in the different places that we visit. They are the same everywhere! If I was a better photographer I would ask their permission so that I could take their pictures and share them. On my walk to the University in Malta ther are three guys that sit on the sidewalk every morning, talking and arguing and solving the worlds problems. In Spain we saw them in the small towns, having coffee when we would stop for our own mid-morning break from cycling. Having a coffee, and talking, arguing, and solving the worlds problems. In Morocco they gather for their tea and they talk and they argue and they solve the worlds problems. They supervise local construction projects everywhere. It is the same in Decorah as well: at the Back Home bakery, or the Oneota country club, or happy hour at Rubaiyat. In Decorah, I know the names of most of the men, and am slowly beginning to join their ranks.

Morocco was my first experience in traveling in a predominantly Muslim country. Vietnam and Cambodia are predominantly Buddhist. Malta is strongly Christian. Of course there are big differences in all of these religions, but the main thing that strikes me is that the people who practice any of these religions have much more in common than you might think. Of course, as our Moroccan guide noted, there are crazy Christians and crazy Muslims and crazy Jews who cause trouble, but the non-crazy people want to live good, healthy, peaceful lives. People of all faiths love their children and their neighbors and want to make the world a better place.

Talking about religion, you can’t ignore Football (soccer). Soccer is another great unifier of people. If you are a soccer fan, you can find a friend almost anywhere. We have enjoyed watching the English Premier League in every country we have visited. Of course in Spain it was a bit more of a challenge as La Liga dominates here. But we have always been able to find a pub that carries the game. People everywhere know Arsenal and Manchester United. More importantly, they love to talk about their local team. I love to ask the waiters or the porters in the hotels if they are soccer fans and who they support. They are always a bit surprised to find an American that is an avid futball fan. Is soccer really growing in America? How did you become a fan? What will happen with the MLS? Are you happy that Steven Gerrard is joining the LA Galaxy? How many years will it be until the USA dominates in the world cup?

Living away from home

When we left home in January Jane and I talked about how this would be a great experiment. Would we be ready to be snowbirds? Would we miss our friends too much to leave Decorah for six months? What would it be like to make friends in a totally different culture? It turns out that this was a flawed experiment.

Although we have settled in to a flat in Malta its hard to compare this to what it would be like to have our own place in California or Arizona. Although the flat is perfectly livable it is not ours, it is not even something that we would choose if given the chance to look around. And, because we do not own the place and are only there for five months, we can’t really change it. No painting, no updating, so Nespresso coffee maker. So we live with what we have, which is very different from how we would do things if it were our own.

I am grateful for my own research work. It has been nice to have some time to really sit back and think about the direction my research and work on Runestone Interactive will need to take over the next few years. I have learned that I am far from ready to retire or give up the exciting work that I do on this project and with students at Luther.

The people we have met in Malta are very nice, but we have not made new friends. Building relationships takes time and investment, and it is hard for others to invest when our time in Malta is so short. It is hard for us to invest when our time is short. It makes us think about being more welcoming and open to new friends back home. It is easy to settle in to the same comfortable group of friends week after week. It is much harder to break out and invite new people into the circle. Mike and Shirley do a much better job of that than anyone!

So, we have settled in to a routine that largely centers around the students and ourselves. Occasionally we have gone out with another couple, but this is fairly rare. We have Skyped or Facetimed with our friends and family back home and have really enjoyed those times as much as anything. Technology is a wonderful way to connect. All of those Jetsons cartoons I watched where they used the video phone have come true. So, although we have always valued our friends, we have learned how important those friendships are on a much deeper level than we knew before.

Although we have traveled many thousands of miles, and logged many nights in hotels and restaurants, it is important to stop and realize that this journey has been an inward journey as well. I am thankful for the growth and learning that this experience has brought so far, and I eagerly await the new experiences yet to come. As we prepare to pack up and head to the airport this afternoon, I find that I cannot say we are going home. Home will come soon, we will be home when we are back in Decorah and with friends and family on

Bone Lake.


andalusia biking summary

I’m just going to put all of the images into a big slideshow for this post.

data-cycle-fx=scrollHorz data-cycle-auto-height=container data-cycle-caption="#adv-custom-caption" data-cycle-caption-template="Slide {{slideNum}}: {{cycleTitle}}">


  1. Malaga to Antequera: Tonight we stayed at the Convento Magadaleno after a very difficult ride through the Sierra del Torcal. 24 miles in the heat and a lot of climbing. We checked in to the convent, and then used the spa. Dinner was outside in one of the small hill towns close to the convent.

  2. El-Chorro to Ronda Through the Sierra de las Neives. We had seen El-Chorro from the train on the way to Malaga and were excited to bike here. It is beautiful. The afternoon climb was a bit much.

  3. Ronda - out and back to Grazalema – Jane stayed in Ronda to explore while I went out for the day. The ride to Grazalema was great, and the hill town was cool.

  4. Olive trees in Granada: Tonight we moved to the Barcelo La Bobadilla. A wonderful five star hotel, with great restaurants and a good spa.

  5. Lunch in Iznajar: We skipped the crazy hard climb to start out the day, and coasted downhill instead. However since all hill towns are at the top of hills we still had a climb to finish off our riding and get a well deserved lunch in this cool town.

  6. Resting in Malaga


biking in andalusia

After a week in Morocco, Jane and I are now biking in the Andalusia region of Spain. Whereas Morocco was a bit of a mental and cultural challenge the biking is definitely a physical challenge! On day one we covered 24 miles and climbed 4,400 feet. On day two 27 miles and 6,600 feet. That is definitely a PR for me in terms of climbing.

I’m sitting in the hotel room this morning with mixed emotions. Its quite windy and cool outside this morning and I’m thinking of all of the climbing ahead of me, and my legs are a bit on the worn out side. On the other hand, we have seen some great scenery, this is really beautiful country. Jane made her decision yesterday, she is getting a massage, she is going shopping, she is pretty smart.

Fast forward to 5:00 I am back from biking, my legs are tired another 24 miles, not so much elevation today, only 3,500 feet. But I don’t mind, my legs are tired. Did I already mention that? Today I rode with Flynn, he is a young Australian, and an avid rock climber as well as cyclist. On our way out to Grazelema for lunch, we stopped at a hiking trail with a nice overlook of an ancient dam. The dam is very interesting as it was built in the early 19th century by workers working round the clock eight hour shifts. However after the dam was finished they discovered that they had used the wrong kind of stone, and it leaked badly. They were never able to repair the dam and make it usable for generating electricity, and so it was abandoned without ever being used.

dam

At lunch we decided that exploring around the dam would be a good diversion. Especially if we could walk out on top of it! So we rode the van back to the hiking area and started our way down. We were rewarded with some pretty spectacular views. As usual, its the unplanned side-trips that turn out to be the most interesting.

To summarize the trip to date, we have had some great food and stayed at some wonderful hotels. Our first night was in an old convent - convento magdalena – in the Andalusian countryside. nestled in between the mountain peaks it was very secluded and a great place to start our rest and relaxation. The picture below shows the clouds spilling over the mountain. They would come across the top and fall down into the valley, then they would rise up again and disappear before our eyes.

clouds

Day 2 brought us to the town of Ronda where we are spending two nights at the hotel Reina Victoria. It is obviously a popular biking stop as groups from Trek and Backroads are also staying here. The hotel has a nice spa, and we have a fabulous view out the window of our room. The view is because we are at the edge of town and right on the edge of a cliff.

Ronda

Ronda is a fascinating little town. A medieval village with Phoenician, Roman, and Arab walls. The whole town is on top of a highly defensible outcropping of rock. You would have to go steeply uphill, or straight up a cliff from almost any direction in order to attack the town. Ronda is divided into the old part which has the traditional “pueblos blancos” and the new part. The two halves are joined by the “new bridge” built in the seventeenth century. It is quite a marvel of engineering for that day!

New Bridge


Lost in the Souks

Lost in the Souks

As I dropped Jane and Tricia off at the spa for their pedicure the young man at the door said with a grin, “I’ll give you 20 camels for your daughter!” Oh crap, I thought, not another session of haggling!

Not my daughter I said.

Oh, no problem, then 20 camels for her and 20 camels for you.

Great, I have nine more like her! I’ll be back later.

We shook hands laughing and parted ways. Such is the life in the Marrakech markets. For the record, I’m just kidding Angel, Jenna, Meredith, Meredith, Tricia, Rachel, Erika, Olivia, Katie and Emma! I would hold out for at least thirty camels a piece.

The women are worth 200 camels, I don’t know what I’ll do with theguys.

Joking aside, traveling with 10 “daughters.” did present a few challenges. Before we left, we had discussed with the students that Morocco has not come as far in the area of Women’s rights as the United States and many other european countries. This was hammered home for us as we drove into Marrakech and our guide told us breathlessly that in Marrakech we would see something new and very different... (long pause) Women on motor scooters!

Before we left we told our “daughters” that it was important to adopt a more conservative style of dress for this trip. Cover your shoulders, no tank-tops and no short-shorts we said. And they all followed this, although next time I would explicitly add running tights to my list of items to not wear. We heard a few mutters from our students as we saw female tourists from other countries in revealing outfits. Nevertheless, our daughters stuck out, the long blond hair, and blue eyes (and, unfortunately, the running tights) were a real attraction for many of the local young men.

We learned that sixteen year old boys are idiots no matter where you are in the world. One night a group of boys followed five of the daughters back from a restaurant. Although they said they were not in danger, it was definitely an uncomfortable situation for them to be ogled and followed down the narrow dark streets of the medina by this small group. Other times we all heard the whistles or moans and comments from men of all ages as the group walked by. When you walked in the back of the group it was painfully obvious to watch the heads turn and stare as the group went by. I’m hoping that some of them will write about this from their own perspective in their journals or blogs and that we can have further conversation about this back in Malta.

Today is our last day of traveling with the students for the Malta Easter break. Tomorrow we go our separate directions. The students to Amsterdam, Belgium, Germany, England, Greece and the Czek Republic. Jane and I to southern Spain.

It has been an amazing trip, Morocco is surprisingly beautiful at every turn. We have learned a lot about this country, its history, its culture and its people. The people are cheerful, and as you can see from the exchange above they have a great sense of humor.

Nowhere is that sense of humor more evident than in the Souks, the great marketplace of Marrakech. They say that you haven’t been to Marrakech if you haven’t gotten lost in the Souks. So, we did. There are thousands and thousands of small shops, all arranged in a twisty maze seemingly designed to draw you deeper and deeper so that you have to pass by even more shops to get out.

There are leather shops, wool and agave silk dyeing shops, wood shops, copper and silver shops, shops with tagines of all shapes and sizes. Nothing has a price on it of course, which is what makes the whole thing such an adventure. You have to be careful about even looking too hard at anything or the shop keeper will come up to you and draw you into the store, if you ask the price, you must be prepared for something beyond anything you are willing to pay.

We were offered “student prices,” “democratic prices,” “special price for friends from America prices,” and more. Its all part of the game. leather bags and purses that started out at over one thousand durhams could be had for 250 to 500, depending on their quality and the willingness of the bargainer to simply walk out of the shop and leave the poor shopkeeper looking sad.

We were coached:

I make you a price now you make me a price. What if I don’t want this? Its ok, we will still be friends. Now make me a price.

When Jane came back with an offer that was too low on a purse the shopkeeper was deeply hurt and began to put all of the stuffing back in the purse. “For that you can buy a camel purse.” A few moments later when one of our students volunteered her to come up 50 durham (about $5), the sale was cheerfully closed, and we were all friends again.

We had demonstrations of quality. Lighters held up to leather, “if this was camel leather it would burst into flames, but this is good cow leather.” fingers were licked and run across the died leather, to demonstrate that the color did not in fact come off when the leather got wet.

We had another seminar on spices and their medicinal properties of varous spices and aphrodesiac properties of various herbs. “Except for you,” she said to one of the young men in our group. “You don’t need this!” This time the seminar ended with extra large shopping baskets being passed out to everyone. Then she started over going through each item again with a chance to purchase. I have a nice package of Nigella seeds that will clear my nose and help my asthma. In addition to some nice Morrocan curry and Harissa.

Jane and I are now in the Marrakech airport. The students are safely on their way, and we have a little longer to wait before we can check in and make our way through security. From here we will travel to Seville then Malaga where we will meet our guides for our bike trip for the next few days.


A visit to the Kasbah

A visit to the Kasbah

Sometimes when you are travelling it is the unplanned things that can surprise you the most. At dinner last night we decided to stick around town this morning and visit the Ksar (fortified city). At breakfast, Mohammed, the owner of the Hotel Bagdhad Cafe was happy to line up a guide, also named Mohammed, for us at the last minute, giving him an unconditional recommendation as the best guide in town. As it turns out he may very well be. Mohammed is part of one of eight families that still live in Ksir Ait Ben Haddou, a very old city that is also featured in several movies including Jewel of the Nile and Gladiator.

The houses in the Ksar are made of big clay and straw bricks for the very practical reason that they keep the temperature down to a comfortable level even when the outside temperature reaches 49 degrees C. Remember to convert that to F you double it which is already a warm 98 degrees, but then add 32! The Ksar is built into the side of a steep hill, so as we went up from the lower part of the town to the upper the views became more spectacular.

At about the midway point of our climb our guide stopped outside his own house. “You are welcome here” he said. This is a phrase we have heard everywhere in Morocco from many different people. It is a phrase that our guide has said to us as we enter each new city we are stopping in. It is a phrase I’ve been thinking about all day. It has a much different feel than “welcome to Fez.” it is at once more personal, more authentic, and in a place where we wondered whether we really would be welcome it is is quite comforting.

We had a stop at a local artists studio where he was painting with indigo, Saffron, and “berber whiskey” the green mint tea that you get everywhere in Morocco. The interesting thing about the tea is that it is when you paint with it it acts like invisible ink. You can’t see it until you heat it up. So he paints the picture and it looks like there are pieces missing until he holds the picture over the flame and reveals the finished work. At only $5.00 a painting many in our group bought a picture to remember this part of the trip by.

Towards the end of the tour we came upon a mosque which is still in daily use. Right next to the mosque was a synagogue, no longer in use. The history of the Berber people is very old, and interesting. At one time the majority of the Berber’s were Jewish, then for a time the majority were Christian, but now they have been Muslim for a long time. We’ve heard a similar story about the Maltese, although they are now Christian. This change in religiion does not happen over night, of course, it happens over generations. The result for the Berbers is that they are peaceful, and very tolerant.

We want to get along with all people our guide told us. He went on, the problems in the world today are caused by three things: money, politics, and crazy people -- Crazy Jews, Crazy Muslims, and Crazy Christians. Most people are good and peaceful people, its a shame the crazy people have to ruin it. Thats a pretty succinct way of summing up the state of things in the world. It was also an echo to commnents made by a previous guide about “idiots in Iraq” destroying relics of their own ancient heritage. Clearly no one religion has cornered the market on crazy people. It seems that during our travels those we have met have gone out of their way to emphasize that most Muslims are peace loving people that don’t have any ill will towards us. I think its the same for me. I’m embarrassed by the crazy Christians as much as they are embarrassed by the crazy Mulsims. The more important question is what to do about the crazies?

In our travels this year we have encountered amazing people of all faiths, Buddhists in Vietnam, and Cambodia, Muslims in Morocco, and Christians in Rome and Malta. It is these people that have made the past months memorable. On this Easter weekend, it is a bit strange to be in a Muslim country knowing the Easter celebrations going on back home.

I wish all of our friends and neighbors far and wide Peace, and a blessed Easter.


A Night in the Desert

A Night in the Desert

image

“Camel noses!” came the answer from the back of our mini-bus. The question was “what is one memory or thought you would take away from yesterday?” Other thoughts about yesterday centered around the bookends of sunrise and sunset, changes in geography, the orange of the dunes against the blue sky, the beauty of the desert sunset, and the awesomeness of being present in the place and the moment.

Note: This is an expanded version of a post that I wrote for Luther’s Ideas and Creations blog.

image{width=“200px”}

So, where were we? We began our day watching the sunrise on the rooftop terrace of our Riad in the ancient city of Fez Morocco. From there we travelled through the Middle Atlas Mountains with stops for a snowball fight and monkey feeding. We descended from the mountains into the plains where we travelled through towns abandoned with the overland spice trade. Ultimately, the plains turn to desert with high plateaus. We experienced the wonder of coming around a bend and seeing a valley oasis, full of Date Palms. We ended our day about 35 kilometers from the Algerian border, at a desert camp site watching the sun set over the Moroccan desert. It was quite a day.

We arrived just after 6pm at the auberge where we met our guides for the night. We tied up our turbans and mounted our camels. This was a new experience for all but one of our group. As we rode out of the hotel area and into the dunes, each camel got a name. We also learned that camels are not the most comfortable beasts to ride. But it was fun, and a great shared learning experience for everyone.

Many of the students shared a sentiment along the lines of “Holy Crap! How did I get so lucky to be here on a sand dune in the middle of the desert?” If you haven’t experienced the quiet beauty of desert sand dunes you should add it to your bucket list. As one member of the group said, “it is just sand, but it is really beautiful.” For me, the word that has stuck in my head throughout our time here in Morocco has been authentic. The leather tanneries of Fez are not selling mass produced goods. The marketplace is a real working marketplace. The dunes are not arranged for our viewing pleasure. You will find no dune gardeners out there arranging things and picking up the trash. The wind and the sand take care of the cleaning. Last night’s footprints were erased by the breeze that came up early this morning.

Desert sunset

After enjoying the sunset at the top of one of the taller (160 feet) dunes, we came down to our little nomadic camp in the valley where our guides, four young men, served us tea. We talked with them a bit about how the recent attack in Tunisia has had very negative impact on tourism in Morocco. It is sad for them, as this is such a beautiful country, and we have felt safe and warmly welcomed almost everywhere. At length, tea was followed by a Moroccan meal. There was a rice salad with tuna and tomato, onion, peppers and oranges. followed by a tagine filled with potatoes, carrots, and beef. For desert, oranges and apples. After cleaning up a bit our guides returned with traditional African drums and played and sang for us.

Jane and I in the setting sun

There were no distractions from this group experience as we had no cell service and no WiFi. They sang some traditional Moroccan songs for us. All of them were Muslim, and at least two of them came from Berber backgrounds. There was a bit of dancing by Jenna and Angel, and drum lessons for a few. When they finished they asked us to sing for them. It was a little bit sad how hard we had to struggle to think of a song everyone knew. The nostalgic part of me thinks that could be because we need more nights of face to face entertainment, and fewer with WiFi. The other parts of me are happy to be writing this post on my iPad knowing I can upload it and all the pictures from almost anywhere else. In the end, Ethan, Ben, and I were the brave one’s and we gave our best rendition of the college hymn, “To Luther.” A bit later the appropriate beat inspired a rousing rendition of “We Will Rock You” with Ben taking the lead and showing a part of himself that I hadn’t seen yet.

image{width=“200px”}

This morning, when I got to the top of the dune to watch the sun rise, I found a water bottle left over from a previous group. The wind had blown the sand over and around the bottle leaving a very interesting pattern on the leeward side. A miniature example of the sand dunes and the desert as a whole. I don’t know what the last two days will mean for the students in the long run. I don’t even know how today’s experience will shape my own future. But I know it will, as each past travel adventure has left its mark. It strikes me that the bottle and the dunes are a great metaphor for study abroad and Lutheran higher education. We can lecture for hours, and give them days of homework, but it is these experiences that will shape our students in ways we cannot possibly imagine or plan.


Morocco -- Sensory and Cultural Overload

Morocco -- Sensory and Cultural Overload

As I sit here on the rooftop terrace of our Riad in the Medina of Fez, the sky is turing purple as the sun begins to set. The Minarets have just become active as the call to prayer begins from every direction. I’m trying my best to write down my thoughts now because I’m so overloaded after the day we have just had I want to record my reactions now rather than tomorrow.

Today we smelled and tasted 20 different spices in the spice market, tasted four different kinds of Moroccan flat bread, half a dozen different kinds of dates, more olives than I’ve eaten in my life, Chickpeas with cumin and chile, a dozen different kinds of honey, each with its own medicinal purpose, tea made of mint and absynthe, Fava bean soup, and beef cheeks and tongue. We visited a bakery that bakes everything from bread to stuffed spleen. In the words of one particular Gozotan guide, I must say this was the best marketplace tour ever. The market just seems to go on forever in every possible direction.

It was very interesting, and slightly uncomfortable in the places that we ate. These are very small stalls in the marketplace and in several cases the owner literally kicked out other customers to make room for our entire group. To help you imagine the size of the place I am writing about, imagine a king size bed. On three sides of the bed you have walls going to the ceiling, Leave about a foot between your imaginary walls and a table in the middle of the space. Now take 14 people and get them around the three sides. In every case one or more Moroccans were sent next door in order to make room for all of us to eat together. They didn’t seem to mind, as they seemed happy to observe us and to share their food and culture.

The streets are narrow, no cars are allowed in the Medina, but donkeys and handcarts are! We learned some new words Ballack! Get out of the way. That is especially important when the donkeys laden with gas tanks are coming by. Or when the garbage donkeys are hauling out the trash. Also: Yellah, follow me, Shukran, thank you.

Make way for the donkeys

The mass of people was quite overwhelming for me, shouldering my way through the crowds has never been high on my list. Navigating through streets that are sometimes barely wide enough for one person to walk on, brings it to a whole new level. But, the people here have welcomed us very warmly. They are eager to share their culture and city with us even though we blonde haired blue eyed Lutherans stand out like crazy amongst the many other colors of this melting pot city.

The smells also had a huge effect on me. From the pungent spices, to the citrus smells, to the produce (in all stages of freshness) to the various different meats being cooked and/or butchered. Every time you turn a corner you are subjected to / assaulted with a new smell. Perhaps the best of this was at the spice market. The proprietor gave us a 45 minute seminar on spices and all of their medicinal purposes. The highlight was when he had us all sniff black anise powder. WOW, in terms of a sinus clearing activity you just can’t beat it.

The spice man giving us a seminar on spices and their medicinalproperties

Morocco is primarily a Muslim country, although they pride themselves on being quite progressive and peaceful. One of the most profound moments of the day came as we were visiting a madrasa. Our guide, Achmed was telling us about the training they receive and the importance of incorporating science into their training. In addition to memorizing the Koran having a sound understanding of science is an important part of religious training. In a way, Morocco is the cradle of much of science. When Europe was in the dark ages, scientific studies flourished in Morocco. In a world where many in our own country are all too quick to call climate change a theory, or evolution a fiction, it is fascinating to hear what an integral part of religious training science is in Muslim world. This is especially interesting when those same people are all too quick to paint all Muslims with the same brush.

The group in the madrasa

During our tour, we all did our best to be good ambassadors for the United States, Luther College, and ourselves. This meant dressing a bit more conservatively than some would normally do. It means being polite and greeting strangers in the market with a smile. It means respecting people and not taking their picture without getting permission first. Its amazing how such simple things can pave the way to better relationships with the people you meet.


We're driving in our Car

We’re driving in our Car

One thing we never thought we would do in Malta was drive a car. From the way our neighbors fly down the road, to the fact that nobody uses turn signals (actually that is the same practice as back home) to the fact that it appears to be impossible to find a parking spot in our neighborhood it just didn’t seem worth the trouble. We can walk to almost everything we need, and with some patience take the bus almost anywhere else. However, when one of our students sprained her ankle and we discovered just how long it was going to take her to bus to school, we decided to give driving a shot. It was especially easy when we found out we could rent one for about $5.00 a day!

Our Chevy Spark. Not as big as a Volt. (or aVespa)

It is an experiment that has been modestly successful, but one that we’ll be glad to see the back side of in a week. Yes, it is nerve wracking, yes, parking is a pain, and yes, people just honk their horns for no good reason.

Really dude behind me? Don’t you think I would get out of your way if I could? But there are 20 cars stopped in front of me and nobody is going anywhere so just calm the heck down.

On the positive side the car has allowed us to enjoy the island in ways that would have required hours of painful bus riding, and that is what I would really like to highlight in this post.

Dingli Cliffs

Our first outing in the car was to the Dingli Cliffs. As spectacular as they are from the shore, we can’t wait for warmer weather so that we can experience the cliffs from the water side. You just don’t get the scale from pictures but these cliffs are 250 meters. Straight down.

The Dingli Cliffs. Yes, thats me.

We arrived in the morning, just after the rain had stopped. So although we knew we were in the right place we were well ahead of the rest of the tourists and hikers for the day. After a couple of long dead ends that led to some nice scenery, we hit the jackpot and were rewarded with some spectacular views.

After hiking the cliffs, we continued south to check out the Blue Grotto. Again, a bit of hiking away from the normal tourist crowd left us alone with plenty of time to just take in the sites. We had yet to actually find the Blue Grotto, but after we returned to the car, we were informed by the local captain that he was the parking lot guard for the day. He said this as he extended his hand with palm up, ready to accept a euro coin from us. We were not sure exactly what his duties were, but he told us where we should go to get a good view.

The Blue Grotto with the small island of Filfla in thebackground.

The little island in the picture is called Filfla and it looks like an aircraft carrier. So it was used for target practice by the British air force during world war II.

Golden Bay

Another weekend, and another short car trip. Remember that Malta is only 122 Square Miles. So we never have that far to drive. This time toward the Northwest side of the island where there are a series of bays, the most famous of which is called Golden Bay.

<iframe src="https://www.google.com/maps/embed?pb=!1m10!1m8!1m3!1d12922.867375123567!2d14.34252!3d35.9294303!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2s!4v1426599232753" width="600" height="450" frameborder="0" style="border:0"></iframe>

This bay actually called Ghajn Tuffieha, was the site of the incident with the sprained ankle. All I can say is that after seeing the place in person, I’m glad they called the ambulance. I can’t imagine trying to carry a person with a sprained ankle across the rocks, then the beach, then up all of those stairs!

The weather was great and the scenery was spectacular. We just walked slowly and took in all of the great sights. In the distance we could see the sheer cliffs of the southwest side of Gozo. The water is so unbelievably clear that you can see the bottom of this bay from the top of the cliffs. Its not terribly deep but at least 12 meters we are told. Now that is some visibility. It definitely motivates us to want to dust off our SCUBA diving skills again before we leave the island.

Marsaxlokk

This last Sunday we took a morning drive to Marsaxlokk (pron. Marsa-Schlock). This is a smallish fishing town at the very south of the island. On Sunday mornings they have a great farmers market with fresh produce and tons of fresh seafood. We ended up at a stall where the lady was nice enough to educate us a bit about finding fresh fish. I was pretty sure she was being truthful with us as there was a chef from a restaurant also at the table getting fish for his restaurant. Clear eyes, red gills. The clear eyes thing is a bit subjective, but the Sea Bass we bought was Amazing. After a couple of youtube videos on how to fillet the thing (thankfully our fishmonger gutted it for us) we had some nice fillets for Sunday lunch.

There is a nice looking fish market on the way home from the university that I will not hesitate to try in the near future. I think some nice King Prawns and risotto is on the way to our table soon.

Where we go from here with respect to the car is an unknown. It goes back next Monday, and I think Jane and I will both breathe a sigh of relief. Although once we get back from spring break we will not have too many weekends left on the island, I think we may take advantage of a one or two day rental to continue to get out of Sliema and enjoy the open spaces of Malta.


Go Go Gozo

Go Go Gozo

The first thing you notice when you get to the Cirkewwa ferry terminal is how close you are to Comino and Gozo. All this talk of using EU funds to build a bride, doesn’t seem that far fetched. One hop to Comino, another to Gozo. Nevertheless the short ferry ride gives you time to anticipate the day ahead. After weeks of cool and rain we had a fantastic weather day to visit the island.

I was trying out the GeoTag Photos app for the trip, that would use the gps in my iPhone to track our movement around the island. Later you upload the gps data and sync it with your photos. Since my camera doesn’t have a built in GPS, this works well for adding location data to your photos. It worked great, and you can even use the data you capture to build a map of your day.

image

We hired a van and a guide for this day because we wanted to cover a lot of ground. You can get everywhere on public buses but you end up spending half your day waiting around bus stops. It is also a law on Malta that at many of the outdoor attractions groups of 10 or more must be accompanied by a licensed guide. So, our guide, Joseph, met us at the ferry terminal on Gozo and we were off on our whirlwind tour. Now you may think that this was quite a marathon day but you have to know that Gozo is only 8.7 miles long and 4.5 miles wide.

Our first stop was Ramla bay, a red-sand beach and lots of green space. Yes, glorious, fabulous, wide open space free from limestone buildings and paved roads. Over the course of the day it became very clear to me that this is exactly what I have been missing, and I’m really coming to understand that although there are things I like about the city I am really a small town guy at heart.

After some time of watching the students cavorting on the beach we moved on to Calypso cave, where we had a great view of the underwater sea wall built by the Knights of St. John as part of the islands protection against the Turks. You can see the wall, closer to shore than you might think pretty clearly in the picture.

A great day out of the city! Enjoying the green and some niceweather.

From the bay we headed to the Megalithic temples at Ä gantija that date to Neolithic times. We had heard a lot about these temples in our History lecture and so it was great to visit and see these massive structures first hand. They truly are massive. There are some hints about how the giant slabs were moved around, in that they have hundreds of stone balls that have been discovered. The theory is that the balls were used like bearings and the slabs were rolled on top of the balls. Pretty clever for 5000BC if you ask me.

From the temples we made short stop at the salt flats in Marsalforn. It was only a five minute stop but is definitely on the list to return to. I managed to purchase a bag of sea salt from the guy who owns the salt flats, and so I should be set with some great salt for cooking the rest of our time here in Malta.

Next was a stop in Victoria for a quick slice of pizza as we walked to the Citadel. Today was really about great outdoor scenery, but I include one shot of the citadel. Bonus points to anyone who can spot the problem in this photo.

The highlight of the day was the Azure Window. This is nearly iconic place for Malta, and it certainly lives up to all expectations. What I wasn’t expecting was the awesome little boat ride from the inland sea to the Azure Window. You start out in this little bit of inland water, and the boat takes you through a tunnel out into the mediterranean sea, into a few caves and finally under the big arch that forms the window. It was so beautiful and I can’t wait to get back to Gozo again to visit this place. You could easily spend half a day hiking around and on top of the arch.

Our final stop, and another highlight is the town of Xlendi (pronounced shlendee). The first thing I said to our guide was that I felt like I had just driven into Cinque Terre, and he agreed. This is a beautiful blue bay, with lots of space for hiking and enjoying the outdoors.

Although there were a lot of places that needed more time, the trip was a real success in that we got a great taste of all the places we want to revisit.


I Want to be an Archeologist

I Want to be an Archeologist

I think I might want to be an archeologist when I grow up. In the last week we’ve had four lectures involving geology, geography, and archeology here in Malta. All of them have been fascinating along multiple dimensions. It has been such a positive part of our Malta experience that I wanted to write my thoughts down right away. To give you a clue where this ultimately rather long post is going let me tell you what I find so interesting up front.

  1. Observing some really good professors do their thing.
  2. Getting to be a student again.
  3. Learning how other fields do problem solving as good as CS.
  4. Understanding what the phrase “learning in place” is all about.

First, its been really fun for me as a professor to observe other professors doing their thing. I know that we are really privileged to be getting some of the best in their field to speak to us. But they are all really passionate about their topics and it is amazing to me how that passion comes through. I honestly walked out of today’s lecture with Professor Vella and said to Jane: “I want to be an archeologist when I grow up.” She may or may not have said that “I would never grow up,” so there was nothing to worry about. Then one of the students mentioned something about archeologists living in tents for long periods of time and that further tempered my enthusiasm.

Hypogeum Ħal Saflieni (Malta), the sanctuary chamber Holy of HoliesHypogeum Ħal Saflieni (Malta) built 6,000 years ago. ImageCC-by-SA

Second, its really nice to attend class as a student. I’m sitting in on our History course called “Malta and the Maltese -- A Historical and Cultural Review,” and of course I’m attending our Paideia II course on “Ethics and Current issues in Malta.” I have to evaluate the student for this one. Most of the content of the courses I’m attending, I know absolutely nothing about. But I can’t even tell you the number of times during our lectures that I’ve had that little tingle of excitement at the base of my neck. I feel like the poster child for “lifelong learning.”

Third, in my own myopic way, I assumed that computer science, and some of the other sciences had a monopoly on problem solving. It turns out that archeologists solve some pretty interesting problems too. And they use some of the same techniques as the computer scientists. Or maybe its the other way around. To be fair the closest I’ve come to an archeology class is Indiana Jones.

Of course problem solving starts with a problem or a question, such as: How do we know that the so called megalithic temples were really temples? Why is metal better than stone? What can we learn from contents of the cargo hold of the Ulu Burun? As our lecturer said, I have a colleague who knows everything there is to know about this pot, its chemical composition, every marking and scratch. Meh. Who used this pot? What did they use it for? Who did they use it with? These are the important questions. Now the chemical composition may be important in helping us answer those questions. But we cannot stop with that. In fact it was chemical analysis that showed that of the four sites where obsidian could have come to Malta only two of the sites matched the chemical fingerprints of the obsidian on Malta. Which tells us more about who the people were that were coming to the island at that time.

The Tarxien Temples are examples of Megalithic structures which areamong the oldest in the world.

In our history class we have heard much about the importance of Malta through the ages because of its location on the routes into and out of the Mediterranean. For the most part people have assumed that ancient sailors tacked their way through the Straight of Malta against the prevailing winds. It turns out that would not work well at all. In fact ancient square rigged sailboats could not even tack that way! So sailors probably made for Sicily, then south and around the island of Malta and maybe even further south around Lampadusa and then worked their way west. But you have to know a bit about sailing and ancient boat design in order to figure this out. I love how this incorporates techniques from lots of different branches of the academy.

Finally, The faculty of Luther College received an email from our assistant dean, Jeff Wilkerson, the other day inviting us to a discussion about “learning in-place.” I will have to respectfully decline, but I think that is exactly what we are doing here in Malta! There is something really compelling about our lectures when everything we are talking about is within about an hours drive on public transportation. We can learn some theory about the Megalithic Temples, and now I’m much more interested in taking the time to actually go see them. It feels like the entire island is our classroom.

Everyday on the news we hear about the migrant crisis in Malta and Italy. People from Syria and Somalia are fleeing their countries in fear of their lives. They are coming by the hundreds of thousands and overloading the ability of the Italian and Maltese governments to handle them. We have seen why this cannot be an easy decision for them, as many of the people who flee across the mediterranean in these boats die in the process. Three evenings a week, our students come face to face with people who have made this journey and survived. Most are the same age as our students. Only the young and strong can survive the journey.

Just think about that. How many of our Luther Students have truly had to risk their lives. How many of us in the Luther community even understand what it means to live under the threat of death? This is one part of living abroad that makes me very grateful for the security, relative safety, and freedom we have in our country.

Our students travel to the Hal Far detention center to work with the residents who want to learn english or to improve their english skills, so that they can leave the Hal Far center, find a job, and ultimately apply for citizenship somewhere in the EU.

A personal pet peeve of mine.

Here is one more example, that I find particularly interesting because it gets at one of my pet peeves about where we live in Malta. In a lecture on sustainability we were told that because of their colonial past the primary moral frame of reference for the Maltese is the family not the community. This is interesting, especially for those of us who think that community is a nearly sacred word on the Luther campus. But what does it mean to have a moral frame of reference centered around family? Do we see evidence that it is true? We are told that because the moral frame of reference is the family and not the community there is not a highly developed sense of citizenship or emphasis on “the greater good” here in Malta. We see this in the streets every day in the form of litter, and even worse dog poo casually left on the sidewalk by all sorts of people. People take very good care of their homes on the inside, but the public areas of the city are not treated with respect. One has to get used to looking up and down as you walk on the narrow sidewalks here. Down for the aforementioned reason, and up, because in many places there are drain pipes from overhanging decks that drain the water onto your head! We see further evidence of this idea as we hear about the myriad of government programs that are started, but never fully supported by the people, and therefore abandoned. On the flip side of this, the Maltese people are justifiably very proud of their country and its amazing history. We’ve been told more than once that most Maltese think their country is the best thing ever.

Of course, I’m still a newcomer here, and I’m not a social scientist, so I may be interpreting things all wrong. If I am, then I would be happy to have further conversation to understand better. For example, some of the issues in Sliema may simply be due to the large number of international people who are living here either on holiday, or as long term residents. I also know that I am generalizing, which is always dangerous. Just like any place I know there are Maltese who do not litter and care deeply for the environment, and work tirelessly to improve the island. I’m sure there are people who pick up after their dogs. Although I’m less sure about the latter than the former. There are lots of people who volunteer their time through NGOs. I’m sure it takes years to leave the laissez-faire attitude in the past. After all, Malta only gained independence in 1964, and statehood in 1974. After thousands of years of being conquered by almost everyone else, 50 years of self rule is hardly any time at all. I can imagine that after an entire history of being ruled by others, it would be easy to let external things slide and to focus inward.

I wish I could travel forward in time a thousand years to see what the archeologists of 4015 have to say about Malta in 2015. In the meantime, I know that I will enjoy the next three months and all that I will learn in that time.


Adventures of an Expat Cord Cutter

Adventures of an Expat Cord Cutter

Even thought I’m living abroad and traveling for an extended period there are a few entertaining parts of my life I’m not willing to leave behind. Watching Arsenal, keeping up with The Big Bang Theory, The Blacklist, Food Network, and a few others. How you do this is well covered territory. You can probably figure it out with several google searches, but it seems worth it to collect my own efforts into one cohesive post. Here are the problems to solve:

  1. How to stream TV shows that have geographic restrictions. Lots of content is available only inside the borders of the USA.
  2. How to get the content off of your small screen and onto a larger screen if you are lucky enough to have one.
  3. How to optimize your WiFi and streaming throughput in the midst of an urban WiFi jungle.

Warning. This is a geeky technical post. You can quit here and I won’t feel bad.

Streaming

There are lots of options for streaming from places like Hulu, Netflix, and even the big four major networks all have apps now that let you stream more or less of their content. When we left home, I had NBCSportsLive Extra, Netflix, HBO Go, DirectTV all installed on my iPad. I also have iTunes, and had downloaded a few movies that I had on my list to watch. In the United States this would be fine, but all of these apps (except iTunes) have geographic restrictions on them. So I also had to subscribe to a Virtual Private Network (VPN) service and configure that on my iPad.

VPN

If you are not familiar with a VPN you can think of it as a bit of software that messes around with your network configuration to make the rest of your computer and the rest of the world think that you are a part of some other network. This is often used in large organizations where you have content that you restrict to your own institutional network. Luther does this with some resources, like our network drives. Other services, such as O’Reilly’s Safari, may check to make sure that you are coming from a particular network before you are granted access to their own content because of a corporate licensing agreement. If you have a VPN connection back to your institutional network then it is just like you are in the office and not at home or halfway around the world.

Now the reason this is important for my entertainment is that there are many VPN services that exist partly for the purpose of making it look like you are connected to a network in the United States somewhere rather than a network in Vietnam or Malta. I signed up with Private Internet Access These services also have the side effect that your content is encrypted from the time it leaves your computer until it leaves the VPN provider, which many people look at as a significant privacy benefit. Using a VPN to trick NBC into thinking that I am in the united states might be considered a moral gray area, but I’m still paying my DirecTV, and Mediacom bill every month back home every month so I don’t have any problem going to sleep.

The VPN solution works pretty well, except for some content providers have figured out how to identify these VPN servers, and have made moves to block the connections from known VPN providers. I’m looking at you ABC.

This content blocking thing is interesting, especially from companies like ABC that force you to watch commercials as part of their streamed offering. Why wouldn’t they want more eyeballs on their commercials?

To the Big Screen

Once we got settled in our flat in Malta, I decided I wanted to upgrade the streaming experience by adding an AppleTV to the TV in our flat. With this setup, I can use Airplay to send the content from my iPad to the larger screen we had set up in our living area. Except that it doesn’t work. The AppleTV has no provision for joining a VPN. There are some ugly hacks that involve jailbreaking your AppleTV but I didn’t want to go there. I’d rather install more iPad apps for streaming FoodTV, Fox Sports, and several others that I’ve added to the list since we arrived.

Here is our Entertainment center in our flat in Sliema.

image

DNS

The Domain Name Service is at the heart of the Internet. If you haven’t been subjected to my days of DNS in Networking class, you can think of it like a phone book for the entire world. Of course its way more fun and complicated than that.

So what does DNS have to do with this particular problem? Well, when you want to contact a website or stream some video, you need to look up the address of the server that authenticates you, and checks to see that that address is in the right country. You find the address by contacting your friendly local DNS server. You normally don’t have to worry about this because your home router takes care of it. But, it is an easy thing to customize. It turns out that these video streaming services use one server for authentication, and a different server for video streaming.

With me so far? Now there are companies that provide DNS services to replace the DNS provided by your friendly neighborhood Internet Service Provider. For example Google runs DNS servers that you can use. They are really reliable, and of course keep track of all the addresses you look up to better inform their search algorithms I suppose. However, if google wasn’t trustworthy, you could ask them for the address of company X, and they could lie to you so you connected to company Y.

In order to avoid a full VPN, and to make it easier for helping iPads, iPhones, and AppleTVs get around the geographical restrictions there are some companies that are running their own DNS servers that will in fact lie to you about the server you connect to for the authentication part of setting up a video stream. This little setup is actually called a proxy. So when you ask for the address of the ABC authentication server you don’t connect to ABC you connect to one of the servers run by UnoTelly. UnoTelly sits between you and the authentication server and passes on your information. But since the UnoTelly server is in the United State, ABC thinks you are in the United States too. With the authentication taken care of UnoTelly gets out of the way and allows your AppleTV to connect directly to the streaming server. So far the UnoTelly servers remain blissfully below the radar of content providers everywhere. Yay technology. Also, DNS is very easy to customize even on your AppleTV.

This is a silly arms race between the VPN Providers, the DNS providers, and the content providers. Hopefully this will sort itself out in a saner fashion sometime soon. In the meantime its likely that every time the content providers find one way to block some clever software engineer will figure out a way around the block. It reminds of of disk copy protection software in my younger days. No matter what scheme a software company came up with to block copying, someone would figure out a way around it.

Optimizing your Streaming

Which brings us to our final problem. How to optimize your streaming in the WiFi jungle. The flat we live in is in a very densely populated area. My WiFi Scanner program shows between 15 and 20 different access points depending on the time of day and day of the week. With this many access points there is a lot of interference because everyone is trying to use a rather narrow band of the radio spectrum at the same time. Although WiFi is divided up into 11 different channels, there are really only 3 of the channels that don’t overlap and interfere with nearby channels.

So the best solution is actually to use wired internet if you can. luckily my AppleTV and my Router sit right next to each other, so its easy to plug in. Even when I am using Airplay from my iPad to send something to the AppleTV the stream ends up coming directly through the wire rather than over WiFi.

If you can’t plug in, then you might think that the thing to do is to choose a channel that isn’t being used by one of your neighbors. It turns out that most routers use channel 1 or 6 or 11 by default. So your first thought might be to use 2 or 5. But that will actually make the problem worse, because 1 and 2 will be unaware of each other and just make interference. The counter intuitive solution is to pick the same channel as your neighbor with the strongest signal. This way the normal Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) algorithm can actually do its work. Yep, CSMA/CA is another day of networking class, but now you can throw that around like your an expert the next time someone brings up WiFi.

So with all of this, we have a pretty good setup. I can catch up on shows on all of the major networks, I can stream English Premier League Football, and FA cup, and Champions league. I can watch FoodTV, and of course we can watch anything that is on the AppleTV. Just last night we finally got around to watching the Theory of Everything. Of course some times are better than others, and some providers are better than others. AppleTV is top notch all the time. I always get a good stream on anything I watch on any of the apps on the AppleTV. Sadly its the sports streaming FoxGo, and NBCSports Live Extra, that seem to fall down. I don’t know if they are not built out enough to handle the worldwide demand, or what the deal is. But there is a lot of season left, so I hope they keep on improving.

When I get back home I probably will not remain a cord cutter. Too much content still relies on me having my DirecTV password to show that I am paying for it. To often, I have to play technical support person in the middle of a show to restart the stream. But it does make me wonder about our lake house. Do we really need two DirecTV subscriptions, especially for the amount of time we spend watching TV there, and with our Fiber Optic connection just around the corner, the bandwidth we’ll have for streaming in the middle of Wisconsin lake country will be quite amazing.