|
In an IM this afternoon with a friend/ex …Me: in my drunken state lastnight I decided I wanted a girlfriend. then i sobered up. Her: jeff - you arean excellent boyfriend - you really do have a lot to give a girl - Her: butof course anything at this point is almost marriage material Marriage material? Sohow’s that for pressure? Alot considering my current stance is that only a drunken,crazy man would take on a girlfriend, let alone “marriage material.” Funny how attitudeschange and life doesn’t work out the way you expect it to. Do you see the temperature in the lower right hand corner of this page? To you it may look like just a number, but to a programmer (like myself) it is definitely one the coolest things I have ever done with the Microsoft .NET framework. While it appears simplistic, this page actually uses SOAP and XML to query a webservice at capescience.com anddisplays the current temperature. Which brings me to my next point … to anyone onthe “F Micro$oft” bandwagon, this is proof that Microsoft is all about opensource. They’re giving you the best platform yet to transfer data across the Internet.I don’t understand why everyone is all anti-microsoft when 90% of their software outperforms any competition. I guess it’s also hard to be jaded when you work for anawesome company that paysfor all that software though. Anyway … It took me a while to figure out howto use this web service. Many Google searches didn’t find any code samples, so here’smy contribution to the programming world: CapeScience GlobalWeather VB.NET Code Sample: PublicFunction GetTemp() As String Dim sTemperature AsString Dim oWeather AsNew com.capescience.live.GlobalWeather() Dim oRpt As com.capescience.live.WeatherReportoRpt = oWeather.getWeatherReport(”PHL”) sTemperature = CStr(Round(oRpt.temperature.ambient* 1.8 + 32, 0)) & ” °F” Return sTemperature EndFunction Yes yes y’all, who got the vibe it’s the Tribe y’all, real live y’all, inside outside come around …Well here I am. Back again. It’s been what … over two years since I’ve had a bona fide website? I know right now it’s doesn’t look like much, but more is in the works. You’d think after doing this stuff for eight hours a day at work (and loving every minute of it) I could manage to come home and bang out 25 lines of code. Anyway, stay tuned … I’ll try to be vigilant in this latest pursuit.
|
Navigation
Search
My Photos
www.flickr.com
This is a Flickr badge showing photos in a set called
Weblog photos. Make your own badge
here.
|