Saturday, November 10, 2012

A late starter for Movember

Last year many of my colleagues at work took part in Movember and so I resolved that in 2012 I would join them. However, 1st of November came and went without anyone reminding me of my resolution (perhaps many are taking part, but their facial hair is not yet obvious).

This Friday, my daughter told me that she signed up for the Mo-Running event in the Phoenix park next weekend with a friend of hers and she persuaded me to join them. I think that the girls intend getting a moustache from a costume shop, but I though that I ought to take part fully.

While shaving yesterday, I left my top lip untouched. I don't think I will have much of a moustache by the race day next weekend, but I will continue growing until 8th of December to make up for the late start.

I don't know the logistics of how to donate money yet, but I created a profile on the Movember web site and once I find out the details I will share them via this blog. In addition I just turned on Google Ads on this web site and I will donate any money earned to the charity. I don't  want to violate the Google Ads guidelines, but if you want to donate a few cents to the charity the easiest way might be to click on one of the advertisements.

Thursday, November 8, 2012

Should Irish people get involved in the US presidential election

In theory Irish people should not care who is president of the United States of America. However, in reality the recent election was the single biggest topic of conversation in Ireland for the last few weeks. This is partly because USA is such a dominant world power, but also because for historical reasons most Irish people have many close relatives living in the USA. In fact many Irish people (including me) have a right to a postal vote as a result of holding American citizenship. So there are active groups campaigning in Ireland for such votes.

Half-Page Ad in Irish Times
publicizing the Paddy Power
early pay-out offer
In the lead up to election day, most professional opinion polls were predicting that the election was too tight to make a definitive prediction. However, on the day before polling, Irish based bookmaker Paddy Power announced that they were so confident that Obama was going to win that they were going to pay out immediately to anyone who had bet on him. This was effectively a very cheap publicity stunt becuase although they claimed it cost them over half a million euro, it ended up costing them nothing because Obama won and the would have had to pay out on all these bets anyway.

I know that the advertisement for this offer which featured the tag line "Sorry Romney - you're not black or cool" was intended to be very much tongue in cheek, but I must say that I found it quite offensive. It was intended to poke fun at Mitt Romney who is not very popular among the Irish public so maybe they felt safe, but the attached picture of president Obama is not very flattering so I suspect that they alienated many of his fans also.

There has been some debate in Irish newspapers recently about whether Ireland should offer some form of voting rights to the Irish Diaspora. This could be quite significant since there are many more Irish citizens (or at least people entitled to Irish citizenship) resident in United States than are resident on the island of Ireland. I wonder how Irish people would feel if a similar advertisement poking fun at Irish politicians was running in American newspapers.

[xpost] Who needs to be involved in running a successful "Show and Tell" event for a Hackday

[This article was originally posted to the IBM internal hackday blog, but it is not really IBM specific]

I find that one of the most enjoyable parts of any Hackday is the Show and Tell event  when the hackers get to quickly present a summary of their project. Typically these events involve about 20-30 projects being presented and since it is unreasonable to expect the audience to sit through more than 1-1.5 hours of talks it is necessary to impose a strict time limit on each presentation (typically 2-3 minutes each). When most people first hear about this event format they predict that this will become a chaotic mess. This is a real danger so it is important that the event is very tightly controlled and well planned.

We are currently planning the show and tell event for the Ireland Lab in conjunction with the recent Hackday X. The main organiser was asking how many volunteers he needed to recruit and so I thought it might be worthwhile to list the various roles which are needed to help run a sucessful show and tell event. Don't be scared by the length of the list, it is of course possible for one person to fulfil more than one role during the event, but it is good to clarify exactly what you are asking each person to do and if you are lucky enough to have enough volunteer helpers it is nice to have a job for everyone so that they feel useful.
  • Time Keeper: because of the tight schedule this is probably the most important role. We normally use a highly visible clock that can be seen by both the audience and the speaker so that there is no surprise when the time runs out. It is essential that no leeway is allowed because distilling a presentation down to 3 minutes is hard and if any speaker is allowed to over run the allocated time it is unfair to the other speakers whose speaking time will have to be cut even shorter (alternatively all of the speakers will assume that if the prevoous speaker was allowed to run over by a minute it is OK for them and the entire schedule goes out the window). We find that a referee's whistle or some form of a loud gong is a good way to remind speakers that their time has expired.
  • Master of Ceremonies: It is important to have someone speak at the start to tell the audience (and speakers) what to expect and they should also speak briefly at the end to tell people about the judging process (see below). The MC can also help the time keeper by subtly stepping forward as each three minute time slot expires to say "thank you x for your presentation and up next we have y" - it is a very brave speaker who will continue speaking over the MC.
  • Speakers: Naturally you can't have a good event without speakers, but it is important to check that you know exactly who is going to present (typically people might not want to present their project if they feel they didn't achieve anything to boast about) and in what order. Someone (either the MC or someone else) should make sure that they seek out the next speaker while the current presentation is bing given and get them to stand next to the podium. Since the allocated time is very short, a significant proportion of it can be wasted waiting for the speaker to walk from the back of the room.
  • Judge(s): Normally we give out some local prizes (even if these have only a token value e.g. a certificate). This means that you need at least one judge who is taking notes and scoring the presentations. If you have a judging panel of several judges, you need to clarify how they are going to interact. Typically it is a good idea to ensure that the judges turn up anout 15-20 minutes before the show and tell itself starts so that they can discuss judging logistics among themselves.
The above roles are needed for a single site show and tell. However, in the Ireland lab we have a number of different physical locations and so we like to hold a virtual show and tell so that we can have both presenters and audience taking part from wherever they are based. This is a good idea, but it does add some additional logicistcal challenges and so you need some more roles to be filled:
  • eMeeting Moderator: someone needs to run the eMeeting. In IBM we typically have a choice of eMeeting servers to use each with their strengths and weaknesses. Sometimes we choose to use an experimental version of the eMeeting service (this is Hackday after all), but if there is any doubt that the service will be working during the show and tell it is a good idea to have a backup plan in place just in case the primaty server is acting up.
  • eMeeting Observer: as I mentioned it is possible that the emeeting service will either fail completely or else be working sub-optimally (e.g. noticable delays in updating the screen in the eMeeting). Therefore it is a good idea to assign someone who is physically in the same location as the speakers to also join the eMeeting as a participant so that they can alert the speaker and/or the eMeeting moderator if there is any problem with the emeeting.
  • Recorder (optional): It is not ncessary to record the show and tell, but when you have gone to the effort of arranging the event it is a shame to lose it. Most eMeeting tools and/or teleconference services offer a recording service. The recording might need some post-processing, but you can often find that some of the hackers have a dream to get involved in the movie business and would love the chance to practice their skills

Monday, November 5, 2012

The new format for the Irish Times

The new and old format Irish Times
When I read about the proposed new format for the Irish Times I was worried that they mean that they were switching to become a tabloid.  However, the change in page size is so small that I wonder why they even bothered. The page is exactly the same height as before and less than an inch narrowed (the picture on the right shows today's Irish Times pictured in front of an edition from last week for comparison).

On the other hand, the changes they made to the way the articles are laid out on the page are quite substantial and look great so I must say I am reassured that my beloved newspaper has not been ruined.

The easy way to configure VNC service on your Linux server

While looking at the access statistics of this blog I noticed that one of the most popular posts is an article I wrote a while ago about how to configure the VNC service on your Linux server. While these instructions continue to work, both RedHat and SUSE have released updates in the meantime which make these instructions partly obsolete.

In REHEL6+ and SLES12+ the configuration screens that come with the operating system include an option to configure what they call remote desktop access. The way the VNC service is configured is slightly different on each Linux variant, but since the  configuration screens allow you to configure the VNC service with a simple point and click UI, you probably don't need to worry about the detail of what happens under the covers.

Of course the instructions I wrote still work so if you followed them and your server is working as desired, there is no need to change. However, it is probably easier and better to use the configuration screens built into the operating system if you have not yet started to configure it. Likewise, if are using an older version of RedHat/SUSE or are using a Linux variant which has not yet integrated VNC configuration into its utilities then feel free to continue using my script.

Friday, November 2, 2012

Have social networking services become one of the vital services which need to be maintained through natural disasters

Luckily I was nowhere near the path of the destructive storm Sandy. However, I have many relatives and work collagues who were in the danger zone so I was anxiously looking at various news sources to find out what was happening. One factor I noticed was that people seemed to update their social network straight away even when they didn't have many essential services such as elctric power, and heating.

I suppose that this is not surprising since social networks are a very efficient way of getting out the message to as many concerned relatives and friends. It is also a testament to the resilience of some of the infrastructure. Since the people involved didn't have electric power they typically sent the update via their smartphone - the cell phone network is inherently quite resilient since if individual cell towers are out of action your cell phone will automatically connect to any other available cell tower that is still working. In addition the social networking sites typically use a range of servers around the world with automatic fail-over when any individual data centre is off line. This meant that the service could be resilient even when an entire region is knocked off the network.

I think that authorities will have to consider social networks as a key part of their disaster recovery plans.

Thursday, October 25, 2012

My role in adding Sentiment Analysis capability to IBM's Smarter Cities offerings

Earlier this year I announced that I was changing jobs again to incubation team leader. In this role I am supposed to lead innovative projects to introduce experimental new features in our products. The nature of these innovations means that there is bound to be some risk of failure, but I am delighted to be able to say that the first project to develop a city sentiment dashboard was an even bigger success than expected. In order to ensure were meeting real customer needs, we developed it in conjunction with a large European City who gave us very specific requirements. The end result was so well received that this week the software was formally upgraded from a customised solution into a fully supported IBM product.

Our solution uses Cognos Consumer Insight (CCI) to analyse sentiment being expressed about the themes that the city is interested in. CCI provides really excellent analysis capabilities, but the user interface can be daunting for non-experts to use.  Hence, the software we developed pulls the key information into a single easy to understand dashboard that is part of the Intelligent Operations Centre (IOC). Our dashboard was released in the form of an update to the IOC. Customers will typically deploy this software as part of a Smarter Cities project. If you are interested you should get in touch with your IBM sales representative or if you don't have an existing relationship with IBM leave a comment here and I will arrange for someone to get in touch.

Since IOC has many features, the information about the new sentiment analysis feature is buried deep on the product page. The screenshot below shows the dashboard we developed. I deliberately blurred the text in the screenshot because I don't think that I am at liberty to reveal what city we were working with or what topics they wanted to track. However, I think you can get a feel for how we managed to squeeze all of the sentiment data onto a single easy to understand screen:
  • On the left there is a hierarchical list of the themes that the customer specified that they are interested in tracking sentiment about. For each theme there is a thumbs up or thumbs up icon to give a quick indication of whether we found more positive or negative expressions of sentiment about the theme in question.
  • If you click on a theme, we will display details about the sentiment we discovered for this theme. We have pie charts showing the overall distribution of sentiment observed as well as a more detailed breakdown of the sentiment for each type of site (e.g. we might have observed radically different sentiment in newspapers, blogs and twitter).
  • On the bottom we have a trend chart showing how the sentiment statistics varied over time and finally on the right hand side we show you a few samples of positive and negative snippets that we found. Clicking on these snippets will bring you directly to the original source of the sentiment so you can read the snippet in context.



It is amazing what can be achieved by a small agile team in 6 months. Hopefully we will be equally successful with our next projects (which have not yet been decided).

Thursday, October 4, 2012

Hackday X is coming and I registered my project

Time flies by and it is now just over a week until the IBM company wide Hackday that Ginni Romety announced earlier in the year. This morning I met with some of my colleagues in the IBM Dublin lab and decided on what we would be doing locally to promote participation in the Hackday and ensure it is a fun day for everyone.

Since this is an IBM internal event, I can't reveal too many details of the project on my public blog. However, I will say that it relates to my earlier post about using automation to make it easy to keep active on several social networks and it extends the idea by allowing information to flow through the company firewall.

I think that this project idea fits well with the theme of this Hackday which is transforming IBM into a more social business. Any reader who works in IBM will be able to read more about the project on the Hackday site and hopefully there will be a working prototype ready next week.

Sunday, September 23, 2012

Playing podcasts of music through a Bluetooth Headset on Android

I like to listen to many podcasts on my Android phone. When running or on my bike I tend to listen through headphones. However, it feels strange to plug in headphones while driving in my car. I bought a lead which allows me to connect my phone to the sound system in my car via a cable plugged into the headphone socket on my phone.

This arrangement worked reasonably well until recently when the cable connection started to get loose and crackly. Rather than buy a replacement cable I thought it should be easier to use the Bluetooth hands-free unit to connect  my phone to the car's sound system, but I searched in vain to find a system setting on my phone which would allow me to direct the Bluetooth connection.

After a bit of searching on Google, I found the BTmono application which adds this simple feature. This application is very simple, but effective. When the application is running audio which is normally directed to the headphones (e.g. music or podcasts) is instead sent to the connected Bluetooth device. This means that I can now listen to my podcasts in the car via the sound system or even use a Bluetooth   headset to entertain me while running.

I think this is a clear example of why the Android open model is better than the close system run by Apple for their iPhones. I am guessing that this application would probably not have been allowed into the Apple AppStore.

Friday, September 14, 2012

Is it safe to listen with headphones while cycling?

One of the hotly debated issues about cycling is whether or not it is safe to cycle while listening to something through headphones. I can certainly understand the view that it is important to be able to hear what is happening around you as you cycle. I personally like to use the time I spend on my bike to catch up on podcast episodes and/or music. However, I would like to do so safely.

I tried using the Around Sound application which is a cool application fro Android devices which measures the ambient sound and automatically pauses your music/podcast whenever the ambient noise exceeds a threshold. The intended use of this application is when you might be listening to music while working in a quiet office environment, but when your colleague comes up behind and asks you a question you would like your music player to temporarily pause to allow you to hear him/her. However, I found that I could not find a suitable volume threshold setting that worked well while cycling. Instead I use a low-tech solution of only attaching one of the earphones while leaving the other ear free for listening to traffic. In order to protect my ears from any potential long-term damage from earphone use I constantly switch ears.

Research shows that the biggest factor in determining the risk of using a mobile phone while driving is the content of the conversation. Apparently you are at much less risk of crashing while having an idle gossip with the phone held to your ear than if you were conducting a stressful interview through a hands free device. Using a similar logic I choose to make sure I am not overly concerned if I actually hear all of the items I listen to while cycling (e.g. I listen to a general chat about the news of the day rather than trying to take an on-line course which would require me to pay close attention - therefore if the traffic situation requires my close concentration, I am not worried about missing part of what is said on  the podcast.