Thursday, April 15, 2010

Treme-ndous

checked out Tremé (pronounced Tre-may) last night. The pilot episode clocks in at just under 1hr 20m, so set aside some time for it. As with all the best pilots, this does a good job of introducing the characters and some of their backstory.

Most people are trying to rebuild their lives, or make the best of what they have. Families have been torn apart, by deaths and by relocation to other cities. Some are returning to reclaim what was theirs and rebuild what was destroyed, some have new lives and never want to return. Some of those unaffected by the disaster are doing what they can to help, and of course there are always people taking advantage of their situation for their own gain.

The soundtrack, as you would expect from anything set around New Orleans, is jazz based, and most of the characters do have some musical connection. There's also an excellent cameo that I won't spoil.

Already this looks to continue the excellent work to date of the the creative team - The Wire, Generation Kill - and after just one episode, it's been picked up for a second series.

Monday, March 22, 2010

ROG VS Sex-toh

(well that's what they called him at Area22 on thursday night)
Probably should have written this before the Scotland game, but what the hell.
My own opinion was that O'Gara should have started against the Scots. Sexton's overall play was better in the Six Nations up to that point, but his kicking was poor against Wales, and he was criticised for it. Starting with the Munster player would have taken that pressure off Sexton. Then, if we got clear of the opposition, say by 10-15 points, introduce the Leinster player and let him get the confidence back. If he missed, then we were already enough clear that it wouldn't make a difference.
Unfortunately people are going to remember the game for the missed kicks more than anything else now.

Thursday, March 04, 2010

U21s VS Armenia

Losing 2-1 to ten men Armenia is beyond a joke. How Givens can continue to stay in charge with the excuse of preparing players for the senior team is beyond me.
Sheridan had the bulk of the Irish chances, but most were headers. I'd guess the plan was "he's taller than their defence, lump the ball in his general direction". Unfortunately, while taller than the players around him, he still doesn't have the strength to play as a solitary striker and lost out because of the numbers around him. A few times he chased balls out to the corners, but since he was the only striker, there was noone to play the ball to in the middle. Late in the second half he could have won a penalty when sandwiched by two defenders, but the ref indicated a corner.
The biggest problem, as it appeared to me anyway, was the shape of the side was completely wrong. We were playing a 4-5-1 moving to 4-3-3 when attacking. However, none of the midfield 3 were linking up with the defence (think Essien or Makelele) so the back 4 was being left completely isolated time and again. The two wingers, Scannell and Judge, were leaving their full backs with no option to pass to. A few times, Cian Hughton and Scannell did link up well, but Hughton had to come to the half way line with the ball to come within passing distance of Scannell, and this meant the space in the now empty full back slot was prime for exploitation by the opposition.
Armenia seemed to be playing 3-4-1-2 (again this is how it looked to me, I could be wrong) with the "1" floating back to midfield when defending, and linking up with the strikers when attacking. So our midfield was being crowded out when we were in possession, and the 4 man defence was facing three attacking players when defending. When we did make it to the final third of the pitch, their 4 midfielders were dropping back to help out defensively, limiting the passing options for the Irish players.
Ireland's best chance came from a snap shot from Garvan (captain on the night) after their keeper cleared a shot to the Ipswich midfielder. Shortly afterwards, Armenia took the lead. The goal came about with three of their players around our box. The centre half (think it was Newcastle's Callum Morris) didn't know whether to close down the player in possession, or block a pass to his teammates, so he kept backing off, allowing him more time and space to pick his shot. Redmond in goals was possibly unsighted for the shot, it was at the other end of the ground to me so I couldn't really tell. The second goal came from a direct free kick, despite having 4 players in the wall, the ball still found its way into the far corner of the net.
Ian Daly came on at half time, and this seemed to settle the side as the Irish did play some good football, but this had no end product. Terry Dixon made a welcome return to Irish football with about a half hour to go, according to a report on NewsTalk, West Ham ordered that he only play 30 minutes. While he did have some good touches with the ball at his feet, it's clear he still has some way to go to return to full fitness. He really did play at a walking pace and looks to be carrying some extra weight. There are reports that he will be moving to Colorado Rapids for a summer loan, and I really do hope he does well in the MLS. Armenia were reduced to 10 men with 15 minutes remaining, the referee showed a yellow for time wasting with a corner, and when he protested about the booking, the referee booked him again and sent him off. Even with 10 men, the Armenians still possessed a threat, and credit has to go to Redmond for keeping the scoreline at 2-0. The Irish goal came following a goal mouth scramble. Moving into the Armenian half, Dixon moved the ball in the corner, and crossed into the box. Substitute Daly finally shot home with the Armenian keeper on the deck following an earlier save.
Everton's Coleman had possibly the best chance to equalise when a loose ball in the box fell to him, however his shot cleared the far post. To be honest, it was the only decent play of the game by the full back, he looked off the pace most of the time, and his first touch deserted him. At one point he tried to kill the ball with his instep, only for it to rebound off his standing leg and out for a throw.
The one positive was the performance of Chelsea's Conor Clifford in midfield. Full of energy, running and tackling, he looks a definite talent.
Armenia weren't faster, more talented, or better disciplined than the Irish, they were just better organised to take advantage of their talents. Givens out.

Thursday, January 21, 2010

3D or not 3D?

With televisions delivering every increasing levels of definition, blu-ray players producing images of clarity to rival any big screen and home theatre kits becoming more affordable all the time, not to mention the illegal availability of films online before their official release, more and more people are watching movies in their comfort of their own homes.
To counter this, cinemas have had to resort to offers like monthly tickets, premium seating, and service in your seat to encourage film buffs through their doors. In short, a trip to the cinema has to offer something that cannot be as easily obtained within your own home, otherwise the trip is seen by many as unnecessary.
One of the more recent innovations that the studios have re-introduced is the concept of 3D. Tried and failed regularly throughout the last 50 years, technology has evolved from red and blue shaded glasses to polarised lenses giving a sense of true depth to the screen, as well as allowing objects to appear to be approaching you from the flat panel.
The drawback with this new gimmick (and that is all it is, a gimmick) is that it should be used as part of the story, not dicatating how the story itself evolves. The film should be developed enough to be told equally well in 3D as in traditional 2D, with the extra dimension only adding to the experience, not dicatating the storyline.
Following the success of Toy Story, and subsequent Pixar masterpieces, studios were tripping over themselves to release their own CG movies. The majority of these releases failed to realise that the true genius of Toy Story was the story itself, it could have as easily been told in live action, animated or with sock puppets and it would have been the same excellent story. Pixar and Disney Animation Chief Creative Officer John Lassiter has gone as far to state that CG is not a genre, it's another format for telling a story.
We can only hope that directors treat 3D as well as Pixar have treated CG.

Tuesday, January 19, 2010

To abort an ant build if a property is not set

The easiest way to abort an Ant - http://ant.apache.org/ - build if a user-defined property (e.g. password, filename, etc) is not set is to use the task with a condition element as follows

<fail message="@{propertyName} is not set">
<condition>
<not>
<isset property="@{propertyValue}" />
</not>
</condition>
</fail>

To test a range of properties, use this code snippet to create a macro:

<macrodef name="testProperty">
<attribute name="propertyName" />
<attribute name="propertyValue" />
<sequential>
<fail message="@{propertyName} is not set">
<condition>
<not>
<isset property="@{propertyValue}" />
</not>
</condition>
</fail>
</sequential>
</macrodef>

then simply call this macro with each value you want to test
<testProperty propertyName="property1" propertyValue="${property1}" />
<testProperty propertyName="property2" propertyValue="${property2}" />
<testProperty propertyName="property3" propertyValue="${property3}" />
<testProperty propertyName="property4" propertyValue="${property4}" />
<testProperty propertyName="property5" propertyValue="${property5}" />

Friday, January 08, 2010

2009 - A Year In Fitness

A record of the exercise I took in 2009
I finished the year on 94kg, losing 3kg over the year, but almost 2 inches off my waist. I'd hope to continue in this vein in 2010 and be below 88kg by the end of the year.
GymSwimmingFootballTag RugbyTotalWeight
January114301897
February106201897
March86201695
April86401897
May86401897
June76421996.8
July67442195
August56562294
September56331795
October22206
November53401295
December2520994
77633915194

Tuesday, January 05, 2010

Things that were true about me one year ago that are no longer true

I had never met a Karen I didn't like
I had never been to France, so I had never seen the Eiffel Tower or the Arc de Triomphe
I had never been an active participant in a wedding
I had a 36 inch waist
I had not played rugby since secondary school
I had never rented the same room for more than two years
I had never had an article published
I had never been to an Ireland away game
I had never been to a semi final and seen my team lose
I had never been to an Ireland - England game
I was using a Nokia 8800
I had never designed a pair of sneakers
I had never had my photo taken with a DJ
I was in my twenties
I never had birthday cake at my desk
I had never seen an original film in 3D (although I had seen one remade in 3D)
I had never met Vince Vaughn
I had never gone on a date with more than two women in the same year
I had never developed a web application in Java (although I had developed one in XQuery)
I had never been on the Eurostar
I had never seen a film before it had been completed
I had no Italian friends on facebook
I was not following any celebrities on twitter
I had never accessed twitter anyway except through the web interface
I had never seen the Kaiser Chiefs live
I had not done any charity work in over 2 years
I did not have a Google Wave account
I had never seen St Patrick's Athletic play live
I had never heard of Pawnee, Indiana or Veridian Dynamics
I had only seen rugby played at Thomond Park
I had never been to the National Concert Hall
I had never had my photo taken with the batmobile
I had never been to an AIL final

Tuesday, June 02, 2009

Following the recent call ups of Colin Doyle and Wayne Henderson to the Ireland squad, I examined the performance of each Irish goalkeeper in the English League and the SPL.
Below are the results.
It turns out that Doyle and Henderson conceded the least goals per game of any other Irish goalkeeper. However, this is offset by the fact that they only started 3 and 14 games respectively.

Home
Away
Total
Conceded
Player NameStartsConceded
StartsConceded
StartsConceded
Per Game
Colin Doyle00
32
32
0.67
Wayne Henderson73
710
1413
0.93
Paddy Kenny2422
2525
4947
0.96
Dean Brill1316
1210
2526
1.04
David Forde2928
2737
5665
1.16
Kieran Westwood2528
2432
4960
1.22
Joe Murphy2422
2844
5266
1.27
Barry Roche2528
2739
5267
1.29
Darren Randolph64
1017
1621
1.31
Robert Elliot1419
1218
2637
1.42
Shay Given2330
2439
4769
1.47
Dean Kiely23
23
46
1.5
Graham Stack35
34
69
1.5
Shane Supple35
34
69
1.5
Conrad Logan1727
1932
3659
1.64
Rene Gilmartin610
510
1120
1.82

Saturday, April 04, 2009

To record a Real Media stream to your computer

Download and install RealAlternative from http://www.codecguide.com/download_real.htm (this might not be necessary, but I have a pathological hatred of Real Player)
Download and install mPlayer from http://www.mplayerhq.hu/design7/dload.html (I used the MPlayer SVN Windows with SMPlayer GUI option)
Using your browser of choice, open the video. For this example, I'm going to use the RTE news report available at http://www.rte.ie/sport/soccer/2009/0403/1n_soccer1_av.html for the news report
When the video starts playing, hit Pause
Right click on the video and select "Play in Real Player"
This should open the report in Real Alternative
IMPORTANT - DO NOT CLOSE THE BROWSER
In Real Alternative, pause the video, and select File -> Save As and enter the filename you want to save to. Ensure the extension is ".txt"
IMPORTANT - DO NOT CLOSE THE REAL ALTERNATIVE WINDOW
This text file is not the video itself, it is an XML file with instructions for an application on how to open the video
Open the file in a text editor - I use TextPad, but NotePad is fine
In the text file, look for a link starting with "rtsp://"
Open a command line window and CD to the directory where you installed mPlayer.
If you used the one I listed above this is "C:\Program Files\SMPlayer\mplayer\"
enter the following command mplayer -noframedrop -dumpfile out.rm -dumpstream [link]
If you are using a proxy to connect to the internet, you will need to include proxy in the link. This changes the link URI to "http_proxy://[your proxy server[:[proxy port]/rtsp://....."
This saves the actual RealMedia file to the same directory as mplayer, named out.rm
When the download is complete, you can close the browser and Real Alternative
The rest of the instructions are not necessary, but I don't like working with RM files, so I converted the file to AVI
Download and install SUPER video converter from http://www.erightsoft.com/Superdc.html
Open the file in SUPER video converter
Use the tool to convert to AVI
In this case, the RM file is the entire news bulletin so I just clipped out the relevant section using AVI Splitter