<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://syndication.thedailywtf.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0">
	<channel>
		<title>The Daily WTF</title> 
		<link>http://thedailywtf.com/</link> 
		<description>Curious Perversions in Information Technology</description> 

		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://syndication.thedailywtf.com/TheDailyWtf" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="thedailywtf" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><geo:lat>41.36995</geo:lat><geo:long>-81.862591</geo:long><item>
			<author>Alex Papadimoulis</author> 
			<title>Tales from the Interview: The Missing Interview, Infantile Expectancies, &amp; More</title> 
			<link>http://thedailywtf.com/Articles/The-Missing-Interview,-Infantile-Expectancies,--More.aspx</link> 
			<category>Tales from the Interview</category>
			<pubDate>Tue, 09 Feb 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6783</guid> 
			<description>&lt;p&gt;&lt;b&gt;&lt;u&gt;The Missing Interview&lt;/u&gt; (from Charles Ross)&lt;br /&gt;
I went for an interview to work as a junior IT support Engineer at a certain Royal bank here in Scotland. It was a late interview, around 4:45 in the afternoon, and I turned up at 4:30, sharply dressed, and with all the documents I'd been requested to bring. Since this was a bank and security was a must, I had a full five year history sitting in front of me. &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I sat down and was quickly ushered into an interview room. I sat there for 20 minutes waiting, occasionally sticking my nose out the room to see if anyone was coming. After another ive or so minutes, it was about 4:55 and I decided to go hunting for someone.&lt;/p&gt;
&lt;p&gt;Eventually, I found a receptionist getting ready to leave, and asked her where my interviewer was.&lt;/p&gt;
&lt;p&gt;&amp;quot;Oh dear,&amp;quot; she responded, &amp;quot;she forgot you. Right, go back to the room and fill these in.&amp;quot;&lt;/p&gt;
&lt;p&gt;She handed me a pile of papers and ushered me back to the room. Here, I got my first look at the papers...it was the forms the interviewer fills her opinions in.&lt;/p&gt;
&lt;p&gt;At this point, I filled the form in saying how brilliant I was (literally saying &amp;quot;Candidate is brilliant! Hire Him!&amp;quot; for every field), gave it to the receptionist and walked out.&lt;/p&gt;
&lt;p&gt;Sufficed to say, I didn't hear back.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;u&gt;Infantile Expectancies&lt;/u&gt;(from Roger Garrett)&lt;br /&gt;
I'm currently retired, but am always on the lookout for interesting ventures. I recently came across a job posting for a start-up company offering equity in exchange for work. It looked intriguing so I wrote to them. &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;John, the apparent CEO, responded.&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
Thanx for your reply. The aim is to produce a software vehicle that 
provides automated, simultaneous text translation for the major 
languages of the world.  For example, a business with an existing 
website signing up for this service would have their entire website 
translated into the texts of the major world languages, thereby 
increasing their accessibility multifold.  The service would be a 
monthly fee-based service.&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;I was a little confused about the model. In addition to the enormous technical challenges, automated translation is medicore at best and is already free with Google Translate and browser plug-ins. I wrote back to John asking for some clarification. He seemed a bit irked that I didn't sign on right away.&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
The fact is, from a programming standpoint, we really need a 
supergenius ability level of programmer for this project.
 
From a marketing perspective, we are not inviting input or 
commentary from any potential programmers. In fact, for any 
potential programmer to harbor qualms, doubts, and/or opinions 
regarding the marketing aspect of this project would unneccesarily 
belabor and cloud an already daunting task.  If we wanted marketing 
advice or personnel we would advertise for such.&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Wait... what? I suppose I could have just let it go, but I couldn't help myself replying with &amp;quot;If you are so insistent on not addressing questions raised by a potential partner, and that's what you're asking for, a partner, then you're not going to find anyone who would abide by such absurdities.&amp;quot; He responded shortly thereafter.&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
Opinions are like assholes, Roger, everyone has one.  Yours is now 
unwelcome.  So cease and fucking desist.
  
Contrary to your &amp;quot;opinion&amp;quot;, the only absurdity I've encountered so 
far is your assumptive, ignorant and irritative attitude.  I do 
agree to a partial extent to one thing you said, we can be assured 
that we won't find &amp;quot;you&amp;quot; as a programmer.  In fact, I doubt you 
will find many companies willing to tolerate your infantile 
expectancies.
 
Good luck with that Roger, you will surely need it.&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Not surprisingly, I have yet to see the &amp;quot;company&amp;quot; produce a product. Though, I do see an ad on craigslist for a start-up company offering equity in exchange for work...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;u&gt;Someone Like Kevin&lt;/u&gt; (from Jeanne)&lt;br /&gt;
A recruiter emailed this job description the other day: &lt;/b&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
NEEDS: 
 - a quick learner (ramp up on simulation software, GUI, API 
   interfaces, distributed applications) 
 - a clear communicator, expresses self well at all levels, 
   especially in writing (writing up bugs), writing test cases, 
   collaborating w/ development engineers 
 - well versed on s/w QA practices, QA methodology, QA process 
 - Scripting, shell, automation tools, test tools 
 - someone like Kevin 
 - 3-5 years experience 
 - prior software development experience 
 - Bachelors' in Comp. Sci or Math minimum, with the computer 
   programming or QA work experience.&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;I quickly decided it wasn't for me. I'm nothing like Kevin!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;u&gt;What do you mean?&lt;/u&gt;(from Casey)&lt;br /&gt;
Part of the interview process at my company involves writing a sample application in Java and sending it into the team for review. People who do well on the assignment are brought in for the face-to-face interviews, and each member of the development team will sit down with them one-on-one. One of the guys we brought in bore a striking resemblence, both in appearance and mannerism, to &lt;a href="http://en.wikipedia.org/wiki/Matt_Foley"&gt;Chris Farley's &amp;quot;motivational speaker&amp;quot; character&lt;/a&gt; on Saturday Night Live. &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The first red flag came up when he spent the first half hour of the interview bad-mouthing his current employer.&lt;/p&gt;
&lt;p&gt;Then the second red flag came up: he'd spent over 20 hours on he assignment. His UI alone took 12 hours, and the bulk of that time was spent on a tabbed panel (which should have been trivial). And then I asked him why the print option wasn't implemented.&lt;/p&gt;
&lt;p&gt;&amp;quot;Well, that was on the second page of the assignment,&amp;quot; he said.&lt;/p&gt;
&lt;p&gt;I wasn't quite sure of the revelvance of that, so I asked him how he would implement a print option.&lt;/p&gt;
&lt;p&gt;He got a confused look, &amp;quot;What do you mean?&amp;quot;&lt;/p&gt;
&lt;p&gt;I tried to get more specific and said, &amp;quot;Using Java, if you wanted to send data to a printer, how would you do that?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;I just don't get what you're saying,&amp;quot; he said, growing more irritated and confused by the moment.&lt;/p&gt;
&lt;p&gt;I was running out of ways to phrase it. &amp;quot;It's not a trick question. Java. Printing. Anything come to mind?&amp;quot;&lt;/p&gt;
&lt;p&gt;He looked at me blankly.&lt;/p&gt;
&lt;p&gt;Finally, I had lost patience. &amp;quot;Ok, you have text on your screen. You want to get that text from your screen onto a piece of paper. You're writing a program in Java. How do you get the text from your screen onto a piece of paper?&amp;quot;&lt;/p&gt;
&lt;p&gt;His brow furrowed and his gaze grew distant. I was beginning to think that I smelled something burning, when he weakly supplied &amp;quot;...the printing API?&amp;quot;&lt;/p&gt;
&lt;p&gt;My relief was palpable. &amp;quot;Good! Yes, the printing API! That is how you print in Java.&amp;quot;&lt;/p&gt;
&lt;p&gt;The interview ended shortly after that. When I compared notes with the other interviewers, it was pretty unanimous: he's a talker that goes for volume of information rather than accuracy. Plus, on his way out, he complained that the interview had taken too long.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zOUX6PMgLUKMJOfK6es4LWHhsao/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zOUX6PMgLUKMJOfK6es4LWHhsao/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zOUX6PMgLUKMJOfK6es4LWHhsao/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zOUX6PMgLUKMJOfK6es4LWHhsao/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=ghiHNn5U2kA:4EkbegYqzj4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/ghiHNn5U2kA" height="1" width="1"/&gt;</description> 
			<slash:comments>82</slash:comments> 
			<comments>http://thedailywtf.com/Comments/The-Missing-Interview,-Infantile-Expectancies,--More.aspx</comments>
		</item>
	
		<item>
			<author>Mark Bowytz</author> 
			<title>CodeSOD: Phishing for a Refund</title> 
			<link>http://thedailywtf.com/Articles/Phishing-for-a-Refund.aspx</link> 
			<category>CodeSOD</category>
			<pubDate>Mon, 08 Feb 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6781</guid> 
			<description>&lt;p&gt;As I'm sure is the case with many of you, I sure do love me some tax refund. Once my W2's and other year-end tax forms documents come in the mail, I get my e-File in and wait for my refund to be direct deposited.&lt;/p&gt;
&lt;p&gt;Now, since the whole refund process involves computers and the internet, of course, it's a prime target for spammers and phishers who want nothing more than to ignite a little FUD and get some of your hard earned cash.&lt;/p&gt;
&lt;p&gt;The below snippet comes courtesy of &lt;b&gt;Andy F.&lt;/b&gt; who writes, &amp;quot;Idiotic spammers and phishers probably provide your site with a glut of terrible code, but I got a chuckle out of this credit card validation function found in an HTML file attached to a 'UK Department of Energy Refund Notice.' It also included a variety of non-valid PIN number checks.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;

function Validate() {
   if (document.logonForm.my_card.value == &amp;quot;&amp;quot;) { 
      alert(&amp;quot;Please enter your card number !&amp;quot;); 
      document.logonForm.my_card.focus();
      return false; 
   }

   if (document.logonForm.my_card.value == 0000000000000000) 
      { alert(&amp;quot;Invalid card number.&amp;quot;); return false; }

   if (document.logonForm.my_card.value == 1111111111111111)
      { alert(&amp;quot;Invalid card number.&amp;quot;); return false; }

   if (document.logonForm.my_card.value == 1112223344443231)
      { alert(&amp;quot;Invalid card number.&amp;quot;); return false; }

   if (document.logonForm.my_card.value == 2222222222222222)
      { alert(&amp;quot;Invalid card number.&amp;quot;); return false; }

   if (document.logonForm.my_card.value == 3333333333333333)
      { alert(&amp;quot;Invalid card number.&amp;quot;); return false; }

   if (document.logonForm.my_card.value == 4444444444444444)
      { alert(&amp;quot;Invalid card number.&amp;quot;); return false; }
...
}
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;pre&gt;
 &lt;/pre&gt;
&lt;p&gt;A pretty WTF bit of code to be sure, but Andy's last sentence got my gears turning - &lt;i&gt;Could there really be...MORE?!&lt;/i&gt; So, after scanning Google, I found that it was a piece of hot debate and included the original web page in its full glory.&lt;/p&gt;
&lt;p&gt;As it turns out dear readers, the above code snippet is merely the tip of the iceberg. The entire file itself is the quintessence of WTF. Of course, I never expected that a phishing site would be a beau ideal of good coding practices, but...ugh...you really have to view the source to see what I mean.&lt;/p&gt;
&lt;p&gt;Here's a link to the source - &lt;a href="http://img.thedailywtf.com/images/mark/phisher-source.txt"&gt;as a text file&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, for the adventurous - here's a link to a local copy of the page so, &lt;a href="http://img.thedailywtf.com/images/mark/phisher.html"&gt;preserved as it was originally&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2f64PjZANC_JdgGXejvcR84VSv0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2f64PjZANC_JdgGXejvcR84VSv0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2f64PjZANC_JdgGXejvcR84VSv0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2f64PjZANC_JdgGXejvcR84VSv0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=jRiB4IarV34:N4A3BFs11Io:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/jRiB4IarV34" height="1" width="1"/&gt;</description> 
			<slash:comments>70</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Phishing-for-a-Refund.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>Sponsor Appreciation, Banzai Bouncer, Untraditional Data Rack, &amp; More</title> 
			<link>http://thedailywtf.com/Articles/Sponsor-Appreciation,-Banzai-Bouncer,-Untraditional-Data-Rack,--More.aspx</link> 
			<category>Feature Articles</category>
			<pubDate>Fri, 05 Feb 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6779</guid> 
			<description>&lt;p&gt;Please show your support for The Daily WTF by checking out the companies that have been kind enough to sponsor us. And, in doing so, I&amp;rsquo;m sure you&amp;rsquo;ll find some pretty cool products and services built by like-minded developers and IT professionals.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;table&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td colspan="3"&gt;
            &lt;h3 style="padding-bottom: 2px; background-color: #ab332b; margin: 0px; padding-left: 2px; padding-right: 2px; color: #fff; padding-top: 2px"&gt;The Daily WTF Sponsors&lt;/h3&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=525&amp;amp;AdvertiserID=48&amp;amp;CampaignID=186&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=739876"&gt;&lt;img border="0" alt="Microsoft WebsiteSpark" src="http://img.thedailywtf.com/images/200911/websitespark.png" /&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;img border="0" alt="" width="1" height="1" src="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=525&amp;amp;AdvertiserID=48&amp;amp;CampaignID=186&amp;amp;Task=Get&amp;amp;Mode=TEXT&amp;amp;SiteID=1&amp;amp;RandomNumber=739876" /&gt;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;&lt;a target="_Blank" href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=525&amp;amp;AdvertiserID=48&amp;amp;CampaignID=186&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=739876"&gt;Microsoft WebsiteSpark&lt;/a&gt;&lt;/strong&gt; - a great program for web shops and freelance web developers and designers where you get some great software (Visual Studio Pro, SQL Server, Server 2008, etc), at no upfront cost for three years; it also provides support and resources to help grow business&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=314&amp;amp;AdvertiserID=43&amp;amp;CampaignID=183&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=362559"&gt;&lt;img border="0" alt="Peer 1" src="http://img.thedailywtf.com/images/200904/peer1.png" /&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;img border="0" alt="" width="1" height="1" src="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=314&amp;amp;AdvertiserID=43&amp;amp;CampaignID=183&amp;amp;Task=Get&amp;amp;Mode=TEXT&amp;amp;SiteID=1&amp;amp;RandomNumber=362559" /&gt;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;&lt;a target="_Blank" href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=314&amp;amp;AdvertiserID=43&amp;amp;CampaignID=183&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=362559"&gt;Peer 1&lt;/a&gt;&lt;/strong&gt; - provides award-winning Managed Hosting, Dedicated Hosting, Co-location, and Network services offered through 15 data center across North America. With over 10,000 businesses hosted on their legendary SuperNetwork&amp;trade;backbone, PEER 1 delivers one of the highest server performance and network outputs in the industry.&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=151&amp;amp;AdvertiserID=26&amp;amp;CampaignID=184&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=453314"&gt;&lt;img border="0" alt="Mindfusion" src="http://img.thedailywtf.com/images/200810/Mindfusion.png" /&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;img border="0" alt="" width="1" height="1" src="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=151&amp;amp;AdvertiserID=26&amp;amp;CampaignID=184&amp;amp;Task=Get&amp;amp;Mode=TEXT&amp;amp;SiteID=1&amp;amp;RandomNumber=453314" /&gt;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;&lt;a target="_Blank" href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=151&amp;amp;AdvertiserID=26&amp;amp;CampaignID=184&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=453314"&gt;MindFusion&lt;/a&gt;&lt;/strong&gt; - a great source for flow-charting and diagramming components for a variety of platforms including .NET, WPF, ActiveX and Swing&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=91&amp;amp;AdvertiserID=13&amp;amp;CampaignID=37&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=623197"&gt;&lt;img border="0" alt="SoftLayer" src="http://img.thedailywtf.com/images/200808/softlayer.png" /&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;img border="0" alt="" width="1" height="1" src="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=91&amp;amp;AdvertiserID=13&amp;amp;CampaignID=37&amp;amp;Task=Get&amp;amp;Mode=TEXT&amp;amp;SiteID=1&amp;amp;RandomNumber=623197" /&gt;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;&lt;a target="_Blank" href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=91&amp;amp;AdvertiserID=13&amp;amp;CampaignID=37&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=623197"&gt;SoftLayer&lt;/a&gt;&lt;/strong&gt; - serious hosting provider with datacenters in three cities (Dallas, Seattle, DC) that has plans designed to scale from a single, dedicated server to your own virtual data center (complete with racks and all)&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;a href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=148&amp;amp;AdvertiserID=5&amp;amp;CampaignID=60&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=50765"&gt;&lt;img border="0" alt="SlickEdit" src="http://img.thedailywtf.com/images/200807/slickedit.png" /&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;img border="0" alt="" width="1" height="1" src="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=148&amp;amp;AdvertiserID=5&amp;amp;CampaignID=60&amp;amp;Task=Get&amp;amp;Mode=TEXT&amp;amp;SiteID=1&amp;amp;RandomNumber=50765" /&gt;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;&lt;a target="_Blank" href="http://thedailywtf.com/tizes/a.aspx?ZoneID=0&amp;amp;BannerID=148&amp;amp;AdvertiserID=5&amp;amp;CampaignID=60&amp;amp;Task=Click&amp;amp;SiteID=1&amp;amp;RandomNumber=50765"&gt;SlickEdit&lt;/a&gt;&lt;/strong&gt; - makers of that very-impressive code editor and some pretty neat Eclipse and VisualStudio.NET tools and add-ins,&amp;nbsp;some of which (Gadgets) are free. Check out this &lt;a href="http://visualstudiohacks.com/screencasts/addins/slickedit-versioning-toolbox-screencast/"&gt;short video&lt;/a&gt; highlighting just one of SlickEdit's Visual Studio integration features.&lt;/td&gt;
        &lt;/tr&gt;
        &lt;!--


	&lt;tr&gt;
            &lt;td&gt;&lt;a href="BMP_LINK"&gt;&lt;img alt="SPN_NAME" border="0" src="http://img.thedailywtf.com/images/200811/SPN_NAME.png" /&gt;&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;img src="BMP_IMGLINK" width="1" height="1" border="0"&gt;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;&lt;a target="_Blank" href="BMP_LINK"&gt;SPN_NAME&lt;/a&gt;&lt;/strong&gt; - TODO&lt;/td&gt;
        &lt;/tr&gt;
--&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/blockquote&gt;
&lt;p&gt;And now, back to our regularly, completely off-topic scheduled program.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic1"&gt;&lt;/a&gt;&amp;quot;I came across the &lt;a href="http://www.walmart.com/catalog/product.do?product_id=7754536"&gt;Banzai Jump 'n Go Obstacle Course Bouncer&lt;/a&gt; on Walmart.com,&amp;quot; notes &lt;b&gt;D. Kablanc&lt;/b&gt;, &amp;quot;it looks like Walmart needs to hire a new Photoshop artist.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic1"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/0002675301902_500X500.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic2"&gt;&lt;/a&gt;&amp;quot;Don't they normally put those disclaimers in the fine print?&amp;quot; wonders &lt;b&gt;Martin Sapsed&lt;/b&gt;, &amp;quot;just seems like a strange place putting it next to the sign promoting the water park.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic2"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/25-07-09_1617.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic3"&gt;&lt;/a&gt;&lt;b&gt;John Spalding&lt;/b&gt; writes, &amp;quot;that sure is one Heavy Duty traffic cone.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic3"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/cone.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic4"&gt;&lt;/a&gt;&amp;quot;Wait a sec,&amp;quot; &lt;b&gt;Rowan Pope&lt;/b&gt; writes, &amp;quot;I thought cars came with all DVD players?&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic4"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/dvdCarNS.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic5"&gt;&lt;/a&gt;&amp;quot;Ugh,&amp;quot; an anonymous reader wrote, &amp;quot;the local newspapers really are't catching up...&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic5"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/email-news.gif" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic2"&gt;&lt;/a&gt;&amp;quot;I was in an Ethnic grocery shop in Glasgow,&amp;quot; &lt;b&gt;David&lt;/b&gt; writes, &amp;quot;and spotted this rather untraditional use for a 42U data cabinet.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic2"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/IMAGE_025.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic3"&gt;&lt;/a&gt;&amp;quot;I saw this in a Japanese restaurant in Lisbon,&amp;quot; &lt;b&gt;Miguel Louren&amp;ccedil;o&lt;/b&gt; noted, &amp;quot;do fish really say grrr?&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic3"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/IMG_0070.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic4"&gt;&lt;/a&gt;&amp;quot;Ah, the EULA Hotel,&amp;quot; writes &lt;b&gt;Samuel Hartman&lt;/b&gt;, &amp;quot;I'd hate to see their reservation form!&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic4"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/IMG_0126.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic5"&gt;&lt;/a&gt;&amp;quot;I remember this one,&amp;quot; &lt;b&gt;Justinas Lelys&lt;/b&gt; writes, &amp;quot;it's from when Mickey Rourke is female and Winona Ryder male.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic5"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/the_informers.jpeg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic1"&gt;&lt;/a&gt;&amp;quot;I can't say I was surprised to see that I'm now being charged a fee for being charged fees,&amp;quot; writes &lt;b&gt;Lincoln&lt;/b&gt;, &amp;quot;and with the wierd alignment, I have to wonder if they're saving room for the FEE FEE FEE.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic1"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/sp/fee_fee.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kZEzJOK9tWkrgYAQO1OqGsKSFaE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kZEzJOK9tWkrgYAQO1OqGsKSFaE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kZEzJOK9tWkrgYAQO1OqGsKSFaE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kZEzJOK9tWkrgYAQO1OqGsKSFaE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=8L7ZNtgZHuA:__W5UpfpfNQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/8L7ZNtgZHuA" height="1" width="1"/&gt;</description> 
			<slash:comments>82</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Sponsor-Appreciation,-Banzai-Bouncer,-Untraditional-Data-Rack,--More.aspx</comments>
		</item>
	
		<item>
			<author>Mark Bowytz</author> 
			<title>Emergency Faxes</title> 
			<link>http://thedailywtf.com/Articles/Emergency-Faxes.aspx</link> 
			<category>Feature Articles</category>
			<pubDate>Thu, 04 Feb 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6772</guid> 
			<description>&lt;p&gt;&lt;img class="wtf_floatright" style="float: right; margin: 5px" alt="" src="http://img.thedailywtf.com/images/mark/Mr_Magenta_Personal_Folder/help-me-fax.jpg" /&gt;As far as technologies go, faxing is ancient. It predates the telephone by &lt;a href="http://en.wikipedia.org/wiki/Fax#History"&gt;over a decade&lt;/a&gt; and, despite vast advances in scanning and email technology, the fax still remains a standard form of communication.&lt;/p&gt;
&lt;p&gt;When a transmission goes out, the occasional telecommunication &amp;lsquo;hiccup&amp;rsquo; or line noise can corrupt the fax. Most modern fax machines have some rudimentary error handling that will alerts the user that the fax should be resent.&lt;/p&gt;
&lt;p&gt;This method of managing failures has been working so well that no one really saw fit to change it. That is, until a business analyst at &lt;b&gt;Torre L&amp;rsquo;s&lt;/b&gt; company had a bright idea.&lt;/p&gt;
&lt;p&gt;&amp;ldquo;What if the user isn&amp;rsquo;t babysitting the fax?&amp;quot; he worried. &amp;quot;What if the sender&amp;rsquo;s fax machine can&amp;rsquo;t detect that there was a problem? We should fax back an error report!&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Though the analyst's concern was valid, Torre and his group argued that sending back a failed fax transmission would not necessarily make it easier.&lt;/p&gt;
&lt;p&gt;They argued that it could tie up the original sender's machine and could actually prevent someone from resending their original fax.&lt;/p&gt;
&lt;p&gt;&amp;quot;It's okay,&amp;quot; the analyst replied, &amp;quot;Our software can send and receive in parallel. This idea is the &lt;em&gt;best thing since the iPod&lt;/em&gt;! It's &lt;strong&gt;&lt;em&gt;bulletproof&lt;/em&gt;&lt;/strong&gt;!&amp;quot;&lt;/p&gt;
&lt;p&gt;But the arguments were for nothing; in management's eyes, the business analysts were always right&amp;nbsp;and the feature was completed in short order. Named the &amp;quot;FaxBack&amp;quot; program, it did exactly as the name implied; it faxed a failed transmission back to the sender (as identified by Caller ID) moments after the failure occurred.&lt;/p&gt;
&lt;p&gt;Everything went along without a hitch for a good long while. That is, until two police cruisers &amp;mdash; sirens blazing &amp;mdash; showed up at Torre&amp;rsquo;s office. They said they were responding to a 911 emergency call, but there was no emergency and nobody claimed to have dialed 911.&lt;/p&gt;
&lt;p&gt;They officers left shortly thereafter, but, in the wee hours of the next morning, two different police cruisers rushed to the scene. Again, there was no emergency and no 911 call, so they too left without incident.&lt;/p&gt;
&lt;p&gt;But the third time, when a cruiser showed up the following afternoon, the officers refused to leave until the source of the &amp;ldquo;disturbance&amp;rdquo; was identified. The police department was certain that a call came from a phone number within the company, and they demanded to know what exactly was going on.&lt;/p&gt;
&lt;p&gt;After spending the rest of the afternoon and part of the evening of tracing phone calls internally, Torre traced the 911 calls to the data center, or more specifically, to FaxBack.&lt;/p&gt;
&lt;p&gt;The faxes machines, like the office phones, had to dial &amp;quot;9&amp;quot; for an outside line. So when FaxBack responded to a failed fax from New Delhi by dialing &amp;quot;9&amp;quot;, and then India's international country code of 11, a &amp;quot;special case&amp;quot; rule in the the telecom system kicked in.&lt;/p&gt;
&lt;p&gt;Whoever had first installed the telecom system had the bright idea to treat &amp;ldquo;911&amp;rdquo; as a special case since, ordinarily, one might not think to first dial &amp;ldquo;9&amp;rdquo; in case of an emergency. The special case applied to the lines in the fax pool -- even if the caller would only ever be a computer.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NIPg3kpewTmE8hkWgu8gcidIoFI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NIPg3kpewTmE8hkWgu8gcidIoFI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NIPg3kpewTmE8hkWgu8gcidIoFI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NIPg3kpewTmE8hkWgu8gcidIoFI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=X3fa6BTi_CM:b2rxj1BtluY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/X3fa6BTi_CM" height="1" width="1"/&gt;</description> 
			<slash:comments>234</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Emergency-Faxes.aspx</comments>
		</item>
	
		<item>
			<author>Mark Bowytz</author> 
			<title>CodeSOD: Almost Counting Past 100</title> 
			<link>http://thedailywtf.com/Articles/Almost-Counting-Past-100.aspx</link> 
			<category>CodeSOD</category>
			<pubDate>Wed, 03 Feb 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6775</guid> 
			<description>&lt;p&gt;&amp;quot;At the contract shop where I work,&amp;quot; writes &lt;b&gt;John S.&lt;/b&gt;, &amp;quot;I have been assigned to a new web-enabled mapping program to help take a look at some of the issues they've been having.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;When an item is added to a map, it is given a label, such as &lt;em&gt;Item #1&lt;/em&gt;, &lt;em&gt;Item #2&lt;/em&gt;, etc., with the number on the label incrementing for each new item. We had been having a problem where map labels were not being assigned uniquely when there were more than 100 items per map. It was always starting at &lt;em&gt;Item #100&lt;/em&gt; when reloading the map from the database. This was causing issues since it was the map label name that was being used for the unique identifier (don't get me started on that). Curious, I took a look at the code to decipher how the label ids were being assigned.&amp;quot;&lt;/p&gt;
&lt;div style="font-family: monospace; color: rgb(0, 0, 102);" class="javascript"&gt;setCount&lt;span style="color: rgb(51, 153, 51);"&gt;:&lt;/span&gt; &lt;span style="color: rgb(0, 51, 102); font-weight: bold;"&gt;function&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;label&lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(0, 153, 0);"&gt;{&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 51, 102); font-weight: bold;"&gt;var&lt;/span&gt; layer&lt;span style="color: rgb(51, 153, 51);"&gt;;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 51, 102); font-weight: bold;"&gt;var&lt;/span&gt; count&lt;span style="color: rgb(51, 153, 51);"&gt;;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 0, 102); font-weight: bold;"&gt;if&lt;/span&gt; &lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;label.&lt;span style="color: rgb(102, 0, 102);"&gt;charAt&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;label.&lt;span style="color: rgb(102, 0, 102);"&gt;length&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;-&lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;==&lt;/span&gt; &lt;span style="color: rgb(51, 102, 204);"&gt;' '&lt;/span&gt; &lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(0, 153, 0);"&gt;{&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layer &lt;span style="color: rgb(51, 153, 51);"&gt;=&lt;/span&gt; label.&lt;span style="color: rgb(102, 0, 102);"&gt;substring&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(51, 153, 51);"&gt;,&lt;/span&gt; label.&lt;span style="color: rgb(102, 0, 102);"&gt;length&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;-&lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(51, 153, 51);"&gt;;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count &lt;span style="color: rgb(51, 153, 51);"&gt;=&lt;/span&gt; label.&lt;span style="color: rgb(102, 0, 102);"&gt;substring&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;label.&lt;span style="color: rgb(102, 0, 102);"&gt;length&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;-&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(51, 153, 51);"&gt;;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 153, 0);"&gt;}&lt;/span&gt; &lt;span style="color: rgb(0, 0, 102); font-weight: bold;"&gt;else&lt;/span&gt; &lt;span style="color: rgb(0, 153, 0);"&gt;{&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layer &lt;span style="color: rgb(51, 153, 51);"&gt;=&lt;/span&gt; label.&lt;span style="color: rgb(102, 0, 102);"&gt;substring&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(51, 153, 51);"&gt;,&lt;/span&gt; label.&lt;span style="color: rgb(102, 0, 102);"&gt;length&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;-&lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);"&gt;3&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt;&lt;span style="color: rgb(51, 153, 51);"&gt;;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count &lt;span style="color: rgb(51, 153, 51);"&gt;=&lt;/span&gt; label.&lt;span style="color: rgb(102, 0, 102);"&gt;substring&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;label.&lt;span style="color: rgb(102, 0, 102);"&gt;length&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;-&lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);"&gt;2&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;*&lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="color: rgb(51, 153, 51);"&gt;;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 153, 0);"&gt;}&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 0, 102); font-weight: bold;"&gt;if&lt;/span&gt; &lt;span style="color: rgb(0, 153, 0);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;[&lt;/span&gt;layer&lt;span style="color: rgb(0, 153, 0);"&gt;]&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;&amp;lt;&lt;/span&gt; count&lt;span style="color: rgb(0, 153, 0);"&gt;)&lt;/span&gt; &lt;span style="color: rgb(0, 153, 0);"&gt;{&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 0, 102); font-weight: bold;"&gt;this&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;[&lt;/span&gt;layer&lt;span style="color: rgb(0, 153, 0);"&gt;]&lt;/span&gt; &lt;span style="color: rgb(51, 153, 51);"&gt;=&lt;/span&gt; count &lt;span style="color: rgb(51, 153, 51);"&gt;;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: rgb(0, 153, 0);"&gt;}&lt;/span&gt; &lt;br /&gt;
&lt;span style="color: rgb(0, 153, 0);"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&amp;quot;Each time the map was loaded, a function iterated each layer to find the items assigned to that layer, and then to parse out the number from the code and keep track of the maximum id. Apparently they had the foresight to account for more than 10 items, but not for more than 100.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1ibsLoqfOJANZ-Oysza1yOKX-M8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1ibsLoqfOJANZ-Oysza1yOKX-M8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1ibsLoqfOJANZ-Oysza1yOKX-M8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1ibsLoqfOJANZ-Oysza1yOKX-M8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=4JrT7UCrHLc:AecIOLn82mk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/4JrT7UCrHLc" height="1" width="1"/&gt;</description> 
			<slash:comments>76</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Almost-Counting-Past-100.aspx</comments>
		</item>
	
		<item>
			<author>Lorne Kates</author> 
			<title>Passed Around</title> 
			<link>http://thedailywtf.com/Articles/Passed-Around.aspx</link> 
			<category>Feature Articles</category>
			<pubDate>Tue, 02 Feb 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6776</guid> 
			<description>&lt;p&gt;&lt;img src="http://img.thedailywtf.com/images/201001/rts.jpg" alt="Photo Credit: pheezy @ flickr" class="wtf_imgfloatright" style="margin: 5px; float: right;" /&gt; The rejection had taken three months to arrive, and now somebody, somewhere, owed &lt;b&gt;Luis K&lt;/b&gt; an explanation.&lt;/p&gt;
&lt;p&gt;Why had a &lt;em&gt;required&lt;/em&gt; feature been rejected? He couldn't tell from the cryptic jumble of control codes and received/forwarded stamps that overflowed the &amp;quot;office use only&amp;quot; box. The internal trouble-ticket system just showed &amp;quot;handled externally&amp;quot;.&lt;/p&gt;
&lt;p&gt;He'd discovered the missing feature his first day with Hausdorff Solutions. He'd received a satisfying &amp;quot;good catch&amp;quot; after filing the feature request with his department head. Surely, she'd know why.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px;"&gt;Passed On&lt;/h3&gt;
&lt;p style="margin-top: 0px;"&gt;&amp;quot;I have no clue,&amp;quot; Shirley stated, sliding the paper back to him. &amp;quot;We don't handle these sorts of features.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;But we do navigation functions,&amp;quot; Luis said.&lt;/p&gt;
&lt;p&gt;&amp;quot;This,&amp;quot; she replied, pointing a stiff finger at the form, &amp;quot;Is a &lt;em&gt;mapping&lt;/em&gt; function. Mappings are a completely different department. I have no idea how &lt;em&gt;they&lt;/em&gt; handle these things. You should submit a 27b-6 for clarification.&amp;quot;&lt;/p&gt;
&lt;p&gt;Luis blinked, stymied at the disconnect. He looked at Shirley's accusatory finger.&lt;/p&gt;
&lt;p&gt;Sometimes all the left hand needs to know is &lt;em&gt;where&lt;/em&gt; the right hand is, so it knows where to point the blame.&lt;/p&gt;
&lt;p&gt;&amp;quot;I'd hate if anyone got in trouble for missing this,&amp;quot; he said, frowning. &amp;quot;Who did this get passed to, so I can clarify it with them?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Vern in Accounting,&amp;quot; she offered quickly, pointing out his &amp;quot;received&amp;quot; stamp.&lt;/p&gt;
&lt;p&gt;Vern couldn&amp;rsquo;t have made a price quote without an estimate from Lena in UI Design, and she couldn't modify anything without input from Paul in User Acceptance. Anything Paul did first got submitted for approval by Mr. Fischer, the project lead.&lt;/p&gt;
&lt;p&gt;Mr. Fischer, his face awash in the azure glow of his monitor, didn't even look at the offending slip of paper.&lt;/p&gt;
&lt;p&gt;&amp;quot;We do not deal with new features,&amp;rdquo; gruffed the man in the always-pressed brown suit.&lt;/p&gt;
&lt;p&gt;&amp;quot;It isn't new, sir!&amp;quot; Luis pleaded. &amp;quot;It's in the specs!&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Would it need to be added to the existing navigation subsystem?&amp;quot; Mr. Fischer asked.&lt;/p&gt;
&lt;p&gt;&amp;quot;Yes, but&amp;mdash;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Ergo, it is a new feature. Not our company's responsibility. You'll need to file a 27b-6 with The Consortium.&amp;quot;&lt;/p&gt;
&lt;p&gt;Luis paled at the thought of tangling with that bureaucratic kudzu.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px;"&gt;Passed Up&lt;/h3&gt;
&lt;p style="margin-top: 0px;"&gt;Hausdorff and three other companies formed one of the project's action groups. Their group, along with three other groups, were the German conglomerate. The conglomerate was sub-contracted to another conglomerate of European companies, who were themselves sub-contractors of an organization of customers. Those customers, along with their North American and Asian branches, formed The Consortium. And each member company in The Consortium could, in turn, sub-contract their work out to other companies&amp;mdash; fractally on and on.&lt;/p&gt;
&lt;p&gt;&amp;quot;No, I don't have a 27b-6,&amp;quot; he said to the young woman on the other end of his fifth extra-office phone call. &amp;quot;I just want to know who the request was passed to, so I can find out who they passed it to&amp;mdash; and so forth.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;I can find out for you, I suppose&amp;mdash; if you really feel you need to do that.&amp;quot;&lt;/p&gt;
&lt;p&gt;Luis taken aback by the tone of her voice&amp;mdash; resigned rather than disinterested. &amp;quot;Unless there's a better way?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Perhaps,&amp;quot; she replied, her voice hush. Luis could picture her hunched over the phone, a hand over the receiver as not to be overheard. &amp;quot;But if you tell anyone, I'll deny that we spoke. You didn't phone through official channels so you can't prove anything!&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;I won't tell,&amp;quot; he said, glancing nervously around his cubicle.&lt;/p&gt;
&lt;p&gt;&amp;quot;The truth is, there are only two companies &lt;em&gt;qualified&lt;/em&gt; to handle any request; the one that generated it, and the one that handles it in the end. Everyone else is just an intermediary. Well, maybe those two companies, since they work in the same field, know each other already, right?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Then maybe,&amp;quot; Luis pondered aloud, following her line of thought, &amp;quot;the process could be streamlined a bit by establishing a direct link between them, don't you think?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;I would never!&amp;quot; she retorted, aloud and deliberately. &amp;quot;Good day, sir!&amp;quot;&lt;/p&gt;
&lt;p&gt;Luis hung up, and stared at the form. Nothing looked familiar, just an overlapping litter of foreign control codes and forwarding stamps.&lt;/p&gt;
&lt;p&gt;And then, the form stared back into him.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px;"&gt;Passed Back&lt;/h3&gt;
&lt;p style="margin-top: 0px;"&gt;Luis recognized one of Hausdorff's sub-contractor's control codes. Their peculiar format of encoding the date as a hex number was unmistakable. Had he filed the request directly with them, half of the pass-throughs could have been eliminated.&lt;/p&gt;
&lt;p&gt;And then he recognized the mark of one of that company's sub-contractors...&lt;/p&gt;
&lt;p&gt;Having seen the unseen, he mentally sliced section after section from the jumbled chain. That left just three nodes; Hausdorff to Lindenmayer, Inc. for feasibility, Lindenmayer to Banach Systems for cost analysis, and then...&lt;/p&gt;
&lt;p&gt;Back to Hausdorff for approval?&lt;/p&gt;
&lt;p&gt;Furious, Luis opened the internal ticket-tracking system, and entered Banach's tracking code. If this could have been solved with an intra-company request, or worse, a face-to-face...&lt;/p&gt;
&lt;p&gt;An entry from one and a half months ago popped up.&lt;/p&gt;
&lt;p&gt;&amp;quot;This is a new feature request. We only deal with existing features. Submitter must file a 27b-6. Status: Rejected by Luis K.&amp;quot;&lt;/p&gt;
&lt;p&gt;After a few moments, Luis swept the fragments of his mind off his desk, and dutifully filled in a 27b-6.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-D-9LEsAvqI6cRBbzH1Jtai2ADM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-D-9LEsAvqI6cRBbzH1Jtai2ADM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-D-9LEsAvqI6cRBbzH1Jtai2ADM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-D-9LEsAvqI6cRBbzH1Jtai2ADM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=CsPdQ-8eqmA:rw2t5-1lXLI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/CsPdQ-8eqmA" height="1" width="1"/&gt;</description> 
			<slash:comments>132</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Passed-Around.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>CodeSOD: Else... where?</title> 
			<link>http://thedailywtf.com/Articles/Else-where.aspx</link> 
			<category>CodeSOD</category>
			<pubDate>Mon, 01 Feb 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6778</guid> 
			<description>&lt;p&gt;&amp;quot;I had a professor once who said that given enough NAND gates, he could rule the world,&amp;quot; writes &lt;b&gt;Rob B&lt;/b&gt;. &amp;quot;This was a roundabout way of saying that, using a whole bunch of NAND gates, you could create the function of any other logic gate. You shouldn't, because the other logic gates exist and it would be hugely wasteful to use NAND gates to do the same thing, but it can be done. It turns out this applies to code as well.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;We got some utterly garbage C++ code from a subcontractor. The error-to-lines ratio was amazingly high, and there were a lot of things to hate about it (like having one global function to get bits from a binary value which didn't work, and several different localized one-off solutions which did work). My main WTF moment, however, was the following.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
while(true)
{
    if(mainType == 7)
    {
        subType = 4;
        break;
    }

    if(mainType == 9)
    {
        subType = 6;
        break;
    }

    if(mainType == 11)
    {
        subType = 9;
        break;
    }

    break;
}&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;quot;Just look at that for a minute,&amp;quot; Rob continues, &amp;quot;I spent a lot of time thinking about this. The while loop is only there so that the break can be used to jump over code. I've never seen an unconditional break at the end of a loop before, but there's a first time for everything.&amp;quot;&lt;/p&gt;
&lt;p&gt;Rob added, &amp;quot;all I can figure is that the developer honestly didn't know that there is such a thing as 'else if'. But he did know about 'if', 'while', and 'break', so he cobbled together an 'else if' in the most ridiculous way possible.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/w3ZKMNeulJTPkUQxelD70UhFl1I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w3ZKMNeulJTPkUQxelD70UhFl1I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/w3ZKMNeulJTPkUQxelD70UhFl1I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w3ZKMNeulJTPkUQxelD70UhFl1I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=rQ9koIsxEso:nZ8u9EKVpug:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/rQ9koIsxEso" height="1" width="1"/&gt;</description> 
			<slash:comments>222</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Else-where.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>Error'd: Oh, I see.</title> 
			<link>http://thedailywtf.com/Articles/Oh,-I-see.aspx</link> 
			<category>Error'd</category>
			<pubDate>Fri, 29 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6774</guid> 
			<description>&lt;p&gt;&lt;a name="PPic1"&gt;&lt;/a&gt;&amp;quot;I'm pretty sure that the price tagging software at Forever 21 trims the beginning and end of the Description field,&amp;quot; &lt;b&gt;George&lt;/b&gt;. &amp;quot;Either that, or these are more popular than I realized.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic1"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/menswear.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic1"&gt;&lt;/a&gt;&amp;quot;The new grading software the school uses takes security very seriously,&amp;quot; &lt;b&gt;Ben W-R&lt;/b&gt; writes, &amp;quot;not even the intended recipient can decipher the progress reports.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic1"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/cipher.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic2"&gt;&lt;/a&gt;&amp;quot;I think only Kurt Godel can solve this one,&amp;quot; writes &lt;b&gt;Paul G&lt;/b&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic2"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/eon_password.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic3"&gt;&lt;/a&gt;&lt;b&gt;Frank&lt;/b&gt; got this exceptional note on his invoice.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic3"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/IMG_0002.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic4"&gt;&lt;/a&gt;&amp;quot;I mistyped a date on some web form,&amp;quot; &lt;b&gt;Michael Sondergaard&lt;/b&gt; noted, &amp;quot;obviously, it wasn't wrong enough.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic4"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/input-invalid-data.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic5"&gt;&lt;/a&gt;&amp;quot;I got this error when trying to launch Battlefield 2,&amp;quot; notes &lt;b&gt;Russ&lt;/b&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic5"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/lolwut.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic2"&gt;&lt;/a&gt;&lt;b&gt;Phillip Sitbon&lt;/b&gt; commented, &amp;quot;I love knowing when software points out bad self-referential habits!&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic2"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/Processing-WTF.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic3"&gt;&lt;/a&gt;&amp;quot;I've been planning the migration of a database server to a new Veritas Cluster Server-managed cluster and thought that I should verify the install procedure,&amp;quot; &lt;b&gt;Jarrod Spiga&lt;/b&gt; writes, &amp;quot;but let's just say the &lt;a href="http://img.thedailywtf.com/images/201001/errord/SFW_InstallUpgrade.pdf"&gt;instructions&lt;/a&gt; supplied by Veritas/Symantec are less than clear, especially on pages 123 and 124.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic3"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/SFW_InstallUpgrade.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic4"&gt;&lt;/a&gt;&amp;quot;At the visitors' center in the Little Farm in Tilden Park (Oakland, CA),&amp;quot; notes &lt;b&gt;Colin&lt;/b&gt;, &amp;quot;there's a scale that tells you your body's water volume. Mine is apparently '-STACK @ 555'.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic4"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/stack555.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic5"&gt;&lt;/a&gt;&amp;quot;I've been using a Yamaha AW4416 multitrack recorder a lot lately,&amp;quot; noted &lt;b&gt;Erno Palonheimo&lt;/b&gt;, &amp;quot;this is what happens if you don't have a hard disk hooked up and try to enter the song edit mode. Extra points for the... creature. Penguin? Maybe.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic5"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/oh_i_see.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1-NPai-0pDbhPgo8kswxa3CA89g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1-NPai-0pDbhPgo8kswxa3CA89g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1-NPai-0pDbhPgo8kswxa3CA89g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1-NPai-0pDbhPgo8kswxa3CA89g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=eZ8qCZF6NlE:_vvvzCSrmWw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/eZ8qCZF6NlE" height="1" width="1"/&gt;</description> 
			<slash:comments>105</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Oh,-I-see.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>Classic WTF: The Network Batch File Virus</title> 
			<link>http://thedailywtf.com/Articles/Classic-WTF-The-Network-Batch-File-Virus.aspx</link> 
			<category>Feature Articles</category>
			<pubDate>Thu, 28 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6773</guid> 
			<description>&lt;p&gt;&lt;em&gt;The Network Batch File Virus was originally published on March 15, 2007.&lt;/em&gt; &lt;hr /&gt;
&lt;/p&gt;
&lt;p&gt;The early 90s were exciting. Tim Berners-Lee invented HTML and created the first of the many internets we have today. A bunch of dancing dudes in foil costumes built the first Pentium processor. And who can forget Eritrea gaining independence from Ethiopia? Well, I could, but I wasn't following Ethiopian politics so much those days.&lt;/p&gt;
&lt;p&gt;At the time, &lt;strong&gt;Chilton W.&lt;/strong&gt; was working at a company that provided software that auto insurance companies used to keep track of users, policies, cars, etc. Things were going great, too. They had sold their software to one third of all auto insurance providers in the U.S.&lt;/p&gt;
&lt;p&gt;The architecture consisted of a main system (which they owned) at each insurance provider's location, physically linked to other systems on a local network. This didn't work under the typical client/server model, though, it was a daisy-chained, peer-to-peer setup.&lt;/p&gt;
&lt;p&gt;Often just one computer on the network could connect to the internet via dialup, so troubleshooting was a matter of dialing into the main system, checking for problems, then walking a user through the steps of testing each networked computer. It was usually the low man on the totem pole at the client's site that would get tied up for a few hours, changing configuration settings and testing. It was a tremendously tedious process, and the answer was generally either a bad cable, bad software install, or a dead hard drive.&lt;/p&gt;
&lt;p&gt;Chilton saw an opportunity to simplify the process by deploying a remote diagnostics application. Deployment was, in fact, pretty easy &amp;mdash; a batch file could upload the utility to the insurance provider's main system, then someone there could copy the utility to a floppy and manually get it out across all the other systems. Chilton still didn't like that he'd have to explain to each user how to copy the utility, though, so he added the ability for the utility to replicate itself across the network.&lt;/p&gt;
&lt;p&gt;Chilton's script was a godsend. He could easily diagnose problems with one call, one batch file upload, and one execution of the utility. A few minutes later, a log file would be created that could easily and accurately identify the problem. Chilton's productivity skyrocketed to the point that he could solve ten or more problems in the same time it took his coworkers to diagnose one.&lt;/p&gt;
&lt;p&gt;The future was bright for Chilton. He began showing others how to use the utility, and everyone loved it. When a relative offered to send him back to finish college, though, he put in his two weeks' notice. His boss requested that he write documentation about the utility, so he printed up the batch script and wrote extensive documentation about how it worked. A few days later, he left.&lt;/p&gt;
&lt;p&gt;A year later, he ran into one of his old coworkers and asked how things had been going at the company. &amp;quot;A month after you left, everything went crazy,&amp;quot; he said. &amp;quot;Management said we had to wipe all of our hard drives and recall our systems from the field. Tech support was down for months!&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;What?&amp;quot; asked Chilton. &amp;quot;Why?&amp;quot;&lt;/p&gt;
&lt;p&gt;One of the comments Chilton had left in his script read &amp;quot;this self-replicates, similar to how a virus works.&amp;quot; It was read by the wrong person, and a &amp;quot;security expert&amp;quot; was immediately brought in. His conclusion was that this was clearly viral batch file, undetectable by every antivirus software product on the market. The fear that an elusive virus had permeated throughout the network lead to the company hiring very expensive investigators to look into the issue. The head investigator found nothing, though, so he was fired and the investigation ended. Ultimately, new computers were bought for everyone, and tech support was able to get back on track.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_V6d_RYD10teCWpxSWI3iXDB8b8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_V6d_RYD10teCWpxSWI3iXDB8b8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_V6d_RYD10teCWpxSWI3iXDB8b8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_V6d_RYD10teCWpxSWI3iXDB8b8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=R9BVlRrwZHg:s7_vsnrbkKk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/R9BVlRrwZHg" height="1" width="1"/&gt;</description> 
			<slash:comments>106</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Classic-WTF-The-Network-Batch-File-Virus.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>CodeSOD: Break Out</title> 
			<link>http://thedailywtf.com/Articles/Break-Out.aspx</link> 
			<category>CodeSOD</category>
			<pubDate>Wed, 27 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6771</guid> 
			<description>&lt;p&gt;&amp;ldquo;I&amp;rsquo;m continually amazed by the unique and clever solutions developed by my colleagues,&amp;rdquo; &lt;b&gt;Mark&lt;/b&gt; writes. &amp;ldquo;And I should say, I don&amp;rsquo;t mean &amp;lsquo;amazed&amp;rsquo; in a good, innovative-idea-to-save-company-money sort of way. It&amp;rsquo;s more a &lt;em&gt;wow, that&amp;rsquo;s more wrong than I could have ever imagined&lt;/em&gt; sort of way.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Take, for example, this snippet of code that I found recently.&amp;rdquo;&lt;/p&gt;
&lt;pre&gt;
    for (int i = 0; i &amp;lt; dtModules.Rows.Count; i++)
    {
        if (dtModules.Rows[i][&amp;quot;id&amp;quot;].ToString() == ID.ToString())
        {
            dtModules.Rows.RemoveAt(i);
            i = 34598;  //used to jump out of the for
        }
    }&lt;/pre&gt;
&lt;p&gt;Mark adds, &amp;ldquo;perhaps the original coder thought that the word &amp;lsquo;break&amp;rsquo; must be offensive to someone out? And really, it&amp;rsquo;s easier to just pick a random number to force the for-loop to exit and then hope that nobody ever has more than 34,598 modules.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MTugaGMFn63lI2F0Y-hwVD_5lIk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MTugaGMFn63lI2F0Y-hwVD_5lIk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MTugaGMFn63lI2F0Y-hwVD_5lIk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MTugaGMFn63lI2F0Y-hwVD_5lIk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=O2h0Kz5EgzM:jMl2xGKzMS4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/O2h0Kz5EgzM" height="1" width="1"/&gt;</description> 
			<slash:comments>196</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Break-Out.aspx</comments>
		</item>
	
		<item>
			<author>Mark Bowytz</author> 
			<title>Nobody Does Business on December 31st!</title> 
			<link>http://thedailywtf.com/Articles/Nobody-Does-Business-on-December-31st!.aspx</link> 
			<category>Feature Articles</category>
			<pubDate>Tue, 26 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6765</guid> 
			<description>&lt;p&gt;&lt;img class="wtf_floatright" style="float: right; margin: 5px" alt="" src="http://img.thedailywtf.com/images/mark/kettle_of_fish/no-dec-31.jpg" /&gt;Steve's phone gave its distinctive internal ring.&lt;/p&gt;
&lt;p&gt;&amp;quot;Steve! Hey! Happy New Year, man! Jeff here from Corporate AR!&amp;quot; the caller was speaking a mile a minute. &amp;quot;I sent you a &lt;em&gt;critical&lt;/em&gt; email. Did you get it yet?&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Nothing yet, but let me refresh Outlook,&amp;quot; &lt;strong&gt;Steve S.&lt;/strong&gt; clicked Send-and-Receive and waited for a moment. &amp;quot;Okay... yeah, I see it. Go ahead.&amp;quot;&lt;/p&gt;
&lt;p&gt;Steve gave the caller points for trying to hide his panic, but as things went on, it was quite obvious that something had hit some fan... somewhere. But for the most part, Steve mostly tuned him out. It wasn't the first &amp;quot;Jeff from AR&amp;quot; that he had spoken to.&lt;/p&gt;
&lt;p&gt;Now make no mistake about it: Steve isn't an accountant, nor does he work with any financial systems on a regular basis. But the system that he maintains does, however, feed the corporate Account Receivable (AR) and General Ledger (GL) systems on a regular basis. Periodically, the bean counters reconcile the dollars in the AR system to what has been sent to the GL system as a sort of check-and-balance process and, almost always, everything is in sync. Almost.&lt;/p&gt;
&lt;p&gt;In the first few days of January, it's the same song and dance. An email will land in Steve's inbox, and the source of the email is always who started within the past year or so. The subject is typically something ominous that makes the hair on the back of your neck stand up &amp;mdash; **&lt;span style="font-family: Courier New"&gt;URGENT! CRITICAL ISSUE!** Billing System Clearing Account #12345678 for Business Units XYZ &amp;amp; ABC&lt;/span&gt; &amp;mdash; and the email always comes complete with a few screenshots from systems that look as strange and foreign to a non-finance person as SQL would look to the person sending the request. However, the panic-worthy bottom line is always the same.&lt;/p&gt;
&lt;p&gt;Jeff from AR continued, &amp;quot;the outage for Business Unit ABC is off by $1.3 million and I have no idea what is causing this. Can you please look into these items ASAP and let me know your thoughts?&amp;quot;&lt;/p&gt;
&lt;p&gt;Of course, any time that a balance is over $1 million off, it tends to make anybody sit up and take notice. But for Steve, the feeling of d&amp;eacute;j&amp;agrave; vu was quite palpable.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px"&gt;Did You Check the Logs?&lt;/h3&gt;
&lt;p style="margin-top: 0px"&gt;Steve started into his research by asking, &amp;ldquo;When was the last time that GL was balanced against AR? And was it in balance?&amp;rdquo; While he never got a direct answer to that question, Steve eventually found out that&amp;nbsp;everything seemed to be good right up until the end of December. &amp;ldquo;Were there any errors in the processing of the last GL file we sent you?&amp;rdquo; Steve asked, &amp;ldquo; You know, the file that has the records with the effective dates of December 31st?&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Not sure &amp;ndash; I&amp;rsquo;ll have to check the processing logs and call you back&amp;rdquo; replied Jeff.&lt;/p&gt;
&lt;p&gt;Moments later, Jeff called back and reported that the processing logs said that the problem was, &lt;em&gt;Batch Consists of Posting Transactions in Different GL Periods&lt;/em&gt;. He snarkily added, &amp;quot;well, of course! &lt;em&gt;That&lt;/em&gt; explains it. How could we be so stupid!?&amp;quot;&lt;/p&gt;
&lt;p&gt;Steve thought the problem sounded familiar, so he called up the &amp;quot;GL Gurus&amp;quot; to look more closely at the problem and figure out what it meant. This is when some lights of recognition start to glow more brightly in peoples&amp;rsquo; heads. &amp;ldquo;Hmmmm, it seems we&amp;rsquo;ve seen this before. What does it mean again?&amp;rdquo;&lt;/p&gt;
&lt;p&gt;After lengthy debate, one of the gurus proclaimed &amp;ldquo;Oh, yeah, we can just change the dates in that file from December 31st to&amp;nbsp;December 30th&amp;nbsp;and then rerun the file.&amp;rdquo; So later on, lo and behold, the file processed cleanly and matched the GL 100%. Everyone was happy, vowed to remember to do that next year, and life moved on.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px"&gt;The 13th Period&lt;/h3&gt;
&lt;p style="margin-top: 0px"&gt;This year, Steve simply had enough. He knew he wouldn't remember the issue the following year, and he was not content to just let the matter die.&lt;/p&gt;
&lt;p&gt;Rather than sweep the matter under the rug again, Steve&amp;nbsp;started doing some snooping on his own.&amp;nbsp; Eventually, he found someone who had archived an email from years past.&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;
---------- Forwarded message ----------
From: Lewis Dodgson &amp;lt;ldodgson@initech.com&amp;gt;
To: *GL-All &amp;lt;gl-all@initech.com&amp;gt;
Date: Wed, 2 Jan 2002 13:44:08 -0500
Subject: reminder&amp;mdash;do not use December 31 as journal entry date
 
All,
It has been noted that we have received a couple of journal 
entries with a December 31 effective date. This is a reminder 
that using that date will post the journal entry to Period 13. 
Period 13 is reserved for business unit collapsing entries 
and Corporate year end entries.

Regards,
Lewis Dodgson
Assistant Vice President, Accounting &amp;amp; Operations&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Amazingly, the GL system has special logic built into it based on the magic date of December 31st&amp;nbsp;and it had been there for literally years. Steve wondered &lt;em&gt;Didn&amp;rsquo;t anybody think that anybody processed transactions on the last day of the year? Why wasn&amp;rsquo;t this found out earlier? Sure there was turnover in the financial departments, but the gurus should have remembered the solution, after all, they were the GURUS for crying out loud! &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Enough was now finally enough &amp;ndash; Steve was now committed to do something, to keep this new year cluster&amp;amp;$^% from happening again. He weighed his options - Should he lobby for the dropping of the 13th period? How many systems would this affect? Could he make a case for such a project spanning different groups? Could he sell a techy reason for completely changing how the company did business to a bunch of stuffed shirts in finance?&lt;/p&gt;
&lt;p&gt;In the end, rather than upset the corporate apple cart, Steve put in a simple change request so that his system won&amp;rsquo;t send 12/31/YYYY in any more GL files. If the system hits that date, it&amp;rsquo;ll use 12/30/YYYY instead. The GL system apparently doesn&amp;rsquo;t care.&amp;nbsp;As long as&amp;nbsp;as a date is&amp;nbsp;&amp;ldquo;some time in December&amp;rdquo; and it&amp;rsquo;s not &amp;ldquo;December 31st&amp;rdquo;, things will be fine.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/j3NSkgEO-UtISwt8et0xigHARHc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/j3NSkgEO-UtISwt8et0xigHARHc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/j3NSkgEO-UtISwt8et0xigHARHc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/j3NSkgEO-UtISwt8et0xigHARHc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=T1YawGqWod0:Ml5Qg_W33UA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/T1YawGqWod0" height="1" width="1"/&gt;</description> 
			<slash:comments>110</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Nobody-Does-Business-on-December-31st!.aspx</comments>
		</item>
	
		<item>
			<author>Mark Bowytz</author> 
			<title>CodeSOD: Meaningless Progression</title> 
			<link>http://thedailywtf.com/Articles/Meaningless-Progression.aspx</link> 
			<category>CodeSOD</category>
			<pubDate>Mon, 25 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6762</guid> 
			<description>&lt;p&gt;&amp;quot;One of our desktop applications has a progress bar in it,&amp;quot; &lt;b&gt;Bryce N.&lt;/b&gt; writes, &amp;quot;and as I was working more and more with the code, I noticed that the progress bar would progress to a seemingly random part in the bar, but never past the halfway mark. This would probably be ignored, if it weren't for the fact that I noticed that my breakpoints would only be hit when the bar reached the 'random' mark.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;While I was trying to discover why, I found this in the code:&amp;quot;&lt;/p&gt;
&lt;pre&gt;
     /* There is really NO eloquent way of calculating what the progress 
      * of a given method/task will be.  One task may be downloading or copying a file while another 
      * one might be grabbing huge chunks of data for file creation.  Since we want to see 
      * a progress indicator but can't determine this value, we'll simply play with it so it has the 
      * appearance of running; (i.e. we'll take it to 50%, execute the task, then come back and finish 
      * the progress upon completion.)  This is a Microsoft STANDARD... I'm sure of it! 
      */

     Random R = new Random(); 
     int _percentage = R.Next(Convert.ToInt32(.5 * _bar.Maximum));

     string status = &amp;quot;&amp;quot;; 
     for (int i = 0; i &amp;lt; _bar.Maximum; i++) 
     { 
         if (i == _percentage) 
         { 
             //execute the real code 
         }

         // Always perform progress step 
         _bar.PerformStep(); 
     }
&lt;/pre&gt;
&lt;p&gt;&amp;quot;Well, there you have it, the code tells the progress bar to progress somewhere between 0 and 1/5 the length of the bar, then execute the real code. &lt;i&gt;Brillant!&lt;/i&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1E6jCpIgj8oKXquadojqHIoxx8U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1E6jCpIgj8oKXquadojqHIoxx8U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1E6jCpIgj8oKXquadojqHIoxx8U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1E6jCpIgj8oKXquadojqHIoxx8U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=FIuhwBpRchY:Rlc-rz12nUo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/FIuhwBpRchY" height="1" width="1"/&gt;</description> 
			<slash:comments>152</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Meaningless-Progression.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>Error'd: Scientific Phonation</title> 
			<link>http://thedailywtf.com/Articles/Scientific-Phonation.aspx</link> 
			<category>Error'd</category>
			<pubDate>Fri, 22 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6768</guid> 
			<description>&lt;p&gt;&lt;a name="Pic2"&gt;&lt;/a&gt;&amp;quot;Drat!&amp;quot; &lt;b&gt;Arttu&lt;/b&gt; notes, &amp;quot;the limits of displaying long numbers caught me again!&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic2"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/phonenumber.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic1"&gt;&lt;/a&gt;&amp;quot;It took a few tries,&amp;quot; &lt;b&gt;John&lt;/b&gt; writes, &amp;quot;but the second option worked.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic1"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/reader.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic3"&gt;&lt;/a&gt;&lt;b&gt;Andrew&lt;/b&gt; writes, &amp;quot;I really hope I live to be more than 0 years old.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic3"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/life_expectancy.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic4"&gt;&lt;/a&gt;&amp;quot;IT professionals can wear many hats,&amp;quot; &lt;b&gt;Rich Lovely&lt;/b&gt; wrote, &amp;quot;glad to see our local college is preparing us for this one.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic4"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/ITflower.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Pic5"&gt;&lt;/a&gt;&amp;quot;Thanks for the self-esteem boost, CNN,&amp;quot; writes &lt;b&gt;Chris Heng&lt;/b&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#Pic5"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/cnnperfectten.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic1"&gt;&lt;/a&gt;&amp;quot;I finally matched the lady's head with the buff guy's body!&amp;quot; writes &lt;b&gt;Chris H&lt;/b&gt;, &amp;quot;Does that mean I win?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic1"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/poor%20ad%20placement.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic2"&gt;&lt;/a&gt;&amp;quot;After a hard day's work debugging web services, I decided to visit the vending machine to treat myself&amp;quot; wrote &lt;b&gt;Iain Collins&lt;/b&gt;. &amp;quot;Apparently fate has a sense of humor.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic2"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/29958627.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic3"&gt;&lt;/a&gt;&amp;quot;I saw this today while browsing our University 'Cadetship Opportunities' notice board,&amp;quot; &lt;b&gt;Dean Camera&lt;/b&gt; writes, &amp;quot;Apparently not even the University staff read the darn thing.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic3"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/WTFFlyer.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic4"&gt;&lt;/a&gt;&amp;quot;I stood there for a couple of seconds trying to figure out what this means,&amp;quot; notes &lt;b&gt;Jason Berberich&lt;/b&gt;, &amp;quot;I'm still not sure.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic4"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/31340060.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="PPic5"&gt;&lt;/a&gt;&amp;quot;I signed in remotely to help clean up the work computer over night,&amp;quot; &lt;b&gt;Jacob&lt;/b&gt; writes, &amp;quot;but then I came across this interesting problem with the disk-cleanup wizard.&amp;quot;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="#PPic5"&gt;&lt;img border="0" alt="" src="http://img.thedailywtf.com/images/201001/errord/wtfx.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mvTycXWaP2b15gzzYl_Lk91XRc4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mvTycXWaP2b15gzzYl_Lk91XRc4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mvTycXWaP2b15gzzYl_Lk91XRc4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mvTycXWaP2b15gzzYl_Lk91XRc4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=flTAiV-aeSo:X-xlIYy4r_M:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/flTAiV-aeSo" height="1" width="1"/&gt;</description> 
			<slash:comments>126</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Scientific-Phonation.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>Bad Code Offsets: Open Web Innovation</title> 
			<link>http://thedailywtf.com/Articles/Bad-Code-Offsets-Open-Web-Innovation.aspx</link> 
			<category>Feature Articles</category>
			<pubDate>Thu, 21 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6766</guid> 
			<description>&lt;p&gt;By now I'm sure you've heard of the &lt;a href="http://codeoffsets.com"&gt;Bad Code Offsets&lt;/a&gt; project. I &lt;a href="http://thedailywtf.com/Articles/Introducing-Bad-Code-Offsets.aspx"&gt;announced it here&lt;/a&gt; back in November and gave a &lt;a href="http://thedailywtf.com/Articles/Bad-Code-Offsets-An-Update.aspx"&gt;pretty exciting update&lt;/a&gt; in December, where we were able to give a whole bunch of money to some great open source projects. But what was especially exciting was the &lt;a href="http://codeoffsets.com/Grants.aspx"&gt;The $500 Good Code Grant&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Tell us how your free and open source project prevents bad code from being created &lt;em&gt;and&lt;/em&gt; show us how $500 would make a real difference in your project &lt;br /&gt;
&amp;mdash; or &amp;mdash; &lt;br /&gt;
Propose a new, free and open source project &lt;em&gt;and&lt;/em&gt; show us how $500 would help you get it started&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There were some fantastic projects that contacted us about the grant, but the &lt;a href="http://esr.ibiblio.org/?p=1494"&gt;response from Eric S. Raymond&lt;/a&gt; &amp;mdash; as in, &lt;em&gt;the&lt;/em&gt; &lt;a href="http://en.wikipedia.org/wiki/Eric_S._Raymond"&gt;Eric S. Raymond&lt;/a&gt; &amp;mdash; made the best case for his project, &lt;a href="http://gpsd.berlios.de/"&gt;GPSd&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We really do drive out bad code, in both direct and indirect ways, and we supply examples of good practice for emulation.&lt;/p&gt;
&lt;p&gt;GPSD is a service daemon and device multiplexer that is the open-source world&amp;rsquo;s basic piece of infrastructure for communicating with GPS receivers, and it&amp;rsquo;s everywhere Linux is &amp;ndash; running on PCs, on embedded systems, and on both OpenMoko and the entire line of Maemo cellphones. We&amp;rsquo;re directly relied on by dozens of applications, including &lt;a href="http://www.pygps.org"&gt;pyGPS&lt;/a&gt;, &lt;a href="http://www.kismetwireless.net/"&gt;Kismet&lt;/a&gt;, &lt;a href="http://www.gpsdrive.de/"&gt;GPSdrive&lt;/a&gt;, &lt;a href="http://qpegps.sourceforge.net/"&gt;gpeGPS&lt;/a&gt;, &lt;a href="http://www.gnustep.it/enrico/position/"&gt;position&lt;/a&gt;, &lt;a href="http://roadmap.digitalomaha.net/index.html"&gt;roadmap&lt;/a&gt;, &lt;a href="http://roadnav.sourceforge.net/"&gt;roadnav&lt;/a&gt;, &lt;a href="http://www.navit-project.org/"&gt;navit&lt;/a&gt;, &lt;a href="http://viking.sf.net"&gt;viking&lt;/a&gt;, and &lt;a href="http://gaia.serezhkin.com/"&gt;gaia&lt;/a&gt;. If you&amp;rsquo;re doing anything with GPSes on an open-source operating system, GPSD is your indispensible tool.&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;The reporting protocols used by GPS sensors are a &lt;a href="http://esr.ibiblio.org/?p=801"&gt;hideous mess&lt;/a&gt; &amp;mdash; the kind of mess that tends to nucleate layers of bad code around it as programmers with insufficient domain knowledge try to compensate for the deficiencies at application level and wind up snarling themselves up in ever-nastier hairballs. Part of what GPSD does is firewall all this stuff away; we know everything about the mess so you don&amp;rsquo;t have to, and we present clean data on a well-known port in a well-documented wire format. We then provide client-side service libraries that will unpack GPS reports into native C, C++, Python, or Perl structures so you don&amp;rsquo;t even have to know about our wire format.&lt;/p&gt;
&lt;p&gt;If our client applications had to deal with the back-end mess of poorly-specified NMEA 0183 and seventeen different vendor-specific binary protocols, I for dead certain &lt;em&gt;guarantee&lt;/em&gt; that the total community bug load from GPS-related problems would go up by an order of magnitude. And I&amp;rsquo;d bet more than any of the $500 prizes the Alliance is offering on the bug count going up by &lt;em&gt;two&lt;/em&gt; orders of magnitude.&lt;/p&gt;
&lt;p&gt;We also try to drive out bad code indirectly in the same way we keep our defect level low &amp;mdash; by providing an example of good practice that extends all the way up from our development habits to the zero-configuration design of the gpsd daemon.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;We're proud to support the GPSd project, and will be disbursing the grant money right away. Ideally, we'd like to deliver a giant, over-sized check in person, but we felt the exorbitant production cost was not a good way to spend the Alliance's limited resources. And speaking of those resources...&lt;/p&gt;
&lt;blockquote style="border-bottom: black 1px solid; border-left: black 1px solid; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; font-size: 90%; border-top: black 1px solid; border-right: black 1px solid; padding-top: 5px"&gt;
&lt;h3 style="margin-bottom: 0px"&gt;Join the Alliance for Code Excellence!&lt;/h3&gt;
&lt;p style="margin-top: 0px"&gt;Thank you to everyone who joined up as a &lt;a href="http://codeoffsets.com/Members.aspx"&gt;Patron Member&lt;/a&gt;. As I mentioned before, The Alliance for Code Excellence is a not-for-profit venture that's 100% volunteer driven, and members pay for the hard costs (materials, legal, postage, etc) through their annual dues of $50.&lt;/p&gt;
&lt;p&gt;So if you like what we do, feel free to become a member. A one-year membership is $50 and, as a welcoming gift, you'll receive a &lt;a href="http://img.thedailywtf.com/images/201001/01202010102.jpg"&gt;black T-shirt&lt;/a&gt; with our logo on it.&lt;/p&gt;
&lt;p&gt;
&lt;table border="0" cellspacing="0" cellpadding="0"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;img alt="" src="http://img.thedailywtf.com/images/200911/bc_logo_sm.png" /&gt;&lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
            &lt;td&gt;
            &lt;form style="margin: 10px" method="post" action="https://www.paypal.com/cgi-bin/webscr" target="paypal"&gt;
                &lt;h3&gt;Become a Patron Member&lt;/h3&gt;
                &lt;p&gt;Cost: $50.00&lt;/p&gt;
                &lt;input type="hidden" name="cmd" value="_s-xclick" /&gt; &lt;input type="hidden" name="hosted_button_id" value="10208957" /&gt; &lt;input type="hidden" name="on0" value="T-Shirt Size" /&gt;Select T-Shirt Size: &lt;select name="os0"&gt;
                &lt;option value="Small" selected="selected"&gt;Small&lt;/option&gt;
                &lt;option value="Medium"&gt;Medium&lt;/option&gt;
                &lt;option value="Large"&gt;Large&lt;/option&gt;
                &lt;option value="X-Large"&gt;X-Large&lt;/option&gt;
                &lt;option value="XX-Large"&gt;XX-Large&lt;/option&gt;
                &lt;option value="XXX-Large"&gt;XXX-Large&lt;/option&gt;
                &lt;/select&gt; &lt;br /&gt;
                &lt;input border="0" alt="PayPal - The safer, easier way to pay online!" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" type="image" name="submit" /&gt; &lt;img border="0" alt="" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif" /&gt;
            &lt;/form&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 style="margin-bottom: 0px"&gt;Good Code Grant 2.0&lt;/h3&gt;
&lt;p style="margin-top: 0px"&gt;Thanks to our members' support, we'll be giving away another $500 to a small, lesser-known open source project that could use it effectively. The guidelines are &lt;em&gt;almost&lt;/em&gt; the same as before: simply &lt;a href="http://codeoffsets.com/Contact.aspx"&gt;tell us&lt;/a&gt; how your free and open source project prevents bad code from being created &lt;em&gt;and&lt;/em&gt; show us how $500 would make a real difference in your project, and we'll consider donating to you.&lt;/p&gt;
&lt;p&gt;So what's different from last time? We're only considering &lt;em&gt;existing&lt;/em&gt; projects, not to-be-created projects. It's not that we don't want to support ideas, it's just that we have another idea for those.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px;"&gt;&lt;a name="igrant"&gt;&lt;/a&gt;Announcing the Open Web Innovation Grant&lt;/h3&gt;
&lt;p style="margin-top: 0px"&gt;We've noticed that there are a whole bunch of open source frameworks and applications, but there aren't too many free and open source websites that &lt;em&gt;aren't&lt;/em&gt; inundated with ads. One great website that comes to mind is &lt;a href="http://www.ajaxload.info/"&gt;Ajaxload&lt;/a&gt;; it's a simple little website that makes those ajax &amp;quot;loading&amp;quot; icons for you.&lt;/p&gt;
&lt;p&gt;We're not entirely sure why there's a lack of these websites around, but I suspect a large part has to do with the cost. Software tools aside, a website that generates a reasonable amount of traffic can cost a bit of money to run, and not too many people are eager to commit to spending that in the long term.&lt;/p&gt;
&lt;p&gt;We're hoping to change that. The goal of the &lt;em&gt;Open Web Innovation Grant&lt;/em&gt; is to remove the cost barriers to creating free and open source web applications. Here's what we'll do as part of the grant:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;b&gt;Web Hosting&lt;/b&gt; - from ASP.NET to Zend PHP, we'll get a prime space on the web for your project&lt;/li&gt;
    &lt;li&gt;&lt;b&gt;Software Tools&lt;/b&gt; - if there's a particular IDE or control suite, we can get that, too&lt;/li&gt;
    &lt;li&gt;&lt;b&gt;Advertising&lt;/b&gt; - we'll promote the project to developers through targeted advertising on popular developer sites like this one&lt;/li&gt;
    &lt;li&gt;&lt;b&gt;Cash&lt;/b&gt; - up to $500 to get started&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All you need to do is &lt;a href="http://codeoffsets.com/Contact.aspx"&gt;tell us&lt;/a&gt; your idea, how you would implement it, and what support you'd need to launch. Remember, the goal is to build a project that helps reduce the generation of bad code, even if that means saving developers time.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px"&gt;The 1,000 SLOC Offset&lt;/h3&gt;
&lt;p style="margin-top: 0px"&gt;I was originally planning on ending things in the previous paragraph, but I couldn't resist sharing this. Bad Code Offsets can be &lt;a href="http://codeoffsets.com/Buy.aspx"&gt;purchased&lt;/a&gt; in all sorts of denominations, ranging from 1 SLOC to 10K. While we certainly expected the 1 SLOC's through 100 SLOC's to be sold, we were surprised when an anonymous supporter purchased a 1,000 SLOC Bad Code Offset. I'll leave you with a (crappy cellphone camera) picture of what the 1,000 SLOC offset looks like.&lt;/p&gt;
&lt;blockquote&gt;&lt;img alt="" src="http://img.thedailywtf.com/images/201001/01202010101.jpg" /&gt;&lt;/blockquote&gt;
&lt;p&gt;Unlike the lower denominations, these are oversized and come matted and framed in the color of your choice.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Y_r6vZ5G8snx9k74HwnFQNrANo0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y_r6vZ5G8snx9k74HwnFQNrANo0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Y_r6vZ5G8snx9k74HwnFQNrANo0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y_r6vZ5G8snx9k74HwnFQNrANo0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=YCQI8iBCveQ:csKMeIOinXE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/YCQI8iBCveQ" height="1" width="1"/&gt;</description> 
			<slash:comments>51</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Bad-Code-Offsets-Open-Web-Innovation.aspx</comments>
		</item>
	
		<item>
			<author>Alex Papadimoulis</author> 
			<title>Bring Your Own Code: Avoiding the Splice</title> 
			<link>http://thedailywtf.com/Articles/Avoiding-the-Splice.aspx</link> 
			<category>Bring Your Own Code</category>
			<pubDate>Wed, 20 Jan 2010 14:00:00 GMT</pubDate> 
			<guid isPermaLink="false">6764</guid> 
			<description>&lt;p&gt;One mistake that rookie carpenters will often make is to measure for trim molding &amp;ndash; baseboard, casing, crown, etc &amp;ndash; by the linear foot. Take the casing on a 7&amp;rsquo; door, for example. Each leg of the door requires 84&amp;rdquo; of trim and the header needs 32&amp;rdquo;. If your house has 16 doors, and each side of the door needs 200&amp;rdquo; of trim, then that adds up to 533&amp;rsquo; 4&amp;rdquo; (16 x 2 x 200&amp;rdquo;). And since you can get casing in 16&amp;rsquo; boards, you&amp;rsquo;d need to order 34 boards to get the job done, right?&lt;/p&gt;
&lt;p&gt;Not quite. You&amp;rsquo;d actually need 38 of those 16&amp;rsquo; boards. Although each 16&amp;rsquo; board can easily fit two 7&amp;rsquo; door legs, the remaining 24&amp;rdquo; should be scrapped, as a splice in a header casing is about as professional as &lt;a href="http://thedailywtf.com/Articles/modHmm.aspx"&gt;modHmm&lt;/a&gt;. And while door casings are relatively easy to measure for, baseboard and crown molding can get trickier.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;img alt="Photo Credit: oddsock @ flickr" src="http://img.thedailywtf.com/images/201001/trimMeasure.jpg" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;A general rule of thumb &amp;ndash; especially for stained wood &amp;ndash; is that splices should be avoided at all (reasonable) costs. While it&amp;rsquo;s unreasonable to expect an extra-long board to be made for rooms longer than 16&amp;rsquo;, there&amp;rsquo;s no reason to splice a 7&amp;rsquo; and 4&amp;rsquo; section together. Actually, there is a reason, but that has less to do with materials cost and more to do with a lazy carpenter who estimated incorrectly.&lt;/p&gt;
&lt;h3 style="margin-bottom: 0px"&gt;Bring Your Own Code&lt;/h3&gt;
&lt;p style="margin-top: 0px"&gt;Your exercise for the day: write a function that calculates the number of boards needed to trim out a house.&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;The input should be a series/array of integers that represent each individual measurement; for example, a single 7&amp;rsquo; door would be { 84, 32, 84 }.&lt;/li&gt;
    &lt;li&gt;The output should be the minimum number of boards needed to complete the job&lt;/li&gt;
    &lt;li&gt;The board lengths avaiable can be one of three, with the longer boards prefered when possible:
    &lt;ul&gt;
        &lt;li&gt;&lt;b&gt;Easy&lt;/b&gt; - only 16&amp;rsquo; boards&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Medium&lt;/b&gt; - 8&amp;rsquo; or 16&amp;rsquo;&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Hard&lt;/b&gt; - an (additional) array of integers that is an input to the function&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For bonus points, have your program print the cuts needed on each board.&lt;/p&gt;
&lt;p&gt;Special thanks to the lazy carpenter that I hired (and all his spliced moldings) for inspiring this BYOC, and to &lt;b&gt;Todd Lewis&lt;/b&gt; for encouraging me to finally write it up. If you have your own fun coding exercise, don&amp;rsquo;t hesitate to &lt;a href="http://thedailywtf.com/contact.aspx?AP"&gt;contact me&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_zvchGer-5GLZe6zaNKKIQmLdC8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_zvchGer-5GLZe6zaNKKIQmLdC8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_zvchGer-5GLZe6zaNKKIQmLdC8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_zvchGer-5GLZe6zaNKKIQmLdC8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://syndication.thedailywtf.com/~ff/TheDailyWtf?a=SJvCpUPP4OY:afsx7Qd2244:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/TheDailyWtf?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/TheDailyWtf/~4/SJvCpUPP4OY" height="1" width="1"/&gt;</description> 
			<slash:comments>173</slash:comments> 
			<comments>http://thedailywtf.com/Comments/Avoiding-the-Splice.aspx</comments>
		</item>
		
	</channel>
</rss>
