<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.thedailywtf.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>TDWTF Forums</title><link>http://forums.thedailywtf.com/forums/</link><description>All Posts</description><dc:language>en-US</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>network Block WTF</title><link>http://forums.thedailywtf.com/forums/thread/214223.aspx</link><pubDate>Mon, 01 Feb 2010 17:28:04 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214223</guid><dc:creator>Indrora</dc:creator><slash:comments>37</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214223.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214223</wfw:commentRss><description>My school uses an outdated&amp;nbsp;website blocker.&amp;nbsp;When blocked it does an HTTP REDIRECT&amp;nbsp;to&amp;nbsp;a URL. Well neat, I thought, I can&amp;nbsp;make this do my bidding!&lt;br /&gt;HTTP:// (proxy-IP):81/cgi/block.cgi?URL=[insert-url-here]&amp;amp;IP=[insert-ip-here]&amp;amp;CAT=[insert-category-here]&amp;amp;USER=[insert-username-here] 
&lt;p&gt;I was able to produce this, among other things with my engineering of the blocker:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="" src="http://sonof.bandit.name/files/morestuff/more_pictures/lulz.png" width="619" height="290" /&gt;&lt;/p&gt;
&lt;p&gt;I lol&amp;#39;d when they saw their own website blocked under pr0n. as well, the &amp;quot;review&amp;quot; link redirects to an email (mailto:) url of mailto ::admin@company.localdomain&amp;amp;subject=please unblock my site&lt;/p&gt;</description></item><item><title>...seriously?</title><link>http://forums.thedailywtf.com/forums/thread/214881.aspx</link><pubDate>Tue, 09 Feb 2010 08:57:03 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214881</guid><dc:creator>DOA</dc:creator><slash:comments>0</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214881.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214881</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve decided to buy some stuff from amazon and I figured that that I might as well check out all those books I keep hearing about; Code Complete, The Pragmatic Programmer, etc, etc. All was well until I got to Peopleware. &lt;/p&gt;&lt;p&gt;Can someone explain to me why this costs 130$? And that&amp;#39;s in amazon.com. I live in the EU so I checked amazon.co.uk first where it costs -get this- 153 quid or 175 euro. That&amp;#39;s 240 bucks. For a book. I can buy a bookcase for that.&lt;/p&gt;&lt;p&gt;What the hell is in that book, the answer to life, the universe and everything? Or is it the materials? Is it made out of diamond dust ink on gold-plated pages? &lt;/p&gt;</description></item><item><title>This is some serious overheating.</title><link>http://forums.thedailywtf.com/forums/thread/214754.aspx</link><pubDate>Sun, 07 Feb 2010 13:11:50 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214754</guid><dc:creator>Aimee the Great</dc:creator><slash:comments>15</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214754.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214754</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Screenie this time!&lt;/p&gt;&lt;p&gt;&lt;img src="http://img694.imageshack.us/img694/2577/thisissomeseriousoverhe.jpg" alt="" align="" border="" height="640" hspace="" width="482" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;On the other hand, from a different program ...&lt;/p&gt;&lt;p&gt;&lt;img src="http://img694.imageshack.us/img694/512/brrrr.jpg" alt="" align="" border="" height="485" hspace="" width="412" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I knew Canada was cold, but this is a little ridiculous. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Both from my old computer. Very simple explanation:
Only one temperature sensor.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Average age of TDWTF'ers</title><link>http://forums.thedailywtf.com/forums/thread/190552.aspx</link><pubDate>Tue, 27 Jan 2009 17:31:39 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:190552</guid><dc:creator>Renan "C#" Sousa</dc:creator><slash:comments>165</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/190552.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=16&amp;PostID=190552</wfw:commentRss><description>I don&amp;#39;t know if this has been made before, but a quick search on the site returned no results. Out of curiosity, how old are you guys?

I&amp;#39;m 25. BTW, I was introduced to IT in general when I was 16, but only took it seriously when I got into CS in college when I was 21.</description></item><item><title>Everything on the net is bollocks</title><link>http://forums.thedailywtf.com/forums/thread/214820.aspx</link><pubDate>Mon, 08 Feb 2010 17:16:28 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214820</guid><dc:creator>Indrora</dc:creator><slash:comments>4</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214820.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=16&amp;PostID=214820</wfw:commentRss><description>&lt;p&gt;I hate it coming from the hellhole we know as DaniWeb, but something tells me that WebSense hasnt been archiving the minions of Moot... [&lt;a title="[article]" href="http://www.daniweb.com/news/story258407.html#" target="_blank"&gt;article&lt;/a&gt;]&lt;/p&gt;
&lt;blockquote&gt;Covering the last six months of 2009, the report is based upon the findings of the ThreatSeeker Network which is used to discover, classify and monitor global Internet threats and trends courtesy of something called the Internet HoneyGrid. &lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;Well then, looks like I need to go feed the bees that occupy the tubes. </description></item><item><title>Nobody shares knowledge better than this</title><link>http://forums.thedailywtf.com/forums/thread/207313.aspx</link><pubDate>Sat, 07 Nov 2009 14:41:25 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:207313</guid><dc:creator>SpectateSwamp</dc:creator><slash:comments>697</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/207313.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=26&amp;PostID=207313</wfw:commentRss><description>&lt;p&gt;Step 1 build your hoard:&lt;br /&gt;===============&lt;/p&gt;
&lt;p&gt;It&amp;#39;s best keep copies of your knowledge in the lowest format possible. Text, jpg pics, mpg video, mp3 audio etc &lt;br /&gt;Then you don&amp;#39;t have to drag around copies of the proprietary software that goes with it.&lt;/p&gt;
&lt;p&gt;Do many of your notes at home and bring them to the office (keep the latest version)&lt;br /&gt;As well make lots of notes at work, doing screen captures of important functions and details.&lt;br /&gt;Document the important know-how that you brought to the Company.&lt;br /&gt;For knowledge co-workers have shared with you (add that to your hoard)&lt;br /&gt;Gather pictures from the company picnic or evenings out. Always take pictures of key whiteboard details.&lt;/p&gt;
&lt;p&gt;By Hoarding all the important details you now have something to share!&lt;/p&gt;
&lt;p&gt;If you are in a non-sharing environment. (no copies allowed) Then keep even more notes at home (and&lt;br /&gt;email those to the office) use a digital camera or camcorder to secure the other info you need. Or have&lt;br /&gt;a more gutsy co-worker do the copies for you.&lt;/p&gt;
&lt;p&gt;Sharing knowledge is about opening this valuable hoard to others. &lt;br /&gt;There would be no point in backing it up and keeping the files current, without a personal copy.&lt;/p&gt;
&lt;p&gt;For the most part, I very seldom used company notes and screen captures once I left. &lt;br /&gt;It was probably the fact that I referenced them lots and depended on the info so much that I&amp;nbsp; &lt;br /&gt;wanted a copy on leaving. The main thing is the staff that remained had it. &lt;/p&gt;
&lt;p&gt;How to share knowledge using Swamp search: &lt;br /&gt;=============================&lt;/p&gt;
&lt;p&gt;This app makes it easy for everyone to organize their data. It can also play random samples of&lt;br /&gt;my: Video, Music, Pics and text. This helps me stay familiar with my own data hoard.&lt;/p&gt;
&lt;p&gt;Archiving video, photo or audio files requires 2 text lines. The first contains the details&lt;br /&gt;and the second line is the path to the file. ie &amp;quot;c:\search\myvid023.mpg&amp;quot; or c:\search\mypic03328.mpg &lt;br /&gt;Even if this search was no longer available, the above data would still be valuable and easy to get at.&lt;/p&gt;
&lt;p&gt;To share knowledge you have to show it off. I used it to display random screen captures, when co-workers&lt;br /&gt;drop by. Set it to play from a USB drive. If staff like it. Give it to them.&lt;/p&gt;
&lt;p&gt;Examples of sharing:&lt;br /&gt;=============&lt;br /&gt;We cataloged 5000+ family album pictures in the late 1990&amp;#39;s then burned copies, set to auto display and gave&lt;br /&gt;copies to family members, media. A local magazine published the &amp;quot;Oldie&amp;quot; black and white pics a few times.&lt;/p&gt;
&lt;p&gt;If I was scanning those pictures today. I&amp;#39;d probably use a camcorder to video them in. Going picture&lt;br /&gt;to picture, zooming in on the details and explaining who was who.&lt;/p&gt;
&lt;p&gt;I did 2000+ screen captures and many notes during a 10 month span of doing telco billing system conversions... &lt;/p&gt;
&lt;p&gt;I have photos and scans of my media attention since the early 80&amp;#39;s (at my fingertips ready to share)&lt;/p&gt;
&lt;p&gt;Knowledge sharing is retricted due to a number of factors. Don&amp;#39;t let that scare or stop you. &lt;/p&gt;
&lt;p&gt;There is no reason not to hoard and share your family data. Just do it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>In Case of Power Outage</title><link>http://forums.thedailywtf.com/forums/thread/214781.aspx</link><pubDate>Mon, 08 Feb 2010 04:49:01 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214781</guid><dc:creator>AlpineR</dc:creator><slash:comments>26</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214781.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214781</wfw:commentRss><description>&lt;p&gt;During the big Snowpocalypse blizzard here in Washington, DC, the local CBS station had some helpful hints crawling along the bottom of the screen, including what to do if your power is out:

&lt;p&gt;Don&amp;#39;t heat your home with cooking grills.&lt;br /&gt;
Use multiple blankets to stay warm at night.&lt;br /&gt;
Avoid opening your refrigerator to keep the food cold longer.&lt;br /&gt;
A generator can power your television and converter box.&lt;br /&gt;

&lt;p&gt;Sound advice, but I think they missed their target audience.</description></item><item><title>Read/Write windows file metadata</title><link>http://forums.thedailywtf.com/forums/thread/209859.aspx</link><pubDate>Thu, 10 Dec 2009 19:57:49 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:209859</guid><dc:creator>spammer32</dc:creator><slash:comments>11</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/209859.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=19&amp;PostID=209859</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is it possible to read/write metadata stored in files under the windows
os? (The data you can reach by right clicking a file in Windows and
choosing properties)?&lt;/p&gt;</description></item><item><title>Just plain awful website</title><link>http://forums.thedailywtf.com/forums/thread/214401.aspx</link><pubDate>Wed, 03 Feb 2010 14:22:21 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214401</guid><dc:creator>campkev</dc:creator><slash:comments>54</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214401.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214401</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://yvettesbridalformal.com/index.htm"&gt;http://yvettesbridalformal.com/index.htm&lt;/a&gt;&lt;/p&gt;</description></item><item><title>I guess the URL got pissed off at me.</title><link>http://forums.thedailywtf.com/forums/thread/214741.aspx</link><pubDate>Sun, 07 Feb 2010 00:36:26 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214741</guid><dc:creator>Aimee the Great</dc:creator><slash:comments>18</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214741.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214741</wfw:commentRss><description>&lt;p&gt;I was going through the Error&amp;#39;d thing and copying the image locations of some funny pics, to paste into an IM window. (I&amp;#39;m too lazy to upload them myself.) And most of them were http://thedailywtf.com/forums/PostAttachment.aspx. But after a while of doing that, I ended up with this odd URL in my clipboard:&lt;/p&gt;&lt;p&gt;http://thedailywtf.com/forums/omgstfuomghowmanylinksareyougoingtopostjeez.aspx &lt;/p&gt;&lt;p&gt;&amp;nbsp;Unfortunately, no screenshot. I am highly confused. &lt;/p&gt;</description></item><item><title>You Rock Alagasco</title><link>http://forums.thedailywtf.com/forums/thread/214745.aspx</link><pubDate>Sun, 07 Feb 2010 07:08:24 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214745</guid><dc:creator>campkev</dc:creator><slash:comments>15</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214745.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214745</wfw:commentRss><description>Just signed up for eBill with Alagasco (Alabama Gas Co).  WTF&amp;#39;s in the procedure:
&lt;br /&gt;
1) Had to type in my account #, which had 8 consecutive 0&amp;#39;s in it.  That&amp;#39;s fun to figure out.   Minor, I know, but evidently it is a problem for more than one person as the page saiid &amp;quot;Enter your account number, including all the 0&amp;#39;s
&lt;br /&gt;
2) Username had to be six characters long, but my password only had to be 5.  Great.  Thanks for making sure my username is more secure than my password.
&lt;br /&gt;
3) As soon as I had finished registering, it took my back to the login page and made me login again.
&lt;br /&gt;
4) As soon as I logged in, it told my my password was expired and made me change it.  So now, I have to change it to a non standard password, which I know I&amp;#39;m gonna forget.</description></item><item><title>Need help passing arrays from vb .NET to ActiveX control (*.ocx) </title><link>http://forums.thedailywtf.com/forums/thread/110344.aspx</link><pubDate>Wed, 10 Jan 2007 14:36:59 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:110344</guid><dc:creator>Urlik</dc:creator><slash:comments>10</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/110344.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=19&amp;PostID=110344</wfw:commentRss><description>&lt;p&gt;Hi all,&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have an application written in Visual Basic 6 that uses an ActiveX
control written in Visual C++ 6. I'm moving the visual basic 6
application to visual basic .NET (2003). The problem is when I try to
pass an array from the visual basic code as a parameter of a function
of the control.&lt;br&gt;
In Visual Basic 6 the code is something like this:&lt;br&gt;
&lt;br&gt;&lt;/p&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;div style="margin-left:40px;"&gt;Dim dummy(10) as Long&lt;br&gt;'...&lt;br&gt;'some code&lt;br&gt;'...&lt;br&gt;call myActiveXControl.myFunction(dummy(0))&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;
myFunction expects a reference of the first element of an array of
Integers. Passing the first element of the array works fine in visual
basic 6.&lt;br&gt;
&lt;br&gt;
But if I try the above code in vb .NET, changing the definition of the
array for this one (type Long in vb 6 is Integer in vb .NET) :&lt;br&gt;
&lt;br&gt;&lt;div style="margin-left:40px;"&gt;Dim dummy(10) as Integer&lt;br&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;
it does not work, the ActiveX control cannot even retrieve the contents of the array.&lt;br&gt;&lt;/p&gt;&lt;p&gt;I suppose the solution has something to do with marshaling, but I don't have any idea of what to do&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;br&gt;
&lt;br&gt;
Any help would be appreciated &lt;img src="http://forums.microsoft.com/MSDN/images/emoticons/smile_regular.gif"&gt; &lt;br&gt;
&lt;br&gt;
Thanks in advance



&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Your password is too good</title><link>http://forums.thedailywtf.com/forums/thread/214279.aspx</link><pubDate>Tue, 02 Feb 2010 11:59:10 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214279</guid><dc:creator>fsphil</dc:creator><slash:comments>35</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214279.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214279</wfw:commentRss><description>&lt;p&gt;From apc.com: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://img85.imageshack.us/img85/3483/apcoops.png" alt="" align="" border="1" height="205" hspace="" width="495" /&gt;&lt;/p&gt;&lt;p&gt;Wait, what?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Certificate Error</title><link>http://forums.thedailywtf.com/forums/thread/214594.aspx</link><pubDate>Fri, 05 Feb 2010 15:10:04 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214594</guid><dc:creator>durnurd</dc:creator><slash:comments>3</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214594.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214594</wfw:commentRss><description>&lt;p&gt;I just got an email from IT about the certificate on the internal server being expired (it just expired).&amp;nbsp; They sent a link about how to get around it, but since the linkpointed to our internal server, I had to follow the standard steps in Firefox (I understand the risks, yes add an exception, yes really add it) to actually view the web page that tells me how to do exactly what I just did.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Netscape is the second most widely used browser</title><link>http://forums.thedailywtf.com/forums/thread/214505.aspx</link><pubDate>Thu, 04 Feb 2010 15:34:46 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214505</guid><dc:creator>rad131304</dc:creator><slash:comments>12</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214505.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214505</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.whitehouse.gov/omb/assets/fea_docs/FEA_CRM_v23_Final_Oct_2007_Revised.pdf"&gt;http://www.whitehouse.gov/omb/assets/fea_docs/FEA_CRM_v23_Final_Oct_2007_Revised.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;See the bottom of page 66:&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;font size="3" face="Arial"&gt;&lt;font size="3" face="Arial"&gt;Netscape Communicator &lt;/b&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Arial"&gt;&lt;font size="3" face="Arial"&gt;– Netscape is the second most widely used World Wide Web browser.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;</description></item><item><title>c++ flow control - did I miss something?</title><link>http://forums.thedailywtf.com/forums/thread/214281.aspx</link><pubDate>Tue, 02 Feb 2010 12:44:34 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214281</guid><dc:creator>blatant_mcfakename</dc:creator><slash:comments>19</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214281.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214281</wfw:commentRss><description>&lt;p&gt;Is the coder who wrote the following code (which I found earlier tucked away in a project) a genius who knows something I don&amp;#39;t, or is it just as pointless as I suspect?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="margin-left:40px;"&gt;for(int i=1; i&amp;lt;=2; i++)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;switch(i)&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; case 1:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* do something */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp; case 2:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* do the next thing */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Get max ID</title><link>http://forums.thedailywtf.com/forums/thread/214510.aspx</link><pubDate>Thu, 04 Feb 2010 16:32:24 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214510</guid><dc:creator>bobzilla</dc:creator><slash:comments>26</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214510.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214510</wfw:commentRss><description>&lt;p&gt;Our company just recently had a developer leave to head to greener pastures.&amp;nbsp; He had gotten his &amp;quot;Master of Science in Computer Information Systems - Database Management and 
Business Intelligence Concentration&amp;quot; and he felt he wasn&amp;#39;t being paid what he was now worth. Shortly after he left we got into some of his code and found this function that was used to get the maximum ID from a table.&amp;nbsp; I&amp;#39;m not sure, but I think there&amp;#39;s an easier way to do it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;private long GetDocumentInfoDocID(string strDocTypeID)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; long&amp;nbsp;&amp;nbsp;&amp;nbsp; nDocID&amp;nbsp; = 0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; long&amp;nbsp;&amp;nbsp;&amp;nbsp; nRows&amp;nbsp;&amp;nbsp; = 0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool&amp;nbsp;&amp;nbsp;&amp;nbsp; bDateID = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool&amp;nbsp;&amp;nbsp;&amp;nbsp; bRows&amp;nbsp;&amp;nbsp; = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp; strSQL&amp;nbsp; = &amp;quot;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&amp;nbsp; strMsg&amp;nbsp; = &amp;quot;&amp;quot;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string strDocInfoFile = &amp;quot;DocumentInfo&amp;quot; + &amp;quot;_&amp;quot; + strDocTypeID;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MySqlCommand dtCommand = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MySqlDataReader dtReader = null;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strSQL = string.Format(&amp;quot;select * from &amp;quot; +&amp;nbsp; strDocInfoFile);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtCommand = dtConnection.CreateCommand();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtCommand.CommandType = CommandType.Text;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtCommand.CommandText = strSQL;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtReader = dtCommand.ExecuteReader();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bRows = dtReader.HasRows;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (bRows)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bDateID = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (bDateID == true)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dtReader != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bRows = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtReader.Close();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Get the number of items in the current date&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strSQL = string.Format(&amp;quot;select * from &amp;quot; + strDocInfoFile);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtCommand.CommandText = strSQL;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtReader = dtCommand.ExecuteReader();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (dtReader.Read())&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nRows++;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nDocID = nRows;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strMsg = string.Format(&amp;quot;Error in reading DocumentInfoInfo table by function:GetDocumentInfoDocID, Exception: {0}&amp;quot;, ex.Message);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoggerInfo(strMsg);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new MyException(strMsg);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; finally&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dtReader != null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dtReader.Close();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return nDocID;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>It's a password, but not a password</title><link>http://forums.thedailywtf.com/forums/thread/214304.aspx</link><pubDate>Tue, 02 Feb 2010 15:48:39 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214304</guid><dc:creator>ais523</dc:creator><slash:comments>44</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214304.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214304</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s a fun account creation form I came across today: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.easychair.org/conferences/account_apply.cgi?iid=" target="_blank"&gt;http://www.easychair.org/conferences/account_apply.cgi?iid=&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Try to guess what the &lt;i&gt;secret word&lt;/i&gt; is for. At first I thought it was a password, with weird security restrictions (at least 5 letters long, must be letters only), but then I noticed the lack of any confirm box. A confirm box isn&amp;#39;t needed, though; if you try typing in the &amp;quot;secret word&amp;quot; box, you&amp;#39;ll find it&amp;#39;s a normal text box that echos, rather than a password.&lt;/p&gt;&lt;p&gt;Even more fun, it&amp;#39;s stored in plaintext. I know this, because on the next page it&amp;#39;s sent back to me; I then get an email with a link to another page in, which asks me to type in the secret word (which is not included in the email). So it&amp;#39;s a bit like a temporary password used for account creation (which many websites email to you), except that you provide it yourself and it isn&amp;#39;t allowed to be very secure. And it&amp;#39;s used only to authenticate a link that they&amp;#39;ve just sent to an email account you provide. (Luckily, you&amp;#39;re asked to set an actual username and password after that.) Although this is explained at the top of the page, it still doesn&amp;#39;t explain why a system like this is used; the only possibility that I can see that the secret word would insure against, would be if someone else was reading your email, and decided to follow the link and create an account in your name instead. Unfortunately, in such a rather implausible case, such a person could simply use the form themselves, filling in your email address, and then using the secret word to make sure that it was they who managed to create the account, rather than you. And all this is relatively pointless, as as far as I can tell duplicate names are allowed on the initial signup form; it&amp;#39;s only the username that has to be unique, and the username/password aren&amp;#39;t prompted for until you&amp;#39;ve already gone through the email confirmation.&lt;/p&gt;&lt;p&gt;My best guess is that this is some attempt to look like security, rather than actually give any security.&lt;/p&gt;</description></item><item><title>Anti-spam take on a clbuttic mistake</title><link>http://forums.thedailywtf.com/forums/thread/214238.aspx</link><pubDate>Mon, 01 Feb 2010 20:28:35 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214238</guid><dc:creator>fennec</dc:creator><slash:comments>24</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214238.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214238</wfw:commentRss><description>&lt;p&gt;
An acquaintance of mine was &amp;quot;really looking forward to&amp;quot; this film, and I&amp;#39;d never heard of it, so I checked it out, and discovered this.
It appears that a) at.com is a URL shortening service, and b) Fandango uses regular expressions in its anti-spam engine without any niceties like escaping the period in .com. Also, they still get spammed.
&lt;p&gt;
&lt;img src="http://random.fennecfoxen.org/screenshots/website-blocked.png" alt="" /&gt;</description></item><item><title>Secure Payslips</title><link>http://forums.thedailywtf.com/forums/thread/214184.aspx</link><pubDate>Mon, 01 Feb 2010 01:54:27 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214184</guid><dc:creator>metallurg</dc:creator><slash:comments>9</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214184.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214184</wfw:commentRss><description>&lt;p&gt;The (supposed) industry leading, multi-national engineering compary I work for has just implemented a new payslip system.  They email a password protected pdf copy of your payslip every month.&lt;/p&gt;
&lt;p&gt;Sounds fine so far, right?  The wtf is that they also send a second plain text email, at the same time as the payslip, that contains your password.  Every month.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m *almost* surprised by this.  Although, given that the industry-leading, fantastic, brilliant application that runs the core business is based on VB6 may say something.&lt;/p&gt;</description></item><item><title>Toyota's pedal recall: Speculation</title><link>http://forums.thedailywtf.com/forums/thread/214178.aspx</link><pubDate>Sun, 31 Jan 2010 23:53:36 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214178</guid><dc:creator>Weng</dc:creator><slash:comments>10</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214178.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=16&amp;PostID=214178</wfw:commentRss><description>&lt;p&gt;The more I hear about Toyota&amp;#39;s pedal problems (and see the disassemblies of all the affected parts) the more it becomes clear to me that the pedals are probably just an inexepsnvie scapegoat for some fucked ECU programming.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Consider this scenario:&lt;/p&gt;&lt;p&gt;Due to moisture, intentional design, random electrical voltage variations, whatever, the accelerator pedal &amp;quot;sends&amp;quot; (it&amp;#39;s actually a passive magnetic field sensor, but whatever) an out-of-range value.(Let&amp;#39;s assume 256)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The ECU receives this value and sets the throttle position. The code responsible for setting the throttle position (whee, more magnets) dutifully jams the throttle right the hell wide open (hey, you asked for 256, I can only physically go to 255 - so you get 255).&lt;/p&gt;&lt;p&gt;The ECU then takes the value it received from the pedal and tries to do some calculations with it. This either overflows a buffer somewhere and wedges the thing right away, or produces another garbage, out-of-whack number which in turn gets sent on to another function which wedges when it receives out-of-spec values.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Your car is now running at wide open throttle, the &amp;quot;read the throttle position and react to it&amp;quot; loop is wedged, and your car is stuck in a runaway situation. Go stomp on the brake pedal, or shift into neutral or something.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now, Toyota&amp;#39;s proposed fix is to take the accelerator pedals and stick a plastic shim in them to reduce the range of travel. This works because in 99.999% of the cases, the faulty value is being sent when the pedal is at or really close to the full travel position (when it would send 255) - so lets say this shim reduces the maximum position to 250. That&amp;#39;s a lot more room for error caused by bad voltage, condensation, whatever. Yeah, the customer can&amp;#39;t intentionally hit that last bit of throttle position, but we&amp;#39;re talking about Toyotas here - they aren&amp;#39;t exactly sports cars. As a result, the only way anyone is going to send a faulty value to the ECU is with aftermarket equipment (not their problem) or a a seemingly random event which can easily be written off as user error. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why would Toyota fix the pedals instead of just modifying the code? The unit cost for one of the pedal assemblies is $15 ($120 retail, but that&amp;#39;s beside the point).&amp;nbsp; It can be pulled in about 45 seconds and either replaced with a pre-modified part, or modified in about 5 minutes, and reinstalled in about 45 seconds.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Fixing the code on the ECU would require fixing it in code, testing the everlasting piss out of it (which takes time and costs money), fixing any issues that arise during testing, etc. - the more they cut corners on processing resources, the longer and more expensive this will be - and then they have to get that code onto ECUs. This, at a minimum, would involve pulling the ECU, taking it into the shop, pulling it apart, attaching an in-place flash harnass (not standard equipment at any car dealership) to the chip in question, flashing it, hoping and praying it worked properly, reassembling it, and reinstalling the ECU. At worst (and this is the most likely case, because if I were going to build a safety-critical system like an ECU, I&amp;#39;d be using burn-once chips so the customer can&amp;#39;t fuck with it) it requires replacing the ECU - which costs a damn hell of a lot more than $15. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Are we connected?</title><link>http://forums.thedailywtf.com/forums/thread/212594.aspx</link><pubDate>Fri, 15 Jan 2010 14:06:17 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:212594</guid><dc:creator>b_redeker</dc:creator><slash:comments>37</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/212594.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=212594</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So... would you say I&amp;#39;m currently connected?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://lh4.ggpht.com/_HNXAVOMN8O4/S1B1woI5jKI/AAAAAAAAABk/AiBsFluYt_8/s800/wifiwtfedit.jpg" alt="" width="" align="" border="" height="" hspace="" /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Spell checker... in Lotus Notes 8.5</title><link>http://forums.thedailywtf.com/forums/thread/214195.aspx</link><pubDate>Mon, 01 Feb 2010 11:24:53 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:214195</guid><dc:creator>Daid</dc:creator><slash:comments>31</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/214195.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=18&amp;PostID=214195</wfw:commentRss><description>Following is a list of words that our Lotus Notus spell checker found wrong while typing an email. It also find that &amp;#39;third&amp;#39; is wrong only 50% of the time, not depending on the context. You can retype it to make it right. Good thing I could disable it at all.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;currently development workflow third effort estimations requests I&amp;#39;ve attached XML those between departments 2nd with configuration while 3th development quite they allow escalation example our could pick resolve cannot resolved until linked internal simpler because don&amp;#39;t other setup testing reachable but working VPN reach location admin rights poke around&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
It does manage to suggest the following &amp;#39;fixes&amp;#39; for the errors:&lt;br /&gt;
&lt;i&gt;tiro effers Ijver attachés XXL tahoe beweend departement witz whifte CD quine They allooi escalaties exempel oir court pack remolie kanoot resolveert units linkerd Interpol simplex besausen donut otters set-ups testis regale buts wrokkig VIN ready locatieven ademing richtas poker afrondt&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Lotus Notes - It&amp;#39;s better then eating glass!*&lt;br /&gt;
&lt;br /&gt;
* - Depending on the quantities of glass.</description></item><item><title>Outer Join or WHERE NOT EXISTS</title><link>http://forums.thedailywtf.com/forums/thread/213633.aspx</link><pubDate>Thu, 28 Jan 2010 20:42:42 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:213633</guid><dc:creator>belgariontheking</dc:creator><slash:comments>21</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/213633.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=19&amp;PostID=213633</wfw:commentRss><description>&lt;p&gt;I think I know already, but which would be faster if you wanted to find only the records that don&amp;#39;t join?&lt;/p&gt;&lt;p&gt;Method 1: Do an outer join and then a WHERE table2.whateverfield IS NULL&lt;/p&gt;&lt;p&gt;Method 2: do a WHERE NOT EXISTS&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Job Title question : Mgmt is trying to retitle my position</title><link>http://forums.thedailywtf.com/forums/thread/206180.aspx</link><pubDate>Mon, 19 Oct 2009 14:01:09 GMT</pubDate><guid isPermaLink="false">24b8a869-dfac-465a-8bea-5fc51108d524:206180</guid><dc:creator>Abbacabba</dc:creator><slash:comments>21</slash:comments><comments>http://forums.thedailywtf.com/forums/thread/206180.aspx</comments><wfw:commentRss>http://forums.thedailywtf.com/forums/commentrss.aspx?SectionID=16&amp;PostID=206180</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Management here wants to re-title my position, for two reasons 1) since I&amp;#39;m doing quite a bit of different work than was originally planned and 2) so they know what to post incase they need to replace me in the future. &lt;/p&gt;&lt;div class="post-text"&gt;

&lt;p&gt;They want my input.  After a quick glance over my skill set and job duties, what would we need to describe this position as?&lt;/p&gt;

&lt;p&gt;I&amp;#39;ll just list things I&amp;#39;m at least proficient in, I will not list things I have a passing knowledge of.&lt;/p&gt;

&lt;p&gt;About me : &lt;/p&gt;

&lt;p&gt;~10 years software development.&lt;/p&gt;

&lt;p&gt;Languages : C, C++, Perl, PHP, C#, TCL, Unix shell scripting, SQL (TSQL, PLSQL)&lt;/p&gt;

&lt;p&gt;Systems : MS-Dos, Windows 3.1 to 7 for client, NT 4 to 2008 for server, OS/2, IBM MVS &amp;amp; z/OS, Linux ( multiple distros), AIX&lt;/p&gt;

&lt;p&gt;Current position&lt;/p&gt;

&lt;p&gt;I do all sorts of in-house software.  The range is single user apps to large systems spanning multiple OS&amp;#39;s.&lt;/p&gt;

&lt;p&gt;One of the larger projects I&amp;#39;ve designed and coded is about 100k
lines of C#, and a database where I have been the sole designer and
maintainer.&lt;/p&gt;

&lt;p&gt;I have near total freedom to design as I see fit, restraints are usually budgetary.&lt;/p&gt;

&lt;p&gt;Skills required to replace me in my current role:&lt;/p&gt;

&lt;p&gt;Windows and Unix admin, Database design, .NET up to 3.5 (C#,
ASP.NET), C++, Perl, good skills in designing large and efficient data
processing systems.&lt;/p&gt;

&lt;p&gt;Given this small level of information what would you see this as
being titled? (is more information required to render a decision?)&lt;/p&gt;

            &lt;/div&gt;</description></item></channel></rss>