<?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>Binary Karma &#187; Technology</title>
	<atom:link href="http://binarykarma.org/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://binarykarma.org</link>
	<description>There is karma in the bits</description>
	<lastBuildDate>Sun, 25 Apr 2010 12:41:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Funky little devices</title>
		<link>http://binarykarma.org/2007/04/30/funky-little-devices/</link>
		<comments>http://binarykarma.org/2007/04/30/funky-little-devices/#comments</comments>
		<pubDate>Mon, 30 Apr 2007 05:08:34 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Linux / FOSS]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/60</guid>
		<description><![CDATA[As of today, EasyVZ has crossed more than 500 downloads. It provides immense satisfaction that a piece of software that I wrote is used by many people. Not that it is a highly complex one. Anyone could have put it together. It is a simple piece of software. But it readily solves many pain points [...]]]></description>
			<content:encoded><![CDATA[<p>As of today, <a title="EasyVZ" href="http://easyvz.sourceforge.net">EasyVZ</a> has crossed more than 500 downloads. It provides immense satisfaction that a piece of software that I wrote is used by many people. Not that it is a highly complex one. Anyone could have put it together. It is a simple piece of software. But it readily solves many pain points for users of <a href="http://openvz.org">OpenVZ</a>, a container system for Linux that creates virtual machines with negligible overhead. Please have a look at <a href="http://en.wikipedia.org/wiki/OS-level_virtualization">OS level virtualization</a> for further information.</p>
<p>Running traditional virtual machines like the free as in beer VMWare can be taxing if you have an older machine. Running multiple virtual machines with VMWare for development sucks up all resources on my Pentium D system which has 512M RAM. To try out the latest hardware assisted virtualization, I went and bought myself an AMD Athlon based system that features <a href="http://en.wikipedia.org/wiki/X86_virtualization#AMD_virtualization_.28AMD-V.29">SVM</a>. The Linux kernel, from version 2.6.20 onwards features <a href="http://kvm.sourceforge.net">KVM</a>, that lets you run unmodified operating systems at native speeds! If your processor supports <a href="http://wiki.xensource.com/xenwiki/HVM_Compatible_Processors">hardware assisted virtualization</a>, that is.</p>
<p>Now running multiple systems is a pain, especially if you have limited desk space. I can&#8217;t have 2 sets of keyboard, mouse and monitor. A really nice thing to have now is a KVM (keyboard, video and mouse)switch. This lets you share those indispensable I/O devices among multiple systems. The ones that I have seen earlier provide a switching panel and can handle multiple systems. But I was running only 2 systems. So I got myself a simpler one from Chennai&#8217;s own Ritchie street. This neatly designed KVM switch can switch between PCs when the scroll lock is pressed twice in quick succession. This is an incredible tool! I really don&#8217;t miss manually switching cables when I needed to install different distributions. For other things, there is SSH.</p>
<p>Many of my friends, when they come visiting plugin their MP3 players into my PC to warm the batteries up. Computers have become so common that the MP3 player manufacturers have wired up the charging mechanism via the USB ports. You may sometimes, however feel the need for a traditional adaptor. During these times, you can make use of Swaroop and co&#8217;s <a href="http://ion.co.in">ION</a>. This is a pretty useful device providing the much needed USB port, sans the computer. The other end of this device is a standard power cableÂ  that you can shove into a wall socket. Your iPod/MP3 player couldn&#8217;t be happier. I think Swaroop and co must put this on eBay, it will give them good coverage. For Rs. 399, this is a neat device.</p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2007/04/30/funky-little-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Libvirt and the camera print technique</title>
		<link>http://binarykarma.org/2007/04/01/libvirt-and-the-camera-print-technique/</link>
		<comments>http://binarykarma.org/2007/04/01/libvirt-and-the-camera-print-technique/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 08:28:44 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Linux / FOSS]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/57</guid>
		<description><![CDATA[RedHat&#8217;s Libvirt project is very interesting. It has the capability to produce a tool that can target all the popular VM technologies, presenting a single interface that lets users manage their VMs. Of late I have been trying to add OpenVZ support into Libvirt. It is a project of, I would say, medium complexity. Most [...]]]></description>
			<content:encoded><![CDATA[<p>RedHat&#8217;s <a href="http://libvirt.org">Libvirt project</a> is very interesting. It has the capability to produce a tool that can target all the popular VM technologies, presenting a single interface that lets users manage their VMs. Of late I have been trying to add OpenVZ support into Libvirt. It is a project of, I would say, medium complexity. Most of the work involves studying the OpenVZ userland utilities and re-coding it in Libvirt. The reason I can&#8217;t use code from OpenVZ utilities directly is that those are licensed under the GPL, while LibVirt is LGPL. AFAIK, that should not be done.</p>
<p>I wrote a mail to the OpenVZ maintainers, but these things take time to decide. Or there may be no release at all, since SWSoft, the company that sponsors OpenVZ development, actually sells an improved version with tools called Virtuozzo. If they make the code available under the LGPL, that would mean that commercial , non-open source software is free to link with it and utilize its services.</p>
<p>The approach I used in EasyVZ is simple. The OpenVZ utilities are very scripting friendly with a very regular text output format. So, I used Python to read the output, parse it and used it. This technique I call camera print technique. It comes from this:</p>
<p>You get legal, original DVDs from the market, or you can also get poor quality, shoddy DVDs that are theatre -> handycam -> DVD copies. Well, you can hear the audience laughing when there is a good joke or you can see someone go out to take a piss or a smoke when the director gets uncreative. These illegal copies are said to be shattering the life of many producers, especially with movies riding on crores of rupees.</p>
<p>Executing an external binary and parsing its output is an easy way to avoid GPL-LGPL issues, but there is a cost performance-wise and also resource-wise. The camera print technique has helped me though, and it seems to come in handy once more with Libvirt. I have no clue if the maintainers will be interested in horrible code like this, but only time will tell.</p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2007/04/01/libvirt-and-the-camera-print-technique/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Leading OSS innovators</title>
		<link>http://binarykarma.org/2007/03/26/10-leading-oss-innovators/</link>
		<comments>http://binarykarma.org/2007/03/26/10-leading-oss-innovators/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 15:55:17 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Linux / FOSS]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/56</guid>
		<description><![CDATA[Free Software was proposed by Stallman to primarily protect the user&#8217;s right to the source code. He must not have realized the power of peer review back then. Most companies consider source code as intellectual property and miss out on the major gains of open source like peer review and instant popularity. Dual Licensing is [...]]]></description>
			<content:encoded><![CDATA[<p>Free Software was proposed by Stallman to primarily protect the user&#8217;s right to the source code. He must not have realized the power of peer review back then. Most companies consider source code as intellectual property and miss out on the major gains of open source like peer review and instant popularity. Dual Licensing is a model that keeps the source accessible to the user while charting out a way to earn with certain conditions. An interview with Michael Olson provides insights into how Sleepycat software earns its bread with such a small engineering and a smaller marketing team. You can read it <a href="http://www.winterspeak.com/columns/102901.html">here</a>.<br />
There are so many companies involved with Open Source software right now and are looking at serious earnings and are being backed by reputed investors. I came across this article on 10 leading OSS innovators. Please read it <a href="http://itmanagement.earthweb.com/article.php/31771_3660831_1">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2007/03/26/10-leading-oss-innovators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mystery of the stairs</title>
		<link>http://binarykarma.org/2007/02/25/mystery-of-the-stairs/</link>
		<comments>http://binarykarma.org/2007/02/25/mystery-of-the-stairs/#comments</comments>
		<pubDate>Sun, 25 Feb 2007 05:22:06 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/54</guid>
		<description><![CDATA[I have observed that the Pillars of creation image from the Hubble space telescope is stair case shaped on the top right. Today I actually found explanation for that!

It seems that there are actually 4 cameras in there and that one of them captures a larger view compared to the other three. The view from [...]]]></description>
			<content:encoded><![CDATA[<p>I have observed that the <em>Pillars of creation</em> image from the <a target="_blank" href="http://en.wikipedia.org/wiki/Hubble_Space_Telescope">Hubble space telescope</a> is stair case shaped on the top right. Today I actually found explanation for that!</p>
<p><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Eagle_nebula_pillars.jpg/250px-Eagle_nebula_pillars.jpg" /></p>
<p>It seems that there are actually 4 cameras in there and that one of them captures a larger view compared to the other three. The view from the larger camera is then shrunk to produce a normal picture, resulting in the stair shape.</p>
<p>See <a target="_blank" href="http://hubblesite.org/gallery/behind_the_pictures/wacky_shape/index.php">here</a> for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2007/02/25/mystery-of-the-stairs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EZVZ: An OpenVZ management GUI released under the GPL</title>
		<link>http://binarykarma.org/2007/02/07/ezvz-an-openvz-management-gui-released-under-the-gpl/</link>
		<comments>http://binarykarma.org/2007/02/07/ezvz-an-openvz-management-gui-released-under-the-gpl/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 06:37:01 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Linux / FOSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/53</guid>
		<description><![CDATA[Ah, feels good. I many times feel like writing software that other people can use to get something useful done. This has happened after years. I wrote a simple Python + GTK application that manages virtual machines under the OpenVZ kernel.
OpenVZ is a operating system level virtualization solution that lets users run many instances of [...]]]></description>
			<content:encoded><![CDATA[<p>Ah, feels good. I many times feel like writing software that other people can use to get something useful done. This has happened after years. I wrote a simple Python + GTK application that manages virtual machines under the OpenVZ kernel.</p>
<p><a target="_blank" href="http://openvz.org">OpenVZ</a> is a operating system level virtualization solution that lets users run many instances of virtual servers(each can be a different distro) on the same hardware. Whats more, the overhead is almost negligible.</p>
<p>EasyVZ is currently alpha quality software and definitely contains bugs and incomplete features and is released in the spirit of &#8220;releasing early&#8221;.</p>
<p>The project page is <a target="_blank" href="http://easyvz.sourceforge.net">here</a>.</p>
<p><img align="middle" title="EasyVZ main window" alt="EasyVZ main window" src="http://binarykarma.com/imgs/main.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2007/02/07/ezvz-an-openvz-management-gui-released-under-the-gpl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel&#8217;s 80 Core CPU</title>
		<link>http://binarykarma.org/2007/01/21/intels-80-core-cpu/</link>
		<comments>http://binarykarma.org/2007/01/21/intels-80-core-cpu/#comments</comments>
		<pubDate>Sun, 21 Jan 2007 08:04:02 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/51</guid>
		<description><![CDATA[After the quad core product, now Intel is planning to release an 80 core version in another 5 years time! I really wonder how well the 80 core system will work. Things are definitely taking an interesting turn.
Read more here.
]]></description>
			<content:encoded><![CDATA[<p>After the quad core product, now Intel is planning to release an 80 core version in another 5 years time! I really wonder how well the 80 core system will work. Things are definitely taking an interesting turn.</p>
<p>Read more <a href="http://news.com.com/2100-1006_3-6119618.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2007/01/21/intels-80-core-cpu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPU Wars Part-II</title>
		<link>http://binarykarma.org/2007/01/20/cpu-wars-part-ii/</link>
		<comments>http://binarykarma.org/2007/01/20/cpu-wars-part-ii/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 16:53:37 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/44</guid>
		<description><![CDATA[There will be no Gigahertz wars. The Megahertz wars are over. It is becoming more and more difficult to increase CPU speed beyond a point. There are many ways in which CPU performance can be increased without increasing its clock speed. For example by increasing its cache memory size or by improving its Instruction set [...]]]></description>
			<content:encoded><![CDATA[<p>There will be no Gigahertz wars. The Megahertz wars are over. It is becoming more and more difficult to increase CPU speed beyond a point. There are many ways in which CPU performance can be increased without increasing its clock speed. For example by increasing its cache memory size or by improving its Instruction set architecture. For example, RISC CPUs exhibit better performance than their RISC counterparts at the same clock speed. You can read more about the Mhz myth <a target="_blank" href="http://en.wikipedia.org/wiki/Megahertz_Myth">here</a>. Talking about wars, the RISC and CISC wars are also seeing an end since CISC CPUs have long since included many RICS features.<br />
A feature added by Intel to one of its recent processors is HyperThreading. This gives the illusion of two processors where there is actually only one. HyperThreading works by duplicating the datapath of the processor while having a single execution core. There are 2 register sets, but only one execution unit. When one thread experiences a cache miss, the other can run in the meanwhile. Operating systems see a HyperThreaded processor as a regular SMP system.</p>
<p>Intel some time ago announced its Dual core procesors based on its Core architecture. You might have noted that the Core 2 Duo processors are clocked at a slower rate than the Pentium 4s available in the market. Have no doubt, the Core 2 Duo processors with slower clock speeds with beat the &#8220;faster&#8221; Pentium 4s hands down. This is the way forward for CPUs, rather than continuing to fight the Gigahertz wars. Intel has now also come out with four cores with its <a target="_blank" href="http://www.intel.com/quad-core/index.htm">Core 2 Quad</a> offering. AMD is not far behind. There are limits to overcome in the basic architecture, however. After the Megahertz war is over, it is not straight forward to start a &#8220;number of cores&#8221; war. As the number of cores on a processor increase, there will be high bus contention. The system bus for these CPUs is still a common resource for all the cores.</p>
<p>The increase in the number of cores does not increase performance of the system in a linear fashion, there are other issues related to caches, for example. Since RAM is a common resource, before reading from a location, a CPU must make sure that more recent contents for that location are not sitting in the cache of some other CPU. So all these CPUs are constantly chatting with one another about such issues, making linear performance increase impossible. These issues become worse as the number of CPUs increase in an SMP system. There are other architectures like <a target="_blank" href="http://en.wikipedia.org/wiki/Non-Uniform_Memory_Access">NUMA</a>, that make things less worse, but these are just workarounds, like many things in engineering. Take caches for example.</p>
<p>There are now many interesting probleme to solve! Seymour Cray once noted <em>Anyone can build a fast CPU. The trick is to build a fast system.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2007/01/20/cpu-wars-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The CPU wars (Part &#8211; I)</title>
		<link>http://binarykarma.org/2006/10/07/the-cpu-wars-part-i/</link>
		<comments>http://binarykarma.org/2006/10/07/the-cpu-wars-part-i/#comments</comments>
		<pubDate>Sat, 07 Oct 2006 06:40:09 +0000</pubDate>
		<dc:creator>Shuveb Hussain</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://binarykarma.org/archives/24</guid>
		<description><![CDATA[Intel has always been in the forefront of innovation as far as CPU technology is concerned. It sports a formidable marketing machine as well. AMD and other CPU vendors have brought out Intel CPU clones, providing buyers alternatives, sometimes cheaper than those provided by Intel itself. Intel always provided a single line of CPUs till [...]]]></description>
			<content:encoded><![CDATA[<p>Intel has always been in the forefront of innovation as far as CPU technology is concerned. It sports a formidable marketing machine as well. AMD and other CPU vendors have brought out Intel CPU clones, providing buyers alternatives, sometimes cheaper than those provided by Intel itself. Intel always provided a single line of CPUs till the Pentium II, and to combat competition in the value segment, it brought out a parallel line of CPUs, the Celeron line. This was a sound strategy, increasing pressure on the other cloners.</p>
<p>Intel was also the vendor who lead computer users into the 32 bit era, by releasing the 80386 CPU, of course other vendors followed suite. When users went shopping for computers, in the old days, they probably asked their computer savvy friends which CPU based system to buy and they answer they got was a &#8216;386&#8242; or a &#8216;486&#8242;. While the Intel line of CPUs were simply called &#8220;Intel 386&#8243; or &#8220;Intel 486&#8243;, the AMD clones were calles &#8220;AM386&#8243; or &#8220;AM486&#8243;. Life was easy for the salesman, who would sell the user a &#8220;386&#8243; or a &#8220;486&#8243; depending from where he got better profits, while the users didn&#8217;t know (or care) from which vendor the CPU came from.</p>
<p>I first thought that the reason why Intel didn&#8217;t sue AMD for using a similar trademark was because I read somewhere that numbers can&#8217;t be trademarked. But a little googling reveals that this is not the case. I guess they can be. The issue was really not about trademarks at all. Intel actually shared CPU designs with AMD for the 386 and the 486 processors. Early AMD CPUs actually run Intel microcode. This was beacause AMD was the second source in many tenders for the government and large corporations. So, Intel &#8220;needed&#8221; AMD. There were several lawsuits between Intel and AMD where Intel tried to negate the design sharing agreements. AMD finally realized that getting future processor designs from Intel would become more and more difficult and thus designed its first architecture in-house, the K5.</p>
<p>Intel wanted to lead the world into 64-bit computing, with its Itanium processor in 2001, but failed. It is believed the primary reason for this failure is its incompatibility with the x86 processors that the whole world ran on. 64-bit processors have been around in quantity since the early 1990s, especially the Silicon Graphics MIPS based ones, but thats another story. AMD, in the meantime, came out with the <a target="_blank" href="http://en.wikipedia.org/wiki/AMD64">AMD64</a> architecture that added 64 bit extentions to the existing x86 architecture. These processors became an instant hit due to backward compatibility. Intel&#8217;s 64 bit architecture is referred to as <a target="_blank" href="http://en.wikipedia.org/wiki/IA-64">IA64</a>. In a strange twist of events, Intel secretly worked on to include AMD&#8217;s extentions into its processors and released them to the world calling it <a target="_blank" href="http://en.wikipedia.org/wiki/EM64T">EMT64</a>.</p>
<p>I think this is the first event that changes the path from the MHz wars to wars based on CPU features. So, it seems the wars wil continue anyway. I remember the Chinese saying, &#8220;May you live in interesting times&#8221;.</p>
<p>To be continued.</p>
]]></content:encoded>
			<wfw:commentRss>http://binarykarma.org/2006/10/07/the-cpu-wars-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

