BarryODonovan.com

The thoughts, ramblings and rants of Barry O'Donovan

Categories

My Links

Search Posts


Amazon Web Service’s ec2-bundle-image on Ubuntu

November 12th, 2007 by Barry O'Donovan

This is really a post for Google’s crawlers on getting AWS’s EC2 AMI tools working under Ubuntu (I’m currently on Gutsy 7.10). Despite any bitching I may do below, EC2 and S3 are cool services.

The first problem is that AWS only distribute the tools as an RPM (really guys? I mean FFS). Convert and install with alien.

# apt-get install alien
# alien -k ec2-ami-tools.noarch.rpm
# dpkg -i ec2-ami-tools_1.3-15283_all.deb

Make sure you also install libopenssl-ruby.

Set your Ruby path as the RPM places them where RedHat expects to find them:

# export RUBYLIB="/usr/lib/site_ruby"

Now when you run the utility, you’ll probably get:

$ ec2-bundle-image -r ... -i ... -k ... -c ... -u ...
sh: Syntax error: Bad substitution

Aparently Ubuntu switched from invoking bash to dash for sh somewhere along the line. Just relink it (temporarily or permanently as suits):

# rm /bin/sh
# ln -s /bin/bash /bin/sh

And you should be good to go.

One other issue I encountered was that the permissions of the directories were for root only (i.e. /usr/local/aes, /usr/lib/site_ruby/ and /etc/aes). A very sloppy chmod a+rX on each of these will resolve that. Although I suspect it’s more to do with the fact that I used rpm2cpio and cpio rather than alien the first time around.

Posted in Linux, OSS, Rants, Software | 1 Comment »

If architects had to work like programmers…

October 25th, 2007 by Barry O'Donovan

A friend sent me this link today. It’s too true to be funny:

http://www.pcuf.fi/~pjt/pink/software-architecture.html

Posted in Links, Rants | 1 Comment »

I’m voting Green. Here’s why…

May 22nd, 2007 by Barry O'Donovan

We’re just coming to the end of three weeks of a fascinating political election campaign here in Ireland. Fascinating that is if you’re a political anorak. The big election is on Thursday and the two main blocks seem to be neck and neck with a hung Dáil a possibility.

People have asked how I’m voting and the answer is Green. The reactions are often skeptical or surprise. “Green? They won’t win.” They won’t win? Of course they won’t bloody win! Heck, they don’t even have enough candidates to form a Government!

Don’t get me wrong, I’m no a sandle wearing hippy; I voted Fianna Fáil last time (but to be fair – there was no credible opposition at the time). I’m voting Green because:

  1. I want Green policies implemented by the next Government: the only way to make that happen is to ensure that enough Green deputies are returned to the Dáil to put them in a position to help form the next Government;
     
  2. I don’t want to sound clichéd but I want a change in Government. Whether it’s small social organisations, multi-national companies or Government departments, they all have a leader. In our case, it’s the Taoseich and the Ministers and Junior Ministers that form the Government cabinet.
     
    And just like any walk of life, when the same people steer the ship they become complacent, lethargic and (as we’re seeing more and more) arrogant. That complacency and lethargy seeps through the ranks all the way to the bottom. Waste, mis-management, bad processes and “sticking to the status quo” become common place.
     
    A change of Government will put new Ministers in place. They will be enthusiastic and hands on. They will question the status quo. They will make new demands with new energy and vigor. Yes – it may take them some time to learn their brief in full but it’s at that enthusiastic time that they will question and poke the mandarins and the accepted norm.
     
  3. I’m worried about our economic future. Fianna Fáil would like us to believe that they are the only party with the credentials to manage the economy. They forget to mention that it was a labour Minister for Finance that gave us the first budget surplus in the nineties. They remind us that they had nine surpluses in ten years – is a surplus not as much of a mis-management than a deficit?
     
    But it’s not the ability to deliver a realistic budget that worries me – it’s our deadly dependency on petroleum. Did you know that we are dependent on imported fossil fuels for 90% of our energy requirements? Did you know that the cost if a barrel of crude oil has doubled in the lifetime of this Government? Did you know that we, the Irish tax payer, will pay over €500 million for carbon credits between 2008 and 2012? We’re the fourth more dependent country in the world on fossil fuels and our economy couldn’t currently exist without them – a commodity that is volatile, ever-decreasing in availability and ever-increasing in cost – we need to get away from fossil fuels.
     
    Through a variety of measures, the Greens will help reduce our carbon footprint. By reducing our carbon footprint, we reduce our dependency on fossil fuels. These measures include: new building standards which include heat efficiency; promotion (not advertising but through policy and financing) of renewable energy sources; pay as you use tax on car fuel (see below); real investment in public transport both in Dublin and around the country; joined up thinking for urban planning and, most importantly, they have an understanding and enthusiasm for tackling this dependency.
     
    My only concern here is that I’m not doing them justice in the above paragraph. Read their manifesto and energy policy yourselves.
     
  4. I’m sick of stupid planning decisions with out thought or regard to schools, public transport and other essential facilities.
     
  5. The end of car tax and VRT with the introduction of a pay as you go tax on petrol. This doesn’t seem to have gotten the public debate it deserves but it sounds ingenious to me. Cars cost so much money – both with VRT at the beginning and with tax, maintenance and insurance annually – people feel they have to use them. By reducing the annual cost and taxing on a per-use basis people may start reconsidering the car for some short trips.
     
    You know, I was out walking last night (strolling – not canvassing; I’m not a member of any political party) and the numbers of houses trying to cram three or more cars into their driveways was starking. I was walking in Dublin 16 and 18; places where public transport should be effective but it simply isn’t for a lot of people. Many of these cars were impeding the footpaths and straggling already narrow roads. The owners of these cars are no doubt wasting their lives away sitting in traffic this morning. A lot of these owners are also the children of the home owners who cannot afford to get a home of their own. These are bad legacies of our current Government (they do have good legacies too; I’m not blinkered). Hopefully with the Green’s combined policies and a role in Government, this situation will help reverse itself.
     
  6. Here’s a great one from their manifesto: carry out a feasibility study into the State re-taking control of Eircom, divesting any commercial operation, and maintaining the fixed line network as an open access infrastructure to all operators. As someone who has worked in the telecommunications sector for an OLO (Other Licensed Operator), I see first hand the disastrous decision it was to sell off Eircom. Think about the assets and infrastructure – at a minimum you have a copper pair into every premise in Ireland that has been built up over more than a hundred years. And we now have a commercial organisation more interested in their profits that the countries badly needed broadband infrastructure for the growth of our “knowledge economy”. Green Party, I hope you find a way to CPO their asses!
     
    By the way – if any member of Government defends that decision remind them that they are now trying to do it the correct way with the ESB: sell off the retail arm but retain control of the infrastructure and assets. Once bitten, twice shy? Or have they simply learnt from their disastrous mistake.
     
  7. Just to finish up, there is one more policy that I think is long overdue: no more corporate donations to political parties. For a modern, honest and impartisan Government, this is a policy that is long overdue. I am a strong democratic. I believe in politics and I’m not apathetic or ignorant to the very very hard work that politicians do. I believe the political parties should be 100% funded by the public exchequer. Then they’ll really work for us free of outside influences.

By voting Green you will help ensure that have a mandate sufficient to put them in a coalition Government and the stronger the mandate they receive, the greater their negotiating position for their policies.

Voting Green doesn’t get you a Green Government, but it does get you some Green policy implemented in Government. If we can even get some of the above implemented, I believe we’ll all be better off.

Now, the obligitory party political broadcast. The theme is clear:



Posted in Politics, Rants | 2 Comments »

Make room PLEASE!

March 31st, 2007 by Barry O'Donovan

I had to get the Dart last Wednesday as I was going to the Irish match in Croker. It was rush hour and I experienced what I face the very odd time I get the Luas when I don’t cycle to the office: assholes clogging the door.

It seems to be an Irish mentality to congregate around the doors in case you get trapped. I’ve used public transport in New York for months a few years ago and believe me, they’d go through you for a shortcut if you were blocking the doors. I wouldn’t mind if the bloody Dart/Luas was full, but there’s plenty of room mid-carriage.

I was once on the Luas at rush hour (having squashed my way through these same assholes to centre-carriage) when a man tried to get on a couple of stops later. There was plenty of room around me but the area around the doors was wedged. He shouted for people to move into the carriage… no one moved. In fact, they made faces at each other to indicate that this guy was a nutter.

He was nothing of the sort. He was dead fucking right. Next time I’ll go through you assholes for a shortcut. Make room PLEASE!

Posted in Rants | No Comments »

Is It Anyone’s Business Whether or Not I Read Their E-mail?

May 9th, 2006 by Barry O'Donovan

I got an e-mail today from a third-party on behalf of a mutual customer. This person wanted to remind me that his e-mail to me the day before “was opened 22 mins 7 seconds after [he] sent it to [me]” and he was wondering if I had made any progress.

How did he know that? There was no message box advising me that the sender had requested a read receipt and asking if I wanted to send it. There was however a warning from my e-mail client (KMail) advising me that there were external references embedded in the HTML e-mail message. Like a fool, I disregarded this warning and clicked to display these references the first time around.

When I got his reminder I went back and examined the HTML content. At the end of the message was a link to an image on http://img.msgtag.com/. When this image is loaded, it notifies the sender that their mail has been opened along with the time elapsed from sending the mail to when it was eventually opened. MSGTAG is the company that provides this service in this instance.

I was annoyed about this. Damned annoyed. Someone e-mailing me had surreptitiously embedded an external image in an e-mail to for the express purpose of identifying when I opened his mail _without_ my permission and in violation of my privacy. It’s nobody’s damned business when or even if I have read their e-mails.

That information should be requested via the long established mechanism of requesting read receipts allowing the recipient to decide whether or not to notify the sender that their message has been read. In my case it’s not that hugh an issue – generally speaking I would not load external references. But what about the 90% or more of less informed users who would or whose clients wouldn’t even ask first?

With my somewhat limited knowledge of the Data Protection Act I am quite convinced that this is in breach of it. I’m not a lawyer and would love the opinion of one on this.

Posted in Rants | 7 Comments »

« Previous Entries