<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>bad-programming &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/bad-programming/</link>
	<description>Feed of posts on WordPress.com tagged "bad-programming"</description>
	<pubDate>Sat, 25 May 2013 06:56:17 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[The Paranoia Sets In]]></title>
<link>http://shunjuunokikou.wordpress.com/2013/03/03/the-paranoia-sets-in/</link>
<pubDate>Mon, 04 Mar 2013 07:10:53 +0000</pubDate>
<dc:creator>Eph A Bee</dc:creator>
<guid>http://shunjuunokikou.wordpress.com/2013/03/03/the-paranoia-sets-in/</guid>
<description><![CDATA[I find myself constantly fantasizing about the day I can flip off M&#8217;s security cameras after a]]></description>
<content:encoded><![CDATA[<p>I find myself constantly fantasizing about the day I can flip off M&#8217;s security cameras after announcing &#8220;I quit!&#8221; and handing M a post-it note with that&#8211;should he want it in writing. It&#8217;s affected me so much that, apart from not sleeping well, the paranoia has set in.</p>
<p>The fear that they&#8217;ll figure out I&#8217;m quitting. Or that I don&#8217;t care. And I can&#8217;t let them know that because that would spoil the revenge!</p>
<p>On Friday, I decided to take a 10-minute break and thought, since it was early afternoon, but definitely after lunch, that I had enough time to walk to the bank, deposit my check, and get back to work.</p>
<p>Wrong!</p>
<p>It took 21 minutes, and the rest of the afternoon, I kept thinking, &#8220;Oh god, someone&#8217;s going to say something about how I was gone and it wasn&#8217;t my lunch.&#8221;</p>
<p>Then I actually took my lunch, a few hours later, and while I was eating, M skyped me, &#8220;Come see me when you&#8217;re free.&#8221;</p>
<p>Crap!</p>
<p>But then when I came back from lunch, he was bumbling around his office on his Bluetooth (he paces around it constantly, and it looks like he&#8217;s talking to himself really).</p>
<p>I thought, well, maybe he&#8217;ll just forget all about it, and we can go on our merry ways&#8230; Besides that, if anyone gave me shit, I know all I&#8217;d need to point out is the smokers (including Scott and Manny) take so many goddamn smoke breaks daily that they probably end up with an hour on the clock outside shooting the shit.</p>
<p>Anita, who works in the evenings with me, kept commenting on how this was the longest shift ever. And for some reason it was. The clock kept ticking so slowly, and I just wanted to get the hell out of there.</p>
<p>Then at 8:15 (I get out at 8:30), M skypes me, &#8220;Come see me.&#8221;</p>
<p>Well motherf&#8211;.</p>
<p>I sigh. I walk over towards the door dreading the fake face I&#8217;ll have to put on of how happy I am to do work and how much I care.</p>
<p>And it&#8217;s worse than I thought.</p>
<p>Because I had been complaining about M&#8217;s poor programming and problems we were having with one variable in orders, M wanted to show me he &#8220;fixed it.&#8221;</p>
<p>So I sit there, nodding, uh-huhing, and feigning interest.</p>
<p>&#8220;Let me show you,&#8221; he says, and he pulls up an order I&#8217;d noticed before.</p>
<p>He tells me that from now on we&#8217;ll have a new procedure, and employees need to do X, Y, Z to this type of order for it to process correctly in the system.</p>
<p>&#8220;When does this new procedure take effect?&#8221;</p>
<p>&#8220;Tomorrow,&#8221; he says.</p>
<p>&#8220;Soooo how are people supposed to know?&#8221;</p>
<p>&#8220;They&#8217;ll know.&#8221;</p>
<p>Right.</p>
<p>So he punches in his digits, uploads his excel spreadsheet or whatever the fuck he&#8217;s trying to show me about getting this order to process correctly. He clicks &#8220;Process&#8221; and says, &#8220;See? Now it works.&#8221;</p>
<p>Only, it doesn&#8217;t. And I&#8217;m not sure I actually managed to suppress my smirk because I wanted to laugh so hard. M looks annoyed.</p>
<p>&#8220;Well, usually it&#8217;ll give an error at the top that you&#8217;ll see. This kind of silent error is rare.&#8221;</p>
<p>I nod as if I actually believe him. He monkeys around with his programming for a bit until he&#8217;s certain it now works.</p>
<p>So we waste 15 minutes with him telling me all this new information about procedure, and I guess he assumes I&#8217;m going to relay the information (ha!) since he asked for my help in training the CS reps.</p>
<p>Then he says, &#8220;Well I&#8217;ll skype you this order number, and then you can fix it before you leave.&#8221;</p>
<p>Only I can&#8217;t. I go back to my seat and stare at the order. I can&#8217;t fix it because it&#8217;s an issue we&#8217;ll need to call the customer about (they ordered fewer shirts than they actually needed) unless M has decided to send them some free shirts.</p>
<p>M waits for me to finish.</p>
<p>&#8220;Sooo how do you want me to fix this? Because we&#8217;ll need to call the customer if you want them to pay for the shirts.&#8221;</p>
<p>M looks annoyed.</p>
<p>&#8220;I can send it to the call queue so the CS reps call the customer on Monday.&#8221;</p>
<p>&#8220;No, the call queue isn&#8217;t meant for that. Just write the number down and check on it later.&#8221;</p>
<p>So I shut down my computer and hurry out of there.</p>
<p>I&#8217;m not sure why M assumes I&#8217;m going to train customer service reps just because I&#8217;ve been promoted. Sure, I could. And I&#8217;d do a great job too, but I have no incentive to do so. Let the Titanic sink.</p>
<p>And if even he realizes Manny is a terrible manager and can&#8217;t communicate, then Manny shouldn&#8217;t be fucking manager. Besides the poor communication issue, I&#8217;m supposed to have a key to lock up at night, and Manny (and M) have both failed to make me a copy&#8211;as if it would kill them to take 20 minutes to walk to the nearest hardware store and get a key made.</p>
<p>Lord, I need to get out of this fucking hell hole.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The Fail Whale in the Room]]></title>
<link>http://shunjuunokikou.wordpress.com/2013/01/11/the-fail-whale-in-the-room/</link>
<pubDate>Sat, 12 Jan 2013 03:48:29 +0000</pubDate>
<dc:creator>Eph A Bee</dc:creator>
<guid>http://shunjuunokikou.wordpress.com/2013/01/11/the-fail-whale-in-the-room/</guid>
<description><![CDATA[Today the manager reminded me of what he told me during my interview, how we should think of the big]]></description>
<content:encoded><![CDATA[<p>Today the manager reminded me of what he told me during my interview, how we should think of the big boss, the guy who started the company.</p>
<p>&#8220;Imagine a millionaire kid running around with great ideas but not actually knowing what he&#8217;s doing.&#8221;</p>
<p>And that leads to much internal frustration among the senior folk who actually keep this place running while the boss is off in Candyland, tucked away in his office.</p>
<p>One of the biggest internal complaint is our website. It is so buggy and half-baked. It works well enough for us to be a successful company that is still growing, and we do get customers that tell us they love our us and our website, but the bad programming creates a lot of problems that we could avoid if we had a good, dedicated programmer, and if things were well-thought out and planned. But the boss wants to cut corners everywhere, and I wouldn&#8217;t doubt if some dude in India who has no clue what we&#8217;re doing designed our website.</p>
<p>But the big boss sits in his office and ignores the million of things the manager has told him need to be fixed.</p>
<p>When things slowed down around the holidays, some of my coworkers started watching YouTube and Hulu because there were no customers who were contacting us for help, but I started digging through every link I could click on our website. I found some atrociously written, clichéd articles that I doubt (and hope!) our customers never read about T-shirt design. I found links that don&#8217;t work, links to blank pages, and grammar errors.</p>
<p>I started a file to keep track of it all. Some of it is stuff that has great potential&#8211;but it&#8217;s not complete. For example, I counted no less than a dozen pages that were supposed to be themed design ideas for customers (like sports ideas including a high school football team shirt or a 5k marathon shirt), and the ideas didn&#8217;t exist. The pages did, but there wasn&#8217;t a single design.</p>
<p>Then earlier this week, a customer called for help placing her order. I took the call, and was trying to guide her through the checkout process. I even managed to get her to download and install Firefox because she&#8217;d been using Explorer, and I told her we recommended Firefox and Chrome for our site.</p>
<p>So I pull up her design on my end&#8211;both in Chrome and Firefox (I mean, they&#8217;re our recommended browsers. Things should work, right?!) And as she clicked along with me, I found the site failing each step of the way. I could pull up her design, but every step beyond that to place an order, was filled with one fail or another. The pages didn&#8217;t load properly (or at all!), the design wouldn&#8217;t show, the checkout page was all wrong&#8230; it was a ton of fail.</p>
<p>The poor woman said she&#8217;d try again tomorrow, and I told her I&#8217;d contact the appropriate person about this issue (as my coworkers all burst out laughing around me because they know what THAT means). After the call, Sheila told me, &#8220;Oh, add it to the browser issue file.&#8221;</p>
<p>&#8220;The what?&#8221;</p>
<p>&#8220;There&#8217;s a file to log browser issues you run into with customers.&#8221;</p>
<p>&#8220;Wait, what?&#8221; asked my coworker next to me, and others turned around.</p>
<p>&#8220;Didn&#8217;t anyone tell you guys about this?&#8221;</p>
<p>&#8220;Uh no,&#8221; I said. &#8220;Nobody ever said anything about it in training!&#8221;</p>
<p>Then Sheila responded, &#8220;I was wondering why nobody ever wrote anything in it except for me.&#8221;</p>
<p>So I recorded my novel of the browser issue I had with the customer. Then I went home and attempted to use the website myself to order some shirts I wanted printed.</p>
<p>It took no less than five tries for the order to go through&#8211;pages wouldn&#8217;t load, the information was all cleared out (shirt style was blank, color undefined, no total cost), and I even got an error that said to call if I needed help to checkout&#8211;ha!</p>
<p>Designing a Fail Whale shirt shall be on my list of things to do next time it&#8217;s slow at work.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers of Graphic Design Software are Ignorant About Spot Colors]]></title>
<link>http://stanleysolutions.wordpress.com/2012/12/07/developers-of-graphic-design-software-are-ignorant-about-spot-colors/</link>
<pubDate>Fri, 07 Dec 2012 20:40:29 +0000</pubDate>
<dc:creator>stanleygraphics</dc:creator>
<guid>http://stanleysolutions.wordpress.com/2012/12/07/developers-of-graphic-design-software-are-ignorant-about-spot-colors/</guid>
<description><![CDATA[Color is a serious problem because the people who wrote high-end graphics design software (Adobe Ind]]></description>
<content:encoded><![CDATA[<p>Color is a serious problem because the people who wrote high-end graphics design software (Adobe Indesign®, Adobe Illustrator®, CorelDraw® and others) did not understand certain concepts of color management. As a result, they made a serious error that is problematic for graphic designers.</p>
<p>There are several color systems that are used in graphics design. The most common ones are RGB (red, green, blue), used to create video images such as for Websites; CMYK (cyan, magenta, yellow, black), used to create four-color process images for printing; and spot colors.</p>
<p>Spot color is a method of specifying and printing colors in which each color is printed with its own ink. In contrast, process color printing uses four inks (cyan, magenta, yellow, and black) to produce all other colors. Spot color printing is effective when the printed matter contains only one, two, or three different colors, but it becomes prohibitively expensive for more colors.</p>
<p><img class="size-full wp-image-466 alignnone" alt="pantone-book" src="http://stanleysolutions.files.wordpress.com/2012/12/pantone-book.gif?w=290&#038;h=250" width="290" height="250" /></p>
<p style="text-align:left;">Spot colors are the problem. The authority on spot color inks is Pantone, Inc. It has a system (PMS) in which color is designated by a three or four digit number. To help users of the system select colors, the company prints a book of color samples. Unlike paint, that has the texture built into the liquid (gloss, semi-gloss, flat, etc.) all ink is the same. The appearance of the ink, however, depends on the type of paper stock (coated, uncoated, etc.) to which it is applied.</p>
<p>In its swatch book, Pantone distinguishes the differences in appearance of a color by means of a suffix (C for coated, U for uncoated). Let me say that again: The suffixes only represent the apparent color; the ink is exactly the same; the sole purpose of the suffix is to identify the swatch in the sample book.</p>
<p>For example, PMS 185C and PMS 185U are the same color red. In fact, if you use PMS 185U and print it from your computer on glossy photo paper, it will look exactly like PMS 185C. PMS colors also will look the same on the computer screen regardless of suffix.</p>
<p><img class="size-full wp-image-471 alignnone" alt="pantone-185" src="http://stanleysolutions.files.wordpress.com/2012/12/pantone-185.jpg?w=453&#038;h=281" width="453" height="281" /></p>
<p>So where is the problem? Apparently, when programmers examined the printed book of ink samples, they did not understand that the suffixes were merely an added feature for the sample book only. The sole purpose of these suffixes was to make it easy for the reader to distinguish between those swatches that were printed on coated paper and those that were printed on plain paper, even though the distinctions were patently obvious.</p>
<p><img alt="pantone suffixes" src="http://stanleysolutions.files.wordpress.com/2012/12/pantone-suffixes.jpg?w=496&#038;h=499" width="496" height="499" /></p>
<p>As a result of this misunderstanding, graphic designers have problems with color images and colored text that were created by different artists when they are combined into the same computer file. Images created by the same designer can also be a problem if they were created with different color palettes or were created using different software.</p>
<p><img class="size-full wp-image-470 alignnone" alt="separations" src="http://stanleysolutions.files.wordpress.com/2012/12/separations.jpg?w=376&#038;h=170" width="376" height="170" /></p>
<p>Sadly, all graphic design software will treat two colors with the same number but different suffixes as two different colors when generating color separations. This means that when working with spot colors, graphic designers have the tedious task of eliminating duplication of colors within the same file.</p>
<p>Accordingly, software creators need to eliminate the distinction between one suffix and another, but this is not likely to happen.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The hammer - There is nothing simple about Simply Accounting.]]></title>
<link>http://cybudo.wordpress.com/2012/03/13/the-hammer-there-is-nothing-simple-about-simply-accounting/</link>
<pubDate>Tue, 13 Mar 2012 10:12:31 +0000</pubDate>
<dc:creator>cybudo</dc:creator>
<guid>http://cybudo.wordpress.com/2012/03/13/the-hammer-there-is-nothing-simple-about-simply-accounting/</guid>
<description><![CDATA[In IT, you must encounter many types of software. Graphic rendering software, desktop publishing sof]]></description>
<content:encoded><![CDATA[<p>In IT, you must encounter many types of software. Graphic rendering software, desktop publishing software, Audio-Visual software. Those are all softwares that are high-end, and programmers are willing to join companies to help bring about the next best version.</p>
<p>And then, there is accounting software. Accounting software while being the lifeblood of the financial department, suffers from having software that utterly stinks from an IT point of view.</p>
<p>Case in point: Simply Accounting. To put it mildly, it&#8217;s a horribly designed program. Oh don&#8217;t get me wrong, if your company&#8217;s financial department consists of one person who uses it, then it&#8217;s no trouble at all. It will work, and it will work nicely.</p>
<p>But the minute you have to network that puppy, it will bring about grief, frustrations and bewilderment. In other words <em>THERE IS NOTHING SIMPLE ABOUT SIMPLY ACCOUNTING!!</em></p>
<p>Here are my three biggest gripes with Simply Accounting;</p>
<p>1) <em><strong>The connection manager</strong></em>. Let&#8217;s start with simply accounting&#8217;s most irritating feature; the connection manager. This program has to be installed if you want SA to function on a server. It installs itself as a service (in windows) and like any good service on a windows server, you have to tweak it so it doesn&#8217;t misbehave.</p>
<p>At least in theory.</p>
<p>Of course, that is fine and dandy if you are using windows, but what if your server is *nix based? Tough luck buddy. They &#8220;have&#8221; a version of the <a href="http://www.simplyaccounting.com/supportTraining/install#9&#124;connection manager for linux">Linux connection manager</a>. But it suffers from a major problem. SA&#8217;s priorities are as such that it doesn&#8217;t particularly care if your servers are Linux as it&#8217;s connection manager isn&#8217;t all that well supported, and it seems to be for Red Hat systems and that&#8217;s about it (and development is somewhat dismal).</p>
<p>That&#8217;s too bad, since Ubuntu, a Debian based distribution of linux ranks slightly above Red Hat as far as <a href="http://www.serverwatch.com/columns/article.php/3900711/The-Top-10-Linux-Server-Distributions.htm">the Linux server edition in use</a>.</p>
<p><strong>How to remedy to this</strong>: Just build up a window server dedicated to that task. It will work with Win 2003, which can reduce costs. Not much of a solution, granted, but in the light of this poor support, one can&#8217;t do much with it than grin and bear it.</p>
<p>2) <em><strong>There is a lack of backwards compatibility.</strong></em> Simply Accounting forces you to upgrade, and when it does, rather than run the file you were using, it forces you to upgrade it to the latest version of the format. Why is this even necessary? In an office suite, you have less problems opening files from the former version of the software and it&#8217;s a key point in business software: Compatibility. It&#8217;s what it makes it so that you can recover old files and enable you to work with them and update them.</p>
<p>No such luck with Simply accounting. It will force you to upgrade the format, and if you didn&#8217;t make a backup copy and it corrupts, you will be stuck calling customer support.</p>
<p><strong>How to remedy to this:</strong> Make several backups. Backup regularly, and when it&#8217;s time to upgrade, you won&#8217;t have to worry about the potential loss of data.</p>
<p>3) <em><strong>Total disrespect of the customer</strong></em>. You want to see a clear example of a company that practically mocks it&#8217;s consumer-base, look no further than the support forums, where you will see a <a href="//community.simplyaccounting.com/COMMUNITY/forums/p/11054/38305.aspx#38305">festival of customer frustration!!</a></p>
<p><strong>How to remedy to this:</strong> Other than not buying that product? If you absolutely have to deal with that software, document everything, Have the client numbers and serials in your technician&#8217;s handbook and a hidden bottle of Scotch. For every functional solution you find on that forum, print it to PDF and then a hardcopy to your IT Handbook. They will save your neck!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Stupid programming II]]></title>
<link>http://terenceyim.wordpress.com/2011/06/13/stupid-programming-ii/</link>
<pubDate>Mon, 13 Jun 2011 21:02:51 +0000</pubDate>
<dc:creator>terenceyim</dc:creator>
<guid>http://terenceyim.wordpress.com/2011/06/13/stupid-programming-ii/</guid>
<description><![CDATA[I came across a segment of Java code like this during a code review: String str = &quot;&quot; + 10;]]></description>
<content:encoded><![CDATA[<p>I came across a segment of Java code like this during a code review:</p>
<pre class="brush: java; title: ; notranslate" title="">
String str = &#34;&#34; + 10;
</pre>
<p>Sometimes I really don&#8217;t know what&#8217;s in people head. Isn&#8217;t it a lot more simpler/clearer/better/faster to do it as:</p>
<pre class="brush: java; title: ; notranslate" title="">
String str = &#34;10&#34;;
</pre>
<p>If it is up to me, we should banish people writing code like this to write single line of code again.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Programming Nightmares: Get a laugh outta this!]]></title>
<link>http://jadendreamer.wordpress.com/2010/02/25/programming-nightmares-get-a-laugh-outta-this/</link>
<pubDate>Thu, 25 Feb 2010 22:37:17 +0000</pubDate>
<dc:creator>Jade</dc:creator>
<guid>http://jadendreamer.wordpress.com/2010/02/25/programming-nightmares-get-a-laugh-outta-this/</guid>
<description><![CDATA[I&#8217;m not sure why some programmers think it&#8217;s appropriate to run all of their code togeth]]></description>
<content:encoded><![CDATA[I&#8217;m not sure why some programmers think it&#8217;s appropriate to run all of their code togeth]]></content:encoded>
</item>
<item>
<title><![CDATA[How to fail at website]]></title>
<link>http://msujaws.wordpress.com/2010/01/26/how-to-fail-at-website/</link>
<pubDate>Tue, 26 Jan 2010 04:21:51 +0000</pubDate>
<dc:creator>msujaws</dc:creator>
<guid>http://msujaws.wordpress.com/2010/01/26/how-to-fail-at-website/</guid>
<description><![CDATA[The internet has been in heavy use for a long time now. Browser wars have come and gone. There is no]]></description>
<content:encoded><![CDATA[<p><img class="alignright" title="ie sucks" src="http://macrabbit.com/cssedit/images/BannerIcon.png" alt="" width="237" height="237" />The internet has been in heavy use for a long time now. Browser wars have come and gone. There is now two dominant browsers in North America and has been for the past 4 or so years, yet there are still companies specifically targeting their websites towards a specific browser.</p>
<p>Point in case: Microsoft Outlook Web Access.</p>
<p>In order to get the really nice version, you have to use Internet Explorer. This means that I have to stop using Chrome, and fire up another browser just to check my email if I want to send an HTML formatted mail message.</p>
<p>So today after sending an email through IE, I decided to see if the only thing blocking Chrome was the browser sniffing done by Microsoft.</p>
<p>And the verdict is: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230; Nope, the browser sniffing isn&#8217;t the only thing stopping Chrome from replacing Internet Explorer.</p>
<p>The Outlook interface is <strong>completely, I mean completely,</strong> unusable in Chrome. Messages can&#8217;t be read, folders can&#8217;t be switched. The full, unsliced CSS sprites are displayed everywhere.</p>
<p>If you&#8217;re curious to test this out, all you have to do is run Chrome with the &#8211;user-agent command line argument like so:
<pre class="brush: cpp; title: ; notranslate" title="">chrome.exe --user-agent=&#34;Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)&#34;</pre>
<p>Guess I&#8217;m stuck with either using the &#8220;Web Access Light&#8221; on Chrome or the full-feature switch to IE.</p>
<p><em>*I will continue to hope that Microsoft will start to care more about end-user experience*</em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The Learning Channel]]></title>
<link>http://thenaturalmama.wordpress.com/2010/01/02/the-learning-channel/</link>
<pubDate>Sat, 02 Jan 2010 17:51:32 +0000</pubDate>
<dc:creator>shealm</dc:creator>
<guid>http://thenaturalmama.wordpress.com/2010/01/02/the-learning-channel/</guid>
<description><![CDATA[I have to say I&#8217;ve become very disappointed lately in the TLC network. I think it started a lo]]></description>
<content:encoded><![CDATA[<p>I have to say I&#8217;ve become very disappointed lately in the TLC network. I think it started a long time ago with programming like Baby Stories and Jon &#38; Kate Plus 8. The massive exploitations of people on that network programming is astounding really. They now have a show called Obese &#38; Pregnant.</p>
<p>It&#8217;s rather ridiculous if you ask me on how they portray these women, it&#8217;s entertainment only to them. It portrays these women in a not so nice light. Using them for ratings and exploiting them for profit. Was anyone surprised? Not really surprised here personally &#8211; apparently money makes for pretty good inspiration for networks like this.</p>
<p>I haven&#8217;t really watched TLC in a very long time because of my pure disgust with the way the programming has gone downhill. It&#8217;s like they are grasping at the last straws, trying everything and anything without regard in how it hurts other people or takes advantage of those people.</p>
<p>I&#8217;ve recently seen reactions to the Obese &#38; Pregnant program. It&#8217;s quite disturbing, reactions of &#8220;Fat people don&#8217;t have a right to be concerned for their health&#8221; or &#8220;Fat people shouldn&#8217;t get pregnant, they have no right&#8221;. It rather critical and I don&#8217;t think TLC really cares either what the reactions of their viewers are because the majority of those viewers are watching it to wrinkle their noses in disgusting curiosity &#8211; it&#8217;s like the neck swivel at a car wreck scene. You try to look away in disgust but you just can&#8217;t bear not rubber necking it as you pass by.</p>
<p>I think it&#8217;s very sad that media has taken something that is a sensitive topic and made it into an entertainment circus ring. It&#8217;s horrible how people are being treated and used in this manner. Those in glass houses should never be the first ones to throw stones.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Easy Ways to Break Websites]]></title>
<link>http://msujaws.wordpress.com/2009/11/21/easy-ways-to-break-websites/</link>
<pubDate>Sun, 22 Nov 2009 02:39:08 +0000</pubDate>
<dc:creator>msujaws</dc:creator>
<guid>http://msujaws.wordpress.com/2009/11/21/easy-ways-to-break-websites/</guid>
<description><![CDATA[Most websites are put together with bugs all over, and it is only a matter of finding them so they c]]></description>
<content:encoded><![CDATA[<p><img class="alignright" title="I hope this image makes you feel a little better" src="http://thundafunda.com/wp-content/uploads/2009/02/cat-sitting-with-dog-cuteanimals-pics-200x200.jpg" alt="I hope this image makes you feel a little better" width="200" height="200" />Most websites are put together with bugs all over, and it is only a matter of finding them so they can be fixed. At the end of the day, it is more important to find the bugs in house before a client/customer or malicious user gets ahold of them.</p>
<p>I present here some very simple things to do to find flaws or problems with your website, and some ways to fix them. This list is ordered by ease of attack.</p>
<h3>1. Broken links and resources</h3>
<p>Many websites have broken links hidden deep inside of pages or within CSS files. If your website is not publicly available, you can download a tool like <a href="http://www.relsoftware.com/wlv/">Web Link Validator</a>. If it <strong>is</strong> publicly available, then the <a href="http://validator.w3.org/checklink">W3C Link Checker</a> will allow a quick and download-free way to test all your links. This tool can check all the links on your site in a few seconds and let you know of any broken resources.</p>
<p>This is probably the easiest and quickest thing that can be done.</p>
<h3>2. No limit on form field length</h3>
<p>Almost all interactive websites have some form of user input. The text fields found on these forms may not have a client-side limit of the amount of text that is allowed to be entered. Sometimes these form fields, when filled with a vast amount of information, can make forms break and websites crash if too much text is entered. To test this, go over to <a href="http://www.gutenberg.org/wiki/Main_Page">Project Gutenberg</a>, grab a free book in a text format, copy its contents, and paste in to the forms fields. Submit the form and watch the website crumble.</p>
<p>To fix this, your website should block requests over a given size and should truncate strings that are unreasonably large.</p>
<h3>3. Unicode strings in form fields</h3>
<p>There are some <a href="http://en.wikipedia.org/wiki/List_of_Unicode_characters">really strange Unicode characters</a> (such as this airplane: ✈). Some sites just can&#8217;t handle Unicode characters. Enter a bunch in to text fields and see if there are any issues. Also, try <a href="http://en.wikipedia.org/wiki/Right-to-left">a BiDi language</a> as another use of Unicode strings.</p>
<p>Some ways that these problems can enter a system is if you are not using Unicode strings in the backend or are assuming each character is only one byte in size.</p>
<h3>4. Broken email address validation</h3>
<p>It is near impossible to validate an email address the proper way, and a lot of websites use poor regular expressions to validate an email address. Here are a just a sample of valid email addresses that are often refused (quoted from <a href="http://tools.ietf.org/html/rfc3696">RFC 3696: Application Techniques for Checking and Transformation of Names</a>):</p>
<ul>
<blockquote>
<li>&#8220;Abc\@def&#8221;@example.com</li>
<li>&#8220;Fred Bloggs&#8221;@example.com</li>
<li>&#8220;Joe\\Blow&#8221;@example.com</li>
<li>&#8220;Abc@def&#8221;@example.com</li>
</blockquote>
</ul>
<p>There is <a href="http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx">a really good post by Phil Haack</a> about how he thought he knew how to validate an email address until he read the RFC.</p>
<p>I recommend checking for an @ sign and a period following the @ sign. After that, you can require users to verify their email address. It&#8217;s about all we can do.</p>
<h3>5. Cross-site Scripting</h3>
<p>If anything that is user-submitted will end up being written back out to a webpage, there is potential that it is open to cross-site scripting (XSS). Cross-site scripting has been responsible for taking down <a href="http://namb.la/popular/tech.html">MySpace</a>, <a href="http://lynnepope.net/twitter-xss-attacks">Twitter</a>, and other major websites. Try pasting some of <a href="http://ha.ckers.org/xss.html">the examples from ha.ckers.org</a> to see if your site is susceptible.</p>
<p>If it has vulnerabilities, there will have to be server-side scrubbing of these fields. It is best practice to scrub data when it is coming in to the system and when it is going out of the system (in case there is some unknown way that it can enter the system, you will be protected).</p>
<h3>6. SQL Injection</h3>
<p>Just like XSS, this can cause major issues. Worst of all could be giving out credit card information from customers or an entire loss of your database. Try <a href="http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/">the examples given at mavituna.com</a> to see if your website will break or go down. You might want to make a backup of your database before trying this <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>To fix this, there will have to be server-side scrubbing of the fields (see a trend here?).</p>
<h3>7. Client-side modification of form variables</h3>
<p>Ever set a maxlength attribute on one of your form fields. I hope this isn&#8217;t the only place that the data size is being restricted, but it might be. Client-side tools like this are really helpful for usability but that is about as far as they can go. Use a browser like <a href="http://www.google.com/chrome">Google Chrome</a> or <a href="http://www.mozilla.com/en-US/firefox/personal.html?from=getfirefox">Mozilla Firefox</a> (with <a href="http://getfirebug.com/">Firebug</a>), right click on an element, choose &#8220;Inspect Element&#8221;, and remove that maxlength attribute on the input element. Another thing you can try is to change the values of an option element. For example, if there is a field that asks for an integer quantity and the maxlength is set to three, remove the attribute, and enter in 15 digits. This may cause an integer overflow error (probably not something you wanted to happen <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>To fix the integer overflow problem, the string should be truncated or rejected if it is too long before it is converted to an integer.</p>
<p><em>I hope this list will help someone test their website. Remember, it&#8217;s always better for you to find your errors before someone else does. Any problems you find can be a lesson to not make the same mistake in the future.</em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Spaztic]]></title>
<link>http://brooklynechaos.wordpress.com/2009/07/25/spaztic/</link>
<pubDate>Sat, 25 Jul 2009 22:36:47 +0000</pubDate>
<dc:creator>BrooklyneChaos</dc:creator>
<guid>http://brooklynechaos.wordpress.com/2009/07/25/spaztic/</guid>
<description><![CDATA[I have been trying out cheaper embroidery software lately. One of them is called Buzz Edit. It seems]]></description>
<content:encoded><![CDATA[I have been trying out cheaper embroidery software lately. One of them is called Buzz Edit. It seems]]></content:encoded>
</item>
<item>
<title><![CDATA[Bad Programming Examples in C#]]></title>
<link>http://msujaws.wordpress.com/2009/02/23/bad-programming-examples-in-c/</link>
<pubDate>Tue, 24 Feb 2009 04:43:02 +0000</pubDate>
<dc:creator>msujaws</dc:creator>
<guid>http://msujaws.wordpress.com/2009/02/23/bad-programming-examples-in-c/</guid>
<description><![CDATA[I&#8217;m starting to compile a list of constructs I&#8217;ve seen in production C# code that needs]]></description>
<content:encoded><![CDATA[<p>I&#8217;m starting to compile a list of constructs I&#8217;ve seen in production C# code that needs to be modified. Code Analysis will flag most of these. Here is the first of them, with more to be added later:</p>
<p><strong>1. Never leave a blank catch statement or use catch(Exception)</strong></p>
<p>In C#, if you write catch(Exception) or a blank catch, the exception will be casted to a System.Object. This will also catch non-CLS compliant exceptions. If you can&#8217;t do anything to remedy the exceptional situation, you shouldn&#8217;t be catching the exception. Usually when you see a code construct like this, the exception is rethrown. Not only is this unnecessary and bad programming, it ruins the stack trace and any other important information that Windows Error Reporting can provide for you.</p>
<p>If you are unsure what type of exception can be thrown, you should check the documentation. If you are catching the exception so that you can perform some cleanup before exiting, then you should move that cleanup code to a finally block. If the latter is the case, then you probably don&#8217;t need the catch block there in the first place.</p>
<p>If you run Code Analysis on your code, you will receive a <a href="http://msdn.microsoft.com/en-us/library/bb264489.aspx">CatchNonClsCompliantExceptionsInGeneralHandlers</a> warning.</p>
<p>More information can be found about <a href="http://blogs.msdn.com/clrteam/archive/2009/02/19/why-catch-exception-empty-catch-is-bad.aspx">why not to have empty catches in your code at the CLR Team Blog</a>.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[8.11 GIGO]]></title>
<link>http://wallbuilder2.wordpress.com/2008/05/26/811-gigo/</link>
<pubDate>Mon, 26 May 2008 15:42:13 +0000</pubDate>
<dc:creator>wallbuilder</dc:creator>
<guid>http://wallbuilder2.wordpress.com/2008/05/26/811-gigo/</guid>
<description><![CDATA[You may have heard this expression before. GIGO means “Garbage In – Garbage Out.” It mainly refers t]]></description>
<content:encoded><![CDATA[<p class="MsoNormal">You may have heard this expression before.<span> </span>GIGO means “Garbage In – Garbage Out.”<span> </span>It mainly refers to computers (i.e., don’t blame the computer…if you put in bad programming, you’re going to get a bad result.), but it applies to our mental computers, as well.<span> </span>If you stock your brain full of garbage, be certain that it will find it’s way back out – usually through your mouth gate.</p>
<p class="MsoNormal">
<p class="MsoNormal">I was teaching a leadership workshop several years ago, and I showed a video about two women working through a conflict scenario in an office setting.<span> </span>It was a normal (even boring) training video produced for the class I was teaching.<span> </span>I had seen the video many times and showed it to many groups of managers.<span> </span>There was nothing remotely sexual about it.<span> </span>So, I was at a loss for words when during my debrief on this particular occasion, one of the men in the workshop joked that the two women looked like lesbian lovers.</p>
<p class="MsoNormal">
<p class="MsoNormal">My co-facilitator and I talked about the comment after the class and we tried to figure out from where the participant had gotten that impression.<span> </span>In the end, we agreed it had nothing to do with the video and everything to do with the person.<span> </span>With that one comment, he revealed to a group of twenty or so peers something very telling about his private life.<span> </span>For him to have seen a lesbian relationship in an ordinary working relationship, he must have been programming his brain with sexual stimuli.</p>
<p class="MsoNormal">
<p class="MsoNormal">What we take in through our ear and eye gates colors the way we see the world.<span> </span>If we allow large amounts of sexual stimuli in, we start to see sex in everything.<span> </span>Innocent remarks take us places they were not intended to take us.<span> </span>Normal situations begin to seem sexually charged.<span> </span>Typical behaviors from the women around us seem to be sexually motivated.</p>
<p class="MsoNormal">
<p class="MsoNormal">You’ve heard the principle “what goes up must come down.”<span> </span>How about “what goes in must come out.”<span> </span>The more sexual stimuli you pack into your brain, the more likely your mouth will betray your confidence through inappropriate comments, sexual jokes and innuendos.<span> </span>And if your mouth doesn’t do it, your eyes will.<span> </span>When you see a man who can’t resist the urge to stare at an attractive woman as she passes by or who can’t seem to make eye contact with the woman he’s talking to because he is focused on her neckline, you can bet that he has been programming his brain when no one was looking.<span> </span></p>
<p class="MsoNormal">
<p class="MsoNormal">Jesus was communicating this principle when he said:</p>
<p class="MsoNormal">
<p class="MsoNormal" style="margin:0 0.5in 0.0001pt;"><em>“But the things that come out of the mouth come from the heart, and these make a man &#8216;unclean.&#8217;<span> </span>For out of the heart come evil thoughts, murder, adultery, sexual immorality, theft, false testimony, slander.<span> </span>These are what make a man &#8216;unclean&#8217;…” </em></p>
<p class="MsoNormal" style="margin:0 0.5in 0.0001pt;">(Matthew 15:18-20)</p>
<p class="MsoNormal">
<p class="MsoNormal"><span>If you allow garbage into your temple, it’s going to find it’s way to your mouth gate.<span> </span>Garbage In – Garbage Out.</span></p>
<p class="MsoNormal">
<p class="MsoNormal" style="text-align:center;" align="center">*****</p>
<p class="MsoNormal">
<p class="MsoNormal">In the next chapter, we’ll look at strategies for strengthening your walls.</p>
<p class="MsoNormal">
]]></content:encoded>
</item>
<item>
<title><![CDATA[Not-So-Great Moments in Social Networking]]></title>
<link>http://timthefoolman.com/2008/05/09/not-so-great-moments-in-social-networking/</link>
<pubDate>Fri, 09 May 2008 17:46:39 +0000</pubDate>
<dc:creator>TimTheFoolMan</dc:creator>
<guid>http://timthefoolman.com/2008/05/09/not-so-great-moments-in-social-networking/</guid>
<description><![CDATA[So today, I get an update from Classmates.com, telling me about new profile pictures that various pe]]></description>
<content:encoded><![CDATA[<p>So today, I get an update from Classmates.com, telling me about new profile pictures that various people from my high school have posted. However, when I log on, I&#8217;m greeted with this:</p>
<p><a href="http://timthefoolman.files.wordpress.com/2008/05/classmates_com.jpg"><img class="alignnone size-medium wp-image-574" src="http://timthefoolman.files.wordpress.com/2008/05/classmates_com.jpg?w=300&#038;h=182" alt="classmates.com comedy" width="300" height="182" /></a></p>
<p>Just to clear things up, I am not presently a Mom, nor do I plan on ever becoming one. It does make me wonder&#8230; how difficult is it to use the gender variable in a social networking site. For some time, I&#8217;ve wondered how a site like Classmates.com can continue to exist, and the answer seems to be, &#8220;until the people who use it figure out that you can do everything that you can do there, and more, on Facebook.&#8221;</p>
<p>At least Facebook seems to have figured out that I&#8217;m not a potential Mom.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Sorry...]]></title>
<link>http://dovaryeh.wordpress.com/2007/09/15/sorry/</link>
<pubDate>Sat, 15 Sep 2007 21:23:39 +0000</pubDate>
<dc:creator>Henric C. Jensen</dc:creator>
<guid>http://dovaryeh.wordpress.com/2007/09/15/sorry/</guid>
<description><![CDATA[I find it interesting that people/bots who chose to spam blogs and websites invariably start their s]]></description>
<content:encoded><![CDATA[<p>I find it interesting that people/bots who chose to spam blogs and websites invariably start their spam posts with &#8220;Sorry <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> &#8230;&#8221;.</p>
<p>The very fact that they post their spam is a negation of the apology they offer.</p>
<p>What possesses someone to think that if they apologize in advance their action is somehow OK?</p>
<p>I have never understood the idea of apologizing prior to committing an offense &#8211; it smacks of insincerity if it&#8217;s real human, and bad programming if it&#8217;s a bot &#8211; or perhaps it&#8217;s the other way around?</p>
]]></content:encoded>
</item>

</channel>
</rss>
