<?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"
	>

<channel>
	<title>randys.org</title>
	<atom:link href="http://www.randys.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randys.org</link>
	<description>Wasting your precious bandwidth since 1999</description>
	<pubDate>Wed, 03 Sep 2008 01:14:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Google Chrome: First impressions</title>
		<link>http://www.randys.org/2008/09/02/google-chrome-first-impressions/</link>
		<comments>http://www.randys.org/2008/09/02/google-chrome-first-impressions/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 01:14:01 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[General Nerdery]]></category>

		<category><![CDATA[Home]]></category>

		<category><![CDATA[Browsers]]></category>

		<category><![CDATA[Chrome]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.randys.org/?p=126</guid>
		<description><![CDATA[I must be really busy these days. I wouldn&#8217;t call my self a complete nerd, but I try to stay up on recent web trends and technologies related to such things. I just found out about Google Chrome, the new web browser for Windows. It appears to be using WebKit, the same rendering engine as [...]]]></description>
			<content:encoded><![CDATA[<p>I must be really busy these days. I wouldn&#8217;t call my self a complete nerd, but I try to stay up on recent web trends and technologies related to such things. I just found out about <a href="http://www.google.com/chrome/">Google Chrome</a>, the new web browser for Windows. It appears to be using WebKit, the same rendering engine as Apple&#8217;s Safari web browser. I had heard recently that Google&#8217;s <a href="http://code.google.com/android/">Android</a> was rumored to be using WebKit for  its browser so this sounds logical to me.</p>

<p>I use a Mac at home, so I&#8217;m used to Safari. In fact, until I recently started a side job, I used Safari exclusively for about a year. It&#8217;s fast to start up and fast to render. It has some developer tools built in so figuring out which styles apply to which elements is easy to decipher. Safari on Windows isn&#8217;t quite as quick as Safari on Mac. At least, it&#8217;s not on my work machine; an aging Pentium 4 with a measly 2GB of memory. This is the one thing kills Safari for Windows for me. I tried using it as a daily browser, but it was painfully slow on this machine. I think what kills it is Apple&#8217;s desire to make the application look like OS X and not Windows. Yes, it looks one million times better than windows, but at what cost? I&#8217;d rather it run fast on this machine than look pretty. It&#8217;s funny how Apple is somewhat hypocritical in this respect as they have <a href="http://developer.apple.com/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/chapter_1_section_1.html">strict guidelines</a> for applications built for their own OS.</p>

<p>I digress&#8230;</p>

<p>So far (and this is a very short testing period) it&#8217;s a very fast and responsive application. It starts right up and renders quickly too. Its interface is minimal and clean yet functional (like most Google apps). It looks like it&#8217;s kind of modeled after IE7&#8217;s interface in that it does&#8217;t have a menu bar like most Windows applications. There are two icons to the right of the &#8220;OmniBox&#8221; (Chrome&#8217;s URL/search box all rolled into a single field); one to handle things like cut/copy/paste, new tab/window, etc and one for global features like options, history, and downloads. Of course there&#8217;s the obligatory back, forward and reload buttons and a place for your bookmarks, standard with any browser.</p>

<p>Tabs can be moved around easily for ordering and can be dragged completely out of the current container to create it&#8217;s own new Chrome window (a handy feature Firefox doesn&#8217;t support out of the box).</p>

<p>For developers, it has the same developer tools found in Safari. You can view source, debug JavaScript, monitor the JavaScript console, inspect elements on a page (which brings up a similar window to Safari&#8217;s). You can also view a Task Manager related to Chrome and it&#8217;s tabs that shows you how much memory and CPU are being used for each tab/window you have open. It even tells you how much memory is being used for any installed plugins. The Task Manager allows you to kill specific tabs if they are misbehaving as well.</p>

<p>I&#8217;m going to use it as my default for a while to see how it stacks up on a daily basis. I am optimistic at the moment, but I did notice some system hangs though those could be related to this massive pile of Java code running under Weblogic 8&#8230; which is an entirely different story.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/09/02/google-chrome-first-impressions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Oh, the joys of being a peer</title>
		<link>http://www.randys.org/2008/08/28/oh-the-joys-of-being-a-peer/</link>
		<comments>http://www.randys.org/2008/08/28/oh-the-joys-of-being-a-peer/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 21:07:18 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<category><![CDATA[Randomness]]></category>

		<category><![CDATA[Courts]]></category>

		<category><![CDATA[Jury Duty]]></category>

		<category><![CDATA[Orange County]]></category>

		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://www.randys.org/?p=116</guid>
		<description><![CDATA[Today, I am one of the many fortunate people selected for jury duty. There were about 250 of my peers here this morning before they started raffling off spots in specific court rooms. Apparently, today is a slow day and this waiting room usually sees more than 500 people and is standing room only. I [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I am one of the many fortunate people selected for jury duty. There were about 250 of my peers here this morning before they started raffling off spots in specific court rooms. Apparently, today is a slow day and <a href="http://www.randys.org/wp-content/uploads/2008/08/n576232245_1295995_7898-300x225.jpg" rel="lightbox">this waiting room</a> usually sees more than 500 people and is standing room only. I guess it&#8217;s not that bad; I don&#8217;t have to be at work, they have free WiFi for the jurors and, it&#8217;s Thursday. What does Thursday have that other days don&#8217;t? Usually, most cases have already been scheduled and a jury picked earlier in the week. Come Thursday, there&#8217;s few to no cases needing jurors. Take today for instance: Volume of prospective jurors is low (250 vs the normal 500-600), there was ONE case that was picking a jury panel and actually starting today, two cases that were just picking jurors today and two court rooms that have the rest of us in the <strike>poop</strike> pool on &#8220;stand-by.&#8221; It&#8217;s now close to 2 PM and we were instructed to be back from lunch by 1:30 PM. Nothing is really happening. Just a bunch of people watching a Wil Smith movie (the one with his son in it, the name escapes me). We&#8217;re all just sitting around waiting (hoping) for them to send us all home. It&#8217;s all very interesting.</p>

<p>Oh, on the wireless note: The courts here use some third-party provider for access. Kind of like you would see in a hotel. You connect, open a browser and they intercept the initial network traffic and direct you to a page where you either pay or enter in some access code to get connected to the outside world. Well, I had gotten the access code for today and began working on the side gig. Just before lunch, I had closed out all my windows to get ready to leave when I notice a Verify Certificate dialog that had been sitting there for a while. I&#8217;ve seen these before, nothing new there. But, this one took me as a surprise and I&#8217;m not sure if I should be concerned about it. At the very least, it &#8220;super unprofessional.&#8221;</p>

<p><div id="attachment_119" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.randys.org/wp-content/uploads/2008/08/courtroom-connect-certificate.png" rel="lightbox"><img src="http://www.randys.org/wp-content/uploads/2008/08/courtroom-connect-certificate.png" alt="Don&#039;t worry, it&#039;s super unprofessional" title="Courtroom Connect Certificate" width="500" height="386" class="size-full wp-image-119" /></a><p class="wp-caption-text">Trust me ...it's super unprofessional</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/08/28/oh-the-joys-of-being-a-peer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Heinen $2.2M poorer, wants to put sugar in Jobs&#8217; gas tank</title>
		<link>http://www.randys.org/2008/08/14/heinen-22m-poorer-wants-to-put-sugar-in-jobs-gas-tank/</link>
		<comments>http://www.randys.org/2008/08/14/heinen-22m-poorer-wants-to-put-sugar-in-jobs-gas-tank/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 05:37:26 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[General Nerdery]]></category>

		<category><![CDATA[Home]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[SEC]]></category>

		<guid isPermaLink="false">http://www.randys.org/2008/08/14/heinen-22m-poorer-wants-to-put-sugar-in-jobs-gas-tank/</guid>
		<description><![CDATA[Remember a while back the whole backdating thing at Apple? You know, where the CFO and former general counsel, Nancy Heinen, backdated stocks in 2001? Yeah, that one. I didn&#8217;t really pay much attention to it when it came out. I figure, someone making that kind of dough can handle whatever it is they dish [...]]]></description>
			<content:encoded><![CDATA[<p>Remember a while back the whole backdating thing at Apple? You know, where the CFO and former general counsel, <a href="http://en.wikipedia.org/wiki/Nancy_R._Heinen">Nancy Heinen</a>, <a href="http://bit.ly/HrPrA">backdated stocks in 2001</a>? Yeah, that one. I didn&#8217;t really pay much attention to it when it came out. I figure, someone making that kind of dough can handle whatever it is they dish out for themselves. Well, Heinen and SEC &#8220;settled&#8221; on an agreement that she pay some $2.2 million which includes more than $400K in interest and a $200K civil penalty. She released a statement today (through her lawyers of course).</p>

<blockquote>
  <p>I cherish the great people I worked with at Apple, and am proud of my contributions to its historic turnaround and current success. With this lawsuit behind me, I look forward to addressing the greater challenges of social justice and economic disparity.</p>
  
  <p>From <a href="http://www.bizjournals.com/eastbay/stories/2008/08/11/daily67.html">Former Apple general counsel Heinen agrees to $2.2M backdating settlement - East Bay Business Times</a></p>
</blockquote>

<p>Hmmm, interesting. I don&#8217;t really think she feels that amicable about the whole ordeal. I actually have a copy of the <em>real</em> statement she wanted to release before her lawyers got a hold of it.</p>

<blockquote>
  <p>I loath those pretentious freaks I worked with at Apple, and am pissed that those assholes didn&#8217;t have my back after all of my contributions to its historic turnaround and current success. With this bullshit behind me, I look forward to harassing Steve in the name of social justice and wish nothing but economic disparity on his whole family. Thanks for nothing asshat!</p>
</blockquote>

<p>You heard it here first&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/08/14/heinen-22m-poorer-wants-to-put-sugar-in-jobs-gas-tank/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Green Grass and Blue Skies</title>
		<link>http://www.randys.org/2008/08/11/green-grass-and-blue-skies/</link>
		<comments>http://www.randys.org/2008/08/11/green-grass-and-blue-skies/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 06:12:52 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://www.randys.org/2008/08/11/green-grass-and-blue-skies/</guid>
		<description><![CDATA[

And a stupid smudge on the lens. Damn it!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://farm3.static.flickr.com/2351/2752155854_3507cdee60_b.jpg" rel="lightbox"><img src="http://farm3.static.flickr.com/2351/2752155854_3507cdee60.jpg" height="333" width="500" alt="Horizon"/></a></p>

<p>And a stupid smudge on the lens. Damn it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/08/11/green-grass-and-blue-skies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>71 Days Until Next Sunrise, 16,500 Prophylactics to the Rescue</title>
		<link>http://www.randys.org/2008/06/10/71-days-until-next-sunrise-16500-prophylactics-to-the-rescue/</link>
		<comments>http://www.randys.org/2008/06/10/71-days-until-next-sunrise-16500-prophylactics-to-the-rescue/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 16:58:55 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<category><![CDATA[Randomness]]></category>

		<category><![CDATA[Antarctica]]></category>

		<category><![CDATA[Condoms]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[random]]></category>

		<category><![CDATA[Scientists]]></category>

		<guid isPermaLink="false">http://www.randys.org/2008/06/10/71-days-until-next-sunrise-16500-prophylactics-to-the-rescue/</guid>
		<description><![CDATA[From the &#8220;scientist are people too&#8221; department:


  One of the last shipments to a U.S. research base in Antarctica before the onset of winter darkness was a year&#8217;s supply of condoms&#8230; [that] would be made available, free of charge, to staff throughout the year to avoid the potential embarrassment of having to buy them.


I [...]]]></description>
			<content:encoded><![CDATA[<p>From the &#8220;<a href="http://www.msnbc.msn.com/id/25054286/?GT1=43001">scientist are people too</a>&#8221; department:</p>

<blockquote>
  <p>One of the last shipments to a U.S. research base in Antarctica before the onset of winter darkness was a year&#8217;s supply of condoms&#8230; [that] would be made available, free of charge, to staff throughout the year to avoid the potential embarrassment of having to buy them.</p>
</blockquote>

<p>I imagine it&#8217;s <em>still</em> going to be uncomfortable the day after.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/06/10/71-days-until-next-sunrise-16500-prophylactics-to-the-rescue/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple&#8217;s iPhone 3G Not So Cheap Afterall, AT&#038;T Gets The Skins</title>
		<link>http://www.randys.org/2008/06/09/apples-iphone-3g-not-so-cheap-afterall-att-gets-the-skins/</link>
		<comments>http://www.randys.org/2008/06/09/apples-iphone-3g-not-so-cheap-afterall-att-gets-the-skins/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 01:49:21 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[General Nerdery]]></category>

		<category><![CDATA[Home]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[AT&amp;T]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.randys.org/?p=109</guid>
		<description><![CDATA[Today saw the announcement of the new 3G iPhone from Apple. It looks very promissing and the price cut to $199 USD sounds like a really good price point to get more people to jump on the iPhone bandwagon. Afterall, this thing is twice as fast, but half the cost.

What was not mentioned in Job&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Today saw the announcement of the new 3G <a href="http://www.apple.com/iphone/" title="The new Apple iPhone 3G">iPhone</a> from <a href="http://www.apple.com/">Apple</a>. It looks very promissing and the price cut to $199 USD sounds like a really good price point to get more people to jump on the iPhone bandwagon. Afterall, this thing is <a href="http://www.apple.com/iphone/features/wireless.html">twice as fast</a>, but <a href="http://www.apple.com/iphone/gallery/ads/hallway/">half the cost</a>.</p>

<p>What was not mentioned in Job&#8217;s keynote was <a href="http://www.att.com/gen/press-room?pid=4800&amp;cdvn=news&amp;newsarticleid=25791">AT&amp;T&#8217;s iPhone <em>3G</em> plan pricing</a>. And, why should they; AT&amp;T and Apple have severed their revenue sharing deal they had with the initial iPhone release one year ago. However, don&#8217;t let the $200 discount on a new iPhone fool you. Let&#8217;s do some math&#8230;</p>

<p>The old iPhone plans started at $59.99/mo. If you signed a two year contract you would pay roughly $1,440 over the life of the contract. The new plans, according to the press release, start at $39.99 voice plan PLUS $30 per month for unlimited data. Now you&#8217;re looking at $1,680 over the live of the contract. That&#8217;s $240 <em>more</em> (per contract) than the previous iPhone plans. Still feel like you&#8217;re getting a good deal? You just spent $240 to save $200. No word on family plan pricing or if they have family plans for the iPhone.</p>

<p>Will I get one? Probably. :\</p>

<p><strong>Update</strong>: Looks like there&#8217;s <a href="http://gizmodo.com/5014764/iphone-3g-pricing-and-activation-details-30-unlimited-data-activated-in-store-only">no special treatment for new iPhone users</a> and the standard plans and rates apply. It makes it a little easier to swallow a family plan at $59.99/mo for two lines of service but I have yet to find out if the family plan is available for the iPhone 3G. Interesting thing I found looking for <a href="http://www.porcinefund.com/catranch/catranchx.htm">answers</a> to the question <a href="http://www.wireless.att.com/answer-center/main.jsp?t=solutionTab&amp;ft=searchTab&amp;ps=solutionPanels&amp;locale=en_US&amp;_dyncharset=UTF-8&amp;solutionId=60986&amp;isSrch=Yes"><em>What plans are available for the iPhone?</em></a> I Suppose they should update this if it&#8217;s not true.</p>

<p><strong>Update #2</strong>: I just spoke with a Karen George in AT&amp;T customer service and from what she told me the iPhone plan is the same, just going up in price $10/mo (this kind of contradicts the press release though). She also confirmed that the family plans <em>are</em> available for the new iPhone. I asked if the new iPhone plans will still include the 200 text messages and she said yes. I also asked if the MEdia(TM) Max Unlimited data plan (which, at $35/mo includes unlimited data and texts, seems to be a better deal) would be available for the iPhone and she said yes. I&#8217;m a little skeptical about what some random customer service rep says at this point, so take it with a grain of salt. Especially when she tells me they (customer service?) are not being told ANYthing about the details of the new iPhone and/or plans.</p>

<p><strong>NB</strong>: If you&#8217;re wondering about the &#8216;AT&amp;T Gets the Skins&#8217; bit of the title, I&#8217;m referring to the <a href="http://www.porcinefund.com/catranch/catranchx.htm">San Bromista Cat Ranch</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/06/09/apples-iphone-3g-not-so-cheap-afterall-att-gets-the-skins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Amazon is Down</title>
		<link>http://www.randys.org/2008/06/06/amazon-is-down-2/</link>
		<comments>http://www.randys.org/2008/06/06/amazon-is-down-2/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 19:25:20 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<category><![CDATA[Randomness]]></category>

		<category><![CDATA[Amazon]]></category>

		<category><![CDATA[Downtime]]></category>

		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://www.randys.org/2008/06/06/amazon-is-down-2/</guid>
		<description><![CDATA[It appears that Amazon is having some issues. Their site has been down for well over an hour now. I can&#8217;t imagine how much money this kind of downtime has on a company as large as Amazon. Maybe in the millions by now.



This screen shot was grabbed at approximately 12:10PM PST on 06 June 2008. [...]]]></description>
			<content:encoded><![CDATA[<p>It appears that <a href="http://www.amazon.com">Amazon</a> is having some issues. Their site has been down for well over an hour now. I can&#8217;t imagine how much money this kind of downtime has on a company as large as Amazon. Maybe in the millions by now.</p>

<p><img src="/wp-content/uploads/2008/06/amazon-is-down.png" alt="Amazon is down" /></p>

<p>This screen shot was grabbed at approximately 12:10PM PST on 06 June 2008. About 30 minutes ago I was simply getting a &#8220;HTTP/1.1 Service Unavailable.&#8221;</p>

<p><strong>Update</strong>: I did manage to get the home page at about 12:22PM PST, but after clicking a link, I get the same &#8220;We&#8217;re Sorry!&#8221; page.</p>

<p><a href="http://www.techcrunch.com/2006/08/21/amazon-is-down/trackback/">Techcrunch</a> has a post on it as well with a note from Amazon PR (if you can call it a note).</p>

<p><strong>Update #2</strong>: <a href="http://news.cnet.com/8301-10784_3-9962010-7.html">Cnet</a> speculates Amazon could potentially have missed out on close to $1.4M USD in the 90 or so minutes they were offline.</p>

<blockquote>
  <p>Based on last quarter&#8217;s revenue of $4.13 billion globally, a full-scale global outage would cost Amazon more than $31,000 per minute on average. For North America, it would be more than $16,000 per minute. (To be fair, those figures don&#8217;t include revenue from other sources such as search or contextual advertisements or Amazon Web Services.)</p>
</blockquote>

<p>I feel bad for the poor schmucks who had to sweat this one out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/06/06/amazon-is-down-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MPAA Accuses University Laser Printer of Piracy, Printer Goes on Toner Binge</title>
		<link>http://www.randys.org/2008/06/05/mpaa-accuses-university-laser-printer-of-piracy-printer-goes-on-toner-binge/</link>
		<comments>http://www.randys.org/2008/06/05/mpaa-accuses-university-laser-printer-of-piracy-printer-goes-on-toner-binge/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 23:39:50 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<category><![CDATA[Randomness]]></category>

		<category><![CDATA[DMCA]]></category>

		<category><![CDATA[internet]]></category>

		<category><![CDATA[Link]]></category>

		<category><![CDATA[MPAA]]></category>

		<category><![CDATA[RIAA]]></category>

		<guid isPermaLink="false">http://www.randys.org/2008/06/05/mpaa-accuses-university-laser-printer-of-piracy-printer-goes-on-toner-binge/</guid>
		<description><![CDATA[Is it really that surprising that M.P.A.A, R.I.A.A and others use flawed methods to determine who violates Copyright laws?  These are some of the same companies that want to charge you more for a song purchased over a wireless network versus from a computer. Why? Just because. Assholes.


  The researchers rigged the software [...]]]></description>
			<content:encoded><![CDATA[<p>Is it really that surprising that M.P.A.A, R.I.A.A and others use flawed methods to determine who violates Copyright laws?  These are some of the same companies that want to charge you more for a song purchased over a wireless network versus from a computer. Why? Just because. Assholes.</p>

<blockquote>
  <p>The researchers rigged the software agents to implicate three laserjet printers, which were then accused in takedown letters by the M.P.A.A. of downloading copies of “Iron Man” and the latest Indiana Jones film.</p>
</blockquote>

<p><a href="http://bits.blogs.nytimes.com/2008/06/05/the-inexact-science-behind-dmca-takedown-notices/">The Inexact Science Behind DMCA Takedown Notices - Bits</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/06/05/mpaa-accuses-university-laser-printer-of-piracy-printer-goes-on-toner-binge/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How-not-to: Normalize Your Data</title>
		<link>http://www.randys.org/2008/06/04/how-not-to-normalize-your-data/</link>
		<comments>http://www.randys.org/2008/06/04/how-not-to-normalize-your-data/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 00:49:46 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[General Nerdery]]></category>

		<category><![CDATA[Home]]></category>

		<category><![CDATA[How-To]]></category>

		<category><![CDATA[Database]]></category>

		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.randys.org/?p=104</guid>
		<description><![CDATA[Disclaimer: I am not a database architect nor a certified database programmer. I might not be database guru, but I have been working with SQL Server long enough to know what works and what doesn&#8217;t.

I&#8217;m not a database programmer per say, but I&#8217;m expected to be one at work (even though I&#8217;m a code jockey). [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Disclaimer</strong>: <em>I am not a database architect nor a certified database programmer. I might not be database guru, but I have been working with SQL Server long enough to know what works and what doesn&#8217;t.</em></p>

<p>I&#8217;m not a database programmer per say, but I&#8217;m expected to be one at work (even though I&#8217;m a code jockey). I don&#8217;t mind it most of the time, but there are times when it becomes really frustrating. Especially when you come across some schema that is poorly implemented. Normalization is a double edged sword. On one side, normalization is good for data integrity. On the other, it becomes a pain in the arse to get at your data. There are ways around the later (Views, de-normalized tables), but, a pain in the arse it still is. The one thing that <em>really</em> bugs me is normalization done wrong. We use Microsoft SQL server at work, but this should apply to any relational database.</p>

<p>Recently, at my day job, I&#8217;ve been working on a particular project which involved consuming data from a third party for use in a .NET web service. We were already consuming data from this vendor but they recently changed the schema (and data) and are deprecating the old format. The new feed is basically a complete dump of their data <strong>and</strong> schema. Not <em>all</em> of their data, just data we subscribe to (about 1M records total).  Instead of modifying our import process to accommodate the current (old) schema (which would have been a huge effort on our part), we just created a new import process and modified the web service.</p>

<p>After working with this new schema for a couple weeks, I have come to the conclusion that, well, it&#8217;s crap. First and foremost, it&#8217;s not normalized properly. If you have an column in a table that looks like it should be a foreign key, then by all means, make it so. For example, say I have a table called Widgets with several columns. One of those columns is called WidgetTypeId and another called WidgetTypeDisplayName. There&#8217;s a prime candidate for another table. I don&#8217;t care if you only have two WidgetTypes, it belongs in its own table. Here&#8217;s why: When selecting records out of the table and filtering on WidgetTypeDisplayName, it gets really expensive. Sure, you could add an index on that column, but it still would be slower compared to joining on a WidgetType table.  If I had ten million widgets and only 100 widget types, I&#8217;m only filtering 100 records vs. ten million.</p>

<p>What about filtering on the WidgetTypeId column? <strong>BZZZZZ</strong>. Where did you get that ID? Did you select it from the same table? Guess what, same difference. Maybe you hard-coded it in the query. That&#8217;s not smart either, especially if you have multiple environments that could possibly be out of sync (i.e. WidgetTypeId 4 in development might not be associated to the same thing in production). Put it in it&#8217;s own table.</p>

<p>I ran into this several times with this new schema at work and it was a complete pain. For one thing, in development, the queries were always relatively quick to return. In production, however, not the same. This database sat on the same server as another production database so there was more load on it. Enough to make the queries perform poorly. On the order of 10 to 40 seconds to return data in some cases. That&#8217;s not good. My solution: create a single de-normalized table (for some reason, we don&#8217;t use views) of commonly used data points. The result was millisecond returns and simple queries. Furthermore, instead of filtering/joining on tables with half a million records, it now filters on less than 20 thousand, <em>properly indexed</em> records.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/06/04/how-not-to-normalize-your-data/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft is in Your Airport, Causing Havoc</title>
		<link>http://www.randys.org/2008/04/29/microsoft-is-in-your-airport-causing-havoc/</link>
		<comments>http://www.randys.org/2008/04/29/microsoft-is-in-your-airport-causing-havoc/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 06:32:00 +0000</pubDate>
		<dc:creator>randy</dc:creator>
		
		<category><![CDATA[General Nerdery]]></category>

		<category><![CDATA[Home]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.randys.org//2008/04/29/microsoft-is-in-your-airport-causing-havoc</guid>
		<description><![CDATA[And you wonder why people have a fear of flying.


  The failure was ultimately down to a combination of human error and a design glitch in the Windows servers brought in over the past three years to replace the radio system&#8217;s original Unix servers, according to the FAA.


Full article
]]></description>
			<content:encoded><![CDATA[<p>And you wonder why people have a fear of flying.</p>

<blockquote>
  <p>The failure was ultimately down to a combination of human error and a design glitch in the Windows servers brought in over the past three years to replace the radio system&#8217;s original Unix servers, according to the FAA.</p>
</blockquote>

<p><a href="http://www.techworld.com/opsys/news/index.cfm?newsid=2275">Full article</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randys.org/2008/04/29/microsoft-is-in-your-airport-causing-havoc/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
