Peru: Machu Picchu

In my blogging excitement, I somehow managed to write about the rainforest, areas around Cusco and Ollantaytambo and then go straight on to describe our train ride to Puno. In a rather major omission I seem to have missed out a post about visiting Machu Picchu. Since its one of the seven modern wonders of the world, its quite a serious oversight, which I will now fix.

Machu Picchu is a mountain-top city built by the Incas – the people who ran a large South American empire until the Spanish turned up and did it better (and more violently by the look of it). There are two things which immediately struck me as odd. Firstly, this city is very nice but its on the top of a mountain in the middle of a cloud forest … not exactly well-connected. Secondly, despite all the emphasis on heritage and that the whole thing was lost under forest for a few hundred years and then rediscovered – this isn’t actually an ancient site and is in fact only about 550 years old. Which is old, but to a European, not that old.

The day we visited was very wet so although I have approximately the usual selection of photos, some of them are quite eerie, with layers of cloud appearing at funny heights and giving an illusion of the whole city levitating in the mist.

Machu Picchu in the Clouds

Machu Picchu in the cloud

We got absolutely soaked on this trip, and since we’d stayed overnight in Ollantaytambo, quite a lot of our stuff got very wet as well. Happily this means I also have have the tourists-in-rainbow-coloured-ponchos photo again.

Rainbow Ponchos at Machu Picchu

Its an absolutely awe-inspiring sight (did you know “awful” at one time meant “full of awe”?), and although the site is quite large, we did brave the rain and explore pretty much all of it. We had a guided tour and then some free time afterwards and despite the inclement weather it was a stunning place to spend an afternoon. Also, we’re British – proper raincoats, sensible shoes, quick-dry trousers and a packed lunch are an essential part of our kit, even if its sunny in the morning!

There are a few more pictures in the flickr set for the day in Machu Picchu if you are interested, I tried but the photos really don’t do it justice.

Peru: Andean Explorer

I’ve already written about my time in Peru – in the rainforest and in and around Cusco. From Cusco we travelled to the city of Puno – by amazing train journey on the Andean Explorer. This trip is more expensive than flying I think but it was a fun experience in itself!

The trains themselves are first-class, 1920s style affairs with armchairs for seats and silver service.

Place Setting on the Train

The train was in a time warp, with organised events (live music, pisco sour distribution (at 10am!), and even a fashion show of wildly expensive knitwear), and silver service performed by synchronised teams of waiters who leaned to either side of the aisle in time with one another. The food was nice but the dancing servers reduced me to giggles every time they arrived.

The views were spectacular, as we left Cusco and travelled through the Andes and across the Altiplato – a large (HUGE, this was a 10 hour train journey) plateau between the two sides of the Andes – and along to Lake Titcaca. The whole trip is at altitude – like a normal landscape, but 3000 to 4000 metres above sea level!

Growing Corn Outside Cusco

Train Tracks

The train lines in Peru are kind of exciting in that they often run along streets and are completely unenclosed. There are animals, people, vehicles and who knows what else all along the tracks, its madness! In Juliaca (a place just outside Puno), there were lots of little stalls with bits of car parts and so on, seriously a different world. There are more photos in my flickr set for this part of the trip.

Peru: Cusco and Sacred Valley

I’m on holiday in Peru at the moment, and writing about the various places I’ve been – first stop was the rainforest and from there we went back to Puerto Maldonado and flew to Cusco. At 3300ish metres above sea level, this was my first experience of anything like this altitude. I had a nasty headache and the experience of the room moving as if I was drunk (which I wasn’t, before anyone makes any suggestions!). I was prewarned about the lack of oxygen – but still found it hard to slow down enough for my body to cope! This wasn’t at all helped by the location of our (very nice if basic) hotel – halfway up a road so steep there were steps in the pavements.

Steep Street

One thing I wasn’t warned about (and yes, its obvious, but didn’t occur to me in time) is that everything kind of explodes when it suddenly finds itself under so much less atmospheric pressure. My lip gloss was spectacularly pink, sticky and sparkly when I took the lid off and it all flowed straight out of its tube. Even more fun was my rollerball deodorant which popped the ball off across the bathroom floor when I took the lid off it :)

We had most of a free day in Cusco before heading off on our next trip, and then another day when we got back. Its a nice city, with plenty of shopping and restaurants around, and people were really helpful with questions about things like stamps. When we returned a few days later, we visited the Sun Temple and also fitted in some excellent shopping. I even commissioned a bespoke bag, from a man surrounded by bags, with a sewing machine and (I discovered) his suppliers’ stall was just across the aisle. I demanded colour and shape, paid about 6 GBP for it, and was able to pick it up in 2 hours – amazing service!

From Cusco, we went into the Sacred Valley, which is a very fertile and green place (this is rainy season). We’re so close to the equator here that its easy to forget that even the lowest points in this landscape are at dizzying altitude, everything grows just fine. Our trip took us via Corao and Pisaq markets (no photos of these, I think I was too busy shopping. I bought all the usual things like jumpers, scarves and presents – and 12 balls of shocking pink llama wool. From there we went up to Ollantaytambo.

Ollantaytambo is a nice little town, and also the name of an Inca site. We visited the site first, its very steep – and when we were there it was raining and I was very amused by the convoys of rainbow-coloured ponchos people had bought from the street sellers!

Ollantaytambo

Rainbow Ponchos at Ollantaytambo

While in Ollantaytambo, we stumbled over Hearts Cafe which is a great social project as well as an excellent cafe. We got a proper English afternoon tea (very welcome at 4pm after a long day) and also ordered packed lunches which we picked up the next morning for our trip to Machu Picchu.

More photos are in my flickr set for this trip – plenty more of these to come though so keep checking back.

Peru: Tambopata

I’m currently on holiday in Peru, including ten days organised touring in different parts of the country. I got back and discovered I had almost 900 photos which will take some time to process, so I thought I’d write a series of posts, rather than one monster one. The first stop on our trip was two nights in the rainforest up the Tambopata river, staying at Explorer’s Inn.

It was an early start for our flight to Puerto Maldonado, followed by three hours trip upstream by boat. I’ve never been anywhere like this before so it was pretty impressive. We saw Capybaras from the boat, and also got quite wet when it rained (we’re British, we just put on our raincoats and weren’t bothered).

Rainforest

The lodge itself was basic but fine. I’m a fussy eater and still had no trouble getting enough that was edible, which was great. We went out on the river again at night, and the following morning had another early start to walk to Lake Cococha. It was a 5k walk in wellies, through bits of jungle and swamp, not too hot on the way out but we walked both ways at a very fast pace so the walk itself wasn’t much fun. The lake, however, was breathtaking. I’m not much of a traveller so this is probably the most remote place I’ll visit in my life.

View from the Hide

Palm

While at the lodge, I noticed lots of little metal bottle tops had been nailed to the floor (if you’re not laughing yet, that’s fine, skip to the next paragraph) to stop the steps getting slippery. Here are the bottle tops, followed by what a blue and yellow macaw thought of having bottle tops nailed to the floor!

Little Metal Bottle Tops Nailed To The Floor

Macaw and Bottle Tops

More photos in my Tambopata set on flickr if you’re interested

Ubuntu Launching Apps

Since I started using Linux on the desktop, I’ve always used katapult to launch applications. However I have another machine that doesn’t have katapult and (since I don’t use a mouse) I’ve always used Alt+F2 to launch appilcations on there. Well, since installing Kubuntu Hardy Heron I notice it (it = KDE4 I think) has a funky new launcher thing that appears when you press Alt+F2:

As you start typing, it autocompletes and shows the icons of possible matches below – then you can click (or tab and arrow) to them, or keep typing until only the one you want remains. Very cute!

Granny’s Christmas Blanket

It was a long time coming but I finally finished the blanket I was making for my granny – and in time for Christmas as well (well, almost. The border didn’t get finished until Christmas Day but I didn’t see my folks til Boxing Day anyway!). She was suitably surprised and impressed, here she is with the blanket:

Granny and Blanket

Actually Grandpa looks more impressed in this photo … or maybe he was trying to hide until the blanket?

The pattern was rotationally symmetrical in terms of which pattern block went where, and the colours ran from purple in one corner to green diagonally opposite with pink and cream as accompaniments. I could have been braver with the colour placing, but, you live and learn. Here’s a photo of the blanket (without its border, I couldn’t photograph it with the border as there simply wasn’t enough floor space once Christmas hit), and a little closeup:

Blanket - Almost Done

Blanket - Closeup

The squares are all from the “200 Crochet Blocks” book – granny square, corner granny, shell lace and willow.

Speaking at php|tek

I’m delighted (and somewhat stunned) to announce that I’ll be speaking at php|tek in Chicago this May – you might also like to see the full timetable. This is one of the big events of the year and I was so desperate to attend that I gave the organisers a good choice of talks to choose from. The good news is, they accepted me. The slightly scary news is, I’ll be giving three sessions!

  • Practical SVN for PHP Developers – a half-day tutorial session I’ll be delivering jointly with Matthew Weier O’Phinney, Zend Framework’s Chief Architect, fellow subversion nut, and good friend
  • Linux-Fu for PHP Developers – tour of the command line tools I use
  • A Guide to Using and Understanding the Community – another joint session, this time with my colleague and friend Stefan Koopmanschap

If I survive that lot and the accompanying partying networking then I’ll be one happy girl. Wish me luck, and if you’re going – I’ll see you there :)

Published in php|architect

I’m very excited to be able to say that I was published in php|architect, in December’s issue. I had the /etc column, where I wrote a bit about phpwomen.org and what we’re up to these days. As I’ve wanted to write for them for ages, I was very chuffed to be asked and it was fun doing it :)

7 Things

It doesn’t seem like that long since the last time this happened, but apparently its been two years and the “tell us something new about yourself” meme has come around again. I was trying to ignore it but now I’ve been tagged by Matthew, Davey and Kathy I guess I can’t.

  1. People often mistake me for being younger than I am. This will be more fun when I’m older but right now I’m 28 and wishing people would take me seriously as a professional. (28!! Pay attention people)
  2. My family has a system called “Family Post” – if you want something transporting, you give it to someone who might see someone who might catch up with someone who has a family member in the same town as the person the item is intended for. Sometimes this system takes years but we can transport almost anything to anyone in the family, free of charge, including plants (and look after them on the way). There is no tracking system however, you just have to throw in your item and hope for the best
  3. My secondary education was at an all-girls grammar school (state-funded, examination entry). I even have a GCSE in Latin to go with it
  4. I have been dating the same man for over 8 years, which probably most people know. What I don’t usually mention is that when we met, he was already in a relationship and we’re now close friends with his then-girlfriend. In fact we’re just about to go to South America for 2 weeks to see her.
  5. I am terribly domesticated. I am a great cook and can feed varying numbers of people with relatively little stress or warning. I can knit and sew, so I can make clothes, soft furnishings, pretty much anything really. I am a competent gardner and an accomplished pianist.
  6. My boyfriend and I bought a 100+ year old house with 4 bedrooms over 4 floors which needed a lot of renovation. Its our first house and we’ve since discovered neither of us is great at or enjoys DIY. We’ll get through this experience but I wouldn’t recommend it
  7. I have no idea what I want to do when I grow up and I don’t have a 5 year plan. If I’d had a 5 year plan 5 years ago, I’d have had a much less interesting life so far.

Last time I did this I refused to tag anyone but this time I’m going to take the opportunity to introduce some of my blog readers to blogs I read myself.

EmmaJane – we have the same middle name and she’s also a geeky knitter
Girls Can’t What – Gretchen has a site full of brilliant female role models, and she’s an ace designer
dotjay – he tagged me last time, and he should blog more
Erik – a cool colleague who will be surprised by this tag
urbanwide – I joke that Deb is “the other girl developer in Leeds”! She’s a camera geek, ruby developer, and she helps me understand how “girl” goes with “geek”
Cally – the then-girlfriend in question
Mark Aitken – ex-colleague, mentor and friend

And now the rules:

  • Link your original tagger(s), and list these rules on your blog.
  • Share seven facts about yourself in the post – some random, some wierd.
  • Tag seven people at the end of your post by leaving their names and the links to their blogs.
  • Let them know they’ve been tagged by leaving a comment on their blogs and/or Twitter.

Book Review: RESTful PHP

I was recently contacted by the friendly people at Packt Publishing to ask if I’d like a copy of a new addition to their catalogue – RESTful PHP Web Services
, by Samisa Abeysinghe.

When I received and unpacked the book, it was a little lighter than I had expected, however REST really isn’t rocket science and can easily be covered in a tome this size. Overall it was well-written (with only as many spelling mistakes as any other PHP book) and clearly organised. The author begins by skating over why we don’t want to use SOAP, and shows his enthusiasm for REST as a replacement. However before the true elegance and concepts of REST are brought out and revered, we skip straight along and start to look at examples. Very few services that claim to be RESTful actually are, which makes writing anything along these lines very tricky, however I did feel the author could have been clearer about why having a single URL and a parameter for which action should be performed, doesn’t fit well. We do get a sense of excitement about services as ways to “glue together” bits of data on the net, and the possibilities of exposing and consuming information in this way.

Technical Content

Several frameworks are mentioned that can be used with REST, I’ve only heard of one (Zend Framework) – and this book works through a number of examples of working with Zend Framework to provide a REST service. The examples throughout are very thorough – starting with designing the service and getting the semantics of HTTP verbs sensibly applied. We are then taken through building the service using Zend Framework, creating a library class of functionality and then setting up the server to respond to incoming requests. For anyone using this book it is also worth checking for more up to date tutorials; Zend Framework has regular releases and some of the information in the book is already out of date – the dangers of the cutting edge!

Excess Baggage

On a personal level I’m not a big fan of frameworks; Zend Framework is a favourite but the use of it in this setting means that there is a large amount of the book dedicated to Zend Framework, the MVC pattern, and other things that aren’t really anything to do with REST. Call me old-fashioned but for me RESTful services need only HTTP and a data format of some kind, JSON or XML, and a good understanding of the grammar and structure of something that “smells” RESTful. In this book I got bogged down in the cookbook-style examples and lost sight of the bigger picture. The chapter summaries and best practice pointers though were great and I hope readers do take note of these.

Overview

If you need to build a RESTful service and you don’t mind Zend Framework, then this book will attempt to guide you through the process and explain plenty of useful stuff along the way. For a mid-level PHP programmer coming in to services for the first time, I consider this book a nice entry point. However if you were hoping to pick up the concepts behind RESTful services and look to apply them in your own work, then your $40 would be better spent on the RESTful Web Services from O’Reilly – you won’t be copying and pasting working PHP code, but you will come away with some great ideas.

Posted in php