<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Should Have Paid Me More &#187; benson</title>
	<atom:link href="http://shouldhavepaidmemore.com/author/benson/feed/" rel="self" type="application/rss+xml" />
	<link>http://shouldhavepaidmemore.com</link>
	<description>Tales from the underpaid</description>
	<lastBuildDate>Sun, 29 Nov 2009 14:00:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8216;Nuff Said</title>
		<link>http://shouldhavepaidmemore.com/2009/nuff-said/</link>
		<comments>http://shouldhavepaidmemore.com/2009/nuff-said/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 17:58:15 +0000</pubDate>
		<dc:creator>benson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shouldhavepaidmemore.com/?p=137</guid>
		<description><![CDATA[.style1 { font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
}
.style2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: medium;
color: #000066;
}
.style3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: x-small;
} .style17 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium; color: #BDFFFF; }
.style18 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; color: #FFFFFF; }
.style19 {color: #000066}
.style20 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; color: #000066; }
.style22 [...]]]></description>
			<content:encoded><![CDATA[<p><code>.style1 { font-size: 10px;<br />
font-family: Arial, Helvetica, sans-serif;<br />
}<br />
.style2 {<br />
font-family: Verdana, Arial, Helvetica, sans-serif;<br />
font-size: medium;<br />
color: #000066;<br />
}<br />
.style3 {<br />
font-family: Verdana, Arial, Helvetica, sans-serif;<br />
font-size: x-small;<br />
} <span id="more-137"></span>.style17 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium; color: #BDFFFF; }<br />
.style18 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; color: #FFFFFF; }<br />
.style19 {color: #000066}<br />
.style20 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; color: #000066; }<br />
.style22 {color: #000000}<br />
.style23 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; color: #000000; }<br />
.style24 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; color: #FF0000; }<br />
.style27 {color: #0000FF}<br />
.style29 {color: #0000FF; font-weight: bold; }<br />
.style30 {font-size: 8pt}<br />
.style31 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: x-small; font-weight: bold; color: #0000FF; }<br />
.style33 {font-size: small}<br />
.style34 {color: #FF0000}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://shouldhavepaidmemore.com/2009/nuff-said/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Double Take</title>
		<link>http://shouldhavepaidmemore.com/2009/double-take/</link>
		<comments>http://shouldhavepaidmemore.com/2009/double-take/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 14:28:01 +0000</pubDate>
		<dc:creator>benson</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://shouldhavepaidmemore.com/?p=102</guid>
		<description><![CDATA[Sure enough as I debugged the code it was always zero.  So it was completely useless.]]></description>
			<content:encoded><![CDATA[<p>Below you will see some code I ran into a couple days ago.  It is one of those things that took me back to 3rd grade math and made me second guess myself.  If you look there is a new integer declared and it is set to zero.  Then a loop starts in reverse order to iterate through some tabs which are always going to be a quantity of 5.  What is interesting is that the integer is multiplied by -1.  At first glance it made sense, multiply 1 times -1 you get -1, 2 times -1 = -2.  But the value of intTabCounter was never being set inside the loop.  So it appears that it was always zero.  And sure enough as I debugged the code it was always zero.  So it was completely useless.</p>
<p><code>Dim intTabCounter As Integer = 0</code></p>
<p><code> </code></p>
<p><code>For intTabIndex As Integer = tcNewsDayTabs.Tabs.Count - 1 To 0 Step -1<br />
tabDate = Date.Today.AddDays((intTabCounter * -1))<br />
tabDate = NewsUtil.FindBusinessDayDate(tabDate.AddDays(1), ldTabPanelDates)<br />
ldTabPanelDates.Add(intTabIndex, tabDate)<br />
Next intTabIndex<br />
</code></p>
<p>This is an example of a time something looks good on the surface but has no functional value once you look a little deeper.  In a bad economy like we have these days I look at this as job security.</p>
]]></content:encoded>
			<wfw:commentRss>http://shouldhavepaidmemore.com/2009/double-take/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The New World</title>
		<link>http://shouldhavepaidmemore.com/2009/the-new-world/</link>
		<comments>http://shouldhavepaidmemore.com/2009/the-new-world/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 19:56:15 +0000</pubDate>
		<dc:creator>benson</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://shouldhavepaidmemore.com/?p=75</guid>
		<description><![CDATA[I realized that the man who developed this portal was sent from satan to destroy my hopes and dreams]]></description>
			<content:encoded><![CDATA[<p>So I had worked in a company that specialized in maintenance and service.  During my time at this organization I started a career as a software developer.  I dare say that it came naturally to me, being the lazy person that I am.  At this organization there were 2 developers that were primarily Java developers.  At the time, I was using .Net.  Oddly enough, I learned most of what I know from those 2 developers in spite of writing in different languages and for this I am eternally grateful.</p>
<p>So one day I decided that I may have better opportunities somewhere else.  So I got a new job at an insurance company and was now exposed to a very pure .Net atmosphere.  The main role I would have would be developing and maintaining the portal that they used for their agents.  Seems relatively simple.  Certainly there would be some quirkiness to this portal but the whole thing would be able to reuse a few abstract patterns right?</p>
<p><span id="more-75"></span></p>
<p>No not right.  The author of this application wouldn&#8217;t recognize a pattern even if it hit him in the jaw.  Oddly enough he was a consultant making multiple hundreds of dollars per hour.  What I learned about the .Net world is they encourage database heavy applications.  You&#8217;re probably thinking, oh they must have had ten or twenty stored procedures in their database if that were the case.  No, not 10 or 20, not even 100 or 200.  This database had 551 stored procedures in it.  In addition there are 172 tables and 104 functions.  Now at the time I had used some SPs for some complex needs and what not but I hadn&#8217;t seen anything like this.  I wondered if I was in over my head and wouldn&#8217;t understand the deep complexities of all of this data and perhaps I made a big mistake coming to this company.  After working on this for 2 years I realized that the man who developed this portal was sent from satan to destroy my hopes and dreams.  I will give you an example to help illustrate of 2 tables.  One called DO_DOCUMENT and another called FS_DOCUMENTS:</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>DO_DOCUMENT</p>
<ol>
<li>do_id</li>
<li>data</li>
<li>type_id</li>
<li>title</li>
<li>publish_date</li>
<li>expiration_date</li>
<li>revision_date</li>
<li>create_date</li>
<li>contenttype</li>
<li>lastmodified_date</li>
<li>lastmodified_loginid</li>
<li>do_status</li>
<li>do_formnumber</li>
<li>do_link</li>
</ol>
</td>
<td>FS_DOCUMENTS</p>
<ol>
<li>fd_id</li>
<li>fd_data</li>
<li>fd_typeid</li>
<li>fd_title</li>
<li>fd_publishdate</li>
<li>fd_expirationdate</li>
<li>fd_revisiondate</li>
<li>fd_createdate</li>
<li>fd_contenttype</li>
<li>fd_lastupdated</li>
<li>fd_modifiedby</li>
<li>fd_status</li>
<li>fd_formnumber</li>
<li>fd_link</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p>Look familiar?  Well isn&#8217;t that special?  Why use one table when you can use 2 that are almost identical?  This must be some methodology that I am not familiar with.  Maybe the were using one table to store inactive data to increase performance.  Not likely, both tables had different types of documents in them based on business type.  I looked in the table on one contained 20,000 rows the other 50.  Seems like an opportunity for re-use to me.  This is one of many scenarios where logic or data was duplicated.  What is odd that in this dark place there were some point of brilliance.  But the .Net world was a bit different than the Java world.  The developers that I knew that were working in Java didn&#8217;t want anything in the database except data.  So this gave me an opportunity to discover the pros and cons of both.</p>
<p>The truth is we all write bad code at some time or another.  Somewhere out there someone is writing a message just like this about my code.  But one thing I will say about myself is I work as hard as I can to write as little code as I can.  Mainly because it is less work and more stable.  But stored procedures seem like extra work to me and that isn&#8217;t what I am all about.</p>
]]></content:encoded>
			<wfw:commentRss>http://shouldhavepaidmemore.com/2009/the-new-world/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
