Archive for June, 2008
Lambda Expressions in C#
Posted by: | CommentsLambda Expressions are new to C# from .Net 3.0 onwards. Their syntax often confuses those who come across them for the first time. In this video I take a look at them in their simplest form and do a comparison between using Lambda expressions versus using inline anonymous functions. Lambda expressions borrow somewhat from functional programming syntax and even logic and that may be part of the confusion.
The Lambda operator is =>
It can be called, “becomes” or “goes to” or “such that”. There is some debate out there as to how we should refer to it but I guess you could use all the phrases I mention depending on the context of your expression statement. Lambda types can be explicit or implicit. Again type inference leads to strongly typed objects that support full intellisense and type-safe attributes.
| Author: | Kieran Stafford (2008) |
| Video: | Lambda Expressions in C# (.Net 3.0+) |
| Running time: | 8 minutes |
| File size: | 14MB |
| Download: | Here |
Using LINQ in .Net with Visual Studio 2008
Posted by: | CommentsIn this video, I explore some of the possibilities of Language Integrated Query or LINQ which is one of the most talked about features to be added to .net 3.0 +. I will go through two examples of using LINQ, I start off with using it to query data held in memory from a simple array of integers. I then go on to demonstrate a classic scenario of using LINQ to query data from a Sql Server database (the famous Northwind db in this case).
During the course of this video, I touch briefly upon Lambda expressions, another new concept to c# from .Net 3.0 onwards. Lambda expressions delve somewhat into functional or declarative programming and as such can be confusing to some. So with that in mind it is probably beneficial to do the next video on them. I will try to keep it succinct, simple and as obvious as I can. Stay tuned.
I hope to keep this forum going and add a new tutorial video fairly regularly so please visit often for updates. Again - I’d very much appreciate it if you would take the time to register as a member of this forum if you haven’t already done so and post some feedback on these videos. Where they good? bad? useful? accurate? helpful?, Can I do anything to improve them etc.
I have now fixed the bug whereby the intellisense popups were being omitted from the video. Also note that I have recorded this video at a screen resolution of 800×600 and then rendered the final wmv at the same size so the quality in this video is excellent. Try this video zoomed at 100% or even at full screen to get the best viewing experience.
| Author: | Kieran Stafford (2008) |
| Video: | Using LINQ (language integrated query) in .Net with Visual Studio 2008 |
| Running time: | 24 minutes |
| File size: | 25MB |
| Download: | Here |
Thanks to Ronan Geraghty from Microsoft for pointing out that LINQ is introduced in .NET 3.5 rather than .NET 3.0 so please forgive my mistake in the video.
C# 3.0 New language features in Visual Studio 2008
Posted by: | CommentsThis is the first in a series of videos that I intend to create to coincide with the up coming launch of Visual Studio 2008. In this video I will take an in depth look and explain the following as best I can.
- Auto properties
- Object Initializers
- Collection Initializers
- Extension methods
- The "var" keyword
I shall be adding more videos over the coming days to talk about some of the key new addons in VS2008 such as LINQ, Multi platform targeting, The IDE interface etc. I’d very much appreciate it if you would take the time to register as a member of this forum and post some feedback on these videos. Where they good? bad? useful? accurate? helpful?, Can I do anything to improve them etc. Try this video zoomed at 200% or even at full screen to get the best viewing experience.
| Author: | Kieran Stafford (2008) |
| Video: | New language features in VS 2008 (.Net 3.0 onwards)Download |
| Running time: | 16 minutes |
| File size: | 20MB |
| Download: | Here |
Site Deleted
Posted by: | CommentsI woke up on Friday morning and decided to do some much need housekeeping on the website. When I navigated to it, I got the old “directory listings not allowed” error. What ? Where is my site? So I fired up the admin facility in a browser and got a shock to see that the domain directory tree was completely empty. Everything has been deleted.
I have been on to hosting365, they are very slow to get back to me and are blaming hackers. This is unlikely in my opinion and either way, that kind of a security breech is surely their responsibility. So, for now, the website is gone – just like that. I have asked them if backups exist and await their reply. It does of course mean that our gallery is gone also which is a tragedy. It was becoming a large and important document of family history.
NFQ
Posted by: | CommentsI remember seeing a post on boards.ie a few years ago about the new National Framework of Qualifications awards table. The post included a great semi circular diagram outlining all the awards available under the new framework introduced 2002/2003. I had been looking for that diagram for ages and now I have found it again. Actually it was in a very obvious place (nfq.ie) but hey I been busy (that’s my story and I’m sticking to it).
Here it is. Talk about clear and concise.
(Click to make it bigger)
Of course
Posted by: | CommentsI have been so busy with the Imagine Cup and MSP duties this year that I now find myself having left college, at home and having missed several boats.
Firstly I seem to have missed the Microsoft graduate program for 2007/2008. Then I realise that I have nothing lined up in the way of further study. This is all stuff I should have been taking care of during march, April etc but alas I was so busy with the above mentioned that it all clean got clean away from me.
So I have been window shopping for M.Sc courses across the country. I conclude that taught rather than research is the way to go for me because I am unable to decide upon any particular area of research, I seem to be interested in too many areas and have too broad a view to suit research at this point in my life but that is likely to change as I continue on a path of study.
Surprisingly, there does not seem to be much going on in the way of course choice in any of the west of Ireland colleges / uni’s. Nothing much at UL, NUIG or UCC that appeals to me, so I have turned my attention back to Dublin. DCU have a course that really appeals to me. It’s called the European MSc in Business Informatics. See the course prospectus here.
The fact that it appeals to me is significant. At this stage it’s important to be studying stuff that you are interested in (life is hard enough without doing things that are boring or awful).
Some of the factors that attract me to this course are . .
- It’s getting more into the business angle of technology
- It’s holds Europe wide recognition
- It has a 4 month project to be carried out in another European country (wonderful)
- It’s available part-time so I could work to fund it
Now all I have to do is find an employer who is willing to let me work 2-3 days a week and maybe even give me a few quid towards this course. (dream on)
RTE – Wanderly Wagon
Posted by: | CommentsEugene Lambert and his family are famous puppeteers based in Monkstown, Co. Dublin. The Lambert family were making children’s puppet programmes for RTÉ from the early days – and so Eugene Lambert was a natural choice for RTÉ when they were planning a new children’s TV series in 1968. The original idea was for a children’s programme that would travel the country, so some in RTÉ management thought that a set of bicycles would be a good idea!
Thankfully someone in RTÉ came up with the idea of a magical wagon so the bicycle idea was never used. If the original concept was a show travelling around the country, then by 1970 (when I started watching Wanderly Wagon) this idea had vanished and instead the three travellers journeyed through a fantasy world rescuing princesses and generally doing good – almost like a non frightening version of Dr. Who!
Money was always scarce for Wanderly Wagon. Maureen Simpson, who is WW writer Carolyn Swift’s daughter says:
“I am not sure exactly when RTÉ wiped the tapes – mostly I think they did it fairly shortly after transmission for ‘economic reasons’. I know that programmes were made on the tightest budget – everything, down the last penny, had to be questioned- things like electronic edits and outside broadcast filming (i.e. not recorded in studio), were major triumphs when the money people agreed! I really remember Mum getting excited when they agreed to these tiny bits of modern technology – things we take for granted now.”
Wanderly Wagon made extensive use of Chroma Key technology during its run. Sets could then be drawn and the actors superimposed onto the drawing. Bill Goulding left the show in 1974, and to this day remains a respected actor and voice over artist. The handle of Rory still sticks though. Certainly to my generation he will always be Rory even though it’s been over 25 years since he wore that fringed jacket!
During the summer months when it seemed the whole of RTÉ shut down, Eugene Lambert and his family would tour the country with his puppet shows and usually he would appear as O’Brien and bring Judge along too.
Wanderly Wagon stayed on the air until 1982 – no mean feat since RTÉ always seem like to finish any series (except the Late Late) after about three years but this wasn’t the last we heard from the Lamberts. Fortycoats &Co., a spin off from Wanderly Wagon featuring the occasional character Johnny Fortycoats and his flying sweetshop, lasted until 1990.
A Wanderly Wagon DVD is finally available from RTÉ at their online shop here.
Here’s a RealVideo sample of the end titles of Wanderly Wagon and don’t forget to sing along!
(article courtesy of irish-tv.com)
RTE – Mo Cheol Thú (Ciarán MacMathúna)
Posted by: | Comments
Ciarán Mac Mathúna presented “Mo Cheol Thú” for the last time on 27 November 2005. This radio show had been going for 3 decades. As for the theme music - I remember this beautiful piece of music on Sunday mornings in Clonlisk. We would all be up and polishing our shoes getting ready to go to mass out at the monastery and this would come on RTE radio 1. The theme for Mo Cheol Thú is called “The Lark In The Clear Air”, a traditional Irish air which is performed by Geraldine O’Grady. Mo Cheol Thú has gone the way of the Gay Byrne Hour and The Frankie Byrne show (Jacobs hour), Harbour Hotel etc etc – It has been beaten by the ravages of time. The music will always bring me back to my childhood and those Sunday mornings in a kitchen in the early 1970’s.
Listen to a clip of his last show from 2005 here
See RTE page on this show here.

RTE – The Gay Byrne hour
Posted by: | Comments
Throughout my life, Gay Byrne was always there in some form or another. I remember the theme tune to his classic morning radio show. It reminds me of being sick and being kept off school and in bed. As a child it signalled comfort, it meant stay in bed, Mom is doing the house work and the radio is on to Ireland’s only radio station.
As an adult it meant that I was in good hands for the next couple of hours and that I would be entertained and interested.
And going right back to those childhood days of mine, here’s a clip of Gay presenting the radio show from 21 January 1977. That’s well over 30 years ago now. In 1977 we moved house around Easter time. I remember being around 10 or 11 and the year being pretty much dominated by that event and all the excitement and indeed upset that it brought. I remember exploring my new surrounds in the countryside, watching my sisters study for exams in the fields below our house and I seem to remember loads of sunshine. And in the mornings, if Dad wasn’t listening to Terry Wogan on a faint signal from across the water, this is what would have rang out in our house. Listen here
From RTE’s archive site – the following . . .
The hugely popular ‘Gay Byrne Show’ came to an end in December 1998. While presenting one of his last shows, Gay Byrne was surprised in studio by Mike Murphy who hosted a tribute from family, friends and colleagues in Studio One in the Radio Centre. Contributions came from musicians, celebrities and politicians, including from Taoiseach Bertie Ahern and the President, who all praised a unique broadcaster who had pioneered the concept of talk radio in Ireland.
The final programme of ‘The Gay Byrne Show’ was broadcast from outside Bewley’s Café on Grafton Street in Dublin’s city centre on Christmas Eve, 1998.
View an RTÉ News report on tribute to Gay Byrne here and listen to Mike Murphy interrupting Gay Byrne during his tribute show here.