Targeted Advertising

Ah, the paradox that is my life.
http://img329.imageshack.us/img329/2770/22949613418c22195077orw1.gif

Posted on 3/19/2008 2:10:00 PM by sterlingt

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: MISC

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Strong-Bad

Check out my old college geek-fest: Strong-Bad

Posted on 3/18/2008 7:59:00 PM by sterlingt

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: MISC

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Blogology

blog-ol-o-gy (noun) [b-log-olly-jee] - the science of blogging; the science that deals with all forms of blog, including its classification, physiology, chemistry and interactions.

Posted on 3/18/2008 2:23:00 PM by sterlingt

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: MISC

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Kill 'em with Kindness


Tolerance certainly breeds peace but, wow, it's a difficult characteristic to master - and something I don't always excel at. However, I believe in a world of tolerance so it's imperative that I follow my own standard. Today was a small victory against my, at times, impenetrable hardheadedness. I was unquestionably correct in today's conflict, and what's more; the individual whom I confronted proceeded to hurl multiple, inappropriate, personal insults at me; entirely unprovoked. But still I kept my cool. I resisted the urge to forward the individual black and white evidence of the occasion of which they were now calling me a liar and 'clueless'. Instead, how did I react to this person's seething hatred dripping off every word of their emails? A simple reply:

"Good luck and best wishes with everything."

Oddly enough, that promptly and unexpectedly ended their digital tirade. What a splendidly simple, painless, and peaceful end to an otherwise miserable situation; I should have subscribed to this tolerance thing years ago.

Posted on 3/10/2008 2:10:00 PM by sterlingt

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: MISC

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Music to My Ears

Sometimes I think the powers that be deliberately inflict me with illnesses in order to slow me down enough to acknowledge and address the non-mandatory things that I need to accomplish in order to improve the quality of my life. Certainly, without the forced down-time, I would never voluntarily commit the time and effort such tasks require. This weekend was one of those occasions; forced to stay indoors and limited to the activities contained within; I cleaned up my computer's hard-drive, de-fragmented, re-connected with some neglected friends/family, and most importantly: I reintroduced music into life.

Ever since I can remember, I've felt a deep emotional connection to music. I certainly have the most eclectic taste in music of anyone I know - you can find me listening to everything from Christian Alternative to Death Metal to Britney Spears to Billy Joel. I'm not partial to anything in particular, just whatever moves me at the time and compliments a good mood or improves a bad mood. Music has the ability to completely transform my emotional state, and it's not typically the lyrics that affect me the most, but rather the rhythm and notes of the tune.

I think my relationship with music likely stems from my years in dance classes and consequent love of dancing. There are few things more anxiety relieving and elating to me than dancing to great music until I can hardly stand anymore. Similarly, just the act of listening to a great tune while driving in my car or working out at the gym has the capacity to substantially influence my disposition.

That said, in the past I've always made an effort and priority to maintain a respectable music collection, along with a variable investment in the pertinent audio technology(s) of the time (yes, that includes circulating through 3 failed iPod's). But somewhere and somehow my life's soundtrack slowly and quietly disintegrated into everything else I needed to remember and routinely accomplish.

Fast forward a couple years and my driving entertainment has become limited to whatever happens to be playing on 91X at the time with a small gym-bound portable mp3 player which has housed the same ~50 songs for well over a year. But that's all changed now - this otherwise innocuous weekend has afforded me the sorely needed opportunity to gear up on ~4 gigs (and counting) of a most diverse collection of music along with the chance to research and purchase a 4 gig car mp3 player and a remarkable little 32 gig player.

Bring on the world, I've got a new soundtrack! ^_^

Posted on 3/9/2008 3:40:00 PM by sterlingt

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: MISC

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Sound Slumber with the DAL


Why would I lay in bed awake at night tormenting over the fact that I'm currently forced to construct a giant string of text that will eventually compose a database query in the code-behind of my web page - instead of where it belongs: within the Data Access Layer class file?! Well, that's an easy one: because I'm a BIG dork with such a drama-free, mellow, and complacent life that I have nothing more severe to concern myself with. But I'm certainly not complaining about that. Anyhoot, the good news is that I toss and turn no more! Take a gander at this monster of a method...parameter anyone?

This messy, monstrosity of a method is contained within my web app's Data Access Layer class file where it programmatically builds a data query based upon the user's comprehensive, multi-optioned criteria selections. But how am I associating those parameters with the user's selections contained all the way over on the web page itself? Easy: An ObjectDataSource. I can populate my relevant parameters with the ListBox selections the user has made by adding the following to the OnInserting event handler of the ObjectDataSource:

protected void OnObjectDataSourceInserting(object sender, ObjectDataSourceSelectingEventArgs e) { e.InputParameters["selectedFinalStatuses"] = FinalStatuses.Items; e.InputParameters["selectedCurrentStatuses"] = CurrentStatuses.Items; e.InputParameters["selectedIDs"] = IDs.Items; e.InputParameters["selectedContractTypes"] = ContractTypes.Items; e.InputParameters["selectedDivisions"] = Divisions.Items; e.InputParameters["selectedProjectControllers"] = ProjectControllers.Items; e.InputParameters["selectedContractReps"] = ContractReps.Items; e.InputParameters["selectedPricers"] = Pricers.Items; e.InputParameters["selectedSubKReps"] = SubKReps.Items; e.InputParameters["selectedOpCenters"] = OpCenters.Items; }

And...Viola! Not only, do I have an elegant solution to relocating the bulk of the data query logic where it belongs: In my Data Access Layer, but I've also got built-in server-side data validation since any attempt to provide data that will not convert successfully into a DateTime object (or whatever other relevant data type you're attempting to achieve) will throw an immediate exception before any would-be hacker's sql injection attempt hits my precious database.

[Sigh]Sweet dreams tonight...

Posted on 3/6/2008 2:46:00 PM by sterlingt

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: asp.NET 2.0

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tidbits

As a developer, I believe there are few things worse in this world than having a bored supervisor who thinks they can code.

Posted on 3/5/2008 9:27:00 AM by sterlingt

Permalink | Comments (0) | Post RSSRSS comment feed |

Categories: Rant

Tags:

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5