Sony PS3 and Nigerian Millionaires

8 09 2009

So how do you get the  PS3 and Nigerian millionaire into a commercial?  Check out the video below.

This video has gotten a reaction from the Federal Government of Nigeria demanding an apology from Sony.  Others are calling the commercial, racist in nature and calling for a boycott of Sony products.  What about Sony electronics that people already own?  Should they throw them out?

Personally, I’m not offended by this at all and I think its being taken out of context.  I don’t see how its racist and I’ve experienced racism on multiple levels.

The FG of Nigeria has bigger fish to fry such as addressing the current state of kidnapping in Abia State.  IMO, responding to petty commercials like this, is just a waste of their time.





Reflective Perspective

8 09 2009

Check it out for your .Net programming daily digest – http://blog.cwa.me.uk/

Great stuff.





What Super Eagles?

7 09 2009

So it looks like the Super Eagles are going to miss out on the World Cup in South Africa after they couldn’t find a way to hold on to their (2-1) lead over Tunisia in the dying minutes of the match yesterday.  Twice, Tunisia, came back to equalize in a match that was essentially “do or die” for Nigeria.  Objectively, Tunisia could have easily won the match outright.

At the youth level, we recently dealt with the issue of overage players on the team and approximately 15 lads or so were sent home.

The state of football in Nigeria has probably never been lower since I started following it back in 1984.  The nation doesn’t have a football player that would be ranked in the top 10 in Africa and the senior team’s ranking of 34 seems like a sham to me.  The coaching staff at the senior team level acts incompetent and shows no creativity.

The most disappointing thing is that the average Nigerian thought that after missing WC 2006, the Nigerian Football Association (NFA) would have a solid plan that would allow Nigeria to at least be competent in the qualification process.  Unfortunately, this was not the case.  The organization seems to be worse than it was 4 years.

Not sure where we go from here.  I thought 4 years ago was the lowest we could have gone but this year just proved me wrong.  I’m not even sure I know how this situation can be resolved.





Buying Fish Concurrently

11 08 2009

Architectural patterns practically pop up everywhere and in places least expected.  An example of this is Starbucks does not use two-phase commit.  Recently at my local farmers market, I came across the need to leverage another one.

I typically purchase fruit, vegetables and fresh fish at my farmers market. The fruit and vegetables stalls are located right at the front of the market with the fish located at the back.  Purchasing fruit and vegetables is generally pretty straightforward as I just pick up what I want, it’s buying fresh fish that gets a lot more involving.

It starts off with  getting a ticket for getting in line to be attended too.  Once your number is called, you get to select the fish you want and the preparation method of choice. After you’ve selected your fish and preparation method, the fish is taken to a preparation station where it is cleaned and cut (if you so choose).  Once it has been cleaned based on your instructions, the fish is bagged and returned to you for pick up.

Because of the dependency involved in buying the fish (cleaning and cutting), fish buying general takes some time with lines of people waiting for their fish to be processed.  Even though it is managed in an asynchronous fashion i.e. you place your order and someone else is attended too, its still a time consuming operation and the average wait for fish is anywhere between 10 and 30 minutes depending on how many people came to buy fish.  This operation could probably be sped up by the Farmers Market dedicating more resources to cutting and cleaning fish, but it doesn’t look like that will happen anytime soon.  Besides, adding more resources is completely out of my control.

The fact that it takes 30 minutes to buy fish is not inherently bad.  It’s the fact that the fish stall happens to be at the back of the farmers market.  Let me explain what I mean here.  The average shopper (including myself) will pick up fruits and vegetables before buying fish simply because the fruit and vegetables are the first things the shopper will see.  However, picking up fruits and vegetables is not time consuming at all because the only dependency is the shopper i.e. I can move from fruit stall to fruit stall at my own pace with no external dependencies.  However, once I hit the fish section, I am now dependency of the fish order processing system.  It is guaranteed that my shopping time will take at least the time the “fish buying process” takes plus however long it took me to pick up my fruits and vegetables.

Now imagine for a moment that instead of instead of picking up my fruits before fish, I actually went and placed my order for fish and then came back and picked up my fruit and vegetables?  In essence, I would have two operations occur concurrently and the total time for shopping could theoretically be shaved in half.  While I would have to check in on my fish order (to make sure someone else didn’t take my fish!!), I would be assured that it was being processed and could do other shopping in the time my fish order was being processed.

This pattern can be used in the architecture of software systems by identifying activities of a business process that can be run in parallel or asynchronously without impacting each other.  This is particularly important when the processes in question are external systems but is still applicable even with internal systems.  With multi-core systems, this also allows system resources to be leveraged to their fullest capacity.

A little lesson from your friendly Farmers Market.





Nigerian 419 and the recession

10 08 2009

The Washington Post recently published an online article on how the hard economic times are impacting scammers in Nigeria and possibly making them more creative and ingenious.

Being from Nigeria and living in the US, I did find this article somewhat intriguing.  I still don’t quite understand how people (and sometimes corporations) are so easily duped.  It can’t just be greed or can it?  The classic, “I need your help transferring money…” is just so over the top.

My observation is that articles on internet fraud focus on the methods of the scam.  I haven’t seen any reports on the demographics of those being duped or any analysis on why such people are being duped.  Is there any information of this type out there?

Personally, I feel that there are a lot of handicapped people that are falling victims to these scams and these people need both help and education.  I know of at least one handicapped individual who had a “girlfriend” in Nigeria that he was sending money too almost daily.   He wouldn’t have stopped except for the fact that someone called his “girlfriend” and asked “him” to leave this individual alone.

I’d be interested to get other thoughts on this.





Adebayor Misgivings

16 07 2009

I love how Emmanuel Adebayor is having misgivings about his potential move to Manchester City.  It shows that sometimes “it’s not all about the money”.  From a financial perspective, this is a no-brainer.  He’ll be making more than double what he made at Arsenal.  But on the flip side, he’ll be playing for a less popular club with no track record of success and this will affect his popularity both in and out of Togo. Oddly enough, this transfer could be the beginning of the end of his career if not managed properly.

Unfortunately, there is no love lost between him and Gunner fans as most of us are tired of his antics over the last two summers.  It will be interesting to see how this plays out.





Refactoring Sans Automated Tests

16 07 2009

A good blog posting on the need for tests while refactoring.

IMO, automated tests are just a must.  Manual tests (except in really small applications) don’t provide the coverage needed to ensure that refactorings did not break existing functionality.





Ruby on Rails on Linux

5 07 2009

Being a Windows developer by day, it’s been interesting installing RoR on my Linux workstation.  Granted, it didn’t take a long time (and I love a good technical challenge) but launching a terminal and using a combination of “apt-get” and “wget” to download and install packages was very different from my usual experience of downloading an executable and simply clicking on it to install.  I could see how this be a turnoff to a diehard Windows developer.

Fortunately, there were a ton of resources on how to install RoR on Linux (Jaunty) that made things go pretty straightforward.  Now its off to working through a sample application – we’ll see how that goes.

If anyone knows of any good RoR resources, drop me a line.





Adebayor Goals

5 07 2009

via Arsenal Action.

I personally think he’s nowhere close to fulfilling his potential, but I doubt he’ll do it at Arsenal.  If he really wants to leave, they should let him go.





Enough Already!

2 07 2009

The post below is outdated because I actually forgot to publish it.  Maybe it has something to do with writing it in the wee hours of Sunday morning.  Anyway, the US subsequently lost to Brazil (3-2) in the worst way possible (if you ask me).  More to come on that.

The USA’s defeat of Spain (2-0) in football is being heralded by some as the greatest win even for US football.  All over blogsphere there is commentary on “what next”,  the uphill battle and Alexi Lalas is getting interviewed left and right.

Enough already!!

I concur that this was a good (maybe big) win for the US, but even a blind squirrel finds a nut sometimes.  In the game of football, there is always a chance that the “other” team can win.  Look at how South Africa was able to hold Brazil till the 88th minute of their game.  Does anyone really think that if the US played Spain 7 times, they’d win 2 games?  Let’s put some perspective to this.

Respect is earned.  How about the US consistently win some more big games? Dominate CONCACAF?  Win some U17, U20 tournaments?  Advance to the quarter-finals of a couple of World Cups?  The US will get all the respect it needs at that point.  Trust me.

Now don’t go lay an egg against Brazil today.  That would be completely humiliating!

In the span of 45 minutes, the  “respect” the US got from beating the Pharaoh’s of Egypt – a team that is dealing interesting news – and Spain, had been lost.  No elite team concedes 3 goals in the 2nd half when up by 2 at that level.  It just doesn’t happen.  The events of the 2nd half were even more unlikely than the US defeat of Spain (if you can believe that).

Anyway, progress for the country’s football program but how about we let some consistent results eventually speak for themselves?