<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;Ak8FR3k9fyp7ImA9WhRVFkk.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433</id><updated>2012-01-15T23:03:36.767+05:30</updated><category term="Python" /><category term="Cars" /><category term="Template" /><category term="Microsoft" /><category term="poem" /><category term="Hack" /><category term="Pi" /><category term="Amusing" /><category term="Matlab" /><category term="Spreadsheet" /><category term="Tutorial" /><category term="Formatting" /><category term="Competitions" /><category term="Security" /><category term="Puzzle" /><category term="Prolog" /><category term="Interview" /><category term="Programming" /><category term="Font" /><category term="MS Campus Unit" /><category term="Data Structure" /><category term="Formula" /><category term="Wikipedia" /><category term="Interesting" /><category term="Greetings" /><category term="Machine-Learning" /><category term="Mathematics" /><category term="Places" /><category term="Cool Techs" /><category term="Society" /><category term="Mac" /><category term="Win 7" /><category term="GATE" /><category term="Software" /><category term="Just like that" /><category term="Book" /><category term="Video" /><category term="Operating System" /><category term="Jokes" /><category term="Knuth" /><category term="India" /><category term="IEEE" /><category term="Internet" /><category term="Music" /><category term="C/C++" /><category term="April Fool" /><category term="Recursion" /><category term="ssh" /><category term="Experience" /><category term="Science" /><category term="Presentations" /><category term="Google" /><category term="Open Office" /><category term="Ebook" /><category term="External link" /><category term="Piracy" /><category term="Algorithm" /><category term="Life" /><category term="Browser" /><category term="Linux" /><category term="Observations" /><category term="Pictures" /><category term="Mobile Phone" /><category term="Bengali" /><category term="LaTeX" /><category term="Silverlight" /><title>BiGYaN's Random Thoughts</title><subtitle type="html">... a place for my random thoughts, musings, ideas et all. There is no fixed topic or content ... its all about what I like at the moment.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.bigyanbhar.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>127</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/bigyan" /><feedburner:info uri="bigyan" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkAGQnc4eSp7ImA9WhdUGUs.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-5986365164468346838</id><published>2011-10-06T15:30:00.000+05:30</published><updated>2011-10-07T11:55:23.931+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-07T11:55:23.931+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bengali" /><category scheme="http://www.blogger.com/atom/ns#" term="Greetings" /><title>Subho Bijoya</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/5986365164468346838/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/10/subho-bijoya.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/5986365164468346838?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/5986365164468346838?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/tGdRX73GZiA/subho-bijoya.html" title="Subho Bijoya" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-7rd9obt0-sk/To6XaIjZJbI/AAAAAAAADIM/pXmD00akuU0/s72-c/subho-bijoya-sweets.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">

ঢাকের উপর ছিল কাঠি,
পুজো হল জমজমাটি,
আজকে মায়ের ফেরার পালা
জানাই তাই এবেলা

শুভ বিজয়া






&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=tGdRX73GZiA:b1fuQMc9lp8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=tGdRX73GZiA:b1fuQMc9lp8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=tGdRX73GZiA:b1fuQMc9lp8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=tGdRX73GZiA:b1fuQMc9lp8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=tGdRX73GZiA:b1fuQMc9lp8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=tGdRX73GZiA:b1fuQMc9lp8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=tGdRX73GZiA:b1fuQMc9lp8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=tGdRX73GZiA:b1fuQMc9lp8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=tGdRX73GZiA:b1fuQMc9lp8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=tGdRX73GZiA:b1fuQMc9lp8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/10/subho-bijoya.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cGRHo9cSp7ImA9WhdUFEk.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-8039812424210290329</id><published>2011-10-01T10:27:00.000+05:30</published><updated>2011-10-01T10:27:05.469+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-01T10:27:05.469+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hack" /><category scheme="http://www.blogger.com/atom/ns#" term="Spreadsheet" /><category scheme="http://www.blogger.com/atom/ns#" term="Open Office" /><category scheme="http://www.blogger.com/atom/ns#" term="Formula" /><title>Counting unique values in Open Office</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/8039812424210290329/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/10/counting-unique-values-in-open-office.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/8039812424210290329?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/8039812424210290329?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/dNyGtcexBqo/counting-unique-values-in-open-office.html" title="Counting unique values in Open Office" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><content type="html">

The spreadsheet program, Calc (equivalent of MS Excel) in Open Office does not have a function to count the number of unique numbers in a range. Here is a quick hack that I have been using for quite sometime for doing the same:

SUMPRODUCT((Data&amp;lt;&amp;gt;"")/(COUNTIF(Data;Data)+(Data=""))) 
When using this hack, replace "Data" by the range of values from which you want the number of unique values like &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=dNyGtcexBqo:mKM39oHu8fU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=dNyGtcexBqo:mKM39oHu8fU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=dNyGtcexBqo:mKM39oHu8fU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=dNyGtcexBqo:mKM39oHu8fU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=dNyGtcexBqo:mKM39oHu8fU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=dNyGtcexBqo:mKM39oHu8fU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=dNyGtcexBqo:mKM39oHu8fU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=dNyGtcexBqo:mKM39oHu8fU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=dNyGtcexBqo:mKM39oHu8fU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=dNyGtcexBqo:mKM39oHu8fU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/10/counting-unique-values-in-open-office.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AHQHg6fyp7ImA9WhdUFUU.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-9000347115564009448</id><published>2011-09-24T01:28:00.000+05:30</published><updated>2011-10-03T01:32:11.617+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-03T01:32:11.617+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Font" /><category scheme="http://www.blogger.com/atom/ns#" term="Bengali" /><category scheme="http://www.blogger.com/atom/ns#" term="Mac" /><title>Bengali font on Max OS X 10.6</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/9000347115564009448/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/09/bengali-font-on-max-os-x-106.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/9000347115564009448?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/9000347115564009448?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/29LII-2_TTo/bengali-font-on-max-os-x-106.html" title="Bengali font on Max OS X 10.6" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Mac OS X 10.6 does not come with default support for Indian languages. Being a Bengali, I want to read and write in my mother tongue. Here is a step by step procedure to get Bengali support in Mac OS X 10.6.
Get bengali fonts in a format supported by Mac OS
by default Mac supports the ttf format and not the newer Open Type format
one of the best in terms of readability is "Ekushey Lohit" (একুশে &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=29LII-2_TTo:rqN5U7qO9f8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=29LII-2_TTo:rqN5U7qO9f8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=29LII-2_TTo:rqN5U7qO9f8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=29LII-2_TTo:rqN5U7qO9f8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=29LII-2_TTo:rqN5U7qO9f8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=29LII-2_TTo:rqN5U7qO9f8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=29LII-2_TTo:rqN5U7qO9f8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=29LII-2_TTo:rqN5U7qO9f8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=29LII-2_TTo:rqN5U7qO9f8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=29LII-2_TTo:rqN5U7qO9f8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/09/bengali-font-on-max-os-x-106.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYAQ3YzcCp7ImA9WhdUFEg.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-3806918825726175084</id><published>2011-08-06T12:57:00.000+05:30</published><updated>2011-10-01T12:59:02.888+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-01T12:59:02.888+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Algorithm" /><category scheme="http://www.blogger.com/atom/ns#" term="Hack" /><category scheme="http://www.blogger.com/atom/ns#" term="Life" /><category scheme="http://www.blogger.com/atom/ns#" term="Data Structure" /><title>Organizing clothes using Data Structure</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/3806918825726175084/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/08/organizing-clothes-using-data-structure.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/3806918825726175084?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/3806918825726175084?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/OoFKxp9EZ6E/organizing-clothes-using-data-structure.html" title="Organizing clothes using Data Structure" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

Due to lack of hanger space in my present wardrobe, I have to keep my clothes folded. I usually pick up something from the top of the pile for wearing. Which means I keep wearing the a small subset of my clothes repeatedly. Ideally I would have liked to wear all the clothes. But its too much trouble to take a tshirt out from middle of a pile; the entire pile gets disheveled.

The solution is &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OoFKxp9EZ6E:GqgE4e-4rcA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OoFKxp9EZ6E:GqgE4e-4rcA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OoFKxp9EZ6E:GqgE4e-4rcA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OoFKxp9EZ6E:GqgE4e-4rcA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=OoFKxp9EZ6E:GqgE4e-4rcA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OoFKxp9EZ6E:GqgE4e-4rcA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OoFKxp9EZ6E:GqgE4e-4rcA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=OoFKxp9EZ6E:GqgE4e-4rcA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OoFKxp9EZ6E:GqgE4e-4rcA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=OoFKxp9EZ6E:GqgE4e-4rcA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/08/organizing-clothes-using-data-structure.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MNQ30_eCp7ImA9WhdUFEk.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-2273105192226509851</id><published>2011-07-16T09:25:00.000+05:30</published><updated>2011-10-01T09:28:12.340+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-01T09:28:12.340+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Piracy" /><category scheme="http://www.blogger.com/atom/ns#" term="External link" /><category scheme="http://www.blogger.com/atom/ns#" term="Interview" /><category scheme="http://www.blogger.com/atom/ns#" term="Ebook" /><category scheme="http://www.blogger.com/atom/ns#" term="Internet" /><category scheme="http://www.blogger.com/atom/ns#" term="Book" /><title>Confessions of an Ebook Pirate</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/2273105192226509851/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/07/confessions-of-ebook-pirate.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/2273105192226509851?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/2273105192226509851?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/eifefdURrXQ/confessions-of-ebook-pirate.html" title="Confessions of an Ebook Pirate" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

Today I found this article, titled "Confessions of a Book Pirate". Its an email interview with a bibliophile who is also a book pirate. The person in question has a name "The Real Caterpillar" in one of the many book sharing communities that he participates. He makes quite a few points which seemed logical and worth noting. The article is a definite recommend from me for anybody who loves books&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=eifefdURrXQ:zGauYEA8S-Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=eifefdURrXQ:zGauYEA8S-Q:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=eifefdURrXQ:zGauYEA8S-Q:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=eifefdURrXQ:zGauYEA8S-Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=eifefdURrXQ:zGauYEA8S-Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=eifefdURrXQ:zGauYEA8S-Q:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=eifefdURrXQ:zGauYEA8S-Q:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=eifefdURrXQ:zGauYEA8S-Q:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=eifefdURrXQ:zGauYEA8S-Q:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=eifefdURrXQ:zGauYEA8S-Q:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/07/confessions-of-ebook-pirate.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEGQnk_cCp7ImA9WhZVGUU.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-5733971404016027437</id><published>2011-05-31T21:43:00.002+05:30</published><updated>2011-06-02T09:53:43.748+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-02T09:53:43.748+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Interesting" /><category scheme="http://www.blogger.com/atom/ns#" term="Just like that" /><category scheme="http://www.blogger.com/atom/ns#" term="Wikipedia" /><title>Follow links to land in Philosophy</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/5733971404016027437/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/05/follow-links-to-land-in-philosophy.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/5733971404016027437?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/5733971404016027437?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/OSgUL9jGsqA/follow-links-to-land-in-philosophy.html" title="Follow links to land in Philosophy" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>5</thr:total><content type="html">


A couple of days back, the a cartoon was posted on xkcd titled "Extended Mind". In the mouse-over text, Randall Munroe wrote the following:


Wikipedia trivia: if you take any article, click on the first link in
the article text not in parentheses or italics, and then repeat, you
will eventually end up at "Philosophy".

I decided to test this theory and indeed managed to land to Philosophy &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OSgUL9jGsqA:zQXmW27sIrI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OSgUL9jGsqA:zQXmW27sIrI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OSgUL9jGsqA:zQXmW27sIrI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OSgUL9jGsqA:zQXmW27sIrI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=OSgUL9jGsqA:zQXmW27sIrI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OSgUL9jGsqA:zQXmW27sIrI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OSgUL9jGsqA:zQXmW27sIrI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=OSgUL9jGsqA:zQXmW27sIrI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=OSgUL9jGsqA:zQXmW27sIrI:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=OSgUL9jGsqA:zQXmW27sIrI:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/05/follow-links-to-land-in-philosophy.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQGSHs7fip7ImA9WhZVFUs.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-1544018127519574072</id><published>2011-05-26T17:05:00.002+05:30</published><updated>2011-05-28T10:55:29.506+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-28T10:55:29.506+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Life" /><category scheme="http://www.blogger.com/atom/ns#" term="Just like that" /><title>Why do people latch doors without lock?</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/1544018127519574072/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/05/why-do-people-latch-doors-without-lock.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/1544018127519574072?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/1544018127519574072?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/fk6FN0k9UAc/why-do-people-latch-doors-without-lock.html" title="Why do people latch doors without lock?" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><content type="html">

I often see people pulling the latch of a padlock without actually putting in a lock. This is usually done when the person intends to come back after a short time. However I have always wondered about this practice.

The only plausible reason I find for doing this is preventing infants, toddlers or small animals from entering the room. However, in places where I observe this behavior (hostel &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=fk6FN0k9UAc:ICFxBzKUgI4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=fk6FN0k9UAc:ICFxBzKUgI4:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=fk6FN0k9UAc:ICFxBzKUgI4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=fk6FN0k9UAc:ICFxBzKUgI4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=fk6FN0k9UAc:ICFxBzKUgI4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=fk6FN0k9UAc:ICFxBzKUgI4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=fk6FN0k9UAc:ICFxBzKUgI4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=fk6FN0k9UAc:ICFxBzKUgI4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=fk6FN0k9UAc:ICFxBzKUgI4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=fk6FN0k9UAc:ICFxBzKUgI4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/05/why-do-people-latch-doors-without-lock.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcMQng8eyp7ImA9WhdUFEk.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-9024623679873887554</id><published>2011-05-20T10:07:00.001+05:30</published><updated>2011-10-01T09:38:03.673+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-01T09:38:03.673+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mac" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="ssh" /><title>SSH without password</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/9024623679873887554/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/05/ssh-without-password.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/9024623679873887554?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/9024623679873887554?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/sfbqsyD-p2Q/ssh-without-password.html" title="SSH without password" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

Ever since I joined IISc, ssh-ing into other machines seems to be a daily task. Its hard to type in passwords every time. So this is what I did to avoid typing passwords for ssh.

Lets call the machine you are connecting from as "home" with your user name "homeuser" and the machine you are connecting to as "server" with your user name as "serveruser". Please note that in case the account in &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sfbqsyD-p2Q:KHFczskDBe8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sfbqsyD-p2Q:KHFczskDBe8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sfbqsyD-p2Q:KHFczskDBe8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sfbqsyD-p2Q:KHFczskDBe8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sfbqsyD-p2Q:KHFczskDBe8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sfbqsyD-p2Q:KHFczskDBe8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sfbqsyD-p2Q:KHFczskDBe8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sfbqsyD-p2Q:KHFczskDBe8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sfbqsyD-p2Q:KHFczskDBe8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sfbqsyD-p2Q:KHFczskDBe8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/05/ssh-without-password.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMNRXs7cSp7ImA9WhZWFkg.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-5323088186442062488</id><published>2011-05-17T23:01:00.000+05:30</published><updated>2011-05-17T23:01:34.509+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-17T23:01:34.509+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><category scheme="http://www.blogger.com/atom/ns#" term="Machine-Learning" /><title>Cell array to matrix in Matlab</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/5323088186442062488/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/05/cell-array-to-matrix-in-matlab.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/5323088186442062488?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/5323088186442062488?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/X_vSJqtbAbA/cell-array-to-matrix-in-matlab.html" title="Cell array to matrix in Matlab" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><content type="html">

Having used Matlab for machine learning work, I often face this problem. Typically while working with some classifier like "TreeBagger", the "eval()" function for computing labels of test data returns a cell array where each element is '1' or '-1'. The problem is that my original labels were numeric {1,-1}, so comparing these become a big problem especially if one is interested in things beyond&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=X_vSJqtbAbA:8jg66bdbiJE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=X_vSJqtbAbA:8jg66bdbiJE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=X_vSJqtbAbA:8jg66bdbiJE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=X_vSJqtbAbA:8jg66bdbiJE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=X_vSJqtbAbA:8jg66bdbiJE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=X_vSJqtbAbA:8jg66bdbiJE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=X_vSJqtbAbA:8jg66bdbiJE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=X_vSJqtbAbA:8jg66bdbiJE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=X_vSJqtbAbA:8jg66bdbiJE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=X_vSJqtbAbA:8jg66bdbiJE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/05/cell-array-to-matrix-in-matlab.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIMSX87eSp7ImA9WhZWEE0.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-8371106896519878976</id><published>2011-05-10T11:36:00.000+05:30</published><updated>2011-05-10T11:36:28.101+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T11:36:28.101+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Internet" /><category scheme="http://www.blogger.com/atom/ns#" term="C/C++" /><category scheme="http://www.blogger.com/atom/ns#" term="Formatting" /><title>replaceTab, an utility program</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/8371106896519878976/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/05/replacetab-utility-program.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/8371106896519878976?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/8371106896519878976?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/9NPgtvWOCx0/replacetab-utility-program.html" title="replaceTab, an utility program" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

I use PasteBin for all my online code snippets. However there is one small problem which I find about their service:

Tabs expand to 8 spaces
While many might not understand the fuss, I find this quite annoying. I use Tabs for my code and the default number of spaces I use  for Tab is 4. Expanding Tab to 8 spaces, makes my code look ugly (kind of stretched). Being a programmer, I wrote this &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=9NPgtvWOCx0:wgnFnaGh2pw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=9NPgtvWOCx0:wgnFnaGh2pw:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=9NPgtvWOCx0:wgnFnaGh2pw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=9NPgtvWOCx0:wgnFnaGh2pw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=9NPgtvWOCx0:wgnFnaGh2pw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=9NPgtvWOCx0:wgnFnaGh2pw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=9NPgtvWOCx0:wgnFnaGh2pw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=9NPgtvWOCx0:wgnFnaGh2pw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=9NPgtvWOCx0:wgnFnaGh2pw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=9NPgtvWOCx0:wgnFnaGh2pw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/05/replacetab-utility-program.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcAQXY5eip7ImA9WhZQE0s.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-189646170357256348</id><published>2011-04-21T10:45:00.001+05:30</published><updated>2011-04-21T10:47:20.822+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-21T10:47:20.822+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Algorithm" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Interview" /><category scheme="http://www.blogger.com/atom/ns#" term="Puzzle" /><category scheme="http://www.blogger.com/atom/ns#" term="C/C++" /><title>Generate Palindrome by Appending Characters</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/189646170357256348/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/04/generate-palindrome-by-appending.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/189646170357256348?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/189646170357256348?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/kCRGUTDHyQI/generate-palindrome-by-appending.html" title="Generate Palindrome by Appending Characters" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

I was recently asked this programming puzzle at an interview:


Given a string as input, construct the smallest length palindrome from that string by adding 0 or more characters at  the end of the string.


So for input "abb" it would be "abba" with only one character added at end; for "abcdaad" it would be "abcdaadcba" with three characters added to the end. Of course in the worst case all n-1&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=kCRGUTDHyQI:I-DQv_d_neY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=kCRGUTDHyQI:I-DQv_d_neY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=kCRGUTDHyQI:I-DQv_d_neY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=kCRGUTDHyQI:I-DQv_d_neY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=kCRGUTDHyQI:I-DQv_d_neY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=kCRGUTDHyQI:I-DQv_d_neY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=kCRGUTDHyQI:I-DQv_d_neY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=kCRGUTDHyQI:I-DQv_d_neY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=kCRGUTDHyQI:I-DQv_d_neY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=kCRGUTDHyQI:I-DQv_d_neY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/04/generate-palindrome-by-appending.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8DRHg_eCp7ImA9WhZRGU8.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-6352990146695788004</id><published>2011-04-16T10:04:00.001+05:30</published><updated>2011-04-16T10:11:15.640+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-16T10:11:15.640+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="C/C++" /><title>Adding until and unless to C</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/6352990146695788004/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/04/adding-until-and-unless-to-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6352990146695788004?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6352990146695788004?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/n60MkeRMA10/adding-until-and-unless-to-c.html" title="Adding until and unless to C" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

I have been looking into Ruby recently and find its keywords "until" and "unless" very interesting. So I thought what was a good way to add similar keywords into C/C++. Initially I attempted writing functions and then it struck me that this can be done with a simple macro. This is what I came up with:


#define until(x)    while(!(x))
#define unless(x)   if(!(x))


To illustrate my point here &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=n60MkeRMA10:c4uMa4PQmMg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=n60MkeRMA10:c4uMa4PQmMg:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=n60MkeRMA10:c4uMa4PQmMg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=n60MkeRMA10:c4uMa4PQmMg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=n60MkeRMA10:c4uMa4PQmMg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=n60MkeRMA10:c4uMa4PQmMg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=n60MkeRMA10:c4uMa4PQmMg:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=n60MkeRMA10:c4uMa4PQmMg:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=n60MkeRMA10:c4uMa4PQmMg:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=n60MkeRMA10:c4uMa4PQmMg:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/04/adding-until-and-unless-to-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUBRXY6fSp7ImA9WhZTFUQ.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-3696059434751990413</id><published>2011-03-19T23:30:00.002+05:30</published><updated>2011-03-20T09:40:54.815+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-20T09:40:54.815+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Algorithm" /><category scheme="http://www.blogger.com/atom/ns#" term="Cool Techs" /><category scheme="http://www.blogger.com/atom/ns#" term="Pi" /><category scheme="http://www.blogger.com/atom/ns#" term="Just like that" /><title>Computing Pi to trillions of digits</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/3696059434751990413/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/03/computing-pi-to-trillions-of-digits.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/3696059434751990413?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/3696059434751990413?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/lIM2LonliiE/computing-pi-to-trillions-of-digits.html" title="Computing Pi to trillions of digits" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh5.googleusercontent.com/-hmroqveX1XE/TYV6N2kslfI/AAAAAAAADGg/v6AB9xUR2hE/s72-c/Ramanujan_pi.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">

Some fellows attempted a world record for computing Pi to 5 trillion digits. The
page gives a fairly detailed outline of how they achieved this feat. The detailed specifications of the hardware and software used have also been included. Contrary to my assumption, this attempt ran on a PC with server class components instead of some
cluster. Although they did use software for bit error &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=lIM2LonliiE:-PmSUG5zYOQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=lIM2LonliiE:-PmSUG5zYOQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=lIM2LonliiE:-PmSUG5zYOQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=lIM2LonliiE:-PmSUG5zYOQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=lIM2LonliiE:-PmSUG5zYOQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=lIM2LonliiE:-PmSUG5zYOQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=lIM2LonliiE:-PmSUG5zYOQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=lIM2LonliiE:-PmSUG5zYOQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=lIM2LonliiE:-PmSUG5zYOQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=lIM2LonliiE:-PmSUG5zYOQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/03/computing-pi-to-trillions-of-digits.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YMQXwyeSp7ImA9WhZTE0s.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-4204783781356638678</id><published>2011-03-17T16:56:00.000+05:30</published><updated>2011-03-17T16:56:20.291+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-17T16:56:20.291+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Greetings" /><title>Happy Holi</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/4204783781356638678/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/03/happy-holi.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/4204783781356638678?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/4204783781356638678?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/m1xq-Qe_3NI/happy-holi.html" title="Happy Holi" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-Z-uHbm2nPeU/TYHvPOpxwxI/AAAAAAAADGc/5ULMpWnf2n0/s72-c/Happy+Holi.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">

Wishing you all Happy Holi.







May this festival of colours bring new hues to you life.
  
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=m1xq-Qe_3NI:axnsxISyA0I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=m1xq-Qe_3NI:axnsxISyA0I:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=m1xq-Qe_3NI:axnsxISyA0I:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=m1xq-Qe_3NI:axnsxISyA0I:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=m1xq-Qe_3NI:axnsxISyA0I:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=m1xq-Qe_3NI:axnsxISyA0I:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=m1xq-Qe_3NI:axnsxISyA0I:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=m1xq-Qe_3NI:axnsxISyA0I:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=m1xq-Qe_3NI:axnsxISyA0I:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=m1xq-Qe_3NI:axnsxISyA0I:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/03/happy-holi.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QNR3k6fyp7ImA9Wx9aFE4.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-7247130645607865237</id><published>2011-03-06T23:46:00.000+05:30</published><updated>2011-03-06T23:46:36.717+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-06T23:46:36.717+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Observations" /><category scheme="http://www.blogger.com/atom/ns#" term="Just like that" /><title>Fountain pen of a left-hander</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/7247130645607865237/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/03/fountain-pen-of-left-hander.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/7247130645607865237?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/7247130645607865237?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/7t4cIQ0Z4PY/fountain-pen-of-left-hander.html" title="Fountain pen of a left-hander" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><content type="html">

These days its becoming increasingly rare to see fountain pens. Very few people seem to be still using them on a regular basis. Personally I like the comfort associated with it, but dislike the fact the ink is not waterproof. So one drop of water in the paper, and whatever you have written is gone.



It was a pleasant surprise for me to find out that a PhD student of IISc, Abhijit Khopkar uses&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7t4cIQ0Z4PY:fzJh1l_HpDA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7t4cIQ0Z4PY:fzJh1l_HpDA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7t4cIQ0Z4PY:fzJh1l_HpDA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7t4cIQ0Z4PY:fzJh1l_HpDA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=7t4cIQ0Z4PY:fzJh1l_HpDA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7t4cIQ0Z4PY:fzJh1l_HpDA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7t4cIQ0Z4PY:fzJh1l_HpDA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=7t4cIQ0Z4PY:fzJh1l_HpDA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7t4cIQ0Z4PY:fzJh1l_HpDA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=7t4cIQ0Z4PY:fzJh1l_HpDA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/03/fountain-pen-of-left-hander.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4DSXc5eyp7ImA9Wx9bF00.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-1900546069526145562</id><published>2011-02-26T12:10:00.004+05:30</published><updated>2011-02-26T12:19:38.923+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-26T12:19:38.923+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Mathematics" /><category scheme="http://www.blogger.com/atom/ns#" term="Puzzle" /><category scheme="http://www.blogger.com/atom/ns#" term="C/C++" /><category scheme="http://www.blogger.com/atom/ns#" term="Python" /><title>Project Euler Level 1</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/1900546069526145562/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/02/project-euler-level-1.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/1900546069526145562?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/1900546069526145562?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/mKUMcKBdi_c/project-euler-level-1.html" title="Project Euler Level 1" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh5.googleusercontent.com/-UGR8YsDqNk4/TWig-jlS9bI/AAAAAAAADGA/5jy-chiSi2A/s72-c/euler_level1.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">

I have been interested in puzzles since I was little. After learning programming I would search out puzzles that could be solved by coding. Few years back while I was pursuing my B.Sc. I encountered Project Euler:


Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=mKUMcKBdi_c:0n3ozPUTjUc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=mKUMcKBdi_c:0n3ozPUTjUc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=mKUMcKBdi_c:0n3ozPUTjUc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=mKUMcKBdi_c:0n3ozPUTjUc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=mKUMcKBdi_c:0n3ozPUTjUc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=mKUMcKBdi_c:0n3ozPUTjUc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=mKUMcKBdi_c:0n3ozPUTjUc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=mKUMcKBdi_c:0n3ozPUTjUc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=mKUMcKBdi_c:0n3ozPUTjUc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=mKUMcKBdi_c:0n3ozPUTjUc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/02/project-euler-level-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEDQ3s4eyp7ImA9Wx9bFU4.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-172989148631256255</id><published>2011-02-18T11:55:00.003+05:30</published><updated>2011-02-24T14:41:12.533+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-24T14:41:12.533+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Interview" /><category scheme="http://www.blogger.com/atom/ns#" term="Puzzle" /><category scheme="http://www.blogger.com/atom/ns#" term="Jokes" /><title>Feynman's answers to Lateral Thinking puzzles</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/172989148631256255/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/02/feynmans-answers-to-lateral-thinking.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/172989148631256255?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/172989148631256255?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/H15CgvPcyZo/feynmans-answers-to-lateral-thinking.html" title="Feynman's answers to Lateral Thinking puzzles" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><content type="html">
Late physicist Richard P. Feynman was well known for answering questions in a typical manner unique to him. Here are a few humorous takes on what he would have replied to the so called "lateral thinking" questions that are asked routinely at software company interviews these days.

Here are two examples of the quirky answers that he might have given to these trick questions:


Why are manhole &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H15CgvPcyZo:o3OofThhoqM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H15CgvPcyZo:o3OofThhoqM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H15CgvPcyZo:o3OofThhoqM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H15CgvPcyZo:o3OofThhoqM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=H15CgvPcyZo:o3OofThhoqM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H15CgvPcyZo:o3OofThhoqM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H15CgvPcyZo:o3OofThhoqM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=H15CgvPcyZo:o3OofThhoqM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H15CgvPcyZo:o3OofThhoqM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=H15CgvPcyZo:o3OofThhoqM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/02/feynmans-answers-to-lateral-thinking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHQ384fCp7ImA9Wx9UF0k.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-6679585012748145622</id><published>2011-02-15T09:12:00.000+05:30</published><updated>2011-02-15T09:12:12.134+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-15T09:12:12.134+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Algorithm" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Interesting" /><category scheme="http://www.blogger.com/atom/ns#" term="Mathematics" /><category scheme="http://www.blogger.com/atom/ns#" term="Python" /><title>Algorithm for finding square-root</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/6679585012748145622/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/02/algorithm-for-finding-square-root.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6679585012748145622?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6679585012748145622?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/oujq7Pif4w0/algorithm-for-finding-square-root.html" title="Algorithm for finding square-root" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">
It always intrigued me how one could find the square-root of a number. In school I was taught a digit-by-digit method to calculate square-root. I did implement it using BASIC in Std IX, but the solution did not seem elegant enough. By Std XI I had actually figured out the Bisection method by myself and used it to find any root of a number. This again was implemented in C++ (... and I still have &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=oujq7Pif4w0:b6gU0PFHHPM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=oujq7Pif4w0:b6gU0PFHHPM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=oujq7Pif4w0:b6gU0PFHHPM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=oujq7Pif4w0:b6gU0PFHHPM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=oujq7Pif4w0:b6gU0PFHHPM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=oujq7Pif4w0:b6gU0PFHHPM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=oujq7Pif4w0:b6gU0PFHHPM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=oujq7Pif4w0:b6gU0PFHHPM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=oujq7Pif4w0:b6gU0PFHHPM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=oujq7Pif4w0:b6gU0PFHHPM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/02/algorithm-for-finding-square-root.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMHQ347fSp7ImA9Wx9UFU0.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-4111732946389675169</id><published>2011-02-12T14:46:00.002+05:30</published><updated>2011-02-12T14:50:32.005+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T14:50:32.005+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Pi" /><category scheme="http://www.blogger.com/atom/ns#" term="Interesting" /><category scheme="http://www.blogger.com/atom/ns#" term="Mathematics" /><category scheme="http://www.blogger.com/atom/ns#" term="Python" /><title>My first Python program</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/4111732946389675169/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/02/my-first-python-program.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/4111732946389675169?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/4111732946389675169?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/7jVEu1A38_I/my-first-python-program.html" title="My first Python program" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">
I heard of Python in my final year of B.Tech. at CU. Since then I have tried many times to pick up the language. Unfortunately most of the efforts have not gone far mostly due to lack of a particular problem to attack.

This time however it went differently. First I came across this brilliant and simple way (Monte Carlo technique for computing Pi) to compute the value of Pi from some CS magazine&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7jVEu1A38_I:6Ip9N9loU-A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7jVEu1A38_I:6Ip9N9loU-A:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7jVEu1A38_I:6Ip9N9loU-A:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7jVEu1A38_I:6Ip9N9loU-A:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=7jVEu1A38_I:6Ip9N9loU-A:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7jVEu1A38_I:6Ip9N9loU-A:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7jVEu1A38_I:6Ip9N9loU-A:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=7jVEu1A38_I:6Ip9N9loU-A:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=7jVEu1A38_I:6Ip9N9loU-A:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=7jVEu1A38_I:6Ip9N9loU-A:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/02/my-first-python-program.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ABQHY7fip7ImA9Wx9VGUs.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-7359052052781925143</id><published>2011-02-06T09:45:00.000+05:30</published><updated>2011-02-06T09:45:51.806+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-06T09:45:51.806+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Just like that" /><category scheme="http://www.blogger.com/atom/ns#" term="Jokes" /><title>Weird Idea</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/7359052052781925143/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2011/02/weird-idea.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/7359052052781925143?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/7359052052781925143?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/sDaosV9csZg/weird-idea.html" title="Weird Idea" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">
I have a trolley with small plants.

When I feel mischievous, I often take out the trolley to the verandah. Then I watch it from a distance. After a some bee find the flowers on the small plants. He goes back to the hive to inform the other bees.When he is gone I take the trolley away.

I love watching the swarm of bees coming to my verandah for no reason. I imagine they must be cursing the &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sDaosV9csZg:0i9xDAZ0nzk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sDaosV9csZg:0i9xDAZ0nzk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sDaosV9csZg:0i9xDAZ0nzk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sDaosV9csZg:0i9xDAZ0nzk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sDaosV9csZg:0i9xDAZ0nzk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sDaosV9csZg:0i9xDAZ0nzk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sDaosV9csZg:0i9xDAZ0nzk:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sDaosV9csZg:0i9xDAZ0nzk:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sDaosV9csZg:0i9xDAZ0nzk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sDaosV9csZg:0i9xDAZ0nzk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2011/02/weird-idea.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAMQnszeCp7ImA9WhRQEEQ.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-4555583851606165656</id><published>2010-11-10T23:00:00.000+05:30</published><updated>2011-12-05T19:33:03.580+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-05T19:33:03.580+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Pictures" /><category scheme="http://www.blogger.com/atom/ns#" term="Mathematics" /><category scheme="http://www.blogger.com/atom/ns#" term="Jokes" /><title>Be Rational, Get Real</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/4555583851606165656/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2010/11/be-rational-get-real.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/4555583851606165656?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/4555583851606165656?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/H5JNRZDALbk/be-rational-get-real.html" title="Be Rational, Get Real" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_DInO6m0rmQc/TNrWNxbgi4I/AAAAAAAADA4/DWKz8On5n90/s72-c/get-real.png" height="72" width="72" /><thr:total>0</thr:total><content type="html">




I think the picture conveys it all !!

- - [edit, 2011-12-05] - -

A fellow blogger after seeing the above pic, promptly forwarded me this picture
  


This is aptly titled, "Keeping it real"
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H5JNRZDALbk:Nx6grrzrJ6I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H5JNRZDALbk:Nx6grrzrJ6I:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H5JNRZDALbk:Nx6grrzrJ6I:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H5JNRZDALbk:Nx6grrzrJ6I:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=H5JNRZDALbk:Nx6grrzrJ6I:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H5JNRZDALbk:Nx6grrzrJ6I:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H5JNRZDALbk:Nx6grrzrJ6I:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=H5JNRZDALbk:Nx6grrzrJ6I:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=H5JNRZDALbk:Nx6grrzrJ6I:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=H5JNRZDALbk:Nx6grrzrJ6I:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2010/11/be-rational-get-real.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEECSX47fyp7ImA9Wx5aEEw.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-205125937596866341</id><published>2010-11-06T08:21:00.000+05:30</published><updated>2010-11-06T08:34:28.007+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-06T08:34:28.007+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Greetings" /><category scheme="http://www.blogger.com/atom/ns#" term="Jokes" /><title>Happy Diwali (software engineer style)</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/205125937596866341/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2010/11/happy-diwali-software-engineer-style.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/205125937596866341?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/205125937596866341?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/aZSC3J0up5M/happy-diwali-software-engineer-style.html" title="Happy Diwali (software engineer style)" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_DInO6m0rmQc/TNTE85oD7FI/AAAAAAAAC_0/x0JQv0wFETc/s72-c/diwali.jpg" height="72" width="72" /><thr:total>0</thr:total><content type="html">


 

In this auspicious day, may you get,
independence of JAVA
popularity of WINDOWS
security of LINUX
luxury of .NET
efficiency of C
simplicity of HTML
vastness of GOOGLE
robustness of IBM

Happy Diwali&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=aZSC3J0up5M:JoEJgZ3mpWY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=aZSC3J0up5M:JoEJgZ3mpWY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=aZSC3J0up5M:JoEJgZ3mpWY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=aZSC3J0up5M:JoEJgZ3mpWY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=aZSC3J0up5M:JoEJgZ3mpWY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=aZSC3J0up5M:JoEJgZ3mpWY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=aZSC3J0up5M:JoEJgZ3mpWY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=aZSC3J0up5M:JoEJgZ3mpWY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=aZSC3J0up5M:JoEJgZ3mpWY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=aZSC3J0up5M:JoEJgZ3mpWY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2010/11/happy-diwali-software-engineer-style.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAFRHc6fCp7ImA9Wx5VFk0.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-6494981540435826144</id><published>2010-10-09T12:48:00.001+05:30</published><updated>2010-10-09T12:48:35.914+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-09T12:48:35.914+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term="Interesting" /><category scheme="http://www.blogger.com/atom/ns#" term="Operating System" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Software" /><title>Bash Auto-Completion Trick</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/6494981540435826144/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2010/10/bash-auto-completion-trick.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6494981540435826144?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6494981540435826144?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/sNTA5WPsH-E/bash-auto-completion-trick.html" title="Bash Auto-Completion Trick" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>4</thr:total><content type="html">Most of us who use the bash shell in *nix environments, often find the Tab-key auto-completion to be a very helpful timesaver. But one of the main problems is that he feature is not adaptive, i.e. it does nothing to learn from my previous commands. For example in my home directory I have two folders: “picture” and “programming”. Usually there is no reason for me to traverse the “picture” folder &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sNTA5WPsH-E:ddi1N_LHXEE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sNTA5WPsH-E:ddi1N_LHXEE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sNTA5WPsH-E:ddi1N_LHXEE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sNTA5WPsH-E:ddi1N_LHXEE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sNTA5WPsH-E:ddi1N_LHXEE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sNTA5WPsH-E:ddi1N_LHXEE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sNTA5WPsH-E:ddi1N_LHXEE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sNTA5WPsH-E:ddi1N_LHXEE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=sNTA5WPsH-E:ddi1N_LHXEE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=sNTA5WPsH-E:ddi1N_LHXEE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2010/10/bash-auto-completion-trick.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcAQngyeSp7ImA9Wx5VEU0.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-7669802871114368415</id><published>2010-10-03T17:06:00.001+05:30</published><updated>2010-10-03T17:10:43.691+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-03T17:10:43.691+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mathematics" /><category scheme="http://www.blogger.com/atom/ns#" term="Puzzle" /><title>12 Coins puzzle</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/7669802871114368415/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2010/10/12-coins-puzzle.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/7669802871114368415?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/7669802871114368415?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/BqLdZIXvrl8/12-coins-puzzle.html" title="12 Coins puzzle" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_DInO6m0rmQc/TKhqxyDZobI/AAAAAAAAC-E/Kj8FerNpCUk/s72-c/12coins_small%5B14%5D.gif?imgmax=800" height="72" width="72" /><thr:total>4</thr:total><content type="html">The puzzle goes like this:  A set of 12 coins of similar shape and size contains one counterfeit coin, whose weight is different from that of the other coins. Find the coin using a balance and minimum number of weighing. The catch of the problem is that it is not mentioned whether the counterfeit coin is lighter or heavier than the rest of the normal coins. Lower Bound Let us first examine what &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=BqLdZIXvrl8:5UUnuLjP_QE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=BqLdZIXvrl8:5UUnuLjP_QE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=BqLdZIXvrl8:5UUnuLjP_QE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=BqLdZIXvrl8:5UUnuLjP_QE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=BqLdZIXvrl8:5UUnuLjP_QE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=BqLdZIXvrl8:5UUnuLjP_QE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=BqLdZIXvrl8:5UUnuLjP_QE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=BqLdZIXvrl8:5UUnuLjP_QE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=BqLdZIXvrl8:5UUnuLjP_QE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=BqLdZIXvrl8:5UUnuLjP_QE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2010/10/12-coins-puzzle.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EHRXY-eCp7ImA9Wx5XEEk.&quot;"><id>tag:blogger.com,1999:blog-342571010165648433.post-6800444145407933481</id><published>2010-09-09T19:33:00.002+05:30</published><updated>2010-09-09T19:43:54.850+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-09T19:43:54.850+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Experience" /><category scheme="http://www.blogger.com/atom/ns#" term="C/C++" /><title>Modulus Operator on negative numbers in C</title><link rel="replies" type="application/atom+xml" href="http://blog.bigyanbhar.com/feeds/6800444145407933481/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.bigyanbhar.com/2010/09/modulus-operator-on-negative-numbers-in.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6800444145407933481?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/342571010165648433/posts/default/6800444145407933481?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/bigyan/~3/nm7svdd8y4Y/modulus-operator-on-negative-numbers-in.html" title="Modulus Operator on negative numbers in C" /><author><name>Bigyan Bhar</name><uri>http://www.blogger.com/profile/08220053167514404524</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><content type="html">I had been introduced to the C language in the very first day of my B.Sc. course back in 2003. Since then I have been using it for doing quite some varied kinds of programming jobs. But even after so many years, its every now and then that I find out something I did not know before. Here is one such thing that I encountered few days back. I was taught by both my C teachers in B.Sc. as well as in &lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=nm7svdd8y4Y:OU4opsipuGg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=nm7svdd8y4Y:OU4opsipuGg:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=nm7svdd8y4Y:OU4opsipuGg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=nm7svdd8y4Y:OU4opsipuGg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=nm7svdd8y4Y:OU4opsipuGg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=nm7svdd8y4Y:OU4opsipuGg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=nm7svdd8y4Y:OU4opsipuGg:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=nm7svdd8y4Y:OU4opsipuGg:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bigyan?a=nm7svdd8y4Y:OU4opsipuGg:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bigyan?i=nm7svdd8y4Y:OU4opsipuGg:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</content><feedburner:origLink>http://blog.bigyanbhar.com/2010/09/modulus-operator-on-negative-numbers-in.html</feedburner:origLink></entry></feed>

