<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>lets bootstrap this world!</title>
	<atom:link href="http://bootstrapping.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bootstrapping.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 28 Dec 2011 04:00:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bootstrapping.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>lets bootstrap this world!</title>
		<link>http://bootstrapping.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bootstrapping.wordpress.com/osd.xml" title="lets bootstrap this world!" />
	<atom:link rel='hub' href='http://bootstrapping.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Public Email (Random Ideas)</title>
		<link>http://bootstrapping.wordpress.com/2010/07/30/public-email-random-ideas/</link>
		<comments>http://bootstrapping.wordpress.com/2010/07/30/public-email-random-ideas/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 20:53:46 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Random Ideas]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/?p=66</guid>
		<description><![CDATA[Email are a strange beast. They try to mimic normal snail mail, but we Email are way different from snail mail. You have multiple sender, you can carbon copies, you can have blank carbon copies, you forward them. Any time you have an operation on an Emaul the operation happens on the copy of the email. At [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=66&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Email are a strange beast. They try to mimic normal snail mail, but we Email are way different from snail mail. You have multiple sender, you can carbon copies, you can have blank carbon copies, you forward them. Any time you have an operation on an Emaul the operation happens on the copy of the email. At least that what the perception is given to the normal user.</p>
<p>Different Email clients have made it possible to see Emails in totally different ways. For example Gmail let you see a thread of conversion group together. Although it is one of those features which either someone absolutely loves to absolutely hates it.</p>
<p>I have trying to think about Email or Variation of Email system with out any particular problem in mind. So basically i am trying to think of variation of Email and then trying to find how it can be used. Agree this might not be a optimal way to solve anything useful, but it is a fun excersise.</p>
<p>So lately I have been thinking about a Public Email system. A inbox shared by everyone or an inbox anyone has access. Think of a mail box in the middle of a town with an address and people can send mail to it and anyone can read it. Once some reads it the mail is gone. So first come first server principle applies here. Further more the person who read it can then forward/reply like a normal email.</p>
<p>What will be a system like that useful for?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=66&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2010/07/30/public-email-random-ideas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>
	</item>
		<item>
		<title>My take on Facebook Privacy: Lets get rid of Facebook</title>
		<link>http://bootstrapping.wordpress.com/2010/05/08/my-take-on-facebook-privacy-lets-get-rid-of-facebook/</link>
		<comments>http://bootstrapping.wordpress.com/2010/05/08/my-take-on-facebook-privacy-lets-get-rid-of-facebook/#comments</comments>
		<pubDate>Sat, 08 May 2010 00:08:59 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/?p=64</guid>
		<description><![CDATA[I have been trying to come up with a design for a Open Social Network. Something you can host yourself or use from a &#8220;trusted&#8221; third party with the ability to seamlessly connect with each other. The idea is: You take your data where you want You control you privacy Seamless integration with different installation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=64&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been trying to come up with a design for a Open Social Network. Something you can host yourself or use from a &#8220;trusted&#8221; third party with the ability to seamlessly connect with each other.</p>
<p>The idea is:</p>
<ol>
<li>You take your data where you want</li>
<li>You control you privacy</li>
<li>Seamless integration with different installation running all around the world.</li>
<li>Open Source (So it can be peer reviewed)</li>
<li>Tools for migrating from facebook and other Social Networks</li>
<li>Dead simple and user friendly UI. Built for people who can not differentiate between facebook and readwriteweb</li>
</ol>
<p>I will like to publish the design and start working on the basic implementation. If anyone interested in joining the project or has similar idea i will love to talk about it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=64&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2010/05/08/my-take-on-facebook-privacy-lets-get-rid-of-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>
	</item>
		<item>
		<title>How to kill an unresponsive ssh session</title>
		<link>http://bootstrapping.wordpress.com/2010/04/27/how-to-kill-an-unresponsive-ssh-session/</link>
		<comments>http://bootstrapping.wordpress.com/2010/04/27/how-to-kill-an-unresponsive-ssh-session/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 17:00:47 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/?p=60</guid>
		<description><![CDATA[This is a Life saver! via http://www.laszlo.nu/post/553591402/how-to-kill-an-unresponsive-ssh-session I often find myself in the somewhat cumbersome situation that a currently running ssh session stops responding, often due to a lost connection. The normal ctrl+c of course doesn’t work, the ssh client catches all the usual commands, which is very handy while you are still connected to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=60&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a Life saver! via http://www.laszlo.nu/post/553591402/how-to-kill-an-unresponsive-ssh-session</p>
<blockquote><p><em><span style="color:#808080;">I often find myself in the somewhat cumbersome situation that a  currently running ssh session stops responding, often due to a lost  connection. The normal ctrl+c of course doesn’t work, the ssh client  catches all the usual commands, which is very handy while you are still  connected to the host but not very handy at all in this case.</span></em></p>
<p><em><span style="color:#808080;">My usual approach has been to switch to another terminal window or shell  and then killing the process in question. Today I happened to be  skimming through the ssh client’s man page and I found a section about  escape characters. Suddenly I gazed upon the glory of the disconnect key  sequence: a newline followed by </span></em><code><em><span style="color:#808080;">~.</span></em></code><em><span style="color:#808080;">. It works like a charm.  As always, I thought I should share.</span></em></p></blockquote>
<p><span style="color:#000000;">And even more interesting suggestion in the comments:</span></p>
<blockquote><p><em><span style="color:#808080;">Also interesting:  You can press ~C and receive an ssh&gt; prompt, where  you can press ? for help.  This prompt lets you enter additional -L or  -R forwards you may have forgotten when starting the session.  Very  handy if you don&#8217;t want to log out and back in.</span></em></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=60&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2010/04/27/how-to-kill-an-unresponsive-ssh-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>
	</item>
		<item>
		<title>Missing libstdc++.so.5 in Ubuntu 9.10 (Karmic)</title>
		<link>http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/</link>
		<comments>http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 07:48:08 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[libstdc++.so.5]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/?p=47</guid>
		<description><![CDATA[I you end up seeing following error or something similar while running a non-ubuntu app: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Well the reason is ﻿﻿libst﻿dc++.so.5 was removed in Ubuntu Karmic. Fear no follow the following simple steps to get your old application running again. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=47&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I you end up seeing following error or something similar while running a non-ubuntu app:</p>
<p><strong>error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory</strong></p>
<p>Well the reason is ﻿﻿libst﻿dc++.so.5 was removed in Ubuntu Karmic. Fear no follow the following simple steps to get your old application running again.<br />
<pre class="brush: bash;">
cd /tmp

wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb

dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs

sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/

cd /usr/lib32

sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
</pre></p>
<p>~TH</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=47&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>
	</item>
		<item>
		<title>Every language evolves into Java or COBOL</title>
		<link>http://bootstrapping.wordpress.com/2009/10/21/41/</link>
		<comments>http://bootstrapping.wordpress.com/2009/10/21/41/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 22:23:40 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/?p=41</guid>
		<description><![CDATA[[Python-ideas] Proposal: Moratorium on Python language changes This proves my dictum &#8220;Every language evolves into Java or COBOL&#8221;. For the sake of backward compatibility a hip language stop innovating. Then comes a new language and with feature this language has not implemented for a while for the sake of backward compatibility. The new language claims [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=41&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p><a href="http://mail.python.org/pipermail/python-ideas/2009-October/006305.html" target="_blank">[Python-ideas] Proposal: Moratorium on Python language changes</a></p>
<p>This proves my dictum &#8220;Every language evolves into Java or COBOL&#8221;.</p>
<p>For the sake of backward compatibility a hip language stop innovating. Then comes a new language and with feature this language has not implemented for a while for the sake of backward compatibility.</p>
<p>The new language claims that the hip language is dead and become the new hip language.</p>
<p>and the cycle goes on &#8230;</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=41&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2009/10/21/41/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>
	</item>
		<item>
		<title>python selection from a list</title>
		<link>http://bootstrapping.wordpress.com/2008/05/18/python-selection-from-a-list/</link>
		<comments>http://bootstrapping.wordpress.com/2008/05/18/python-selection-from-a-list/#comments</comments>
		<pubDate>Sun, 18 May 2008 16:34:53 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[functional programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/?p=40</guid>
		<description><![CDATA[Python has various Functional Programming Tools including: filter(function, sequence) map(function, sequence) reduce(function, sequence) List Comprehensions While working on my *super secret* application for Google App Engine. I realized i was using an operation over and over again which can not be efficiently performed by above tools(or at least i am not that expert in python [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=40&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Python has various Functional Programming Tools including:</p>
<ul>
<li><a href="http://docs.python.org/tut/node7.html#SECTION007130000000000000000" target="_blank">filter(function, sequence)</a></li>
<li><a href="http://docs.python.org/tut/node7.html#SECTION007130000000000000000" target="_blank">map(function, sequence)</a></li>
<li><a href="http://docs.python.org/tut/node7.html#SECTION007130000000000000000" target="_blank">reduce(function, sequence)</a></li>
<li><a href="http://docs.python.org/tut/node7.html#SECTION007140000000000000000" target="_blank">List Comprehensions</a></li>
</ul>
<p>While working on my *super secret* application for <a href="http://code.google.com/appengine/" target="_blank">Google App Engine</a>. I realized i was using an operation over and over again which can not be efficiently performed by above tools(or at least i am not that expert in python yet!)</p>
<p>The operation is:</p>
<blockquote><p>&#8220;select from a sequence, the first element that satisfy a certain condition&#8221;</p></blockquote>
<p>Well i roll out my own function to perform such operation<br />
<pre class="brush: python;">
def select(test, list):
  &quot;&quot;&quot;
  Select the first element from a sequence that
  satisfy the given test function
  - compare The test function should have following
  signature def test(item): and must return a boolean
  - list The List from which element need to be selected
  &quot;&quot;&quot;
  selected = None
  for item in list:
    if test(item) == True:
       selected = item
       break;
  return selected
</pre><br />
For example if we want to select the first number from a sequence that is divisible by 2 we have to write some code like this:<br />
<pre class="brush: python;">
&gt;&gt;&gt; list = [1,7,6,9,21,34]
&gt;&gt;&gt; select(lambda x: x % 2 == 0, list)
6
</pre><br />
What are the other elegant ways of doing this in python or in your favorite language?</p>
<p>~TH</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bootstrapping.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bootstrapping.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=40&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2008/05/18/python-selection-from-a-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>
	</item>
		<item>
		<title>Prefix searching with Radix Tree</title>
		<link>http://bootstrapping.wordpress.com/2008/01/24/prefix-searching-with-radix-tree/</link>
		<comments>http://bootstrapping.wordpress.com/2008/01/24/prefix-searching-with-radix-tree/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 22:19:54 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Data Structure]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tree]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/?p=36</guid>
		<description><![CDATA[Recently I have to implement prefix searching for a project. The searching need to be scalable and the result are to be returned as quickly as possible. The front end for this search was a Ajax suggestion like search. The screen shot below shows the prefix searching in action. Ok this pretty simple Ajax stuff, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=36&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Recently I have to implement prefix searching for a project. The searching need to be scalable and the result are to be returned as quickly as possible. The front end for this search was a Ajax suggestion like search. The screen shot below shows the prefix searching in action.</p>
<div style="text-align:center;"><img src="http://bootstrapping.files.wordpress.com/2008/01/search.jpg?w=450" alt="Ajax prefix search" /></div>
<p class="MsoNormal">Ok this pretty simple Ajax stuff, nothing fancy and nothing new. What I am going to discuss is the backend not the frontend for such a prefix searching component.</p>
<p class="MsoNormal">One of the most common implementation used for prefix searching is:</p>
<p align="center"><code>select  * from some_table where some_field like ‘prefix%’</code></p>
<p class="MsoNormal">In other word put all the words to be searched in a table and use the <em>like</em> clause. This works and has reasonable performance too for small number of queries. But if you have continuous deletion and insertion of new search words then this solution does not scale well for large number of users.</p>
<p class="MsoNormal">So let put these words in memory for faster response time. How do we search prefixes if we have all the words in the memory?</p>
<p class="MsoNormal">Put them in a list and do a sequential search?  Ok you guess that too slow&#8230;.. Put them in a hash table? What key we are going to search in the hash table we have only part of the key (prefix)!!</p>
<p class="MsoNormal">You must agree prefix searching is a specialized problem which requires a special data structure that is geared toward prefix searching. You have read the title so you know the name of that data structure. Yes <a href="http://en.wikipedia.org/wiki/Radix_tree">Radix tree</a> is one of such data structure that is suitable for prefix searching. A <a href="http://en.wikipedia.org/wiki/Radix_tree">radix tree</a>, Patricia trie/tree, or crit bit tree is a specialized set data structure based on the <a href="http://en.wikipedia.org/wiki/Trie">trie</a> that is used to store a set of strings.</p>
<p class="MsoNormal"><a href="http://en.wikipedia.org/wiki/Trie">Trie</a> is a multi-way tree structure useful for storing strings over an alphabet. The idea is that all strings sharing a common stem or <em>prefix</em> hang off a common node. The elements in a string can be recovered in a scan from the root to the leaf that ends a string. All strings in the <a href="http://en.wikipedia.org/wiki/Trie">trie</a> can be recovered by a depth-first scan of the tree.</p>
<p class="MsoNormal">Below is a <a href="http://en.wikipedia.org/wiki/Trie">trie</a> for keys &#8220;to&#8221;, &#8220;tea&#8221;, &#8220;ten&#8221;, &#8220;i&#8221;, &#8220;in&#8221;, and &#8220;inn&#8221;.</p>
<div style="text-align:center;"><img src="http://bootstrapping.files.wordpress.com/2008/01/trie.png?w=450" alt="Trie" /></div>
<p class="MsoNormal">You can consider a Radix tree a condense form of Trie, in which intermediate nodes are merged together to save space. Below is shown the insertion process in a Radix tree.</p>
<div style="text-align:center;"><img src="http://bootstrapping.files.wordpress.com/2008/01/radix.gif?w=450" alt="Radix tree" /></div>
<p class="MsoNormal">I wrote a simple Java implementation for radix tree for the prefix search application mentioned above. You can find the code at <a href="http://code.google.com/p/radixtree/">http://code.google.com/p/radixtree/</a></p>
<p>I like tree structures because of their recursive nature, looks really natural to me <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Most of the operation on Radix tree like <em>insert</em>, <em>delete</em>, <em>find</em>, etc can be easily implemented a recursive manner. Apart from the insert method another interesting method in implementation is visit() method it is there to help with other operation like delete, find and contains</p>
<p><pre class="brush: java;">
    /**
     * recursively visit the tree based on the supplied &quot;key&quot;. calls the Visitor
     * for the node those key metches the given prefix
     *
     * @param prefix
     *            The key o prefix to search in the tree
     * @param visitor
     *            The Visitor that will be called if a node with &quot;key&quot; as its
     *            key is found
     * @param node
     *            The Node from where onward to search
     */
    private void visit(String prefix, Visitor visitor,
            RadixTreeNode parent, RadixTreeNode node) {
        int i = 0;
        int keylen = prefix.length();
        int nodelen = node.getKey().length();

        // match the prefix with node key
        while (i &lt; keylen &amp;&amp; i &lt; nodelen) {
            if (prefix.charAt(i) != node.getKey().charAt(i)) {
                break;
            }
            i++;
        }

        // if the node key and prefix match, we found a match!
        if (i == keylen &amp;&amp; i == nodelen) {
            visitor.visit(prefix, parent, node);
        } else if (node.getKey().equals(&quot;&quot;) == true // either we are at the
                // root
                || (i = nodelen)) { // OR we need to
            // traverse the childern
            String newText = prefix.substring(i, keylen);
            for (RadixTreeNode child : node.getChildern()) {
                // recursively search the child nodes
                if (child.getKey().startsWith(newText.charAt(0) + &quot;&quot;)) {
                    visit(newText, visitor, node, child);
                    break;
                }
            }
        }
    }</pre></p>
<p class="MsoNormal">Off course you can have better look at the implementation by visiting the online code repository at <a href="http://radixtree.googlecode.com/svn/trunk/RadixTree/">http://radixtree.googlecode.com/svn/trunk/RadixTree/</a></p>
<p class="MsoNormal"><strong>Update: I have remove the link to the old download distribution, Please download the latest code from <a href="http://code.google.com/p/radixtree/">http://code.google.com/p/radixtree/</a> As there are some bug fixes and improvements.<br />
</strong></p>
<p class="MsoNormal">
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bootstrapping.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bootstrapping.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=36&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2008/01/24/prefix-searching-with-radix-tree/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2008/01/search.jpg" medium="image">
			<media:title type="html">Ajax prefix search</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2008/01/trie.png" medium="image">
			<media:title type="html">Trie</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2008/01/radix.gif" medium="image">
			<media:title type="html">Radix tree</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom Javascript toggle button</title>
		<link>http://bootstrapping.wordpress.com/2007/09/29/custom-javascript-toggle-button/</link>
		<comments>http://bootstrapping.wordpress.com/2007/09/29/custom-javascript-toggle-button/#comments</comments>
		<pubDate>Sat, 29 Sep 2007 10:03:04 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Javascirpt]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[User interface]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programmng]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/2007/09/29/custom-javascript-toggle-button/</guid>
		<description><![CDATA[Just as i was coding on my &#8220;personal project&#8221;, i need a javascript customizable toggle button (replacement for traditional Checkbox). As being strongly in favor of code reuse i first tried the &#8220;Google exposed world&#8221;. But this time Google disappointed me, i could not find a decent toggle button script that i can simple drop [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=34&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just as i was coding on my &#8220;personal project&#8221;, i need a javascript customizable toggle button (replacement for traditional Checkbox). As being strongly in favor of code reuse i first tried the &#8220;Google exposed world&#8221;. But this time Google disappointed me, i could not find a decent toggle button script that i can simple drop in my project.</p>
<p>So i decided to roll up my own. As i was writing it i decided to make it a blog post too!</p>
<p>I decided to write a toggle button i such a way that i do not have to insert javascript code all over my pages. So i start with a ToggleButton class.</p>
<p><b>toggle.js</b></p>
<p><pre class="brush: jscript;">
/**
* A Custom toggle/checkbox component
*
* div - The div that will be converted to toggle button
* check - the intial state of the toggle button (possible values ture/false)
* val - the value ssociated with this toggle button. This value is passed to the call back method.
* this way you can store any sort of infromation with the toggle button.
* callbk - the call back method that will be called when a toggle action is performed
* (method signature callback(val, check))
*/
function ToggleButton(div, check, val, callbk)
{
this.checked = check;
this.value = val;
this.callback = callbk;

// store the old inner text
var text = div.innerHTML;
div.innerHTML = &quot;&quot;;

// create a element
var a = document.createElement(&quot;a&quot;);
a.href=&quot;&quot;;

// bind the current object to the mouse event
a.onmouseover = this.over.bind(this);
a.onmouseout = this.out.bind(this);
a.onclick = this.click.bind(this);

// create a element
var img = document.createElement(&quot;img&quot;);
if (check)
{
img.src = ToggleButton.IMAGE_NAMES[1];
}
else
{
img.src = ToggleButton.IMAGE_NAMES[0];
}

img.border = &quot;0&quot;;
img.hspace = &quot;0&quot;;
img.vspace = &quot;0&quot;;
img.align = &quot;absmiddle&quot;;
a.appendChild(img);

// create a Text node (for toggle button title)
var title = document.createTextNode(text);
a.appendChild(title);
div.appendChild(a);

// store the image withe toggle button

// because we need to later change(toggle) it on different events
this.image = img;
}

ToggleButton.prototype.over = function ()
{
this.image.src = ToggleButton.IMAGE_NAMES[this.checked + 2];
}

ToggleButton.prototype.out = function ()
{
this.image.src = ToggleButton.IMAGE_NAMES[this.checked * 1];
}

ToggleButton.prototype.click = function ()
{
this.checked = !this.checked;
this.image.src = ToggleButton.IMAGE_NAMES[this.checked * 1];

if(this.callback == Function)
{
this.callback(this.value, this.checked);
}
else
{
var code = this.callback + '(' + this.value + ',' + this.checked + ')';
eval(code);
}
return false;
}

// the default images for the toggle button
ToggleButton.IMAGE_NAMES = new Array();
ToggleButton.IMAGE_NAMES[0] = &quot;images/togglebutton0.gif&quot;;
ToggleButton.IMAGE_NAMES[1] = &quot;images/togglebutton1.gif&quot;;
ToggleButton.IMAGE_NAMES[2] = &quot;images/togglebutton2.gif&quot;;
ToggleButton.IMAGE_NAMES[3] = &quot;images/togglebutton3.gif&quot;;</pre>And here is how we use it&#8230;</p>
<p><b>test.html</b></p>
<p><pre class="brush: xml;">
&lt;!doctype html public &quot;-//w3c//dtd html 3.2 final//en&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Cutsom Toggle Button&lt;/title&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;prototype.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;toggle.js&quot;&gt;&lt;/script&gt;

&lt;script&gt;
function initToggleButtons()
{
$$('div').each(function(item)
{
if(item.readAttribute('togglebutton') != null)
{
new ToggleButton(item, item.readAttribute('togglebutton') == 'true' ? true : false, item.readAttribute('togglevalue'), callme)
}
});

}

function callme(value, check)
{
$('value').innerHTML = &quot;togglevalue=&quot; + value + &quot; :: checked=&quot; + check;
}

window.onload = initToggleButtons;
&lt;/script&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;div togglebutton=&quot;true&quot; togglevalue=&quot;11111&quot;&gt;Hell of day&lt;/div&gt;
&lt;div togglebutton=&quot;false&quot; togglevalue=&quot;22222&quot;&gt;Bad bad!&lt;/div&gt;
&lt;div togglebutton=&quot;true&quot; togglevalue=&quot;33333&quot;&gt;not sure&lt;/div&gt;
&lt;div togglebutton=&quot;false&quot; togglevalue=&quot;44444&quot;&gt;what ever&lt;/div&gt;

&lt;div id=&quot;value&quot;&gt;&lt;div&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>All the magic happens in the <b>initToggleButtons</b>. What it does is that it simply convert all <b>div</b> with <b>togglebutton</b> attribute into check boxes. I have used prototype.js to make this task a bit easy. There is also a method <b>callme</b> it is a callback and gets called when ever a toggle button is clicked. The value mention in the div and toggle status is provided to it. You can do a AJAX call here or what ever you want to do.</p>
<p>Oh and here is a screenshot<br />
<img src="http://bootstrapping.files.wordpress.com/2007/09/toggle.jpg?w=450" alt="toggle.jpg" /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bootstrapping.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bootstrapping.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=34&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2007/09/29/custom-javascript-toggle-button/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2007/09/toggle.jpg" medium="image">
			<media:title type="html">toggle.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex 2 mxmlc batch compilation using ANT</title>
		<link>http://bootstrapping.wordpress.com/2007/07/11/flex-2-mxmlc-batch-compiltion-using-ant/</link>
		<comments>http://bootstrapping.wordpress.com/2007/07/11/flex-2-mxmlc-batch-compiltion-using-ant/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 22:14:23 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/2007/07/11/flex-2-mxmlc-batch-compiltion-using-ant/</guid>
		<description><![CDATA[(Warning: I am not a big fan of Flex 2 or Flash in particular) I was working on a small demo for a client. This demo was requested to be built with Flex 2. So i downloaded the SDK and starting hacking around. When i end up with quit a few mxml file, compiling them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=32&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-style:italic;">(Warning: I am not a big fan of Flex 2 or Flash in particular)</span></p>
<p>I was working on a small demo for a client. This demo was requested to be built with Flex 2. So i downloaded the SDK and starting hacking around.</p>
<p>When i end up with quit a few mxml file, compiling them start to become a headache. Because for the stupidest reason <span style="font-weight:bold;">mxmlc </span>does not compile multiple mxml files at once. Unfortunately i had to use a Windows based machine for creating particular demo.</p>
<p>As the application back end was in Java, so <span style="font-weight:bold;">ANT </span>was my automatic choice for build. But the problem was how to compile multiple files with <span style="font-weight:bold;">mxmlc</span></p>
<p>It was simple task if i was on Linux box as i am quiet familiar with bash scripts. At this point i started to look at how to write advance script in windows bat files. More specifically i was looking for a some sort of loop structure that can iterate over all the files in a directory.  In the end i end up with following bat file:</p>
<blockquote><p><strong>batch-mxlc.bat</strong></p>
<p><code>for %%m in (%1\*.mxml) do call "%FLEX_HOME%bin\mxmlc.exe" -output "%2\%%~nm.swf" %%m</code></p>
</blockquote>
<p>This bat file takes two arguments, first one is the input directory where your mxml files are present. The second parameter is the path to the output directory where you want your swf files to be generated.</p>
<p>The ANT script is simple and easy it just uses the <strong>exec task</strong></p>
<blockquote><p><code> &lt;target name="help"&gt;<br />
&lt;exec executable="cmd"&gt;<br />
&lt;arg value="/c"/&gt;<br />
&lt;arg value="batch-mxmlc.bat"/&gt;<br />
&lt;arg value="${input.dir}"/&gt;<br />
&lt;arg value="${output.dir}"/&gt;<br />
&lt;/exec&gt;<br />
&lt;/target&gt;</code></p>
</blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bootstrapping.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bootstrapping.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=32&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2007/07/11/flex-2-mxmlc-batch-compiltion-using-ant/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>
	</item>
		<item>
		<title>The Save Icon</title>
		<link>http://bootstrapping.wordpress.com/2007/05/23/the-save-icon/</link>
		<comments>http://bootstrapping.wordpress.com/2007/05/23/the-save-icon/#comments</comments>
		<pubDate>Wed, 23 May 2007 06:34:01 +0000</pubDate>
		<dc:creator>bootstrapping</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Graphical user interface]]></category>
		<category><![CDATA[Icons]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[User interface]]></category>

		<guid isPermaLink="false">http://bootstrapping.wordpress.com/2007/05/23/the-save-icon/</guid>
		<description><![CDATA[Did you recognize what these icons are used for? I bet majority of us must have recognize it. It is the so-called &#8220;Save Operation&#8221; icon. (always wonder what they save us from ) But what this image actually represents? Yes the image represents a Floppy Disk. And the reason is that long a go floppy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=26&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://bootstrapping.files.wordpress.com/2007/05/media-floppy.png?w=450" alt="Save Icon" align="absmiddle" border="0" /> <img src="http://bootstrapping.files.wordpress.com/2007/05/media-floppy-small.png?w=450" alt="Smaller Save Icon" align="absmiddle" border="0" /> <img src="http://bootstrapping.files.wordpress.com/2007/05/media-floppy-smaller.png?w=450" alt="Smaller Save Icon" align="absmiddle" border="0" /></p>
<p>Did you recognize what these icons are used for?</p>
<p>I bet majority of us must have recognize it. It is the so-called  &#8220;Save Operation&#8221; icon. <em>(always wonder what they save us from <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )<br />
</em></p>
<p>But what this image actually represents?</p>
<p>Yes the image represents a Floppy Disk. And the reason is that long a go floppy disk was the most commonly used visible storage media. That&#8217;s why it has become a standard image for save operation.</p>
<p>Wikipedia has a more <a href="http://en.wikipedia.org/wiki/Floppy_disk">detail entry</a>.</p>
<blockquote><p>For more than two decades, the floppy disk was the primary external writable storage device used. Also, in a non-network environment, floppies have been the primary means of transferring data between computers (sometimes jokingly referred to as Sneakernet or Frisbeenet). Floppy disks are also, unlike hard disks, handled and seen; even a novice user can identify a floppy disk (although this may change as they become less common). Because of all these factors, the image of the floppy disk has become a metaphor for saving data, and the floppy disk symbol is often seen in programs on buttons and other user interface elements related to saving files.</p></blockquote>
<p>Although Dell <a href="http://search.dell.com/results.aspx?s=gen&amp;c=us&amp;l=en&amp;cs=&amp;k=floppy&amp;cat=prod">still sell  Floppy drives</a> but Europe&#8217;s one of the largest computer store PC world store <a href="http://news.bbc.co.uk/1/hi/technology/6314251.stm">do not like floppies anymore</a>.</p>
<p>But one thing is for sure Floppy drive does not represent the &#8220;primary external writable storage device&#8221; anymore.</p>
<p>So is not the time has come to change this Save icon image. Tango Desktop (help create a consistent graphical user interface experience for free and Open Source software) uses <a href="http://tango.freedesktop.org/Tango_Icon_Gallery">hard drive for the save action.</a></p>
<p><img src="http://bootstrapping.files.wordpress.com/2007/05/document-save.png?w=450" alt="Tango Save" /> <img src="http://bootstrapping.files.wordpress.com/2007/05/document-save-small.png?w=450" alt="Tango Save Smaller" /> <img src="http://bootstrapping.files.wordpress.com/2007/05/document-save-smaller.png?w=450" alt="Tango Save Small" /></p>
<p>What you think should be the represented image for Save Action?</p>
<p>OR what other images you have seen for this action?</p>
<p>~TH</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bootstrapping.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bootstrapping.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bootstrapping.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bootstrapping.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bootstrapping.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bootstrapping.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bootstrapping.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bootstrapping.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bootstrapping.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bootstrapping.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bootstrapping.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bootstrapping.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bootstrapping.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bootstrapping.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bootstrapping.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bootstrapping.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bootstrapping.wordpress.com&amp;blog=703387&amp;post=26&amp;subd=bootstrapping&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bootstrapping.wordpress.com/2007/05/23/the-save-icon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5a40b56c4afa25b5fdd7d79f19a81d7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bootstrapping</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2007/05/media-floppy.png" medium="image">
			<media:title type="html">Save Icon</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2007/05/media-floppy-small.png" medium="image">
			<media:title type="html">Smaller Save Icon</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2007/05/media-floppy-smaller.png" medium="image">
			<media:title type="html">Smaller Save Icon</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2007/05/document-save.png" medium="image">
			<media:title type="html">Tango Save</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2007/05/document-save-small.png" medium="image">
			<media:title type="html">Tango Save Smaller</media:title>
		</media:content>

		<media:content url="http://bootstrapping.files.wordpress.com/2007/05/document-save-smaller.png" medium="image">
			<media:title type="html">Tango Save Small</media:title>
		</media:content>
	</item>
	</channel>
</rss>
