free geoip October 2003 - Posts - Jayson's Blog

October 2003 - Posts

30 October 2003
doh...
So, there you are...sitting somewhere with the woman of your dreams...or perhaps about to win your the game you've been playing for 48 straight, whatever...just plug in your dream situation. then it hits you...FUCK, I WROTE THAT CLASS WRONG!!! that is just what happened to me, except i was in the middle... Read More...
30 October 2003
Ramblings...
how are we american programmers getting displaced by thousands by foreigners? if they program in VB, they almost have to learn the entire english language just to use it! ok, that was a cheap shot...but still... come on america...step it up! where else can you not work for pennies a day living in a shanty... Read More...
Filed under:
29 October 2003
T-SQL nightmares...
So, i've been given the task of scrubbing some data for a group at my work. apparently they have about 50 records w/ either invalid zip codes or invalid SSN's. writing regular expressions in C# is a snap, however i have to load this data into an excel spreadsheet, so it would be a lot easier to try and... Read More...
29 October 2003
Follow up for a previous post...
I had previously posted a blog on 10/28 about how to get a class library to dynamically find it's own config file...then i realized that i didn't give any instructions on what to do next as far as loading that config file into some sort of object so that your application can use it! Personally, i would... Read More...
29 October 2003
Bedtime thoughts...
if you are going to concat more than 2 strings, consider using a StringBuilder object...or just use the code below to obtain a nicely formatted string: public static string BuildStrings(params string[] stringsToBuild) { string delimiter = " "; // this will be the return string string builtString; //... Read More...
28 October 2003
Tip of the day...
VB.NET supplies the "Optional" keyword for parameters in methods, if none is supplied you can explicitely define a default value in the parameter signature. C# doesn't supply this functionality (and for good reason, it leads to lazy coding). it's good coding practice to always check the values of parameters... Read More...
28 October 2003
Quote of the day...
The less buttons you give end users, the less shit that can go wrong. it's directly proportionate...sometimes i feel like my company should hire a herd of monkeys, they'd probably fuck up less. j Read More...
Filed under:
28 October 2003
What a day
So, today i learned the hard way that .NET class library apps don't intrinsically support .config files. after about 4 hours of head scratching i came up w/ the following bit of code that will dynamically load a config file with the same name as the assembly loading it: internal void GetConfigurationFilePath... Read More...
28 October 2003
Welcome to my Weblog!!!
i sure as hell wasn't going to pay for one, so i built (read: hijacked) my own. we'll see how it goes, i am pretty good at breaking shit. The purpose of this blog is for me to share just how little i have learned i know about coding and .NET technologies...each day i learn a little bit more... more to... Read More...
Filed under: