<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><description>Tumblr log of  Indhu Bharathi </description><title>Random thoughts...</title><generator>Tumblr (3.0; @indhubharathi)</generator><link>http://indhubharathi.tumblr.com/</link><item><title>Should finance be outside politics?</title><description>Everybody does what is good for them (more looking at the short term and some times looking at the long term). Politicians do what will get them elected. If short term growth has to be slowed down to ensure long term safety, politicians simply won’t do it. Is that a good reason to say financal decisions of a country should be taken by non-political body?</description><link>http://indhubharathi.tumblr.com/post/74728599</link><guid>http://indhubharathi.tumblr.com/post/74728599</guid><pubDate>Sun, 01 Feb 2009 13:33:47 +0530</pubDate></item><item><title>Google is harmful - says Google ;-)</title><description>&lt;img src="http://8.media.tumblr.com/bk2gFguqkjdz8lueOJ7bbnjxo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;Google is harmful - says Google ;-)</description><link>http://indhubharathi.tumblr.com/post/74563266</link><guid>http://indhubharathi.tumblr.com/post/74563266</guid><pubDate>Sat, 31 Jan 2009 20:51:52 +0530</pubDate></item><item><title>"I don’t know if God exists, but it would be better for His reputation if He didn’t"</title><description>“I don’t know if God exists, but it would be better for His reputation if He didn’t”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Jules Renard&lt;/em&gt;</description><link>http://indhubharathi.tumblr.com/post/62730014</link><guid>http://indhubharathi.tumblr.com/post/62730014</guid><pubDate>Wed, 03 Dec 2008 08:40:00 +0530</pubDate></item><item><title>"To me, it was all about winning a mind game. If I could make people understand the issues, they..."</title><description>“To me, it was all about winning a mind game. If I could make people understand the issues, they would take charge and deliver the results.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Go Kiss the World, Subroto Bagchi&lt;/em&gt;</description><link>http://indhubharathi.tumblr.com/post/62212443</link><guid>http://indhubharathi.tumblr.com/post/62212443</guid><pubDate>Sun, 30 Nov 2008 11:00:04 +0530</pubDate></item><item><title>"The key is not to react to what had happened. Whatever the incident, you had to learn to absorb all..."</title><description>“The key is not to react to what had happened. Whatever the incident, you had to learn to absorb all the details and then figure out the subsequent damage control.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Go Kiss the World, Subroto Bagchi&lt;/em&gt;</description><link>http://indhubharathi.tumblr.com/post/62212361</link><guid>http://indhubharathi.tumblr.com/post/62212361</guid><pubDate>Sun, 30 Nov 2008 10:59:25 +0530</pubDate></item><item><title>"If it requires a smart programmer to handle ‘how’ to do, it requires a even smarter..."</title><description>““If it requires a smart programmer to handle ‘how’ to do, it requires a even smarter programmer to handle ‘what’ to do.””&lt;br/&gt;&lt;br/&gt; - &lt;em&gt; My own observation :-)&lt;/em&gt;</description><link>http://indhubharathi.tumblr.com/post/46731712</link><guid>http://indhubharathi.tumblr.com/post/46731712</guid><pubDate>Thu, 21 Aug 2008 00:50:53 +0530</pubDate></item><item><title>Making wrong code look wrong!</title><description>Why is this bad?&lt;br/&gt;&lt;b&gt;char* dest, src;&lt;br/&gt;&lt;br/&gt;&lt;/b&gt;And Why is this dangerous?&lt;b&gt;&lt;br/&gt;&lt;/b&gt;&lt;b&gt;if (i != 0)&lt;br/&gt; foo(i);&lt;br/&gt;&lt;br/&gt;&lt;/b&gt;What is wrong with this?&lt;b&gt;&lt;br/&gt;&lt;/b&gt;&lt;b&gt;s  = Request(“name”)&lt;br/&gt;write “Hello!” + s &lt;br/&gt;&lt;br/&gt;&lt;/b&gt;Keep functions short. If a function cannot be viewed from a single screen and needs scrolling, it is time to refractor your code. Why?&lt;br/&gt;&lt;br/&gt;Why this line in c++ doesn’t really say anything about what it does?&lt;br/&gt;&lt;b&gt;i = j * 5;&lt;br/&gt;&lt;br/&gt;&lt;/b&gt;What’s wrong if d&lt;b style="font-weight: normal;"&gt;osomething() throws an exception?&lt;/b&gt;&lt;br/&gt;&lt;b&gt;dosomething();&lt;br/&gt;cleanup();&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;One line answer that Joel gives for all above questions is “It doesn’t make wrong code look wrong!”.&lt;br/&gt;&lt;br/&gt;Read more here: &lt;a target="_blank" href="http://www.joelonsoftware.com/articles/Wrong.html"&gt;&lt;a href="http://www.joelonsoftware.com/articles/Wrong.html" target="_blank"&gt;http://www.joelonsoftware.com/articles/Wrong.html&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;An interesting read!&lt;br/&gt;&lt;br/&gt;:-)</description><link>http://indhubharathi.tumblr.com/post/44316755</link><guid>http://indhubharathi.tumblr.com/post/44316755</guid><pubDate>Fri, 01 Aug 2008 14:55:00 +0530</pubDate></item><item><title>Back to Basics!</title><description>&lt;p&gt;What is a null-terminated string? What is a Pascal-string? And finally what is a f#@&amp;ed string?&lt;br/&gt;&lt;br/&gt;What is the problem with this code?&lt;br/&gt;char bigString[1000];&lt;br/&gt;char *p = bigString;&lt;br/&gt;bigString[0] = ‘\0’;&lt;br/&gt;p = mystrcat(p,”John, “);&lt;br/&gt;p = mystrcat(p,”Paul, “);&lt;br/&gt;p = mystrcat(p,”George, “);&lt;br/&gt;p = mystrcat(p,”Joel “);&lt;br/&gt;…&lt;br/&gt;…&lt;br/&gt;&lt;br/&gt;Does malloc do garbage collection? ;-)&lt;br/&gt;&lt;br/&gt;Why is it better always to malloc 2^n bytes?&lt;br/&gt;&lt;br/&gt;Why “SELECT author FROM books?” is slow when done on xml?&lt;br/&gt;&lt;br/&gt;Do you understand what this code does?&lt;br/&gt;void foo( char* a, char* b )&lt;br/&gt;{&lt;br/&gt; while (*a) b++;&lt;br/&gt; while (*a++ = *b++);&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;I know most of our answers will be “Why should I care about all pointer nonsense when I’m coding in my beautiful language like Java or Perl?” This reminds me of an old discussion we had during lunch. Is it necessary for application programmers to know low level stuffs? Joel says “Yes”. Read the following concluding paragraphs from his article:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;For those three gracious members of my audience who are still with me at this point, I hope you’ve learned something or rethought something. I hope that thinking about boring first-year computer-science stuff like how strcat and malloc actually work has given you new tools to think about the latest, top level, strategic and architectural decisions that you make in dealing with technologies like XML. For homework, think about why Transmeta chips will always feel sluggish. Or why the original HTML spec for TABLES was so badly designed that large tables on web pages can’t be shown quickly to people with modems. Or about why COM is so dang fast but not when you’re crossing process boundaries. Or about why the NT guys put the display driver into kernelspace instead of userspace.&lt;br/&gt;&lt;br/&gt;These are all things that require you to think about bytes, and they affect the big top-level decisions we make in all kinds of architecture and strategy. This is why my view of teaching is that first year CS students need to start at the basics, using C and building their way up from the CPU. I am actually physically disgusted that so many computer science programs think that Java is a good introductory language, because it’s “easy” and you don’t get confused with all that boring string/malloc stuff but you can learn cool OOP stuff which will make your big programs ever so modular. This is a pedagogical disaster waiting to happen. Generations of graduates are descending on us and creating Shlemiel The Painter algorithms right and left and they don’t even realize it, since they fundamentally have no idea that strings are, at a very deep level, difficult, even if you can’t quite see that in your perl script. If you want to teach somebody something well, you have to start at the very lowest level. It’s like Karate Kid. Wax On, Wax Off. Wax On, Wax Off. Do that for three weeks. Then Knocking The Other Kid’s Head off is easy.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;br/&gt;Go here for the original article: &lt;a target="_blank" href="http://www.joelonsoftware.com/articles/fog0000000319.html"&gt;&lt;a href="http://www.joelonsoftware.com/articles/fog0000000319.html" target="_blank"&gt;http://www.joelonsoftware.com/articles/fog0000000319.html&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;:-)&lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/44316035</link><guid>http://indhubharathi.tumblr.com/post/44316035</guid><pubDate>Fri, 01 Aug 2008 14:43:00 +0530</pubDate></item><item><title>Too rigor, mathematicians are!</title><description>&lt;p&gt;A meticulous                    mathematician, a sloppy physicist, and an even sloppier                    astronomer are on their way to Scotland. They cross the border                    and observe a black sheep in the middle of a field.                    ‘&lt;i&gt;Look&lt;/i&gt;,’ exclaims the astronomer, ‘&lt;i&gt;all Scottish                    sheep are black&lt;/i&gt;!’ The physicist responds, ‘No, no! Some                    Scottish sheep are black!’ The mathematician shakes his head,                    takes a breath and proclaims, ‘&lt;i&gt;Gentlemen, all we can truly                    say is that in Scotland there exists at least one field,                    containing at least one sheep, at least one side of which is                    black&lt;/i&gt;.’&lt;/p&gt;
&lt;p&gt;:-)&lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/41999485</link><guid>http://indhubharathi.tumblr.com/post/41999485</guid><pubDate>Sat, 12 Jul 2008 19:46:43 +0530</pubDate></item><item><title>Everyone has someone to envy at !</title><description>&lt;p&gt;Quite frequently I used to compare myself with others and think “I am not as good as X”. I used to think “I’ll be happy if I can perform like X”. But it looks like even if I reach the level of X, there will be another ‘X’ with whom I will be doing a similar comparison. And guess what? I’m not alone :-)&lt;/p&gt;
&lt;p&gt;I was reading an article on Richard Borcherds, a field medalist. This is what he says:&lt;/p&gt;
&lt;p&gt;“&lt;i&gt;I wasn’t getting very far. Most of the time I was struggling to keep my job.  I’d see other people my age, such as Simon Donaldson (1986 Fields Medallist), being considerably more successful, and I thought I’m obviously not all that good. There were times when I thought of dropping out&lt;/i&gt;.”&lt;/p&gt;
&lt;p class="MsoNormal"&gt;This shows one thing. No matter however great you are. You will always have someone you envy!&lt;/p&gt;

&lt;p class="MsoNormal"&gt;:-)&lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/41999334</link><guid>http://indhubharathi.tumblr.com/post/41999334</guid><pubDate>Sat, 12 Jul 2008 19:44:14 +0530</pubDate></item><item><title>“God created bugs!”, I guess. No software escapes...</title><description>&lt;img src="http://20.media.tumblr.com/bk2gFguqkbbqs2vym6HPDaKY_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;“God created bugs!”, I guess. No software escapes from this rule. This is a snapshot of my wordpress blog @ 17:58 12/7/08 IST. Look at “Recent Posts” at the right corner. That is supposed to show the title of the post :-)</description><link>http://indhubharathi.tumblr.com/post/41991954</link><guid>http://indhubharathi.tumblr.com/post/41991954</guid><pubDate>Sat, 12 Jul 2008 17:56:00 +0530</pubDate></item><item><title>Innovation @ S7 Software</title><description>&lt;p class="MsoNormal"&gt;This was the title of the presentation that took place in &lt;a href="http://s7software.com/" target="_blank"&gt;our office&lt;/a&gt; a short while back. I wanted to write this last Thursday itself (when the presentation actually took place). But unfortunately didn’t get time. So writing this on a relaxed Sunday morning :-)&lt;/p&gt;
&lt;p class="MsoNormal"&gt;This is a presentation where people showcase their FFF creations. If you are wondering what FFF is, it is expanded as “Feel Free Fridays” where people can work on their own pet projects. Here are the projects that were presented:&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Lisa:&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;This is a build analysis framework. Lot of times we stumble upon customers who don’t have their source code well organized. All sources might not be maintained under one directory structure. In such cases transferring their source code completely to S7 to do porting will be painful task. I remember projects which took 1.5 months just to get all sources. Infact I’m facing this problem right now in my own project :-)&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Solution to this was first proposed by Kumar. He proposed a runtime build analyzer. The project was named Lisa. This way, first need to run the build on client’s machine through Lisa’s interface. As the build happens Lisa will capture all files that are being used in the build and the dependencies between them. The dependency will be displayed as a directed acyclic graph and all files used in the build will be tarred and zipped as a gzip file to be transferred to S7. This will enhance productivity by reducing the time taken to replicate client’s build environment at our end.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Unfortunately the interns who carried out this project were not present during the presentation (due to their exams) and I took the pleasure of presenting it. The sales team was impressed and asked for a windows version of the same and few feature enhancements too!&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Enigma:&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;This is my own pet project :-) It was designed by Karthik and me. Enigma is an Online Programming Contest framework. This will give us the ability to host our own programming contests similar to &lt;a href="http://www.topcoder.com/" target="_blank"&gt;Topcoder&lt;/a&gt;.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Contests happen at a fixed time and for a fixed duration. Various algorithm intensive questions will be posted and contestants can solve the problem in one of the following languages - C, C++, Java or Dot Net. (Few python enthusiasts were asking for python support. Let’s see…) Once the contestant has solved the problem, he/she can submit it through the web interface. The solution will be compiled and checked for correctness automatically and scores/rank will be updated. Security concerns are yet to be addressed however. Somebody asked a smart question - “What if someone intentionally codes a malicious program and submits it?” Without missing a beat, or looking up for the questioner, &lt;a href="http://s7software.blogspot.com/" target="_blank"&gt;Manju&lt;/a&gt; replied “We’ll hire him!” :-)&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Unfortunately we presented only one third of we work we did. One part we didn’t present is a similar system for people who come in to take interviews. This process needs to be computerized. One important difference here from the previous problem is, our question papers have some puzzles which cannot be automatically evaluated by machine. So, when a candidate completes answering a paper the paper will automatically be mailed to the person (decided by the HR while setting the interview) who will correct it and send it back. All tests will be achieved for future reference. One more part that was not presented is the infinite timed contests like SPOJ which will be used internally.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;a target="_blank" href="http://talkmore.wordpress.com/"&gt;Karthik&lt;/a&gt; made the presentation and it was quite witty! There were laughs and giggles here and there :-)&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;ImageGallery:&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;This is an online photo organizer designed and presented by Tripati. The idea came when Sridevi (HR) was using picassa for hosting some of our photos online. So the question was raised - Why use Picasa for putting up S7 related photos? Why not host it on our own. Why not build our own Photo Gallery like software?&lt;/p&gt;
&lt;p class="MsoNormal"&gt;But this is something to be debated. The debate arose after the presentation. One group was arguing “Why reinvent the wheel? Why build something that already exists? Why not use some open source solution?” Another group argued “It is always a pleasure to use our own product that something designed by somebody else. This way we’ll have more control on the software”. This is an argument that surfaces very frequently at S7. I remember this kind of argument surfacing when in one of our previous presentation one team presented ‘cyborg’ – an IM tools which will let you speak to machines!&lt;/p&gt;
&lt;p class="MsoNormal"&gt;The product looked very simple and clean which I liked. I also heard Tripati developed it in a very short time. Great work!&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;AdminTools:&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Unfortunately I wasn’t there when this project was presented. For the mails I understand it is a web-based tool for automatically tracking/querying the various hardware resources that is available at S7. This uses snmp to retrieve details of all hardware available at office that is connected to network and stores it in a central repository. This repository can later be queried using the given web interface. For example I can ask “Give me a Linux machine that has more than 2 GB of RAM and has MySQL installed.”&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Though I was not present during the presentation of this project, guessing by the presentation time it took and the number of questions it evoked, it must have been a great work!&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Great going ‘innovation @ &lt;a target="_blank" href="http://s7software.com/"&gt;S7&lt;/a&gt;’ !&lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/38456777</link><guid>http://indhubharathi.tumblr.com/post/38456777</guid><pubDate>Sun, 15 Jun 2008 09:38:00 +0530</pubDate></item><item><title>Silence is good :-)</title><description>&lt;p class="MsoNormal"&gt;In my room in Bangalore I only have a fan and don’t have an AC. The sound of fan is so irritating (however smooth it runs) that I find it quite difficult to concentrate.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Back in Chennai I’m right now working from a room that has an AC. I must say this is simply great! This keeps the room silent and I find it easier to concentrate. One more thing I have noticed is, lesser temperature keeps me in better mood. Office is of course air-conditioned but presence of many people breaks the silence. We need to earn much more dollars before we can have separate room for everybody! We are only a startup up now.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;I wish I can work in a separate air-conditioned room all the times… Guess what? I’ve switched off my AC too now. This is even better :-)&lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/38448415</link><guid>http://indhubharathi.tumblr.com/post/38448415</guid><pubDate>Sun, 15 Jun 2008 07:35:19 +0530</pubDate></item><item><title>"Go Green" @ S7 Software</title><description>&lt;p&gt;This is the current hot discussing at &lt;a target="_blank" href="http://s7software.com/"&gt;S7 Software&lt;/a&gt;. If you enter the office, you’ll see a transparent board right at the reception where you’ll see what my colleagues are doing to “go green”. One writes he has stopped using his car and instead bicycles to office. Another guy says he has stopped using plastic bags. There was many other writing which I don’t remember right now. Today morning I got a mail in ‘s7views’ mailing list which I found useful and would like to share with you people.&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;i&gt;Subject: [S7views] Incredible Induction Stove!!!    &lt;br/&gt;Date: Sat, 14 Jun 2008 21:07:54 +0530    &lt;br/&gt;From: Ganesh N T &lt;email@hidden&gt;&lt;br/&gt;Organization: S7 Software    &lt;br/&gt;To: &lt;email@hidden&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Saturday morning I was window gazing in and around Jayangar complex when I came across, for fist time, Induction stove!!&lt;br/&gt;&lt;br/&gt;I saw a demo and was puzzled!  I thought it was splendid!  The stove could boil 1 liter of normal temperature water to boiling point in about 30 seconds!!! Amazingly the vessel was not even warm!  Not even the stove surface!  Only the water was boiling!  For me it was kind of a magic!!!!  so impressed by the technology, I did some research on the internet about it. It is about 80% energy efficient than our Gas stoves! Induction stove works on the concepts of electromagnetic induction &amp; eddy currents.   &lt;br/&gt;&lt;br/&gt;Link on Induction stove pros and cons &lt;a target="_blank" href="http://theinductionsite.com/proandcon.shtml"&gt;&lt;a href="http://theinductionsite.com/proandcon.shtml" target="_blank"&gt;http://theinductionsite.com/proandcon.shtml&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Science of Induction &lt;a target="_blank" href="http://en.wikipedia.org/wiki/Induction_cooker"&gt;&lt;a href="http://en.wikipedia.org/wiki/Induction_cooker" target="_blank"&gt;http://en.wikipedia.org/wiki/Induction_cooker&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Though there is one big con of inductive heating is that the crockery/cooking vessel should be ferrous (means magnetic).  Many of your house hold vessels might not be ‘Induction Ready’.  But this one reason alone is not enough compared to the pro energy efficiency and pro environment friendly quality and cost benefits of Induction Stove over Gas Stove.  You could easily buy few such ‘Induction Ready’ vessels which sell cheaper than much expensive Teflon or copper vessels.  Just carry a magnet to crockery shop, to whichever vessel magnet sticks is ‘Induction Ready’ vessel.&lt;br/&gt;&lt;br/&gt;In a shop in Jaynagar 4th block (Bangalore), next to the complex, Induction Stove sells at about 2,000 - 3,200 Rs.&lt;br/&gt;&lt;br/&gt;I am planning to buy one soon J&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;GO GREEN J&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Ganesh N Tiwari&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;S7 Software&lt;/i&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;</description><link>http://indhubharathi.tumblr.com/post/38445814</link><guid>http://indhubharathi.tumblr.com/post/38445814</guid><pubDate>Sun, 15 Jun 2008 06:57:00 +0530</pubDate></item><item><title>Solved a Topcoder problem after long time!</title><description>&lt;p&gt;I exactly dont know why, but felt like solving a &lt;a target="_blank" href="http://www.topcoder.com/"&gt;Topcoder&lt;/a&gt; problem today evening. After long days, I got this feeling today.&lt;/p&gt;
&lt;p&gt;So opened &lt;a target="_blank" href="http://www.topcoder.com/stat?c=problem_statement&amp;pm=8215"&gt;last match’s 500 pointer&lt;/a&gt; and started solving it. It took little more time than it usually would take. Probably because of the long break.&lt;/p&gt;
&lt;p&gt;But the moment I cracked it, the pleasure I got was simply unexplainable. Running the code against 500 system test cases was like a roler-coaster ride. I enjoyed the ride after long days.&lt;/p&gt;
&lt;p&gt;Hope I enjoy the ride often!&lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/37755965</link><guid>http://indhubharathi.tumblr.com/post/37755965</guid><pubDate>Mon, 09 Jun 2008 23:01:00 +0530</pubDate></item><item><title>2 * 4 = 8. Wow!</title><description>&lt;p&gt;Of-late, I’m getting more and more interested in multi-core processing. Trying to learn OpenMP, Intel TBB and similar stuff… But where to test my programs? I have a dual core processor in my notebook. But I thought having a quad-core would be lot better. I asked Kumar if we have any such machine in our labs. He pointed to Superman. “I remember this machine. It is a dual core”, I said. “No, It is quad-core”, he said. Neither of us were sure.&lt;br/&gt;&lt;br/&gt;This night as usual, I didn’t feel sleepy. So connected to Superman and ran a small program to see the number of cores it has. Guess what??? See the result for yourself!&lt;/p&gt;
&lt;blockquote&gt;Capabilities:&lt;br/&gt;&lt;br/&gt; Hyper-Threading Technology: not capable&lt;br/&gt; Multi-core: Yes&lt;br/&gt; Multi-processor: yes&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Hardware capability and its availability to applications:&lt;br/&gt;&lt;br/&gt; System wide availability: 2 physical processors, 8 cores, 8 logical processors&lt;br/&gt; Multi-core capability : 4 cores per package&lt;br/&gt; HT capability: 1 logical processors per core&lt;br/&gt;&lt;br/&gt; All cores in the system are enabled for this application.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Relationships between OS affinity mask, Initial APIC ID, and 3-level sub-IDs:&lt;br/&gt;&lt;br/&gt; AffinityMask = 1; Initial APIC = 0; Physical ID = 0, Core ID = 0,  SMT ID = 0&lt;br/&gt; AffinityMask = 2; Initial APIC = 4; Physical ID = 4, Core ID = 0,  SMT ID = 0&lt;br/&gt; AffinityMask = 4; Initial APIC = 1; Physical ID = 0, Core ID = 1,  SMT ID = 0&lt;br/&gt; AffinityMask = 8; Initial APIC = 5; Physical ID = 4, Core ID = 1,  SMT ID = 0&lt;br/&gt; AffinityMask = 16; Initial APIC = 2; Physical ID = 0, Core ID = 2,  SMT ID = 0&lt;br/&gt; AffinityMask = 32; Initial APIC = 6; Physical ID = 4, Core ID = 2,  SMT ID = 0&lt;br/&gt; AffinityMask = 64; Initial APIC = 3; Physical ID = 0, Core ID = 3,  SMT ID = 0&lt;br/&gt; AffinityMask = 128; Initial APIC = 7; Physical ID = 4, Core ID = 3,  SMT ID =0&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Press Enter To Continue&lt;br/&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;br/&gt;Great…. It is a machine with two processor each being a quad-core. So, totally eight cores. Wow! Nice machine to play around. I’m going to try all kind of parallel programming stuff on this!&lt;br/&gt;&lt;br/&gt;Stay tuned for more…&lt;br/&gt;&lt;br/&gt;Cheers, Indhu&lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/37431821</link><guid>http://indhubharathi.tumblr.com/post/37431821</guid><pubDate>Sat, 07 Jun 2008 00:42:00 +0530</pubDate></item><item><title>Secure Passwords Keep You Safer</title><description>&lt;a href="http://www.schneier.com/essay-148.html"&gt;Secure Passwords Keep You Safer&lt;/a&gt;: &lt;p&gt;An interesting read on creating strong passwords. &lt;/p&gt;
&lt;p&gt;A small excerpt from the article:&lt;/p&gt;
&lt;p&gt;So the first attack PRTK performs is to test a dictionary of about 1,000 common passwords, things like “letmein,” “password1,” “123456” and so on. Then it tests them each with about 100 common suffix appendages: “1,” “4u,” “69,” “abc,” “!” and so on. Believe it or not, it recovers about 24 percent of all passwords with these 100,000 combinations.&lt;br/&gt;&lt;br/&gt;Then, PRTK goes through a series of increasingly complex root dictionaries and appendage dictionaries. The root dictionaries include:&lt;br/&gt;&lt;br/&gt;    * Common word dictionary: 5,000 entries&lt;br/&gt;    * Names dictionary: 10,000 entries&lt;br/&gt;    * Comprehensive dictionary: 100,000 entries&lt;br/&gt;    * Phonetic pattern dictionary: 1/10,000 of an exhaustive character search&lt;br/&gt;&lt;br/&gt;Normally, PRTK runs on a network of computers. Password guessing is a trivially distributable task, and it can easily run in the background. A large organization like the Secret Service can easily have hundreds of computers chugging away at someone’s password. A company called Tableau is building a specialized FPGA hardware add-on to speed up PRTK for slow programs like PGP and WinZip: roughly a 150- to 300-times performance increase.&lt;/p&gt;
&lt;p&gt;…&lt;/p&gt;
&lt;p&gt;…&lt;/p&gt;
&lt;p&gt;…&lt;/p&gt;
&lt;p&gt;What’s happening is that the Windows operating system’s memory management leaves data all over the place in the normal course of operations. You’ll type your password into a program, and it gets stored in memory somewhere. Windows swaps the page out to disk, and it becomes the tail end of some file. It gets moved to some far out portion of your hard drive, and there it’ll sit forever. Linux and Mac OS aren’t any better in this regard. &lt;/p&gt;</description><link>http://indhubharathi.tumblr.com/post/35206148</link><guid>http://indhubharathi.tumblr.com/post/35206148</guid><pubDate>Sun, 18 May 2008 16:28:00 +0530</pubDate></item><item><title>Arnab Chakraborty's compiler tutorial</title><description>&lt;a href="http://www.angelfire.com/dragon/letstry/tutorials/compiler/index.html"&gt;Arnab Chakraborty's compiler tutorial&lt;/a&gt;: A very good turorial on Flex and Bison. Expecially good for people like us (&lt;a href="http://www.s7software.com/" title="S7 Software" target="_blank"&gt;S7 software&lt;/a&gt;) who have to automate a lot of task while porting source codes from one environment to another. Tools that automatically parse the source code and give valuable information or handle few porting tasks automatically will go a long way in saving hours of engineer’s work.</description><link>http://indhubharathi.tumblr.com/post/35139998</link><guid>http://indhubharathi.tumblr.com/post/35139998</guid><pubDate>Sat, 17 May 2008 22:40:00 +0530</pubDate></item></channel></rss>
