<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" gd:etag="W/&quot;DkAERX47cCp7ImA9WxBbGEQ.&quot;"><id>tag:blogger.com,1999:blog-18392152</id><updated>2010-03-17T23:45:04.008-07:00</updated><title>Markandey's Blog</title><subtitle type="html">/* A blog where I have posted my reviews, my Hacks, my Opinion, my Life, my Feelings, my Photos, my Interests &amp;amp; everything about me. */</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.markandey.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.markandey.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>102</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/MarkandeyBlog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="markandeyblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-sa/3.0/" /><logo>http://creativecommons.org/images/public/somerights20.gif</logo><entry gd:etag="W/&quot;D04CSHc7cSp7ImA9WxBbGE8.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-8430811764672207271</id><published>2010-03-17T04:12:00.000-07:00</published><updated>2010-03-17T04:39:29.909-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-17T04:39:29.909-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>How to add custom aboutme page on blogger</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Hi There,&lt;br /&gt;
Here I am going to talk about a dirty hack to make custom about me page on blogger. Lets have a look what you are &lt;a href="http://aboutmepageonblogger.blogspot.com/"&gt;going to get after&lt;/a&gt; doing all this&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://aboutmepageonblogger.blogspot.com/" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/_sFmKMtGguSE/S6Cq7BQtrqI/AAAAAAAAG0o/i7ZfRPnj1Ao/s320/page.PNG" width="305" /&gt;&lt;/a&gt;&lt;/div&gt;.&lt;br /&gt;
So, Basically you are going to make an blog post which will contain "&lt;i&gt;about me information&lt;/i&gt;" which you wanted to put on your blog. Then you will remove &lt;b&gt;date entry&lt;/b&gt;(time stamp) / and &lt;b&gt;comment option &lt;/b&gt;for this page so that it will not look like a post.&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: #cc0000;"&gt;Note: Save your existing template before, doing anything. If you break anything , you can&amp;nbsp;restore&amp;nbsp;the template back.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;STEP-1&lt;/b&gt;&lt;br /&gt;
Create a blog post with title "about me" and content&amp;nbsp;whatever&amp;nbsp;you want. Then go to Post option&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;STEP-2&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_sFmKMtGguSE/S6CzzpIMtoI/AAAAAAAAG0s/BH1e-L_oXbE/s1600-h/postop.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/_sFmKMtGguSE/S6CzzpIMtoI/AAAAAAAAG0s/BH1e-L_oXbE/s320/postop.jpg" width="263" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Go to post option and click "Don't allow comment" and Set time-stamp to a very old date (may be much before your birth).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step-3&lt;/b&gt;&lt;br /&gt;
To remove time-stamp from this post your have to wrap part of code which generates Time stamp in your template with this code.&lt;br /&gt;
&lt;pre&gt;&amp;lt;b:if cond='data:post.allowComments'&amp;gt;



&amp;lt;/b:if&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
This is basically a way to tell that whatever "&lt;i&gt;post does not allow comment&lt;/i&gt;" will not generate &lt;b&gt;&lt;i&gt;few things&lt;/i&gt;&lt;/b&gt;&amp;nbsp;(which is time-stamp in our case).&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Step-4&lt;/b&gt;&lt;br /&gt;
Go to layout section of your blog, and go to edit HTML. Choose "Expand Widget Templates" option.&lt;br /&gt;
&lt;br /&gt;
Now select all the text from Text area and put in your favorite "Text Editor" . (FYI My favorite editor is Notepad++).&lt;br /&gt;
&lt;br /&gt;
Now wrap following 2 block with code above&lt;br /&gt;
&lt;pre&gt;&amp;lt;h2 class='date-header'&amp;gt;&amp;lt;span&amp;gt;&amp;lt;data:post.dateHeader/&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/h2&amp;gt;
&lt;/pre&gt;AND&lt;br /&gt;
&lt;pre&gt;&amp;lt;div class='post-footer-line post-footer-line-1'&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_sFmKMtGguSE/S6C4KXNxPcI/AAAAAAAAG04/4a8L6IhPwvc/s1600-h/wrap2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="133" src="http://4.bp.blogspot.com/_sFmKMtGguSE/S6C4KXNxPcI/AAAAAAAAG04/4a8L6IhPwvc/s320/wrap2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Part-1&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_sFmKMtGguSE/S6C2-pT74uI/AAAAAAAAG0w/cgTGXhx03pU/s1600-h/screenshot1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="314" src="http://1.bp.blogspot.com/_sFmKMtGguSE/S6C2-pT74uI/AAAAAAAAG0w/cgTGXhx03pU/s320/screenshot1.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Part-2&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Once you are done with this editing, go paste the entire thing back to blogger text-area and save the template.&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #cc0000;"&gt;&lt;b&gt;&lt;i&gt;Note: You should wrap the code very carefully, basic HTML&amp;nbsp;knowledge&amp;nbsp;is very essential for this. &amp;nbsp;Every Div block starts and ends some where , so wrapping must be perfect.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_sFmKMtGguSE/S6C_VHAg1DI/AAAAAAAAG08/uPhE44u7sKw/s1600-h/places.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="376" src="http://1.bp.blogspot.com/_sFmKMtGguSE/S6C_VHAg1DI/AAAAAAAAG08/uPhE44u7sKw/s400/places.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
You can link the URL of the page on "About Me Tab" &lt;a href="http://www.markandey.com/2009/06/how-to-add-tabs-on-blogger_25.html"&gt;Read My other post.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thats it, Your are done!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-8430811764672207271?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KIMCMeWT3cWs4UdrwTwmC8LVuSw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KIMCMeWT3cWs4UdrwTwmC8LVuSw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KIMCMeWT3cWs4UdrwTwmC8LVuSw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KIMCMeWT3cWs4UdrwTwmC8LVuSw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/8430811764672207271/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2010/03/how-to-add-custom-aboutme-page-on.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8430811764672207271?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8430811764672207271?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2010/03/how-to-add-custom-aboutme-page-on.html" title="How to add custom aboutme page on blogger" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_sFmKMtGguSE/S6Cq7BQtrqI/AAAAAAAAG0o/i7ZfRPnj1Ao/s72-c/page.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;A0UHQHgzfyp7ImA9WxBbGE0.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-9044705399913671488</id><published>2010-03-16T12:07:00.000-07:00</published><updated>2010-03-17T00:00:31.687-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-17T00:00:31.687-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Chrome Extension to analyse tweeter (Twitter User) Behavior</title><content type="html">Recently I was looking on various sites that shows some statistics about tweeters (twitter user). They are great but they often focus on one thing, there is no single place where we can see all these analysis. So i closely analysed these websites to come-up with &lt;b&gt;YQL hack&lt;/b&gt; to bring all of them on a single page. Mainly I focused myself on these websites.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;http://twitterholic.com/&lt;/li&gt;
&lt;li&gt;http://web.forret.com/tools/twitter-tq.asp&lt;/li&gt;
&lt;li&gt;http://tweeps.info/&lt;/li&gt;
&lt;li&gt;http://happytweets.com/&lt;/li&gt;
&lt;li&gt;http://tweeteffect.com/&lt;/li&gt;
&lt;/ol&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_sFmKMtGguSE/S5_Wws_XrsI/AAAAAAAAG0c/Ha4F5fXNUbA/s1600-h/Screenshot-2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_sFmKMtGguSE/S5_Wws_XrsI/AAAAAAAAG0c/Ha4F5fXNUbA/s320/Screenshot-2.png" width="310" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;TweetChrome&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
[I am also trying to pull information from http://tweetstats.com]&lt;br /&gt;
&lt;br /&gt;
Well if I would have hosted this functionality something like &lt;b&gt;&lt;a href="http://www.purplegene.com/static/tweeps.html"&gt;this&lt;/a&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;(actually&amp;nbsp;hosted )&lt;/span&gt;.&lt;/b&gt;&amp;nbsp;&amp;nbsp;No one will use it, because people are very lazy. So I have created a chrome extension &lt;a href="https://chrome.google.com/extensions/detail/pmdeehablhbendnpdligdgemdgkllmih"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
If you use chrome then you can simple see &lt;a href="view-source:http://www.purplegene.com/static/tweeps.html"&gt;source code here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Thanks for reading my blog.&lt;br /&gt;
&lt;div style="text-align: auto;"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Demo&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium; font-weight: normal;"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;a href="http://chrome.google.com/extensions/detail/pmdeehablhbendnpdligdgemdgkllmih"&gt;http://chrome.google.com/extensions/detail/pmdeehablhbendnpdligdgemdgkllmih&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: auto;"&gt;&lt;span class="Apple-style-span" style="font-size: x-large;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Source&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium; font-weight: normal;"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;a href="http://www.purplegene.com/static/tweeps.html"&gt;http://www.purplegene.com/static/tweeps.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium; font-weight: normal;"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;(do view source)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-9044705399913671488?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-1_lxKJI-oe51J-pyKgu3j9yLIc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-1_lxKJI-oe51J-pyKgu3j9yLIc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-1_lxKJI-oe51J-pyKgu3j9yLIc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-1_lxKJI-oe51J-pyKgu3j9yLIc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/9044705399913671488/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2010/03/chrome-extension-to-analyse-tweeter.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/9044705399913671488?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/9044705399913671488?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2010/03/chrome-extension-to-analyse-tweeter.html" title="Chrome Extension to analyse tweeter (Twitter User) Behavior" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_sFmKMtGguSE/S5_Wws_XrsI/AAAAAAAAG0c/Ha4F5fXNUbA/s72-c/Screenshot-2.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CEAFQHoyfSp7ImA9WxBVEEs.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-8760304893673227266</id><published>2010-02-13T00:55:00.000-08:00</published><updated>2010-02-13T04:05:11.495-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-13T04:05:11.495-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Playing with Javascript Closure, JSON, &amp; YQL to Visualize upcoming Android Version Names</title><content type="html">Hi There,&lt;br /&gt;
As you know that First version of android was named "cupcake" and then it was "Donut" and current version is "Éclair".&lt;br /&gt;
People found a pattern in naming; they are alphabetical names of cake. Now many people on internet came up with the names up to the Z.&lt;br /&gt;
Here they are&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Cupcake&lt;/li&gt;
&lt;li&gt;Donut&lt;/li&gt;
&lt;li&gt;Eclair Cake&lt;/li&gt;
&lt;li&gt;Frosting&lt;/li&gt;
&lt;li&gt;Gelato&lt;/li&gt;
&lt;li&gt;Honey&lt;/li&gt;
&lt;li&gt;Icing cake&lt;/li&gt;
&lt;li&gt;Jelly&lt;/li&gt;
&lt;li&gt;Kiwi&lt;/li&gt;
&lt;li&gt;Lemon&lt;/li&gt;
&lt;li&gt;Marshmellow&lt;/li&gt;
&lt;li&gt;Noodle&lt;/li&gt;
&lt;li&gt;Orange&lt;/li&gt;
&lt;li&gt;Pudding&lt;/li&gt;
&lt;li&gt;Quince&lt;/li&gt;
&lt;li&gt;RockyRoad&lt;/li&gt;
&lt;li&gt;Sundae&lt;/li&gt;
&lt;li&gt;Taffee&lt;/li&gt;
&lt;li&gt;upside-down-cake&lt;/li&gt;
&lt;li&gt;Vanilla&lt;/li&gt;
&lt;li&gt;Waffle&lt;/li&gt;
&lt;li&gt;Xmas Cookies&lt;/li&gt;
&lt;li&gt;Yogurt&lt;/li&gt;
&lt;li&gt;Zebra Cake&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
I am completely unaware of some of these names; I really don’t know how they look like. So here i made a small YQL hack to get images with these names to visualize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.purplegene.com/static/androidversions.html"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;span class="Apple-style-span" style="background-color: blue;"&gt;DEMO&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;Here is the YQL Bing table query to images&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_sFmKMtGguSE/S3Zo0w_npaI/AAAAAAAAGy8/NtT6TK7wHkw/s1600-h/androidversion.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="252" src="http://1.bp.blogspot.com/_sFmKMtGguSE/S3Zo0w_npaI/AAAAAAAAGy8/NtT6TK7wHkw/s320/androidversion.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&lt;div style="background: #000000; color: green;"&gt;function get_images_from_bing(query,callback){&lt;br /&gt;
var yql_url="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20microsoft.bing.image%20where%20query%3D%22"+query+"%22&amp;amp;format=json&amp;amp;env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&amp;amp;callback=callbacks."+callback;&lt;br /&gt;
var div_ele=document.getElementById("myscrpts");&lt;br /&gt;
var scrpt=document.createElement("SCRIPT");&lt;br /&gt;
scrpt.src=yql_url;&lt;br /&gt;
div_ele.appendChild(scrpt);&lt;br /&gt;
}&lt;/div&gt;&lt;/code&gt;&lt;br /&gt;
Here I am using closure to get a call-back function which will render the my images.&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&lt;div style="background: #000000; color: green;"&gt;function GetCallbackFunction(element){&lt;br /&gt;
/*&lt;br /&gt;
element will be accessible to inner returned function &lt;br /&gt;
even after outer function has returned&lt;br /&gt;
*/&lt;br /&gt;
return function(data){&lt;br /&gt;
/*Get randomely from top 3 images*/&lt;br /&gt;
var index=get_random(3);&lt;br /&gt;
index=index%data.query.results.ImageResult.length;&lt;br /&gt;
element.src=data.query.results.ImageResult[index].MediaUrl;&lt;br /&gt;
};&lt;br /&gt;
}&lt;/div&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-8760304893673227266?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OQjltylR636PDwsUVAk__zFZOQ0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OQjltylR636PDwsUVAk__zFZOQ0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OQjltylR636PDwsUVAk__zFZOQ0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OQjltylR636PDwsUVAk__zFZOQ0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/8760304893673227266/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2010/02/playing-with-javascript-closure-json.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8760304893673227266?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8760304893673227266?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2010/02/playing-with-javascript-closure-json.html" title="Playing with Javascript Closure, JSON, &amp; YQL to Visualize upcoming Android Version Names" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_sFmKMtGguSE/S3Zo0w_npaI/AAAAAAAAGy8/NtT6TK7wHkw/s72-c/androidversion.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DEcHQno9eyp7ImA9WxBVEk4.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-8475241215560204803</id><published>2010-02-10T11:27:00.000-08:00</published><updated>2010-02-15T04:13:53.463-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-15T04:13:53.463-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><category scheme="http://www.blogger.com/atom/ns#" term="twitter" /><title>What is "Inbox Zero problem"? How To solve it by Twitter-way?</title><content type="html">&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;i&gt;Inbox Zero problem&lt;/i&gt;&lt;/b&gt; is a usability problem, of which every mail system is infected with. Let me try to explain what it is?&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Today, we get at least 40-50 mail every day, and our mail system marks every mail as unread when it arrives to your inbox. Now problem is, you are tempted to read all those mails to bring your inbox to zero unread count. This goes into a never ending loop often because by the time you will be able to finish each and every mail, you’ll get some new ones.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;This is a problem many other social networking platforms are infected with, may be not with the unread message count but by some other ways.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;This is the only problem twitter is not infected with, because its always flowing timeline of short messages and you need to just look for few recent items posted by people, because of 2 reasons &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;1. Those items are not specifically posted to you (not talking about @replies).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;2. Tweets are very spontaneous status update from people; significance of (most) tweets expires after sometime. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;This is how people on twitter able to manage more and more people. I personally follow more than 600 tweeps around the world. Now, there is a problem!! Different people tweet at different pace, and many tweeters are so frequent on twitter is that they literally flood my timeline and kick other's tweets (from people whom i care more) out of my visible timeline. This problem is solved by lists, I group important tweeps in a list. Concept of list itself came from people and twitter client like &lt;a href="http://en.wikipedia.org/wiki/TweetDeck"&gt;TweetDeck&lt;/a&gt; &amp;amp;&lt;a href="http://seesmic.com/"&gt; Seesmic&lt;/a&gt;. Think lists like this, On twitter you have public timeline which is the fastest moving timeline, and you filtered some of them to bring in our "friends" timeline by following them. When things became messy you sorted them into few smaller lists.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Twitter evolved from people's behaviour, like @replies, retweeting and many more became the built-in feature of twitter because we tweeps started using it. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;So none of my time line is actually having inbox zero problem. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Now let’s come back to e-mail system, every day in office i really get more than 100 emails including companywide mails, group mail , mails from an on-going thread of discussion (where I don’t have anything to do).&amp;nbsp; Now what?? My mail client (outlook) is so cluttered with e-mail that finding the right email becomes very difficult. Ok , we have a solution “make rules to skip inbox for some known group &amp;amp; automated mails” BUT creating rule is not going to solve my problem because I am very lazy and don’t want to create rules even once in a six month (yes, that lazy i am). Last rule i created some 6 months back : P.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;So what is the solution? Solution is simple; I call this solution "@actionItem". Which is like this, every mail which has some action item for me as individual then please include my name in a field called Action Item (like CC &amp;amp; To list). That’s It i will give priority to those mails first and then i will move to all other mails, and choose to skip if i don’t have much of time to spend. Inbox zero problem solved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;Twitter specific Terms :&amp;nbsp;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Tweeps&lt;/b&gt;: people who use twitter.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Tweeters:&amp;nbsp;&lt;/b&gt;&amp;nbsp;twitter+ user&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Tweet&lt;/b&gt;: &amp;nbsp;Every small status update (post ) is called tweet.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;ReTweeting&lt;/b&gt;: when you post oneones update again is called re-tweeting. often done in "RT @TweepName : blah balh format".&lt;/li&gt;
&lt;li&gt;&lt;b&gt;@replies : &lt;/b&gt;pronounced as 'at replies', are tweets which has your name mentioned, preceded with a '@' sign.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
Here is &lt;b&gt;Merlin Mann&lt;/b&gt; Slide&lt;br /&gt;
&lt;br /&gt;
&lt;div style="width:425px;text-align:left" id="__ss_81892"&gt;&lt;a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/merlinmann/inbox-zero-actionbased-email" title="Inbox Zero: Action-Based Email"&gt;Inbox Zero: Action-Based Email&lt;/a&gt;&lt;object style="margin:0px" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=inbox-zero-actionbased-email3408&amp;stripped_title=inbox-zero-actionbased-email" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=inbox-zero-actionbased-email3408&amp;stripped_title=inbox-zero-actionbased-email" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"&gt;View more &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/merlinmann"&gt;merlinmann&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Here is video of his lecture&lt;br /&gt;
&lt;br /&gt;
&lt;embed id=VideoPlayback src=http://video.google.com/googleplayer.swf?docid=973149761529535925&amp;hl=en&amp;fs=true style=width:400px;height:326px allowFullScreen=true allowScriptAccess=always type=application/x-shockwave-flash&gt; &lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-8475241215560204803?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vbm6x9muz9S1ex4mzQm-LA3eg_4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vbm6x9muz9S1ex4mzQm-LA3eg_4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vbm6x9muz9S1ex4mzQm-LA3eg_4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vbm6x9muz9S1ex4mzQm-LA3eg_4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/8475241215560204803/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2010/02/what-is-inbox-zero-problem-how-to-solve.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8475241215560204803?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8475241215560204803?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2010/02/what-is-inbox-zero-problem-how-to-solve.html" title="What is &quot;Inbox Zero problem&quot;? How To solve it by Twitter-way?" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DkIHRnc5cSp7ImA9WxBXGUw.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-6427231920851837170</id><published>2010-01-30T15:12:00.000-08:00</published><updated>2010-01-30T21:08:57.929-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-30T21:08:57.929-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>I know what you read on dzone last summer</title><content type="html">You should know that depending upon how CSS is coloring your links; I can figure out that what are the links you visited already.&lt;br /&gt;
This is a nice hack, many people use it for knowing user interests e.g&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;What social networking site you use.&lt;/li&gt;
&lt;li&gt;What banking site you use.&lt;/li&gt;
&lt;li&gt;And many more what you can think of.&lt;/li&gt;
&lt;/ul&gt;I have created a hack to show all popular links from dzone, I am sorting the links based what you have read already.&amp;nbsp;Before you read further &lt;a href="http://www.purplegene.com/static/dzonearticles2.html"&gt;Check This&lt;/a&gt;, &lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: #cc0000;"&gt;(will not work in IE8)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Here is how you can inspect CSS color of a link in your browser&lt;br /&gt;
&lt;div style="background: #000000; color: green;"&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;document.write(&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #990000;"&gt;'&amp;lt;style&amp;gt;'&lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;);&lt;br /&gt;
document.write('&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #660000;"&gt;#linkID&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #990000;"&gt;:visited {color: #FF0000;}&lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;");&lt;br /&gt;
document.write('&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #990000;"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;');&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt;/* quickly add and remove the link from the DOM with enough time to save the visible computed color. */&lt;/span&gt;&lt;br /&gt;
document.body.appendChild(&lt;b&gt;&lt;span class="Apple-style-span" style="color: magenta;"&gt;link&lt;/span&gt;&lt;/b&gt;);&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;var &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: magenta;"&gt;color &lt;/span&gt;= document.defaultView.getComputedStyle(&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta;"&gt;link&lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;,&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;null&lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;).getPropertyValue("&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #660000;"&gt;color&lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;");&lt;br /&gt;
document.body.removeChild(&lt;b&gt;&lt;span class="Apple-style-span" style="color: magenta;"&gt;link&lt;/span&gt;&lt;/b&gt;);&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt;/* check to see if the link has been visited if the computed color is red */&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt; (&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta;"&gt;color &lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;== "rgb(255, 0, 0)") { &lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt; /*visited do something*/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
} &lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: white;"&gt; { &lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #274e13;"&gt; /*not visited, do something else*/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
}&lt;/span&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="background-color: blue;"&gt;&lt;a href="http://www.purplegene.com/static/dzonearticles2.html"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;b&gt;DEMO&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Read More about How I &lt;a href="http://www.markandey.com/2009/08/yql-hack-to-get-dzone-popular-articles.html"&gt;brought All Dzone links on 1 page&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Read More About How &lt;a href="http://jeremiahgrossman.blogspot.com/2006/08/i-know-where-youve-been.html"&gt;This CSS hack&lt;/a&gt; works?&lt;br /&gt;
&lt;br /&gt;
Read Rest of &lt;a href="http://www.markandey.com/search/label/hack"&gt;My Hacks&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.markandey.com/2009/08/yql-hack-to-get-dzone-popular-articles.html"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-6427231920851837170?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iztCeO5hc1H4g_GinFio0olfWXE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iztCeO5hc1H4g_GinFio0olfWXE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iztCeO5hc1H4g_GinFio0olfWXE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iztCeO5hc1H4g_GinFio0olfWXE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/6427231920851837170/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2010/01/i-know-what-you-read-on-dzone-last.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/6427231920851837170?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/6427231920851837170?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2010/01/i-know-what-you-read-on-dzone-last.html" title="I know what you read on dzone last summer" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry gd:etag="W/&quot;DUABQ3szfCp7ImA9WxBXFko.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-4153746548849821796</id><published>2010-01-28T02:57:00.000-08:00</published><updated>2010-01-28T03:22:32.584-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-28T03:22:32.584-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Understanding C#.net Border-less Form, when you maximize it</title><content type="html">Hi There,&lt;br /&gt;
Have you ever created, a borderless window in C#.net?&lt;br /&gt;
There is problem with borderless window, if you maximize it, it goes FullScreen (goves even over the taskbar).&lt;br /&gt;
&lt;br /&gt;
Here is an analyis of how to achieve maximized borderless window.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_sFmKMtGguSE/S2FyaoQQucI/AAAAAAAAGxg/M-4wbyYFMis/s1600-h/maximize.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="301" src="http://2.bp.blogspot.com/_sFmKMtGguSE/S2FyaoQQucI/AAAAAAAAGxg/M-4wbyYFMis/s320/maximize.PNG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;nbsp;you first set the border(anything other than FormBorderStyle.None)  for the window and then set WindowState&amp;nbsp;to maximize, You will get a standard maximized window, you can make it&amp;nbsp;border-less&amp;nbsp;there after.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;



&lt;div style="background: #000000; color: green;"&gt;private void btMaximize_Click(object sender, EventArgs e)
{
 this.FormBorderStyle = FormBorderStyle.FixedSingle;

 if (this.WindowState != FormWindowState.Maximized)
 {
  this.WindowState = FormWindowState.Maximized;
 }
 else
 {
  this.WindowState = FormWindowState.Normal;
  
 }

 this.FormBorderStyle = FormBorderStyle.None;
}



&lt;/div&gt;&lt;/code&gt;

&lt;/pre&gt;If you maximize a window after making it borderless it goes beyond the task-bar. You will get complete&amp;nbsp;full-screen.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;


&lt;div style="background: #000000; color: green;"&gt;private void btFullscreen_Click(object sender, EventArgs e)
{
 this.FormBorderStyle = FormBorderStyle.None;
        if (this.WindowState != FormWindowState.Maximized)
 {
  
  this.WindowState = FormWindowState.Maximized;
 }
 else
 {
  this.WindowState = FormWindowState.Normal;
 }
 
}



&lt;/div&gt;&lt;/code&gt;

&lt;/pre&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://jugad.googlecode.com/files/Maximize%20window.zip"&gt;Download Sample Code&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-4153746548849821796?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uuB3j4GIsFDqAV4DeyQfGR61Bz4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uuB3j4GIsFDqAV4DeyQfGR61Bz4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uuB3j4GIsFDqAV4DeyQfGR61Bz4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uuB3j4GIsFDqAV4DeyQfGR61Bz4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/4153746548849821796/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2010/01/understanding-cnet-border-less-form.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/4153746548849821796?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/4153746548849821796?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2010/01/understanding-cnet-border-less-form.html" title="Understanding C#.net Border-less Form, when you maximize it" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_sFmKMtGguSE/S2FyaoQQucI/AAAAAAAAGxg/M-4wbyYFMis/s72-c/maximize.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;D0UHQn4_fip7ImA9WxBUFE0.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-639530901191592010</id><published>2010-01-17T10:10:00.000-08:00</published><updated>2010-02-28T17:00:33.046-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-28T17:00:33.046-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Hacking Google maps AJAX API to use in C#.Net</title><content type="html">&lt;span id="goog_1263752042128"&gt;&lt;/span&gt;&lt;span id="goog_1263752042129"&gt;&lt;/span&gt;&lt;a href="http://draft.blogger.com/"&gt;&lt;/a&gt;Hi,&lt;br /&gt;
As you know “&lt;a href="http://code.google.com/apis/maps/documentation/reference.html"&gt;Google Maps API&lt;/a&gt;” is available only for AJAX developers. Using it in C#.net is not possible. One of the great things about Google maps API is it gives you turn by turn direction almost anywhere on earth. I wanted to exploit this feature of turn by turn navigation on my mobile, that too &lt;b&gt;&lt;i&gt;&lt;span style="color: #cc0000;"&gt;offline&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;, because when i go to remote places its highly probable that i will not be having connectivity on my phone. Or connectivity will be so poor that using maps is highly impractical. &lt;br /&gt;
&lt;br /&gt;
So I have created a pair of application. &lt;br /&gt;
1. A Desktop app to retrieve turn by turn navigation data + static images.&lt;br /&gt;
2. A Mobile app to read this data and to give me turn by turn navigation on phone (offline).&lt;br /&gt;
&lt;br /&gt;
Certainly this is something not allowed in TOU of Google, so i cannot release this app commercially. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: #cc0000;"&gt;How to Mix AJAX and C#.net??&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
1. I created a web page (html+JavaScript), which dumps the direction info data in DOM.&lt;br /&gt;
2.In C#.Net Form, I kept a&amp;nbsp;web-browser&amp;nbsp;control, which loads this page.&lt;br /&gt;
3.When page is loaded, using &lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.htmldocument.getelementbyid.aspx"&gt;webBrowser1.Document.GetElementById&lt;/a&gt; stuff I extracted the direction info.&lt;br /&gt;
4.Then I downloaded Static Images using "&lt;a href="http://code.google.com/apis/maps/documentation/staticmaps/"&gt;Google Static Maps API&lt;/a&gt;", &amp;amp; hacked to get the latitude and longitude positions on the static images. &lt;a href="http://code.google.com/p/pocketnavigator/source/browse/trunk/PocketDashboard/MapUtillityClasses/MapsUtils.cs"&gt;see code for detail&lt;/a&gt;.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_sFmKMtGguSE/S3m0g5bEQ-I/AAAAAAAAGzA/MgCtdXWrxZk/s1600-h/ajaxinc%23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="110" src="http://2.bp.blogspot.com/_sFmKMtGguSE/S3m0g5bEQ-I/AAAAAAAAGzA/MgCtdXWrxZk/s400/ajaxinc%23.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;How I exported data on mobile??&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
1. Serialized whole object in an XML file, including direction info and static images.&lt;br /&gt;
2. De-serialized on mobile to get that data back.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: #cc0000;"&gt;Source Code&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href="http://code.google.com/p/pocketnavigator/"&gt;http://code.google.com/p/pocketnavigator/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_sFmKMtGguSE/S1NRvWQhiRI/AAAAAAAAGvs/K7j5NbNhbGM/s1600-h/mobileversion.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_sFmKMtGguSE/S1NRvWQhiRI/AAAAAAAAGvs/K7j5NbNhbGM/s1600/mobileversion.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;b&gt;Screen-shot&amp;nbsp;Of Mobile Version.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" data="http://www.screentoaster.com/swf/STPlayer.swf" height="344" id="stWUlUQURIR19cR1lVWF9fXlRX" type="application/x-shockwave-flash" width="425"&gt;&lt;param name='movie' value='http://www.screentoaster.com/swf/STPlayer.swf'/&gt;&lt;param name='allowFullScreen' value='true'/&gt;&lt;param name='allowScriptAccess' value='always'/&gt;&lt;param name='flashvars' value='video=stWUlUQURIR19cR1lVWF9fXlRX'/&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;Demo of Desktop App (6 minute).&lt;/div&gt;&lt;br /&gt;
Thanks, Feel free to ask question, &amp;amp; share on twitter + digg &amp;amp; blah blah.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-639530901191592010?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_CQ7PPz9EJbucDelKnfQDhAZcdg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_CQ7PPz9EJbucDelKnfQDhAZcdg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_CQ7PPz9EJbucDelKnfQDhAZcdg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_CQ7PPz9EJbucDelKnfQDhAZcdg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/639530901191592010/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2010/01/hacking-google-maps-ajax-api-to-use-in.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/639530901191592010?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/639530901191592010?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2010/01/hacking-google-maps-ajax-api-to-use-in.html" title="Hacking Google maps AJAX API to use in C#.Net" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_sFmKMtGguSE/S3m0g5bEQ-I/AAAAAAAAGzA/MgCtdXWrxZk/s72-c/ajaxinc%23.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></entry><entry gd:etag="W/&quot;CUUDSHY8fip7ImA9WxBSFkg.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-182423607041093542</id><published>2009-12-24T02:12:00.000-08:00</published><updated>2009-12-24T03:14:39.876-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-24T03:14:39.876-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>How to Use TextToSpeech Feature of Google</title><content type="html">Here is how you can make your own TextToSpeech App, using Google's un-documented API.&lt;br /&gt;
&lt;br /&gt;
Google Has an undocumented REST API to get TextToSpeech&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;http://translate.google.com/translate_tts?q=your+text+goes+here&lt;/b&gt;&lt;br /&gt;
Here is the HTML Code. Do not miss to see the screen-cast.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;div style="background: #000000; color: green;"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;
Text To Speech Demo
&amp;lt;/title&amp;gt;
&amp;lt;script&amp;gt;
function GetSpeech()
{
var framehtml=&amp;quot;&amp;lt;iframe src=\&amp;quot;http://translate.google.com/translate_tts?q=&amp;quot;;
framehtml+=escape(document.getElementById(&amp;quot;mytext&amp;quot;).value);
framehtml+=&amp;quot;\&amp;quot; &amp;lt;/iframe&amp;gt;&amp;quot;;

document.getElementById(&amp;quot;myframe&amp;quot;).innerHTML=framehtml;
/*we are done!!!!!*/
/* we will test now*/
/*wow!!!!! its working :) */

}
&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
Enter your text Here
&amp;lt;textarea id=&amp;quot;mytext&amp;quot;&amp;gt;
&amp;lt;/textarea&amp;gt;
&amp;lt;button id=&amp;quot;mybutton&amp;quot; onclick=&amp;quot;GetSpeech();&amp;quot;&amp;gt;
Click me to get the text
&amp;lt;/button&amp;gt;
&amp;lt;div id=&amp;quot;myframe&amp;quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
Here is a screen-cast&lt;br /&gt;
&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/S9BCVpxmjag&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/S9BCVpxmjag&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks Guys &lt;br /&gt;
Happy Christmas&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-182423607041093542?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FJs3v4Bu9kLkAPI-oEcqFHK4Kwg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FJs3v4Bu9kLkAPI-oEcqFHK4Kwg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FJs3v4Bu9kLkAPI-oEcqFHK4Kwg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FJs3v4Bu9kLkAPI-oEcqFHK4Kwg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/182423607041093542/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/12/how-to-use-texttospeech-feature-of.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/182423607041093542?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/182423607041093542?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/12/how-to-use-texttospeech-feature-of.html" title="How to Use TextToSpeech Feature of Google" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry gd:etag="W/&quot;CkcCRXg8fip7ImA9WxBSFE0.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-8032115516886469468</id><published>2009-12-20T05:25:00.001-08:00</published><updated>2009-12-21T04:54:24.676-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-21T04:54:24.676-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Jump into 3D maps by calculating orientation</title><content type="html">Lets make a&lt;a href="http://www.purplegene.com/static/virtualdrive.html"&gt; VirtualDrive MashUp&lt;/a&gt; today. As you know that Google maps API has Street view feature and Live maps has Bird’s Eye view feature. We will mix these 2 things in our&amp;nbsp;mash-up.&lt;br /&gt;
Feature of This MashUp will be &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;To Take input as source and destination address. &lt;/li&gt;
&lt;li&gt;Animate the street view &amp;amp; Bird’s Eye from source to destination. &lt;/li&gt;
&lt;/ul&gt;To get this done you will need direction API to know the path between source and Destination. Eventually Google’s Direction API will do this for us. Direction API returns a PolyLine from source to destination. We will use &lt;span style="font-family: courier;"&gt;&lt;strong&gt;GDirections.getPolyline()&lt;/strong&gt;&lt;/span&gt; Function. Once you have all the points (Latitude and Longitude) along the path you are all set to go. But wait street-view and Bird’s Eye view are 3D Maps they also have something called orientation . &lt;br /&gt;
Bird’sEye View requires only one extra parameter "orientation" which can be &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;North &lt;/li&gt;
&lt;li&gt;East &lt;/li&gt;
&lt;li&gt;South or &lt;/li&gt;
&lt;li&gt;West &lt;/li&gt;
&lt;/ul&gt;Where as Google Street View is more complicated , its requires Yaw and Pitch (i am ignoring zoom level which applies to all kind of maps)    &lt;br /&gt;
&lt;a href="http://lh5.ggpht.com/_sFmKMtGguSE/Sy4lv3ELGII/AAAAAAAAFdw/hSYjPRoJMXU/s1600-h/image%5B4%5D.png"&gt;&lt;img alt="image" border="0" height="206" src="http://lh5.ggpht.com/_sFmKMtGguSE/Sy4lw9tz27I/AAAAAAAAFd0/z-rmK0puT3I/image_thumb%5B2%5D.png?imgmax=800" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;
Since we will concentrate on driving , we will keep the pitch horizontal i.e. pitch will be zero.   &lt;br /&gt;
Yaw can be calculated by using 2 points along the path. Yaw is the angle of your driving direction from North, in degrees.&lt;br /&gt;
Here is a JavaScript code to calculate Yaw with given 2 values of GLatLng.   &lt;br /&gt;
(Note that Yaw &amp;amp; Bearing is closely related terms and they are having same value here.)   &lt;br /&gt;
&lt;pre&gt;&lt;div style="background: #000000; color: green;"&gt;function GetBearing(GLatLng1, GLatLng2) {

var lat1 = GLatLng1.lat();
var lon1 = GLatLng1.lng();
var lat2 = GLatLng2.lat();
var lon2 = GLatLng2.lng();
lat1 = lat1.toRad();
lat2 = lat2.toRad();
var dLon = (lon2 - lon1).toRad();

var y = Math.sin(dLon) * Math.cos(lat2);
var x = Math.cos(lat1) * Math.sin(lat2) - Math.sin(lat1) * Math.cos(lat2) * Math.cos(dLon);
return Math.atan2(y, x).toBrng();
}
&lt;/div&gt;&lt;/pre&gt;One feedback about street-view API though, function setLocationAndPOV is very mysterious and I could not make it work. &lt;br /&gt;
Individual Code snippets I picked from here &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href="http://code.google.com/apis/ajax/playground/" target="_blank"&gt;Google AJAX Playground&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/maps/isdk/ajax/" target="_blank"&gt;Live Map APIs Sample&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.movable-type.co.uk/scripts/latlong.html" target="_blank"&gt;movable-type&lt;/a&gt; &lt;/li&gt;
&lt;/ol&gt;Now Jump To &lt;span style="font-size: large;"&gt;&lt;strong&gt;&lt;a href="http://www.purplegene.com/static/virtualdrive.html" target="_blank"&gt;Demo&lt;/a&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And Do &lt;a href="view-source:http://www.purplegene.com/static/virtualdrive.html" target="_blank"&gt;ViewSource&lt;/a&gt; to see the code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-8032115516886469468?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/70sPrOmpdDeRZ-4u2PyZzhJqdFE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/70sPrOmpdDeRZ-4u2PyZzhJqdFE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/70sPrOmpdDeRZ-4u2PyZzhJqdFE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/70sPrOmpdDeRZ-4u2PyZzhJqdFE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/8032115516886469468/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/12/jump-into-3d-maps-by-calculating.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8032115516886469468?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8032115516886469468?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/12/jump-into-3d-maps-by-calculating.html" title="Jump into 3D maps by calculating orientation" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CUMHRH87fip7ImA9WxNbGU0.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-191798758385766774</id><published>2009-11-21T22:50:00.000-08:00</published><updated>2009-11-22T07:23:55.106-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-22T07:23:55.106-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Review" /><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><title>Google's "Chrome OS" is Bad Evolution</title><content type="html">I am a computer engineer. I will always love to see computing&amp;nbsp;evolving&amp;nbsp;in right direction.&lt;br /&gt;
Google Chrome OS is bad for evolution of computing.&lt;br /&gt;
&lt;br /&gt;
Computing&amp;nbsp;evolved with Desktop computing and then web apps. Browser Based apps are always slow and&amp;nbsp;faulty, they can never be as robust as a desktop application can be.&lt;br /&gt;
&lt;br /&gt;
After The invention of web services and REST API, I would love to&amp;nbsp;see web&amp;nbsp;enabled&amp;nbsp;desktop&amp;nbsp;Apps.&lt;br /&gt;
&lt;br /&gt;
I love the concept of &lt;a href="http://portableapps.com/"&gt;Portable Apps&lt;/a&gt;&amp;nbsp;, When we mix concept of portable Apps and Cloud Based storage, we can&amp;nbsp;achieve&amp;nbsp;much better results. &amp;nbsp;BUT Google will never let it happen, they are re-inventing all those age old things again in browser. I have posted a small video&amp;nbsp;response&amp;nbsp;on you tube.&lt;br /&gt;
&lt;br /&gt;
Here it is.&lt;br /&gt;
&lt;br /&gt;
&lt;object height="385" width="480"&gt;&lt;param name="movie" value="http://www.youtube.com/v/d2SNuLNo6RE&amp;hl=en_GB&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/d2SNuLNo6RE&amp;hl=en_GB&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-191798758385766774?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/REdMx3UqdYbd6zfH5f15S6P6kHY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/REdMx3UqdYbd6zfH5f15S6P6kHY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/REdMx3UqdYbd6zfH5f15S6P6kHY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/REdMx3UqdYbd6zfH5f15S6P6kHY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/191798758385766774/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/11/googles-chrome-os-is-bad-evolution.html#comment-form" title="10 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/191798758385766774?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/191798758385766774?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/11/googles-chrome-os-is-bad-evolution.html" title="Google's &quot;Chrome OS&quot; is Bad Evolution" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">10</thr:total></entry><entry gd:etag="W/&quot;D0YMSXgyfyp7ImA9WxNbEE0.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-1092505915402892547</id><published>2009-11-11T21:25:00.001-08:00</published><updated>2009-11-11T21:53:08.697-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-11T21:53:08.697-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Phonetic Translation For Hindi</title><content type="html">&lt;p&gt;Hello!! I am an Indian, and for obvious reasons I have many friends on twitter who are also Indian and&amp;#160; we communicate in Hindi very often. Wait!! We don't type Hindi on twitter, because Hindi typing requires a special keyboard (or at least special Input Method), which we typically don't keep with us. Its because we Indian officially work in English Language. &lt;/p&gt;  &lt;p&gt;So if you are a foreigner and You see this phonetically typed Hindi, No way you can get it translated to your own language. &lt;/p&gt;  &lt;p&gt;So For you I have created a small JavaScript hack so that you can translate Phonetic Hindi into your own language.&lt;/p&gt;  &lt;p&gt;This is not for only who are foreigners, If you are Indian &amp;amp; still you have problem in understanding Hindi, here is Tool for you.&lt;/p&gt;  &lt;p align="center"&gt;&lt;strong&gt;&lt;a href="http://www.purplegene.com/static/PhoneticTranslation.html" target="_blank"&gt;&lt;font size="5"&gt;Demo&lt;/font&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p align="left"&gt;&lt;strong&gt;How to develop on your own??&lt;/strong&gt;&lt;/p&gt;  &lt;p align="left"&gt;This is a Mashup. I am using 3 different service. &lt;/p&gt;  &lt;p align="left"&gt;1.&lt;a href="http://scriptconv.googlelabs.com/" target="_blank"&gt;Script Convertor&lt;/a&gt;&lt;/p&gt;  &lt;p align="left"&gt;2.Google Translate API&lt;/p&gt;  &lt;p align="left"&gt;3.YQL (a very useful platform for creating mashup)&lt;/p&gt;  &lt;p align="left"&gt;To see the source code open the demo page and view source.&lt;/p&gt;  &lt;p align="left"&gt;I have written only few lines of&amp;#160; of JavaScript to do this.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-1092505915402892547?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/06QiZ1k1VHs56lXv33yhjRrwt38/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/06QiZ1k1VHs56lXv33yhjRrwt38/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/06QiZ1k1VHs56lXv33yhjRrwt38/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/06QiZ1k1VHs56lXv33yhjRrwt38/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/1092505915402892547/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/11/phonetic-translation-for-hindi.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/1092505915402892547?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/1092505915402892547?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/11/phonetic-translation-for-hindi.html" title="Phonetic Translation For Hindi" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry gd:etag="W/&quot;A0QNQHkzeSp7ImA9WxNUFko.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-6857116686758543952</id><published>2009-11-08T03:23:00.000-08:00</published><updated>2009-11-08T03:23:11.781-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-08T03:23:11.781-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Humour" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Coding Bullshit Meter (Outlook Addin)</title><content type="html">I thought this will be fun. We developers often get some mail from corporate&amp;nbsp;management, which are completely bullshit to us.&amp;nbsp;How much bullshit it has?? Lets calculate? To calculate I have created a small outlook Add-in (plug-in) which will Display the bullshit percentage on the ToolBar&amp;nbsp;when you select the mail item.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_sFmKMtGguSE/Svapu_9Dn5I/AAAAAAAAFO4/QMBJnJjfH2c/s1600-h/outlook.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_sFmKMtGguSE/Svapu_9Dn5I/AAAAAAAAFO4/QMBJnJjfH2c/s320/outlook.png" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
Some of the keywords its uses to calculate the bullshit is this&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: black;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;span style="color: #cc0000;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;s&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #cc0000;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;ynergy,strategic fit,gap analysis,revisit,bandwidth,best practice,bottom line,hardball,out of the loop,benchmark,value added,proactive,win-win,think outside the box,fast track,result driven,empower,knowledge base,total quality,quality driven,touch base,mindset,client focus&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
This is the first time i am developing any kind of Add-In for any application. I used Visual Studio 2010 (beta) 2010 for developing.&lt;br /&gt;
&lt;br /&gt;
You will get many problems, &amp;nbsp;when you will develop an outlook&amp;nbsp;plug-in. One of the biggest problem I faced was that "Event of '&lt;i&gt;Item selection&amp;nbsp;change'&lt;/i&gt;&amp;nbsp;&lt;b&gt;&lt;span style="color: red;"&gt;was not firing&lt;/span&gt;&lt;/b&gt;".&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;t&lt;span style="color: blue;"&gt;his.Application.ActiveExplorer().SelectionChange&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;I&amp;nbsp;finally&amp;nbsp;come to know that you need to keep a reference of the ActiveExplorer all the time in the class.&lt;br /&gt;
&lt;br /&gt;
Ok, this trick worked!!!&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://jugad.googlecode.com/files/BullShitCalc.zip"&gt;Download Source Code Here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I am not creating installer for this (or any kind of&amp;nbsp;set-up). If at all you want to use this, please download the source code and compile on your machine. You might need Visual studio 2010 for this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-6857116686758543952?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/g5B9W5mIUg-OH-bwFIVyKYY7MIQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/g5B9W5mIUg-OH-bwFIVyKYY7MIQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/g5B9W5mIUg-OH-bwFIVyKYY7MIQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/g5B9W5mIUg-OH-bwFIVyKYY7MIQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/6857116686758543952/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/11/coding-bullshit-meter-outlook-addin.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/6857116686758543952?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/6857116686758543952?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/11/coding-bullshit-meter-outlook-addin.html" title="Coding Bullshit Meter (Outlook Addin)" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_sFmKMtGguSE/Svapu_9Dn5I/AAAAAAAAFO4/QMBJnJjfH2c/s72-c/outlook.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;C0ECQX0_fSp7ImA9WxNUFEg.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-6891632359325938711</id><published>2009-11-05T12:07:00.000-08:00</published><updated>2009-11-05T12:07:40.345-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-05T12:07:40.345-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><title>Simplest Way to Add code review using  CodeCollaborator</title><content type="html">One of the simplest way to add code review is by doing a diff on 2 folders. Where Folder1 Contains the previous code and Folder2 contains updated code.&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Unfortunately&amp;nbsp;the&amp;nbsp;documentation&amp;nbsp;was lil messy and I was not able to do it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Here is simplest simplest example.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Use command line client of Code&amp;nbsp;Collaborator&amp;nbsp;and type this command&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;ccollab adddiffs new &amp;nbsp;Folder1 Folder2&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Instead of &lt;b&gt;&lt;i&gt;new&lt;/i&gt;&lt;/b&gt;, you can write the review number which you have created at your server.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-weight: bold;"&gt;ccollab adddiffs 12345 &amp;nbsp;Folder1 Folder2&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;I had&amp;nbsp;problem&amp;nbsp;about this, so posting here. May be this will help you as well.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: left;"&gt;Good thing is smatbears people are on twitter and they helped me.. Thanks guys.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-6891632359325938711?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SUdg_wZjQExjsdHGnxB751zb2Fo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SUdg_wZjQExjsdHGnxB751zb2Fo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SUdg_wZjQExjsdHGnxB751zb2Fo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SUdg_wZjQExjsdHGnxB751zb2Fo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/6891632359325938711/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/11/simplest-way-to-add-code-review-using.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/6891632359325938711?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/6891632359325938711?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/11/simplest-way-to-add-code-review-using.html" title="Simplest Way to Add code review using  CodeCollaborator" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry gd:etag="W/&quot;AkEFQHY9fip7ImA9WxNVFE4.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-8008548274338535447</id><published>2009-10-13T22:23:00.001-07:00</published><updated>2009-10-24T19:43:31.866-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-24T19:43:31.866-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Review" /><title>Bungee with BungeeAmerica (on The Bridge to Nowhere)</title><content type="html">&lt;div class="separator" style="clear: both; text-align: left;"&gt;Yes, I am talking about my life time experience of bungee jumping which I did with company called &lt;a href="http://www.bungeeamerica.com/"&gt;Bungee America&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_sFmKMtGguSE/SuO6udaDlUI/AAAAAAAAFMI/Zh83VQl_KKM/s1600/IMG_1241.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_sFmKMtGguSE/SuO6udaDlUI/AAAAAAAAFMI/Zh83VQl_KKM/s400/IMG_1241.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;How to get reservation     &lt;/b&gt;&lt;br /&gt;
--Call them&amp;nbsp;(310-322-8892)&amp;nbsp;and follow the procedure&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Experience&lt;/strong&gt;     &lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Bungee Jumping is awesome, I jumped thrice. &amp;nbsp;But jumping with bungee America is even cool, because you are 100% safe.&lt;/li&gt;
&lt;li&gt;Before reaching to bungee spot, we hiked 5 miles in canyons(deep&amp;nbsp;inside&amp;nbsp;San&amp;nbsp;Gabriell&amp;nbsp;mountains). that was really cool. In-fact I hv never done any hiking like that before. Hiking on the trail, was really adventurous.&lt;/li&gt;
&lt;li&gt;First we all reached &lt;i&gt;Azusa, 6th street&lt;/i&gt;. From there we drove our car to last parking deep inside the&amp;nbsp;San&amp;nbsp;Gabriell&amp;nbsp;mountains.&lt;/li&gt;
&lt;li&gt;From Last Parking lot we all&amp;nbsp;hiked&amp;nbsp;to "Bridge To Nowhere", which is a 5 mile hike, and you will cross the river 6 times. So our&amp;nbsp;shoes&amp;nbsp;gone wet (we all were in&amp;nbsp;Bermuda&amp;nbsp;Pants). This hike takes almost 2 hours of time and very tiring, though there are no&amp;nbsp;steep&amp;nbsp;slope.&lt;/li&gt;
&lt;li&gt;We all had our lunch with us,&amp;nbsp;because&amp;nbsp;there is nothing you will get there to eat.&lt;/li&gt;
&lt;li&gt;When you will reach there everyone will be excited &amp;amp;&amp;nbsp;when you will go for bungee,&amp;nbsp;everyone will cheer you up. That is cool,&amp;nbsp;because&amp;nbsp;when you are going for something like that you need support of crowd.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Photos&lt;/strong&gt;     &lt;br /&gt;
Here you go &lt;a href="http://picasaweb.google.com/Mark.dawn/Bungee#slideshow/5392305931355801058"&gt;FullScreen&lt;/a&gt;&lt;br /&gt;
(Photos are mapped &lt;a href="http://picasaweb.google.com/lh/albumMap?uname=Mark.dawn&amp;amp;aid=5392305905382528897#map"&gt;here&lt;/a&gt;)&lt;br /&gt;
Note: Azusa is a place near to Los Angeles, CA&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-8008548274338535447?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qBWhMGuhDFspmfyFBD0nTJDxWuU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qBWhMGuhDFspmfyFBD0nTJDxWuU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qBWhMGuhDFspmfyFBD0nTJDxWuU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qBWhMGuhDFspmfyFBD0nTJDxWuU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/8008548274338535447/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/10/bungee-with-bungeeamerica-on-bridge-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8008548274338535447?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/8008548274338535447?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/10/bungee-with-bungeeamerica-on-bridge-to.html" title="Bungee with BungeeAmerica (on The Bridge to Nowhere)" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_sFmKMtGguSE/SuO6udaDlUI/AAAAAAAAFMI/Zh83VQl_KKM/s72-c/IMG_1241.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:point>34.15954545771158 -116.93435668945312</georss:point></entry><entry gd:etag="W/&quot;DEIMQ309fCp7ImA9WxBWFUg.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-9004313919498110074</id><published>2009-10-09T14:41:00.000-07:00</published><updated>2010-02-07T07:29:42.364-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-07T07:29:42.364-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Events" /><title>Small Lil Updates</title><content type="html">Not finding enough time to update my blog.&lt;br /&gt;
Here is&amp;nbsp;something, (when u&amp;nbsp;don't&amp;nbsp;have anything to read from my blog.)&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 15px;"&gt;I loved this concept, You Tube Video&amp;nbsp;&lt;a class="tweet-url web" href="http://bit.ly/VnHZH" rel="nofollow" style="color: #493a85; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" target="_blank"&gt;http://bit.ly/VnHZH&lt;/a&gt;"&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: 14px; line-height: 15px;"&gt;m going&amp;nbsp;creative&amp;nbsp;these days. So find some good snaps here&amp;nbsp;&lt;a href="http://www.flickr.com/photos/markandeysingh/sets/72157622551094180/show/"&gt;http://www.flickr.com/photos/markandeysingh/sets/72157622551094180/show/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span style="font-size: 14px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span style="font-size: 14px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span style="font-size: 14px; line-height: 15px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;[Currently I am on a official trip, Here in San Diego,CA. Hectic Schedules]&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 15px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium; line-height: normal;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span style="font-size: 14px; line-height: 15px;"&gt;Thanks&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span style="font-size: 14px; line-height: 15px;"&gt;Keep reading my blog.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: #333333; font-family: 'Lucida Grande', sans-serif; font-size: medium;"&gt;&lt;span style="font-size: 14px; line-height: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-9004313919498110074?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hjDqAsoR5EMnICkYwZ89TpAs34g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hjDqAsoR5EMnICkYwZ89TpAs34g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hjDqAsoR5EMnICkYwZ89TpAs34g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hjDqAsoR5EMnICkYwZ89TpAs34g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/9004313919498110074/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/10/small-lil-updates.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/9004313919498110074?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/9004313919498110074?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/10/small-lil-updates.html" title="Small Lil Updates" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry gd:etag="W/&quot;C0cBQ308fyp7ImA9WxNREUo.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-2924119325327872932</id><published>2009-09-05T10:14:00.001-07:00</published><updated>2009-09-05T10:17:32.377-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T10:17:32.377-07:00</app:edited><title>What a software engineer can learn from YSR’s death</title><content type="html">&lt;p&gt;One of the reason media figured out for YSR death is “he ignored safety processes/guidelines, and he influenced the aviation staff to fly during bad weather condition”.&lt;/p&gt;  &lt;p&gt;Now question is whose mistake?? &lt;/p&gt;  &lt;p&gt;Is it the mistake of CM to influence staff who takes care of safety guidelines? Or it’s the mistake of staff that he got influenced??? &lt;/p&gt;  &lt;p&gt;I believe it’s the mistake of staff.&lt;/p&gt;  &lt;p&gt;Very often this happens in software industry as well, we are given some tight schedule and we are forced to finish it. How you act in such scenario?? Mostly we try to finish that within deadline and we skip essential steps e.g. we skip unit testing, we skip code reviews and all of above we tend to write quick and dirty code.&lt;/p&gt;  &lt;p&gt;Before doing anything like that you should ask a question to you.&lt;/p&gt;  &lt;p&gt;Which is more dangerous?&lt;/p&gt;  &lt;p&gt;· Refusing to work on tight guideline?&lt;/p&gt;  &lt;p&gt;· Or writing quick and dirty code, and skipping process guideline?&lt;/p&gt;  &lt;p&gt;Act accordingly!!&lt;/p&gt;  &lt;p&gt;I personally refuse to work on tight guideline many time, because I think that might annoy my Boss for a moment but when something will go seriously wrong after product delivery, it might annoy whole company.&lt;/p&gt;  &lt;p&gt;[sad about the death of a mass leader]&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-2924119325327872932?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PSM2bf3mjJVjD3wnV7WkZcVpzdg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PSM2bf3mjJVjD3wnV7WkZcVpzdg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PSM2bf3mjJVjD3wnV7WkZcVpzdg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PSM2bf3mjJVjD3wnV7WkZcVpzdg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/2924119325327872932/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/09/what-software-engineer-can-learn-from.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/2924119325327872932?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/2924119325327872932?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/09/what-software-engineer-can-learn-from.html" title="What a software engineer can learn from YSR’s death" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;CEUFSH89eip7ImA9WxBbFE4.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-3479082308281470005</id><published>2009-08-27T11:46:00.001-07:00</published><updated>2010-03-12T14:16:59.162-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-12T14:16:59.162-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>YQL hack to get DZone popular articles on 1 page</title><content type="html">Problem with DZone feed is, it contains the link to DZone page. No way i can jump to article, skipping the DZone page. At the end of this article You will be getting a simple YQL based hack to get a DZone popular links on 1 page linked to original blog page.&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: red; font-size: medium;"&gt;Note&lt;/span&gt;: if you are not interested in how i got it &lt;/span&gt;&lt;a href="http://www.purplegene.com/static/dzonearticles.html"&gt;&lt;span style="font-size: x-small;"&gt;Jump to Demo&lt;/span&gt;&lt;/a&gt;.&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-size: medium;"&gt;&lt;strong&gt;STEP-1&lt;/strong&gt;       &lt;br /&gt;
&lt;/span&gt;Using YQL first get the popular links.&amp;nbsp; using feed table (use &lt;a href="http://developer.yahoo.com/yql/console/"&gt;YQL console&lt;/a&gt;).&lt;br /&gt;
URL to popular link feed is &lt;a href="http://feeds.dzone.com/dzone/frontpage"&gt;http://feeds.dzone.com/dzone/frontpage&lt;/a&gt;     &lt;br /&gt;
So my YQL query will be.&lt;br /&gt;
&lt;span style="color: blue; font-size: small;"&gt;select * from feed where url='http://feeds.dzone.com/dzone/frontpage'&lt;/span&gt;     &lt;br /&gt;
&lt;br /&gt;
You will get the details of all popular articles linked to Dzone’s page (same as in feed).&lt;br /&gt;
I am just interested in links so my YQL will be (replace * by link).    &lt;br /&gt;
&lt;span style="color: blue; font-size: small;"&gt;select &lt;span style="color: red;"&gt;&lt;strong&gt;link&lt;/strong&gt;&lt;/span&gt; from feed where url='http://feeds.dzone.com/dzone/frontpage'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: medium;"&gt;&lt;strong&gt;STEP-2&lt;/strong&gt;       &lt;br /&gt;
&lt;/span&gt;With all those link retrieved in the step-1, get the HTML page out of it. get the title node using an XPath query .     &lt;br /&gt;
First by simple DOM inspection i can figure out that title node is wrapped in a DIV element&amp;nbsp; whose class name is ‘ldTitle’.     &lt;br /&gt;
&lt;span style="color: blue; font-size: medium;"&gt;select * from html where url in (&lt;span style="color: #8080ff;"&gt;select link from feed where url='http://feeds.dzone.com/dzone/frontpage'&lt;/span&gt;) and xpath='//div[@class="ldTitle"]/a'       &lt;br /&gt;
&lt;/span&gt;Select format as XML and grab the REST URL     &lt;br /&gt;
which will look like this &lt;br /&gt;
&lt;div class="code"&gt;http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%20in%20(select%20link%20from%20feed%20where%20url%3D'http%3A%2F%2Ffeeds.dzone.com%2Fdzone%2Ffrontpage')%20and%0A%20%20%20%20%20%20xpath%3D'%2F%2Fdiv%5B%40class%3D%22ldTitle%22%5D%2Fa'&amp;amp;format=xml&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;STEP-3&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
Now Time to do some tweaking. if i get this data in XML i have to parse it. if i will get it in JSON, JavaScript will do all the parsing for me. That's why i love JSON. &lt;br /&gt;
Now if i get everything in JSON i have to regenerate DOM via a JavaScript code. I am lazy to do even that. So i want result formatted in JSON and DOM section as it is(i.e. in XML).&lt;br /&gt;
I can do this by putting a call-back as argument in above REST URL.&lt;br /&gt;
so my REST URL will be &lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%20in%20(select%20link%20from%20feed%20where%20url%3D'http%3A%2F%2Ffeeds.dzone.com%2Fdzone%2Ffrontpage')%20and%0A%20%20%20%20%20%20xpath%3D'%2F%2Fdiv%5B%40class%3D%22ldTitle%22%5D%2Fa'%0A%0A&amp;amp;format=xml&amp;amp;callback=loadlist&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
My call back name is ‘loadlist’. so lets implement this call-back.&lt;br /&gt;
which is like this. &lt;br /&gt;
&lt;pre&gt;function loadlist(data)
{
var content_div=document.getElementById('content');
if(!data.query)
{

content_div.innerHTML="error.. failed to load"
}
else
{
var i=0;
var html="";
for(i=0;i&amp;lt;data.query.count;i++)
{
html= html+data.results[i]+"&amp;lt;br/&amp;gt;";
}
content_div.innerHTML=html;
}
}&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
To see the full source code, visit &lt;a href="http://www.purplegene.com/static/dzonearticles.html"&gt;this page&lt;/a&gt; and view source code. I have implemented extra function ‘track’ for some purpose. . &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align="center"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.purplegene.com/static/dzonearticles.html"&gt;DEMO&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-3479082308281470005?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4CQFLVUy2AvIUJ1l35UHQozPcT4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4CQFLVUy2AvIUJ1l35UHQozPcT4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4CQFLVUy2AvIUJ1l35UHQozPcT4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4CQFLVUy2AvIUJ1l35UHQozPcT4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/3479082308281470005/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/08/yql-hack-to-get-dzone-popular-articles.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/3479082308281470005?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/3479082308281470005?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/08/yql-hack-to-get-dzone-popular-articles.html" title="YQL hack to get DZone popular articles on 1 page" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;C0EMRnk-fCp7ImA9WxNSEEk.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-74389528522189054</id><published>2009-08-23T08:08:00.001-07:00</published><updated>2009-08-23T08:34:47.754-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-23T08:34:47.754-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>7 things I did on my blog, to make it a better place to read</title><content type="html">&lt;p&gt;Readability &amp;amp; accessibility for a blog is very important.&amp;#160; You need to give few good reasons to your reader to bring them on your blog site. Today, when technology is really advanced we need to re-look our blog website &amp;amp; think of few additional things.&amp;#160; This blog has all those 7 things, which I am going to discuss. I consider my blog most accessible in all forms. Good theme for readability, easy to share, optimized for speed, accessible on mobile, user can choose to translate in his language &amp;amp; last but not the least user can choose to listen its content.&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000" size="4"&gt;1. Choose better theme.      &lt;br /&gt;&lt;/font&gt;This is most basic thing. Clean and neat theme on a blog is very important. White background with black colour text is most appropriate theme.&amp;#160; Do not put too much of flashy advertisements or flashy content, they not only distract &amp;amp; confuse your readers; they also slow down the loading time. &lt;a href="http://blogs.msdn.com/jmeier/archive/2008/03/17/how-to-choose-an-effective-blog-template-or-theme.aspx"&gt;This article might help you to choose better theme&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000" size="4"&gt;2. Make it easy to share &amp;amp; comment. &lt;/font&gt;    &lt;br /&gt;Blogging is a form of social media. It’s very important to have better interactivity with your readers.&amp;#160; Comment form must be having various options; user should not be forced to login to put comment. Yes, if don't want any unwanted content to be posted by your readers, your can go for “comment approval” option.     &lt;br /&gt;These days’ people love to share blogs on various channels. Add buttons like &lt;a href="http://www.addthis.com/"&gt;addthis&lt;/a&gt;, &lt;a href="http://woork.blogspot.com/2008/01/add-dzone-button-on-blogger-template.html"&gt;dzone&lt;/a&gt;, tweetmeme(&lt;a href="http://isuman.blogspot.com/2009/05/tweetmeme-button-for-blogger.html"&gt;blogger&lt;/a&gt;, &lt;a href="http://www.shoutmeloud.com/how-to-add-digg-and-tweetmeme-button-in-thesis-wordpress-theme.html"&gt;wordpress&lt;/a&gt;) digg(&lt;a href="http://tips-for-new-bloggers.blogspot.com/2007/03/add-digg-button-to-blogger-or-blogspot.html"&gt;blogger&lt;/a&gt;, &lt;a href="http://www.shoutmeloud.com/how-to-add-digg-and-tweetmeme-button-in-thesis-wordpress-theme.html"&gt;wordpress&lt;/a&gt;) etc to make it easy to share.&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000" size="4"&gt;3. Optimize for speed.&lt;/font&gt;     &lt;br /&gt;Adding to much of buttons, poor theme and gadgets might slow down loading time of your blog site. Here are 3 things you can do to improve performance.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;i.&lt;b&gt; Put all unobtrusive scripts at the bottom of page.&lt;/b&gt;       &lt;br /&gt;As you know most of the gadgets and buttons are based on JavaScript. Adding too much of buttons and gadgets might slow down loading time of your blog.&lt;/p&gt;    &lt;p&gt;Any JavaScript block, freezes the loading of rest of the content till complete JavaScript code is not loaded. So you can effectively bring readable content much early, by putting most of the JavaScript blocks at the bottom of the page. Question is how can you decide, what can be kept at the bottom of the page? Any script which only executes when entire webpage is loaded can be brought the bottom of the page. In more technical terms any &lt;a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript"&gt;unobtrusive code&lt;/a&gt; can be kept at the bottom of the page.&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;ii. &lt;b&gt;Use&lt;/b&gt;&lt;b&gt; CDN (for better loading time)&lt;/b&gt; .       &lt;br /&gt;One way to get free CDN is “Google’ App Engine”. &lt;a href="http://www.digitalistic.com/2008/06/09/10-easy-steps-to-use-google-app-engine-as-your-own-cdn/"&gt;Read this article&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;&lt;b&gt;iii. Run tests like Yslow or Page Speed.&lt;/b&gt;       &lt;br /&gt;&lt;a href="http://developer.yahoo.com/yslow/"&gt;YSlow&lt;/a&gt; and &lt;a href="http://code.google.com/speed/page-speed/"&gt;PageSpeed&lt;/a&gt; are a plug-ins for Firefox (on top of Firebug). These plug-ins can run a test on websites and can tell you what can be optimized.&amp;#160; They will provide huge list, though you can not achieve all of them easily but if you even achieve 50% of them your website will be much faster than any webpage. If you really want to see most optimized web page see yahoo home page. They have lots of content on the website but still loading surprisingly low.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font color="#ff0000" size="4"&gt;4. Automated podcast (sometime listening is better).&lt;/font&gt;     &lt;br /&gt;If you are kind of guy, who write long descriptive content, automated podcasting feature might help your reader to have an option to “listen” rather reading it. &lt;a href="http://www.odiogo.com/"&gt;Odiogo&lt;/a&gt; gives free automated way to get podcast of your blog text. It has built-in text-2-speech feature, which will narrate your blog.&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000" size="4"&gt;5. Automatically Translatable.&lt;/font&gt;     &lt;br /&gt;Automated translation might not help a lot, but can be really handy for foreign users. Use &lt;a href="http://translate.google.com/translate_tools"&gt;Google Translate widget&lt;/a&gt; on your blog so that user can easily translate.&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000" size="4"&gt;6. Mobile readable.&lt;/font&gt;     &lt;br /&gt;Many people prefer to do blog reading on their mobile. There is an easy way to create mobile version of your website. You can use Mobify, to get mobile version of your blog. Getting mobile version is easy; &lt;a href="http://woork.blogspot.com/2009/08/how-to-implement-mobile-version-of-your.html"&gt;you can get it in 3 easy steps&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000" size="4"&gt;7. Add some fun.&lt;/font&gt;     &lt;br /&gt;On my blog you can &lt;a href="http://www.markandey.com/2009/06/new-blog-theme.html"&gt;drag those sidebar gadgets&lt;/a&gt;, such kind of functionality can help reader to play with your blog.&lt;/p&gt;  &lt;p&gt;Thanks for reading, Love to see your comments.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-74389528522189054?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/370MCRJAU5LaNykUiSGawrm3eyE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/370MCRJAU5LaNykUiSGawrm3eyE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/370MCRJAU5LaNykUiSGawrm3eyE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/370MCRJAU5LaNykUiSGawrm3eyE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/74389528522189054/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/08/7-things-i-did-on-my-blog-to-make-it.html#comment-form" title="8 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/74389528522189054?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/74389528522189054?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/08/7-things-i-did-on-my-blog-to-make-it.html" title="7 things I did on my blog, to make it a better place to read" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">8</thr:total></entry><entry gd:etag="W/&quot;C08BQHs6fyp7ImA9WxNWEEg.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-5252906722153897148</id><published>2009-08-09T15:32:00.001-07:00</published><updated>2009-10-08T18:30:51.517-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-08T18:30:51.517-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Top 11 Language Concepts That Every Developer Should Know</title><content type="html">There are a few fundamental things we have invented in programming languages,&lt;br /&gt;
which was invented at various point of time, particularly by one language and they were later adapted by many other languages.     &lt;br /&gt;
I am going to list some of them, which have bigger impacts.&lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 16pt;"&gt;&lt;span style="color: red;"&gt;&lt;strong&gt;DataType&lt;/strong&gt; &lt;/span&gt;&lt;/span&gt;    &lt;br /&gt;
The first and foremost thing which we have ever invented is the data type. Computers were&amp;nbsp; just a dumb machine, which could only understand the binary sequence. Binary sequence made no sense till it was grouped to form a DataType.     &lt;br /&gt;
As you know a DataType, is something which groups the binary sequence together and represents some entity in mathematical word OR real word. All depends on its interpretation.     &lt;br /&gt;
DataType is not just a grouping of binary sequence but also a set of operations which it posses. I mean a DataType definition just don't end with its binary&amp;nbsp; grouping but also the operation which can be performed on those entities. &lt;br /&gt;
Later we have evolved these DataTypes into more complex form. We used mathematics to bring various complex data structures like List, Stack, Queue etc.    &lt;br /&gt;
Today almost every programming language directly or indirectly have concept of data type. &lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red; font-size: 16pt;"&gt;Pointers&lt;/span&gt;&lt;/strong&gt;     &lt;br /&gt;
With the invention of computers, we've&amp;nbsp;&amp;nbsp; also invented the concept of loading and storing data from Hardware. Computers accesses memory by toggling special bit patterns in the&amp;nbsp; wires (which was called data bus).&amp;nbsp; This&amp;nbsp; led to the invention of Pointers in our high level programming languages. &lt;br /&gt;
Pointers specially became popular in C programming language. Pointer is one of the most popular programming concepts ever invented.&amp;nbsp; Other than C language, pointers are supported by languages like C++,C#, Fortran, Pascal. Few dialects of &lt;a href="http://en.wikipedia.org/wiki/BASIC"&gt;BASIC&lt;/a&gt; also supports pointer.&lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red; font-size: 16pt;"&gt;Structured Programming &lt;/span&gt;&lt;/strong&gt;    &lt;br /&gt;
Most of the programs in the early days were completely relying on GOTO statements, which was a real mess and was making programmers life real hell. Now that's where we have invented the "structured programming " another fundamental programming concept. Through this concept we have brought something called functions, and subsequently we realized the power of abstraction. &lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="font-size: 16pt;"&gt;&lt;strong&gt;OOPs&lt;/strong&gt; &lt;/span&gt;&lt;/span&gt;    &lt;br /&gt;
I think OOPs (Object Oriented Programming) is one of the most popular and ever lasting fundamental concept we have invented in history of programming languages. OOps is an umbrella concept. We have brought many concepts under this.Concepts like Data hiding, Inheritance, abstraction, polymorphisms (static &amp;amp; dynamic) were just the beginning of OOps. OOps is available directly or indirectly in almost all modern languages. Languages like C++, java &amp;amp; c# have brought it a long way.&lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red; font-size: 16pt;"&gt;Regular Expression&lt;/span&gt;&lt;/strong&gt;     &lt;br /&gt;
Regular expressions provide a concise and flexible means for identifying patterns in string. This is used for searching and replacing special pattern in a string.If your favourite programming language is supporting Regular Expressions, and you are still thinking of learning,then this is the time to go and learn. Regular Expressions are now supported by many languages (almost all popular programming languages). Additionally Regular expression became standard language for many find and replace system utilities. Unix command (utility) Grep is one of the most popularly known Regular Expression based utility. Regular Expressions became so popular concept that many programming languages made it as the part of there language syntax (construct).Languages like&amp;nbsp; Perl, Ruby and TCL embraced regular expression as their primary language construct. &lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 19px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red; font-size: 14pt;"&gt;SQL&lt;/span&gt;&lt;/strong&gt;     &lt;br /&gt;
With the invention of Relational database, where everything is stored in the form of Tables, SQL type of languages evolved. This was mainly developed for&amp;nbsp; data query, data update, schema creation &amp;amp; schema modification. They became so popular that it was extended to make procedural SQL.     &lt;br /&gt;
With the popularity of SQL, recently Google has brought &lt;strong&gt;&lt;a href="http://code.google.com/appengine/docs/python/datastore/gqlreference.html"&gt;GQL&lt;/a&gt;&lt;/strong&gt; to abstract their &lt;a href="http://labs.google.com/papers/bigtable.html"&gt;Big Table&lt;/a&gt; ( a non relational data base). SQL like syntax is also borrowed by yahoo in &lt;strong&gt;&lt;a href="http://developer.yahoo.com/yql/guide/"&gt;YQL&lt;/a&gt;&lt;/strong&gt;, to query data from anywhere on internet. &lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red; font-size: 16pt;"&gt;Managed Heap&lt;/span&gt; &lt;/strong&gt;    &lt;br /&gt;
Managed Heap OR&lt;a href="http://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/sp_techniques.html"&gt; Smart pointers&lt;/a&gt;, was another revolutionary concept which was invented as a hack of OOps concept (classes ) in C++. This was invented by Microsoft in a concept called COM. Smart Pointer, solved the problem of memory leak .&lt;br /&gt;
This concept was later adapted as default language semantic in programming languages like Java &amp;amp; C#. Later this was adapted by many programming languages like VB.net and Managed C++. &lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red; font-size: 16pt;"&gt;XPATH        &lt;br /&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;a href="http://www.w3schools.com/XPath/default.asp"&gt;XPath&lt;/a&gt; is another programming concept which was developed to access DOM tree, and became a preferred way to access the XML formatted data. This is another programming paradigm which you should be aware of, If by any chance you work with XML.     &lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="font-size: 16pt;"&gt;&lt;strong&gt;Duck Typing&lt;/strong&gt; &lt;/span&gt;&lt;/span&gt;    &lt;br /&gt;
The Term “&lt;a href="http://www.google.com/search?rlz=1C1GGLS_enIN291IN303&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;q=Duck+Typing"&gt;Duck Typing&lt;/a&gt;” is invented by Python, though the concept of duck typing is old and was there in few languages earlier than Python.In duck typing, programmer is concerned with just those aspects of an object that are used, rather than with the type of the object itself.&lt;br /&gt;
Let's understand this. Let us say we have a real life object Shape, which knows how to draw itself (with a method draw).&amp;nbsp; Now in OOps, We enforce this by creating an interface something like IDraw, any anything which can be drawn on the screen must be of type IDraw(i.e It should be inheriting IDraw). I Duck Typing, object can be drawn on the screen as long as object holds the draw method,irrespective of the type of object. DuckTyping removed the dependency of common interface definition, which are typically shared by client and server modules in OOps languages.&amp;nbsp; Disadvantage of such thing is, programmer will not be able to know at the compile time, that the object is not having the draw method in it. But wait, python does not have compile time, its interpreted language, so all the problem can only be identified during the runtime.   &lt;br /&gt;
One thing i am sure about DuckTyping is that it is very risky deal when you are building a big (&lt;a href="http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/"&gt;cathedral like&lt;/a&gt;) software. But it is very good when you are writing&amp;nbsp; very small quick and dirty lines of code.   &lt;br /&gt;
Duck Typing is supported by Python, JavaScript(and similar languages) &amp;amp; C# (for your surprise, &lt;a href="http://www.eioba.com/a75370/how_duck_typing_benefits_c_developers"&gt;read this nice example&lt;/a&gt;).   &lt;br /&gt;
Duck Typing helps a lot in JavaScript, in fact the concept of “JSON based AJAX” is completely based of duck typing.   &lt;br /&gt;
&lt;a href="http://blog.jason.pollock.ca/2008/08/duck-typing-sucks.html"&gt;Duck typing is a very controversial concept&lt;/a&gt;, many &lt;a href="http://www.ddj.com/cpp/184401971"&gt;OOPs&lt;/a&gt; lovers hate this concept.   &lt;br /&gt;
&lt;span style="color: red; font-size: x-large;"&gt;&lt;span style="font-size: 21px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red; font-size: 16pt;"&gt;Closure&lt;/span&gt;&lt;/strong&gt;     &lt;br /&gt;
Some languages (e.g. JavaScript) allows you to define a function inside another function. Closure is the scope, which inner function is having.&amp;nbsp; Coolest part of closure is, scope remains valid even after outer function have returned.&lt;br /&gt;
One of the nice example of closure is this (in JavaScript), Inner function &lt;strong&gt;&lt;em&gt;dofading&lt;/em&gt;&lt;/strong&gt; will still be having access to ‘&lt;strong&gt;&lt;em&gt;Div_InClosureScope&lt;/em&gt;&lt;/strong&gt;’ even after the&lt;strong&gt;&lt;em&gt; Fade&lt;/em&gt;&lt;/strong&gt; have returned. &lt;br /&gt;
&lt;pre&gt;function Fade(id)
{
var Div_InClosureScope= document.getElementById(id);
var level=0;
function dofading()
{
var hex=level.toString(16);
Div_InClosureScope.style.backgroundColor='#ff'+hex+hex+hex+hex;
if(level&amp;lt;15)
{
level++;
setTimeout(dofading,100);
}
}
setTimeout(dofading,10);
}&lt;/pre&gt;In more general term, closure is a special scope, provided to a special instance of a function. In OPPs the member function enjoys closure (data members are in closure scope). Programming language C does not have closure concept at all. Its a most simple and straight language.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt; &lt;span style="color: red; font-size: 16pt;"&gt;Yield&lt;/span&gt; &lt;/strong&gt;&lt;br /&gt;
I found this technique first in python.This was not something new, but can confuse most the programmers from c/c++ background. This technique somehow stores state of iterator (I will explain latter), and returns different result at different time, and this is something c/c++ programmers are not used to. Any C/C++ programmer assumes a function is a stateless machine, which can return only one result for given set of argument, no matter how many time you going call that function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A Python function stack can be unwrapped( retuned) in 2 ways, by a return statement or by a yield statement. A return statement stops the execution of a function (same as in c/c++ ). On the other hand an yield statement halts the execution of a function and store the state, so that when it will be invoked later, execution will start from the same point. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lets take an example of typical Fibonacci number generator. &lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;#An endless generator
def fibonacci():
i = j = 1
while True:
r, i, j = i, j, i + j #respective assignment
yield r

for rabbits in fibonacci():
print rabbits,
if rabbits &amp;gt; 100: break

Output
1 1 2 3 5 8 13 21 34 55 89 144
&lt;/pre&gt;&lt;br /&gt;
Python certainly support, C++ like return statement, but using yield is most efficient for this such generators. All those recursive way of writing Fibonacci number generators are really inefficient( though they look simple).&lt;br /&gt;
Yield statement is &lt;a href="http://msdn.microsoft.com/en-us/library/9k7k7cf0(VS.80).aspx"&gt;also supported by C#.net&lt;/a&gt;.&amp;nbsp; Here is one of the &lt;a href="http://blogs.msdn.com/ericlippert/archive/2009/07/20/iterator-blocks-part-four-why-no-yield-in-catch.aspx"&gt;nice post about yield in c#&lt;/a&gt;. Do not miss!&lt;br /&gt;
&lt;br /&gt;
I love this article, "&lt;a href="http://www.codethinked.com/post/2009/06/15/Life-After-Loops.aspx"&gt;Life after loops&lt;/a&gt;".&amp;nbsp;somehow,&amp;nbsp;its connected to this blog post&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-5252906722153897148?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AqWEE33Yp8SGIGjVA91FazVMDlM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AqWEE33Yp8SGIGjVA91FazVMDlM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AqWEE33Yp8SGIGjVA91FazVMDlM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AqWEE33Yp8SGIGjVA91FazVMDlM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/5252906722153897148/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/08/top-11-language-concepts-that-every.html#comment-form" title="8 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/5252906722153897148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/5252906722153897148?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/08/top-11-language-concepts-that-every.html" title="Top 11 Language Concepts That Every Developer Should Know" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">8</thr:total></entry><entry gd:etag="W/&quot;DUUARHw7fCp7ImA9WxJaEUw.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-1415265439805245047</id><published>2009-08-01T01:52:00.001-07:00</published><updated>2009-08-01T02:00:45.204-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-01T02:00:45.204-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><title>We Code writers are better than Literary Writers</title><content type="html">&lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;We write to make it readable.&lt;/strong&gt;&lt;/font&gt;     &lt;br /&gt;Yes, we spend 20% of our coding time to produce working code, and rest of 80% time in beautifying and indenting our code. We love to make our code more and more readable.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;We don't beat around the bush.&lt;/font&gt;&lt;/strong&gt;    &lt;br /&gt;We write very specific. We hate un-necessary details. We try to communicate the message (the solution) as early as possible.&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;We love to keep it simple.&lt;/strong&gt;&lt;/font&gt;    &lt;br /&gt;We as a code writer, don't try to complicate things. We feel much better when we see our solution simple. That's why we say KISS (keep it simple, stupid!).&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;We don't repeat Information.&lt;/font&gt;&lt;/strong&gt;    &lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;yes, we believe in DRY (don't repeat yourself) principle. we represent one information at only one place. Though many novice developers make mistake to represent&amp;#160; information twice and thrice in their code. This brings a serious problem. &lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;strong&gt;We don't count pages&lt;/strong&gt;.&lt;/font&gt;    &lt;br /&gt;We developers, (true developer) feels very productive when we delete LOC( line of code). Most managers in our company think that LOC is true measure of our productivity, but we don't.&amp;#160; We love to delete code, and our most productive time is spent in deleting Code. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;We are open.&lt;/font&gt;&lt;/strong&gt;    &lt;br /&gt;As an innovator, we try to present idea, even if we are scared that idea can be stolen. We don't think hiding an idea makes any kind of sense.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;We are least bothered, when it comes to plagiarism.&lt;/font&gt;&lt;/strong&gt;     &lt;br /&gt;Unlike literary writers, we are less concerned about plagiarism. We love if someone copy our code. We take it as a good news. in-fact the whole open source philosophy is based on it. We just request to mention our name in the code, but if they don't mention we don't bother.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-1415265439805245047?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/a4r7M6of6mk7FbNhX09SeMJUQUk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a4r7M6of6mk7FbNhX09SeMJUQUk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/a4r7M6of6mk7FbNhX09SeMJUQUk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a4r7M6of6mk7FbNhX09SeMJUQUk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/1415265439805245047/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/08/we-code-writers-are-better-than.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/1415265439805245047?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/1415265439805245047?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/08/we-code-writers-are-better-than.html" title="We Code writers are better than Literary Writers" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total></entry><entry gd:etag="W/&quot;A0EARXg_fip7ImA9WxJbGUo.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-7227914046787325457</id><published>2009-07-30T08:54:00.001-07:00</published><updated>2009-07-30T11:47:24.646-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-30T11:47:24.646-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><title>Few Elegant solutions from Apple (present and future)</title><content type="html">&lt;p&gt;Looking at the various patents and products from apple I believe they are most innovative people in the world (of computers&amp;amp; devices).&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;(Note:Click images to explore more)&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="5"&gt;iPod Shuffle's VoiceOver Solution&lt;a href="http://www.apple.com/ipodshuffle/voiceover.html" target="_blank"&gt;&lt;img style="display: block; float: none; margin-left: auto; margin-right: auto" alt="iPod shuffle with VoiceOver icon." src="http://images.apple.com/ipodshuffle/images/voiceover_hero_20090311.jpg" width="222" height="152" /&gt;&lt;/a&gt;&lt;/font&gt;     &lt;br /&gt;VoiceOver solution provides, a voice based menu to the iPod listeners. Solution looks quite great and you might end up thinking that iPod shuffle has TextToSpeech functionality. But answer is NO. iPod shuffle is still a device which can just play an audio file. The menu items come from the another audio-file which has been synced into your device thru PC. Today your PC is capable of TextToSpeech, iTunes will use this to get the small audio file, which will be the sound of SongName, Artist and etc. (textual information resides in your mp3 file).&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="5"&gt;Movement-Aware Interfaces for iPhones&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.macrumors.com/2009/04/16/apple-researching-movement-aware-interfaces-for-iphones/" target="_blank"&gt;&lt;img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://images.macrumors.com/article/2009/04/16/045834-movement.jpg" width="220" height="179" /&gt;&lt;/a&gt;     &lt;br /&gt;Isn't It Great to make your icons bigger, when you are jumping or running while using your iPhone. I think&amp;#160; YES,&amp;#160; iPhone will use accelerometer to resize its menu and&amp;#160; other UI elements.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;font size="5"&gt;USB device ejection touch sensor&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.iphonestalk.com/more-apple-patent-madness-usb-device-ejection-touch-sensor-5598/" target="_blank"&gt;&lt;img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://www.iphonestalk.com/images/usbpatent.jpg" width="284" height="205" /&gt;&lt;/a&gt;&lt;font size="5"&gt;      &lt;br /&gt;&lt;/font&gt;How annoying is it to do several click on your PC, just to eject your USB device? Its solved!! Apple's USB devices will be having a small sensor to know that when you are going to hold your USB device and probably your intension is to plug-out. &lt;/p&gt;  &lt;p&gt;&lt;font size="5"&gt;Haptic Feedback for touch screen&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.macrumors.com/2009/07/02/haptic-feedback-fingerprint-identification-and-rfid-tag-readers-in-future-iphones/" target="_blank"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; margin: 0px auto; display: block; float: none; border-top: 0px; border-right: 0px" border="0" src="http://images.macrumors.com/article/2009/07/02/041535-haptic.jpg" width="214" height="216" /&gt;&lt;/a&gt;&lt;font size="5"&gt;     &lt;br /&gt;&lt;/font&gt;Touch screen helped us to utilize the same physical space for different functions. awesome!! But reality is, user never sees what he is going to touch. This is not a problem in hardware keys, because they are embossed and they can be felt. Many other companies have brought the haptic feedback already, but that's actually a joke, they actually vibrates the phone's vibrator when you will tap(or touch). Here is a patent from apple which is going to materialize the haptic feedback in real sense. &lt;/p&gt;  &lt;p&gt;&lt;font size="5"&gt;Device Settings In smart Headsets&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://gizmodo.com/5315997/apple-patent-puts-flash-storage-device-settings-in-headsets" target="_blank"&gt;&lt;img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://cache.gawker.com/assets/images/4/2009/07/504x_Apple-headset-memory-patent.jpg" width="293" height="191" /&gt;&lt;/a&gt;    &lt;br /&gt;Don't your think EQ (equalizer) settings are more related to your output device than your iPod. YES,&amp;#160; then Apple has made it simple, now there will be smart headsets which can store EQ settings. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-7227914046787325457?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NjIWkBgWu1ozDK5Orq_avK40v1g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NjIWkBgWu1ozDK5Orq_avK40v1g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NjIWkBgWu1ozDK5Orq_avK40v1g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NjIWkBgWu1ozDK5Orq_avK40v1g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/7227914046787325457/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/07/few-elegant-solutions-from-apple.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/7227914046787325457?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/7227914046787325457?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/07/few-elegant-solutions-from-apple.html" title="Few Elegant solutions from Apple (present and future)" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;A0cAR3o8eCp7ImA9WxJVGUw.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-974370829139567530</id><published>2009-07-06T01:38:00.000-07:00</published><updated>2009-07-06T15:24:06.470-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-06T15:24:06.470-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Article" /><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>2 Steps to make your (blogger based) blog translatable.</title><content type="html">Here are the 2 step to make you blog translatable, &lt;a href="http://markandey-experiment.blogspot.com/" target="_blank"&gt;Like this&lt;/a&gt;.  &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://markandey-experiment.blogspot.com/"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_sFmKMtGguSE/SlG3s-Oj81I/AAAAAAAADGw/JoY-FUX8Sg8/s320/translate.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: x-large;"&gt;STEP-1&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Grab This code&lt;br /&gt;
&lt;div style="background: #000000; color: green;"&gt;&amp;lt;script src='http://www.google.com/jsapi' type='text/javascript'&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type='text/javascript'&amp;gt; &lt;br /&gt;
google.load("jquery", "1.3.2");&lt;br /&gt;
google.load("language", "1");&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script src='http://jugad.googlecode.com/files/translate.js' type='text/javascript'&amp;gt; &amp;lt;/script&amp;gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style="font-size: x-large;"&gt;&lt;b&gt;STEP-2 &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Go to blogger, and "Edit Layout" Section, and choose "Edit HTML".&lt;br /&gt;
In Head Section just paste the above code, Save and exit.&lt;br /&gt;
&lt;br /&gt;
Optionally You can also add a title less Gadget of type "HTML/JavaScript" and paste the above code. But it might not work all the time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please feel free to leave comment if its not working with you.&lt;br /&gt;
&lt;br /&gt;
For the advanced Users:&lt;br /&gt;
I have created a&amp;nbsp;Unobtrusive JavaScript code,&amp;nbsp;&lt;a href="http://code.google.com/p/jugad/source/browse/trunk/javascript/blogtranslate/translate.js"&gt;Here&lt;/a&gt;&lt;br /&gt;
This requires Google Language API &amp;amp; jQuery.&lt;br /&gt;
First two script block above is to bring jQuery in your blog and then my script to produce a translate "combo box", which can be used to translate your blog.&lt;br /&gt;
&lt;br /&gt;
Demo: &lt;a href="http://markandey-experiment.blogspot.com/"&gt;Click Here&lt;/a&gt;&lt;br /&gt;
Source: &lt;a href="http://code.google.com/p/jugad/source/browse/trunk/javascript/blogtranslate/translate.js"&gt;Click Here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-974370829139567530?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PDAm1p_L_HCQpFI6L1d1C6IvOD0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PDAm1p_L_HCQpFI6L1d1C6IvOD0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PDAm1p_L_HCQpFI6L1d1C6IvOD0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PDAm1p_L_HCQpFI6L1d1C6IvOD0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/974370829139567530/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/07/2-steps-to-make-your-blogger-based-blog.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/974370829139567530?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/974370829139567530?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/07/2-steps-to-make-your-blogger-based-blog.html" title="2 Steps to make your (blogger based) blog translatable." /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_sFmKMtGguSE/SlG3s-Oj81I/AAAAAAAADGw/JoY-FUX8Sg8/s72-c/translate.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></entry><entry gd:etag="W/&quot;D08DQXc4fSp7ImA9WxJVFUs.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-7801566777968663937</id><published>2009-07-02T13:05:00.001-07:00</published><updated>2009-07-02T13:17:50.935-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-02T13:17:50.935-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="hack" /><title>Quick and Dirty Way of Buffer Serialization in C#</title><content type="html">&lt;div style="text-align: left;"&gt;This article will tell you to get raw buffer from the c# structure. Basically C# is a TypeSafe language, it never lets you to access byte-stream of any managed object. But You can still make a raw buffer using Marshal.StructureToPtr Method . Today, In this article I will introduce you to new serialization format called QP-Encoding(&lt;span style="color: #cc0000;"&gt;&lt;b&gt;Quoted-Printable Enc&lt;/b&gt;&lt;/span&gt;&lt;span style="color: #cc0000;"&gt;&lt;b&gt;odin&lt;/b&gt;&lt;/span&gt;&lt;span style="color: #cc0000;"&gt;&lt;b&gt;g&lt;/b&gt;&lt;/span&gt;). QP-Encoding is old encoding style, but known to very little people. Its very simple to understand.&lt;/div&gt;&lt;div style="text-align: left;"&gt;Its a string formed from Raw buffer, whose every byte is represented by '=XX' way. In QP every byte is represented by =and followed by the 2 character of Hex which tells you the value of that byte. BUT if byte is printable it will be printed as it is. &lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: left;"&gt;For Example: a buffer whose byte sequence is &lt;span style="color: purple;"&gt;41,4A,4F,08&lt;/span&gt; Then QP could be &lt;span style="color: purple;"&gt;=41=4A=4F=08&lt;/span&gt; but since 41 4A and 4F is printable character you can also write as&amp;nbsp;"&lt;b&gt;&lt;span style="color: purple;"&gt;)JO=08&lt;/span&gt;&lt;/b&gt;" (as a better QP)&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: left;"&gt;Using marshalling technique here you can transform any(almost any) c# managed object into QP string using following function    &lt;/div&gt;&lt;div id="codeSnippetWrapper" style="background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;"&gt;&lt;div id="codeSnippet" style="background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;"&gt;&lt;pre style="background-color: white; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;"&gt;&lt;span style="color: blue;"&gt;static&lt;/span&gt; &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt; SerializeBuffer(&lt;span style="color: blue;"&gt;object&lt;/span&gt; obj, &lt;span style="color: blue;"&gt;ref&lt;/span&gt; &lt;span style="color: blue;"&gt;int&lt;/span&gt; size)&lt;/pre&gt;&lt;span style="white-space: pre;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;size = Marshal.SizeOf(obj.GetType());&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;IntPtr ptr = Marshal.AllocHGlobal(size);&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;Marshal.StructureToPtr(obj, ptr, &lt;span style="color: blue;"&gt;true&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;byte&lt;/span&gt;[] byteArray = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: blue;"&gt;byte&lt;/span&gt;[size];&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;string&lt;/span&gt; encode_qp = &lt;span style="color: #006080;"&gt;""&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;for&lt;/span&gt; (&lt;span style="color: blue;"&gt;int&lt;/span&gt; i = 0; i &amp;lt; size; ++i)&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;byte&lt;/span&gt; b = (&lt;span style="color: blue;"&gt;byte&lt;/span&gt;)Marshal.ReadByte(ptr, i);&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;encode_qp += &lt;span style="color: #006080;"&gt;"="&lt;/span&gt; + b.ToString(&lt;span style="color: #006080;"&gt;"X2"&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;Marshal.FreeHGlobal(ptr);&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;return&lt;/span&gt; encode_qp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;} &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;This is How you can DeSerialize&lt;br /&gt;
&lt;div id="codeSnippetWrapper" style="background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;"&gt;&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;static&lt;/span&gt; &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; GetDeSerializedBuffer(&lt;span style="color: blue;"&gt;ref&lt;/span&gt; &lt;span style="color: blue;"&gt;object&lt;/span&gt; Obj, &lt;span style="color: blue;"&gt;ref&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt; QPData)&lt;/span&gt;&lt;br /&gt;
&lt;div id="codeSnippet" style="background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: 'Courier New', courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;"&gt;&lt;span style="white-space: pre;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;int&lt;/span&gt; size = Marshal.SizeOf(Obj.GetType());&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;IntPtr ptr = Marshal.AllocHGlobal(size);&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;&lt;span style="color: blue;"&gt;for&lt;/span&gt; (&lt;span style="color: blue;"&gt;int&lt;/span&gt; i = 0; i &amp;lt; size; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;Marshal.WriteByte(ptr, i, ReadByteFromQPString(&lt;span style="color: blue;"&gt;ref&lt;/span&gt; QPData));&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;Obj = Marshal.PtrToStructure(ptr, Obj.GetType());&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;Marshal.FreeHGlobal(ptr);&lt;/span&gt;&lt;br /&gt;
&lt;span style="white-space: pre;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://code.google.com/p/jugad/source/browse/trunk/C%23/StructureToString/Program.cs"&gt;&lt;span style="background-color: blue;"&gt;&lt;span style="color: white;"&gt;&lt;b&gt;See Full Code Here&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-7801566777968663937?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Umu54TNFzXTEfyh8WFcOLyIOn6o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Umu54TNFzXTEfyh8WFcOLyIOn6o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Umu54TNFzXTEfyh8WFcOLyIOn6o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Umu54TNFzXTEfyh8WFcOLyIOn6o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/7801566777968663937/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/07/quick-and-dirty-way-of-buffer.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/7801566777968663937?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/7801566777968663937?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/07/quick-and-dirty-way-of-buffer.html" title="Quick and Dirty Way of Buffer Serialization in C#" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;A04GQ3o5fCp7ImA9WxJUFUo.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-9119812470593458276</id><published>2009-06-29T12:48:00.001-07:00</published><updated>2009-07-14T06:58:42.424-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-14T06:58:42.424-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Humour" /><title>Few more awesome questions..</title><content type="html">Thanks for all your appreciation &lt;a href="http://www.markandey.com/2009/06/few-awesome-questions.html"&gt;for my last post&lt;/a&gt;, Here is some more question, which are more &lt;a href="http://www.markandey.com/2009/06/few-awesome-questions.html"&gt;funnier that previous list&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;If white house is white, the blue house is blue, and the red house is red. Why green house is transparent? &lt;/li&gt;
&lt;li&gt;Why all of the black boxes are &lt;a href="http://en.wikipedia.org/wiki/Black_box_(systems)"&gt;painted bright orange&lt;/a&gt;? &lt;/li&gt;
&lt;li&gt;If there is a substance exist, which can make Black Box indestructible, why not same thing is used to make whole aircraft?&lt;/li&gt;
&lt;li&gt;Why black paint smells like a green paint? &lt;/li&gt;
&lt;li&gt;Why there is flotation devices under plane seats instead of parachutes? &lt;/li&gt;
&lt;li&gt;What's another word for thesaurus? &lt;/li&gt;
&lt;li&gt;Why is it that when you transport something by car, it's called a shipment, but when you transport something by ship, it's called cargo? &lt;/li&gt;
&lt;li&gt;Why I get a phone call from Vodafone to say my bill was outstanding? (I always say thanks) &lt;/li&gt;
&lt;li&gt;I understand money talks, but why it always say "goodbye" to me? &lt;/li&gt;
&lt;li&gt;How can a burnt match thrown from a car start a forest fire when 2 boxes of matches, 10 fire lighters &amp;amp; lighter fuel can't light a BBQ? &lt;/li&gt;
&lt;li&gt;What will happen if a abortion clinic will have a 12 months waiting time?&lt;/li&gt;
&lt;li&gt;Why isn't the number 11 pronounced onety one?&lt;/li&gt;
&lt;li&gt;Ever wonder what the speed of lightning would be if it didn't zigzag?&lt;/li&gt;
&lt;li&gt;If people from Poland are called Poles, why aren't people from Holland called Holes?&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-9119812470593458276?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wPQ66rkVuohd_zh7EEtosGJUm7o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wPQ66rkVuohd_zh7EEtosGJUm7o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wPQ66rkVuohd_zh7EEtosGJUm7o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wPQ66rkVuohd_zh7EEtosGJUm7o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/9119812470593458276/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/06/few-more-awesome-questions.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/9119812470593458276?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/9119812470593458276?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/06/few-more-awesome-questions.html" title="Few more awesome questions.." /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry><entry gd:etag="W/&quot;DEAGSXo_eip7ImA9WxJVEU8.&quot;"><id>tag:blogger.com,1999:blog-18392152.post-4948340293567384033</id><published>2009-06-27T11:06:00.001-07:00</published><updated>2009-06-27T11:18:48.442-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-27T11:18:48.442-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="twimr" /><title>twimr04: Creativity, History &amp; Programming</title><content type="html">&lt;p&gt;Just to remind, twimr is a series of blog posts from me, where i put random stuff. These items are basically collected over couple of weeks, &lt;a href="http://search.twitter.com/search?q=twimr&amp;amp;from=markandey"&gt;via a special hash tag #twimr&lt;/a&gt;. from twitter.&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;1.&lt;/font&gt; &lt;a href="http://bit.ly/3HNJR"&gt;13 Add-ons&lt;/a&gt; to Strengthen &lt;font size="4"&gt;Firebug&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;2.&lt;/font&gt; This is great collection of Old Spy Gadgets &lt;a href=" http://bit.ly/VSRoo"&gt;Part-1&lt;/a&gt; &lt;a href=" http://bit.ly/KHnSW"&gt;Part-2&lt;/a&gt; &lt;a href=" http://bit.ly/Q5IaB"&gt;Part-2&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;3 .&lt;/font&gt; This one is a cool &lt;a href="http://bit.ly/2MYvya"&gt;animation using&lt;font size="4"&gt; post-it notes&lt;/font&gt;&lt;/a&gt;. ( titled Deadline)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bit.ly/2MYvya"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_sFmKMtGguSE/SkZfgaG9hQI/AAAAAAAADGU/wdBYmRUnucM/image%5B3%5D.png?imgmax=800" width="244" height="168" /&gt;&lt;/a&gt;Here is the &lt;a href="http://www.youtube.com/user/bunliu"&gt;making of this video&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;4.&lt;/font&gt; Stunning Solar system (&lt;a href="http://bit.ly/G0WFl"&gt;Stunning, graphics jus by using (jQuery) JavaScript&lt;/a&gt;)&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://bit.ly/bTxa2 "&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_sFmKMtGguSE/SkZfiCFXKNI/AAAAAAAADGY/-P5zp1Xuo4E/image%5B7%5D.png?imgmax=800" width="244" height="229" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;5.&lt;/font&gt; Some people think that&lt;strong&gt;&lt;font size="4"&gt; &lt;/font&gt;&lt;/strong&gt;&lt;a href="http://bit.ly/bTxa2"&gt;&lt;strong&gt;&lt;font size="4"&gt;Twitter invented in 1935&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_sFmKMtGguSE/SkZfjFN6OrI/AAAAAAAADGc/4TO26NodXo0/s1600-h/image%5B10%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_sFmKMtGguSE/SkZfjzl3L4I/AAAAAAAADGg/8FaWI477fUA/image_thumb%5B2%5D.png?imgmax=800" width="244" height="68" /&gt;&lt;/a&gt;&lt;font size="4"&gt; 6.&lt;strong&gt;Developers&lt;/strong&gt;&lt;/font&gt; this is really nice collection of “Hidden Features Of &lt;a href="http://bit.ly/syHOn"&gt;Perl, PHP, JavaScript, C, C++, C#, Java&lt;/a&gt;...”&amp;#160; [Incredibly Useful Lists]&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;font size="4"&gt;7.&lt;/font&gt;This is something to do with environment, &lt;a href="http://bit.ly/12BqOK"&gt;Build a Greener Charging Station&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/18392152-4948340293567384033?l=www.markandey.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v_1RlUyw8mRL207lv6oKmDLkVeQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v_1RlUyw8mRL207lv6oKmDLkVeQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v_1RlUyw8mRL207lv6oKmDLkVeQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v_1RlUyw8mRL207lv6oKmDLkVeQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markandey.com/feeds/4948340293567384033/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markandey.com/2009/06/twimr04-creativity-history-programming.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/4948340293567384033?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/18392152/posts/default/4948340293567384033?v=2" /><link rel="alternate" type="text/html" href="http://www.markandey.com/2009/06/twimr04-creativity-history-programming.html" title="twimr04: Creativity, History &amp;amp; Programming" /><author><name>Markandey Singh</name><uri>http://www.blogger.com/profile/15429744165780488065</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="04740003083306061024" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></entry></feed>
