Yes. I Bought an iPhone.

Yes. I Bought an iPhone.So everyone will stop being shocked when they hear about it, yes, I bought an iPhone. And it’s brilliant.

It is sort of like the genius friend we all have. The one who also happens to be a super-model. And just like the beautiful intelligent friend, occasionally it crashes hard when over-burdened. But I still love it. Now, everyone, stop asking to hold it every time I take it out to check the time. My genius-super-model-phone is taken.

Portraits of Portugal: Journeys through Lisbon, Coimbra and Porto

Portraits of Portugal: Journeys through Lisbon, Coimbra and Porto

Perhaps it was the promise of old-world European elegance, with mysteriously hidden side-streets and quaint restaurants, or the chance to utilize my meager Brazilian Portuguese. Whatever the reason, Portugal became my second foray into Europe thus far. Between its great food, wonderfully unique scenery, storied history and quick public transport network, this gem on the Iberian peninsula did not disappoint.

Read more

Portugal Travel Log: Part 1, Lisbon and Coimbra

Generally I travel on short notice and with little planning. For me, aimlessly wandering secreted urban streets and directionless forest paths is the true appeal of travel. Metered hours in an unknown landscape leaves little time for the majesty of the unexpected. It was in this spirit that I set out for Portugal, with dreams of old-world charms ripe for exploration. Visiting the hub of new world discovery as one of my first European forays added to the appeal.

Elegant residences line the streets around the Baixa Pombalina (or Pombaline Lower Town), rebuilt following the devastating 1755 earthquakeElegant residences line the streets around the Baixa Pombalina (or Pombaline Lower Town), rebuilt following the devastating 1755 earthquake

My itinerary was, perhaps, rather ambitious: three cities, one of them the metropolis of Lisbon, in a scant five days. Alas, the timing was beyond my control, so smooth traveling was subject to capricious winds of fate. Fortunately, Portugal boasts something all too lacking from my past travels: a first-world transportation system. While not France’s TGV or Japan’s Shinkansen lines, Portugal’s aptly named Comboios de Portugal (Portuguese Trains) is an easy, if leisurely, way to traverse the country without risking life and limb on the nation’s precarious roadways.

Read more

CSS drop-down menus: how to keep the top level selected when hovering over a sub-menu

Pure CSS-based drop-down menus are a great thing, if for no other reason than their sheer simplicity and flexibility. However, they have two main drawbacks.

  1. They don’t work in Internet Explorer 6 due to the browser’s poor support for the :hover pseudo-class.
  2. When the mouse cursor is over a drop-down, the top level navigation item does not stay highlighted under most conditions.

Fortunately, both problems can be solved with some simple JavaScript. The first problem is easily corrected with the excellent Son of SuckerFish drop-down code. The second problem can be solved using the equally small amount of code described below.

Read more