<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Nimble Code: Category Project Management</title>
  <subtitle type="html">Jacob Harris' Weblog</subtitle>
  <id>tag:www.nimblecode.com,2005:Typo</id>
  <generator version="4.0" uri="http://typo.leetsoft.com">Typo</generator>
  <link href="http://www.nimblecode.com/xml/atom10/category/project-management/feed.xml" rel="self" type="application/xml+atom"/>
  <link href="http://www.nimblecode.com/articles/category/project-management" rel="alternate" type="text/html"/>
  <updated>2008-11-17T23:30:15-08:00</updated>
  <entry>
    <author>
      <name>Jacob Harris</name>
      <email>harrisj@nimblecode.com</email>
    </author>
    <id>urn:uuid:3c39b050-a882-4368-8e37-92bd39eb32a0</id>
    <published>2006-07-03T09:58:00-07:00</published>
    <updated>2008-11-17T23:30:15-08:00</updated>
    <title>Things I Figured Out</title>
    <link href="http://www.nimblecode.com/articles/2006/07/03/things-i-figured-out-technical-edition" rel="alternate" type="text/html"/>
    <category term="project-management" scheme="http://www.nimblecode.com/articles/category/project-management" label="Project Management"/>
    <category term="silly" scheme="http://www.nimblecode.com/articles/category/project-management" label="Silly"/>
    <category term="programming" scheme="http://www.nimblecode.com/articles/category/project-management" label="Programming"/>
    <category term="career" scheme="http://www.nimblecode.com/articles/category/project-management" label="Career"/>
    <content type="html">&lt;p&gt;And now for something different (and &lt;em&gt;shorter&lt;/em&gt;, for those recovering from the length of the last post). Insanely talented Internet prankster &lt;a href="http://www.cockeyed.com/"&gt;Rob Cockburn&lt;/a&gt; recently posted a short and sweet article &lt;a href="http://www.cockeyed.com/lessons/figured/figured.shtml"&gt;Things I Figured Out&lt;/a&gt;, where he listed a bunch of interesting and slightly stupid revelations he&amp;#8217;s had over the years. This has been followed by 15 pages of &lt;a href="http://www.cockeyed.com/lessons/figured/figured01.shtml"&gt;reader comments&lt;/a&gt; chronicling their own  brilliant insights and forehead-slapping moments.&lt;/p&gt;


	&lt;p&gt;I think this is a brilliant idea for an article, and I&amp;#8217;ve certainly had my moments of utter brilliance and sheer stupidity (even this blog probably has examples of both). So, I&amp;#8217;m going to post a few of the things I&amp;#8217;ve figured out on my own or, failing that, learned the hard way. But since this is a technical blog only, there will be no personal idiocy. Just technical things I now know better about now&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;XML is Not For Everything&lt;/strong&gt; Great for long data files, lousy for configuration files, downright terrible for love notes. It&amp;#8217;s not one-size-fits-all.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;XML Is a Minute to Learn, a Lifetime to Master&lt;/strong&gt; It&amp;#8217;s easy to gloss over some of &lt;span class="caps"&gt;XML&lt;/span&gt;&amp;#8217;s subtleties when you begin, but they&amp;#8217;ll get you later if you aren&amp;#8217;t careful. Sadly, very few resources articulate some of the things that&amp;#8217;ll get you, but maybe there&amp;#8217;s a future blog post about that.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Somebody&amp;#8217;s Done It Better Already&lt;/strong&gt; I&amp;#8217;m being glib here, but one of the joys of Open Source is that if you need a generic component, it&amp;#8217;s best to look for someone who&amp;#8217;s created it already. For instance, if you need a logger, you could write one on your own, but there are excellent libraries out there and your time is better spent writing stuff you can sell.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;HTTP Blows Away Raw Sockets&lt;/strong&gt; Unless you absolutely, positively have no choice, there is no reason you should use raw sockets instead of &lt;span class="caps"&gt;HTTP&lt;/span&gt; protocol for remote services. Sure, it might be harder to set up in the short run, but it&amp;#8217;s so much easier to debug and maintain in the long run this is a no-brainer. Especially since small, light, and fast &lt;span class="caps"&gt;HTTP&lt;/span&gt; parsing libraries are available for all.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Often Too Much Is Worse Than Too Little&lt;/strong&gt; Or as Donald Knuth put it, &amp;#8220;Premature optimization is the root of all evil.&amp;#8221; I&amp;#8217;ve been stung so many times by trying to be clever, I&amp;#8217;ve finally realized I should see if it&amp;#8217;s slow before I try to fix what ain&amp;#8217;t broke.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Stored Procedures Are Evil&lt;/strong&gt; DBAs swear by them because they&amp;#8217;re supposed to control access and speed up performance. In reality, they move application logic out of your program into an awkward language (SQL) that will usually fall out of sync with your application and aren&amp;#8217;t kept consistently in sourcesafe or migrations. Worse still, they&amp;#8217;re the trenches for warfare between developers and operations.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Developers Black-Box Way Too Much&lt;/strong&gt; It&amp;#8217;s too easy to leave this with a cliché admonition to &amp;#8220;think outside the box,&amp;#8221; but it&amp;#8217;s sadly true. As developers, we&amp;#8217;re taught early the useful technique of abstracting away complexity within black boxes. This is useful for that third-party &lt;span class="caps"&gt;API&lt;/span&gt; or calling operating systems, but it&amp;#8217;s very easy to fall into that trap in your job (&amp;#8220;we&amp;#8217;ve &lt;em&gt;always&lt;/em&gt; done it this way&amp;#8221;) or your life (&amp;#8220;I&amp;#8217;ll just wait for career advancement to come to me&amp;#8221;).&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Physical Contact Matters&lt;/strong&gt; The Internet still hasn&amp;#8217;t annihilated geography yet. And personal, physical presence still matters. Meeting people is so much better than emailing them. Which I guess is just a roundabout way of saying, yet again, I should&amp;#8217;ve gone to &lt;a href="http://www.railsconf.org/"&gt;Railsconf&lt;/a&gt;. Sorry!&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;You&amp;#8217;re Going to Screw Up The First Time. Just Accept It.&lt;/strong&gt; It&amp;#8217;s so easy to fall into the fear of not getting it right the first time, you never get started. Get over it. Accept you&amp;#8217;re going to make mistakes the first time around and you&amp;#8217;ll fix it later and do the best you can. And if you can, write unit tests to make it easier to clean it up when you start.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Things Break Slowly, Rarely All at Once&lt;/strong&gt; It&amp;#8217;s rare you can pinpoint a single decision or piece of code where everything catastrophically failed. Instead, the road to failure and mediocrity is a gradual and painful process, of many small failures along the way. It&amp;#8217;s hard to resist the downwards momentum, because it always seems feasible to reverse. I would like to see more project management texts that tell you how to stop digging that hole.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;If You Can&amp;#8217;t Explain It, You Shouldn&amp;#8217;t Do It.&lt;/strong&gt; Sometimes I think half of IT operates by overwhelming your natural instincts and confusion with so much jargon, your brain just gives up. It&amp;#8217;s a mysticism of sorts, but the wakeup to reality again is painful. My rule of thumb is if I can&amp;#8217;t explain it in plain English using metaphors, and optionally table utensils, then it&amp;#8217;s not worth doing. Because it most certainly will not be maintainable.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Okay, that&amp;#8217;s all I have so far. But I&amp;#8217;m sure the realizations will keep coming. Happy 4th of July everybody!&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Jacob Harris</name>
      <email>harrisj@nimblecode.com</email>
    </author>
    <id>urn:uuid:b63a1668-fd65-4133-b422-beeec8f0a510</id>
    <published>2006-05-31T15:25:00-07:00</published>
    <updated>2008-11-19T20:36:23-08:00</updated>
    <title>Are You Happy?</title>
    <link href="http://www.nimblecode.com/articles/2006/05/31/are-you-happy" rel="alternate" type="text/html"/>
    <category term="project-management" scheme="http://www.nimblecode.com/articles/category/project-management" label="Project Management"/>
    <category term="programming" scheme="http://www.nimblecode.com/articles/category/project-management" label="Programming"/>
    <category term="career" scheme="http://www.nimblecode.com/articles/category/project-management" label="Career"/>
    <category term="flow" scheme="http://www.nimblecode.com/articles/tag"/>
    <category term="programming" scheme="http://www.nimblecode.com/articles/tag"/>
    <category term="productivity" scheme="http://www.nimblecode.com/articles/tag"/>
    <content type="html">&lt;p&gt;I read a lot of feeds. A &lt;em&gt;lot&lt;/em&gt; of feeds. In my hobby trend-spotting (it&amp;#8217;s like a dorkier birdwatching), I read my feeds to monitor the zeitgeist to see what the real &lt;a href="http://www.macdevcenter.com/pub/a/mac/2002/05/14/oreilly_wwdc_keynote.html"&gt;Alpha Geeks&lt;/a&gt; are into. And the last year has had some interesting trends. For instance, dynamic languages like Python and Ruby are now firmly the new wave, although functional languages (Haskell, &lt;span class="caps"&gt;OCAML&lt;/span&gt;) and prototype languages (Io) seem to also be attracting interest. Web2.0 is a term bandied around casually, mocked, and even &lt;a href="http://radar.oreilly.com/archives/2006/05/web_20_service_mark_controvers.html"&gt;litigated over&lt;/a&gt; , but the concept seems to be here to stay. The most novel aspect I&amp;#8217;ve seen about Web2.0 is that the Web has become a source of real tools many developers are using to manage their lives; as a holder of Sun stock much diminished in value, I guess I can at least take comfort in the fact that their adage &amp;#8220;The network is the computer&amp;#8221; seems to finally be coming true. Sure, it&amp;#8217;s about 6 years later than predicted, but it&amp;#8217;s happening.&lt;/p&gt;


	&lt;p&gt;But most interesting to me is when the alpha geeks flock to ideas not directly related to coding frameworks, business plans or the like. For instance, six months ago it seemed like every serious hacker was devouring &lt;a href="http://www.davidco.com/"&gt;Getting Things Done&lt;/a&gt; and blogging about organizing their lives. And now the new obsession is &lt;a href="http://web.ionsys.com/~remedy/FLOW%20%20.htm"&gt;Flow&lt;/a&gt;. A conceptualiztion first coined in a book fifteen years ago, Flow is a term Mihaly Csiksczentmihalyi (&lt;em&gt;don&amp;#8217;t ask me to pronounce that&lt;/em&gt;) coined for that mental state where work is  stimulating but not frustrating, intention translates effortlessly into action, and happiness and productivity are intertwined. Csiksczentmihalyi teased out a description of Flow by looking at the mental states of people practicing Zen mindfulness or risking bodily harm in extreme sports like rock-climbing or surfing. But he could just as easily described the euphoric states of serious computer programming. Small wonder this  book has now been &amp;#8220;discovered&amp;#8221; by the alpha geeks, this fleeting feeling is what we find so addictive about programming in the first place.&lt;/p&gt;


	&lt;p&gt;&lt;span style="float: right; display: block; padding: 5px;;"&gt;&lt;img src="http://www.nimblecode.com/files/flow_channel.jpg" alt="" /&gt;&lt;/span&gt; The basic concept of Flow is that certain tasks make us happy to do them because they exist within a narrow channel between fear and boredom, because they encourage us to improve our skills but do not overwhelm us with too many challenges at once (&lt;em&gt;for Donnie Darko fans, the goal of flow is to find the middle of the fear-love axis&lt;/em&gt;). We developers are well-acquainted with that fear. It&amp;#8217;s the fear that keeps you from refactoring that legacy system because you&amp;#8217;re not sure what would break, the fear that keeps us using a clunky library because we can&amp;#8217;t test changes, the fear that makes deploying the new version to the server nail-biting because it&amp;#8217;s crammed full of changes that might take it down. In short, fear and specifically &lt;em&gt;fear of change&lt;/em&gt; is a constant state of mind for too many programmers, but it doesn&amp;#8217;t have to be. A state of happiness is possible if you can conquer the fear.&lt;/p&gt;


	&lt;p&gt;Flow is the reason why some frameworks like Ruby on Rails are so appealing to programmers; it straddles that line between utter boredom (coding a web site in &lt;span class="caps"&gt;PHP&lt;/span&gt; like always) and high anxiety (having to master a complicated system like Cocoon just to print out &amp;#8220;Hello World&amp;#8221;). The key is allowing people to add capabilities (like authentication, tagging) as their skills grow, but not require everything to be planned up front. It conquers the fear of change, but hacking change into smaller steps. What makes a framework &lt;em&gt;good&lt;/em&gt; (the same is true for languages, methodologies, testing, architectures) is how it destroys this anxiety.&lt;/p&gt;


	&lt;p&gt;For most of my career, the basic question asked of developers was &lt;strong&gt;are you productive?&lt;/strong&gt; Computer programmers are naturally obsessed with productivity. This is after all a field where good programmers can outperform bad coders by several orders of magnitude. and for years the industry has marketed to this by selling tools that promise leaps in productivity. The key to productivity was seen only through uses of higher-level toolsets/IDEs or APIs. This is a philosophy Cote has memorably termed &lt;a href="http://www.redmonk.com/cote/archives/2006/05/oracle_develope.html"&gt;Right-Click Coding&lt;/a&gt; because of all the right clicking and fiddling you have to do to get anywhere. This was seen as a development accelerator, because it enabled poor developers to do complicated things like enterprise integration and &lt;span class="caps"&gt;GUI&lt;/span&gt; development without needing to actually write code or learn details of how things work. But, I think that overall such tools have actually decreased developer productivity in several ways. Like a teacher teaching only to her worst students in class, the wizards and libraries stifle and frustrate more able programmers. And since they remove developers from using the underlying code, wizards only accelerate bloat and complexity in their underlying code bases.&lt;/p&gt;


	&lt;p&gt;Worse of all, the fear was still out there. Indeed, like air conditioner output makes city streets hotter, they&amp;#8217;ve made the situation worse. By piling away programming within massive APIs and single-purpose wizards, this approach has created a nightmare of complexity waiting to ambush more able developers. Now the question becomes &lt;strong&gt;are you compliant?&lt;/strong&gt; Being savvy to the latest standards, libraries, or buzzwords is touted as the key. But the difficulties people have had using &lt;span class="caps"&gt;SOAP&lt;/span&gt; is but one example of how compliance doesn&amp;#8217;t really help either.
Just mention &amp;#8220;interop&amp;#8221; to any &lt;span class="caps"&gt;CTO&lt;/span&gt; or high-level architect and you&amp;#8217;ll see what I mean. The complexity (and the fear) are still there, standards compliance just blames the programmer when things go wrong.&lt;/p&gt;


	&lt;p&gt;Instead, it&amp;#8217;s time for a new question: &lt;strong&gt;are you happy?&lt;/strong&gt; I think the growing interest in Flow and &lt;span class="caps"&gt;GTD&lt;/span&gt; and higher-level languages and test-driven development and agile project management reflects a sea change in attitude by the alpha geeks. Trying to find happiness through artificially increasing productivity is like putting the cart before the horse. The key point of Flow is not that productivity fights fear and creates happiness, but recognizing that creating happiness is what creates productivity. I think it&amp;#8217;s about time, if we want to avoid the descent into compromises and disillusionment common in computer science. So, get in touch with your feelings when deciding about that design, language, system, api, etc. and ask yourself &amp;#8220;am I happy doing this?&amp;#8221; I think your instincts are a better guide than you know. Trust them. And don&amp;#8217;t be afraid to be happy.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I added some links to the original book as well as discussion in a &lt;a href="http://www.nimblecode.com/articles/2006/06/01/short-takes-pdas-planet-argon-and-happiness"&gt;short take posting&lt;/a&gt;. Happy reading!&lt;/p&gt;</content>
  </entry>
</feed>
