<?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>Meandering Life! &#187; unix</title>
	<atom:link href="http://manku.thimma.org/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://manku.thimma.org</link>
	<description>Tech, Business and Some More ...</description>
	<lastBuildDate>Sun, 21 Mar 2010 16:46:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Crazy shell scripting</title>
		<link>http://manku.thimma.org/2009/04/crazy-shell-scripting/</link>
		<comments>http://manku.thimma.org/2009/04/crazy-shell-scripting/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 04:36:58 +0000</pubDate>
		<dc:creator>shashi</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[mapreduce]]></category>
		<category><![CDATA[mysql duplicates]]></category>
		<category><![CDATA[oneliner]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://manku.thimma.org/?p=80</guid>
		<description><![CDATA[Not quite a mapreduce implementation , but nevertheless &#8230; while read l; do echo "SELECT id, email FROM tblName WHERE email='$l' ORDER by id DESC LIMIT 1;"&#124;mysql -u root dbName; done &#60; /tmp/dupes3.txt &#124;grep -v 'email'&#124;cut -f1&#124;sed 's/^\(.*\)$/DELETE FROM tblName WHERE id=\1;/g' &#62; /tmp/deletedupes3.sql]]></description>
			<content:encoded><![CDATA[<p>Not quite a <a href="http://blog.last.fm/2009/04/06/mapreduce-bash-script">mapreduce implementation</a> <img src='http://manku.thimma.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> , but nevertheless &#8230;<br />
<code><br />
while read l; do echo "SELECT id, email FROM tblName WHERE email='$l' ORDER by id DESC LIMIT 1;"|mysql -u root dbName; done &lt; /tmp/dupes3.txt |grep -v 'email'|cut -f1|sed 's/^\(.*\)$/DELETE FROM tblName WHERE id=\1;/g' &gt; /tmp/deletedupes3.sql<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://manku.thimma.org/2009/04/crazy-shell-scripting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Exercise in futility &#8230; err &#8230; zenity</title>
		<link>http://manku.thimma.org/2008/08/exercise-in-futility-err-zenity/</link>
		<comments>http://manku.thimma.org/2008/08/exercise-in-futility-err-zenity/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 18:00:19 +0000</pubDate>
		<dc:creator>shashi</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[zenity]]></category>

		<guid isPermaLink="false">http://manku.thimma.org/?p=48</guid>
		<description><![CDATA[The other day, while working with some shell scripts I thought I could add some better usability into the mix &#8211; and hence whip up some dialogs using zenity (gdialog&#8217;s new avatar). And while at it, I had an enjoyable 20 minutes with good old unix concepts. Here: I needed to figure out how to [...]]]></description>
			<content:encoded><![CDATA[<p>The other day, while working with some shell scripts I thought I could add some better usability into the mix &#8211; and hence whip up some dialogs using <a href="http://live.gnome.org/Zenity">zenity</a> (gdialog&#8217;s new avatar). And while at it, I had an enjoyable 20 minutes with good old unix concepts. Here:</p>
<p>I needed to figure out how to use zenity, the man pages didn&#8217;t tell much. So I went on a hunt for other scripts in the system that might use zenity; I was on Debian Etch system running the usual Gnome Desktop and quite a few applications from the Gnome bunch.</p>
<p><code><br />
shashi@anacoluthon:~$ for p in `echo $PATH|sed 's/:/ /g'`; do find $p -type f|xargs grep -il zenity; done<br />
/usr/bin/zenity<br />
/usr/bin/gdialog</code></p>
<p>Eh! Only two programs and that too zenity itself and a wrapper over zenity for backward compliance. It&#8217;s not much popular is it ? If it isn&#8217;t why don&#8217;t I remove it from my system ?</p>
<p><code>$ su -c 'apt-get remove zenity'<br />
Password:<br />
Reading package lists... Done<br />
Building dependency tree... Done<br />
The following packages will be REMOVED:<br />
gnome-desktop-environment zenity</code></p>
<p>uh! oh!! gnome-desktop-environment!!!??? WTF ? So, what dependencies does this package have ?</p>
<p><code>shashi@anacoluthon:~$ apt-cache rdepends zenity<br />
zenity<br />
Reverse Depends:<br />
|ssft<br />
gnuvd-gnome<br />
|peercast-handlers<br />
|eclipse-platform<br />
eclipse-platform<br />
eclipse<br />
gnomemeeting<br />
powersaved<br />
gdm<br />
gnome-desktop-environment</code></p>
<p>heh! heh!! So much for a core dependency. Should it be such a core dependency in the first place ?? Anyway it has it&#8217;s own place in the software trove.</p>
<p>An interesting tidbit about zenity. This was the first program I translated to Kannada way back in 2002-2003. But it never made it to the repository.</p>
<p>BTW, another interesting program: <a href="http://freshmeat.net/projects/pyschoolclock/?branch_id=75175&amp;release_id=283309">PySchoolClock</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manku.thimma.org/2008/08/exercise-in-futility-err-zenity/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>All in a name!</title>
		<link>http://manku.thimma.org/2008/08/all-in-a-name/</link>
		<comments>http://manku.thimma.org/2008/08/all-in-a-name/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 12:42:45 +0000</pubDate>
		<dc:creator>shashi</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[bcube]]></category>
		<category><![CDATA[bisibelebath]]></category>
		<category><![CDATA[haddock]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[naming ceremony]]></category>
		<category><![CDATA[tin tin]]></category>
		<category><![CDATA[ಬಿಸಿ ಬೇಳೆ ಭಾತ್]]></category>

		<guid isPermaLink="false">http://manku.thimma.org/?p=39</guid>
		<description><![CDATA[In our company, we have this tradition of naming our computers (Linux desktops, servers, etc) on a particular theme. Now, our chosen theme is Captain Haddock&#8216;s choicest swear words. So, while caterpillar is our file server, typhoon our gateway, anacoluthon my laptop, rapscallion, rhizopod, jellyfish, balderdash, etc make up the other desktops. Recently we hired [...]]]></description>
			<content:encoded><![CDATA[<p>In our <a title="informedia" href="http://www.informedia.co.in/">company</a>, we have this tradition of <a title="Hostname" href="http://en.wikipedia.org/wiki/Hostname">naming our computers</a> (Linux desktops, servers, etc) on a particular theme. Now, our chosen theme is <a href="http://en.wikipedia.org/wiki/Captain_Haddock">Captain Haddock</a>&#8216;s choicest <a title="expletives" href="http://www3.sympatico.ca/brooksdr/haddock/main.htm">swear words</a>. So, while <em>caterpillar</em> is our file server, <em>typhoon</em> our gateway, <em>anacoluthon</em> my laptop, <em>rapscallion, rhizopod, jellyfish, balderdash</em>, etc make up the other desktops.</p>
<p>Recently we hired a VPS for hosting some of our services. This time, we wanted to break out of the now monotonous theme and name it differently. Hence, we organised a small contest for suggesting the names and these were the names our guys came up with:</p>
<blockquote><p>dooradabetta, ಅಗಸ್ತ್ಯ , ನಕ್ಷತ್ರ, Gogglers, Picaroons, Cyclotron, Bumblebee, Ironhide, Barricade, Optimus Prime, Prithvi -, Vismaya -, Amulya &#8211; Priceless, Arnav &#8211; ocean/ sea, Avinash &#8211; indestructible, bushbetta, Bandana, Maya &#8211; As in Illusion(Virtual), Rudra, Swastika, Varuna, Ugrana (Storage in Kannada ), Taatvika, sanctimonia (Latin), recondo, commodo, munus, muneris, lorica, officium, servitium, tutus, latrocinium, bisibelebath, kalasa, Abayan, Yuga<br />
Vajra, Sambath, jataayu</p></blockquote>
<p>That&#8217;s a neat variety of suggestions and lots of original thinking too. Finally, after almost a month I&#8217;ve decided upon one amongst the above.</p>
<p><strong>bisibelebath</strong> <img src='http://manku.thimma.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Well, not exactly! in a shortened form &#8211; <strong>bcube. </strong>So the hostname &#8211; <strong>bcube.informedia.in</strong></p>
<p>Thanks to Kaladisvarane for the name. And to all others too.</p>
]]></content:encoded>
			<wfw:commentRss>http://manku.thimma.org/2008/08/all-in-a-name/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Free Operating Systems. Next&quot;enta&quot; ?</title>
		<link>http://manku.thimma.org/2007/06/free-operating-systems-nextenta/</link>
		<comments>http://manku.thimma.org/2007/06/free-operating-systems-nextenta/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 17:51:00 +0000</pubDate>
		<dc:creator>shashi</dc:creator>
				<category><![CDATA[commentary]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://manku.thimma.org/?p=6</guid>
		<description><![CDATA[enta (ಎಂತ) in Kannada slang translates to &#8220;whither&#8221; as in &#8220;whither are we wandering ?&#8220;. Over the past couple of months huge strides have been made in the development and deployments of several new free operating systems. While tracking their progress and goals, I&#8217;m writing down a couple of points for myself to revisit some [...]]]></description>
			<content:encoded><![CDATA[<p>enta (ಎಂತ) in <a href="http://en.wikipedia.org/wiki/Kannada">Kannada</a> slang translates to &#8220;whither&#8221; as in &#8220;<a href="http://www.answers.com/whither&#038;r=67">whither are we wandering ?</a>&#8220;.</p>
<p>Over the past couple of months huge strides have been made in the development and deployments of several new free operating systems. While tracking their progress and goals, I&#8217;m writing down a couple of points for myself to  revisit some time later and make an assessment.</p>
<p><a href="http://www.debian.org/">Debian GNU/Linux:</a> The universal operating system just <a href="http://www.theregister.co.uk/2005/03/14/debian_reduced/">shed a couple of architectures </a> so that it is now that much less universal :-p. But nevertheless, with the <a href="http://www.us.debian.org/releases/stable/">&#8220;etch&#8221;</a> release, they&#8217;ve managed to stick it to the <a href="http://www.ubuntu.com/">Ubuntu</a> folks and have regained the trust of thousands of Linux enthusiasts all over the globe. In addition to the main release with over 20,000 packages spanning at least 3 DVDs, Debian also has a thriving sub-projects culture which is progressing quite steadily. These sub-projects cover specialised applications including Embedded Debian, Debian Junior, Debian Edu, Debian Lex.  All these positive vibes should take Debian beyond the hard core GNU users base it currently enjoys. But, the project has to overcome issues such as the <a href="http://en.wikipedia.org/wiki/Iceweasel">Firefox/Iceweasel</a>, <a href="http://people.debian.org/%7Esrivasta/Position_Statement.xhtml">GNU Free Documentation</a> fiasco which can irritate neutral users no end.</p>
<p>Overall Debian is on it&#8217;s way to nirvana and helping it&#8217;s users attain nirvana.</p>
<p><a href="http://www.ubuntu.com/">Ubuntu Linux:</a>  The hot favourite amongst the middle class of operating system users, Ubuntu has also taken a step ahead to ensure it reaches the masses. Ubuntu is <a href="http://www.dell.com/content/topics/segtopic.aspx/ubuntu?c=us&#038;cs=19&amp;l=en&#038;s=dhs">now available as an option with Dell</a>. This is sure great news for customers, as hardware incompatibility and other issues might not occur. Ubuntu also did great with their 6.06 LTS release. We ourselves have deployed the same at many corporates and institutions. Ubuntu comes with semi-annual releases.</p>
<p>Red Hat Enterprise Editions and their forks:  These are interesting distributions. Red Hat&#8217;s Enterprise Linux is just that. It&#8217;s enterpricey. It&#8217;s performance, It&#8217;s Ease of Use, It&#8217;s cost. Everything is so enterpricey. Some good souls have come out to give us less privileged folks, a taste of the enterpricey experience at a very less or at no cost. These include <a href="http://www.centos.org">CentOS</a>, <a href="http://www.whiteboxlinux.org/">Whitebox Linux</a>. But the irony of the whole linux in enteprice is that Oracle themselves do a <a href="http://www.oracle.com/technologies/linux/index.html">repackaging</a> and provide support for Red Hat EL binaries. Why do they do that ? Simple. Oracle needs a base. According to them, Oracle itself can tune the kernel, support programs they develop on oracle.</p>
<p><a href="http://fedoraproject.org/">Fedora Linux</a>: What started as Red Hat&#8217;s staging area (??) is now a full blown enterprise capable distribution.  It has a huge community built around who takes care of the packaging to the bug fixes, etc. Truly Red Hat has delivered it&#8217;s word that Fedora won&#8217;t be controlled by Red Hat.</p>
<p>Now the above Operating Systems were purely Linux based. What makes the scene much more interesting is that there are a couple of contenders for the growing (yet again) base of Unix users. These include  Sun&#8217;s OpenSolaris, the BSDs.</p>
<p>Sun has been doing some real marketing amongst developers out there to adopt OpenSolaris for their development purposes. They have made available cutting edge tools including DTrace, ZFS available under an open source license. There have been several instances where attempts to port these to Linux/BSD are going on furiously. But Sun isn&#8217;t satisfied. The developers still do not trust Sun to play along nicely along open source rules. So, Sun has come up with something called <a href="http://news.com.com/Sun+hopes+Project+Indiana+will+help+OpenSolaris/2100-1016_3-6187814.html">Project Indiana</a>.  This has  Ian Murdock (The Ian in Debian, Progeny founder) at it&#8217;s helm. He looks like he has some tricks up his sleeve. Let&#8217;s see if he can turn it around.</p>
<p>There&#8217;s also this project called <a href="http://www.gnusolaris.org/gswiki">Nexenta,</a> which is again a Debian based distribution but uses Solaris kernel at it&#8217;s heart. And tries to recreate the Solaris environment.</p>
<p><span style="font-weight: bold;">Bottom line:</span><br />Projects, there are some<br />There are people using them<br />At office and home</p>
<p>Who does rule the roost<br />Will not necessarily be the best<br />But, try certainly will be doing the most</p>
]]></content:encoded>
			<wfw:commentRss>http://manku.thimma.org/2007/06/free-operating-systems-nextenta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
