<?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>Tudor Barbu&#039;s professional blog &#187; fun stuff</title>
	<atom:link href="http://blog.motane.lu/tag/fun-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.motane.lu</link>
	<description>Ramblings about software development</description>
	<lastBuildDate>Thu, 02 Feb 2012 17:38:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Christmas 2.0 &#8211; The digital story of Nativity</title>
		<link>http://blog.motane.lu/2010/12/17/christmas-2-0-the-digital-story-of-nativity/</link>
		<comments>http://blog.motane.lu/2010/12/17/christmas-2-0-the-digital-story-of-nativity/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 10:53:11 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[future technologies]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1476</guid>
		<description><![CDATA[How the Nativity would look in our web 2.0 era: Pretty cool!]]></description>
			<content:encoded><![CDATA[<p>How the Nativity would look in our web 2.0 era:</p>
<p><iframe width="500" height="315" src="http://www.youtube.com/embed/GkHNNPM7pJA" frameborder="0" allowfullscreen></iframe></p>
<p>Pretty cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2010/12/17/christmas-2-0-the-digital-story-of-nativity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The &#8220;August&#8221; error</title>
		<link>http://blog.motane.lu/2009/09/17/the-august-error/</link>
		<comments>http://blog.motane.lu/2009/09/17/the-august-error/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 20:34:44 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=1018</guid>
		<description><![CDATA[I&#8217;ve just came back from Wurbe, where I&#8217;ve enjoyed a late evening snack (consisting of beer, Pepsi and pizza) and chated with other fellow developers on a large range of subjects, raging from current trends in development to Klingon grammar. Bodgan Lucaciu told us a funny story about a strange bug. It&#8217;s like this: in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just came back from <a href="http://wurbe.ro/" title="Wurbe's website - romanian" class="outgoing">Wurbe</a>, where I&#8217;ve enjoyed a late evening snack (consisting of beer, Pepsi and pizza) and chated with other fellow developers on a large range of subjects, raging from current trends in development to <a href="http://en.wikipedia.org/wiki/Klingon_language" title="Klingon Language article in Wikipedia" class="outgoing">Klingon grammar</a>.</p>
<p><a href="http://www.wiz.ro/" title="Bodgan Lucaciu's blog" class="outgoing">Bodgan Lucaciu</a> told us a funny story about a strange bug. It&#8217;s like this: in Javascript, when you parse a number from a string &#8211; let&#8217;s say a month&#8217;s index like 07 &#8211; with <strong><em>parseInt </em></strong> you must be very careful,  because, for <strong><em>parseInt</em></strong>, the leading 0 is an indicator that the number is written in octal instead of decimal. </p>
<pre class="brush: jscript; title: ; notranslate">
alert(parseInt('07')); // for July - will echo 7
alert(parseInt('08')); // for August - will echo 0 as there is no 08 in octal
</pre>
<p>So if your application mysteriously stops working on the first of August, this might be your problem. Although this &#8220;feature&#8221; is marked as deprecated, it&#8217;s still present in many modern browsers, so one can never be too careful. Also keep in mind that by default, numbers starting with <strong><em>0x</em></strong> are considered to be hexadecimals.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/09/17/the-august-error/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to have fun with your Linux server</title>
		<link>http://blog.motane.lu/2009/06/17/how-to-have-fun-with-your-linux-server/</link>
		<comments>http://blog.motane.lu/2009/06/17/how-to-have-fun-with-your-linux-server/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 19:42:41 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[funny programming]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=824</guid>
		<description><![CDATA[I&#8217;ve found a great way to have fun with your linux server. First of all, install cowsay. If you use Ubuntu server or Debian, you can use apt-get install it: Now, you have to wait for another user to connect to the server via ssh. You can use the who command to see who is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve found a great way to have fun with your linux server. First of all, install <a href="http://en.wikipedia.org/wiki/Cowsay" title="Cowsay page in Wikipedia" class="outgoing">cowsay</a>. If you use Ubuntu server or Debian, you can use apt-get install it: </p>
<pre class="brush: plain; title: ; notranslate">
sudo apt-get install cowsay
</pre>
<p>Now, you have to wait for another user to connect to the server via ssh. You can use the <strong>who</strong> command to see who is logged in. With two open terminals on my Ubuntu box, <strong>who</strong>&#8216;s output looks something like this.</p>
<pre class="brush: plain; title: ; notranslate">
tudor@thor:~$ who
tudor    tty7         2009-06-17 20:31 (:0)
tudor    pts/0        2009-06-17 20:36 (:0.0)
tudor    pts/2        2009-06-17 22:21 (:0.0)
</pre>
<p>Let&#8217;s assume that the victim is the one using the first terminal, <strong>pts/0</strong>. Now, all you have to do is punch the following like in your terminal:</p>
<pre class="brush: plain; title: ; notranslate">
cowsay -f tux &quot;I see you&quot; &gt; /dev/pts/0
</pre>
<p>&#8230;and his terminal will look like this:</p>
<p><img src="http://blog.motane.lu/wp-content/uploads/2009/06/tux.png" alt="tux" title="tux" width="494" height="307" class="aligncenter size-full wp-image-827" /></p>
<p>Doesn&#8217;t this make you feel better about yourself? </p>
<p>Later edit: the party continues <a href="http://radu.cotescu.com/2009/06/15/bash-fun" title="Bash Fun on Radu's blog" class="outgoing">here</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/06/17/how-to-have-fun-with-your-linux-server/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Linux symposium statistics</title>
		<link>http://blog.motane.lu/2009/05/22/linux-symposium-statistics/</link>
		<comments>http://blog.motane.lu/2009/05/22/linux-symposium-statistics/#comments</comments>
		<pubDate>Fri, 22 May 2009 13:14:30 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=715</guid>
		<description><![CDATA[This is an older pic from another &#8211; now abandoned &#8211; blog of mine, about statistics made at a linux symposium. The sad truth: via TechCrunch.]]></description>
			<content:encoded><![CDATA[<p>This is an older pic from another &#8211; now abandoned &#8211; blog of mine, about statistics made at a linux symposium.<br />
The sad truth:</p>
<p><img src="http://blog.motane.lu/wp-content/uploads/2009/05/2849583425_d3f8b33220.jpg" alt="Linux symposium statistics" title="Linux symposium statistics" width="460" height="416" class="aligncenter size-full wp-image-716" /></p>
<p>via <a href="http://www.techcrunch.com/2008/09/09/are-linux-programmers-getting-too-fat/" title="Are linux programmers getting too fat? - TechCrunch" class="outgoing">TechCrunch</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/05/22/linux-symposium-statistics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pizza party UNIX</title>
		<link>http://blog.motane.lu/2009/02/18/pizza-party-unix/</link>
		<comments>http://blog.motane.lu/2009/02/18/pizza-party-unix/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 12:08:08 +0000</pubDate>
		<dc:creator>Tudor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.motane.lu/?p=469</guid>
		<description><![CDATA[Simple and quick. Unix style]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/x7pPajOvQGo&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/x7pPajOvQGo&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Simple and quick. Unix style <img src='http://blog.motane.lu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.motane.lu/2009/02/18/pizza-party-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

