<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5513071362961722025</atom:id><lastBuildDate>Fri, 08 Nov 2024 15:36:28 +0000</lastBuildDate><category>Google</category><category>.NET</category><category>Technology</category><category>Visual Studio</category><category>Events</category><category>Microsoft</category><category>BlogTips</category><category>Firefox</category><category>GMail</category><category>Tricks</category><category>Coding</category><category>Developer</category><category>Entrepreneur</category><category>Startups</category><category>Gtalk</category><category>Innovation</category><category>Issues</category><category>Personal Management</category><category>Archive Calendar</category><category>Books</category><category>Finance</category><category>HTML Post</category><category>Hack</category><category>IBM</category><category>IE6</category><category>India PF</category><category>Information</category><category>Inspiration</category><category>Internet Explorer</category><category>Microsoft tem blogs</category><category>Money</category><category>Motivation</category><category>Must Think</category><category>Nice Mails</category><category>Outlook</category><category>Productivity</category><category>Quality Control</category><category>Resharper</category><category>Sandbox</category><category>SearchWiki</category><category>ShortCut Keys</category><category>Social Bookmarking</category><category>Study</category><category>Team blog directory</category><category>Tools</category><category>Twitter</category><category>Visual Studio-Dark</category><category>buzz</category><category>sp vs function</category><category>sql server</category><category>stored procedure vs function</category><title>Jaydeep Patil</title><description>Technology, Google, Microsoft, .NET, Tips and Tricks,&#xa;Trekking, Make better life, Inspiration, Motivation, Finance, &#xa;&#xa;</description><link>http://jaydeep-patil.blogspot.com/</link><managingEditor>noreply@blogger.com (Jay)</managingEditor><generator>Blogger</generator><openSearch:totalResults>63</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-1194823878802077298</guid><pubDate>Tue, 04 Sep 2018 11:40:00 +0000</pubDate><atom:updated>2018-09-04T17:15:51.840+05:30</atom:updated><title>ONE BEDROOM FLAT...</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #222222; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 10.0pt;&quot;&gt;
&lt;!--[endif]--&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;ONE BEDROOM FLAT...&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Written by a Indian Software Engineer…&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;A Bitter Reality …&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;As the dream of most parents I had acquired a degree in&amp;nbsp; Software Engineering and joined a company based in USA, the&amp;nbsp; land of braves and opportunity. When I arrived in USA, it&amp;nbsp; was as if a dream had come true.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Here at last I was in the place where I wanted to be. I decided I would be staying in this country for about Five years in which time I would have earned enough money to settle down in India.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;My father was a government employee and after his retirement, the only asset he could acquire was a decent one bedroom flat.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;I wanted to do something more than him. I started feeling homesick and lonely as the time passed. I used to call home and speak to my parents every week using cheap international phone cards. Two years passed, two years of Burgers at McDonald&#39;s and pizzas and discos and 2 years watching the foreign exchange rate getting happy whenever the Rupee value went down.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Finally I decided to get married. Told my parents that I have only 10 days of holidays and everything must be done within these 10 days. I got my ticket booked in the cheapest flight. Was jubilant and was actually enjoying hopping for gifts for all my friends back home. If I miss anyone then there will be talks. After reaching home I spent home one week going through all the photographs of girls and as the time was getting shorter I was forced to select one candidate.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;In-laws told me, to my surprise, that I would have to get married in 2-3 days, as I will not get anymore holidays. After the marriage, it was time to return to USA, after giving some money to my parents and telling the neighbors to look after them, we returned to USA.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;My wife enjoyed this country for about two months and then she started feeling lonely. The frequency of calling India increased to twice in a week sometimes 3 times a week. Our savings started diminishing.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;After two more years we started to have kids. Two lovely kids, a boy and a girl, were gifted to us by the almighty. Every time I spoke to my parents, they asked me to come to India so that they can see their grand-children.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Every year I decide to go to India… But part work part monetary conditions prevented it. Years went by and visiting India was a distant dream. Then suddenly one day I got a message that my parents were seriously sick. I tried but I couldn&#39;t get any holidays and thus could not go to India ... The&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;next message I got was my parents had passed away and as there was no one to do the last rites the society members had done whatever they could. I was depressed. My parents had passed away without seeing their grand children.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;After couple more years passed away, much to my children&#39;s dislike and my wife&#39;s joy we returned to India to settle down. I started to look for a suitable property, but to my dismay my savings were short and the property prices had gone up during all these years. I had to return to the USA...&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;My wife refused to come back with me and my children refused to stay in India... My 2 children and I returned to USA after promising my wife I would be back for good after two years.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Time passed by, my daughter decided to get married to an American and my son was happy living in USA... I decided that had enough and wound-up everything and returned to India... I had just enough money to buy a decent 02 bedroom flat in a well-developed locality.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Now I am 60 years old and the only time I go out of the flat is for the routine visit to the nearby temple. My faithful wife has also left me and gone to the holy abode. Sometimes I wondered was it worth all this?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;My father, even after staying in India, Had a house to his name and I too have the same nothing more.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;I lost my parents and children for just ONE EXTRA BEDROOM.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Looking out from the window I see a lot of children dancing. This damned cable TV has spoiled our new generation and these children are losing their values and culture because of it. I get occasional cards from my children asking I am alright. Well at least they remember me.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Now perhaps after I die it will be the neighbors again who will be performing my last rights, God Bless them.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;But the question&amp;nbsp; still remains &#39;was all this worth it?&#39;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;I am still searching for an answer.................!!!&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;Start Thinking.. Is it just For ONE EXTRA BEDROOM…?????&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Life is Beyond This… Don’t Just Leave your Life….&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Start Living It…&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Live it As You Want it To Be…&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2018/09/one-bedroom-flat.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-1446305519781631452</guid><pubDate>Mon, 20 Apr 2015 13:46:00 +0000</pubDate><atom:updated>2018-09-04T17:33:01.297+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Developer</category><category domain="http://www.blogger.com/atom/ns#">Productivity</category><category domain="http://www.blogger.com/atom/ns#">Tools</category><title>Power Tools</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Here is my collection of utilities&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Also see &lt;a href=&quot;http://jaydeep-patil.blogspot.com/2015/04/visual-studio-extensions.html&quot; target=&quot;_blank&quot;&gt;Visual Studio Extension collection&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;http://bluemars.org/clipx/&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;Clipx&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Clipboard manager with clipboard history.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Tiny and easy to use&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;u&gt;&lt;strike&gt;&lt;a href=&quot;https://www.donationcoder.com/Software/Mouser/findrun&quot; target=&quot;_blank&quot;&gt;FARR&lt;/a&gt;&amp;nbsp;(Find and Run Robot)&lt;/strike&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;u&gt;&lt;strike&gt;Launchy program. I was using &lt;a href=&quot;http://www.bayden.com/slickrun/&quot; target=&quot;_blank&quot;&gt;Slickrun &lt;/a&gt;but FARR is better. It supports plugins/addons&lt;/strike&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;u&gt;&lt;strike&gt;&lt;br /&gt;&lt;/strike&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.bayden.com/slickrun/&quot; target=&quot;_blank&quot;&gt;&lt;u&gt;&lt;strike&gt;Slickrun&lt;/strike&gt;&lt;/u&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;u&gt;&lt;strike&gt;After using FARR I realized that Slickrun is better. Its size is much smaller and it also fulfills all the requirements.&lt;/strike&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://wox.one/&quot; target=&quot;_blank&quot;&gt;Wox&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;A full-featured launcher, access programs and web contents as you type. Be more productive ever since.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-weight: bold;&quot;&gt;Wox&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;is free for use and open-sourced at Github.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;https://www.voidtools.com/&quot; target=&quot;_blank&quot;&gt;Everything&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Everything Search Engine. Locate files and folders by name instantly. Everything. Small installation file; Clean and simple user interface; Quick file indexing.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.listary.com/&quot; target=&quot;_blank&quot;&gt;Listary&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Search utility which works with File explorer.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://ali.dj/jumplist-launcher&quot; target=&quot;_blank&quot;&gt;Jumplist Launcher&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Utilizes Windows 7 Launcher feature. Use it if you have many pinned applications on your taskbar.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;u&gt;&lt;strike&gt;&lt;a href=&quot;http://www.flos-freeware.ch/notepad2.html&quot; target=&quot;_blank&quot;&gt;Notepad2&lt;/a&gt;&amp;nbsp;&lt;/strike&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;u&gt;&lt;strike&gt;Worth replacement of default Notepad&lt;/strike&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://www.sublimetext.com/&quot; target=&quot;_blank&quot;&gt;Sublime&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Great editor with useful packages.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.scootersoftware.com/&quot; target=&quot;_blank&quot;&gt;Beyond Compare&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;File comparison utility.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.grigsoft.com/wincmp3.htm&quot; target=&quot;_blank&quot;&gt;Compare It&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Excel comparison.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.emptyloop.com/unlocker/&quot; target=&quot;_blank&quot;&gt;Unlocker&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;If you want to unlock your files.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://sourceforge.net/projects/conemu/&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;ConEmu&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Command Prompt replacement with advanced features&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.softwareok.com/&quot; target=&quot;_blank&quot;&gt;Q-Dir&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;File explorer replacement&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://keepass.info/&quot; target=&quot;_blank&quot;&gt;Keepass&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Open Source Password manager&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://outlookgooglesync.codeplex.com/&quot; target=&quot;_blank&quot;&gt;OutlookGoogleSync&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Sync Outlook calendar with Google calendar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;http://www.baremetalsoft.com/&quot; target=&quot;_blank&quot;&gt;BareTail&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Log viewer utility&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;https://keep.google.com/&quot; target=&quot;_blank&quot;&gt;Keep Google&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Sticky Notes/ToDo List/Reminders utility by Google. Synchronizes with your phone.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;a href=&quot;https://terminals.codeplex.com/&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;Terminals&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;If you are using many machines as Remote Desktop then its worth to use Terminals.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2015/04/power-tools.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-2560589100715440815</guid><pubDate>Sun, 19 Apr 2015 08:17:00 +0000</pubDate><atom:updated>2015-04-21T13:48:55.261+05:30</atom:updated><title>Visual Studio Extensions</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Visual Studio&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Extension collection&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Also see &lt;a href=&quot;http://jaydeep-patil.blogspot.com/2015/04/power-tools.html&quot; target=&quot;_blank&quot;&gt;Developer Utilities&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/dbcb8670-889e-4a54-a226-a48a15e4cace&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;Productivity Power Tools 2013&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A set of extensions to Visual Studio 2013 Professional (and above) which improves developer productivity.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;orphans: auto; text-align: left; text-indent: 0px; widows: 1;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/4b92b6ad-f563-4705-8f7b-7f85ba3cc6bb&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;Highlight all occurrences of selected word&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This extends the editor to highlight all occurrences of a selected word and place a glyph on the left margin.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/8cccc206-b9de-42ef-8f5a-160ad0f017ae&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;ReAttach&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It gives you an easy way to ReAttaching your prior debug targets. Also stores your attach history for you and provides toolbar, menu and keyboard shortcuts for easy access.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/c6d1c265-7007-405c-a68b-5606af238ece&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;VSCommands for Visual Studio 2013&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Collection of&amp;nbsp;utilities&amp;nbsp;like Code snippets, IIS, settings, colors, Main Menu, Attach, File&amp;nbsp;Structure, sync, vscommands, output window, all caps, synchronize, debug as different user, code block end tagger, code block tagger&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/e4d2af7c-e7d2-4ec8-afc3-8b3460b04a15&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;Open Project Output&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Allows to open in Windows Explorer the Output Folder for current Project.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://visualstudiogallery.msdn.microsoft.com/59260ee8-5e2d-4ca7-8dc5-4efcf7b61a81&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;Global Zoom Level&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Makes the editor zoom level apply globally across all editor windows.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;http://loganmueller.info/ramblings/ultra-find-getting-started&quot; style=&quot;font-family: Verdana, sans-serif;&quot; target=&quot;_blank&quot;&gt;UltraFind&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ultra Find is a Find in Files substitute for Visual Studio 2010. Take advantage of Windows Search and sift through millions of lines of code in seconds.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Its 2010 extension but can be used with VS 2012 &amp;amp; 2013 using steps mentioned &lt;a href=&quot;http://blog.outsharked.com/2012/09/using-your-favorite-visual-studio-2010.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2015/04/visual-studio-extensions.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-1893185887127681781</guid><pubDate>Thu, 17 May 2012 07:10:00 +0000</pubDate><atom:updated>2012-05-17T12:42:09.099+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET</category><category domain="http://www.blogger.com/atom/ns#">Visual Studio</category><title>Remove blank lines in Visual studio</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong style=&quot;background-color: white; color: #222222; line-height: 1.4; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Steps to remove empty lines&amp;nbsp;using Visual Studio in .cs or .vb file&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;Start Visual Studio and follow these steps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;1.Click Ctrl-H (quick replace)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;2. Tick &quot;Use Regular Expressions&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;3. In Find specify&amp;nbsp;&lt;strong&gt;^$\n&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;4. In Replace box delete everything.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;5 Click &quot;Replace All&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;All empty lines will be deleted.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;Regular expression for empty line consist of&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;Beginning of line &lt;b&gt;^&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;End of line &lt;b&gt;$&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;Line break &lt;b&gt;\n&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;A regex to remove blank lines that are/aren&#39;t *really* blank (i.e. they do/don&#39;t have spaces):&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;&lt;strong&gt;^:b*$\n&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2012/05/remove-blank-lines-in-visual-studio.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-4103408495958035826</guid><pubDate>Tue, 24 Apr 2012 10:33:00 +0000</pubDate><atom:updated>2012-04-24T16:05:35.098+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Resharper</category><category domain="http://www.blogger.com/atom/ns#">Visual Studio</category><category domain="http://www.blogger.com/atom/ns#">Visual Studio-Dark</category><title>Visual Studio Dark theme for Resharper</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have customized popular&amp;nbsp;&lt;a href=&quot;http://studiostyl.es/schemes/son-of-obsidian&quot;&gt;son-of-obsidian&lt;/a&gt;&amp;nbsp;theme to work with Resharper.&lt;br /&gt;
You can find it &lt;a href=&quot;http://studiostyl.es/schemes/resharper-son-of-obsidian&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
Also customized&amp;nbsp;&lt;a href=&quot;http://studiostyl.es/schemes/wekeroad-ink&quot;&gt;wekeroad-ink&amp;nbsp;&lt;/a&gt;&amp;nbsp;as&amp;nbsp;&lt;a href=&quot;http://studiostyl.es/schemes/wekeroad-for-resharper&quot;&gt;wekeroad-for-resharper&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih6-H2tCbvtfB4_A1lx0uersBVjo8ftpgmfwiisZDz_2vnIsaA60GfVgBzrk4XwBFd71cGhQ2XuebTC2utKPipnURSSNci4XOrDMXdWbpeQ702zVj0_BZ1d24YrOuAX91B0QMEAryulV24/s1600/VS+Theme.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;201&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih6-H2tCbvtfB4_A1lx0uersBVjo8ftpgmfwiisZDz_2vnIsaA60GfVgBzrk4XwBFd71cGhQ2XuebTC2utKPipnURSSNci4XOrDMXdWbpeQ702zVj0_BZ1d24YrOuAX91B0QMEAryulV24/s400/VS+Theme.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2012/04/visual-studio-dark-theme-for-resharper.html</link><author>noreply@blogger.com (Jay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih6-H2tCbvtfB4_A1lx0uersBVjo8ftpgmfwiisZDz_2vnIsaA60GfVgBzrk4XwBFd71cGhQ2XuebTC2utKPipnURSSNci4XOrDMXdWbpeQ702zVj0_BZ1d24YrOuAX91B0QMEAryulV24/s72-c/VS+Theme.jpg" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-4440332837465778348</guid><pubDate>Wed, 20 Jul 2011 13:44:00 +0000</pubDate><atom:updated>2011-07-20T19:14:51.891+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Coding</category><title>Bit Twiddling Hacks</title><description>&lt;h2&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Original Post at &lt;a title=&quot;http://graphics.stanford.edu/~seander/bithacks.html&quot; href=&quot;http://graphics.stanford.edu/~seander/bithacks.html&quot; target=&quot;_blank&quot;&gt;http://graphics.stanford.edu/~seander/bithacks.html&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h3&gt;Contents&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a&gt;About the operation counting methodology&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute the sign of an integer&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Detect if two integers have opposite signs &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute the integer absolute value (abs) without  branching&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute the minimum (min) or maximum (max) of two  integers without branching&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Determining if an integer is a power of 2&lt;/a&gt; &lt;/li&gt;&lt;li&gt;Sign extending  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Sign extending from a constant bit-width&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Sign extending from a variable bit-width&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Sign extending from a variable bit-width  in 3 operations&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a&gt;Conditionally set or  clear bits without branching&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Conditionally negate a value without  branching&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Merge bits from two values according to a mask&lt;/a&gt; &lt;/li&gt;&lt;li&gt;Counting bits set  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Counting bits set, naive way&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Counting bits set by lookup table&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Counting bits set, Brian Kernighan&#39;s  way&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Counting bits set in 12, 24, or 32-bit words using  64-bit instructions&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Counting bits set, in parallel&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Count bits set (rank) from the  most-significant bit upto a given position&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Select the bit position (from the  most-significant bit) with the given count (rank)&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Computing parity (1 if an odd number of bits set, 0 otherwise)  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Compute parity of a word the naive way&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute parity by lookup table&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute parity of a byte using 64-bit multiply  and modulus division&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute parity of word with a multiply&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute parity in parallel&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Swapping Values  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Swapping values with subtraction and  addition&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Swapping values with XOR&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Swapping individual bits with XOR&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Reversing bit sequences  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Reverse bits the obvious way&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Reverse bits in word by lookup table&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Reverse the bits in a byte with 3  operations (64-bit multiply and modulus division)&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Reverse the bits in a byte with 4  operations (64-bit multiply, no division)&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Reverse the bits in a byte with 7  operations (no 64-bit, only 32)&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Reverse an N-bit quantity in parallel with 5 *  lg(N) operations&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Modulus division (aka computing &lt;em&gt;remainders&lt;/em&gt;)  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Computing modulus division by 1 &amp;lt;&amp;lt; s  without a division operation (obvious)&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Computing modulus division by (1 &amp;lt;&amp;lt; s) - 1  without a division operation&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Computing modulus division by (1 &amp;lt;&amp;lt;  s) - 1 in parallel without a division operation&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Finding integer log base 2 of an integer (aka the position of the highest  bit set)  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Find the log base 2 of an integer with the MSB  N set in O(N) operations (the obvious way)&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Find the integer log base 2 of an integer  with an 64-bit IEEE float&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Find the log base 2 of an integer with a lookup  table&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Find the log base 2 of an N-bit integer in O(lg(N))  operations&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Find the log base 2 of an N-bit integer in  O(lg(N)) operations with multiply and lookup&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a&gt;Find integer log base 10 of an integer&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Find integer log base 10 of an integer the  obvious way&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Find integer log base 2 of a 32-bit IEEE  float&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Find integer log base 2 of the pow(2, r)-root  of a 32-bit IEEE float (for unsigned integer r)&lt;/a&gt; &lt;/li&gt;&lt;li&gt;Counting consecutive trailing zero bits (or finding bit indices)  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Count the consecutive zero bits (trailing) on  the right linearly&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Count the consecutive zero bits (trailing)  on the right in parallel&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Count the consecutive zero bits (trailing)  on the right by binary search&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Count the consecutive zero bits (trailing)  on the right by casting to a float&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Count the consecutive zero bits (trailing)  on the right with modulus division and lookup&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Count the consecutive zero bits (trailing)  on the right with multiply and lookup&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a&gt;Round up to the next highest power of 2 by  float casting&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Round up to the next highest power of 2&lt;/a&gt; &lt;/li&gt;&lt;li&gt;Interleaving bits (aka computing &lt;em&gt;Morton Numbers&lt;/em&gt;)  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Interleave bits the obvious way&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Interleave bits by table lookup&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Interleave bits with 64-bit multiply&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Interleave bits by Binary Magic Numbers&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Testing for ranges of bytes in a word (and counting occurances found)  &lt;ul&gt;&lt;li&gt;&lt;a&gt;Determine if a word has a zero byte&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Determine if a word has a byte equal to n&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Determine if a word has byte less than n&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Determine if a word has a byte greater than n&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a&gt;Determine if a word has a byte between m and  n&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a&gt;Compute the lexicographically next bit  permutation&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;OperationCounting&quot;&gt;About the operation counting methodology &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;When totaling the number of operations for algorithms here, any C  operator is counted as one operation. Intermediate assignments, which need not  be written to RAM, are not counted. Of course, this operation counting approach  only serves as an approximation of the actual number of machine instructions and  CPU time. All operations are assumed to take the same amount of time, which is  not true in reality, but CPUs have been heading increasingly in this direction  over time. There are many nuances that determine how fast a system will run a  given sample of code, such as cache sizes, memory bandwidths, instruction sets,  etc. In the end, benchmarking is the best way to determine whether one method is  really faster than another, so consider the techniques below as possibilities to  test on your target architecture.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;CopyIntegerSign&quot;&gt;Compute the sign of an integer &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;int v;      // we want to find the sign of v&lt;br /&gt;int sign;   // the result goes here &lt;br /&gt;&lt;br /&gt;// CHAR_BIT is the number of bits per byte (normally 8).&lt;br /&gt;sign = -(v &amp;lt; 0);  // if v &amp;lt; 0 then -1, else 0. &lt;br /&gt;// or, to avoid branching on CPUs with flag registers (IA32):&lt;br /&gt;sign = -(int)((unsigned int)((int)v) &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1));&lt;br /&gt;// or, for one less instruction (but not portable):&lt;br /&gt;sign = v &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1); &lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The last expression above evaluates to sign = v &amp;gt;&amp;gt; 31 for 32-bit  integers. This is one operation faster than the obvious way, sign = -(v &amp;lt; 0).  This trick works because when signed integers are shifted right, the value of  the far left bit is copied to the other bits. The far left bit is 1 when the  value is negative and 0 otherwise; all 1 bits gives -1. Unfortunately, this  behavior is architecture-specific.&lt;/p&gt;&lt;p&gt;Alternatively, if you prefer the result be either -1 or +1, then use:&lt;/p&gt;&lt;pre&gt;sign = +1 | (v &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1));  // if v &amp;lt; 0 then -1, else +1&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;On the other hand, if you prefer the result be either -1, 0, or +1, then use:&lt;/p&gt;&lt;pre&gt;sign = (v != 0) | -(int)((unsigned int)((int)v) &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1));&lt;br /&gt;// Or, for more speed but less portability:&lt;br /&gt;sign = (v != 0) | (v &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1));  // -1, 0, or +1&lt;br /&gt;// Or, for portability, brevity, and (perhaps) speed:&lt;br /&gt;sign = (v &amp;gt; 0) - (v &amp;lt; 0); // -1, 0, or +1&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;If instead you want to know if something is non-negative, resulting in +1  or else 0, then use:&lt;/p&gt;&lt;pre&gt;sign = 1 ^ ((unsigned int)v &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1)); // if v &amp;lt; 0 then 0, else 1&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Caveat: On March 7, 2003, Angus Duggan pointed out that the 1989 ANSI C  specification leaves the result of signed right-shift implementation-defined, so  on some systems this hack might not work. For greater portability, Toby Speight  suggested on September 28, 2005 that CHAR_BIT be used here and throughout rather  than assuming bytes were 8 bits long. Angus recommended the more portable  versions above, involving casting on March 4, 2006. &lt;a href=&quot;http://rpg-314.blogspot.com/&quot;&gt;Rohit Garg&lt;/a&gt; suggested the version for  non-negative integers on September 12, 2009.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;DetectOppositeSigns&quot;&gt;Detect if two integers have opposite signs &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;int x, y;               // input values to compare signs&lt;br /&gt;&lt;br /&gt;bool f = ((x ^ y) &amp;lt; 0); // true iff x and y have opposite signs&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Manfred Weis suggested I add this entry on November 26, 2009.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerAbs&quot;&gt;Compute the integer absolute value (abs) without  branching &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;int v;           // we want to find the absolute value of v&lt;br /&gt;unsigned int r;  // the result goes here &lt;br /&gt;int const mask = v &amp;gt;&amp;gt; sizeof(int) * CHAR_BIT - 1;&lt;br /&gt;&lt;br /&gt;r = (v + mask) ^ mask;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Patented variation:&lt;/p&gt;&lt;pre&gt;r = (v ^ mask) - mask;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Some CPUs don&#39;t have an integer absolute value instruction (or the  compiler fails to use them). On machines where branching is expensive, the above  expression can be faster than the obvious approach, r = (v &amp;lt; 0) ?  -(unsigned)v : v, even though the number of operations is the same.&lt;/p&gt;&lt;p&gt;On March 7, 2003, Angus Duggan pointed out that the 1989 ANSI C specification  leaves the result of signed right-shift implementation-defined, so on some  systems this hack might not work. I&#39;ve read that ANSI C does not require values  to be represented as two&#39;s complement, so it may not work for that reason as  well (on a diminishingly small number of old machines that still use one&#39;s  complement). On March 14, 2004, Keith H. Duggar sent me the patented variation  above; it is superior to the one I initially came up with,  &lt;code&gt;r=(+1|(v&amp;gt;&amp;gt;(sizeof(int)*CHAR_BIT-1)))*v&lt;/code&gt;, because a multiply is  not used. Unfortunately, this method has been &lt;a href=&quot;http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&amp;amp;Sect2=HITOFF&amp;amp;p=1&amp;amp;u=/netahtml/search-adv.htm&amp;amp;r=1&amp;amp;f=G&amp;amp;l=50&amp;amp;d=ptxt&amp;amp;S1=6073150&amp;amp;OS=6073150&amp;amp;RS=6073150&quot;&gt;patented&lt;/a&gt; in the USA on June 6, 2000 by Vladimir Yu Volkonsky and assigned to &lt;a href=&quot;http://www.sun.com/&quot;&gt;Sun Microsystems&lt;/a&gt;. On August 13, 2006, Yuriy  Kaminskiy told me that the patent is likely invalid because the method was  published well before the patent was even filed, such as in &lt;a href=&quot;http://www.goof.com/pcg/doc/pentopt.txt&quot;&gt;How to Optimize for the Pentium  Processor&lt;/a&gt; by Agner Fog, dated November, 9, 1996. Yuriy also mentioned that  this document was translated to Russian in 1997, which Vladimir could have read.  Moreover, the Internet Archive also has an old &lt;a href=&quot;http://web.archive.org/web/19961201174141/www.x86.org/ftp/articles/pentopt/PENTOPT.TXT&quot;&gt;link&lt;/a&gt; to it. On January 30, 2007, Peter Kankowski shared with me an &lt;a href=&quot;http://smallcode.weblogs.us/2007/01/31/microsoft-probably-uses-the-abs-function-patented-by-sun/&quot;&gt;abs  version&lt;/a&gt; he discovered that was inspired by Microsoft&#39;s Visual C++ compiler  output. It is featured here as the primary solution. On December 6, 2007, Hai  Jin complained that the result was signed, so when computing the abs of the most  negative value, it was still negative. On April 15, 2008 Andrew Shapira pointed  out that the obvious approach could overflow, as it lacked an (unsigned) cast  then; for maximum portability he suggested &lt;code&gt;(v &amp;lt; 0) ? (1 +  ((unsigned)(-1-v))) : (unsigned)v&lt;/code&gt;. But citing the ISO C99 spec on July 9,  2008, Vincent Lef&amp;egrave;vre convinced me to remove it becasue even on  non-2s-complement machines -(unsigned)v will do the right thing. The evaluation  of -(unsigned)v first converts the negative value of v to an unsigned by adding  2**N, yielding a 2s complement representation of v&#39;s value that I&#39;ll call U.  Then, U is negated, giving the desired result, -U = 0 - U = 2**N - U = 2**N -  (v+2**N) = -v = abs(v).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerMinOrMax&quot;&gt;Compute the minimum (min) or maximum (max) of two  integers without branching &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;int x;  // we want to find the minimum of x and y&lt;br /&gt;int y;   &lt;br /&gt;int r;  // the result goes here &lt;br /&gt;&lt;br /&gt;r = y ^ ((x ^ y) &amp;amp; -(x &amp;lt; y)); // min(x, y)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;On some rare machines where branching is very expensive and no condition  move instructions exist, the above expression might be faster than the obvious  approach, r = (x &amp;lt; y) ? x : y, even though it involves two more instructions.  (Typically, the obvious approach is best, though.) It works because if x&amp;nbsp;&amp;lt;&amp;nbsp;y,  then -(x&amp;nbsp;&amp;lt;&amp;nbsp;y) will be all ones, so r&amp;nbsp;= y ^ (x ^ y) &amp;amp; ~0 = y ^ x ^ y = x.  Otherwise, if x&amp;nbsp;&amp;gt;=&amp;nbsp;y, then -(x&amp;nbsp;&amp;lt;&amp;nbsp;y) will be all zeros, so r&amp;nbsp;= y ^ ((x ^ y)  &amp;amp; 0) = y. On some machines, evaluating (x &amp;lt; y) as 0 or 1 requires a  branch instruction, so there may be no advantage.&lt;/p&gt;&lt;p&gt;To find the maximum, use:&lt;/p&gt;&lt;pre&gt;r = x ^ ((x ^ y) &amp;amp; -(x &amp;lt; y)); // max(x, y)&lt;br /&gt;&lt;/pre&gt;&lt;h4&gt;Quick and dirty versions:&lt;/h4&gt;&lt;p&gt;If you know that INT_MIN &amp;lt;= x - y &amp;lt;=  INT_MAX, then you can use the following, which are faster because (x - y) only  needs to be evaluated once.&lt;/p&gt;&lt;pre&gt;r = y + ((x - y) &amp;amp; ((x - y) &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1))); // min(x, y)&lt;br /&gt;r = x - ((x - y) &amp;amp; ((x - y) &amp;gt;&amp;gt; (sizeof(int) * CHAR_BIT - 1))); // max(x, y)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Note that the 1989 ANSI C specification doesn&#39;t specify the result of  signed right-shift, so these aren&#39;t portable. If exceptions are thrown on  overflows, then the values of x and y should be unsigned or cast to unsigned for  the subtractions to avoid unnecessarily throwing an exception, however the  right-shift needs a signed operand to produce all one bits when negative, so  cast to signed there.&lt;/p&gt;&lt;p&gt;On March 7, 2003, Angus Duggan pointed out the right-shift portability issue.  On May 3, 2005, Randal E. Bryant alerted me to the need for the precondition,  INT_MIN &amp;lt;= x&amp;nbsp;-&amp;nbsp;y &amp;lt;= INT_MAX, and suggested the non-quick and dirty version  as a fix. Both of these issues concern only the quick and dirty version. Nigel  Horspoon observed on July 6, 2005 that gcc produced the same code on a Pentium  as the obvious solution because of how it evaluates (x &amp;lt; y). On July 9, 2008  Vincent Lef&amp;egrave;vre pointed out the potential for overflow exceptions with  subtractions in r = y + ((x - y) &amp;amp; -(x &amp;lt; y)), which was the previous  version. Timothy B. Terriberry suggested using xor rather than add and subract  to avoid casting and the risk of overflows on June 2, 2009.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;DetermineIfPowerOf2&quot;&gt;Determining if an integer is a power of 2 &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // we want to see if v is a power of 2&lt;br /&gt;bool f;         // the result goes here &lt;br /&gt;&lt;br /&gt;f = (v &amp;amp; (v - 1)) == 0;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Note that 0 is incorrectly considered a power of 2 here. To remedy this,  use:&lt;/p&gt;&lt;pre&gt;f = v &amp;amp;&amp;amp; !(v &amp;amp; (v - 1));&lt;br /&gt;&lt;/pre&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;FixedSignExtend&quot;&gt;Sign extending from a constant bit-width &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Sign extension is automatic for built-in types, such as chars and ints.  But suppose you have a signed two&#39;s complement number, x, that is stored using  only b bits. Moreover, suppose you want to convert x to an int, which has more  than b bits. A simple copy will work if x is positive, but if negative, the sign  must be extended. For example, if we have only 4 bits to store a number, then -3  is represented as 1101 in binary. If we have 8 bits, then -3 is 11111101. The  most-significant bit of the 4-bit representation is replicated sinistrally to  fill in the destination when we convert to a representation with more bits; this  is sign extending. In C, sign extension from a constant bit-width is trivial,  since bit fields may be specified in structs or unions. For example, to convert  from 5 bits to an full integer:&lt;/p&gt;&lt;pre&gt;int x; // convert this from using 5 bits to a full int&lt;br /&gt;int r; // resulting sign extended number goes here&lt;br /&gt;struct {signed int x:5;} s;&lt;br /&gt;r = s.x = x;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The following is a C++ template function that uses the same language  feature to convert from B bits in one operation (though the compiler is  generating more, of course).&lt;/p&gt;&lt;pre&gt;template &amp;lt;typename T, unsigned B&amp;gt;&lt;br /&gt;inline T signextend(const T x)&lt;br /&gt;{&lt;br /&gt;  struct {T x:B;} s;&lt;br /&gt;  return s.x = x;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int r = signextend&amp;lt;signed int,5&amp;gt;(x);  // sign extend 5 bit number x to r&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;John Byrd caught a typo in the code (attributed to html formatting) on May 2,  2005. On March 4, 2006, Pat Wood pointed out that the ANSI C standard requires  that the bitfield have the keyword &quot;signed&quot; to be signed; otherwise, the sign is  undefined.&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;VariableSignExtend&quot;&gt;Sign extending from a variable bit-width &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Sometimes we need to extend the sign of a number but we don&#39;t know a  priori the number of bits, b, in which it is represented. (Or we could be  programming in a language like Java, which lacks bitfields.)&lt;/p&gt;&lt;pre&gt;unsigned b; // number of bits representing the number in x&lt;br /&gt;int x;      // sign extend this b-bit number to r&lt;br /&gt;int r;      // resulting sign-extended number&lt;br /&gt;int const m = 1U &amp;lt;&amp;lt; (b - 1); // mask can be pre-computed if b is fixed&lt;br /&gt;&lt;br /&gt;x = x &amp;amp; ((1U &amp;lt;&amp;lt; b) - 1);  // (Skip this if bits in x above position b are already zero.)&lt;br /&gt;r = (x ^ m) - m;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code above requires four operations, but when the bitwidth is a  constant rather than variable, it requires only two fast operations, assuming  the upper bits are already zeroes.&lt;/p&gt;&lt;p&gt;A slightly faster but less portable method that doesn&#39;t depend on the bits in  x above position b being zero is:&lt;/p&gt;&lt;pre&gt;int const m = CHAR_BIT * sizeof(x) - b;&lt;br /&gt;r = (x &amp;lt;&amp;lt; m) &amp;gt;&amp;gt; m;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Sean A. Irvine suggested that I add sign extension methods to this page on  June 13, 2004, and he provided &lt;code&gt;m = (1 &amp;lt;&amp;lt; (b - 1)) - 1; r = -(x &amp;amp;  ~m) | x;&lt;/code&gt; as a starting point from which I optimized to get m = 1U  &amp;lt;&amp;lt; (b - 1); r = -(x &amp;amp; m) | x. But then on May 11, 2007, Shay Green  suggested the version above, which requires one less operation than mine. Vipin  Sharma suggested I add a step to deal with situations where x had possible ones  in bits other than the b bits we wanted to sign-extend on Oct. 15, 2008. On  December 31, 2009 Chris Pirazzi suggested I add the faster version, which  requires two operations for constant bit-widths and three for variable widths.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;VariableSignExtendRisky&quot;&gt;Sign extending from a variable bit-width in  3 operations &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The following may be slow on some machines, due to the  effort required for multiplication and division. This version is 4 operations.  If you know that your initial bit-width, b, is greater than 1, you might do this  type of sign extension in 3 operations by using r&amp;nbsp;= (x * multipliers[b]) /  multipliers[b], which requires only one array lookup.&lt;/p&gt;&lt;pre&gt;unsigned b; // number of bits representing the number in x&lt;br /&gt;int x;      // sign extend this b-bit number to r&lt;br /&gt;int r;      // resulting sign-extended number&lt;br /&gt;#define M(B) (1U &amp;lt;&amp;lt; ((sizeof(x) * CHAR_BIT) - B)) // CHAR_BIT=bits/byte&lt;br /&gt;static int const multipliers[] = &lt;br /&gt;{&lt;br /&gt;  0,     M(1),  M(2),  M(3),  M(4),  M(5),  M(6),  M(7),&lt;br /&gt;  M(8),  M(9),  M(10), M(11), M(12), M(13), M(14), M(15),&lt;br /&gt;  M(16), M(17), M(18), M(19), M(20), M(21), M(22), M(23),&lt;br /&gt;  M(24), M(25), M(26), M(27), M(28), M(29), M(30), M(31),&lt;br /&gt;  M(32)&lt;br /&gt;}; // (add more if using more than 64 bits)&lt;br /&gt;static int const divisors[] = &lt;br /&gt;{&lt;br /&gt;  1,    ~M(1),  M(2),  M(3),  M(4),  M(5),  M(6),  M(7),&lt;br /&gt;  M(8),  M(9),  M(10), M(11), M(12), M(13), M(14), M(15),&lt;br /&gt;  M(16), M(17), M(18), M(19), M(20), M(21), M(22), M(23),&lt;br /&gt;  M(24), M(25), M(26), M(27), M(28), M(29), M(30), M(31),&lt;br /&gt;  M(32)&lt;br /&gt;}; // (add more for 64 bits)&lt;br /&gt;#undef M&lt;br /&gt;r = (x * multipliers[b]) / divisors[b];&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The following variation is not portable, but on architectures that employ  an arithmetic right-shift, maintaining the sign, it should be fast.&lt;/p&gt;&lt;pre&gt;const int s = -b; // OR:  sizeof(x) * CHAR_BIT - b;&lt;br /&gt;r = (x &amp;lt;&amp;lt; s) &amp;gt;&amp;gt; s;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Randal E. Bryant pointed out a bug on May 3, 2005 in an earlier version  (that used multipliers[] for divisors[]), where it failed on the case of x=1 and  b=1.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ConditionalSetOrClearBitsWithoutBranching&quot;&gt;Conditionally set or clear  bits without branching &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;bool f;         // conditional flag&lt;br /&gt;unsigned int m; // the bit mask&lt;br /&gt;unsigned int w; // the word to modify:  if (f) w |= m; else w &amp;amp;= ~m; &lt;br /&gt;&lt;br /&gt;w ^= (-f ^ w) &amp;amp; m;&lt;br /&gt;&lt;br /&gt;// OR, for superscalar CPUs:&lt;br /&gt;w = (w &amp;amp; ~m) | (-f &amp;amp; m);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;On some architectures, the lack of branching can more than make up for  what appears to be twice as many operations. For instance, informal speed tests  on an AMD Athlon&amp;trade; XP 2100+ indicated it was 5-10% faster. An Intel Core 2 Duo  ran the superscalar version about 16% faster than the first. Glenn Slayden  informed me of the first expression on December 11, 2003. Marco Yu shared the  superscalar version with me on April 3, 2007 and alerted me to a typo 2 days  later.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ConditionalNegate&quot;&gt;Conditionally negate a value without branching&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;If you need to negate only when a flag is false, then use the following to  avoid branching:&lt;/p&gt;&lt;pre&gt;bool fDontNegate;  // Flag indicating we should not negate v.&lt;br /&gt;int v;             // Input value to negate if fDontNegate is false.&lt;br /&gt;int r;             // result = fDontNegate ? v : -v;&lt;br /&gt;&lt;br /&gt;r = (fDontNegate ^ (fDontNegate - 1)) * v;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;If you need to negate only when a flag is true, then use this:&lt;/p&gt;&lt;pre&gt;bool fNegate;  // Flag indicating if we should negate v.&lt;br /&gt;int v;         // Input value to negate if fNegate is true.&lt;br /&gt;int r;         // result = fNegate ? -v : v;&lt;br /&gt;&lt;br /&gt;r = (v ^ -fNegate) + fNegate;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Avraham Plotnitzky suggested I add the first version on June 2, 2009.  Motivated to avoid the multiply, I came up with the second version on June 8,  2009. Alfonso De Gregorio pointed out that some parens were missing on November  26, 2009, and received a bug bounty.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;MaskedMerge&quot;&gt;Merge bits from two values according to a mask &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int a;    // value to merge in non-masked bits&lt;br /&gt;unsigned int b;    // value to merge in masked bits&lt;br /&gt;unsigned int mask; // 1 where bits from b should be selected; 0 where from a.&lt;br /&gt;unsigned int r;    // result of (a &amp;amp; ~mask) | (b &amp;amp; mask) goes here&lt;br /&gt;&lt;br /&gt;r = a ^ ((a ^ b) &amp;amp; mask); &lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This shaves one operation from the obvious way of combining two sets of  bits according to a bit mask. If the mask is a constant, then there may be no  advantage.&lt;/p&gt;&lt;p&gt;Ron Jeffery sent this to me on February 9, 2006.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;CountBitsSetNaive&quot;&gt;Counting bits set (naive way) &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // count the number of bits set in v&lt;br /&gt;unsigned int c; // c accumulates the total bits set in v&lt;br /&gt;&lt;br /&gt;for (c = 0; v; v &amp;gt;&amp;gt;= 1)&lt;br /&gt;{&lt;br /&gt;  c += v &amp;amp; 1;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The naive approach requires one iteration per bit, until no more bits are  set. So on a 32-bit word with only the high set, it will go through 32  iterations.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;CountBitsSetTable&quot;&gt;Counting bits set by lookup table &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;static const unsigned char BitsSetTable256[256] = &lt;br /&gt;{&lt;br /&gt;#   define B2(n) n,     n+1,     n+1,     n+2&lt;br /&gt;#   define B4(n) B2(n), B2(n+1), B2(n+1), B2(n+2)&lt;br /&gt;#   define B6(n) B4(n), B4(n+1), B4(n+1), B4(n+2)&lt;br /&gt;    B6(0), B6(1), B6(1), B6(2)&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;unsigned int v; // count the number of bits set in 32-bit value v&lt;br /&gt;unsigned int c; // c is the total bits set in v&lt;br /&gt;&lt;br /&gt;// Option 1:&lt;br /&gt;c = BitsSetTable256[v &amp;amp; 0xff] + &lt;br /&gt;    BitsSetTable256[(v &amp;gt;&amp;gt; 8) &amp;amp; 0xff] + &lt;br /&gt;    BitsSetTable256[(v &amp;gt;&amp;gt; 16) &amp;amp; 0xff] + &lt;br /&gt;    BitsSetTable256[v &amp;gt;&amp;gt; 24]; &lt;br /&gt;&lt;br /&gt;// Option 2:&lt;br /&gt;unsigned char * p = (unsigned char *) &amp;amp;v;&lt;br /&gt;c = BitsSetTable256[p[0]] + &lt;br /&gt;    BitsSetTable256[p[1]] + &lt;br /&gt;    BitsSetTable256[p[2]] +	&lt;br /&gt;    BitsSetTable256[p[3]];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// To initially generate the table algorithmically:&lt;br /&gt;BitsSetTable256[0] = 0;&lt;br /&gt;for (int i = 0; i &amp;lt; 256; i++)&lt;br /&gt;{&lt;br /&gt;  BitsSetTable256[i] = (i &amp;amp; 1) + BitsSetTable256[i / 2];&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;On July 14, 2009 Hallvard Furuseth suggested the macro compacted table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;CountBitsSetKernighan&quot;&gt;Counting bits set, Brian Kernighan&#39;s way &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // count the number of bits set in v&lt;br /&gt;unsigned int c; // c accumulates the total bits set in v&lt;br /&gt;for (c = 0; v; c++)&lt;br /&gt;{&lt;br /&gt;  v &amp;amp;= v - 1; // clear the least significant bit set&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Brian Kernighan&#39;s method goes through as many iterations as there are set  bits. So if we have a 32-bit word with only the high bit set, then it will only  go once through the loop.&lt;/p&gt;&lt;p&gt;Published in 1988, the C Programming Language 2nd Ed. (by Brian W. Kernighan  and Dennis M. Ritchie) mentions this in exercise 2-9. On April 19, 2006 Don  Knuth pointed out to me that this method &quot;was first published by Peter Wegner in  CACM 3 (1960), 322. (Also discovered independently by Derrick Lehmer and  published in 1964 in a book edited by Beckenbach.)&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;CountBitsSet64&quot;&gt;Counting bits set in 14, 24, or 32-bit words using  64-bit instructions &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // count the number of bits set in v&lt;br /&gt;unsigned int c; // c accumulates the total bits set in v&lt;br /&gt;&lt;br /&gt;// option 1, for at most 14-bit values in v:&lt;br /&gt;c = (v * 0x200040008001ULL &amp;amp; 0x111111111111111ULL) % 0xf;&lt;br /&gt;&lt;br /&gt;// option 2, for at most 24-bit values in v:&lt;br /&gt;c =  ((v &amp;amp; 0xfff) * 0x1001001001001ULL &amp;amp; 0x84210842108421ULL) % 0x1f;&lt;br /&gt;c += (((v &amp;amp; 0xfff000) &amp;gt;&amp;gt; 12) * 0x1001001001001ULL &amp;amp; 0x84210842108421ULL) &lt;br /&gt;     % 0x1f;&lt;br /&gt;&lt;br /&gt;// option 3, for at most 32-bit values in v:&lt;br /&gt;c =  ((v &amp;amp; 0xfff) * 0x1001001001001ULL &amp;amp; 0x84210842108421ULL) % 0x1f;&lt;br /&gt;c += (((v &amp;amp; 0xfff000) &amp;gt;&amp;gt; 12) * 0x1001001001001ULL &amp;amp; 0x84210842108421ULL) % &lt;br /&gt;     0x1f;&lt;br /&gt;c += ((v &amp;gt;&amp;gt; 24) * 0x1001001001001ULL &amp;amp; 0x84210842108421ULL) % 0x1f;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This method requires a 64-bit CPU with fast modulus division to be  efficient. The first option takes only 3 operations; the second option takes 10;  and the third option takes 15.&lt;/p&gt;&lt;p&gt;Rich Schroeppel originally created a 9-bit version, similiar to option 1; see  the Programming Hacks section of &lt;a href=&quot;http://www.inwap.com/pdp10/hbaker/hakmem/hakmem.html&quot;&gt;Beeler, M., Gosper,  R. W., and Schroeppel, R. HAKMEM. MIT AI Memo 239, Feb. 29, 1972.&lt;/a&gt; His method  was the inspiration for the variants above, devised by Sean Anderson. Randal E.  Bryant offered a couple bug fixes on May 3, 2005. Bruce Dawson tweaked what had  been a 12-bit version and made it suitable for 14 bits using the same number of  operations on Feburary 1, 2007.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;CountBitsSetParallel&quot;&gt;Counting bits set, in parallel &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // count bits set in this (32-bit value)&lt;br /&gt;unsigned int c; // store the total here&lt;br /&gt;static const int S[] = {1, 2, 4, 8, 16}; // Magic Binary Numbers&lt;br /&gt;static const int B[] = {0x55555555, 0x33333333, 0x0F0F0F0F, 0x00FF00FF, 0x0000FFFF};&lt;br /&gt;&lt;br /&gt;c = v - ((v &amp;gt;&amp;gt; 1) &amp;amp; B[0]);&lt;br /&gt;c = ((c &amp;gt;&amp;gt; S[1]) &amp;amp; B[1]) + (c &amp;amp; B[1]);&lt;br /&gt;c = ((c &amp;gt;&amp;gt; S[2]) + c) &amp;amp; B[2];&lt;br /&gt;c = ((c &amp;gt;&amp;gt; S[3]) + c) &amp;amp; B[3];&lt;br /&gt;c = ((c &amp;gt;&amp;gt; S[4]) + c) &amp;amp; B[4];&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The B array, expressed as binary, is:&lt;/p&gt;&lt;pre&gt;B[0] = 0x55555555 = 01010101 01010101 01010101 01010101&lt;br /&gt;B[1] = 0x33333333 = 00110011 00110011 00110011 00110011&lt;br /&gt;B[2] = 0x0F0F0F0F = 00001111 00001111 00001111 00001111&lt;br /&gt;B[3] = 0x00FF00FF = 00000000 11111111 00000000 11111111&lt;br /&gt;B[4] = 0x0000FFFF = 00000000 00000000 11111111 11111111&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;We can adjust the method for larger integer sizes by continuing with the  patterns for the &lt;em&gt;Binary Magic Numbers,&lt;/em&gt; B and S. If there are k bits,  then we need the arrays S and B to be ceil(lg(k)) elements long, and we must  compute the same number of expressions for c as S or B are long. For a 32-bit v,  16 operations are used.&lt;/p&gt;&lt;p&gt;The best method for counting bits in a 32-bit integer v is the following:&lt;/p&gt;&lt;pre&gt;v = v - ((v &amp;gt;&amp;gt; 1) &amp;amp; 0x55555555);                    // reuse input as temporary&lt;br /&gt;v = (v &amp;amp; 0x33333333) + ((v &amp;gt;&amp;gt; 2) &amp;amp; 0x33333333);     // temp&lt;br /&gt;c = ((v + (v &amp;gt;&amp;gt; 4) &amp;amp; 0xF0F0F0F) * 0x1010101) &amp;gt;&amp;gt; 24; // count&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The best bit counting method takes only 12 operations, which is the same as  the lookup-table method, but avoids the memory and potential cache misses of a  table. It is a hybrid between the purely parallel method above and the earlier  methods using multiplies (in the section on counting bits with 64-bit  instructions), though it doesn&#39;t use 64-bit instructions. The counts of bits set  in the bytes is done in parallel, and the sum total of the bits set in the bytes  is computed by multiplying by 0x1010101 and shifting right 24 bits.&lt;/p&gt;&lt;p&gt;A generalization of the best bit counting method to integers of bit-widths  upto 128 (parameterized by type T) is this:&lt;/p&gt;&lt;pre&gt;v = v - ((v &amp;gt;&amp;gt; 1) &amp;amp; (T)~(T)0/3);                           // temp&lt;br /&gt;v = (v &amp;amp; (T)~(T)0/15*3) + ((v &amp;gt;&amp;gt; 2) &amp;amp; (T)~(T)0/15*3);      // temp&lt;br /&gt;v = (v + (v &amp;gt;&amp;gt; 4)) &amp;amp; (T)~(T)0/255*15;                      // temp&lt;br /&gt;c = (T)(v * ((T)~(T)0/255)) &amp;gt;&amp;gt; (sizeof(T) - 1) * CHAR_BIT; // count&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;See &lt;a href=&quot;http://groups.google.com/groups?q=reverse+bits&amp;amp;num=100&amp;amp;hl=en&amp;amp;group=comp.graphics.algorithms&amp;amp;imgsafe=off&amp;amp;safe=off&amp;amp;rnum=2&amp;amp;ic=1&amp;amp;selm=4fulhm%248dn%40atlas.uniserve.com&quot;&gt;Ian  Ashdown&#39;s nice newsgroup post&lt;/a&gt; for more information on counting the number of  bits set (also known as &lt;em&gt;sideways addition&lt;/em&gt;). The best bit counting  method was brought to my attention on October 5, 2005 by &lt;a href=&quot;http://onezero.org/&quot;&gt;Andrew Shapira&lt;/a&gt;; he found it in pages 187-188 of &lt;a href=&quot;http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/25112.PDF&quot;&gt;Software  Optimization Guide for AMD Athlon&amp;trade; 64 and Opteron&amp;trade; Processors&lt;/a&gt;. Charlie  Gordon suggested a way to shave off one operation from the purely parallel  version on December 14, 2005, and Don Clugston trimmed three more from it on  December 30, 2005. I made a typo with Don&#39;s suggestion that Eric Cole spotted on  January 8, 2006. Eric later suggested the arbitrary bit-width generalization to  the best method on November 17, 2006. On April 5, 2007, Al Williams observed  that I had a line of dead code at the top of the first method.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;#CountBitsFromMSBToPos&quot;&gt;Count bits set (rank) from the  most-significant bit upto a given position &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The following finds the the  rank of a bit, meaning it returns the sum of bits that are set to 1 from the  most-signficant bit downto the bit at the given position.&lt;/p&gt;&lt;pre&gt;  uint64_t v;       // Compute the rank (bits set) in v from the MSB to pos.&lt;br /&gt;  unsigned int pos; // Bit position to count bits upto.&lt;br /&gt;  uint64_t r;       // Resulting rank of bit at pos goes here.&lt;br /&gt;&lt;br /&gt;  // Shift out bits after given position.&lt;br /&gt;  r = v &amp;gt;&amp;gt; (sizeof(v) * CHAR_BIT - pos);&lt;br /&gt;  // Count set bits in parallel.&lt;br /&gt;  // r = (r &amp;amp; 0x5555...) + ((r &amp;gt;&amp;gt; 1) &amp;amp; 0x5555...);&lt;br /&gt;  r = r - ((r &amp;gt;&amp;gt; 1) &amp;amp; ~0UL/3);&lt;br /&gt;  // r = (r &amp;amp; 0x3333...) + ((r &amp;gt;&amp;gt; 2) &amp;amp; 0x3333...);&lt;br /&gt;  r = (r &amp;amp; ~0UL/5) + ((r &amp;gt;&amp;gt; 2) &amp;amp; ~0UL/5);&lt;br /&gt;  // r = (r &amp;amp; 0x0f0f...) + ((r &amp;gt;&amp;gt; 4) &amp;amp; 0x0f0f...);&lt;br /&gt;  r = (r + (r &amp;gt;&amp;gt; 4)) &amp;amp; ~0UL/17;&lt;br /&gt;  // r = r % 255;&lt;br /&gt;  r = (r * (~0UL/255)) &amp;gt;&amp;gt; ((sizeof(v) - 1) * CHAR_BIT);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Juha J&amp;auml;rvi sent this to me on November 21, 2009 as an inverse operation to  the computing the bit position with the given rank, which follows.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;#SelectPosFromMSBRank&quot;&gt;Select the bit position (from the  most-significant bit) with the given count (rank) &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The following 64-bit  code selects the position of the r&lt;sup&gt;th&lt;/sup&gt; 1 bit when counting from the  left. In other words if we start at the most significant bit and proceed to the  right, counting the number of bits set to 1 until we reach the desired rank, r,  then the position where we stop is returned. If the rank requested exceeds the  count of bits set, then 64 is returned. The code may be modified for 32-bit or  counting from the right.&lt;/p&gt;&lt;pre&gt;  uint64_t v;          // Input value to find position with rank r.&lt;br /&gt;  unsigned int r;      // Input: bit&#39;s desired rank [1-64].&lt;br /&gt;  unsigned int s;      // Output: Resulting position of bit with rank r [1-64]&lt;br /&gt;  uint64_t a, b, c, d; // Intermediate temporaries for bit count.&lt;br /&gt;  unsigned int t;      // Bit count temporary.&lt;br /&gt;&lt;br /&gt;  // Do a normal parallel bit count for a 64-bit integer,                     &lt;br /&gt;  // but store all intermediate steps.                                        &lt;br /&gt;  // a = (v &amp;amp; 0x5555...) + ((v &amp;gt;&amp;gt; 1) &amp;amp; 0x5555...);&lt;br /&gt;  a =  v - ((v &amp;gt;&amp;gt; 1) &amp;amp; ~0UL/3);&lt;br /&gt;  // b = (a &amp;amp; 0x3333...) + ((a &amp;gt;&amp;gt; 2) &amp;amp; 0x3333...);&lt;br /&gt;  b = (a &amp;amp; ~0UL/5) + ((a &amp;gt;&amp;gt; 2) &amp;amp; ~0UL/5);&lt;br /&gt;  // c = (b &amp;amp; 0x0f0f...) + ((b &amp;gt;&amp;gt; 4) &amp;amp; 0x0f0f...);&lt;br /&gt;  c = (b + (b &amp;gt;&amp;gt; 4)) &amp;amp; ~0UL/0x11;&lt;br /&gt;  // d = (c &amp;amp; 0x00ff...) + ((c &amp;gt;&amp;gt; 8) &amp;amp; 0x00ff...);&lt;br /&gt;  d = (c + (c &amp;gt;&amp;gt; 8)) &amp;amp; ~0UL/0x101;&lt;br /&gt;  t = (d &amp;gt;&amp;gt; 32) + (d &amp;gt;&amp;gt; 48);&lt;br /&gt;  // Now do branchless select!                                                &lt;br /&gt;  s  = 64;&lt;br /&gt;  // if (r &amp;gt; t) {s -= 32; r -= t;}&lt;br /&gt;  s -= ((t - r) &amp;amp; 256) &amp;gt;&amp;gt; 3; r -= (t &amp;amp; ((t - r) &amp;gt;&amp;gt; 8));&lt;br /&gt;  t  = (d &amp;gt;&amp;gt; (s - 16)) &amp;amp; 0xff;&lt;br /&gt;  // if (r &amp;gt; t) {s -= 16; r -= t;}&lt;br /&gt;  s -= ((t - r) &amp;amp; 256) &amp;gt;&amp;gt; 4; r -= (t &amp;amp; ((t - r) &amp;gt;&amp;gt; 8));&lt;br /&gt;  t  = (c &amp;gt;&amp;gt; (s - 8)) &amp;amp; 0xf;&lt;br /&gt;  // if (r &amp;gt; t) {s -= 8; r -= t;}&lt;br /&gt;  s -= ((t - r) &amp;amp; 256) &amp;gt;&amp;gt; 5; r -= (t &amp;amp; ((t - r) &amp;gt;&amp;gt; 8));&lt;br /&gt;  t  = (b &amp;gt;&amp;gt; (s - 4)) &amp;amp; 0x7;&lt;br /&gt;  // if (r &amp;gt; t) {s -= 4; r -= t;}&lt;br /&gt;  s -= ((t - r) &amp;amp; 256) &amp;gt;&amp;gt; 6; r -= (t &amp;amp; ((t - r) &amp;gt;&amp;gt; 8));&lt;br /&gt;  t  = (a &amp;gt;&amp;gt; (s - 2)) &amp;amp; 0x3;&lt;br /&gt;  // if (r &amp;gt; t) {s -= 2; r -= t;}&lt;br /&gt;  s -= ((t - r) &amp;amp; 256) &amp;gt;&amp;gt; 7; r -= (t &amp;amp; ((t - r) &amp;gt;&amp;gt; 8));&lt;br /&gt;  t  = (v &amp;gt;&amp;gt; (s - 1)) &amp;amp; 0x1;&lt;br /&gt;  // if (r &amp;gt; t) s--;&lt;br /&gt;  s -= ((t - r) &amp;amp; 256) &amp;gt;&amp;gt; 8;&lt;br /&gt;  s = 65 - s;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;If branching is fast on your target CPU, consider uncommenting the  if-statements and commenting the lines that follow them.&lt;/p&gt;&lt;p&gt;Juha J&amp;auml;rvi sent this to me on November 21, 2009.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ParityNaive&quot;&gt;Computing parity the naive way &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;       // word value to compute the parity of&lt;br /&gt;bool parity = false;  // parity will be the parity of v&lt;br /&gt;&lt;br /&gt;while (v)&lt;br /&gt;{&lt;br /&gt;  parity = !parity;&lt;br /&gt;  v = v &amp;amp; (v - 1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The above code uses an approach like Brian Kernigan&#39;s bit counting, above.  The time it takes is proportional to the number of bits set.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ParityLookupTable&quot;&gt;Compute parity by lookup table &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;static const bool ParityTable256[256] = &lt;br /&gt;{&lt;br /&gt;#   define P2(n) n, n^1, n^1, n&lt;br /&gt;#   define P4(n) P2(n), P2(n^1), P2(n^1), P2(n)&lt;br /&gt;#   define P6(n) P4(n), P4(n^1), P4(n^1), P4(n)&lt;br /&gt;    P6(0), P6(1), P6(1), P6(0)&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;unsigned char b;  // byte value to compute the parity of&lt;br /&gt;bool parity = ParityTable256[b];&lt;br /&gt;&lt;br /&gt;// OR, for 32-bit words:&lt;br /&gt;unsigned int v;&lt;br /&gt;v ^= v &amp;gt;&amp;gt; 16;&lt;br /&gt;v ^= v &amp;gt;&amp;gt; 8;&lt;br /&gt;bool parity = ParityTable256[v &amp;amp; 0xff];&lt;br /&gt;&lt;br /&gt;// Variation:&lt;br /&gt;unsigned char * p = (unsigned char *) &amp;amp;v;&lt;br /&gt;parity = ParityTable256[p[0] ^ p[1] ^ p[2] ^ p[3]];&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Randal E. Bryant encouraged the addition of the (admittedly) obvious last  variation with variable p on May 3, 2005. Bruce Rawles found a typo in an  instance of the table variable&#39;s name on September 27, 2005, and he received a  $10 bug bounty. On October 9, 2006, Fabrice Bellard suggested the 32-bit  variations above, which require only one table lookup; the previous version had  four lookups (one per byte) and were slower. On July 14, 2009 Hallvard Furuseth  suggested the macro compacted table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ParityWith64Bits&quot;&gt;Compute parity of a byte using 64-bit multiply and  modulus division &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned char b;  // byte value to compute the parity of&lt;br /&gt;bool parity = &lt;br /&gt;  (((b * 0x0101010101010101ULL) &amp;amp; 0x8040201008040201ULL) % 0x1FF) &amp;amp; 1;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The method above takes around 4 operations, but only works on bytes.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;#ParityMultiply&quot;&gt;Compute parity of word with a multiply &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The  following method computes the parity of the 32-bit value in only 8 operations  using a multiply.&lt;/p&gt;&lt;pre&gt;    unsigned int v; // 32-bit word&lt;br /&gt;    v ^= v &amp;gt;&amp;gt; 1;&lt;br /&gt;    v ^= v &amp;gt;&amp;gt; 2;&lt;br /&gt;    v = (v &amp;amp; 0x11111111U) * 0x11111111U;&lt;br /&gt;    return (v &amp;gt;&amp;gt; 28) &amp;amp; 1;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Also for 64-bits, 8 operations are still enough.&lt;/p&gt;&lt;pre&gt;    unsigned long long v; // 64-bit word&lt;br /&gt;    v ^= v &amp;gt;&amp;gt; 1;&lt;br /&gt;    v ^= v &amp;gt;&amp;gt; 2;&lt;br /&gt;    v = (v &amp;amp; 0x1111111111111111UL) * 0x1111111111111111UL;&lt;br /&gt;    return (v &amp;gt;&amp;gt; 60) &amp;amp; 1;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Andrew Shapira came up with this and sent it to me on Sept. 2, 2007.&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ParityParallel&quot;&gt;Compute parity in parallel &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;  // word value to compute the parity of&lt;br /&gt;v ^= v &amp;gt;&amp;gt; 16;&lt;br /&gt;v ^= v &amp;gt;&amp;gt; 8;&lt;br /&gt;v ^= v &amp;gt;&amp;gt; 4;&lt;br /&gt;v &amp;amp;= 0xf;&lt;br /&gt;return (0x6996 &amp;gt;&amp;gt; v) &amp;amp; 1;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The method above takes around 9 operations, and works for 32-bit words. It  may be optimized to work just on bytes in 5 operations by removing the two lines  immediately following &quot;unsigned int v;&quot;. The method first shifts and XORs the  eight nibbles of the 32-bit value together, leaving the result in the lowest  nibble of v. Next, the binary number 0110 1001 1001 0110 (0x6996 in hex) is  shifted to the right by the value represented in the lowest nibble of v. This  number is like a miniature 16-bit parity-table indexed by the low four bits in  v. The result has the parity of v in bit 1, which is masked and returned.&lt;/p&gt;&lt;p&gt;Thanks to Mathew Hendry for pointing out the shift-lookup idea at the end on  Dec. 15, 2002. That optimization shaves two operations off using only shifting  and XORing to find the parity.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;SwappingValuesSubAdd&quot;&gt;Swapping values with subtraction and addition &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;#define SWAP(a, b) ((&amp;amp;(a) == &amp;amp;(b)) || \&lt;br /&gt;                    (((a) -= (b)), ((b) += (a)), ((a) = (b) - (a))))&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This swaps the values of a and b &lt;em&gt;without using a temporary  variable.&lt;/em&gt; The initial check for a and b being the same location in memory  may be omitted when you know this can&#39;t happen. (The compiler may omit it anyway  as an optimization.) If you enable overflows exceptions, then pass unsigned  values so an exception isn&#39;t thrown. The XOR method that follows may be slightly  faster on some machines. Don&#39;t use this with floating-point numbers (unless you  operate on their raw integer representations).&lt;/p&gt;&lt;p&gt;Sanjeev Sivasankaran suggested I add this on June 12, 2007. Vincent Lef&amp;egrave;vre  pointed out the potential for overflow exceptions on July 9, 2008&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;SwappingValuesXOR&quot;&gt;Swapping values with XOR &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;#define SWAP(a, b) (((a) ^= (b)), ((b) ^= (a)), ((a) ^= (b)))&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This is an old trick to exchange the values of the variables a and b  &lt;em&gt;without using extra space for a temporary variable&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;On January 20, 2005, Iain A. Fleming pointed out that the macro above doesn&#39;t  work when you swap with the same memory location, such as SWAP(a[i], a[j]) with  i == j. So if that may occur, consider defining the macro as (((a) == (b)) ||  (((a) ^= (b)), ((b) ^= (a)), ((a) ^= (b)))). On July 14, 2009, Hallvard Furuseth  suggested that on some machines, (((a) ^ (b)) &amp;amp;&amp;amp; ((b) ^= (a) ^= (b), (a)  ^= (b))) might be faster, since the (a) ^ (b) expression is reused.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;SwappingBitsXOR&quot;&gt;Swapping individual bits with XOR &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int i, j; // positions of bit sequences to swap&lt;br /&gt;unsigned int n;    // number of consecutive bits in each sequence&lt;br /&gt;unsigned int b;    // bits to swap reside in b&lt;br /&gt;unsigned int r;    // bit-swapped result goes here&lt;br /&gt;&lt;br /&gt;unsigned int x = ((b &amp;gt;&amp;gt; i) ^ (b &amp;gt;&amp;gt; j)) &amp;amp; ((1U &amp;lt;&amp;lt; n) - 1); // XOR temporary&lt;br /&gt;r = b ^ ((x &amp;lt;&amp;lt; i) | (x &amp;lt;&amp;lt; j));&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;As an example of swapping ranges of bits suppose we have have b =  &lt;strong&gt;001&lt;/strong&gt;0&lt;strong&gt;111&lt;/strong&gt;1 (expressed in binary) and we want to swap the n = 3  consecutive bits starting at i = 1 (the second bit from the right) with the 3  consecutive bits starting at j = 5; the result would be r =  &lt;strong&gt;111&lt;/strong&gt;0&lt;strong&gt;001&lt;/strong&gt;1 (binary).&lt;/p&gt;&lt;p&gt;This method of swapping is similar to the general purpose XOR swap trick, but  intended for operating on individual bits.&amp;nbsp; The variable x stores the result of  XORing the pairs of bit values we want to swap, and then the bits are set to the  result of themselves XORed with x.&amp;nbsp; Of course, the result is undefined if the  sequences overlap.&lt;/p&gt;&lt;p&gt;On July 14, 2009 Hallvard Furuseth suggested that I change the 1 &amp;lt;&amp;lt; n  to 1U &amp;lt;&amp;lt; n because the value was being assigned to an unsigned and to  avoid shifting into a sign bit.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;BitReverseObvious&quot;&gt;Reverse bits the obvious way &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;     // input bits to be reversed&lt;br /&gt;unsigned int r = v; // r will be reversed bits of v; first get LSB of v&lt;br /&gt;int s = sizeof(v) * CHAR_BIT - 1; // extra shift needed at end&lt;br /&gt;&lt;br /&gt;for (v &amp;gt;&amp;gt;= 1; v; v &amp;gt;&amp;gt;= 1)&lt;br /&gt;{   &lt;br /&gt;  r &amp;lt;&amp;lt;= 1;&lt;br /&gt;  r |= v &amp;amp; 1;&lt;br /&gt;  s--;&lt;br /&gt;}&lt;br /&gt;r &amp;lt;&amp;lt;= s; // shift when v&#39;s highest bits are zero&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;On October 15, 2004, Michael Hoisie pointed out a bug in the original  version. Randal E. Bryant suggested removing an extra operation on May 3, 2005.  Behdad Esfabod suggested a slight change that eliminated one iteration of the  loop on May 18, 2005. Then, on February 6, 2007, Liyong Zhou suggested a better  version that loops while v is not 0, so rather than iterating over all bits it  stops early.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;BitReverseTable&quot;&gt;Reverse bits in word by lookup table &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;static const unsigned char BitReverseTable256[256] = &lt;br /&gt;{&lt;br /&gt;#   define R2(n)     n,     n + 2*64,     n + 1*64,     n + 3*64&lt;br /&gt;#   define R4(n) R2(n), R2(n + 2*16), R2(n + 1*16), R2(n + 3*16)&lt;br /&gt;#   define R6(n) R4(n), R4(n + 2*4 ), R4(n + 1*4 ), R4(n + 3*4 )&lt;br /&gt;    R6(0), R6(2), R6(1), R6(3)&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;unsigned int v; // reverse 32-bit value, 8 bits at time&lt;br /&gt;unsigned int c; // c will get v reversed&lt;br /&gt;&lt;br /&gt;// Option 1:&lt;br /&gt;c = (BitReverseTable256[v &amp;amp; 0xff] &amp;lt;&amp;lt; 24) | &lt;br /&gt;    (BitReverseTable256[(v &amp;gt;&amp;gt; 8) &amp;amp; 0xff] &amp;lt;&amp;lt; 16) | &lt;br /&gt;    (BitReverseTable256[(v &amp;gt;&amp;gt; 16) &amp;amp; 0xff] &amp;lt;&amp;lt; 8) |&lt;br /&gt;    (BitReverseTable256[(v &amp;gt;&amp;gt; 24) &amp;amp; 0xff]);&lt;br /&gt;&lt;br /&gt;// Option 2:&lt;br /&gt;unsigned char * p = (unsigned char *) &amp;amp;v;&lt;br /&gt;unsigned char * q = (unsigned char *) &amp;amp;c;&lt;br /&gt;q[3] = BitReverseTable256[p[0]]; &lt;br /&gt;q[2] = BitReverseTable256[p[1]]; &lt;br /&gt;q[1] = BitReverseTable256[p[2]]; &lt;br /&gt;q[0] = BitReverseTable256[p[3]];&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The first method takes about 17 operations, and the second takes about 12,  assuming your CPU can load and store bytes easily.&lt;/p&gt;&lt;p&gt;On July 14, 2009 Hallvard Furuseth suggested the macro compacted table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ReverseByteWith64BitsDiv&quot;&gt;Reverse the bits in a byte with 3  operations (64-bit multiply and modulus division): &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned char b; // reverse this (8-bit) byte&lt;br /&gt; &lt;br /&gt;b = (b * 0x0202020202ULL &amp;amp; 0x010884422010ULL) % 1023;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The multiply operation creates five separate copies of the 8-bit byte  pattern to fan-out into a 64-bit value. The AND operation selects the bits that  are in the correct (reversed) positions, relative to each 10-bit groups of bits.  The multiply and the AND operations copy the bits from the original byte so they  each appear in only one of the 10-bit sets. The reversed positions of the bits  from the original byte coincide with their relative positions within any 10-bit  set. The last step, which involves modulus division by 2^10 - 1, has the effect  of merging together each set of 10 bits (from positions 0-9, 10-19, 20-29, ...)  in the 64-bit value. They do not overlap, so the addition steps underlying the  modulus division behave like or operations.&lt;/p&gt;&lt;p&gt;This method was attributed to Rich Schroeppel in the Programming Hacks  section of &lt;a href=&quot;http://www.inwap.com/pdp10/hbaker/hakmem/hakmem.html&quot;&gt;Beeler, M., Gosper,  R. W., and Schroeppel, R. HAKMEM. MIT AI Memo 239, Feb. 29, 1972.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ReverseByteWith64Bits&quot;&gt;Reverse the bits in a byte with 4 operations  (64-bit multiply, no division): &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned char b; // reverse this byte&lt;br /&gt; &lt;br /&gt;b = ((b * 0x80200802ULL) &amp;amp; 0x0884422110ULL) * 0x0101010101ULL &amp;gt;&amp;gt; 32;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The following shows the flow of the bit values with the boolean variables  &lt;code&gt;a, b, c, d, e, f, g,&lt;/code&gt; and &lt;code&gt;h&lt;/code&gt;, which comprise an 8-bit  byte. Notice how the first multiply fans out the bit pattern to multiple copies,  while the last multiply combines them in the fifth byte from the right. &lt;span&gt;&lt;pre&gt;                                                                                        abcd efgh (-&amp;gt; hgfe dcba)&lt;br /&gt;*                                                      1000 0000  0010 0000  0000 1000  0000 0010 (0x80200802)&lt;br /&gt;-------------------------------------------------------------------------------------------------&lt;br /&gt;                                            0abc defg  h00a bcde  fgh0 0abc  defg h00a  bcde fgh0&lt;br /&gt;&amp;amp;                                           0000 1000  1000 0100  0100 0010  0010 0001  0001 0000 (0x0884422110)&lt;br /&gt;-------------------------------------------------------------------------------------------------&lt;br /&gt;                                            0000 d000  h000 0c00  0g00 00b0  00f0 000a  000e 0000&lt;br /&gt;*                                           0000 0001  0000 0001  0000 0001  0000 0001  0000 0001 (0x0101010101)&lt;br /&gt;-------------------------------------------------------------------------------------------------&lt;br /&gt;                                            0000 d000  h000 0c00  0g00 00b0  00f0 000a  000e 0000&lt;br /&gt;                                 0000 d000  h000 0c00  0g00 00b0  00f0 000a  000e 0000&lt;br /&gt;                      0000 d000  h000 0c00  0g00 00b0  00f0 000a  000e 0000&lt;br /&gt;           0000 d000  h000 0c00  0g00 00b0  00f0 000a  000e 0000&lt;br /&gt;0000 d000  h000 0c00  0g00 00b0  00f0 000a  000e 0000&lt;br /&gt;-------------------------------------------------------------------------------------------------&lt;br /&gt;0000 d000  h000 dc00  hg00 dcb0  hgf0 dcba  hgfe dcba  hgfe 0cba  0gfe 00ba  00fe 000a  000e 0000&lt;br /&gt;&amp;gt;&amp;gt; 32&lt;br /&gt;-------------------------------------------------------------------------------------------------&lt;br /&gt;                                            0000 d000  h000 dc00  hg00 dcb0  hgf0 dcba  hgfe dcba  &lt;br /&gt;&amp;amp;                                                                                       1111 1111&lt;br /&gt;-------------------------------------------------------------------------------------------------&lt;br /&gt;                                                                                        hgfe dcba&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;Note that the last two steps can be combined on some processors  because the registers can be accessed as bytes; just multiply so that a register  stores the upper 32 bits of the result and the take the low byte. Thus, it may  take only 6 operations.&lt;/p&gt;&lt;p&gt;Devised by Sean Anderson, July 13, 2001.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ReverseByteWith32Bits&quot;&gt;Reverse the bits in a byte with 7 operations  (no 64-bit): &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;b = ((b * 0x0802LU &amp;amp; 0x22110LU) | (b * 0x8020LU &amp;amp; 0x88440LU)) * 0x10101LU &amp;gt;&amp;gt; 16; &lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Make sure you assign or cast the result to an unsigned char to remove  garbage in the higher bits. Devised by Sean Anderson, July 13, 2001. Typo  spotted and correction supplied by Mike Keith, January 3, 2002.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ReverseParallel&quot;&gt;Reverse an N-bit quantity in parallel in 5 * lg(N)  operations: &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // 32-bit word to reverse bit order&lt;br /&gt;&lt;br /&gt;// swap odd and even bits&lt;br /&gt;v = ((v &amp;gt;&amp;gt; 1) &amp;amp; 0x55555555) | ((v &amp;amp; 0x55555555) &amp;lt;&amp;lt; 1);&lt;br /&gt;// swap consecutive pairs&lt;br /&gt;v = ((v &amp;gt;&amp;gt; 2) &amp;amp; 0x33333333) | ((v &amp;amp; 0x33333333) &amp;lt;&amp;lt; 2);&lt;br /&gt;// swap nibbles ... &lt;br /&gt;v = ((v &amp;gt;&amp;gt; 4) &amp;amp; 0x0F0F0F0F) | ((v &amp;amp; 0x0F0F0F0F) &amp;lt;&amp;lt; 4);&lt;br /&gt;// swap bytes&lt;br /&gt;v = ((v &amp;gt;&amp;gt; 8) &amp;amp; 0x00FF00FF) | ((v &amp;amp; 0x00FF00FF) &amp;lt;&amp;lt; 8);&lt;br /&gt;// swap 2-byte long pairs&lt;br /&gt;v = ( v &amp;gt;&amp;gt; 16             ) | ( v               &amp;lt;&amp;lt; 16);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The following variation is also O(lg(N)), however it requires more  operations to reverse v. Its virtue is in taking less slightly memory by  computing the constants on the fly.&lt;/p&gt;&lt;pre&gt;unsigned int s = sizeof(v) * CHAR_BIT; // bit size; must be power of 2 &lt;br /&gt;unsigned int mask = ~0;         &lt;br /&gt;while ((s &amp;gt;&amp;gt;= 1) &amp;gt; 0) &lt;br /&gt;{&lt;br /&gt;  mask ^= (mask &amp;lt;&amp;lt; s);&lt;br /&gt;  v = ((v &amp;gt;&amp;gt; s) &amp;amp; mask) | ((v &amp;lt;&amp;lt; s) &amp;amp; ~mask);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;These methods above are best suited to situations where N is large. If you  use the above with 64-bit ints (or larger), then you need to add more lines  (following the pattern); otherwise only the lower 32 bits will be reversed and  the result will be in the lower 32 bits.&lt;/p&gt;&lt;p&gt;See Dr. Dobb&#39;s Journal 1983, Edwin Freed&#39;s article on Binary Magic Numbers  for more information. The second variation was suggested by Ken Raeburn on  September 13, 2005. Veldmeijer mentioned that the first version could do without  ANDS in the last line on March 19, 2006.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ModulusDivisionEasy&quot;&gt;Compute modulus division by 1 &amp;lt;&amp;lt; s without  a division operator &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;const unsigned int n;          // numerator&lt;br /&gt;const unsigned int s;&lt;br /&gt;const unsigned int d = 1U &amp;lt;&amp;lt; s; // So d will be one of: 1, 2, 4, 8, 16, 32, ...&lt;br /&gt;unsigned int m;                // m will be n % d&lt;br /&gt;m = n &amp;amp; (d - 1); &lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Most programmers learn this trick early, but it was included for the sake  of completeness.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h3&gt;&lt;a name=&quot;ModulusDivision&quot;&gt;Compute modulus division by (1 &amp;lt;&amp;lt; s) - 1  without a division operator &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int n;                      // numerator&lt;br /&gt;const unsigned int s;                // s &amp;gt; 0&lt;br /&gt;const unsigned int d = (1 &amp;lt;&amp;lt; s) - 1; // so d is either 1, 3, 7, 15, 31, ...).&lt;br /&gt;unsigned int m;                      // n % d goes here.&lt;br /&gt;&lt;br /&gt;for (m = n; n &amp;gt; d; n = m)&lt;br /&gt;{&lt;br /&gt;  for (m = 0; n; n &amp;gt;&amp;gt;= s)&lt;br /&gt;  {&lt;br /&gt;    m += n &amp;amp; d;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;// Now m is a value from 0 to d, but since with modulus division&lt;br /&gt;// we want m to be 0 when it is d.&lt;br /&gt;m = m == d ? 0 : m;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This method of modulus division by an integer that is one less than a  power of 2 takes at most 5 + (4 + 5 * ceil(N / s)) * ceil(lg(N / s)) operations,  where N is the number of bits in the numerator. In other words, it takes at most  O(N * lg(N)) time.&lt;/p&gt;&lt;p&gt;Devised by Sean Anderson, August 15, 2001. Before Sean A. Irvine corrected me  on June 17, 2004, I mistakenly commented that we could alternatively assign  &lt;code&gt;m = ((m + 1) &amp;amp; d) - 1;&lt;/code&gt; at the end. Michael Miller spotted a  typo in the code April 25, 2005.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ModulusDivisionParallel&quot;&gt;Compute modulus division by (1 &amp;lt;&amp;lt; s) -  1 in parallel without a division operator &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;// The following is for a word size of 32 bits!&lt;br /&gt;&lt;br /&gt;static const unsigned int M[] = &lt;br /&gt;{&lt;br /&gt;  0x00000000, 0x55555555, 0x33333333, 0xc71c71c7,  &lt;br /&gt;  0x0f0f0f0f, 0xc1f07c1f, 0x3f03f03f, 0xf01fc07f, &lt;br /&gt;  0x00ff00ff, 0x07fc01ff, 0x3ff003ff, 0xffc007ff,&lt;br /&gt;  0xff000fff, 0xfc001fff, 0xf0003fff, 0xc0007fff,&lt;br /&gt;  0x0000ffff, 0x0001ffff, 0x0003ffff, 0x0007ffff, &lt;br /&gt;  0x000fffff, 0x001fffff, 0x003fffff, 0x007fffff,&lt;br /&gt;  0x00ffffff, 0x01ffffff, 0x03ffffff, 0x07ffffff,&lt;br /&gt;  0x0fffffff, 0x1fffffff, 0x3fffffff, 0x7fffffff&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;static const unsigned int Q[][6] = &lt;br /&gt;{&lt;br /&gt;  { 0,  0,  0,  0,  0,  0}, {16,  8,  4,  2,  1,  1}, {16,  8,  4,  2,  2,  2},&lt;br /&gt;  {15,  6,  3,  3,  3,  3}, {16,  8,  4,  4,  4,  4}, {15,  5,  5,  5,  5,  5},&lt;br /&gt;  {12,  6,  6,  6 , 6,  6}, {14,  7,  7,  7,  7,  7}, {16,  8,  8,  8,  8,  8},&lt;br /&gt;  { 9,  9,  9,  9,  9,  9}, {10, 10, 10, 10, 10, 10}, {11, 11, 11, 11, 11, 11},&lt;br /&gt;  {12, 12, 12, 12, 12, 12}, {13, 13, 13, 13, 13, 13}, {14, 14, 14, 14, 14, 14},&lt;br /&gt;  {15, 15, 15, 15, 15, 15}, {16, 16, 16, 16, 16, 16}, {17, 17, 17, 17, 17, 17},&lt;br /&gt;  {18, 18, 18, 18, 18, 18}, {19, 19, 19, 19, 19, 19}, {20, 20, 20, 20, 20, 20},&lt;br /&gt;  {21, 21, 21, 21, 21, 21}, {22, 22, 22, 22, 22, 22}, {23, 23, 23, 23, 23, 23},&lt;br /&gt;  {24, 24, 24, 24, 24, 24}, {25, 25, 25, 25, 25, 25}, {26, 26, 26, 26, 26, 26},&lt;br /&gt;  {27, 27, 27, 27, 27, 27}, {28, 28, 28, 28, 28, 28}, {29, 29, 29, 29, 29, 29},&lt;br /&gt;  {30, 30, 30, 30, 30, 30}, {31, 31, 31, 31, 31, 31}&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;static const unsigned int R[][6] = &lt;br /&gt;{&lt;br /&gt;  {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},&lt;br /&gt;  {0x0000ffff, 0x000000ff, 0x0000000f, 0x00000003, 0x00000001, 0x00000001},&lt;br /&gt;  {0x0000ffff, 0x000000ff, 0x0000000f, 0x00000003, 0x00000003, 0x00000003},&lt;br /&gt;  {0x00007fff, 0x0000003f, 0x00000007, 0x00000007, 0x00000007, 0x00000007},&lt;br /&gt;  {0x0000ffff, 0x000000ff, 0x0000000f, 0x0000000f, 0x0000000f, 0x0000000f},&lt;br /&gt;  {0x00007fff, 0x0000001f, 0x0000001f, 0x0000001f, 0x0000001f, 0x0000001f},&lt;br /&gt;  {0x00000fff, 0x0000003f, 0x0000003f, 0x0000003f, 0x0000003f, 0x0000003f},&lt;br /&gt;  {0x00003fff, 0x0000007f, 0x0000007f, 0x0000007f, 0x0000007f, 0x0000007f},&lt;br /&gt;  {0x0000ffff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff, 0x000000ff},&lt;br /&gt;  {0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff, 0x000001ff}, &lt;br /&gt;  {0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff, 0x000003ff}, &lt;br /&gt;  {0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff, 0x000007ff}, &lt;br /&gt;  {0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff, 0x00000fff}, &lt;br /&gt;  {0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff, 0x00001fff}, &lt;br /&gt;  {0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff, 0x00003fff}, &lt;br /&gt;  {0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff, 0x00007fff}, &lt;br /&gt;  {0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff, 0x0000ffff}, &lt;br /&gt;  {0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff, 0x0001ffff}, &lt;br /&gt;  {0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff, 0x0003ffff}, &lt;br /&gt;  {0x0007ffff, 0x0007ffff, 0x0007ffff, 0x0007ffff, 0x0007ffff, 0x0007ffff},&lt;br /&gt;  {0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff, 0x000fffff}, &lt;br /&gt;  {0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff, 0x001fffff}, &lt;br /&gt;  {0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff, 0x003fffff}, &lt;br /&gt;  {0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff, 0x007fffff}, &lt;br /&gt;  {0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff},&lt;br /&gt;  {0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff}, &lt;br /&gt;  {0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff}, &lt;br /&gt;  {0x07ffffff, 0x07ffffff, 0x07ffffff, 0x07ffffff, 0x07ffffff, 0x07ffffff},&lt;br /&gt;  {0x0fffffff, 0x0fffffff, 0x0fffffff, 0x0fffffff, 0x0fffffff, 0x0fffffff},&lt;br /&gt;  {0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff, 0x1fffffff}, &lt;br /&gt;  {0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff, 0x3fffffff}, &lt;br /&gt;  {0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff}&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;unsigned int n;       // numerator&lt;br /&gt;const unsigned int s; // s &amp;gt; 0&lt;br /&gt;const unsigned int d = (1 &amp;lt;&amp;lt; s) - 1; // so d is either 1, 3, 7, 15, 31, ...).&lt;br /&gt;unsigned int m;       // n % d goes here.&lt;br /&gt;&lt;br /&gt;m = (n &amp;amp; M[s]) + ((n &amp;gt;&amp;gt; s) &amp;amp; M[s]);&lt;br /&gt;&lt;br /&gt;for (const unsigned int * q = &amp;amp;Q[s][0], * r = &amp;amp;R[s][0]; m &amp;gt; d; q++, r++)&lt;br /&gt;{&lt;br /&gt;  m = (m &amp;gt;&amp;gt; *q) + (m &amp;amp; *r);&lt;br /&gt;}&lt;br /&gt;m = m == d ? 0 : m; // OR, less portably: m = m &amp;amp; -((signed)(m - d) &amp;gt;&amp;gt; s);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This method of finding modulus division by an integer that is one less  than a power of 2 takes at most O(lg(N)) time, where N is the number of bits in  the numerator (32 bits, for the code above). The number of operations is at most  12 + 9 * ceil(lg(N)). The tables may be removed if you know the denominator at  compile time; just extract the few relevent entries and unroll the loop. It may  be easily extended to more bits.&lt;/p&gt;&lt;p&gt;It finds the result by summing the values in base (1 &amp;lt;&amp;lt; s) in parallel.  First every other base (1 &amp;lt;&amp;lt; s) value is added to the previous one.  Imagine that the result is written on a piece of paper. Cut the paper in half,  so that half the values are on each cut piece. Align the values and sum them  onto a new piece of paper. Repeat by cutting this paper in half (which will be a  quarter of the size of the previous one) and summing, until you cannot cut  further. After performing lg(N/s/2) cuts, we cut no more; just continue to add  the values and put the result onto a new piece of paper as before, while there  are at least two s-bit values.&lt;/p&gt;&lt;p&gt;Devised by Sean Anderson, August 20, 2001. A typo was spotted by Randy E.  Bryant on May 3, 2005 (after pasting the code, I had later added &quot;unsinged&quot; to a  variable declaration). As in the previous hack, I mistakenly commented that we  could alternatively assign &lt;code&gt;m = ((m + 1) &amp;amp; d) - 1;&lt;/code&gt; at the end,  and Don Knuth corrected me on April 19, 2006 and suggested &lt;code&gt;m = m &amp;amp;  -((signed)(m - d) &amp;gt;&amp;gt; s)&lt;/code&gt;. On June 18, 2009 Sean Irvine proposed a  change that used &lt;code&gt;((n &amp;gt;&amp;gt; s) &amp;amp; M[s])&lt;/code&gt; instead of &lt;code&gt;((n  &amp;amp; ~M[s]) &amp;gt;&amp;gt; s)&lt;/code&gt;, which typically requires fewer operations  because the M[s] constant is already loaded.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLogObvious&quot;&gt;Find the log base 2 of an integer with the MSB N  set in O(N) operations (the obvious way) &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // 32-bit word to find the log base 2 of&lt;br /&gt;unsigned int r = 0; // r will be lg(v)&lt;br /&gt;&lt;br /&gt;while (v &amp;gt;&amp;gt;= 1) // unroll for more speed...&lt;br /&gt;{&lt;br /&gt;  r++;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The log base 2 of an integer is the same as the position of the highest  bit set (or most significant bit set, MSB). The following log base 2 methods are  faster than this one.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLogIEEE64Float&quot;&gt;Find the integer log base 2 of an integer with  an 64-bit IEEE float &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;int v; // 32-bit integer to find the log base 2 of&lt;br /&gt;int r; // result of log_2(v) goes here&lt;br /&gt;union { unsigned int u[2]; double d; } t; // temp&lt;br /&gt;&lt;br /&gt;t.u[__FLOAT_WORD_ORDER==LITTLE_ENDIAN] = 0x43300000;&lt;br /&gt;t.u[__FLOAT_WORD_ORDER!=LITTLE_ENDIAN] = v;&lt;br /&gt;t.d -= 4503599627370496.0;&lt;br /&gt;r = (t.u[__FLOAT_WORD_ORDER==LITTLE_ENDIAN] &amp;gt;&amp;gt; 20) - 0x3FF;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code above loads a 64-bit (IEEE-754 floating-point) double with a  32-bit integer (with no paddding bits) by storing the integer in the mantissa  while the exponent is set to 2&lt;sup&gt;52&lt;/sup&gt;. From this newly minted double,  2&lt;sup&gt;52&lt;/sup&gt; (expressed as a double) is subtracted, which sets the resulting  exponent to the log base 2 of the input value, v. All that is left is shifting  the exponent bits into position (20 bits right) and subtracting the bias, 0x3FF  (which is 1023 decimal). This technique only takes 5 operations, but many CPUs  are slow at manipulating doubles, and the endianess of the architecture must be  accommodated.&lt;/p&gt;&lt;p&gt;Eric Cole sent me this on January 15, 2006. Evan Felix pointed out a typo on  April 4, 2006. Vincent Lef&amp;egrave;vre told me on July 9, 2008 to change the endian  check to use the float&#39;s endian, which could differ from the integer&#39;s endian.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLogLookup&quot;&gt;Find the log base 2 of an integer with a lookup  table &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;static const char LogTable256[256] = &lt;br /&gt;{&lt;br /&gt;#define LT(n) n, n, n, n, n, n, n, n, n, n, n, n, n, n, n, n&lt;br /&gt;    -1, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3,&lt;br /&gt;    LT(4), LT(5), LT(5), LT(6), LT(6), LT(6), LT(6),&lt;br /&gt;    LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7), LT(7)&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;unsigned int v; // 32-bit word to find the log of&lt;br /&gt;unsigned r;     // r will be lg(v)&lt;br /&gt;register unsigned int t, tt; // temporaries&lt;br /&gt;&lt;br /&gt;if (tt = v &amp;gt;&amp;gt; 16)&lt;br /&gt;{&lt;br /&gt;  r = (t = tt &amp;gt;&amp;gt; 8) ? 24 + LogTable256[t] : 16 + LogTable256[tt];&lt;br /&gt;}&lt;br /&gt;else &lt;br /&gt;{&lt;br /&gt;  r = (t = v &amp;gt;&amp;gt; 8) ? 8 + LogTable256[t] : LogTable256[v];&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The lookup table method takes only about 7 operations to find the log of a  32-bit value. If extended for 64-bit quantities, it would take roughly 9  operations. Another operation can be trimmed off by using four tables, with the  possible additions incorporated into each. Using int table elements may be  faster, depending on your architecture.&lt;/p&gt;&lt;p&gt;The code above is tuned to uniformly distributed &lt;em&gt;output&lt;/em&gt; values. If  your &lt;em&gt;inputs&lt;/em&gt; are evenly distributed across all 32-bit values, then  consider using the following:&lt;/p&gt;&lt;pre&gt;if (tt = v &amp;gt;&amp;gt; 24) &lt;br /&gt;{&lt;br /&gt;  r = 24 + LogTable256[tt];&lt;br /&gt;} &lt;br /&gt;else if (tt = v &amp;gt;&amp;gt; 16) &lt;br /&gt;{&lt;br /&gt;  r = 16 + LogTable256[tt];&lt;br /&gt;} &lt;br /&gt;else if (tt = v &amp;gt;&amp;gt; 8) &lt;br /&gt;{&lt;br /&gt;  r = 8 + LogTable256[tt];&lt;br /&gt;} &lt;br /&gt;else &lt;br /&gt;{&lt;br /&gt;  r = LogTable256[v];&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;To initially generate the log table algorithmically:&lt;/p&gt;&lt;pre&gt;LogTable256[0] = LogTable256[1] = 0;&lt;br /&gt;for (int i = 2; i &amp;lt; 256; i++) &lt;br /&gt;{&lt;br /&gt;  LogTable256[i] = 1 + LogTable256[i / 2];&lt;br /&gt;}&lt;br /&gt;LogTable256[0] = -1; // if you want log(0) to return -1&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Behdad Esfahbod and I shaved off a fraction of an operation (on average)  on May 18, 2005. Yet another fraction of an operation was removed on November  14, 2006 by Emanuel Hoogeveen. The variation that is tuned to evenly distributed  input values was suggested by David A. Butterfield on September 19, 2008. Venkat  Reddy told me on January 5, 2009 that log(0) should return -1 to indicate an  error, so I changed the first entry in the table to that.&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLog&quot;&gt;Find the log base 2 of an N-bit integer in O(lg(N))  operations &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;  // 32-bit value to find the log2 of &lt;br /&gt;const unsigned int b[] = {0x2, 0xC, 0xF0, 0xFF00, 0xFFFF0000};&lt;br /&gt;const unsigned int S[] = {1, 2, 4, 8, 16};&lt;br /&gt;int i;&lt;br /&gt;&lt;br /&gt;register unsigned int r = 0; // result of log2(v) will go here&lt;br /&gt;for (i = 4; i &amp;gt;= 0; i--) // unroll for speed...&lt;br /&gt;{&lt;br /&gt;  if (v &amp;amp; b[i])&lt;br /&gt;  {&lt;br /&gt;    v &amp;gt;&amp;gt;= S[i];&lt;br /&gt;    r |= S[i];&lt;br /&gt;  } &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// OR (IF YOUR CPU BRANCHES SLOWLY):&lt;br /&gt;&lt;br /&gt;unsigned int v;	         // 32-bit value to find the log2 of &lt;br /&gt;register unsigned int r; // result of log2(v) will go here&lt;br /&gt;register unsigned int shift;&lt;br /&gt;&lt;br /&gt;r =     (v &amp;gt; 0xFFFF) &amp;lt;&amp;lt; 4; v &amp;gt;&amp;gt;= r;&lt;br /&gt;shift = (v &amp;gt; 0xFF  ) &amp;lt;&amp;lt; 3; v &amp;gt;&amp;gt;= shift; r |= shift;&lt;br /&gt;shift = (v &amp;gt; 0xF   ) &amp;lt;&amp;lt; 2; v &amp;gt;&amp;gt;= shift; r |= shift;&lt;br /&gt;shift = (v &amp;gt; 0x3   ) &amp;lt;&amp;lt; 1; v &amp;gt;&amp;gt;= shift; r |= shift;&lt;br /&gt;                                        r |= (v &amp;gt;&amp;gt; 1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// OR (IF YOU KNOW v IS A POWER OF 2):&lt;br /&gt;&lt;br /&gt;unsigned int v;  // 32-bit value to find the log2 of &lt;br /&gt;static const unsigned int b[] = {0xAAAAAAAA, 0xCCCCCCCC, 0xF0F0F0F0, &lt;br /&gt;                                 0xFF00FF00, 0xFFFF0000};&lt;br /&gt;register unsigned int r = (v &amp;amp; b[0]) != 0;&lt;br /&gt;for (i = 4; i &amp;gt; 0; i--) // unroll for speed...&lt;br /&gt;{&lt;br /&gt;  r |= ((v &amp;amp; b[i]) != 0) &amp;lt;&amp;lt; i;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Of course, to extend the code to find the log of a 33- to 64-bit number,  we would append another element, 0xFFFFFFFF00000000, to b, append 32 to S, and  loop from 5 to 0. This method is much slower than the earlier table-lookup  version, but if you don&#39;t want big table or your architecture is slow to access  memory, it&#39;s a good choice. The second variation involves slightly more  operations, but it may be faster on machines with high branch costs (e.g.  PowerPC).&lt;/p&gt;&lt;p&gt;The second version was sent to me by &lt;a href=&quot;http://www.balance-software.com/ec/&quot;&gt;Eric Cole&lt;/a&gt; on January 7, 2006.  Andrew Shapira subsequently trimmed a few operations off of it and sent me his  variation (above) on Sept. 1, 2007. The third variation was suggested to me by  &lt;a href=&quot;http://www.ece.ucdavis.edu/~jowens/&quot;&gt;John Owens&lt;/a&gt; on April 24, 2002;  it&#39;s faster, but &lt;em&gt;it is only suitable when the input is known to be a power  of 2&lt;/em&gt;. On May 25, 2003, Ken Raeburn suggested improving the general case by  using smaller numbers for b[], which load faster on some architectures (for  instance if the word size is 16 bits, then only one load instruction may be  needed). These values work for the general version, but not for the special-case  version below it, where v is a power of 2; Glenn Slayden brought this oversight  to my attention on December 12, 2003.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLogDeBruijn&quot;&gt;Find the log base 2 of an N-bit integer in  O(lg(N)) operations with multiply and lookup &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;uint32_t v; // find the log base 2 of 32-bit v&lt;br /&gt;int r;      // result goes here&lt;br /&gt;&lt;br /&gt;static const int MultiplyDeBruijnBitPosition[32] = &lt;br /&gt;{&lt;br /&gt;  0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, 18, 22, 25, 3, 30,&lt;br /&gt;  8, 12, 20, 28, 15, 17, 24, 7, 19, 27, 23, 6, 26, 5, 4, 31&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 1; // first round down to one less than a power of 2 &lt;br /&gt;v |= v &amp;gt;&amp;gt; 2;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 4;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 8;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 16;&lt;br /&gt;&lt;br /&gt;r = MultiplyDeBruijnBitPosition[(uint32_t)(v * 0x07C4ACDDU) &amp;gt;&amp;gt; 27];&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code above computes the log base 2 of a 32-bit integer with a small  table lookup and multiply. It requires only 13 operations, compared to (up to)  20 for the previous method. The purely table-based method requires the fewest  operations, but this offers a reasonable compromise between table size and  speed.&lt;/p&gt;&lt;p&gt;If you know that v is a power of 2, then you only need the following:&lt;/p&gt;&lt;pre&gt;static const int MultiplyDeBruijnBitPosition2[32] = &lt;br /&gt;{&lt;br /&gt;  0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8, &lt;br /&gt;  31, 27, 13, 23, 21, 19, 16, 7, 26, 12, 18, 6, 11, 5, 10, 9&lt;br /&gt;};&lt;br /&gt;r = MultiplyDeBruijnBitPosition2[(uint32_t)(v * 0x077CB531U) &amp;gt;&amp;gt; 27];&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Eric Cole devised this January 8, 2006 after reading about the entry below to  &lt;a&gt;round up to a power of 2&lt;/a&gt; and the method below for  &lt;a&gt;computing the number of trailing bits with a  multiply and lookup&lt;/a&gt; using a DeBruijn sequence. On December 10, 2009, Mark  Dickinson shaved off a couple operations by requiring v be rounded up to one  less than the next power of 2 rather than the power of 2.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLog10&quot;&gt;Find integer log base 10 of an integer &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // non-zero 32-bit integer value to compute the log base 10 of &lt;br /&gt;int r;          // result goes here&lt;br /&gt;int t;          // temporary&lt;br /&gt;&lt;br /&gt;static unsigned int const PowersOf10[] = &lt;br /&gt;    {1, 10, 100, 1000, 10000, 100000,&lt;br /&gt;     1000000, 10000000, 100000000, 1000000000};&lt;br /&gt;&lt;br /&gt;t = (IntegerLogBase2(v) + 1) * 1233 &amp;gt;&amp;gt; 12; // (use a lg2 method from above)&lt;br /&gt;r = t - (v &amp;lt; PowersOf10[t]);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The integer log base 10 is computed by first using one of the techniques  above for finding the log base 2. By the relationship log&lt;sub&gt;10&lt;/sub&gt;(v) =  log&lt;sub&gt;2&lt;/sub&gt;(v) / log&lt;sub&gt;2&lt;/sub&gt;(10), we need to multiply it by  1/log&lt;sub&gt;2&lt;/sub&gt;(10), which is approximately 1233/4096, or 1233 followed by a  right shift of 12. Adding one is needed because the IntegerLogBase2 rounds down.  Finally, since the value t is only an approximation that may be off by one, the  exact value is found by subtracting the result of v &amp;lt; PowersOf10[t].&lt;/p&gt;&lt;p&gt;This method takes 6 more operations than IntegerLogBase2. It may be sped up  (on machines with fast memory access) by modifying the log base 2 table-lookup  method above so that the entries hold what is computed for t (that is, pre-add,  -mulitply, and -shift). Doing so would require a total of only 9 operations to  find the log base 10, assuming 4 tables were used (one for each byte of v).&lt;/p&gt;&lt;p&gt;Eric Cole suggested I add a version of this on January 7, 2006.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLog10Obvious&quot;&gt;Find integer log base 10 of an integer the  obvious way &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // non-zero 32-bit integer value to compute the log base 10 of &lt;br /&gt;int r;          // result goes here&lt;br /&gt;&lt;br /&gt;r = (v &amp;gt;= 1000000000) ? 9 : (v &amp;gt;= 100000000) ? 8 : (v &amp;gt;= 10000000) ? 7 : &lt;br /&gt;    (v &amp;gt;= 1000000) ? 6 : (v &amp;gt;= 100000) ? 5 : (v &amp;gt;= 10000) ? 4 : &lt;br /&gt;    (v &amp;gt;= 1000) ? 3 : (v &amp;gt;= 100) ? 2 : (v &amp;gt;= 10) ? 1 : 0;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This method works well when the input is uniformly distributed over 32-bit  values because 76% of the inputs are caught by the first compare, 21% are caught  by the second compare, 2% are caught by the third, and so on (chopping the  remaining down by 90% with each comparision). As a result, less than 2.6  operations are needed on average.&lt;/p&gt;&lt;p&gt;On April 18, 2007, Emanuel Hoogeveen suggested a variation on this where the  conditions used divisions, which were not as fast as simple comparisons.&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLogFloat&quot;&gt;Find integer log base 2 of a 32-bit IEEE float &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;const float v; // find int(log2(v)), where v &amp;gt; 0.0 &amp;amp;&amp;amp; finite(v) &amp;amp;&amp;amp; isnormal(v)&lt;br /&gt;int c;         // 32-bit int c gets the result;&lt;br /&gt;&lt;br /&gt;c = *(const int *) &amp;amp;v;  // OR, for portability:  memcpy(&amp;amp;c, &amp;amp;v, sizeof c);&lt;br /&gt;c = (c &amp;gt;&amp;gt; 23) - 127;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The above is fast, but IEEE 754-compliant architectures utilize  &lt;em&gt;subnormal&lt;/em&gt; (also called &lt;em&gt;denormal&lt;/em&gt;) floating point numbers. These  have the exponent bits set to zero (signifying pow(2,-127)), and the mantissa is  not normalized, so it contains leading zeros and thus the log2 must be computed  from the mantissa. To accomodate for subnormal numbers, use the following:&lt;/p&gt;&lt;pre&gt;const float v;              // find int(log2(v)), where v &amp;gt; 0.0 &amp;amp;&amp;amp; finite(v)&lt;br /&gt;int c;                      // 32-bit int c gets the result;&lt;br /&gt;int x = *(const int *) &amp;amp;v;  // OR, for portability:  memcpy(&amp;amp;x, &amp;amp;v, sizeof x);&lt;br /&gt;&lt;br /&gt;c = x &amp;gt;&amp;gt; 23;          &lt;br /&gt;&lt;br /&gt;if (c)&lt;br /&gt;{&lt;br /&gt;  c -= 127;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{ // subnormal, so recompute using mantissa: c = intlog2(x) - 149;&lt;br /&gt;  register unsigned int t; // temporary&lt;br /&gt;  // Note that LogTable256 was defined &lt;a&gt;earlier&lt;/a&gt;&lt;br /&gt;  if (t = x &amp;gt;&amp;gt; 16)&lt;br /&gt;  {&lt;br /&gt;    c = LogTable256[t] - 133;&lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;    c = (t = x &amp;gt;&amp;gt; 8) ? LogTable256[t] - 141 : LogTable256[x] - 149;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;On June 20, 2004, Sean A. Irvine suggested that I include code to handle  subnormal numbers. On June 11, 2005, Falk H&amp;uuml;ffner pointed out that ISO C99 6.5/7  specified undefined behavior for the common type punning idiom *(int *)&amp;amp;,  though it has worked on 99.9% of C compilers. He proposed using memcpy for  maximum portability or a union with a float and an int for better code  generation than memcpy on some compilers.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;IntegerLogRootFloat&quot;&gt;Find integer log base 2 of the pow(2, r)-root of  a 32-bit IEEE float (for unsigned integer r) &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;const int r;&lt;br /&gt;const float v; // find int(log2(pow((double) v, 1. / pow(2, r)))), &lt;br /&gt;               // where isnormal(v) and v &amp;gt; 0&lt;br /&gt;int c;         // 32-bit int c gets the result;&lt;br /&gt;&lt;br /&gt;c = *(const int *) &amp;amp;v;  // OR, for portability:  memcpy(&amp;amp;c, &amp;amp;v, sizeof c);&lt;br /&gt;c = ((((c - 0x3f800000) &amp;gt;&amp;gt; r) + 0x3f800000) &amp;gt;&amp;gt; 23) - 127;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;So, if r is 0, for example, we have c = int(log2((double) v)). If r is 1,  then we have c = int(log2(sqrt((double) v))). If r is 2, then we have c =  int(log2(pow((double) v, 1./4))).&lt;/p&gt;&lt;p&gt;On June 11, 2005, Falk H&amp;uuml;ffner pointed out that ISO C99 6.5/7 left the type  punning idiom *(int *)&amp;amp; undefined, and he suggested using memcpy.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ZerosOnRightLinear&quot;&gt;Count the consecutive zero bits (trailing) on the  right linearly &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;  // input to count trailing zero bits&lt;br /&gt;int c;  // output: c will count v&#39;s trailing zero bits,&lt;br /&gt;        // so if v is 1101000 (base 2), then c will be 3&lt;br /&gt;if (v)&lt;br /&gt;{&lt;br /&gt;  v = (v ^ (v - 1)) &amp;gt;&amp;gt; 1;  // Set v&#39;s trailing 0s to 1s and zero rest&lt;br /&gt;  for (c = 0; v; c++)&lt;br /&gt;  {&lt;br /&gt;    v &amp;gt;&amp;gt;= 1;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;  c = CHAR_BIT * sizeof(v);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The average number of trailing zero bits in a (uniformly distributed)  random binary number is one, so this O(trailing zeros) solution isn&#39;t that bad  compared to the faster methods below.&lt;/p&gt;&lt;p&gt;Jim Cole suggested I add a linear-time method for counting the trailing zeros  on August 15, 2007. On October 22, 2007, Jason Cunningham pointed out that I had  neglected to paste the unsigned modifier for v.&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ZerosOnRightParallel&quot;&gt;Count the consecutive zero bits (trailing) on  the right in parallel &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;      // 32-bit word input to count zero bits on right&lt;br /&gt;unsigned int c = 32; // c will be the number of zero bits on the right&lt;br /&gt;v &amp;amp;= -signed(v);&lt;br /&gt;if (v) c--;&lt;br /&gt;if (v &amp;amp; 0x0000FFFF) c -= 16;&lt;br /&gt;if (v &amp;amp; 0x00FF00FF) c -= 8;&lt;br /&gt;if (v &amp;amp; 0x0F0F0F0F) c -= 4;&lt;br /&gt;if (v &amp;amp; 0x33333333) c -= 2;&lt;br /&gt;if (v &amp;amp; 0x55555555) c -= 1;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Here, we are basically doing the same operations as finding the log base 2  in parallel, but we first isolate the lowest 1 bit, and then proceed with c  starting at the maximum and decreasing. The number of operations is at most 3 *  lg(N) + 4, roughly, for N bit words.&lt;/p&gt;&lt;p&gt;Bill Burdick suggested an optimization, reducing the time from 4 * lg(N) on  February 4, 2011.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ZerosOnRightBinSearch&quot;&gt;Count the consecutive zero bits (trailing) on  the right by binary search &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;     // 32-bit word input to count zero bits on right&lt;br /&gt;unsigned int c;     // c will be the number of zero bits on the right,&lt;br /&gt;                    // so if v is 1101000 (base 2), then c will be 3&lt;br /&gt;// NOTE: if 0 == v, then c = 31.&lt;br /&gt;if (v &amp;amp; 0x1) &lt;br /&gt;{&lt;br /&gt;  // special case for odd v (assumed to happen half of the time)&lt;br /&gt;  c = 0;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;  c = 1;&lt;br /&gt;  if ((v &amp;amp; 0xffff) == 0) &lt;br /&gt;  {  &lt;br /&gt;    v &amp;gt;&amp;gt;= 16;  &lt;br /&gt;    c += 16;&lt;br /&gt;  }&lt;br /&gt;  if ((v &amp;amp; 0xff) == 0) &lt;br /&gt;  {  &lt;br /&gt;    v &amp;gt;&amp;gt;= 8;  &lt;br /&gt;    c += 8;&lt;br /&gt;  }&lt;br /&gt;  if ((v &amp;amp; 0xf) == 0) &lt;br /&gt;  {  &lt;br /&gt;    v &amp;gt;&amp;gt;= 4;&lt;br /&gt;    c += 4;&lt;br /&gt;  }&lt;br /&gt;  if ((v &amp;amp; 0x3) == 0) &lt;br /&gt;  {  &lt;br /&gt;    v &amp;gt;&amp;gt;= 2;&lt;br /&gt;    c += 2;&lt;br /&gt;  }&lt;br /&gt;  c -= v &amp;amp; 0x1;&lt;br /&gt;}	&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code above is similar to the previous method, but it computes the  number of trailing zeros by accumulating c in a manner akin to binary search. In  the first step, it checks if the bottom 16 bits of v are zeros, and if so,  shifts v right 16 bits and adds 16 to c, which reduces the number of bits in v  to consider by half. Each of the subsequent conditional steps likewise halves  the number of bits until there is only 1. This method is faster than the last  one (by about 33%) because the bodies of the if statements are executed less  often.&lt;/p&gt;&lt;p&gt;Matt Whitlock suggested this on January 25, 2006. Andrew Shapira shaved a  couple operations off on Sept. 5, 2007 (by setting c=1 and unconditionally  subtracting at the end).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ZerosOnRightFloatCast&quot;&gt;Count the consecutive zero bits (trailing) on  the right by casting to a float &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;            // find the number of trailing zeros in v&lt;br /&gt;int r;                     // the result goes here&lt;br /&gt;float f = (float)(v &amp;amp; -v); // cast the least significant bit in v to a float&lt;br /&gt;r = (*(uint32_t *)&amp;amp;f &amp;gt;&amp;gt; 23) - 0x7f;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Although this only takes about 6 operations, the time to convert an  integer to a float can be high on some machines. The exponent of the 32-bit IEEE  floating point representation is shifted down, and the bias is subtracted to  give the position of the least significant 1 bit set in v. If v is zero, then  the result is -127.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ZerosOnRightModLookup&quot;&gt;Count the consecutive zero bits (trailing) on  the right with modulus division and lookup &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;  // find the number of trailing zeros in v&lt;br /&gt;int r;           // put the result in r&lt;br /&gt;static const int Mod37BitPosition[] = // map a bit value mod 37 to its position&lt;br /&gt;{&lt;br /&gt;  32, 0, 1, 26, 2, 23, 27, 0, 3, 16, 24, 30, 28, 11, 0, 13, 4,&lt;br /&gt;  7, 17, 0, 25, 22, 31, 15, 29, 10, 12, 6, 0, 21, 14, 9, 5,&lt;br /&gt;  20, 8, 19, 18&lt;br /&gt;};&lt;br /&gt;r = Mod37BitPosition[(-v &amp;amp; v) % 37];&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code above finds the number of zeros that are trailing on the right,  so binary 0100 would produce 2. It makes use of the fact that the first 32 bit  position values are relatively prime with 37, so performing a modulus division  with 37 gives a unique number from 0 to 36 for each. These numbers may then be  mapped to the number of zeros using a small lookup table. It uses only 4  operations, however indexing into a table and performing modulus division may  make it unsuitable for some situations. I came up with this independently and  then searched for a subsequence of the table values, and found it was invented  earlier by Reiser, according to &lt;a href=&quot;http://www.hackersdelight.org/HDcode/ntz.c.txt&quot;&gt;Hacker&#39;s Delight&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ZerosOnRightMultLookup&quot;&gt;Count the consecutive zero bits (trailing) on  the right with multiply and lookup &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v;  // find the number of trailing zeros in 32-bit v &lt;br /&gt;int r;           // result goes here&lt;br /&gt;static const int MultiplyDeBruijnBitPosition[32] = &lt;br /&gt;{&lt;br /&gt;  0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8, &lt;br /&gt;  31, 27, 13, 23, 21, 19, 16, 7, 26, 12, 18, 6, 11, 5, 10, 9&lt;br /&gt;};&lt;br /&gt;r = MultiplyDeBruijnBitPosition[((uint32_t)((v &amp;amp; -v) * 0x077CB531U)) &amp;gt;&amp;gt; 27];&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Converting bit vectors to indices of set bits is an example use for this.  It requires one more operation than the earlier one involving modulus division,  but the multiply may be faster. The expression (v &amp;amp; -v) extracts the least  significant 1 bit from v. The constant 0x077CB531UL is a de Bruijn sequence,  which produces a unique pattern of bits into the high 5 bits for each possible  bit position that it is multiplied against. When there are no bits set, it  returns 0. More information can be found by reading the paper &lt;a href=&quot;http://citeseer.ist.psu.edu/leiserson98using.html&quot;&gt;Using de Bruijn  Sequences to Index 1 in a Computer Word&lt;/a&gt; by Charles E. Leiserson, Harald  Prokof, and Keith H. Randall.&lt;/p&gt;&lt;p&gt;On October 8, 2005 &lt;a href=&quot;http://onezero.org/&quot;&gt;Andrew Shapira&lt;/a&gt; suggested  I add this. Dustin Spicuzza asked me on April 14, 2009 to cast the result of the  multiply to a 32-bit type so it would work when compiled with 64-bit ints.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;RoundUpPowerOf2Float&quot;&gt;Round up to the next highest power of 2 by  float casting &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int const v; // Round this 32-bit value to the next highest power of 2&lt;br /&gt;unsigned int r;       // Put the result here. (So v=3 -&amp;gt; r=4; v=8 -&amp;gt; r=8)&lt;br /&gt;&lt;br /&gt;if (v &amp;gt; 1) &lt;br /&gt;{&lt;br /&gt;  float f = (float)v;&lt;br /&gt;  unsigned int const t = 1U &amp;lt;&amp;lt; ((*(unsigned int *)&amp;amp;f &amp;gt;&amp;gt; 23) - 0x7f);&lt;br /&gt;  r = t &amp;lt;&amp;lt; (t &amp;lt; v);&lt;br /&gt;}&lt;br /&gt;else &lt;br /&gt;{&lt;br /&gt;  r = 1;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code above uses 8 operations, but works on all v &amp;lt;= (1&amp;lt;&amp;lt;31).&lt;/p&gt;&lt;p&gt;Quick and dirty version, for domain of 1 &amp;lt; v &amp;lt; (1&amp;lt;&amp;lt;25):&lt;/p&gt;&lt;pre&gt;float f = (float)(v - 1);  &lt;br /&gt;r = 1U &amp;lt;&amp;lt; ((*(unsigned int*)(&amp;amp;f) &amp;gt;&amp;gt; 23) - 126);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Although the quick and dirty version only uses around 6 operations, it is  roughly three times slower than the &lt;a&gt;technique  below&lt;/a&gt; (which involves 12 operations) when benchmarked on an Athlon&amp;trade; XP 2100+  CPU. Some CPUs will fare better with it, though.&lt;/p&gt;&lt;p&gt;On September 27, 2005 Andi Smithers suggested I include a technique for  casting to floats to find the lg of a number for rounding up to a power of 2.  Similar to the quick and dirty version here, his version worked with values less  than (1&amp;lt;&amp;lt;25), due to mantissa rounding, but it used one more operation.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;RoundUpPowerOf2&quot;&gt;Round up to the next highest power of 2 &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned int v; // compute the next highest power of 2 of 32-bit v&lt;br /&gt;&lt;br /&gt;v--;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 1;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 2;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 4;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 8;&lt;br /&gt;v |= v &amp;gt;&amp;gt; 16;&lt;br /&gt;v++;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;In 12 operations, this code computes the next highest power of 2 for a  32-bit integer. The result may be expressed by the formula 1U &amp;lt;&amp;lt; (lg(v -  1) + 1). Note that in the edge case where v is 0, it returns 0, which isn&#39;t a  power of 2; you might append the expression v += (v == 0) to remedy this if it  matters. It would be faster by 2 operations to use the formula and the log base  2 methed that uses a lookup table, but in some situations, lookup tables are not  suitable, so the above code may be best. (On a Athlon&amp;trade; XP 2100+ I&#39;ve found the  above shift-left and then OR code is as fast as using a single BSR assembly  language instruction, which scans in reverse to find the highest set bit.) It  works by copying the highest set bit to all of the lower bits, and then adding  one, which results in carries that set all of the lower bits to 0 and one bit  beyond the highest set bit to 1. If the original number was a power of 2, then  the decrement will reduce it to one less, so that we round up to the same  original value.&lt;/p&gt;&lt;p&gt;You might alternatively compute the next higher power of 2 in only 8 or 9  operations using a lookup table for floor(lg(v)) and then evaluating  1&amp;lt;&amp;lt;(1+floor(lg(v))); Atul Divekar suggested I mention this on September 5,  2010.&lt;/p&gt;&lt;p&gt;Devised by Sean Anderson, Sepember 14, 2001. Pete Hart pointed me to &lt;a href=&quot;http://groups.google.com/group/comp.lang.python/browse_thread/thread/c4d3aae0df917df5/6fdae3872f9de79d?lnk=st&amp;amp;q=comp.lang.python+zeddy&amp;amp;rnum=6#6fdae3872f9de79d&quot;&gt;a  couple newsgroup posts&lt;/a&gt; by him and William Lewis in February of 1997, where  they arrive at the same algorithm.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;InterleaveTableObvious&quot;&gt;Interleave bits the obvious way &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;unsigned short x;   // Interleave bits of x and y, so that all of the&lt;br /&gt;unsigned short y;   // bits of x are in the even positions and y in the odd;&lt;br /&gt;unsigned int z = 0; // z gets the resulting Morton Number.&lt;br /&gt;&lt;br /&gt;for (int i = 0; i &amp;lt; sizeof(x) * CHAR_BIT; i++) // unroll for more speed...&lt;br /&gt;{&lt;br /&gt;  z |= (x &amp;amp; 1U &amp;lt;&amp;lt; i) &amp;lt;&amp;lt; i | (y &amp;amp; 1U &amp;lt;&amp;lt; i) &amp;lt;&amp;lt; (i + 1);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Interleaved bits (aka Morton numbers) are useful for linearizing 2D  integer coordinates, so x and y are combined into a single number that can be  compared easily and has the property that a number is usually close to another  if their x and y values are close.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;InterleaveTableLookup&quot;&gt;Interleave bits by table lookup &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;static const unsigned short MortonTable256[256] = &lt;br /&gt;{&lt;br /&gt;  0x0000, 0x0001, 0x0004, 0x0005, 0x0010, 0x0011, 0x0014, 0x0015, &lt;br /&gt;  0x0040, 0x0041, 0x0044, 0x0045, 0x0050, 0x0051, 0x0054, 0x0055, &lt;br /&gt;  0x0100, 0x0101, 0x0104, 0x0105, 0x0110, 0x0111, 0x0114, 0x0115, &lt;br /&gt;  0x0140, 0x0141, 0x0144, 0x0145, 0x0150, 0x0151, 0x0154, 0x0155, &lt;br /&gt;  0x0400, 0x0401, 0x0404, 0x0405, 0x0410, 0x0411, 0x0414, 0x0415, &lt;br /&gt;  0x0440, 0x0441, 0x0444, 0x0445, 0x0450, 0x0451, 0x0454, 0x0455, &lt;br /&gt;  0x0500, 0x0501, 0x0504, 0x0505, 0x0510, 0x0511, 0x0514, 0x0515, &lt;br /&gt;  0x0540, 0x0541, 0x0544, 0x0545, 0x0550, 0x0551, 0x0554, 0x0555, &lt;br /&gt;  0x1000, 0x1001, 0x1004, 0x1005, 0x1010, 0x1011, 0x1014, 0x1015, &lt;br /&gt;  0x1040, 0x1041, 0x1044, 0x1045, 0x1050, 0x1051, 0x1054, 0x1055, &lt;br /&gt;  0x1100, 0x1101, 0x1104, 0x1105, 0x1110, 0x1111, 0x1114, 0x1115, &lt;br /&gt;  0x1140, 0x1141, 0x1144, 0x1145, 0x1150, 0x1151, 0x1154, 0x1155, &lt;br /&gt;  0x1400, 0x1401, 0x1404, 0x1405, 0x1410, 0x1411, 0x1414, 0x1415, &lt;br /&gt;  0x1440, 0x1441, 0x1444, 0x1445, 0x1450, 0x1451, 0x1454, 0x1455, &lt;br /&gt;  0x1500, 0x1501, 0x1504, 0x1505, 0x1510, 0x1511, 0x1514, 0x1515, &lt;br /&gt;  0x1540, 0x1541, 0x1544, 0x1545, 0x1550, 0x1551, 0x1554, 0x1555, &lt;br /&gt;  0x4000, 0x4001, 0x4004, 0x4005, 0x4010, 0x4011, 0x4014, 0x4015, &lt;br /&gt;  0x4040, 0x4041, 0x4044, 0x4045, 0x4050, 0x4051, 0x4054, 0x4055, &lt;br /&gt;  0x4100, 0x4101, 0x4104, 0x4105, 0x4110, 0x4111, 0x4114, 0x4115, &lt;br /&gt;  0x4140, 0x4141, 0x4144, 0x4145, 0x4150, 0x4151, 0x4154, 0x4155, &lt;br /&gt;  0x4400, 0x4401, 0x4404, 0x4405, 0x4410, 0x4411, 0x4414, 0x4415, &lt;br /&gt;  0x4440, 0x4441, 0x4444, 0x4445, 0x4450, 0x4451, 0x4454, 0x4455, &lt;br /&gt;  0x4500, 0x4501, 0x4504, 0x4505, 0x4510, 0x4511, 0x4514, 0x4515, &lt;br /&gt;  0x4540, 0x4541, 0x4544, 0x4545, 0x4550, 0x4551, 0x4554, 0x4555, &lt;br /&gt;  0x5000, 0x5001, 0x5004, 0x5005, 0x5010, 0x5011, 0x5014, 0x5015, &lt;br /&gt;  0x5040, 0x5041, 0x5044, 0x5045, 0x5050, 0x5051, 0x5054, 0x5055, &lt;br /&gt;  0x5100, 0x5101, 0x5104, 0x5105, 0x5110, 0x5111, 0x5114, 0x5115, &lt;br /&gt;  0x5140, 0x5141, 0x5144, 0x5145, 0x5150, 0x5151, 0x5154, 0x5155, &lt;br /&gt;  0x5400, 0x5401, 0x5404, 0x5405, 0x5410, 0x5411, 0x5414, 0x5415, &lt;br /&gt;  0x5440, 0x5441, 0x5444, 0x5445, 0x5450, 0x5451, 0x5454, 0x5455, &lt;br /&gt;  0x5500, 0x5501, 0x5504, 0x5505, 0x5510, 0x5511, 0x5514, 0x5515, &lt;br /&gt;  0x5540, 0x5541, 0x5544, 0x5545, 0x5550, 0x5551, 0x5554, 0x5555&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;unsigned short x; // Interleave bits of x and y, so that all of the&lt;br /&gt;unsigned short y; // bits of x are in the even positions and y in the odd;&lt;br /&gt;unsigned int z;   // z gets the resulting 32-bit Morton Number.&lt;br /&gt;&lt;br /&gt;z = MortonTable256[y &amp;gt;&amp;gt; 8]   &amp;lt;&amp;lt; 17 | &lt;br /&gt;    MortonTable256[x &amp;gt;&amp;gt; 8]   &amp;lt;&amp;lt; 16 |&lt;br /&gt;    MortonTable256[y &amp;amp; 0xFF] &amp;lt;&amp;lt;  1 | &lt;br /&gt;    MortonTable256[x &amp;amp; 0xFF];&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;For more speed, use an additional table with values that are  MortonTable256 pre-shifted one bit to the left. This second table could then be  used for the y lookups, thus reducing the operations by two, but almost doubling  the memory required. Extending this same idea, four tables could be used, with  two of them pre-shifted by 16 to the left of the previous two, so that we would  only need 11 operations total.&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;Interleave64bitOps&quot;&gt;Interleave bits with 64-bit multiply&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;In  11 operations, this version interleaves bits of two bytes (rather than shorts,  as in the other versions), but many of the operations are 64-bit multiplies so  it isn&#39;t appropriate for all machines. The input parameters, x and y, should be  less than 256.&lt;/p&gt;&lt;pre&gt;unsigned char x;  // Interleave bits of (8-bit) x and y, so that all of the&lt;br /&gt;unsigned char y;  // bits of x are in the even positions and y in the odd;&lt;br /&gt;unsigned short z; // z gets the resulting 16-bit Morton Number.&lt;br /&gt;&lt;br /&gt;z = ((x * 0x0101010101010101ULL &amp;amp; 0x8040201008040201ULL) * &lt;br /&gt;     0x0102040810204081ULL &amp;gt;&amp;gt; 49) &amp;amp; 0x5555 |&lt;br /&gt;    ((y * 0x0101010101010101ULL &amp;amp; 0x8040201008040201ULL) * &lt;br /&gt;     0x0102040810204081ULL &amp;gt;&amp;gt; 48) &amp;amp; 0xAAAA;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Holger Bettag was inspired to suggest this technique on October 10, 2004  after reading the multiply-based bit reversals here.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;InterleaveBMN&quot;&gt;Interleave bits by Binary Magic Numbers &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;static const unsigned int B[] = {0x55555555, 0x33333333, 0x0F0F0F0F, 0x00FF00FF};&lt;br /&gt;static const unsigned int S[] = {1, 2, 4, 8};&lt;br /&gt;&lt;br /&gt;unsigned int x; // Interleave lower 16 bits of x and y, so the bits of x&lt;br /&gt;unsigned int y; // are in the even positions and bits from y in the odd;&lt;br /&gt;unsigned int z; // z gets the resulting 32-bit Morton Number.  &lt;br /&gt;                // x and y must initially be less than 65536.&lt;br /&gt;&lt;br /&gt;x = (x | (x &amp;lt;&amp;lt; S[3])) &amp;amp; B[3];&lt;br /&gt;x = (x | (x &amp;lt;&amp;lt; S[2])) &amp;amp; B[2];&lt;br /&gt;x = (x | (x &amp;lt;&amp;lt; S[1])) &amp;amp; B[1];&lt;br /&gt;x = (x | (x &amp;lt;&amp;lt; S[0])) &amp;amp; B[0];&lt;br /&gt;&lt;br /&gt;y = (y | (y &amp;lt;&amp;lt; S[3])) &amp;amp; B[3];&lt;br /&gt;y = (y | (y &amp;lt;&amp;lt; S[2])) &amp;amp; B[2];&lt;br /&gt;y = (y | (y &amp;lt;&amp;lt; S[1])) &amp;amp; B[1];&lt;br /&gt;y = (y | (y &amp;lt;&amp;lt; S[0])) &amp;amp; B[0];&lt;br /&gt;&lt;br /&gt;z = x | (y &amp;lt;&amp;lt; 1);&lt;br /&gt;&lt;/pre&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;ZeroInWord&quot;&gt;Determine if a word has a zero byte &lt;/a&gt;&lt;/h3&gt;&lt;pre&gt;// Fewer operations:&lt;br /&gt;unsigned int v; // 32-bit word to check if any 8-bit byte in it is 0&lt;br /&gt;bool hasZeroByte = ~((((v &amp;amp; 0x7F7F7F7F) + 0x7F7F7F7F) | v) | 0x7F7F7F7F);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code above may be useful when doing a fast string copy in which a word  is copied at a time; it uses 5 operations. On the other hand, testing for a null  byte in the obvious ways (which follow) have at least 7 operations (when counted  in the most sparing way), and at most 12.&lt;/p&gt;&lt;pre&gt;// More operations:&lt;br /&gt;bool hasNoZeroByte = ((v &amp;amp; 0xff) &amp;amp;&amp;amp; (v &amp;amp; 0xff00) &amp;amp;&amp;amp; (v &amp;amp; 0xff0000) &amp;amp;&amp;amp; (v &amp;amp; 0xff000000))&lt;br /&gt;// OR:&lt;br /&gt;unsigned char * p = (unsigned char *) &amp;amp;v;  &lt;br /&gt;bool hasNoZeroByte = *p &amp;amp;&amp;amp; *(p + 1) &amp;amp;&amp;amp; *(p + 2) &amp;amp;&amp;amp; *(p + 3);&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The code at the beginning of this section (labeled &quot;Fewer operations&quot;)  works by first zeroing the high bits of the 4 bytes in the word. Subsequently,  it adds a number that will result in an overflow to the high bit of a byte if  any of the low bits were initialy set. Next the high bits of the original word  are ORed with these values; thus, the high bit of a byte is set iff any bit in  the byte was set. Finally, we determine if any of these high bits are zero by  ORing with ones everywhere except the high bits and inverting the result.  Extending to 64 bits is trivial; simply increase the constants to be  0x7F7F7F7F7F7F7F7F.&lt;/p&gt;&lt;p&gt;For an additional improvement, a fast pretest that requires only 4 operations  may be performed to determine if the word &lt;em&gt;may&lt;/em&gt; have a zero byte. The  test also returns true if the high byte is 0x80, so there are occasional false  positives, but the slower and more reliable version above may then be used on  candidates for an overall increase in speed with correct output.&lt;/p&gt;&lt;pre&gt;bool hasZeroByte = ((v + 0x7efefeff) ^ ~v) &amp;amp; 0x81010100;&lt;br /&gt;if (hasZeroByte) // or may just have 0x80 in the high byte&lt;br /&gt;{&lt;br /&gt;  hasZeroByte = ~((((v &amp;amp; 0x7F7F7F7F) + 0x7F7F7F7F) | v) | 0x7F7F7F7F);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;There is yet a faster method &amp;mdash; use &lt;a&gt;&lt;code&gt;hasless&lt;/code&gt;&lt;/a&gt;(v, 1), which is defined below; it  works in 4 operations and requires no subsquent verification. It simplifies to&lt;/p&gt;&lt;pre&gt;bool hasZeroByte = (v - 0x01010101UL) &amp;amp; ~v &amp;amp; 0x80808080UL;&lt;/pre&gt;&lt;p&gt;The  subexpression (v - 0x01010101UL), evaluates to a high bit set in any byte  whenever the corresponding byte in v is zero or greater than 0x80. The  sub-expression ~v &amp;amp; 0x80808080UL evaluates to high bits set in bytes where  the byte of v doesn&#39;t have its high bit set (so the byte was less than 0x80).  Finally, by ANDing these two sub-expressions the result is the high bits set  where the bytes in v were zero, since the high bits set due to a value greater  than 0x80 in the first sub-expression are masked off by the second.&lt;/p&gt;&lt;p&gt;Paul Messmer suggested the fast pretest improvement on October 2, 2004. Juha  J&amp;auml;rvi later suggested hasless(v, 1) on April 6, 2005, which he found on &lt;a href=&quot;http://www.azillionmonkeys.com/qed/asmexample.html&quot;&gt;Paul Hsieh&#39;s Assembly  Lab&lt;/a&gt;; previously it was written in a newsgroup post on April 27, 1987 by Alan  Mycroft.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;#ValueInWord&quot;&gt;Determine if a word has a byte equal to n &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;We  may want to know if any byte in a word has a specific value. To do so, we can  XOR the value to test with a word that has been filled with the byte values in  which we&#39;re interested. Because XORing a value with itself results in a zero  byte and nonzero otherwise, we can pass the result to haszero.&lt;/p&gt;&lt;pre&gt;#define hasvalue(x,n) \&lt;br /&gt;(haszero((x) ^ (~0UL/255 * (n))))&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Stephen M Bennet suggested this on December 13, 2009 after reading the entry  for haszero.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;HasLessInWord&quot;&gt;Determine if a word has a byte less than n &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Test if a word x contains an unsigned byte with value &amp;lt; n.  Specifically for n=1, it can be used to find a 0-byte by examining one long at a  time, or any byte by XORing x with a mask first. Uses 4 arithmetic/logical  operations when n is constant.&lt;/p&gt;&lt;p&gt;Requirements: x&amp;gt;=0; 0&amp;lt;=n&amp;lt;=128&lt;/p&gt;&lt;pre&gt;#define hasless(x,n) (((x)-~0UL/255*(n))&amp;amp;~(x)&amp;amp;~0UL/255*128)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;To count the number of bytes in x that are less than n in 7 operations,  use&lt;/p&gt;&lt;pre&gt;#define countless(x,n) \&lt;br /&gt;(((~0UL/255*(127+(n))-((x)&amp;amp;~0UL/255*127))&amp;amp;~(x)&amp;amp;~0UL/255*128)/128%255)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Juha J&amp;auml;rvi sent this clever technique to me on April 6, 2005. The  &lt;code&gt;countless&lt;/code&gt; macro was added by Sean Anderson on April 10, 2005,  inspired by Juha&#39;s &lt;code&gt;countmore&lt;/code&gt;, below.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;HasMoreInWord&quot;&gt;Determine if a word has a byte greater than n &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Test if a word x contains an unsigned byte with value &amp;gt; n. Uses 3  arithmetic/logical operations when n is constant.&lt;/p&gt;&lt;p&gt;Requirements: x&amp;gt;=0; 0&amp;lt;=n&amp;lt;=127&lt;/p&gt;&lt;pre&gt;#define hasmore(x,n) (((x)+~0UL/255*(127-(n))|(x))&amp;amp;~0UL/255*128)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;To count the number of bytes in x that are more than n in 6 operations,  use:&lt;/p&gt;&lt;pre&gt;#define countmore(x,n) \&lt;br /&gt;(((((x)&amp;amp;~0UL/255*127)+~0UL/255*(127-(n))|(x))&amp;amp;~0UL/255*128)/128%255)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The macro &lt;code&gt;hasmore&lt;/code&gt; was suggested by Juha J&amp;auml;rvi on April 6, 2005,  and he added &lt;code&gt;countmore&lt;/code&gt; on April 8, 2005.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;HasBetweenInWord&quot;&gt;Determine if a word has a byte between m and n &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;When m&amp;nbsp;&amp;lt;&amp;nbsp;n, this technique tests if a word x contains an unsigned  byte value, such that m &amp;lt; value &amp;lt; n. It  uses 7 arithmetic/logical operations when n and m are constant.&lt;/p&gt;&lt;p&gt;Note: Bytes that equal n can be reported by &lt;code&gt;likelyhasbetween&lt;/code&gt; as  false positives, so this should be checked by character if a certain result is  needed.&lt;/p&gt;&lt;p&gt;Requirements: x&amp;gt;=0; 0&amp;lt;=m&amp;lt;=127; 0&amp;lt;=n&amp;lt;=128&lt;/p&gt;&lt;pre&gt;#define likelyhasbetween(x,m,n) \&lt;br /&gt;((((x)-~0UL/255*(n))&amp;amp;~(x)&amp;amp;((x)&amp;amp;~0UL/255*127)+~0UL/255*(127-(m)))&amp;amp;~0UL/255*128)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This technique would be suitable for a fast pretest. A variation that  takes one more operation (8 total for constant m and n) but provides the exact  answer is:&lt;/p&gt;&lt;pre&gt;#define hasbetween(x,m,n) \&lt;br /&gt;((~0UL/255*(127+(n))-((x)&amp;amp;~0UL/255*127)&amp;amp;~(x)&amp;amp;((x)&amp;amp;~0UL/255*127)+~0UL/255*(127-(m)))&amp;amp;~0UL/255*128)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;To count the number of bytes in x that are between m and n (exclusive) in  10 operations, use:&lt;/p&gt;&lt;pre&gt;#define countbetween(x,m,n) (hasbetween(x,m,n)/128%255)&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Juha J&amp;auml;rvi suggested &lt;code&gt;likelyhasbetween&lt;/code&gt; on April 6, 2005. From  there, Sean Anderson created &lt;code&gt;hasbetween&lt;/code&gt; and  &lt;code&gt;countbetween&lt;/code&gt; on April 10, 2005.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;&lt;h3&gt;&lt;a name=&quot;NextBitPermutation&quot;&gt;Compute the lexicographically next bit  permutation &lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Suppose we have a pattern of N bits set to 1 in an integer  and we want the next permutation of N 1 bits in a lexicographical sense. For  example, if N is 3 and the bit pattern is 00010011, the next patterns would be  00010101, 00010110, 00011001,00011010, 00011100, 00100011, and so forth. The  following is a fast way to compute the next permutation.&lt;/p&gt;&lt;pre&gt;unsigned int v; // current permutation of bits &lt;br /&gt;unsigned int w; // next permutation of bits&lt;br /&gt;&lt;br /&gt;unsigned int t = v | (v - 1); // t gets v&#39;s least significant 0 bits set to 1&lt;br /&gt;// Next set to 1 the most significant bit to change, &lt;br /&gt;// set to 0 the least significant ones, and add the necessary 1 bits.&lt;br /&gt;w = (t + 1) | (((~t &amp;amp; -~t) - 1) &amp;gt;&amp;gt; (__builtin_ctz(v) + 1));  &lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The __builtin_ctz(v) GNU C compiler intrinsic for x86 CPUs returns the  number of trailing zeros. If you are using Microsoft compilers for x86, the  intrinsic is _BitScanForward. These both emit a bsf instruction, but equivalents  may be available for other architectures. If not, then consider using one of the  methods for counting the consecutive zero bits mentioned earlier.&lt;/p&gt;&lt;p&gt;Here is another version that tends to be slower because of its division  operator, but it does not require counting the trailing zeros.&lt;/p&gt;&lt;pre&gt;unsigned int t = (v | (v - 1)) + 1;  &lt;br /&gt;w = t | ((((t &amp;amp; -t) / (v &amp;amp; -v)) &amp;gt;&amp;gt; 1) - 1);  &lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2011/07/bit-twiddling-hacks.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-679349856307737231</guid><pubDate>Wed, 20 Jul 2011 13:40:00 +0000</pubDate><atom:updated>2011-07-20T19:10:31.693+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET</category><title>Troubleshoot Office VSTO Addin</title><description>&lt;p&gt;If you want to troubleshoot VSTO addin then check following&lt;/p&gt;&lt;p&gt;&lt;a title=&quot;http://blogs.msdn.com/b/haahmadi/archive/2010/05/26/my-vsto-add-in-does-not-load.aspx&quot; href=&quot;http://blogs.msdn.com/b/haahmadi/archive/2010/05/26/my-vsto-add-in-does-not-load.aspx&quot; target=&quot;_blank&quot;&gt;http://blogs.msdn.com/b/haahmadi/archive/2010/05/26/my-vsto-add-in-does-not-load.aspx&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2011/07/troubleshoot-office-vsto-addin.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-3695366313063384579</guid><pubDate>Fri, 10 Dec 2010 09:26:00 +0000</pubDate><atom:updated>2010-12-10T14:56:13.561+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Inspiration</category><category domain="http://www.blogger.com/atom/ns#">Motivation</category><category domain="http://www.blogger.com/atom/ns#">Must Think</category><category domain="http://www.blogger.com/atom/ns#">Nice Mails</category><title>Importance of Appreciation</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;  &lt;p style=&#39;&#39; class=&#39;MsoNormal&#39;&gt;&lt;span style=&#39;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&#39;&gt;One young academically excellent person went to apply for a managerial&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;position in a big company.&lt;br/&gt;&lt;br/&gt;He passed the first interview, the director did the last interview, made&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;the last decision.&lt;br/&gt;&lt;br/&gt;The director discovered from the CV that the youth&#39;s academic&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;achievements were excellent all the way, from the secondary school&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;until the postgraduate research, never had a year when he did not&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;score.&lt;br/&gt;&lt;br/&gt;The director asked, &quot;Did you obtain any scholarships in school?&quot; the&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;youth answered &quot;none&quot;.&lt;br/&gt;&lt;br/&gt;The director asked, &quot; Was it your father who paid for your school&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;fees?&quot; The youth answered, &quot;My father passed away when I was one year&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;old, it was my mother who paid for my school fees.&lt;br/&gt;&lt;br/&gt;The director asked, &quot; Where did your mother work?&quot; The youth answered,&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;&quot;My mother worked as clothes cleaner. The director requested the youth&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;to show his hands. The youth showed a pair of hands that were smooth&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;and perfect.&lt;br/&gt;&lt;br/&gt;The director asked, &quot; Have you ever helped your mother wash the clothes&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;before?&quot; The youth answered, &quot;Never, my mother always wanted me to&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;study and read more books. Furthermore, my mother can wash clothes&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;faster than me.&lt;br/&gt;&lt;br/&gt;The director said, &quot;I have a request. When you go back today, go and&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;clean your mother&#39;s hands, and then see me tomorrow morning.*&lt;br/&gt;&lt;br/&gt;The youth felt that his chance of landing the job was high. When he&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;went back, he happily requested his mother to let him clean her hands.His mother felt strange, happy but with mixed feelings, she showed her&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;hands to the kid.&lt;br/&gt;&lt;br/&gt;The youth cleaned his mother&#39;s hands slowly. His tear fell as he did&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;that. It was the first time he noticed that his mother&#39;s hands were so&lt;br/&gt;wrinkled, and there were so many bruises in her hands. Some bruises&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;were so painful that his mother&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;shivered when they were cleaned with water.&lt;br/&gt;&lt;br/&gt;This was the first time the youth realized that it was this pair of&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;hands that washed the clothes everyday to enable him to pay the school&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;fee. The bruises in the mother&#39;s hands were the price that the mother&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;had to pay for his&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;graduation, academic excellence and his future.&lt;/span&gt;&lt;/p&gt;  &lt;p style=&#39;&#39; class=&#39;MsoNormal&#39;&gt;&lt;span style=&#39;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;&lt;span style=&#39;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&#39;&gt;&lt;br/&gt;After finishing the cleaning of his mother hands, the youth quietly&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;washed all the remaining clothes for his mother.&lt;br/&gt;&lt;br/&gt;That night, mother and son talked for a very long time.&lt;br/&gt;&lt;br/&gt;Next morning, the youth went to the director&#39;s office.&lt;br/&gt;&lt;br/&gt;The Director noticed the tears in the youth&#39;s eyes, asked: &quot; Can you tell me&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;what have you done and learned yesterday in your house?&quot;&lt;br/&gt;&lt;br/&gt;The youth answered, &quot; I cleaned my mother&#39;s hand, and also finished&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;cleaning all the remaining clothes&#39;&lt;br/&gt;&lt;br/&gt;The Director asked, &quot; please tell me your feelings.&quot;&lt;br/&gt;&lt;br/&gt;The youth said, Number 1, I know now what appreciation is. Without my&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;Mother, there would not the successful me today. Number 2, by working&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;together and helping my mother, only I now realize how difficult and&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;tough it is to get something done. Number 3, I have come to appreciate&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;the importance and value of family relationship.&lt;br/&gt;&lt;br/&gt;The director said, &quot;This is what I am looking for to be my manager.&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;I want to recruit a person who can appreciate the help of others, a&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;person who knows the &lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt;o&lt;/span&gt;fferings of&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;others to get things done, and a person who would not put money as his&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;only goal in life. You are hired.&lt;br/&gt;&lt;br/&gt;Later on, this young person worked very hard, and received the respect&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;of his subordinates. Every employee worked diligently and as a team.&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;The company&#39;s performance improved tremendously.&lt;br/&gt;&lt;br/&gt;A child, who has been protected and habitually given whatever he&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;wanted, would develop &quot;entitlement mentality&quot; and would always put&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;himself first. He would be ignorant of his parent&#39;s efforts. When he&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;starts work, he assumes that every person must listen to him, and when&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;he becomes a manager, he would never know the sufferings of his&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;employees and would always blame others. For this kind of people, who&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;may be good academically, may be successful for a while, but&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;eventually would not feel sense of achievement. He will grumble and be&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;full of hatred and fight for more. If we are this kind of protective&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;parents, are we really showing love or are we destroying the kid&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;instead?*&lt;br/&gt;&lt;br/&gt;You can let your kid live in a big house, eat a good meal, learn&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;piano, watch a big screen TV. But when you are cutting grass, please&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;let them experience it. After a meal, let them wash their plates and&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;bowls together with their brothers and sisters. It is not because you&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;do not have money to hire a maid, but it is because you want to love&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;them in a right way. You want them to understand, no matter how rich&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;their parents are, one day their hair will grow gray, same as the&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;mother of that young person. The most important thing is your kid&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;learns how to appreciate the effort and experience the difficulty and&lt;span style=&#39;color: rgb(31, 73, 125);&#39;&gt; &lt;/span&gt;learns the ability to work with others to get things done.&lt;/span&gt;&lt;/p&gt;  &lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=e9ed1990-1b6b-8cec-be21-049ea71c5f3e&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/12/importance-of-appreciation.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-744978795039354844</guid><pubDate>Sat, 04 Dec 2010 06:35:00 +0000</pubDate><atom:updated>2010-12-04T12:05:53.867+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Microsoft</category><category domain="http://www.blogger.com/atom/ns#">Tricks</category><title>Remove Thinkpoint</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;If your system is infected by thinkpoint &lt;br/&gt;Use following links to remove it.&lt;br/&gt;&lt;a href=&#39;http://deletemalware.blogspot.com/2010/10/how-to-remove-thinkpoint-uninstall.html&#39; target=&#39;_blank&#39;&gt;http://www.bleepingcomputer.com/virus-removal/remove-thinkpoint&lt;/a&gt;&lt;br/&gt;&lt;a href=&#39;http://deletemalware.blogspot.com/2010/10/how-to-remove-thinkpoint-uninstall.html&#39; target=&#39;_blank&#39;&gt;http://deletemalware.blogspot.com/2010/10/how-to-remove-thinkpoint-uninstall.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=104a908a-4f0d-8804-b446-30aba3261639&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/12/remove-thinkpoint.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-2738402165896900178</guid><pubDate>Wed, 01 Dec 2010 09:36:00 +0000</pubDate><atom:updated>2010-12-01T15:06:55.299+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Issues</category><category domain="http://www.blogger.com/atom/ns#">Tricks</category><title>Moving your Windows Installer Directory</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;&lt;span style=&#39;&#39;&gt;&lt;ol&gt;&lt;li&gt;Download Junction from &lt;a href=&#39;http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx&#39;&gt;http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Copy OR move C:\windows\installer to F:\installer&lt;/li&gt;&lt;li&gt;Delete all the files in C:\windows\installer&lt;/li&gt;&lt;li&gt;Close all your Explorer windows&lt;/li&gt;&lt;li&gt;Run &amp;gt; cmd&amp;gt; C:\junction C:\WINDOWS\Installer F:\installer&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=338b4f2e-75f7-8102-aefa-048369a35e3e&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/12/moving-your-windows-installer-directory.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-6506127278710748196</guid><pubDate>Thu, 11 Nov 2010 09:33:00 +0000</pubDate><atom:updated>2010-11-11T15:03:43.559+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET</category><category domain="http://www.blogger.com/atom/ns#">Coding</category><category domain="http://www.blogger.com/atom/ns#">Microsoft</category><category domain="http://www.blogger.com/atom/ns#">Visual Studio</category><title>SharePoint 2010 Product key</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;Product Keys.&lt;br/&gt;&lt;br/&gt;SharePoint Server 2010 Enterprise Client Access License Features: GGDG8-JCMXH-8KG8C-RJYYX-3Y33H&lt;br/&gt;SharePoint Server 2010 for Internet Sites, Enterprise: 9FPGB-W6QTT-G68T4-TBX7M-R624H&lt;br/&gt;SharePoint Server 2010 Standard Client Access License Features: KB443-F7CJV-J2RP4-QYQJ7-6PBB3&lt;br/&gt;SharePoint Server 2010 for Internet Sites, Standard: H4P2T-CYKM7-9FKKD-DTQ7X-W69GG&lt;br/&gt;&lt;br/&gt;&lt;a href=&#39;SharePoint%20Server%202010%20Enterprise%20Client%20Access%20License%20Features:%20GGDG8-JCMXH-8KG8C-RJYYX-3Y33H%20SharePoint%20Server%202010%20for%20Internet%20Sites,%20Enterprise:%209FPGB-W6QTT-G68T4-TBX7M-R624H%20SharePoint%20Server%202010%20Standard%20Client%20Access%20License%20Features:%20KB443-F7CJV-J2RP4-QYQJ7-6PBB3%20SharePoint%20Server%202010%20for%20Internet%20Sites,%20Standard:%20H4P2T-CYKM7-9FKKD-DTQ7X-W69GG%20%20http://technet.microsoft.com/en-us/evalcenter/ee391660.aspx&#39; target=&#39;_blank&#39;&gt;http://technet.microsoft.com/en-us/evalcenter/ee391660.aspx&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/11/sharepoint-2010-product-key.html</link><author>noreply@blogger.com (Jay)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-5305790040393264804</guid><pubDate>Wed, 10 Nov 2010 13:26:00 +0000</pubDate><atom:updated>2010-11-10T18:56:50.585+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET</category><category domain="http://www.blogger.com/atom/ns#">Events</category><category domain="http://www.blogger.com/atom/ns#">Visual Studio</category><title>An exclusive series of Live webcasts on VS2010 ALM and Windows Phone 7 by PUG</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;&lt;table align=&#39;center&#39;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&#39;width: 626px; font-family: Verdana; text-align: center;&#39;&gt;Get ready to   		accelerate your learning with guidance from experts.&lt;br/&gt;		Check out the practical examples and learn to compute , develop and  		build applications  with various Microsoft technologies , the easy  		way.&lt;br/&gt;		&lt;br/&gt;		&lt;span style=&#39;color: rgb(0, 102, 153);&#39;&gt; 		&lt;strong&gt;Pune User Group&lt;/strong&gt;&lt;/span&gt; is coming up with a new  program &lt;br/&gt;		&quot;&lt;strong style=&#39;color: rgb(0, 102, 153);&#39;&gt;Live Webcasts&lt;/strong&gt;&quot;, an online event where professionals can view &lt;br/&gt;		series of webcasts on latest Microsoft Technologies.&lt;br/&gt;		&lt;br/&gt;		To be a part of series , all you need to do is  register and attend  		the event online. &lt;br/&gt;		&lt;br/&gt;		&lt;/td&gt; 	&lt;/tr&gt; 	&lt;tr&gt; 		&lt;td style=&#39;width: 626px; font-family: Verdana;&#39;&gt; 	 		&lt;table cellspacing=&#39;0&#39; cellpadding=&#39;0&#39; border=&#39;1&#39; style=&#39;width: 100%; border: thin solid rgb(153, 153, 153); margin-top: 30px;&#39;&gt; 		&lt;tbody&gt;&lt;tr&gt; 				&lt;td style=&#39;padding-bottom: 10px; text-align: center;&#39; colspan=&#39;3&#39;&gt;	 				&lt;span style=&#39;margin-top: 30px; color: rgb(51, 51, 51);&#39;&gt;&lt;strong&gt;Upcoming  				Webcasts Series&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt; &lt;/td&gt; 				 			&lt;/tr&gt;  			&lt;tr style=&#39;padding-top: 10px; background-color: rgb(240, 240, 240);&#39;&gt; 				&lt;td style=&#39;width: 203px;&#39;&gt;&lt;strong&gt;&lt;span style=&#39;color: rgb(102, 102, 102);&#39;&gt;Webcast Session Topic&lt;/span&gt; &lt;/strong&gt; &lt;/td&gt; &lt;td style=&#39;width: 120px;&#39;&gt;&lt;strong&gt;&lt;span style=&#39;color: rgb(102, 102, 102);&#39;&gt;Speaker&lt;/span&gt; &lt;/strong&gt; &lt;/td&gt; 				&lt;td&gt;&lt;strong&gt;&lt;span style=&#39;color: rgb(102, 102, 102);&#39;&gt;Register Link&lt;/span&gt; &lt;/strong&gt; &lt;/td&gt; 			&lt;/tr&gt; 			&lt;tr style=&#39;padding-top: 10px;&#39;&gt; 				&lt;td style=&#39;padding-bottom: 10px; width: 203px;&#39;&gt;Visual Studio Application LifeCycle Management&lt;/td&gt; 				&lt;td style=&#39;padding: 5px; width: 120px;&#39;&gt;Gouri Sohoni&lt;/td&gt; 				&lt;td&gt; 				&lt;a target=&#39;_blank&#39; href=&#39;https://www311.livemeeting.com/lrs/0000000379_116/Registration.aspx?PageName=9qwx680k62p4r24p&#39;&gt;  				Click here to register for VS ALM series webcasts&lt;/a&gt;&lt;/td&gt; 			&lt;/tr&gt; 			&lt;tr&gt; 				&lt;td style=&#39;width: 203px;&#39;&gt;Windows Phone 7&lt;/td&gt; 				&lt;td style=&#39;padding: 5px; width: 120px;&#39;&gt;Mayur Tendulkar&lt;/td&gt; 				&lt;td&gt; 				&lt;a target=&#39;_blank&#39; href=&#39;https://www311.livemeeting.com/lrs/0000000379_116/Registration.aspx?pageName=chcqtccgxxfhft18&#39;&gt; 				Click here to register for Windows Phone 7 series webcasts&lt;/a&gt;&lt;/td&gt; 			&lt;/tr&gt; 		&lt;/tbody&gt;&lt;/table&gt; 		&lt;/td&gt; 	&lt;/tr&gt; 	&lt;tr&gt; 	&lt;td style=&#39;font-family: Verdana; text-align: center;&#39;&gt; 	&lt;br/&gt;	&lt;br/&gt;	&lt;br/&gt;	For more information Log on to :  	 	 	&lt;br/&gt;	&lt;br/&gt;	&lt;span&gt; 	&lt;a target=&#39;_blank&#39; href=&#39;http://www.puneusergroup.org/live-webcasts.aspx&#39;&gt; 	http://www.puneusergroup.org/&lt;wbr/&gt;live-webcasts.aspx&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; 	&lt;tr&gt; 	 	&lt;td style=&#39;width: 626px; font-family: Verdana; text-align: right; margin-top: 30px; padding-top: 30px; text-decoration: none;&#39;&gt;© 2010 Pune User Group. All rights reserved. 	&lt;a target=&#39;_blank&#39; style=&#39;text-decoration: none; border-width: 0px;&#39; href=&#39;http://www.puneusergroup.org/&#39;&gt; 	&lt;img width=&#39;160&#39; height=&#39;79&#39; style=&#39;text-align: right; margin-left: 20px; border-width: 0px;&#39; src=&#39;http://www.puneusergroup.org/events/webcasts/edm/Images/PUG_Logo.png&#39; alt=&#39;Pune User Group&#39;/&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=e830a42c-dff2-82d6-8dc2-653d1750dd8a&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/11/exclusive-series-of-live-webcasts-on.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-5309517623942455157</guid><pubDate>Thu, 04 Nov 2010 07:51:00 +0000</pubDate><atom:updated>2010-11-04T13:21:43.605+05:30</atom:updated><title>Collaboration tool for web developers</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;&lt;a href=&#39;http://amicollaborate.com/&#39;&gt;Collaboration tool for web developers | amiCollaborate&lt;/a&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;a href=&#39;http://amicollaborate.com/&#39;&gt;&lt;img id=&#39;logo&#39; src=&#39;http://amicollaborate.com/logo.png&#39;/&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;amiCollaborate allows web developers to collaborate on projects in the context of webpage they are working on. &lt;/blockquote&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=0bb7c018-9fef-8dcc-80b6-487cc165d37b&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/11/collaboration-tool-for-web-developers.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-5581449021535924040</guid><pubDate>Mon, 26 Jul 2010 11:50:00 +0000</pubDate><atom:updated>2010-07-26T17:20:10.823+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">sp vs function</category><category domain="http://www.blogger.com/atom/ns#">sql server</category><category domain="http://www.blogger.com/atom/ns#">stored procedure vs function</category><title>Stored procedure vs function</title><description>&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Difference between stored procedure and function&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: black; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;color: brown; font-family: Trebuchet MS;&quot;&gt;1&amp;gt;Procedure can return zero  or n values whereas function can return one value which is mandatory.&lt;br /&gt;
&lt;br /&gt;
2&amp;gt;Procedures  can have input,output parameters for it whereas functions can have only  input parameters.&lt;br /&gt;
&lt;br /&gt;
3&amp;gt;Procedure allow select as well as DML  statement in it whereas function allow only select statement in it.&lt;br /&gt;
&lt;br /&gt;
4&amp;gt;Functions  can be called from procedure whereas procedures cannot be called from  function.&lt;br /&gt;
&lt;br /&gt;
5&amp;gt;Exception can be handled by try-catch block in a  procedure whereas try-catch block cannot be used in a function.&lt;br /&gt;
&lt;br /&gt;
6&amp;gt;We  can go for transaction management in procedure whereas we can&#39;t go in  function.&lt;br /&gt;
&lt;br /&gt;
7&amp;gt;Procedures can not be utilized in a select  statement whereas function can be embedded in a select statement.&lt;/span&gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt; &lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/07/stored-procedure-vs-function.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-1750879962147513228</guid><pubDate>Thu, 08 Jul 2010 10:21:00 +0000</pubDate><atom:updated>2010-07-08T15:51:22.956+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET</category><category domain="http://www.blogger.com/atom/ns#">Coding</category><title>Code to read config file in Web and WIndows app</title><description>If you want to read the config file from your app regardless of Web or Windows&lt;br /&gt;
check this post&lt;br /&gt;
&lt;br /&gt;
http://forums.asp.net/t/1155900.aspx&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/07/code-to-read-config-file-in-web-and.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-6684781023667594401</guid><pubDate>Fri, 02 Jul 2010 06:35:00 +0000</pubDate><atom:updated>2010-07-02T12:05:40.994+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Firefox</category><title>Firefox Addons Part-1</title><description>&lt;table class=&quot;confluenceTable&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th class=&quot;confluenceTh&quot;&gt;Extension Name &lt;/th&gt; &lt;th class=&quot;confluenceTh&quot;&gt; Why it is valuable &lt;/th&gt; &lt;th class=&quot;confluenceTh&quot;&gt; Rate It &lt;/th&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://accessibar.mozdev.org/index.html&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside
 WikiCentral&quot;&gt;&lt;b&gt;Accessibar&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Aims at providing various accessibility  features for users who could benefit from them. These features primarily  focus on the &lt;b&gt;dynamic manipulation of the visual display&lt;/b&gt; of the  web page in addition to the &lt;span style=&quot;color: green;&quot;&gt;&lt;b&gt;integration of a text  to speech reader which can read out loud the browser&#39;s user interface  as well as web page content&lt;/b&gt;&lt;/span&gt;. &lt;br clear=&quot;all&quot; /&gt;  &lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;http://accessibar.mozdev.org/accessibar.png&quot; /&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext1&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_0_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_0_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_0_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_0_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_0_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 1 user&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/extensions/moreinfo.php?id=1865&amp;amp;application=firefox&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;&lt;b&gt;Adblock Plus&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Allows the user to specify filters, which  remove unwanted content. Right-click on a banner and choose &quot;Adblock&quot;  from the context menu - the banner won&#39;t be downloaded again. Or open  Adblock Plus sidebar to see all elements of the page and block the  banners. You can use filters with wildcards or even regular expressions  to block complete banner factories. A nice starter filter set can be  found &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://techlab.rtp.raleigh.ibm.com/browser/Mozilla-Firefox/extensions15/adPlus-filter3-19-06.txt&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;here&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext2&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_1_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_1_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_1_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_1_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_1_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 11 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://mozilla.queze.net/&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;&lt;b&gt;Add Links and Forms back to page info in Firefox 3&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt;&lt;ol&gt;&lt;li&gt;Firefox users concerned by privacy and who want to know what is  loaded, from which servers... View Dependencies can be used to know URLs  and hostnames that should be blocked (for example to remove  advertisings from websites).&lt;/li&gt;
&lt;li&gt;Web developers who want to see how a page is composed, the page  size, etc.&lt;/li&gt;
&lt;/ol&gt;&lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext3&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_2_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_2_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_2_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_2_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_2_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 1 user&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/8004&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;Chroma Tabs Plus&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Makes tabs more readily identifiable by  tinting each tab a different color depending on the website loaded &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext8&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_7_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_7_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_7_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_7_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_7_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 1 user&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/firefox/1002/&quot; rel=&quot;nofollow&quot; title=&quot;Visit page 
outside WikiCentral&quot;&gt;&lt;b&gt;Codetch&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; - Get the feel of &lt;span style=&quot;color: green;&quot;&gt;&lt;b&gt;Dreamweaver  in a Firefox extension&lt;/b&gt;&lt;/span&gt;. Edit your documents right next to  your web pages as you surf. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext4&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_3_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_3_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_3_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_3_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_3_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;unrated&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/5914/&quot; rel=&quot;nofollow&quot; title=&quot;Visit
 page outside WikiCentral&quot;&gt;&lt;b&gt;DNS Cache&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://addons.mozilla.org/en-US/firefox/images/addon_icon/5914/1275610051&quot; /&gt; Allows you to disable and enable the DNS  Cache of Firefox.  Very handy when working via VPN and your ISP has a  habit of hijacking intranet addresses. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/433&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;Flashblock&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://addons.mozilla.org/en-US/firefox/images/addon_icon/433/1275607912&quot; /&gt; Never be annoyed by a Flash animation  again! Blocks Flash so it won&#39;t get in your way, but if you want to see  it, just click on... &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext14&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_13_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_13_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_13_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_13_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_13_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 2 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://www.getfirebug.com/&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;&lt;b&gt;Firebug&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Integrates with Firefox to put a wealth of  development tools at your fingertips while you browse. You can &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;edit, debug, and monitor CSS, HTML, and JavaScript&lt;/b&gt;&lt;/span&gt;  live in any web page &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext6&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_5_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_5_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_5_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_5_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_5_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 5 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/5648?src=api&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;&lt;b&gt;FireShot&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; FireShot is a Firefox extension that creates  screenshots of web pages (entirely or just visible part). &lt;ul&gt;&lt;li&gt;Provides a set of editing and annotation tools, which let users  quickly modify web captures and insert text annotations and graphical  annotations. Such functionality will be especially useful for web  designers, testers and content reviewers. See also &quot;Pearl Crescent  Screen Saver Basic&quot; below.&lt;/li&gt;
&lt;/ul&gt;&lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext5&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_4_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_4_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_4_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_4_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_4_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 3 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://fireftp.mozdev.org/&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;&lt;b&gt;FireFTP&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; A free, secure, &lt;span style=&quot;color: green;&quot;&gt;&lt;b&gt;cross-platform  FTP client&lt;/b&gt;&lt;/span&gt; for Mozilla Firefox which provides easy and  intuitive access to FTP servers. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext7&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_6_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_6_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_6_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_6_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_6_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 3 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/748&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;Greasemonkey&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Allows you to customize the way a webpage  displays using small bits of JavaScript. This extension is not for the  faint of heart: however, if you&#39;re up for it, there are a large number  of these &quot;bits of Javascript&quot; available to make browsing even easier.  Writing the &quot;bits of Javascript&quot; requires a software developer, but is  pretty easy. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;a href=&quot;http://w3.tap.ibm.com/w3ki/display/Fx/Greasemonkey&quot; title=&quot;Greasemonkey&quot;&gt;Greasemonky&lt;/a&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/1419&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;IE Tab&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;br clear=&quot;all&quot; /&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/10909/&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;&lt;b&gt;IE Tab Plus  (formerly Coral IE Tab)&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;br clear=&quot;all&quot; /&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/92382&quot; rel=&quot;nofollow&quot; title=&quot;Visit
 page outside WikiCentral&quot;&gt;&lt;b&gt;IE Tab 2&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;br clear=&quot;all&quot; /&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/35&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;IE View&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Runs an Internet Explorer application or site  from within a tab in Firefox. Use IE Tab Options to define the sites  that only work in IE. Currently, IE Tab is packaged in Firefox v3.5 on  ISSI for ECM users. CRM Siebel users should use IE View instead. IE Tab  Plus (formerly Coral IE Tab) will replace IE Tab when Firefox v3.6.x  goes on ISSI. IE Tab 2 is compatible with FF 3.6 &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext12&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_11_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_11_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_11_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_11_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_11_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 4 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/6984&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;Lazarus&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; A form recovery extension which securely  auto-saves all forms as you type, so after a crash, server timeout, or  whatever, you can go back to the form, right click, &quot;recover form&quot;, and  breathe a sigh of relief. If you use Lotus Connections this is a real  lifesaver!! &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext9&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_8_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_8_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_8_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_8_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_8_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 2 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/722&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;NoScript&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Allows JavaScript, Java and other executable  content to &lt;b&gt;run only from trusted domains&lt;/b&gt; of your choice, e.g.  your home-banking web site, and guards the &quot;trust boundaries&quot; against  cross-site scripting attacks (XSS). &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext10&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_9_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_9_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_9_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_9_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_9_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-half.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 6 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://livehttpheaders.mozdev.org/&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside 
WikiCentral&quot;&gt;&lt;b&gt;Live HTTP Headers&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://addons.mozilla.org/en-US/firefox/images/addon_icon/3829/1275607946&quot; /&gt; Allows you to display http headers in  real time (while pages are being downloaded from the Internet). &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext11&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_10_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_10_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_10_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_10_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_10_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-half.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 4 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/4106&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;Operator&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Leverages microformats and other semantic data  that are already available on many web pages to provide new ways to  interact with web services. Web developers can use Operator to debug  microformats! The rest of us can fill our address books without typing  while surfing Blog Central or most social networking spaces. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext13&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_12_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_12_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_12_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_12_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_12_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 1 user&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/10367&quot; rel=&quot;nofollow&quot; title=&quot;Visit
 page outside WikiCentral&quot;&gt;&lt;b&gt;Pearl Crescent Page Saver  basic&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Quick and easy screen print of your browser  page. This is a basic screen save with no added frills. Note that there  is a &quot;professional&quot; version that costs money. I haven&#39;t used FireShot  (see above), so I cannot compare which one is better. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext16&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_15_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_15_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_15_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_15_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_15_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 1 user&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/5817/&quot; rel=&quot;nofollow&quot; title=&quot;Visit
 page outside WikiCentral&quot;&gt;&lt;b&gt;SQLite Manager&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://addons.mozilla.org/en-US/firefox/images/addon_icon/5817/1276316779&quot; /&gt; Primarily for developers.  This extension  provides a XUL interface to the SQLite databases that Firefox uses. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://www.stumbleupon.com/&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside 
WikiCentral&quot;&gt;&lt;b&gt;StumbleUpon&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Discovers Web sites based on your interests,  learns what you like, and brings you more. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext17&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_16_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_16_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_16_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_16_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-half.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_16_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 3 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://addons.mozilla.org/extensions/moreinfo.php?id=315&quot; rel=&quot;nofollow&quot; title=&quot;Visit page outside WikiCentral&quot;&gt;&lt;b&gt;View Cookies&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://addons.mozilla.org/en-US/firefox/images/addon_icon/315/1275608314&quot; /&gt; Adds a tab to the Page Info dialog box,  which shows the cookies of the current webpage. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext18&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_17_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_17_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_17_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_17_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_17_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-empty.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 2 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;b&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;http://chrispederick.com/work/firefox/webdeveloper/&quot; rel=&quot;nofollow&quot; title=&quot;Visit 
page outside WikiCentral&quot;&gt;&lt;b&gt;Web Developer&lt;/b&gt;&lt;sup&gt;&lt;img align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot; class=&quot;rendericon&quot; height=&quot;7&quot; src=&quot;http://w3.tap.ibm.com/w3ki/images/icons/linkext7.gif&quot; width=&quot;7&quot; /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt; &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; Adds a menu and a toolbar to the browser with  various web developer tools. Configurable and contains many powerful  features, including CSS manipulation, multiple validation options and  tools to display information about the current page. &lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt; &lt;span id=&quot;ext20&quot;&gt;&lt;nobr&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_19_1&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 1 star&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_19_2&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 2 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_19_3&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 3 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_19_4&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 4 stars&quot; width=&quot;14&quot; /&gt;&lt;img height=&quot;12&quot; id=&quot;__ERating_19_5&quot; src=&quot;http://w3.ibm.com/ui/v8/images/icon-rated-full.gif&quot; style=&quot;border: medium none; cursor: pointer; margin: 0px; padding: 0px;&quot; title=&quot;Click to rate 5 stars&quot; width=&quot;14&quot; /&gt;&lt;/nobr&gt; &lt;nobr&gt;by 2 users&lt;/nobr&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class=&quot;confluenceTd&quot;&gt;&amp;nbsp;&lt;/td&gt; &lt;td class=&quot;confluenceTd&quot;&gt;&lt;br /&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/07/firefox-addons-part-1.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-7909928132290818852</guid><pubDate>Thu, 01 Jul 2010 07:14:00 +0000</pubDate><atom:updated>2010-07-01T12:44:11.972+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Firefox</category><title>Firefox 4 launched :)</title><description>Mozilla has quietly posted the first “candidate build” for the Beta 1 of  its Firefox 4 browser early this morning.&lt;br /&gt;
&lt;br /&gt;
Earlier today, Mike Beltzner, who is in charge of Firefox at Mozilla, &lt;a href=&quot;http://groups.google.com/group/mozilla.dev.planning/browse_thread/thread/74f09f777426e4cf#&quot;&gt;posted  &lt;/a&gt;a note to the Firefox group discussion stating that “[Mozilla is]  still a ways off from builds. I’m watching the tree, but we’re about an  hour out from seeing Windows results.”&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP00hCUJi67ykzV5MhsH3IaHRwupuiFX4bVGRib5D6C2X_mP2aNf_mr2Mlz2yWYH7fwGgpOgVDq33hFbr4aI4vk-M6m87G2WggZInYvXuwjkGL5HjwYe2ChWikSzT7uxLptMt0W6RyLJeG/s1600/firefox40ssb1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;319&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP00hCUJi67ykzV5MhsH3IaHRwupuiFX4bVGRib5D6C2X_mP2aNf_mr2Mlz2yWYH7fwGgpOgVDq33hFbr4aI4vk-M6m87G2WggZInYvXuwjkGL5HjwYe2ChWikSzT7uxLptMt0W6RyLJeG/s320/firefox40ssb1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
You can download Firefox 4.0 Beta 1 &lt;a href=&quot;http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/4.0b1-candidates/build1/win32/en-US/&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.conceivablytech.com/1572/products/mozilla-posts-firefox-4-0-beta-1/&quot;&gt;Original Post&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/07/firefox-4-launched.html</link><author>noreply@blogger.com (Jay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP00hCUJi67ykzV5MhsH3IaHRwupuiFX4bVGRib5D6C2X_mP2aNf_mr2Mlz2yWYH7fwGgpOgVDq33hFbr4aI4vk-M6m87G2WggZInYvXuwjkGL5HjwYe2ChWikSzT7uxLptMt0W6RyLJeG/s72-c/firefox40ssb1.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-8578525999628308886</guid><pubDate>Wed, 30 Jun 2010 06:49:00 +0000</pubDate><atom:updated>2010-06-30T12:22:33.035+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Hack</category><category domain="http://www.blogger.com/atom/ns#">Microsoft</category><title>Free Download 180 days Trial Windows Server 2003 R2 SP2</title><description>&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;Microsoft offers free trial download of Their mnost  softwares, one of that is highly powerful server system Windows Server  2003 R2 SP2&lt;br /&gt;
Its a 2 CD OS, you ma download 180 days of Trail for x86 and x64, all you have to do is registrar and download your Copy from Microsoft free  of Charge to give the Full version of these OS a trial run….&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/windowsserver2003/r2/trial/installinstruct.mspx?lc=1033&quot; target=&quot;_blank&quot; title=&quot;Download Link for the ISO files...&quot;&gt;Download the ISO  Installation CDs&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/windowsserver2003/default.mspx&quot; target=&quot;_blank&quot; title=&quot;Registrar to obtain product key&quot;&gt;Register to Obtain CD Key&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
To Bypass Windows Activation (to use after 180 days)&lt;br /&gt;
&lt;a href=&quot;http://www.mydigitallife.info/2008/08/11/easy-way-to-activate-windows-home-server-crack-and-bypass-activation/&quot;&gt;Check here&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;zemanta-pixie&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=558b92ca-f09e-826f-bf6f-1a0480c46ada&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/06/free-download-180-days-trial-windows.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-6697092978418983655</guid><pubDate>Mon, 28 Jun 2010 09:30:00 +0000</pubDate><atom:updated>2010-06-28T15:00:13.848+05:30</atom:updated><title>How to install Windows SharePoint Services 3.0 Tools to XP</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;Add Following entry in registry (Run-&amp;gt;regedit)&lt;br/&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server  Extensions\12.0] &lt;br/&gt;&quot;Sharepoint&quot;=&quot;Installed&quot;  &lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=f51c929e-6c7d-81e0-87a0-3e871a0366bd&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/06/how-to-install-windows-sharepoint.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-2518988510832774061</guid><pubDate>Mon, 28 Jun 2010 09:28:00 +0000</pubDate><atom:updated>2010-06-28T14:58:53.122+05:30</atom:updated><title>Web Application Vs Website Project in Visual Studio</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;MSDN comparison -- &lt;a rel=&#39;nofollow&#39; href=&#39;http://msdn.microsoft.com/en-us/library/aa730880%28VS.80%29.aspx#wapp_topic5&#39;&gt;Comparing Web Site Projects and Web Application Projects&lt;/a&gt;&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Webcast on ASP.NET -- &lt;a rel=&#39;nofollow&#39; href=&#39;http://www.asp.net/LEARN/webcasts/webcast-236.aspx&#39;&gt;Web&lt;br/&gt; Application Projects vs. Web Site Projects in Visual Studio 2008&lt;/a&gt;&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=19fca189-1e0f-82ee-a056-2731424deb42&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/06/web-application-vs-website-project-in.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-5945403729530101907</guid><pubDate>Mon, 14 Jun 2010 09:47:00 +0000</pubDate><atom:updated>2010-06-14T15:17:43.142+05:30</atom:updated><title>SQL Formatter / Beautifier / Indentation</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;Free online Sql Formatters &lt;br/&gt;&lt;br/&gt;1.&lt;a href=&#39;http://www.sqlinform.com/online.phtml&#39; target=&#39;_blank&#39;&gt; Instant SQL Formatter&lt;/a&gt;&lt;br/&gt;2.&lt;a href=&#39;http://extras.sqlservercentral.com/prettifier/prettifier.aspx&#39;/&gt;&lt;a href=&#39;http://www.sqlinform.com/online.phtml&#39; target=&#39;_blank&#39;&gt; &lt;/a&gt;&lt;a href=&#39;http://www.sqlinform.com/online.phtml&#39; target=&#39;_blank&#39;&gt;SQL Pretifier &lt;/a&gt;&lt;br/&gt;3. &lt;a href=&#39;http://www.sqlinform.com/online.phtml&#39; target=&#39;_blank&#39;&gt;SQLInForm&lt;/a&gt; - 100 lines only&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=3192a2db-e940-8d1f-bdef-92181fff5915&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/06/sql-formatter-beautifier-indentation.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-9217802965702989915</guid><pubDate>Mon, 14 Jun 2010 09:45:00 +0000</pubDate><atom:updated>2010-06-14T15:15:51.621+05:30</atom:updated><title>SIXTH SENSE-Next Generation technology revealed</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;&lt;font face=&#39;verdana&#39;&gt; A guy from India - Rocks.......&lt;br/&gt;&lt;br/&gt;&lt;a href=&#39;http://www.pranavmistry.com/projects/sixthsense/&#39;&gt;s i x t h s e n s e - a wearable gestural interface (MIT Media Lab)&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/font&gt;&lt;br/&gt;&lt;blockquote/&gt;&lt;div class=&#39;youtube-video&#39;&gt;&lt;object width=&#39;425&#39; height=&#39;355&#39;&gt;&lt;param value=&#39;http://www.youtube.com/v/mzKmGTVmqJs&amp;amp;feature=youtube_gdata&#39; name=&#39;movie&#39;&gt; &lt;/param&gt;&lt;param value=&#39;transparent&#39; name=&#39;wmode&#39;&gt; &lt;/param&gt;&lt;embed width=&#39;425&#39; height=&#39;355&#39; wmode=&#39;transparent&#39; type=&#39;application/x-shockwave-flash&#39; src=&#39;http://www.youtube.com/v/mzKmGTVmqJs&amp;amp;feature=youtube_gdata&#39;&gt; &lt;/embed&gt;   &lt;/object&gt;&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;Pranav Mistry at TED; The Sixth Sense - part 1&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=aabd8272-9bee-83a1-9409-71c364f766c1&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/06/sixth-sense-next-generation-technology.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-3613590986065150991</guid><pubDate>Tue, 25 May 2010 07:23:00 +0000</pubDate><atom:updated>2010-05-25T12:53:18.274+05:30</atom:updated><title>Submerged - Subversion Blog - Subversion Repository Layout...</title><description>&lt;a href=http://blogs.open.collab.net/svn/2007/04/subversion_repo.html&gt;Submerged - Subversion Blog - Subversion Repository Layout...&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Posted using &lt;a href=&quot;http://sharethis.com&quot;&gt;ShareThis&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/05/submerged-subversion-blog-subversion.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-7308191483371743</guid><pubDate>Mon, 24 May 2010 13:44:00 +0000</pubDate><atom:updated>2010-05-24T19:14:50.589+05:30</atom:updated><title>SIXTH SENSE-Next Generation technology revealed</title><description>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;&lt;font face=&#39;verdana&#39;&gt; A guy from India - Rocks.......&lt;br/&gt;&lt;br/&gt;&lt;a href=&#39;http://www.pranavmistry.com/projects/sixthsense/&#39;&gt;s i x t h s e n s e - a wearable gestural interface (MIT Media Lab)&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/font&gt;&lt;br/&gt;&lt;blockquote/&gt;&lt;div class=&#39;youtube-video&#39;&gt;&lt;object width=&#39;425&#39; height=&#39;355&#39;&gt;&lt;param value=&#39;http://www.youtube.com/v/mzKmGTVmqJs&amp;amp;feature=youtube_gdata&#39; name=&#39;movie&#39;&gt; &lt;/param&gt;&lt;param value=&#39;transparent&#39; name=&#39;wmode&#39;&gt; &lt;/param&gt;&lt;embed width=&#39;425&#39; height=&#39;355&#39; wmode=&#39;transparent&#39; type=&#39;application/x-shockwave-flash&#39; src=&#39;http://www.youtube.com/v/mzKmGTVmqJs&amp;amp;feature=youtube_gdata&#39;&gt; &lt;/embed&gt;  &lt;/object&gt;&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;Pranav Mistry at TED; The Sixth Sense - part 1&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=7cee4db8-d30e-8892-97fb-f57cd3685223&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/05/sixth-sense-next-generation-technology.html</link><author>noreply@blogger.com (Jay)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5513071362961722025.post-5589274492633661101</guid><pubDate>Thu, 20 May 2010 07:06:00 +0000</pubDate><atom:updated>2010-05-20T12:36:06.358+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">India PF</category><category domain="http://www.blogger.com/atom/ns#">Information</category><title>View India PF Withdrawl / PF Transfer status online</title><description>Now you can view your PF details online&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.epfindia.nic.in/indiaepf/loginnew.aspx&quot;&gt;Check website&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;a href=&quot;http://www.epfindia.nic.in/indiaepf/loginnew.aspx&quot;&gt;http://www.epfindia.nic.in/indiaepf/loginnew.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
For&lt;br /&gt;
Chennai -&amp;nbsp;&lt;a href=&quot;http://www.epfochennai.tn.nic.in/tnepf/loginnew.aspx&quot;&gt;http://www.epfochennai.tn.nic.in/tnepf/loginnew.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PF Number details&lt;br /&gt;
eg.&lt;br /&gt;
AP/12345/23456 =&amp;gt; State/Establishment Code/Employee Number&lt;div class=&quot;blogger-post-footer&quot;&gt;Regards,
&lt;a href=&quot;http://www.google.com/profiles/meetjaydeep&quot;&gt; Jaydeep&lt;/a&gt;&lt;/div&gt;</description><link>http://jaydeep-patil.blogspot.com/2010/05/view-india-pf-withdrawl-pf-transfer.html</link><author>noreply@blogger.com (Jay)</author><thr:total>0</thr:total></item></channel></rss>