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

<channel>
	<title>Ardent Dev &#187; Development</title>
	<atom:link href="http://ardentdev.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://ardentdev.com</link>
	<description>For the Love of Code</description>
	<lastBuildDate>Mon, 19 Apr 2010 14:31:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Shameful Legacy of 20th Century Software</title>
		<link>http://ardentdev.com/the-shameful-legacy-of-20th-century-software/</link>
		<comments>http://ardentdev.com/the-shameful-legacy-of-20th-century-software/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 11:30:00 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/the-shameful-legacy-of-20th-century-software/</guid>
		<description><![CDATA[Last week I got to spend an evening reinstalling my wife&#8217;s laptop because she picked up some malware.&#160; She received an email from a friend with a link to a YouTube video that prompted her to install a new codec.
Except the codec wasn&#8217;t really a codec.
The link wasn&#8217;t really to YouTube.
The email wasn&#8217;t really from [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I got to spend an evening reinstalling my wife&#8217;s laptop because she picked up some malware.&#160; She received an email from a friend with a link to a YouTube video that prompted her to install a new codec.</p>
<p>Except the codec wasn&#8217;t really a codec.</p>
<p>The link wasn&#8217;t really to YouTube.</p>
<p>The email wasn&#8217;t really from her friend.</p>
<p>Here we are in 2010, 65 years after the advent of &quot;program instructions as data&quot; (von Neumann architecture) and the brilliant innovations that propelled computing forward now haunt us.&#160; The power and complexity of computing is amplified by the connectivity of the Internet, creating an ecosystem ripe for exploitation through clever social engineering combined with some technical trickery.</p>
<p>And it&#8217;s not fair.&#160; It&#8217;s not fair to the users who suffer, who lose data, whose systems are held hostage.&#160; It&#8217;s not fair and the blame for calamities cannot be laid at the feet of careless or naive users.&#160; Daily computing tasks should not require constant vigilance, let alone deep technical knowledge.</p>
<p>Many of us schooled in the last century hold on to notions of software that are simply unsafe for many of our users.&#160; We insist on building software that must run in environments that are not inherently safe.&#160; But there are trends afoot: the closed ecosystem of the iPhone and the iPad, the coming Windows Phone 7 closed ecosystem, and the increasing ubiquity of Internet applications.&#160; Slowly but surely we are moving toward paradigms in which the average user will have much less to worry about because software is vetted and sandboxed.</p>
<p>As a developer I don&#8217;t want to be sandboxed in every situation.&#160; I want to be able to make educated decisions about software and run it on my devices, but the default should be safe and secure.&#160; It&#8217;s shameful that things are still so treacherous.</p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/the-shameful-legacy-of-20th-century-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Dirty Secret of Computer Science</title>
		<link>http://ardentdev.com/the-dirty-secret-of-computer-science/</link>
		<comments>http://ardentdev.com/the-dirty-secret-of-computer-science/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:37:25 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/the-dirty-secret-of-computer-science/</guid>
		<description><![CDATA[The term &#34;computer science&#34; is a laughable misnomer.&#160; Outside of universities and operating system development, there isn&#8217;t a lot of computer science involved in the daily grind of computer programming.&#160; There&#8217;s some, of course, but not enough that I would call myself a computer scientist.&#160; Not by a long shot.
I&#8217;ve long thought that Donald Knuth [...]]]></description>
			<content:encoded><![CDATA[<p>The term &quot;computer science&quot; is a laughable misnomer.&#160; Outside of universities and operating system development, there isn&#8217;t a lot of computer science involved in the daily grind of computer programming.&#160; There&#8217;s some, of course, but not enough that I would call myself a computer scientist.&#160; Not by a long shot.</p>
<p>I&#8217;ve long thought that Donald Knuth had it right when he titled his books <a href="http://www.amazon.com/Art-Computer-Programming-Volumes-Boxed/dp/0201485419" target="_blank">The Art of Computer Programming</a>.</p>
<p>Creating software bears some resemblance to art as in the work of an artist.&#160; It bears an even stronger resemblance to art as in the work of an artisan.&#160; Software artisans use the tools and techniques of modern software development to create the wide variety of software that entertains us and runs our businesses.</p>
<p>Eric Sink had it right when he put <a href="http://www.ericsink.com/about_author.html" target="_blank">Software Craftsman on his business card</a>.</p>
<p>Sadly some of the most enthusiastic artisans in our field are disregarded out of hand as geeks and nerds when in fact they have creative and curious minds more commonly associated with artists like poets and sculptors.</p>
<p>I love the way Kate describes the art of software:</p>
<blockquote><p>The number one response by my aunts/uncles/friends parents etc was “you’re programming? But you were always so creative as a child…” – people need to be told that this is a very creative field. I make business solutions out of ones and zeroes. I change people’s working lives, the entire 8 hours they spend at the office every working day, forever &#8211; using nothing but the skin on my fingertips.</p>
<p align="right">- <a href="http://www.gregcons.com/kateblog/" target="_blank">Kate Gregory</a></p>
</blockquote>
<p>I worry that software development as a discipline is stunted by its false reputation of being science-y when in fact it appeals to people who are creative and innovative.&#160; I&#8217;ve noticed that a disproportionate number of my colleagues in software development are musicians and/or fans or even creators of comic books, science fiction, fantasy fiction, and role-playing games.&#160; Those types of pastimes are qualitatively different than watching reality TV or playing sports. *</p>
<p>The dirty secret of comp sci is that most us who trained as &quot;computer scientists&quot; do precious little that could ever be considered true computer science and certainly not science at all by many definitions of science.&#160; We are artisans abiding by the platforms and boundaries defined by computer science to create truly amazing and useful things.&#160; We are the glassmakers, sculptors, and blacksmiths of our time.</p>
<p>&#8212;-</p>
<p>Recommended reading: <a href="http://www.paulgraham.com/knuth.html" target="_blank">Knuth: Computer Programming as an Art</a></p>
<p><em><font size="2">* Relax, I&#8217;m generalizing. Lots of programmers watch reality TV (though I judge them for that) and/or play sports.&#160; Lots of programmers are not musicians (like, say, me). The set of all RPG players (A) overlaps the set of all computer programmers (B).&#160; </font></em><a href="http://en.wikipedia.org/wiki/Naive_set_theory#Subsets" target="_blank"><em><font size="2">B is not a subset of A</font></em></a><em><font size="2">.</font></em></p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/the-dirty-secret-of-computer-science/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Your Moral Obligation to Future Coder</title>
		<link>http://ardentdev.com/your-moral-obligation-to-future-coder/</link>
		<comments>http://ardentdev.com/your-moral-obligation-to-future-coder/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 22:51:40 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/your-moral-obligation-to-future-coder/</guid>
		<description><![CDATA[Think back to some nontrivial piece of code you wrote.&#160; Now mentally crumple it up into a ball, douse it with gasoline, and light that sucker on fire.&#160; That is what some future coder is going to want to do to your code.
(Take a moment to let it sink in that Future Coder might very [...]]]></description>
			<content:encoded><![CDATA[<p>Think back to some nontrivial piece of code you wrote.&#160; Now mentally crumple it up into a ball, douse it with gasoline, and light that sucker on fire.&#160; That is what some future coder is going to want to do to your code.</p>
<p>(Take a moment to let it sink in that Future Coder might very well be Future You.)</p>
<p>OK, take a deep breath and exhale slowly.&#160; Future Coder can&#8217;t hurt you unless your code is still in use after someone invents time travel.&#160; And if Future Coder comes back to stop you from writing that code, Future Coder won&#8217;t have a job fixing your code in the future&#8230; (ah, the <a href="http://www.nsi-canada.ca/the_grandfather_paradox.aspx" target="_blank">paradoxes of time travel</a>).</p>
<p>Code has a past <strong><em>and</em></strong> a future.&#160; When you inherit code or parachute into a project, you must embrace the legacy of the code.&#160; Before you mentally skewer the coders who came before you, remember that you probably lack insight into the context in which previous coding decisions were made.&#160; It is, of course, quite possible that the programmer before you was a complete idiot.&#160; More likely, though, that programmer was working under some constraints that drove him/her toward the solution you now curse.</p>
<p>Although it is conceivable that you are the last ever maintainer of said code, you will likely pass on the responsibility to someone else eventually.&#160; You have a moral obligation to your fellow developers to leave behind something maintainable.&#160; Consistency and predictability in your code is a major part of maintainability.&#160; That means if 30 data entry forms use strongly typed DataSet objects but you prefer NHibernate, you write the 31st data entry form using a strongly typed DataSet.&#160; It is irresponsible to create Frankencode systems.&#160; Your personal whims do not trump your responsibility to your fellow developer.</p>
<p>Maintenance developers do not get enough credit.&#160; It is frustrating and often thankless work trying to wrap your brain around systems that have been tweaked by countless programmers to adapt to changing business needs.</p>
<p>The next time you curse someone else&#8217;s code, remember that somewhere out there another developer is cursing something you once coded.</p>
<p>&lt;endRant /&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/your-moral-obligation-to-future-coder/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yuck, I Got Data on my Hands</title>
		<link>http://ardentdev.com/yuck-i-got-data-on-my-hands/</link>
		<comments>http://ardentdev.com/yuck-i-got-data-on-my-hands/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 12:45:00 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/yuck-i-got-data-on-my-hands/</guid>
		<description><![CDATA[Once upon a time I wrote a computer program that did not require data.&#160; It was called helloworld.exe and it was awesome.&#160; It was also a wee bit useless.&#160; The essence of useful software is taking input, doing something with it, and spitting something out.
There is lots of data out there.&#160; My first professional gig [...]]]></description>
			<content:encoded><![CDATA[<p>Once upon a time I wrote a computer program that did not require data.&#160; It was called helloworld.exe and it was awesome.&#160; It was also a wee bit useless.&#160; The essence of useful software is taking input, doing something with it, and spitting something out.</p>
<p>There is lots of data out there.&#160; My first professional gig after university was consuming text files dumped out by a COBOL app.&#160; (They were delicious.)&#160; You can parse XML, munge HTML, manipulate images, or decipher networking protocols.&#160; But despite the variety of possible data sources, we end up sticking a lot of our data in relational database systems.</p>
<p>And then we write a lot of code for moving data in and out of the database.&#160; And <em>then</em> we complain about how much data access code we have to write and maintain.&#160; In <a href="http://ardentdev.com/survival-skills-for-developers/" target="_blank">Survival Skills for Developers</a>, the first item for your basic survival pack is a data access toolkit (homegrown or open source or commercial).&#160; The reason is not to be trendy or to sound up-to-date at developer conferences.&#160; The point is to make better use of your time by relying on frameworks and libraries to do some of the heavy lifting for you.</p>
<h3>Do Not Be Afraid</h3>
<p>In the .NET programming world, ADO.NET is the underlying data access technology.&#160; Many data access patterns and frameworks have been built on top of ADO.NET and yet scores of developers still write ADO.NET data access code the way they learned nearly a decade ago.&#160; What a waste.</p>
<p>There is no reason to be afraid of modern data access techniques.&#160; You do not have to rewrite your existing codebase.&#160; .NET programmers can still use classic ADO.NET when it&#8217;s expedient.&#160; You can mix and match tools and frameworks.&#160; I have a small project that I&#8217;m transitioning from SubSonic (used during prototyping) to NHibernate.&#160; Currently the code features a mix of SubSonic and NHibernate as I transition and it works just fine.</p>
<p>Frankly I think developers who refuse to explore alternatives are being irresponsible.&#160; I&#8217;m not holding up any specific frameworks, toolkits, or approaches as best.&#160; I&#8217;m simply saying that a failure to be well informed about options is intellectual laziness and we cheat our employers, clients, and stakeholders when we insist on writing everything by hand every time we need a record from the database.&#160; We would question the judgment of a house builder relying on all manual tools, yet we mindlessly churn out the same data access code over and over and over again.</p>
<h3>Stop Freaking Out About Inconsequential Performance</h3>
<p>A mental roadblock for many folks is a worry about performance going down the toilet by relying on something like an ORM (object-relational mapping) tool.&#160; If there is one serious mental shortcoming amongst programmers, it is our obsessive need to prematurely optimize everything even when there are ample computing resources to deal with our less-than-completely-efficient code.</p>
<p>Stop freaking out.</p>
<p>The JVM and the .NET runtime have proven that letting the computer handle some tedious work is totally worth it even if it&#8217;s less efficient than what you could (theoretically) write by hand.</p>
<p>CPU time is cheap.&#160; Programmer time ain&#8217;t.&#160; Spend time optimizing code only when it becomes necessary.</p>
<h3>Do You Really Need a Database?</h3>
<p>Simple lists of objects can be similar to tables of records.&#160; The relationships between objects can be similar to the relationships between tables.&#160; Nevertheless, there is a mismatch between object oriented programming and relational data (perhaps you&#8217;ve heard of the <strong><em>object-relational impedance mismatch</em></strong>).&#160; Depending on your situation, you might not really need a relational database.&#160; Check out some of the technologies in the <a href="http://en.wikipedia.org/wiki/NoSQL" target="_blank">NoSQL</a> side of the world for alternatives to relational database storage engines.</p>
<h3>What&#8217;s Available?</h3>
<p>There are a lot of options out there for working with relational data.&#160; Check out <a href="http://devshaped.com/2009/05/all-i-wanted-was-my-data/" target="_blank">Barry Gervin&#8217;s article <em><strong>All I Wanted was My Data</strong></em></a> for some options.</p>
<p>What are your suggestions?&#160; Drop them in the comment box.</p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/yuck-i-got-data-on-my-hands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domain Distortion</title>
		<link>http://ardentdev.com/domain-distortion/</link>
		<comments>http://ardentdev.com/domain-distortion/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 12:45:00 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/domain-distortion/</guid>
		<description><![CDATA[ Remember the game Telephone?&#160; You whisper something in your neighbour&#8217;s ear, he whispers to his neighbour, she whispers to her neighbour, and so on all the way down the line.&#160; The last person announces the message she heard and everyone laughs when they discover how mangled the final message is from the original.
An eerily [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border-right-width: 0px; margin: 0px 11px 11px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="50216300_6c80682292_m" border="0" alt="50216300_6c80682292_m" align="left" src="http://ardentdev.com/wp-content/uploads/2010/02/50216300_6c80682292_m.jpg" width="184" height="244" /> Remember the game Telephone?&#160; You whisper something in your neighbour&#8217;s ear, he whispers to his neighbour, she whispers to her neighbour, and so on all the way down the line.&#160; The last person announces the message she heard and everyone laughs when they discover how mangled the final message is from the original.</p>
<p>An eerily similar phenomenon occurs in software development as requirements flow from domain experts to business analysts to system designers (architects) to developers.&#160; Each communication channel in the process introduces new opportunities for information to be distorted.</p>
<p>I was digging through some old papers this week and found a sketch I made nearly a decade ago on the back of a Dilbert comic.&#160; I&#8217;ve prettied it up here as a reminder to all of us to always be watchful for potential distortions as requirements flow from users and stakeholders to the people who build and test the software:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="distortions" border="0" alt="distortions" src="http://ardentdev.com/wp-content/uploads/2010/02/distortions.png" width="462" height="381" /></p>
<p>The importance of good communication in the software development process cannot be overstated.</p>
<p>If you are passionate about building software and want to thrive in your career, hone your communication skills.&#160; Ask questions.&#160; Write things down.&#160; Repeat back what you&#8217;ve heard to validate it.&#160; Ask more questions if things don&#8217;t make sense.&#160; Communicate, communicate, communicate.</p>
<p>In 2009 I had lunch with an executive with a lot of experience managing developers.&#160; When I asked for his biggest piece of advice for professional developers outside of learning technology, his answer was to <strong>learn to communicate effectively</strong>.</p>
<p>&#160;</p>
<p><em><font size="1">(Image credits: </font></em><a href="http://www.flickr.com/photos/malias/50216300/" target="_blank"><em><font size="1">malias</font></em></a>, <a href="http://www.freedigitalphotos.net"><em><font size="1">freedigitalphotos.net</font></em></a><em><font size="1">, </font></em><a href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=659"><em><font size="1">Salvatore Vuono</font></em></a><em><font size="1">, </font></em><a href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=851"><em><font size="1">Danilo Rizzuti</font></em></a><em><font size="1">, </font></em><a href="http://www.freedigitalphotos.net/images/view_photog.php?photogid=172"><em><font size="1">Maggie Smith</font></em></a><em><font size="1">)</font></em></p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/domain-distortion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Survival Skills for Developers</title>
		<link>http://ardentdev.com/survival-skills-for-developers/</link>
		<comments>http://ardentdev.com/survival-skills-for-developers/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 12:15:00 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/survival-skills-for-developers/</guid>
		<description><![CDATA[ Let&#8217;s suspend reality for a moment and pretend you&#8217;re heading out into the woods this weekend. Set aside the fact that you are a software developer and have no business tromping around out in the wilderness.&#160; You&#8217;re going to want to take along a few basics:&#160; maybe some matches, a tent or shelter of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ardentdev.com/wp-content/uploads/2010/02/3822866409_c113336eb3_m.jpg" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 11px 11px; display: inline; border-top: 0px; border-right: 0px" title="3822866409_c113336eb3_m" border="0" alt="3822866409_c113336eb3_m" align="right" src="http://ardentdev.com/wp-content/uploads/2010/02/3822866409_c113336eb3_m_thumb.jpg" width="201" height="240" /></a> Let&#8217;s suspend reality for a moment and pretend you&#8217;re heading out into the woods this weekend. Set aside the fact that you are a software developer and have no business tromping around out in the wilderness.&#160; You&#8217;re going to want to take along a few basics:&#160; maybe some matches, a tent or shelter of some sort, a bit of food, and some dry clothes.&#160; To survive you need the right tools / supplies <strong><em>and</em></strong> the skills to use them.</p>
<p>(I bet you see where I&#8217;m going with this.)</p>
<p>Back at the office, where your mouse and keyboard fret over your safe return, there awaits an entirely different survival scenario:</p>
<p align="center"><em>Survivor: Cubicle.&#160; Outcode.&#160; Outbuild.&#160; Outlast.</em></p>
<p>Surviving as a software developer is more than stringing together some lines of code that read and write from a database.&#160; Sure, those are basic skills.&#160; To survive in the woods you obviously need to walk and breathe, but you also need to start a fire and build a shelter.</p>
<p>The following 8 items form a basic survival pack that can get you through most modern software development forests:</p>
<h3>1. Data access toolkit (homegrown or open source or commercial) </h3>
<p>If reading and writing from a database is a basic skill like walking, then a good data access framework is your walking stick.&#160; I&#8217;m a .NET guy so I&#8217;ve worked with NHibernate, SubSonic, Entity Framework, and a couple homegrown solutions.&#160; An ORM tool is not necessary.&#160; Use the core ADO.NET classes directly if that works for you.&#160; What you absolutely should avoid is writing all your data access code from scratch every time you need to work with data.</p>
<p>Personally I recommend you learn the basics of several modern data access toolkits and learn about some of the code generation solutions available on the market so you can make informed choices in your projects.</p>
<h3>2. Regex</h3>
<p>OK, let&#8217;s crank the controversy meter up one notch.&#160; Regular expressions are like waterproof matches.&#160; Sure you don&#8217;t need them, but they can make things a heck of a lot easier in some circumstances.&#160; When it comes to text processing, there are lots of approaches that can work, but a regular expression can turn an arduous coding exercise into a single line of code.</p>
<p>If you use Visual Studio, I highly recommend you explore the regular expression syntax available for the Find dialog box.&#160; It is amazingly useful once you learn the wonky syntax.</p>
<h3>3. Unit testing</h3>
<p>Let&#8217;s try one more notch higher on the controversy meter.&#160; You must be able to write and execute unit tests for the language and platform you are developing on.&#160; Unit testing is like a compass.&#160; You don&#8217;t always need it and you won&#8217;t need it constantly, but it can be priceless in many situations.</p>
<p>Unit testing has its fair share of zealous proponents and vehement haters.&#160; I like to think I have a nice moderate middle-of-the-road perspective.&#160; Unit testing is incredibly important in some circumstances.&#160; I am not an adherent to the Church of Test Driven Development.&#160; I do not usually attempt to achieve complete code coverage in unit tests.&#160; But without the ability to write and execute unit tests, you risk wasting precious time walking in circles as you test the same things over and over again manually.</p>
<h3>4. Basic printing, reporting, and charting</h3>
<p>Not every system has to print or produce charts and reports, but lots do.&#160; Even web site developers have to consider how their pages will look when printed and perhaps generate PDF documents for printing.&#160; Regardless of whether you write desktop apps, web apps, or middleware, you should be able to print and generate some basic reports.</p>
<p>If you are a .NET developer like me, check out some of the vendor solutions like Telerik Reporting, ActiveReports, LogiReport, and XtraReports.</p>
<p>Printing, reporting, and charting are about user needs.&#160; Users need to print invoices and put charts of projected vs. actuals into the shareholder report.&#160; Sometimes you need paper to get your business done.</p>
<h3>5. Internet: sending email and downloading HTTP content</h3>
<p>Back in the last century, we invented this thing called the Internet.&#160; It&#8217;s nice.&#160; It lets software programs on different systems communicate with each other.&#160; And the Internet has this way of creating new opportunities so you never know when your software will have to become Internet-aware.</p>
<p>Sending email and accessing HTTP content are pretty easy tasks to accomplish in most languages given the plethora of libraries available (e.g., classes built into the .NET framework).&#160; And even if your current coding project does not require Internet access, you might see new opportunities once you&#8217;ve learned how easy it is.&#160; For example, you might decide to automatically email crash reports to your help desk.</p>
<p>If you pass other hikers in the woods, you might not need to talk to them, but then again, maybe you will.&#160; Better to be prepared.</p>
<h3>6. HTML and basic CSS</h3>
<p>Regardless of the type of software you build, I firmly believe you should know a little bit about HTML, XHTML, and CSS (and some XML would be good, too).&#160; If you don&#8217;t build web applications, you don&#8217;t need to master these technologies, but a grasp on the basics will come in handy.&#160; Examples:</p>
<ul>   
<li>creating HTML formatted emails to send to users</li>
<li>updating a development team web site</li>
<li>customizing a product wiki</li>
<li>writing end user documentation</li>
<li>updating the company web site (happens in small companies)</li>
<li>setting up a blog for the marketing department</li>
</ul>
<p>(X)HTML + CSS is the lingua franca of the web so just learn it already – no fancy survival metaphor required.</p>
<h3>7. Scripting or command line development</h3>
<p>Many software components need to work with standard input / output streams or simply do not require a graphical user interface.&#160; If you only know how to build Windows or web applications, you are severely limiting your ability to efficiently handle the many small tasks that often accompanying development work like parsing a file or deploying software updates.</p>
<p>If you work in Windows, learn to use the command line along with some basic VBScript and batch (.bat) file &quot;programming.&quot;</p>
<p>If you work in a Linux / UNIX environment, you probably already know the things you need to learn.&#160; In case you don&#8217;t, I suggest digging into some shell scripting, sed, awk, and grep after you&#8217;ve mastered the command line fundamentals.</p>
<p>If you work in an OS X environment, you just need Photoshop.&#160; No, I&#8217;m kidding.&#160; Learn the UNIX utilities.</p>
<p>Decent command line and scripting skills are your <a href="http://en.wikipedia.org/wiki/Ferrocerium" target="_blank">ferrocerium</a> – more hardcore than a match and much more durable.</p>
<h3>8. Services, daemons, and cron</h3>
<p>Sometimes software just needs to run on its own.&#160; If you&#8217;re a Windows developer, learn how to build a Windows Service and how to run programs with the Task Scheduler.&#160; If you&#8217;re in a Linux or UNIX environment, learn how to write a daemon and schedule cron jobs.&#160; Even if you don&#8217;t specifically need a Windows Service or a daemon process in the foreseeable future, understanding the concepts will make you a better programmer.&#160; Unlike desktop apps that can be easily restarted or web apps in which code executes in short bursts, daemons and services are long-running processes that require careful creation.</p>
<p>Thinking about responsible resource management in a long-running process will make you a better programmer, just like building a campfire in the wilderness from collected wood will make you that much better at building your next campground sing-along-and-make-some-s&#8217;mores campfire.</p>
<p>Mmmm&#8230;&#160; s&#8217;mores&#8230;</p>
<h3>Let the Comments Flow</h3>
<p>Agree?&#160; Disagree?&#160; Think I missed something?&#160; Leave a comment and let&#8217;s discuss.</p>
<p>&#160;</p>
<p><em><font size="1">(photo credits: </font></em><a href="http://www.flickr.com/photos/72213316@N00/3822866409/" target="_blank"><em><font size="1">Alaskan Dude</font></em></a><em><font size="1">)</font></em></p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/survival-skills-for-developers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Blogging Refocus and Page Size</title>
		<link>http://ardentdev.com/blogging-refocus-and-page-size/</link>
		<comments>http://ardentdev.com/blogging-refocus-and-page-size/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 11:00:00 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/blogging-refocus-and-page-size/</guid>
		<description><![CDATA[As part of my planning for 2010, I decided to write new vision statements for some of my web sites and put myself back on a content creation schedule.
This site (ardentdev.com) will now be updated every Wednesday, so stay tuned via the RSS feed or subscribe by email.
New Design
I decided to simplify the design, opting [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my planning for 2010, I decided to write new vision statements for some of my web sites and put myself back on a content creation schedule.</p>
<p>This site (ardentdev.com) will now be updated every Wednesday, so stay tuned via the RSS feed or <a title="Subscribe to Ardent Dev Blog by Email" href="http://feedburner.google.com/fb/a/mailverify?uri=ArdentBlog" rel="nofollow" target="_blank">subscribe by email</a>.</p>
<h3>New Design</h3>
<p>I decided to simplify the design, opting for a clean white background, more whitespace, and less colour.&#160; Hope you find it easier to read.</p>
<p><a href="http://ardentdev.com/wp-content/uploads/2010/02/ardent2010.jpg" rel="lightbox"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ardent2010" border="0" alt="ardent2010" src="http://ardentdev.com/wp-content/uploads/2010/02/ardent2010_thumb.jpg" width="600" height="277" /></a> </p>
<h3>Page Size Optimization</h3>
<p>One of my goals in redesigning the site was to reduce the page size a bit.&#160; I like to include images in my posts so going overboard on optimization wasn&#8217;t going to make total load time much better, but small improvements are always welcome.</p>
<h3>Thanks, YSlow</h3>
<p>To measure my optimization progress, I used <a href="http://developer.yahoo.com/yslow/" rel="nofollow" target="_blank">YSlow</a>.&#160; YSlow is a Firefox add-on that integrates with Firebug.&#160; <a href="http://getfirebug.com/" rel="nofollow" target="_blank">Firebug</a> is a web development add-on for Firefox.&#160; I highly recommend you hook yourself up with the <em>Firefox + Firebug + YSlow triad of awesome</em> if you do any web development.</p>
<p>My quest for page size reduction began with cleaning out the old WordPress theme.&#160; For example, by removing Recent Posts and Recent Comments from the footer, I reduced the amount of HTML and gained the happy side effect of reducing the number of database hits required to build a page.</p>
<p>ArdentDev.com serves its HTML content compressed.&#160; At the time of the design switch, the old theme was sending down 13.7K of compressed HTML for the home page.&#160; The theme changes reduced that to 12.4K.&#160; Dropping the number of posts shown on the home page from 10 to 5 brought things down to 7.7K.&#160; That&#8217;s <strong>6K less</strong> than the original (not including images from posts no longer visible on the home page).</p>
<p>I did a clean up of the CSS files for the site as well.&#160; The site has a CSS file for web browsers and a CSS file for printing.&#160; With some editing and some whitespace removal, the CSS files went from 4.6K down to 3.2K.&#160; It was not a super thorough scrub of the CSS, but I <strong>trimmed another 1.4K</strong>.</p>
<p>The previous theme referenced nine images via the CSS file.&#160; I dumped all those extraneous little images, which knocked&#160; 29.8K off the page size.&#160; I then introduced a new logo that added back 2K.&#160; That left a <strong>27.8K reduction</strong>, not to mention 8 fewer HTTP requests.</p>
<p>I also dropped a banner ad that <strong>removed 0.4K</strong> of JavaScript and an additional HTTP request (plus another subsequent HTTP request to download the ad itself).</p>
<h3>Net Gain (Well, Net Loss <em>Really</em>…)</h3>
<p><strong>The total reduction in page size came out to 35.6K</strong> as well as 9 fewer HTTP requests (not counting the request for the banner ad).&#160; For a broadband Internet user, the optimizations should make the home page load 1/10 to 1/4 of a second faster than before.&#160; Not a massive savings but a rewarding exercise as I searched for ways to reduce the bulk of the home page.</p>
<p>Everyone&#8217;s mileage will vary but please leave a comment about your own page optimization experiences.</p>
<h3>Previous YSlow Stats</h3>
<p><a href="http://ardentdev.com/wp-content/uploads/2010/02/yslowprev.jpg" rel="lightbox"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="yslow-prev" border="0" alt="yslow-prev" src="http://ardentdev.com/wp-content/uploads/2010/02/yslowprev_thumb.jpg" width="435" height="208" /></a>&#160; </p>
<h3>New YSlow Stats</h3>
<p><a href="http://ardentdev.com/wp-content/uploads/2010/02/yslownewest.jpg" rel="lightbox"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="yslow-newest" border="0" alt="yslow-newest" src="http://ardentdev.com/wp-content/uploads/2010/02/yslownewest_thumb.jpg" width="433" height="210" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/blogging-refocus-and-page-size/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>No Facebook Connect Cookies for Localhost Development</title>
		<link>http://ardentdev.com/no-facebook-connect-cookies-for-localhost-development/</link>
		<comments>http://ardentdev.com/no-facebook-connect-cookies-for-localhost-development/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 21:16:44 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/no-facebook-connect-cookies-for-localhost-development/</guid>
		<description><![CDATA[While doing some Facebook Connect development, I found that the expected cookies were not being set when developing on localhost.&#160; To fix the problem, I added localhost.local to my hosts file (pointing at 127.0.0.1) and changed the settings for my Facebook application to use localhost.local as the base domain.
]]></description>
			<content:encoded><![CDATA[<p>While doing some Facebook Connect development, I found that the expected cookies were not being set when developing on localhost.&#160; To fix the problem, I added <strong>localhost.local</strong> to my hosts file (pointing at 127.0.0.1) and changed the settings for my Facebook application to use localhost.local as the base domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/no-facebook-connect-cookies-for-localhost-development/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 Hangs When Debugging ASP.NET App</title>
		<link>http://ardentdev.com/visual-studio-2008-hangs-when-debugging-asp-net-app/</link>
		<comments>http://ardentdev.com/visual-studio-2008-hangs-when-debugging-asp-net-app/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 20:12:41 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/visual-studio-2008-hangs-when-debugging-asp-net-app/</guid>
		<description><![CDATA[I&#8217;ve been doing some work with ASP.NET MVC but was having periodic issues with Visual Studio 2008 hanging (freezing / becoming unresponsive) when I tried to run my web application with debugging.&#160; The problem only occurred with a specific web project.
I tried deleting the Temporary ASP.NET Files (%userprofile%\AppData\Local\Temp\Temporary ASP.NET Files) but that did not solve [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing some work with ASP.NET MVC but was having periodic issues with Visual Studio 2008 hanging (freezing / becoming unresponsive) when I tried to run my web application with debugging.&#160; The problem only occurred with a specific web project.</p>
<p>I tried deleting the Temporary ASP.NET Files (%userprofile%\AppData\Local\Temp\Temporary ASP.NET Files) but that did not solve the problem.</p>
<p>I tried deleting the obj folder.&#160; No luck.</p>
<p>I tried waiting it out one evening.&#160; I eventually feel asleep and when I awoke sometime in the middle of the night, my web app was happily waiting for input and Visual Studio debugging was completely responsive.&#160; That proved to be a temporary salve.</p>
<p><a href="http://ardentdev.com/wp-content/uploads/2010/01/showallfiles.jpg" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; margin: 11px 11px 11px 0px; display: inline; border-top: 0px; border-right: 0px" title="showallfiles" border="0" alt="showallfiles" align="left" src="http://ardentdev.com/wp-content/uploads/2010/01/showallfiles_thumb.jpg" width="176" height="89" /></a> The problem resurfaced again a few days later and I finally figured out the problem with my uncooperative debugger.&#160; I have a folder containing approximately 20,000 images that are not included in the Visual Studio web project but are sitting in a directory in the web site.&#160; I had turned on &quot;Show All Files&quot; in Solution Explorer to add some script files into the project.&#160; When &quot;Show All Files&quot; is off, F5 (Start Debugging) works like&#160; champ.&#160; When &quot;Show All Files&quot; is on, Visual Studio becomes unresponsive.&#160; In reality it is not &quot;frozen&quot; but simply taking a very long time to process those 20,000 image files.</p>
<p>Mystery solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/visual-studio-2008-hangs-when-debugging-asp-net-app/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How Does a Programmer Change a Car Tire?</title>
		<link>http://ardentdev.com/how-does-a-programmer-change-a-car-tire/</link>
		<comments>http://ardentdev.com/how-does-a-programmer-change-a-car-tire/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 12:45:40 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://ardentdev.com/how-does-a-programmer-change-a-car-tire/</guid>
		<description><![CDATA[While my buddy Jason Row was traveling home from the awesomeness that was TechDays Halifax 2009, Mother Nature invoked the Deflate() method on his tire.
How does a software developer change a car tire in the dark?&#160; By the light of his laptop screen of course:

Nice!
(BTW, Jason is currently job hunting if you know someone looking [...]]]></description>
			<content:encoded><![CDATA[<p>While my buddy <a href="http://www.linkedin.com/in/jasonrow" target="_blank">Jason Row</a> was traveling home from the awesomeness that was TechDays Halifax 2009, Mother Nature invoked the Deflate() method on his tire.</p>
<p>How does a software developer change a car tire in the dark?&#160; By the light of his laptop screen of course:</p>
<p><a href="http://ardentdev.com/wp-content/uploads/2009/11/laptoptirechange.jpg" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Changing a car tire by the light of a laptop screen" border="0" alt="Changing a car tire by the light of a laptop screen" src="http://ardentdev.com/wp-content/uploads/2009/11/laptoptirechange_thumb.jpg" width="484" height="364" /></a></p>
<p>Nice!</p>
<p><em>(BTW, Jason is currently job hunting if you know someone looking to tap into that creative thinking.&#160; You can find </em><a href="http://www.linkedin.com/in/jasonrow" target="_blank"><em>Jason on LinkedIn</em></a><em> or </em><a href="http://geekswithblogs.net/rowser/contact.aspx" target="_blank"><em>contact him via his blog</em></a><em>.)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://ardentdev.com/how-does-a-programmer-change-a-car-tire/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
