I contributed to CPAN!

I spend a lot of time dealing with Perl at $WORK (as you can tell by the word “$WORK”). One of my projects is updating our legacy code, which mostly runs on Perl 5.8. When I tried running things under Perl 5.20, some unit tests broke because as of Perl 5.18, the return order of keys and values from hashes are randomized. The code was generating links, such as

Thanks to the randomization, the order of “foo” and “bar” is unknown. Which is good! But rather than rewriting all the unit tests, I decided to write a Test::Deep helper to handle unordered parameters for me. Thus Test::Deep::URI! Now that test can be written like

And just because, I added support for partial URI matching, so it’d also match uri(“/?foo=1&bar=2”) or uri(“//yarr.com/?bar=2&foo=1”).

It’s nothing major, but it feels good to give something back. Plus now I can use it at work, and that problem is solved. 😀

Posted in Code, General, Work | Comments Off on I contributed to CPAN!

Back in Vancouver

I’m back! I’ll write something more about my travels at some point, but in short: they were grand. I’ve resumed working for my previous employer, and aside from finding an apartment of my own, have gotten relatively settled.

YAARRRRR!!

Posted in General, Vancouver | Comments Off on Back in Vancouver

Eurotrip: Ireland

From Derry I went back into the Republic, specifically Galway. It’s a little funny; I’ve been near Galway twice, but never been … even though it’s consistently a place that people rave about.

After visiting, I kinda get it. It has the amenities of a bigger town like Dublin, but it’s still tiny and less harried. The city centre has some busy pedestrian streets, and it’s riddled with lovely old canals. The people were friendly and the music was good; it has basically everything people come to Ireland looking for.

Galway was also awesome because I have a friend who moved out there a few months back. It was really good to catch up. I’ll keep in touch!

Uh, stuff! I took a bus tour through Connemara. The highlights were Kylemore Abbey and the ruins Ross Errily Friary, but the whole thing was great. It’s a horrible landscape for farming and raising animals, but beautiful nevertheless. The driver also talked about the effects of the blight in the area. It was a good tour.

Otherwise, I wandered around Galway. Lots of coffee, lots of pictures. A reasonable amount of beer (I went to listen to some trad the first night). Lots and lots of tea, courtesy my host through airbnb (she was lovely). Good times!

Onto Portmagee! Meaning Bus Éireann from Galway to Limerick, then Killarney, then Cahersiveen, and finally a taxi (!!) to Portmagee, a tiny village on the Ring of Kerry. Why would I ever go to such a place?

The Skelligs, of course. Two little islands off the coast of Ireland. From Portmagee (and some other towns, admittedly) you can hire a boat to take you to Skellig Michael and visit the ruins of a sixth century monastery. Unfortunately, when I got there (Tuesday night, I think?) the people I talked to said that they hadn’t been able to visit the island for several days because the sea was too choppy.

I lucked out. 😀 The last boats made the crossing on Saturday; on Sunday, Monday, Tuesday it was closed; on Wednesday (the day I went) the boats were able to cross; on Thursday, it shut down again. The boat ride out lasted an hour and a half. It wasn’t too bad, but I couldn’t imagine what it must’ve been like for the original inhabitants and pilgrims rowing across the open waters. At the landing the boat bobbed up and down three or four feet, making getting on and off more fun than usual. The tour guide said we were the first boat since Star Wars had left the previous weekend, and that when the sea was choppy water would flood across the landing from both sides.

Anyway, the island in brief. Very craggy, with lots of exposed rock jutting out everywhere. There are two peaks, with a grassy “saddle” in between. The monastery is near the top of one peak, on some terraced land protected from the wind.

Here’s the thing: The place went virtually untouched after being abandoned in the 11th century. You can see what it was actually like. Most of the buildings and walls were built using drystone construction; that’s to say, they placed the rocks there without any mortar to hold things together. There’s no source of fresh water on the island, so they had to construct cisterns to catch the rain.

Definitely worth visiting.

After that, I hung out in Portmagee for another few days. There was a nice pub in town. I walked over the bridge to Valentia Island, and walked over and around Bray Head. I might’ve spent a day catching up with stuff I had to do on the computer.

Finally it was time to leave Ireland. I took the taxi-bus-bus combo back to Limerick, then one last express bus to Dublin. One of my friends hosted me (thanks, dude!); I had one last going away party.

Then I left.

Posted in Ireland, Travel | 2 Comments

Eurotrip: Northern Ireland

Alright, now for travel updates. The trip began with a journey from Dublin to Belfast by bus. It was a bit of a weird start to the trip, honestly; I think that was my fourth or fifth time visiting. I stayed at the Travelodge near Hotel Europa, wandered up to the botanical gardens, visited the Ulster Museum, and took a tour of city hall.

The next day I took the bus to Derry. It’s officially Londonderry, ever since London corporations invested in plantation and established the city in the early 1600s, but the settlement that was there before was known as “Derry”, or rather “Doire”. People there call it “Derry”; all signage referring to it in the Republic calls it “Derry”; in the North the signs all say “Londonderry”, with the “London” part frequently crossed out. Like a lot of things in the North, it’s complicated.

The big selling point of Derry as tourist destination, in my mind, is the city walls. As I said before, Londonderry was established in the 1600s as part of plantation, and they immediately went to work building strong city walls to protect it against invaders (or, to be more honest, the native Irish). The city was famously besieged by King James II in 1689, only to be rescued by the navy. It’s the only city in Ireland whose walls remain (almost entirely) intact. By virtue of never being successfully invaded, it’s called the Maiden City.

The other big draw is… The Troubles. Derry was the second most affected place, after Belfast. The Catholic Irish weren’t allowed to live in the city walls, and mostly settled on Bogside. (Originally the city was built on an island in the River Foyle. One side was marshy, and eventually they filled it in to become Bogside, whereas the old city is Cityside, and the other bank of the Foyle is Waterside.) Your usual stuff continued from there — gerrymandering to prevent the Catholic majority from gaining political power, preferential housing for Protestants, etc. In the 60s, inspired by the civil rights movement in the States, activist groups sprung in the Bogside campaigning for equal rights. Add in the IRA, the British Army, the Royal Ulster Constabulary, and boom. I took a Bogside walking tour with a guy whose father was killed during Bloody Sunday. There are your murals, monuments, all that fun stuff. I hit my limit in the Museum of Free Derry, which was fascinating and depressing and had this horrible audio loop from Bloody Sunday that started with marching chants and progressed to screams and it just kept going.

Anyway, Derry! Interesting place, well worth seeing.

Other stuff I did there (in brief):

  • The Tower Museum. It’s mostly the history of Derry, plus a wing about the Spanish Armada.
  • Went through the plantation exhibit at the Guildhall.
  • Had a cheap pint at Wetherspoons.
  • Explored St. Columb’s Cathedral.
  • Walked across the Peace Bridge, only to discover that the brewery on the other side was closed for a private event.
  • Was given a tour of the Freemasons’ Hall. I’m pretty sure one of the guys there was a Knight Templar.
  • Tried out a Oculus Rift headset at the BBC Culturefest tent.
Posted in Ireland, Travel | Comments Off on Eurotrip: Northern Ireland