<?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>( f o o b a r . l u ) &#187; Babble</title>
	<atom:link href="http://foobar.lu/wp/category/babble/feed/" rel="self" type="application/rss+xml" />
	<link>http://foobar.lu/wp</link>
	<description>coding should be fun</description>
	<lastBuildDate>Sat, 19 May 2012 10:06:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Plain Text markup (HTML, reST, markdown &amp; co)</title>
		<link>http://foobar.lu/wp/2010/09/08/plain-text-markup-html-rest-markdown-co/</link>
		<comments>http://foobar.lu/wp/2010/09/08/plain-text-markup-html-rest-markdown-co/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 13:10:29 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/?p=103</guid>
		<description><![CDATA[Two of my personal quests I&#8217;ve been on since I started to work are the hunt for a good note-taking system, and the hunt for a good programming font. This post is related to the former&#8230; My preferred medium to write down notes of any kind has been plain-text for a long time. This feels [...]]]></description>
			<content:encoded><![CDATA[<p>Two of my personal quests I&#8217;ve been on since I started to work are the hunt for a good note-taking system, and the hunt for a good programming font. This post is related to the former&#8230;</p>
<p>My preferred medium to write down notes of any kind has been plain-text for a long time. This feels to me like the digital equivalent of pen<strong>cil</strong> &#038; paper. Mostly&#8230;</p>
<p>The big advantage being, that it let&#8217;s you focus on what&#8217;s important. And that is <em>content</em>! But it has one important challenge. How do you represent section headers, bulleted lists, hyperlinks,&#8230; in plain text?</p>
<p>While writing plain text files is quick and easy, sometimes you still want to convert it to a more visually appealing style. Say for example you&#8217;d like to incorporate it into a web-page, then converting it to HTML would be nice.</p>
<p>Over the years I&#8217;ve dealt with quite a few systems used for plain-text markup. Without a question, the most widely known markup language is HTML. Other&#8217;s which come to mind are javadoc, phpdocumentor, ROBOdoc and doxygen. While these are meant to document code, I still count them as markup languages as they have constructs to add style or semantics to the content. All of these are pretty useless as tool to write notes as they are stubbornly assuming you are generating text for code.</p>
<p>About ten years back while writing my own CMS, I needed a way to allow users to markup content. Allowing HTML was not an option because it was hard to edit, and hard to explain for non tech-savvy users. Especially at that time, when the Internet was still something most people considered either &#8220;Magic&#8221; or the &#8220;The Work of The Devil&#8221;. I didn&#8217;t need much. So I concocted my own markup language, and with not even a one-page introduction, people got productive with it.</p>
<p>A few years later I found what I then considered &#8220;The Holy Grail&#8221; of markup: And that was <em><a href="http://daringfireball.net/projects/markdown/">markdown</a></em>. It&#8217;s really well designed, and the resulting &#8220;source&#8221; plain text format is very concise and clean. There&#8217;s not a lot of &#8220;noise&#8221; in the document. It is a perfect candidate for a note-taking format. The only thing that is really missing are tables.</p>
<p>Only recently ( about two years back ) did I come across reST (<a href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>). It&#8217;s been around for quite some time, and I&#8217;m surprised I didn&#8217;t hear from it earlier. And if I had to sum it up in one word, it would be, without any hesitation: Mature! The &#8220;source&#8221; you write is, very clean and readable. Some parts (f. ex.: section headings) are even cleaner as in markdown, whereas other areas are not (f. ex.: hyperlinks). But it is much more complete than markdown!</p>
<p>One thing neither markdown nor reST can do very well is interlinking of documents. This is where <a href="http://sphinx.pocoo.org/">Sphinx</a> comes in. Sphinx is a document generation system which uses a collection of reST files as input. To completely understand it&#8217;s inner workings is not very straight-forward. But easy enough. And it pays off. It generates downright beautiful HTML and PDF (through LaTeX) documents.</p>
<p>In summary I would say that I would in any case prefer reST to anything else. It&#8217;s simple for basic cases, but complete enough, when the document starts to grow. Unfortunately I have not yet found convincing parsers for PHP. So in that case I&#8217;d go with <a href="http://michelf.com/projects/php-markdown/extra/">Markdown Extra</a>. If I needed to write really large documents, I&#8217;d consider Sphinx. Primarily because the generated HTML pages have an offline JavaScript search included, and because of the nice default style <img src='http://foobar.lu/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2010/09/08/plain-text-markup-html-rest-markdown-co/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best &#8220;How to run your internet  company&#8221; video EVER!</title>
		<link>http://foobar.lu/wp/2008/10/24/best-how-to-run-your-internet-company-video-ever/</link>
		<comments>http://foobar.lu/wp/2008/10/24/best-how-to-run-your-internet-company-video-ever/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 11:43:08 +0000</pubDate>
		<dc:creator>wickeddoc</dc:creator>
				<category><![CDATA[Babble]]></category>
		<category><![CDATA[Techno Voodoo]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2008/10/24/best-how-to-run-your-internet-company-video-ever/</guid>
		<description><![CDATA[this week i&#8217;ve stumbled over the following video. the video shows a presentation from Jason Fried from &#8220;37Signals&#8221; about how he runs his company. as i&#8217;m working for a small internet service provider myself, i found this video very inspiring and a must-see for everybody in the business. i think that there are a lot [...]]]></description>
			<content:encoded><![CDATA[<p>this week i&#8217;ve stumbled over the following video.</p>
<p>the video shows a presentation from <strong>Jason Fried</strong> from &#8220;<a href="http://37signals.com/">37Signals</a>&#8221; about how he runs his company.</p>
<p>as i&#8217;m working for a small internet service provider myself, i found this video very inspiring and a must-see for everybody in the business.</p>
<p>i think that there are a lot of very good points being made, like teleworking, focus on what matters, don&#8217;t waste your time on &#8220;david vs goliath&#8221; battles etc.</p>
<p>i recommend this video to everybody who owns or works for a small web-related company</p>
<p><embed src="http://blip.tv/play/AdOYJZCcZQ" type="application/x-shockwave-flash" width="540" height="400" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<p>Source: <a href="http://www.37signals.com/svn/posts/1329-my-talk-at-the-business-of-software-conference-september-2008">http://www.37signals.com/svn/posts/1329-my-talk-at-the-business-of-software-conference-september-2008</a></p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2008/10/24/best-how-to-run-your-internet-company-video-ever/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Throwing standards out the window</title>
		<link>http://foobar.lu/wp/2008/09/24/throwing-standards-out-the-window/</link>
		<comments>http://foobar.lu/wp/2008/09/24/throwing-standards-out-the-window/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 09:16:08 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2008/09/24/throwing-standards-out-the-window/</guid>
		<description><![CDATA[This really seems to be a trend in software development. Especially on the Web. We have organisations like the W3C that continuously struggle to promote interoperability and standards.While developing I am trying to re-use as much of that knowledge as possible. Afterall, if someone already made the effort to solve a specific problem why should [...]]]></description>
			<content:encoded><![CDATA[<p>This really seems to be a trend in software development. Especially on the Web. We have organisations like the W3C that continuously struggle to promote interoperability and standards.While developing I am trying to re-use as much of that knowledge as possible. Afterall, if someone already made the effort to solve a specific problem why should you rethink it again? And actively developing since the late &#8217;90s I can safely say that I&#8217;ve seen my fair share of source code.</p>
<p>One thing I have realised is that in the past, developers seemed to care more about clean coding and standards.I have the impression that all this is seriously going down the drain since &#8211; let&#8217;s name it- the &#8220;Broadband Revolution&#8221;. Since then about everybody has an Internet connection at home and the number of wannabe web-developers skyrocketed. Now, if you google for JavaScript/HTML/whatever references you do not find <strong>one</strong> reference, you find <strong>hundreds</strong>. And about all of them seems to be written by somone who thinks to know better.</p>
<p>Why do these people re-invent the wheel by writing down on <em>their</em> web-space what&#8217;s already been written by domain-specialists? Are they trying to show the world just how &#8220;good&#8221; they really are? Are they looking for recognition on the web that they could not get in real life? Because, frankly, I would not have much respect for the work they do</p>
<p>Back to topic. About standards. Consider the following excerpt:</p>
<blockquote><p>Note: The latest W3C method to connect an event handler to an event is to use the <em>addEventListener</em> method, similar to Java. However, this is not supported by Internet Explorer, and since Internet Explorer owns 96 percent of the browser market, we can ignore <em>addEventListener</em>.<sup>1</sup></p></blockquote>
<p>It&#8217;s statements like these that drive me up the wall. And it&#8217;s one of the first links I got back from google when looking into the ins and outs of event handling in modern browsers. I am all for education and educating new (web-)developers about how things <em>should</em> be done. And this simply is not the way! Stating that you should throw out all the standards, simply because the market leader does not support it is just wrong. With this train of thought, the standards will never be adopted properly. Now this is the special case of Web-Browsers and JavaScript support, but this example easily spans over other areas as well.</p>
<p>Having a text like this in the top google hits surely gives newcomers the wrong idea.</p>
<p>I am honestly curious to see how the web evolves in the next few decades. But maybe I&#8217;m just too pessimistic and it will all turn out well. Time will tell!</p>
<p><sup>1</sup>:  <a href="http://bucarotechelp.com/design/jseasy/96001603.asp?x=52&amp;y=9&amp;page=2" title="Four Ways to Use Java Script Event Handlers" target="_blank">http://bucarotechelp.com/design/jseasy/96001603.asp?x=52&amp;y=9&amp;page=2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2008/09/24/throwing-standards-out-the-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Demographics of Open Source projects</title>
		<link>http://foobar.lu/wp/2008/09/04/demographics-of-open-source-projects/</link>
		<comments>http://foobar.lu/wp/2008/09/04/demographics-of-open-source-projects/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 09:07:21 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2008/09/04/demographics-of-open-source-projects/</guid>
		<description><![CDATA[One thing I have been asking myself quite often lately: &#8220;Why do &#8211; even popular &#8211; open source projects often have mediocre coding standards?&#8221; My first thought was: Ok, most likely many of the projects were written by non IT-professionals who only code &#8220;out of their head&#8221; without thinking things through at first. Curious as [...]]]></description>
			<content:encoded><![CDATA[<p>One thing I have been asking myself quite often lately: &#8220;Why do &#8211; even popular &#8211; open source projects often have mediocre coding standards?&#8221;</p>
<p>My first thought was: Ok, most likely many of the projects were written by non IT-professionals who only code &#8220;out of their head&#8221; without thinking things through at first. Curious as I am, I googled for the very title of this post. And I fell across <a href="http://www.linuxtoday.com/news_story.php3?ltsn=2002-02-01-013-26-PR-DV">an article</a> on Linux Today about a study done by the Boston Consulting Group (Also <a href="http://developers.slashdot.org/article.pl?sid=02/02/05/201259&amp;mode=nested&amp;threshold=3">quoted on slashdot</a>). What I found particularly disturbing was the finding that the most part of the interviewees considered themselves as IT-Professionals. Granted, only interviewing less than 600 developers from only one source (sourceforge), is barely representative, and most likely highly biased as well. But it&#8217;s an interesting survey nonetheless.</p>
<p>So, why &#8211; in the love of $deity &#8211; do so many projects written by allegedly IT-Professionals present themselves with very poor coding style and more often than not very poorly designed database schemata? It&#8217;s becoming an increasing nuisance to work with these projects. If you want/need to make changes/extensions to the existing code you often need quite a while to get to grips with the logic behind all that exists.</p>
<p>Interestingly though, the stricter the rules of the used programming language/database the better the code, but the less common it is as well in open source projects. This does not mean though that it&#8217;s the fault of the programming language. Not at all. Even with a language as flexible as Perl you still can write very sexy code. But I haven&#8217;t seen a single Perl script that fit&#8217;s that description (though I haven&#8217;t inspected many Perl scripts yet in detail).</p>
<p>I would really like to see a study on the demographics of open source software that focusses it&#8217;s goal on coding style/standards rather than on the age group / motivations of coders. And it should also pick a representative sample of developers instead of going the lazy route and only querying sourceforge. This would certainly be an interesting project to do <img src='http://foobar.lu/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2008/09/04/demographics-of-open-source-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Martian Headsets</title>
		<link>http://foobar.lu/wp/2008/03/18/martian-headsets/</link>
		<comments>http://foobar.lu/wp/2008/03/18/martian-headsets/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 10:23:01 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2008/03/18/martian-headsets/</guid>
		<description><![CDATA[One link, lot&#8217;s of text http://www.joelonsoftware.com/items/2008/03/17.html]]></description>
			<content:encoded><![CDATA[<p>One link, lot&#8217;s of text <img src='http://foobar.lu/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://www.joelonsoftware.com/items/2008/03/17.html">http://www.joelonsoftware.com/items/2008/03/17.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2008/03/18/martian-headsets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jhaampe</title>
		<link>http://foobar.lu/wp/2007/10/01/jhaampe/</link>
		<comments>http://foobar.lu/wp/2007/10/01/jhaampe/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 22:24:31 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2007/10/01/jhaampe/</guid>
		<description><![CDATA[About these homes and at the intersections of the roads in this nomadic &#8216;city&#8217; are the gardens. Each is unique. One may centre around an unusually-shaped stump or an arrangement of stones or a graceful bit of wood. They may contain fragrant herbs or bright flowers or any combination of plants. One notable one has [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>About these homes and at the intersections of the roads in this nomadic &#8216;city&#8217; are the gardens. Each is unique. One may centre around an unusually-shaped stump or an arrangement of stones or a graceful bit of wood. They may contain fragrant herbs or bright flowers or any combination of plants. One notable one has at its heart a bubbling spring of steaming water. Here grow plants with fleshy leaves and exotically-scented flowers, denizens of some warmer clime brought here to delight the mountain-dwellers with their mystery. Often visitors leave gifts in the gardens when they depart, a wooden carving or a graceful pot or perhaps merely an arrangement of bright pebbles. The gardens belong to no one, and all tend them.</p></blockquote>
<p>Robin Hobb, <u>Assassins Quest</u>.<br />
Great Britain: Harper Voyager, 1998</p>
<p>When rading this passage of this book (which is part of the <em>Farseer Trilogy</em>) I could not help but think about Open Source projects. If you did not had the same thought when reading the text, go read it again. It is a beautiful analogy.</p>
<p>Note: If any directly involved party feels that any copyright claims have been violated by posting this, please leave a comment. I will take this text down if so requested.</p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2007/10/01/jhaampe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GPG&#8230; anyone?!?</title>
		<link>http://foobar.lu/wp/2007/09/24/gpg-anyone/</link>
		<comments>http://foobar.lu/wp/2007/09/24/gpg-anyone/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 08:22:36 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2007/09/24/gpg-anyone/</guid>
		<description><![CDATA[I can sympathize that GPG (a free and toolset to encrypt and sign digital data) has not been used by the wide public in the past. It was complex to set up, the concept of private/public keys was a bit flaky to most people, PGP (not GPG!) costs precious money, and integration with mail clients [...]]]></description>
			<content:encoded><![CDATA[<p>I can sympathize that <a href="http://www.gnupg.org/">GPG</a> (a free and toolset to encrypt and sign digital data) has not been used by the wide public in the past. It was complex to set up, the concept of private/public keys was a bit flaky to most people, PGP (not GPG!) costs precious money, and integration with mail clients was not trivial.</p>
<p>With the spreading of <a href="http://www.mozilla.com/thunderbird/">Mozilla Thunderbird</a> this has changed drastically however. With <a href="http://enigmail.mozdev.org/">enigmail</a> (a mozilla-addon to use GPG with the mail client), things are becoming much easier and accessible. It offers most of the functionalities you wish to see in such a tool. It allows you to create a new <a href="http://en.wikipedia.org/wiki/Asymmetric_key_algorithm">private/public key pair</a>, has a simple management tool for keys, and lets you very transparently sign and/or encrypt e-mails.</p>
<p>In my opinion, the main reason why GPG is still a thing for &#8220;geeks&#8221; or &#8220;professionals&#8221; is the ignorance (or naiveté) of people about how easy mails can be intercepted. Yesterday I demonstrated somebody this exact fact. And him still being quite computer-literate, he was still baffled that I could show him the text of a mail he sent with his password along the lines (All done with his consent of course). And I do not consider myself a hacker. Just a few minutes of googling, downloading and installing the right tool did it for me. And if I can do this, so can many other people as well. With a little bit more effort, it&#8217;s even possible to alter the text of a mail in transit. Needless to say, the emails are stored on somebody else&#8217;s server. An this in plain text! Even if the server does support SSL, TLS or whatnot. This only means that the <em>transmission</em> between mail-client and mail-server is secured. Not the storage. And you never know who sit&#8217;s behind the screen of that server.</p>
<p>Granted, most of the time, people managing servers like this are most likely geeks themselves, which usually share the concern about security, and thus keep things safe.</p>
<p>Considering this, it can become easy to demonstrate the advantages of mail encryption/signing. And usability is increasing steadily. With the mozilla suit (and thunderbird) now having a user-friendly tool at the ready, people are not yet easily convinced to keep security in mind. Other mail-clients offer easy user-interfaces as well. The KDE-Suite (with <a href="http://kontact.kde.org/kmail/">KMail</a> and <a href="http://developer.kde.org/~kgpg/">KGPG</a>) had brilliant supoprt for this already a long time ago. And there are more free tools available to make it a user-friendly experience. The Swiss-Army-Knife for a Windows environment would probably be <a href="http://www.jumaros.de/rsoft/index.html">GPGShell</a>. It still resorts to the GPG-Cli application from time-to-time, but it keeps it to a minimum. It also offers easy file-encryption via Windows Explorer shell entries. Another alternative is <a href="http://www.gnome.org/projects/evolution/features.shtml">Evolution</a>, which has built-in supoprt for GPG.</p>
<p>Suffice it to say, there is widespread support for GPG (and PGP) in mail-application across all OS&#8217;es. To become more widespread in use, people should be made aware of the risks that are posed by e-mails and how easy it can be made to keep personal information really personal.</p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2007/09/24/gpg-anyone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Provider Fun</title>
		<link>http://foobar.lu/wp/2007/08/16/web-provider-fun/</link>
		<comments>http://foobar.lu/wp/2007/08/16/web-provider-fun/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 22:21:48 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2007/08/16/web-provider-fun/</guid>
		<description><![CDATA[Oh yess&#8230; rants&#8230; I love to rant&#8230; and after my adventures of today and reading the last post, I have to dump my thoughts as well. And this one is about one of our web-providers in our oh-so technically advanced country. Or so they claim. Once upon a time when still nobody in the great [...]]]></description>
			<content:encoded><![CDATA[<p>Oh yess&#8230; rants&#8230; I love to rant&#8230;  and after my adventures of today and reading the last post, I have to dump my thoughts as well. And this one is about one of our web-providers in our oh-so technically advanced country. Or so they claim.<br />
<span id="more-21"></span><br />
Once upon a time when still nobody in the great public knew what a &#8220;web address&#8221; was (don&#8217;t even ask about the term &#8220;URL&#8221;), web-programming was still fun. Tables still ruled the designs, frames were not yet demonized &#8212; and you still had shell-access to your web-server.</p>
<p>It all started with the decision to get some business logic on to the web-pages. After a lot of googling &#8212; wait&#8230; that did not exist yet. A better term would be &#8220;altavistaing&#8221; or &#8220;lycosing&#8221;&#8230; &#8212; I StumbledUpon a revolutionary way to write code for web pages. PHP! Cool finally no more need of weird Perl syntax&#8230;&#8230; Haha&#8230; Right&#8230; moving on&#8230;</p>
<p>After even more research, I found one(!) web-provider that supported both PHP and MySQL. Amazing! <em>They</em> even supported MySQL. So I jumped right in. Support was amazing. It seemed to be a smallish company with only a handful of employees. Immediate shell access to the web-server, full control over all that was neede. Brilliant. And all was nice and dandy.</p>
<p>Until the day the shell-access disappeared. What gives?!? Is this legal? Simply changing features of a running contract? I don&#8217;t know. /me didn&#8217;t read the EULA. Stupid me! Still it seems kind of dubious. With the shell access gone, lots of things became suddenly more complicated. What about cron-tabs? What about MySQL dumps (no phpmyadmin available yet)&#8230; need I say more?</p>
<p>And it didn&#8217;t stop there. The company grew, migrated a few time to new locations. Every time linked with annoying downtimes of the servers. Which would be (kind of) OK, if the servers on the new location actually worked. After every migration the whole workflow changed. New URLs for server-configuration pages, new overall folder-layout (which broke some ftp-scripts), new server-side software which broke yet some other scripts. The list goes on. Now <em>they</em> migrated twice already (or was it three times&#8230; I forgot) and you might hope that after each migration things should run smoother. On the contrary. Server stability is going down the drain. More than one outage per year seems normal. My favourite was one outage where <em>they</em> blamed it on thunderstorms. Right. So there are no UPSs? Hard to beleive. What&#8217;s even funnier, is that the thunderstorms stopped. 4 days prior to the phone call!!!! No no&#8230; physics does not apply to them! <em>They</em> use quantum singularities as power source and shit. I&#8217;m sure of it. It would surely explain a lot.</p>
<p>Analoguous to the previous post, these guys brag about how <em>they</em> are the best and such. Frankly, the ads I&#8217;ve seen in cinema are quite nice. But good ads are not everything.</p>
<p>After many years of suffering and bleeding I learned my lesson. Now I am running two dedicated servers, again with shell access (yay&#8230; usefulness!) and migrated everything over to those. Even the migration was no fun. The old web-provider changed the URLs of the phpmyadmin-interface <em>again</em>. After a few calls that got sorted out again and I have my database dump of my last site. Great. So I import the dump and what do I get? SYNTAX ERROR! Oh the terror! Well it turned out to be a minor glitch of the mediocre phpmyadmin version <em>they</em> were running, and it was easily fixed with some search&#038;replace. Still, it made me whince.</p>
<p>I am happy that I moved the last remnant and I am free of the clutches of this amazing web-provider. And I am even saving loads of money.</p>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2007/08/16/web-provider-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIM rc-file</title>
		<link>http://foobar.lu/wp/2007/08/10/vim-rc-file/</link>
		<comments>http://foobar.lu/wp/2007/08/10/vim-rc-file/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 08:46:31 +0000</pubDate>
		<dc:creator>exhuma.twn</dc:creator>
				<category><![CDATA[Babble]]></category>
		<category><![CDATA[Coding Voodoo]]></category>

		<guid isPermaLink="false">http://foobar.lu/wp/2007/08/10/vim-rc-file/</guid>
		<description><![CDATA[Due to inane network restrictions I am maintaining several copies of my vimrc file. I would syncronize it though other means. Alas, the restrictions not only cover the network. So I have to resort to simply posting it here. This is not meant to be an explanation of vim configuration file. However, it contains lots [...]]]></description>
			<content:encoded><![CDATA[<p>Due to inane network restrictions I am maintaining several copies of my vimrc file. I would syncronize it though other means. Alas, the restrictions not only cover the network. So I have to resort to simply posting it here.</p>
<p>This is not meant to be an explanation of vim configuration file. However, it contains lots of comments, and might prove a good primer/starting-point. Eventually I will also include other modifications I made in my vim-home-folder as they are either used in the vimrc or just plain useful <img src='http://foobar.lu/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><span id="more-19"></span></p>
<h3>The .vimrc</h3>
<pre style="background: #1e1e27; color: #cfbfad; border: 1px solid #617786; padding: 0.2em;">
<font color="#444477">&quot; $Id$</font>
<font color="#444477">&quot;-----------------------------------------------------------------------------</font>

<font color="#808bed">set</font> <font color="#409090">nocompatible</font>           <font color="#444477">&quot; Behave like vim and not like vi!</font>

<font color="#808bed">if</font> <font color="#ff8bff">has</font><font color="#808bed">(</font><font color="#8fbf6d">&quot;vms&quot;</font><font color="#808bed">)</font>     <font color="#444477">&quot;{{{ Stuff from stack.nl (see bottom of file)</font>
  <font color="#808bed">set</font> <font color="#409090">nobackup</font>    <font color="#444477">&quot; do not keep a backup file, use versions instead</font>
<font color="#808bed">else</font>
   <font color="#808bed">set</font> <font color="#409090">backup</font>      <font color="#444477">&quot; keep a backup file</font>
<font color="#808bed">endif</font>

<font color="#444477">&quot; Switch syntax highlighting on, when the terminal has colors</font>
<font color="#444477">&quot; Also switch on highlighting the last used search pattern.</font>
<font color="#808bed">if</font> &amp;t_Co <font color="#808bed">&gt;</font> <font color="#506dbd">2</font> <font color="#808bed">||</font> <font color="#ff8bff">has</font><font color="#808bed">(</font><font color="#8fbf6d">&quot;gui_running&quot;</font><font color="#808bed">)</font>
  <font color="#808bed">syntax</font> <font color="#ff8bff">on</font>
  <font color="#808bed">set</font> <font color="#409090">hlsearch</font>
<font color="#808bed">endif</font>

<font color="#444477">&quot; Only do this part when compiled with support for autocommands.</font>
<font color="#808bed">if</font> <font color="#ff8bff">has</font><font color="#808bed">(</font><font color="#8fbf6d">&quot;autocmd&quot;</font><font color="#808bed">)</font>

<font color="#444477">  &quot; Enable file type detection.</font>
<font color="#444477">  &quot; Use the default filetype settings, so that mail gets 'tw' set to 72,</font>
<font color="#444477">  &quot; 'cindent' is on in C files, etc.</font>
<font color="#444477">  &quot; Also load indent files, to automatically do language-dependent indenting.</font>
  <font color="#808bed">filetype</font> <font color="#ff8bff">plugin</font> <font color="#ff8bff">indent</font> <font color="#ff8bff">on</font>

<font color="#444477">  &quot; Put these in an autocmd group, so that we can delete them easily.</font>
  <font color="#808bed">augroup</font> vimrcEx
  <font color="#808bed">au</font>!

<font color="#444477">  &quot; For all text files set 'textwidth' to 78 characters.</font>
  <font color="#808bed">autocmd</font> <font color="#ff8bff">FileType</font> text <font color="#808bed">setlocal</font> <font color="#409090">textwidth</font>=78

<font color="#444477">  &quot; When editing a file, always jump to the last known cursor position.</font>
<font color="#444477">  &quot; Don't do it when the position is invalid or when inside an event handler</font>
<font color="#444477">  &quot; (happens when dropping a file on gvim).</font>
  <font color="#808bed">autocmd</font> <font color="#ff8bff">BufReadPost</font> *
<font color="#c080d0">    \</font> <font color="#808bed">if</font> line(<font color="#8fbf6d">&quot;'\&quot;&quot;</font>) <font color="#808bed">&gt;</font> <font color="#506dbd">0</font> <font color="#808bed">&amp;&amp;</font> line(<font color="#8fbf6d">&quot;'\&quot;&quot;</font>) <font color="#808bed">&lt;=</font> line(<font color="#8fbf6d">&quot;$&quot;</font>) |
<font color="#c080d0">    \</font>   exe <font color="#8fbf6d">&quot;normal g`\&quot;&quot;</font> |
<font color="#c080d0">    \</font> <font color="#808bed">endif</font>

  <font color="#808bed">augroup</font> END

<font color="#808bed">else</font>

<font color="#808bed">endif</font><font color="#444477"> &quot; has(&quot;autocmd&quot;) }}}</font>

<font color="#444477">&quot;</font>
<font color="#444477">&quot; VIM 7 Settings</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#808bed">if</font> v:version <font color="#808bed">&gt;=</font> <font color="#506dbd">700</font>
   <font color="#808bed">set</font> <font color="#409090">cursorline</font>
<font color="#808bed">endif</font>

<font color="#444477">&quot; Indentation settings</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#808bed">set</font> <font color="#409090">autoindent</font>                   <font color="#444477">&quot; always set autoindenting on</font>
<font color="#808bed">set</font> <font color="#409090">shiftwidth</font>=3                 <font color="#444477">&quot; Force indentation to be 3 spaces</font>
<font color="#808bed">set</font> <font color="#409090">tabstop</font>=3                    <font color="#444477">&quot;          -- idem --</font>
<font color="#808bed">set</font> <font color="#409090">list</font>                         <font color="#444477">&quot; EOL, trailing spaces, tabs: show them.</font>
<font color="#808bed">set</font> <font color="#409090">lcs</font>=tab<font color="#808bed">:</font>&gt;·                   <font color="#444477">&quot; Tabs are shown as &gt;·</font>
<font color="#808bed">set</font> <font color="#409090">lcs</font>+=trail<font color="#808bed">:</font>.                 <font color="#444477">&quot; Trailing spaces are shownas periods</font>
<font color="#808bed">set</font> <font color="#409090">expandtab</font>                    <font color="#444477">&quot; always expand tabs to spaces</font>

<font color="#444477">&quot; Development helpers</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#808bed">set</font> <font color="#409090">showmatch</font>                    <font color="#444477">&quot; Show matching braces</font>
<font color="#444477">   &quot; for ctrl-P and ctrl-N completion, get things from syntax file</font>
   <font color="#808bed">autocmd</font> <font color="#ff8bff">BufEnter</font> * <font color="#808bed">exec</font><font color="#808bed">(</font><font color="#8fbf6d">'setlocal complete+=k$VIMRUNTIME/syntax/'</font><font color="#808bed">.</font>&amp;ft<font color="#808bed">.</font><font color="#8fbf6d">'.vim'</font><font color="#808bed">)</font>
<font color="#444477">&quot; Insert LGPL Header</font>
<font color="#808bed">imap</font> <font color="#c080d0">&lt;</font><font color="#c080d0">F1</font><font color="#c080d0">&gt;</font> <font color="#c080d0">&lt;</font><font color="#c080d0">C-o</font><font color="#c080d0">&gt;</font>:r ~/.vim/licenses/LGPL.h<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>
<font color="#444477">&quot; Insert GPL Header</font>
<font color="#808bed">imap</font> <font color="#c080d0">&lt;</font><font color="#c080d0">F2</font><font color="#c080d0">&gt;</font> <font color="#c080d0">&lt;</font><font color="#c080d0">C-o</font><font color="#c080d0">&gt;</font>:r ~/.vim/licenses/GPL2.h<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>
<font color="#444477">&quot; Insert indentation modeline</font>
<font color="#808bed">imap</font> <font color="#c080d0">&lt;</font><font color="#c080d0">F12</font><font color="#c080d0">&gt;</font> # vim: set shiftwidth=3 tabstop=3 expandtab ai:<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>
<font color="#444477">&quot; Map Meta-Left &amp; Meta-Right to step through the error-list which is also used</font>
<font color="#444477">&quot; for vimgrep.</font>
<font color="#808bed">map</font> <font color="#c080d0">&lt;</font><font color="#c080d0">M-Right</font><font color="#c080d0">&gt;</font> :cn<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>
<font color="#808bed">map</font> <font color="#c080d0">&lt;</font><font color="#c080d0">M-Left</font><font color="#c080d0">&gt;</font>  :np<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>

<font color="#444477">&quot; Display</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#808bed">set</font> <font color="#409090">title</font>                        <font color="#444477">&quot; display title in X.</font>
<font color="#808bed">set</font> <font color="#409090">foldcolumn</font>=4                 <font color="#444477">&quot; display folds</font>
<font color="#808bed">set</font> <font color="#409090">nowrap</font>                       <font color="#444477">&quot; Prevent wrapping</font>
<font color="#808bed">colorscheme</font> blackbeauty
<font color="#808bed">set</font> <font color="#409090">background</font>=dark

<font color="#444477">&quot; UI Tweaks</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#444477">&quot; make search results appear in the middle of the screen:</font>
<font color="#808bed">nmap</font> n nzz
<font color="#808bed">nmap</font> N Nzz
<font color="#808bed">nmap</font> * *zz
<font color="#808bed">nmap</font> # #zz
<font color="#808bed">nmap</font> g* g*zz
<font color="#808bed">nmap</font> g# g#zz
<font color="#808bed">nmap</font> <font color="#c080d0">&lt;</font><font color="#c080d0">kMinus</font><font color="#c080d0">&gt;</font>  :bprevious<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>    &quot; Switch to previous buffer
<font color="#808bed">nmap</font> <font color="#c080d0">&lt;</font><font color="#c080d0">kPlus</font><font color="#c080d0">&gt;</font>   :bnext<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>        &quot; Switch to next buffer
<font color="#808bed">nmap</font> <font color="#c080d0">&lt;</font><font color="#c080d0">C-s</font><font color="#c080d0">&gt;</font>     :w<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>
<font color="#808bed">set</font> <font color="#409090">backspace</font>=indent<font color="#808bed">,</font>eol<font color="#808bed">,</font>start   <font color="#444477">&quot; allow backspacing over everything in insert mode</font>
<font color="#808bed">set</font> <font color="#409090">history</font>=50                   <font color="#444477">&quot; keep 50 lines of command line history</font>
<font color="#808bed">set</font> <font color="#409090">ruler</font>                        <font color="#444477">&quot; show the cursor position all the time</font>
<font color="#808bed">set</font> <font color="#409090">showcmd</font>                      <font color="#444477">&quot; display incomplete commands</font>
<font color="#808bed">set</font> <font color="#409090">so</font>=7                         <font color="#444477">&quot; Keep a 7-lines lookahead when scrolling</font>
<font color="#808bed">set</font> <font color="#409090">wildmenu</font>                     <font color="#444477">&quot; Show auto-complete matches</font>
<font color="#808bed">nnoremap</font> Q gq                    &quot; Don't use Ex mode, use Q for formatting

<font color="#444477">&quot; Print Settings</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#808bed">set</font> <font color="#409090">printoptions</font>=header<font color="#808bed">:</font>3<font color="#808bed">,</font>number<font color="#808bed">:</font>y<font color="#808bed">,</font>left<font color="#808bed">:</font>10mm<font color="#808bed">,</font>right<font color="#808bed">:</font>10mm<font color="#808bed">,</font>top<font color="#808bed">:</font>10mm<font color="#808bed">,</font>bottom<font color="#808bed">:</font>10mm

<font color="#444477">&quot; Abbreviations</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#808bed">iab</font> miam Michel Albert <font color="#808bed">&lt;</font>mymail@example<font color="#808bed">.</font><font color="#808bed">com</font><font color="#808bed">&gt;</font>

<font color="#444477">&quot; EOF... sort of <img src='http://foobar.lu/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </font>
<font color="#444477">&quot; good example at <a href="http://www.stack.nl/~wjmb/stuff/dotfiles/vimrc.htm">http://www.stack.nl/~wjmb/stuff/dotfiles/vimrc.htm</a></font>
<font color="#444477">&quot;</font>
<font color="#444477">&quot; vim: set shiftwidth=3 tabstop=3 expandtab:</font>
<font color="#444477">&quot; vim: set foldmethod=marker foldmarker={{{,}}} foldenable foldlevel=0:</font>
</pre>
<p></p>
<h3>The .gvimrc</h3>
<pre style="background: #1e1e27; color: #cfbfad; border: 1px solid #617786; padding: 0.2em;">
<font color="#444477">&quot; Things to override for the GTK interface</font>
<font color="#444477">&quot; ----------------------------------------------------------------------------</font>
<font color="#808bed">colorscheme</font> my_inkpot
<font color="#808bed">map</font> <font color="#c080d0">&lt;</font><font color="#c080d0">F2</font><font color="#c080d0">&gt;</font> :colorscheme my_inkpot<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>:set background=dark<font color="#c080d0">&lt;</font><font color="#c080d0">CR</font><font color="#c080d0">&gt;</font>
<font color="#808bed">set</font> <font color="#409090">cmdheight</font>=2                  <font color="#444477">&quot; How many lines does the command-line occupy?</font>
<font color="#808bed">set</font> <font color="#409090">mousehide</font>                    <font color="#444477">&quot; Hide the mouse pointer while typing</font>
<font color="#808bed">set</font> <font color="#409090">guifont</font>=Monospace\ 12
</pre>
]]></content:encoded>
			<wfw:commentRss>http://foobar.lu/wp/2007/08/10/vim-rc-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

