Irish View of Yhacting (olympics)

This is simply brilliant!

Great tips on searching google!

Dealing with Mulitple (same key) Query String items in C#

Today i bumped into a problem that was quite easy in the (good old) days of traditional ASP.

Our webapplication needed to pass multiple id’s to a page in it’s query string. The query string was built by simply “joining” a list of id’s and passing that into the url.

var QString =String.Join("&id=", item.OrderConfirmationData.VendorOrders.Select(x => x.VendorOrderNumber))

This would build a query string that looked something like

Reading it back via server side code using somehting like to string returned a comma seperated string. (that might not have been bad if some of the values had comma’s in them. :)

e.g. 1,23,43,103

This inturn caused us to split the results to and array based on the comma. arghhh that was when the fun started.

So.. the solution.

The querystring object in .net has a .GetValues method. If you pass in the Parameter name, it return a string array of values..

At that point parcing the values is easy and clean. e.g.

var values = Request.QueryString.GetValues("id");
foreach (var item in values)
litSPLIT.Text += item + "<br />";

The scale of all things known and imagined.

If you have ever wondered how big things are in relationship to other things..


Don’t buy music from apple(iTunes)

Anyone who knows me, knows my opinion of APPLE products and the relative intelligence of the people who buy Apples or purchase things from their store.
In short – very low. Not to make small the accomplishments of their now deceased leader. He was a true visionary and had a marketing savvy that few in the technical field could hope to match.

BUT a few weeks ago my oldest wanted to purchase a song via iTunes.
Apples cost $1.36. Hating proprietary nature of their music format, I refused to pay for it from apple. I insisted we purchase a song from Amazon.

The same song at amazon was $0.99 – which makes sense as apple adds 30% to any purchase made through their system. Then of course, you can only upload them X times before they prevent the use. So upgrade your systems a few times and you have lost your investment.

To my very PLEASANT surprise – Amazon leaves a copy of every MP3 you purchase on their cloud server for you to download at a later date (no limit to the number or times) and they discounted the 99c purchase to $0.

Subsequently I have made a number of MP3 Purchases via Amazon and every one of them has been discounted to the value of the song.. So. Instead of spending
$13.60 for 10 songs via ITunes the same purchase at amazon would only have been $9.90 but in reality was FREE!!!

Don’t be a sheep and use iTUnes. Be smart and use AMAZON! You will be a much happier person (PERIOD)

Kill “right click” from a webpage with JQuery

This was always a pain with pure javascript, however Jquery has made our lives infinatly easier. Just bind to the “contextmenu” object and kill any action.

return false;

usefull ips for DNS breakdown..

Usefull IP addresses incase your DNS goes wonkie...

# News

# Social media

# Torrent sites

# Social networking

# Live Streaming Content

# Television

# Shopping

# File Sharing

Here’s a tip for the do-it-yourself crowd: Go to your computer’s Start
menu, and either go to “run” or just search for “cmd.” Open it up, and type in
“ping [website address],”

Once you have the IP for a website, all you really need to do is enter it
like you would a normal URL and hit enter/press go. Typing in
“” should bring you to the front page of AO3, for example,
just as typing “” should bring you straight to your
Tumblr dashboard. Since we’re obviously bracing for the worst case scenario
which would involve you not being able to access the internet regularly, you
should, save this list.