Must go to bed
I couldn't resist and had to start toying with the google web service again. I don't really know why I did it, I just felt the compulsion. You know you're a real dork when you sit up all night writing code to query Google/Amazon for things you can easily type in and you find it compelling, very compelling. I guess if you have to stay up all night consuming anything, Web Services are probably one of the healthier things to consume.
com.google.api.GoogleSearchResult searchResult = new com.google.api.GoogleSearchResult();
com.google.api.GoogleSearchService g = new com.google.api.GoogleSearchService();
searchResult = g.doGoogleSearch("1AKHqfBQFHLNrTDv1pExTvZ4FaF7y4U1", "Insomnia", 0, 9, false,string.Empty,false, string.Empty, string.Empty, string.Empty);
foreach(com.google.api.ResultElement re in searchResult.resultElements)
I can't still be awake.
You know what else, XM Radio really rocks, but this late at night, the only thing on is Art Bell and his show either rocks or is totally lame. I'm too lazy to get up and change the radio from John and Ken. Wow do they suck! I can't really wait for some device that I'm under NDA not to talk about to come out so I can listen to Phil Hendrie. I got off my lazy butt and went to the gym and missed some of Phil's show. I'm guessing he won't be on too much longer b/c the FCC is going to save the world by getting rid of everything funny. I wish they'd get rid of Good Morning America, Lary King and Bill O'Reilly b/c, well, they all suck. Actually, so does damn near everything on TV, I guess that's why I don't watch it. Instead I play on my computer. So this way I can stay up late at night when I should be asleep, rambling on the verge of incoherency, invoking web services and examing the finer nuances of C# and Threading, wishing I had another diet coke, instead of watching Conan. Conan sucks. Well, at least google cuts me off at 1,000 hits daily and I started after midnight so I'll have to stop soon. Actually, no I don't. I can still hit it and just write an exception handler that returns hard coded results. Then I could still have the effect. My old boss used the think hard coding values in a payroll program was a good solution if the customers were on the phone, so if he's right, what's wrong with hard coding search results in a custom exception class that would look like real results? Man I can waste time....