Welcome

This website is a mish mash of stuff that goes on in my life. I write it primarily for myself as a way of documenting and learning. If others benefit from it in any way that's great. View the categories to see the kind of areas I'm interested in and by all means contact me, I love hearing from people.

Recent Tweets (still don't get it)

Archive for July, 2008

Jul
27

On board the Solitaire

Posted by: admin | Comments (6)

Img_4920This past week was interesting. I had a visit from an ex girlfriend – Nadine. We used to go out when we both lived in London. Aint seen her in 19 years would you believe.  All of a sudden she’s in Ireland and I spend a few days showing her and her friend Susanna around the west of Ireland.

On Tuesday we arrived in Killybegs where my sister Eimear had arranged for us to get a trip out to see the the pipe laying ship “Solitaire”. Solitaire is currently sitting about 5 miles out from Killybegs harbour on the south side of St Johns point so the journey out in the pilot boat takes about 45 minutes. Solitaire is here in Irish waters to take on the job of laying the pipeline for the Corrib gas field off Mayo. She is in Killybegs in order to collect the actual pipes.

The Solitaire is big, let me say that again, this boat is big! You can see it from most places in the general Donegal bay area. As you round the tip of Johns point in a pilot boat you get your first glimpse of her as a complete picture and then – wow! It’s f’n huge dude!  I am told by the experts that she can lay 6 to 9 kilometres of pipe in any 24 hour period. The process is automated from the welding of pipe segments to x-raying the joints.

 

Img_4903 On the pilot boat out of Killybegs to see the pipe laying ship – Solitaire.  Tuesday – 22nd July 2008
Img_4920 Approaching the Solitaire off St. John’s point. The photographs do not do the size of this boat any justice.
Img_4929 Myself and Susanna on board the pilot boat moored beside the mighty Solitaire.  Tuesday – 22nd July 2008
Img_4935 Leaving the Solitaire, I tried snapping it but no shot was able to get everything in, the best I could do was shoot the helicopter landing pad from underneath.  Tuesday – 22nd July 2008
Img_4943 Nadine and Susanna beside the fishing boats at Killybegs.   Tuesday – 22nd July 2008
   
Comments (6)
Jul
18

See the Blue Nile live

Posted by: admin | Comments (5)

Blue Nile gig at the Galway Arts festival. Tuesday 15th July 2008

In 1985, in Ireland, radio only went as far as 1:50am and then closedown. Nothing on the airwaves again until the next day. That didn’t matter then because it was all we knew. Anyhow, that particular slot of midnight to 1:50am was occupied by a late night DJ called Mark Cagney. If you are the sort that likes late night radio and you never heard him, then sadly you missed out on something special. Mark Cagney taught me a lot of what I know about music. He introduced me to bands such as Prefab Sprout, Lloyd Cole and the Commotions and then he went and introduced me to The Blue Nile.  Once you have been introduced to the Blue Nile, there is no turning back.

Their first album “A walk across the rooftops” was released in 1984. Cagney used to play it on his late night show and I would be in bed listening. There was something about that music. It was more than any other music around. It was magic, soul, spiritual, timeless and yet very much of its time and it made the hairs on the back of my neck stand up. I had to order the album from a stall holder who used to sell records at the market in Rosemary Sq, Roscrea. It took some three weeks to get my hands on it but god was it worth the wait. I used to play the songs on there and melt with them, I used to dream with them. I got the sentimentality in them, I got the atmosphere, I got the meaning only sometimes but it didn’t matter.

24 Years later and the Blue Nile are still around. In all that time, they only released 4 albums. They do not do much TV or touring. They keep off the radar somewhat so it was a big surprise to hear that they were coming to Ireland to play at the Galway Arts festival. As it turns out I could get no one to go to the show with me but I did not give a dam about that, I had to see them. I have never seen them live before and god knows this may be my only chance.

As gigs go, I couldn’t imagine a better one. The set – some 24 songs. Gems from all four albums. each and everyone I knew and associated with a different time in my life. Each and everyone inspired emotion in me and I was glad to see the same in the crowd around me. Easter Parade, The tragedy of Family life, The mood and atmosphere of Saturday Night, then their one and only real pop hit Stay made women stand up and dance in the aisles annoyingly. The couple beside me had only ever heard one song – Happiness. When Buchanan started it up, she melted to the lines that we all melted to years ago “Now that I’ve found peace at last, tell me Jesus, will it last?”. Of course we all sang the ‘Happiness’ bit at the end several times louder each time. It was beautiful.

Throughout the night, you get a  sense of Paul Buchanan. He comes across as a humble sole who ill seems to realise that he is the founder of a special club. Blue Nile fans are few and far between but they share that special knowledge of being moved by that voice and those lines. They talk openly to you and there is agreement abounding.

The gig itself was in the Radisson SAS. Actually it was a great venue and I was very happy with my comfortable seat a mere 20 feet fro the band. It was great to be able to see everything on stage, all that gear, all those synths, guitars, drums, all that glistening, excitement and expectation. It was great to be able to hear the banter from the audience which is now a staple of BN shows. It’s like an in joke between the fans and Buchannan. “When’s the double album coming out Paul?”  “Any day now” he responds in his thick and low reserved Glasgow brogue. “Any day now, the hits just keep on coming”. That makes the place erupt in laughter. An in joke just for Blue Nile fans.

I listened to the Blue Nile for some two hours. When they ended, we took to our feet and screamed the place down looking for more. I mean, we really made noise. They came back out obviously pleased but very used to this kind of appreciation. Then “Strangers in the night”, probably one of the most unusual covers you are likely to hear. What? no Toledo ? (If you ever only listen to one song from Buchannan, make it ‘Because of Toledo’). Turns out his voice was going and he was scared he’d make a dogs dinner of it. So for the second encore, more banter. “Tell ye what, what say instead of butchering some song, why don’t we do one from the set earlier for ye, would that be ok?  which one would you like us to do?”. It was a close tie between ‘Saturday Night’ and ‘Stay’ with the ‘Stay’ being carried by the dancing women. This time we all danced on our chairs and for 5 minutes we were all members of the Blue Nile.

See the Blue Nile before I die  -  Check!

Comments (5)
Jul
16

The curse of the lazy rollover

Posted by: admin | Comments (0)

Been messing around with web design and css now for a few years. In that time I have encountered many problems and issues. The fixes are often ill thought out and may apply to one browser or even one version of one browser but not another.

The the issue of rollover images as a beaming example. On this web page, I have a navigation bar above, when you place the mouse over any button, you notice the background changing colour. That is typically done by loading a different image during the mouse over event using css. The problem here is that there is no browser call to the second image until the user actually places the mouse pointer onto a navbar button. Only then is the second rollover image called by the browser and until it initially loads, the user experiences a slight delay that gives the appearance of sluggishness or a non responsive web site layout. The fix for this is to use some method to pre-load the rollover image when the page loads so that it is there, in memory, ready to respond immediately to a user mouse over event.
There are loads of ways of achieving this pre-load but they all have their advantages and disadvantages. The most common way is to use javascript. But what if the user has javascript disabled on their browser ?

You can use css but the traditional methods are ugly. For example, a common css method is to create a div, set it’s position to some huge minus figure and load the rollover image as it’s foreground or background or some href attribute or what have you. The fact that the div has a location of -1000px / 1000px hides it (hopefully) from the user. This is the sort of thing that programmers (at least honest to decent programmers) absolutely hate. Ahh the never ending search for the ‘elegant’ solution.

Here’s my solution to this age old problem

Instead of using 2 or even three images for the navigation bar, use just one! Bolt the images together into one long image and then simply use css to change the position of the image when the relevant mouse over, visited or what have you effect is required. In the bad old days, my menu above would have had 2 images as follows.

navlink navhover
navlink.png navhover.png

and my css would have looked something like this

#nav a, #nav a:visited {
    background-image: url(‘images/navlink.png’) 
    . . . . .
    }

#nav a:hover {
    background-image: url(‘images/navhover.png’) 
    . . . .
    }

Now lets consider amalgamating the images into one. What about the following image.

navlink_hover
navlink_hover.png

 

Here, I have joined the two images into one larger image. This image gets loaded with my web page, and when I want to implement the mouse over (hover) effect, I simply use css to change the position of this image in the div or whatever container it happens to reside in. The following css does this beautifully.

#nav a, #nav a:visited {
    background-image: url(‘images/navlink_hover.png’) right;
    . . . . .
    }

#nav a:hover {
    background-position: 600px;
    . . . . .
    }

In the first style, I use “background-image: url(…) right; To right align the image in its container. Then in the hover style, I move the image 600px (the width of one transition within the image or half the image width). The effect to the user is to have instant responsive rollover effects making the site look and feel professional or at least somewhat decent. You could also have a 3 part image and move / offset it an appropriate distance for each of the styles a, hover and visited.

Categories : Academic
Comments (0)
Jul
09

The Gallery is saved (again)

Posted by: admin | Comments (1)

image
After the site got deleted last week, I have managed to dig out my backups and for luck I have a backup of the gallery form February last. I think it is pretty much all there except for a few images that Trisha sent me of their new born so maybe she might oblige me again. This gallery really is a precious old document and I really need to look out for its security. After the way hosting365 treated me, I think I may move the entire site away from them. Their support is non existent for small customers.

Incidentally, if anyone is wondering about the picture above, That’s Liam, Eileen, Dad, Jean taken at Ballymote when they were kids. The shoes coming in from the right must belong to granny. If you look in the background you can see the town of Ballymote. This photo would have been taken in or around 1933-34. The gallery is available here.

Comments (1)
Jul
07

Blue Nile play Galway

Posted by: admin | Comments (0)

image People who know me may know that my favourite band for many years has been the Blue Nile. Listening to the radio today, I heard an add for the Galway arts festival. Listed as part of the music line up are this beloved band or probably Paul Buchanan on his own as has been their modus operandi in recent years.

From http://www.galwayartsfestival.com

One of the great British bands, The Blue Nile has infrequently yet consistently created music of rare beauty. As the possessor of the most soulful of voices over the last 30 years, Paul Buchanan is nothing short of legendary. Lead singer, songwriter and co-founder of The Blue Nile, Buchanan is one of music’s greatest treasures while remaining one of its best kept secrets. The Blue Nile’s recordings from A Walk Across Rooftops to Hats and Peace at Last to High have all been critically acclaimed and rapturously received by the ever-growing legion of Nile aficionados. The band plays their only Irish date this year at Galway Arts Festival.

Radisson SAS Hotel, Tuesday 15 July @ 9pm. Tickets €38.50. See the Blue Nile’s website here

Comments (0)
Jul
07

1911 Census online

Posted by: admin | Comments (0)

I was with my Dad over the weekend. e were pottering about today on the Internet and I suggested that he take a look at the national archive website where they have now made the full 1911 census of Dublin online, indexed and searchable. http://www.census.nationalarchives.ie/

It’s the most amazing archive. You can search family history and trees by surname, first name, location etc. We searched for Dad’s grandfather who would have been a Thomas Stafford from in and around the wood quay area. Dad reckoned he would have been around 10 year sold in 1911. The nearest we found was a Thomas Stafford aged 6 from in or around Bride Street – Wood Quay.  Upon viewing the particular census form, the family consisted of Francis (34), Gertrude (33) and three children including Thomas. See page one of the form here.

They fact that they have now taken the time to scan the entire census and index it for searching is amazing. It is a stunning document for Irish people to search. To see a picture of Dublin at that time, to see your recent ancestors census forms often completed in their own handwriting.

Comments (0)
Jul
03

Might go to University

Posted by: admin | Comments (0)

image I got my exam results on 25th June and was happy with a first class honours. So I now have a BSc (Hons) in Computing. Four or five years ago when I was considering going back into education, I made a promise to myself that if it worked out well and if I did well enough, then I would strive to achieve a Masters in my chosen field. So now that I have graduated from IT Sligo, I have been humming and hawing about what I should do. I had been talking to IT departments in Uni’s around Ireland all year looking for a course or research opportunity that suited.

I finally found a 2 year taught/research Masters in NUIG. The MSc in Information Technology (M.I.T) seems right up my street. I liked the brochure so much that I went to NUIG and met with Pat Byrne there. She was so kind and helpful and gave me great insight into this course and life as a 4th level student in general. So I have completed my PAC application (albeit late) for this course. I still have not set this in stone but I need to start making some kind of decision on my future. Completing this application gives me a focus. I have to admit though that I kinda have my heart set on this so it’s probably going to happen.

Categories : Academic
Comments (0)
Jul
01

phpMyAdmin DB Import script

Posted by: admin | Comments (0)

After the catastrophe of my site being deleted, I am slowly but surely getting stuff back online. Today I decided to tackle the Photo gallery. It’s powered by a script called gallery2 available here and it stores it’s data in a MySql back end. So luckily I had a backup of the gallery and a MySql  data export script.

The problems arise when you try to import a large script file into MySql over a web interface. Usually you run into a time out or a memory overload error as dictated by the hosts php settings in php.ini. After much searching though, I came across a fantastic script called BigDump.

BigDump carries out staggered import of large and very large MySQL Dumps (like phpMyAdmin 2.x Dumps) even through the web servers with hard runtime limit and those in safe mode. The script executes only a small part of the huge dump and restarts itself. The next session starts where the last was stopped. It also presents a reasonable representation of a status GUI letting the user know the current progress of a data import.

Using the script is very easy.

  1. Open BigDump in a text editor and adjust the database configuration
  2. Drop the old tables on the target database if your dump doesn’t contain “DROP TABLE” (use phpMyAdmin)
  3. Create the working directory (e.g. dump) on your web-server
  4. If you want to upload the dump files directly from the web-browser give the scripts writing permissions on the working directory (e.g. make chmod 777 on a Linux based system). You can upload the dump files from the browser up to the size limit set by the current PHP configuration of the web-server. Alternatively you can upload any files via FTP.
  5. Upload bigdump.php and the dump files (*.sql or *.gz) via FTP to the working directory (take care of TEXT mode upload for bigdump.php and dump.sql but BINARY mode for dump.gz if uploading from MS Windows).
  6. Run the bigdump.php from your browser via URL like http://www.yourdomain.com/dump/bigdump.php . Now you can select the file to be imported from the listing of your working directory.
  7. BigDump will start every next import session automatically if you enable the JavaScript in your browser.
  8. Relax and wait for the script to finish. Do not close the browser window!
  9. IMPORTANT: Remove bigdump.php and your dump files from your server

 

bd1Running the script initially, presents this screen where a user can upload a sql import file or select an existing file to import into MySql.

 

 

bd2The import progress page. Once you run the script, this page is displayed, it updates every few minutes. Give it plenty of time.

Categories : Academic
Comments (0)