<?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>HCoder.org &#187; wikis</title>
	<atom:link href="http://hcoder.org/tag/wikis/feed/" rel="self" type="application/rss+xml" />
	<link>http://hcoder.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 15 Apr 2012 21:43:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Pragmatic Thinking &amp; Learning, Wikis and Javascript</title>
		<link>http://hcoder.org/2011/10/24/pragmatic-thinking-learning-wikis-and-javascript/</link>
		<comments>http://hcoder.org/2011/10/24/pragmatic-thinking-learning-wikis-and-javascript/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 21:36:25 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[markdown]]></category>
		<category><![CDATA[pet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[wikis]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=1207</guid>
		<description><![CDATA[After so much &#8220;slacking&#8221; (just posting book summaries) I&#8217;m trying to go back to regular blogging. Remember my summary of Pragmatic Thinking &#38; Learning? There are many exercises and pieces of advice in that book that I have been trying to practice. One of the things I decided to go for was having a personal [...]]]></description>
			<content:encoded><![CDATA[<p>After so much &#8220;slacking&#8221; (just posting book summaries) I&#8217;m trying to go back to regular blogging. Remember <a href="http://hcoder.org/2011/10/10/book-summary-pragmatic-thinking-learning/">my summary of Pragmatic Thinking &amp; Learning</a>? There are many exercises and pieces of advice in that book that I have been trying to practice. One of the things I decided to go for was having a <a href="http://en.wikipedia.org/wiki/Personal_wiki">personal wiki</a>. One of the reasons being, in all honesty, that I had always wanted to have one. Another reason being that my pet TODO application, <a href="https://bitbucket.org/emanchado/bubug/wiki/Home">Bubug</a>, had finally died after some Debian update (some retarded Ruby module broke compatibility with the version I was using, or something; couldn&#8217;t care to investigate). And yet another reason, well, to have a new small pet project and follow my obsession with learning Javascript, and especially <a href="http://nodejs.org/">Node</a>. And that I wanted to give <a href="https://no.de/">Joyent&#8217;s free Node service</a> a try!</p>
<p>But enough with the reasons. It&#8217;s starting to look like it was a pretty useful mini-project. Not just because I learned a bit more Javascript, the excellent <a href="http://expressjs.com/">express</a> web development framework and other things, but also because the result itself, even though it didn&#8217;t take long to develop (and it was pretty fun, even!), feels useful. It feels like a nice place to put all my notes, TODOs, random ideas for projects, etc. A similar feeling of freedom as when I started using my first <a href="http://en.wikipedia.org/wiki/Moleskine">Moleskine</a>. Not that I would ditch paper for computer-<em>anything</em>, but it&#8217;s useful and freeing in its own way, for specific purposes.</p>
<p>About the technology, I used the <a href="http://en.wikipedia.org/wiki/Markdown">Markdown</a> format for the pages thanks to the <a href="https://github.com/evilstreak/markdown-js">markdown-js library</a> (it&#8217;s really nice that the module has an intermediate tree format that you can parse to add your own stuff before converting to HTML, like e.g. wikipage links!), <a href="http://expressjs.com/">express</a> for the whole application structure and <a href="http://code.google.com/p/js-test-driver/">js-test-driver</a> + <a href="http://cjohansen.no/en/javascript/jstdutil_a_ruby_wrapper_over_jstestdriver">jsautotest</a> + a bit of syntax sugar from <a href="http://sinonjs.org/">Sinon.js</a> for the tests (but looking forward to trying out <a href="http://busterjs.org/">Buster.js</a> when it&#8217;s released!). The deployment to Joyent&#8217;s Node.js SmartMachine was reasonably easy. Actually, it was pretty easy once I figured the following:</p>
<ul>
<li>You must not forget to listen in the correct port, with <code class="syntax javascript">server.listen(process.env.PORT || 8001)</code></li>
<li>There are a couple of pretty useful <a href="http://wiki.joyent.com/display/node/Getting+Started+with+a+Node.js+SmartMachine#GettingStartedwithaNode.jsSmartMachine-SSHaccess">Node.js-related command-line utilities</a> to check logs, restart applications and so on</li>
<li>The configuration of the application can be done via <code class="syntax">npm config</code>, see <a href="http://wiki.joyent.com/display/node/npm+Integration">npm integration on Joyent&#8217;s Wiki</a></li>
</ul>
<p>If you&#8217;re curious to see the code, play with it or use it yourself, take a peek to the <a href="https://github.com/emanchado/Wiki-toki">Wiki-Toki repository</a> on GitHub. Happy hacking!</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=1207&amp;md5=666f11f6b9488a0fae815494decab83b" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2011/10/24/pragmatic-thinking-learning-wikis-and-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=30124&amp;popout=1&amp;url=http%3A%2F%2Fhcoder.org%2F2011%2F10%2F24%2Fpragmatic-thinking-learning-wikis-and-javascript%2F&amp;language=en_GB&amp;category=text&amp;title=Pragmatic+Thinking+%26%23038%3B+Learning%2C+Wikis+and+Javascript&amp;description=After+so+much+%26%238220%3Bslacking%26%238221%3B+%28just+posting+book+summaries%29+I%26%238217%3Bm+trying+to+go+back+to+regular+blogging.+Remember+my+summary+of+Pragmatic+Thinking+%26amp%3B+Learning%3F+There+are+many+exercises+and+pieces...&amp;tags=books%2Cdevelopment%2Cgithub%2Cjavascript%2Cmarkdown%2Cpet%2Cprogramming%2Cprojects%2Cwikis%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Documentation and wikis</title>
		<link>http://hcoder.org/2008/11/28/documentation-and-wikis/</link>
		<comments>http://hcoder.org/2008/11/28/documentation-and-wikis/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 23:00:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[processors]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[wikis]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[After a couple of (unrelated) recent events, I remembered that some/most people use some desktop &#8220;word processor&#8221; for writing and maintaining documentation. After years of working with Wikis for virtually all documentation, I have to say that I don&#8217;t understand why people still use those dinosaurs. Using a word processor for documentation feels so nineties. [...]]]></description>
			<content:encoded><![CDATA[<p>After a couple of (unrelated) recent events, I remembered that some/most people use some desktop &#8220;word processor&#8221; for writing and maintaining documentation. After years of working with Wikis for virtually all documentation, I have to say that I don&#8217;t understand why people still use those <em>dinosaurs</em>. Using a word processor for documentation feels so <em>nineties</em>.</p>
<p>When working in technical teams, I think the advantages of the Wikis are amazing:</p>
<ol>
<li>You know you&#8217;re always reading/modifying the latest version. Uploading to a central server or a shared folder, although theoretically possible (and I&#8217;m sure some people do), I don&#8217;t think it works as well.</li>
<li>You can link all content to any other content (and if you keep all your documentation in the same Wiki, you can link to other project documentation or general company/team guidelines or conventions, for example).</li>
<li>You can keep bits of documentation that don&#8217;t fit in a standalone &#8220;document&#8221;, like collections of small tips, lists of things to take into account when you do this or that, checklists, configuration/code snippets and examples, journals, etc. And of course link all that to any other part of the documentation, as stated above.</li>
<li>You think &#8220;globally&#8221;, in terms of the content, not in terms of &#8220;documents&#8221; that are (usually artificially) independent from each other. Also, it&#8217;s mentally cheaper to browse through wiki pages than it is to browse word processor documents, so the documentation is more visible and more used.</li>
<li>You focus on <strong>content</strong>, not on formatting or the way things are presented. It&#8217;s also easier to keep the same consistent look and feel for all your documentation, if you wanted to change it.</li>
<li>As you don&#8217;t have &#8220;documents&#8221;, just &#8220;documentation&#8221;, people feel free to edit and update it whenever is necessary, instead of feeling the need to ask the &#8220;author&#8221; of each document.</li>
<li>You don&#8217;t need any special program that might not be available in all platforms, or at least not interpret the document in exactly the same way. It&#8217;s also easier to access it from other computers.</li>
<li>Documents don&#8217;t get lost or become obsolete because of the format.</li>
<li>You usually get revision control for free (revision control that makes it trivial to see the whole change history for the documentation, review which exact changes some person has made in a given moment, etc). And if you&#8217;re using a Wiki that doesn&#8217;t support version control, you should use a different Wiki <code>;-)</code></li>
</ol>
<p>Of course, I&#8217;m not saying Wikis are the perfect solution, let alone independently of the team, company, project and context you&#8217;re using them in, but I think in general they are quite superior as technical documentation repository for a software development team.</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=49&amp;md5=58fb92791a64cef8c46f322717267dbe" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2008/11/28/documentation-and-wikis/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=30124&amp;popout=1&amp;url=http%3A%2F%2Fhcoder.org%2F2008%2F11%2F28%2Fdocumentation-and-wikis%2F&amp;language=en_GB&amp;category=text&amp;title=Documentation+and+wikis&amp;description=After+a+couple+of+%28unrelated%29+recent+events%2C+I+remembered+that+some%2Fmost+people+use+some+desktop+%26%238220%3Bword+processor%26%238221%3B+for+writing+and+maintaining+documentation.+After+years+of+working+with+Wikis+for+virtually...&amp;tags=documentation%2Cprocessors%2Crants%2Cwiki%2Cwikis%2Cword%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>

