<?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>disturbance under still waters</title>
	<atom:link href="http://schahzad.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://schahzad.wordpress.com</link>
	<description>this will create uproar and controversies because the information posted will be true, tested and trusted</description>
	<lastBuildDate>Mon, 05 Sep 2011 12:08:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='schahzad.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>disturbance under still waters</title>
		<link>http://schahzad.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://schahzad.wordpress.com/osd.xml" title="disturbance under still waters" />
	<atom:link rel='hub' href='http://schahzad.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Phonegap Sencha Touch Pin Code feature</title>
		<link>http://schahzad.wordpress.com/2011/08/26/phonegap-sencha-touch-pin-code-feature/</link>
		<comments>http://schahzad.wordpress.com/2011/08/26/phonegap-sencha-touch-pin-code-feature/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 15:50:08 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Mobile apps]]></category>
		<category><![CDATA[Phonegap]]></category>
		<category><![CDATA[Sencha Touch]]></category>
		<category><![CDATA[event handling]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[sencha touch]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=133</guid>
		<description><![CDATA[A couple of days ago, I added the Pin Code locking functionality in Diary Mobile mobile app. It required some tinkering with iOS Objective-C, Android Java and HTML5 javascript code. First I added a code in the onReady function of Sencha Touch Ext.setup({ //... onReady: function() { //... appActive = function() { Util.logger('===app is now [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=133&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago, I added the Pin Code locking functionality in Diary Mobile mobile app. It required some tinkering with iOS Objective-C, Android Java and HTML5 javascript code.</p>
<p>First I added a code in the <code>onReady</code> function of Sencha Touch</p>
<pre>
<code>
Ext.setup({
  //...
  onReady: function() {
  //...
    appActive = function() {
      Util.logger('===app is now active in function====');
      showVerifyPinCB();
    };
  //...
}
</code>
</pre>
<p>The <span class="Apple-style-span" style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;white-space:pre;"><code>showVerifyPinCB()</code> function displays the pin code panel in the form:</span></p>
<div class="mceTemp">
<div><a href="http://schahzad.files.wordpress.com/2011/08/screen-shot-2011-08-26-at-15-55-44.png"><img class="size-medium wp-image-140" title="Pin Code screen" src="http://schahzad.files.wordpress.com/2011/08/screen-shot-2011-08-26-at-15-55-44.png?w=159&#038;h=300" alt="" width="159" height="300" /></a></div>
<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"></dt>
<dd class="wp-caption-dd">Pin Code/Lock screen</dd>
</dl>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>This screen is also reused as a setting up the pin code screen. Now comes the Objective-C code:</p>
<pre><code>- (void)applicationDidBecomeActive:(UIApplication *)application { </code>
<code> // delay of 1ms ensures code will be executed in new stack trace </code>
<code> // that way, event listener can't block applicationDidBecomeActive </code>
<code> // and crash the app </code>
<code> NSLog(@"%@",@"applicationDidBecomeActive\n"); </code>
<code> NSString *fireActiveEvent = @"window.setTimeout(appActive, 1);"; </code>
<code> [self.webView stringByEvaluatingJavaScriptFromString:fireActiveEvent]; </code>
<code>} </code>

</code></pre>
<p>As mentioned in the comments, it calls the javascript appActive function after a 1 nanosecond delay. This code is placed in the <code>diary_mobileAppDelegate.m</code> file.<br />
Similarly, for Android the code to be placed in the class that extends DroidGap is:</p>
<pre>
<code>
public class DiaryMobile extends DroidGap
{
//...
    @Override
    public void onStart()
    {
      appView.loadUrl("javascript:window.setTimeout(appActive, 1);");
      super.onStart();
    }
//...
}
</code>
</pre>
<p>For me this got the job done and cleared a major hurdle of firing an event from Objective-C/Java and catching it from javascript. After that I just had to write up the code to enable/disable pin code and verify the pin code to unlock the screen.</p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/event-handling/'>event handling</a>, <a href='http://schahzad.wordpress.com/tag/html5/'>HTML5</a>, <a href='http://schahzad.wordpress.com/tag/phonegap-2/'>phonegap</a>, <a href='http://schahzad.wordpress.com/tag/sencha-touch-2/'>sencha touch</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=133&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2011/08/26/phonegap-sencha-touch-pin-code-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/08/screen-shot-2011-08-26-at-15-55-44.png?w=159" medium="image">
			<media:title type="html">Pin Code screen</media:title>
		</media:content>
	</item>
		<item>
		<title>BHS: Making of Diary Mobile</title>
		<link>http://schahzad.wordpress.com/2011/08/01/bhs-making-of-diary-mobile/</link>
		<comments>http://schahzad.wordpress.com/2011/08/01/bhs-making-of-diary-mobile/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 14:18:09 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Mobile apps]]></category>
		<category><![CDATA[Phonegap]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Sencha Touch]]></category>
		<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile apps]]></category>
		<category><![CDATA[sencha touch]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=98</guid>
		<description><![CDATA[I started my job with Diary.com, a London-based startup, back in August 2010. Since then, I&#8217;ve worked on their webapp, which is based on Ruby-on-Rails, and spearheaded the development of Diary Mobile app in a platform agnostic way for faster releases to both the Apple AppStore and Android markets. Diary Mobile was already a mobile app [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=98&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I started my job with <span style="text-decoration:underline;">Diary.com,</span> a London-based startup, back in August 2010. Since then, I&#8217;ve worked on their webapp, which is based on <span style="text-decoration:underline;">Ruby-on-Rails</span>, and spearheaded the development of <span style="text-decoration:underline;">Diary Mobile</span> app in a platform agnostic way for faster releases to both the <strong>Apple AppStore</strong> and <strong>Android</strong> markets.</p>
<p><strong>Diary Mobile</strong> was already a mobile app on the Apple AppStore before I joined. However, it was based on native <em>Objective-C</em> technology.</p>
<p>The <span style="text-decoration:underline;"><strong>old Diary Mobile</strong></span>:</p>
<div class="wp-caption alignnone" style="width: 210px"></dt>
</dl>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"></dt>
</dl>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://schahzad.files.wordpress.com/2011/07/2-agenda.png"><img class="size-medium wp-image-99" title="2-agenda" src="http://schahzad.files.wordpress.com/2011/07/2-agenda.png?w=200&#038;h=300" alt="" width="200" height="300" /></a><p class="wp-caption-text">agenda screen</p></div>
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://schahzad.files.wordpress.com/2011/07/3-event-info.png"><img class="size-medium wp-image-100" title="3-event-info screen" src="http://schahzad.files.wordpress.com/2011/07/3-event-info.png?w=200&#038;h=300" alt="" width="200" height="300" /></a></dt>
<dd class="wp-caption-dd">events screen</dd>
</dl>
</div>
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://schahzad.files.wordpress.com/2011/07/4-todos.png"><img class="size-medium wp-image-101" title="4-todos screen" src="http://schahzad.files.wordpress.com/2011/07/4-todos.png?w=200&#038;h=300" alt="" width="200" height="300" /></a></dt>
<dd class="wp-caption-dd">todos screen</dd>
</dl>
</div>
<p>It used to look ok but there were subtle issues with this version. It simply was not robust in syncing the device data with the <strong>REST</strong> based server interface and vice versa. Moreover, the <em>Objective-C</em> developer was not committed with the startup on full-time basis causing major concerns for the fledgling startup.</p>
<p>At the time of my joining, a very cool designer also joined, and together we worked on a new <strong>HTML5,</strong> <strong>Phonegap &amp; Sencha Touch</strong> based rewrite of the mobile app.</p>
<p>This rewrite took the same amount of time as the original development of the native <em>Objective-C</em> app. However, we focused really hard on optimizing the syncing part and also improving the overall experience for the end user.</p>
<p>The <span style="text-decoration:underline;"><strong>new Diary Mobile</strong> &#8211; <em>HTML5, Phonegap &amp; Sencha Touch</em></span></p>
<div class="mceTemp">
<div class="wp-caption alignnone" style="width: 169px"></dt>
</dl>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-07.png"><img class="size-medium wp-image-111" title="dashboard screen" src="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-07.png?w=159&#038;h=300" alt="" width="159" height="300" /></a><p class="wp-caption-text">dashboard screen</p></div>
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-30.png"><img class="size-medium wp-image-112" title="events screen" src="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-30.png?w=159&#038;h=300" alt="" width="159" height="300" /></a></dt>
<dd class="wp-caption-dd">events screen</dd>
</dl>
</div>
<div id="attachment_113" class="wp-caption alignnone" style="width: 169px"></dt>
</dl>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-34.png"><img class="size-medium wp-image-113" title="notes screen" src="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-34.png?w=159&#038;h=300" alt="" width="159" height="300" /></a><p class="wp-caption-text">notes screen</p></div>
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-40.png"><img class="size-medium wp-image-114 " title="todos screen" src="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-40.png?w=159&#038;h=300" alt="" width="159" height="300" /></a></dt>
<dd class="wp-caption-dd">todos screen</dd>
</dl>
</div>
<div id="attachment_115" class="wp-caption alignnone" style="width: 169px"><a href="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-44.png"><img class="size-medium wp-image-115" title="settings screen" src="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-44.png?w=159&#038;h=300" alt="" width="159" height="300" /></a><p class="wp-caption-text">settings screen</p></div>
<p>The results were encouraging with a lot of downloads. However, there are still rough corners that need addressing. I&#8217;ll be detailing the development in my upcoming posts.</p>
</div>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/html5/'>HTML5</a>, <a href='http://schahzad.wordpress.com/tag/iphone-development/'>iPhone development</a>, <a href='http://schahzad.wordpress.com/tag/javascript/'>javascript</a>, <a href='http://schahzad.wordpress.com/tag/mobile-apps-2/'>mobile apps</a>, <a href='http://schahzad.wordpress.com/tag/sencha-touch-2/'>sencha touch</a>, <a href='http://schahzad.wordpress.com/tag/startup/'>startup</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=98&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2011/08/01/bhs-making-of-diary-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/2-agenda.png?w=200" medium="image">
			<media:title type="html">2-agenda</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/3-event-info.png?w=200" medium="image">
			<media:title type="html">3-event-info screen</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/4-todos.png?w=200" medium="image">
			<media:title type="html">4-todos screen</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-07.png?w=159" medium="image">
			<media:title type="html">dashboard screen</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-30.png?w=159" medium="image">
			<media:title type="html">events screen</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-34.png?w=159" medium="image">
			<media:title type="html">notes screen</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-40.png?w=159" medium="image">
			<media:title type="html">todos screen</media:title>
		</media:content>

		<media:content url="http://schahzad.files.wordpress.com/2011/07/screen-shot-2011-07-29-at-17-55-44.png?w=159" medium="image">
			<media:title type="html">settings screen</media:title>
		</media:content>
	</item>
		<item>
		<title>HTML5 mobile application for App Store</title>
		<link>http://schahzad.wordpress.com/2011/07/29/html5-mobile-application-for-app-store/</link>
		<comments>http://schahzad.wordpress.com/2011/07/29/html5-mobile-application-for-app-store/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 16:13:43 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Mobile apps]]></category>
		<category><![CDATA[Phonegap]]></category>
		<category><![CDATA[Sencha Touch]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile apps]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[sencha touch]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=89</guid>
		<description><![CDATA[I&#8217;d use the tools IntelliJ IDEA v 9, Android SDK v 2.2, PhoneGap v 0.9.1, ant v 1.8, ruby v 1.8.7 and java v 1.6. http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse On the last screen of the IntelliJ android project wizard take care of two things: The package name that you mention and Create &#8220;Hello World!&#8221; project, the Activity name [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=89&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d use the tools IntelliJ IDEA v 9, Android SDK v 2.2, PhoneGap v 0.9.1, ant v 1.8, ruby v 1.8.7 and java v 1.6.</p>
<p>http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse</p>
<p>On the last screen of the IntelliJ android project wizard take care of two things:</p>
<ul>
<li>The package name that you mention and</li>
</ul>
<ul>
<li>Create &#8220;Hello World!&#8221; project, the Activity name</li>
</ul>
<p>must be the same as the &#8220;package_name&#8221; and &#8220;name&#8221; of your application respectively when you created a phonegap blank project by running the droidgap script.</p>
<p>You may have to update the default android virtual device from &#8220;Select Run/Debug Configuration&#8221; drop down &#8211;&gt; Edit Configurations &#8211;&gt; Select appropriate Android Virtual Device from the drop down.</p>
<p><strong>*Update</strong></p>
<p>A lot of updates have occurred since I last wrote this post back in September  2010. I saved it as a draft to revisit with complete details. However, I got busy with my job and managed to launch a proper <strong>phonegap</strong> and <strong>Sench Touch</strong> application for both the iOS and Android platform &#8211; Diary Mobile.</p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/html5/'>HTML5</a>, <a href='http://schahzad.wordpress.com/tag/javascript/'>javascript</a>, <a href='http://schahzad.wordpress.com/tag/mobile-apps-2/'>mobile apps</a>, <a href='http://schahzad.wordpress.com/tag/phonegap-2/'>phonegap</a>, <a href='http://schahzad.wordpress.com/tag/sencha-touch-2/'>sencha touch</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=89&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2011/07/29/html5-mobile-application-for-app-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtualization of SnowOSX on Windows 7</title>
		<link>http://schahzad.wordpress.com/2010/07/29/virtualization-of-snowosx-on-windows-7/</link>
		<comments>http://schahzad.wordpress.com/2010/07/29/virtualization-of-snowosx-on-windows-7/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 22:28:31 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[hackintosh]]></category>
		<category><![CDATA[iPhone development]]></category>
		<category><![CDATA[SnowOSX]]></category>
		<category><![CDATA[virtual box]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=86</guid>
		<description><![CDATA[Why the Apple Mac OS X is important? This question was never asked by the developer community for a number of years. However, with the recently discovered &#8220;gold rush&#8221; of mobile apps development, Mac OS X is relevant again. Imagine an OS that allows development of all mobile platforms and is also lovely enough to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=86&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Why the Apple Mac OS X is important?</p>
<p>This question was never asked by the developer community for a number of years. However, with the recently discovered &#8220;gold rush&#8221; of mobile apps development, Mac OS X is relevant again.</p>
<p>Imagine an OS that allows development of all mobile platforms and is also lovely enough to brag in front of your girl friend!!!</p>
<p>Unfortunately, not every one can afford an expensive Mac Pro machine, especially not a developer who has just lost his job due to recession.</p>
<p>Well folks, Oracle Virtual Box comes to the rescue. Its free and let&#8217;s you install SnowOSX (hackintosh based on Mac OS X 10.6 Snow Leopard) on any Windows or Linux machine. The steps are simple and they are mentioned every where on the hackintosh websites like taranfx.com. It requires Intel VT-x or AMD-V enabled CPU, ideally 4 GB of RAM, 20 GB of free HD space and that&#8217;s it. After the SnowOSX is installed, you can go on to install Xcode with iPhone SDK and Eclipse with Android SDK. Try as many mobile SDK&#8217;s as you like, Mac OS X supports all of &#8216;em.</p>
<p>But be careful as it breaks nearly every Apple license agreement <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/hackintosh/'>hackintosh</a>, <a href='http://schahzad.wordpress.com/tag/iphone-development/'>iPhone development</a>, <a href='http://schahzad.wordpress.com/tag/snowosx/'>SnowOSX</a>, <a href='http://schahzad.wordpress.com/tag/virtual-box/'>virtual box</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=86&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2010/07/29/virtualization-of-snowosx-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>
	</item>
		<item>
		<title>Scala Lift simple build tool &#8211; sbt Cheat Sheet</title>
		<link>http://schahzad.wordpress.com/2010/07/12/scala-lift-simple-build-tool-sbt-cheat-sheet/</link>
		<comments>http://schahzad.wordpress.com/2010/07/12/scala-lift-simple-build-tool-sbt-cheat-sheet/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 21:41:58 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Lift]]></category>
		<category><![CDATA[Scala]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[IntelliJ]]></category>
		<category><![CDATA[jrebel]]></category>
		<category><![CDATA[lift]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[sbt]]></category>
		<category><![CDATA[scala]]></category>
		<category><![CDATA[simple build tool]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=80</guid>
		<description><![CDATA[Assumptions: This Cheat Sheet assumes that a) you have a basic understanding of java platform, maven build tool and IntelliJ IDEA. b) you use windows platform for development c) you use IntelliJ IDEA v9, java v1.6+, maven v2.2.1, git v1.7.1.1, scala v2.7.7, lift v2.0 and simple build tool v0.7.4 Install Java, maven, Git, IntelliJ IDEA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=80&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Assumptions:</strong></p>
<p>This Cheat Sheet assumes that</p>
<p>a) you have a basic understanding of java platform, maven build tool and IntelliJ IDEA.</p>
<p>b) you use windows platform for development</p>
<p>c) you use IntelliJ IDEA v9, java v1.6+, maven v2.2.1, git v1.7.1.1, scala v2.7.7, lift v2.0 and simple build tool v0.7.4</p>
<p>Install <strong>Java, maven, Git, IntelliJ IDEA</strong> <strong>and simple build tool </strong>and configure the PATH environment variable accordingly for all three:</p>
<p><span style="text-decoration:underline;"><strong>Option 1:</strong></span></p>
<p>Clone this repository with:</p>
<p>git clone git://github.com/dpp/lift_sbt_prototype.git</p>
<p>Then cd into lift_sbt_prototype and type:<br />
sbt</p>
<p>At the sbt prompt, type:<br />
update</p>
<p>Then:<br />
jetty-run</p>
<p>Point your browser to:</p>
<p>http://localhost:8080/</p>
<p>Voila a running Lift app</p>
<p><span style="text-decoration:underline;"><strong>Option 2:<br />
</strong></span></p>
<p>1. Download simple-build-tool jar file from its official source:</p>
<p>http://code.google.com/p/simple-build-tool/</p>
<p>2. Create a script sbt.bat to launch sbt:</p>
<p>set SCRIPT_DIR=%~dp0<br />
java -Xmx512M -jar &#8220;%SCRIPT_DIR%sbt-launch.jar&#8221; %*</p>
<p>if proxy is enabled then use:<br />
java -Dhttp.proxyHost=myproxy -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=mypassword -Xmx512M -jar &#8220;%SCRIPT_DIR%sbt-launch.jar&#8221; %*</p>
<p>To avoid frequent OutOfMemory errors, try modifying your sbt launch bat script to the following:<br />
java -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar &#8220;%SCRIPT_DIR%sbt-launch.jar&#8221; %*</p>
<p><strong>Note: </strong>Keep sbt-launch.jar and sbt.bat in a separate directory and not within scala installation directory.</p>
<p>3. First create the basic structure of Lift project using maven in windows:</p>
<p>mvn archetype:generate -U ^<br />
-DarchetypeGroupId=net.liftweb ^<br />
-DarchetypeArtifactId=lift-archetype-basic ^<br />
-DarchetypeVersion=2.0 ^<br />
-DarchetypeRepository=http://scala-tools.org/repo-snapshots ^<br />
-DremoteRepositories=http://scala-tools.org/repo-snapshots ^<br />
-DgroupId=com.myProject1 -DartifactId=myProject1</p>
<p><strong>Note:</strong> -DarchetypeArtifactId can have one of the three values</p>
<p>- lift-archetype-blank</p>
<p>- lift-archetype-basic</p>
<p>- lift-archetype-jpa-basic</p>
<p>4. Then cd into myProject1 and run:<br />
sbt</p>
<p>5. At the sbt prompt, type:</p>
<p>Project does not exist, create new project? (y/N/s) y<br />
Name: myProject1<br />
Organization: com.myProject1<br />
Version [1.0]:<br />
Scala version [2.7.7]:<br />
sbt version [0.7.4]:</p>
<p><strong>Note: </strong>Basically, you enter &#8216;y&#8217; for yes or &#8216;s&#8217; for starting a project from scratch (in our case we have already generated our project using maven)</p>
<p>6. Setup the project configuration. Your project configurations are defined at myProject1/project/build/myProject1Project.scala.</p>
<p>Create the directory:</p>
<p>project/build</p>
<p>7. Then create the /project/build/myProject1Project.scala file with the following:</p>
<p>import sbt._</p>
<p>class myProject1Project(info: ProjectInfo) extends DefaultWebProject(info)<br />
{<br />
val snapshots = ScalaToolsSnapshots<br />
val lift = &#8220;net.liftweb&#8221; % &#8220;lift-mapper&#8221; % &#8220;2.0&#8243; % &#8220;compile&#8221;<br />
val jetty6 = &#8220;org.mortbay.jetty&#8221; % &#8220;jetty&#8221; % &#8220;6.1.22&#8243; % &#8220;test&#8221;<br />
val h2 = &#8220;com.h2database&#8221; % &#8220;h2&#8243; % &#8220;1.2.134&#8243;<br />
val servlet = &#8220;javax.servlet&#8221; % &#8220;servlet-api&#8221; % &#8220;2.5&#8243; % &#8220;provided&#8221;<br />
val derby = &#8220;org.apache.derby&#8221; % &#8220;derby&#8221; % &#8220;10.2.2.0&#8243; % &#8220;runtime&#8221;<br />
val junit = &#8220;junit&#8221; % &#8220;junit&#8221; % &#8220;4.7&#8243; % &#8220;test&#8221;</p>
<p>// required because Ivy doesn&#8217;t pull repositories from poms<br />
val smackRepo = &#8220;m2-repository-smack&#8221; at &#8220;http://maven.reucon.com/public&#8221;<br />
val nexusRepo = &#8220;nexus&#8221; at &#8220;https://nexus.griddynamics.net/nexus/content/groups/public&#8221;<br />
}</p>
<p>For ~jetty, you will still have to hit return at the sbt prompt to restart jetty in order to see changes. To avoid this use:<br />
override def jettyWebappPath  = webappPath</p>
<p>If you&#8217;re running with Jrebel (see near the end of the post), avoid unnecessary redeploys with:<br />
override def scanDirectories = Nil</p>
<p>8. Then on the sbt prompt, run:</p>
<p>reload<br />
9. Next on the sbt prompt, run:</p>
<p>update<br />
10. Then on the sbt prompt, run:</p>
<p>~jetty-run</p>
<p>11. Point your browser to:</p>
<p>http://localhost:8080/</p>
<p><strong>Note:</strong> Your app is running and accessible at this point</p>
<p>12. To use with IntelliJ IDEA,</p>
<p>a) install the scala and sbt plugin.</p>
<p>b) In Setting =&gt; Plugins give the path of sbt-launch.jar file.</p>
<p>c) Go to the &#8220;Before launch&#8221; options of a Run Configuration, uncheck &#8220;Make&#8221; and choose &#8220;Run SBT Action / test-compile&#8221;</p>
<p>d) Create a new IntelliJ IDEA project using Import Project from External Model =&gt; Maven</p>
<p>e) Add a Scala aspect to the project, employing Use Files. In Project Structure =&gt; Facets =&gt; Scala; point the plug-in to the myProject1/project/boot subdirectory where sbt downloaded your Scala</p>
<p>For further improvement in development life cycle:<br />
a) Put libraries in myProject1/lib and sources in myProject1/src</p>
<p>b) On sbt prompt,</p>
<p>package</p>
<p>action will create a WAR file for when you are ready to deploy your webapp on a production server.</p>
<p>c) JRebel (formerly known as JavaRebel) is a plugin for the Java Virtual Machine that enables on-the-fly reloading of changes made to Java class files.</p>
<p>ZeroTurnaround provide a free JRebel license for developers using Scala.</p>
<p>Download and install JRebel from</p>
<p>http://www.zeroturnaround.com/jrebel/</p>
<p>In order to integrate JRebel into your build, first turn off automatic reloading in jetty in maven pom.xml by setting the scanIntervalSeconds value to 0:</p>
<p>&lt;plugin&gt;<br />
&lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;<br />
&lt;artifactId&gt;maven-jetty-plugin&lt;/artifactId&gt;<br />
&lt;version&gt;6.1.22&lt;/version&gt;<br />
&lt;configuration&gt;<br />
&lt;contextPath&gt;/&lt;/contextPath&gt;<br />
&lt;scanIntervalSeconds&gt;0&lt;/scanIntervalSeconds&gt;<br />
&lt;/configuration&gt;<br />
&lt;/plugin&gt;</p>
<p>Then add the following to your MAVEN_OPTS environment variable:</p>
<p>-noverify -javaagent:/path/to/jrebel/jrebel.jar</p>
<p><span style="text-decoration:underline;">Following pages were accessed to consolidate this post</span>:</p>
<p>http://www.assembla.com/wiki/show/liftweb/Getting_Started</p>
<p>http://www.assembla.com/wiki/show/liftweb/Using_Maven</p>
<p>http://www.assembla.com/wiki/show/liftweb/Using_SBT</p>
<p>http://code.google.com/p/simple-build-tool/wiki/Setup</p>
<p>http://code.google.com/p/simple-build-tool/wiki/RunningSbt</p>
<p>http://www.assembla.com/wiki/show/liftweb/Using_IntelliJ_IDEA_to_develop_Lift_applications</p>
<p>http://plugins.intellij.net/plugin/?idea&#038;id=5007</p>
<p>Updates for Scala 2.8 will come soon. Feel free to leave your comments <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fschahzad.wordpress.com%2F2010%2F07%2F12%2Fscala-lift-simple-build-tool-sbt-cheat-sheet%2F&amp;linkname=Scala%20Lift%20simple%20build%20tool%20-%20sbt%20Cheat%20Sheet"><img src="http://static.addtoany.com/buttons/share_save_171_16.png" alt="Share" /></a></p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/cheat-sheet/'>cheat sheet</a>, <a href='http://schahzad.wordpress.com/tag/git/'>git</a>, <a href='http://schahzad.wordpress.com/tag/intellij/'>IntelliJ</a>, <a href='http://schahzad.wordpress.com/tag/jrebel/'>jrebel</a>, <a href='http://schahzad.wordpress.com/tag/lift-2/'>lift</a>, <a href='http://schahzad.wordpress.com/tag/maven/'>maven</a>, <a href='http://schahzad.wordpress.com/tag/sbt/'>sbt</a>, <a href='http://schahzad.wordpress.com/tag/scala-2/'>scala</a>, <a href='http://schahzad.wordpress.com/tag/simple-build-tool/'>simple build tool</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=80&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2010/07/12/scala-lift-simple-build-tool-sbt-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_171_16.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Gaining momentum</title>
		<link>http://schahzad.wordpress.com/2010/07/09/gaining-momentum/</link>
		<comments>http://schahzad.wordpress.com/2010/07/09/gaining-momentum/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 11:08:53 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[entrepreneur]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Scala]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[team]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=76</guid>
		<description><![CDATA[Its a cruel world out. You need to take very quick and careful steps otherwise you&#8217;ll roll down the mountain on which you&#8217;re trekking. I&#8217;ve decided to work on more than 1 startup at a time and see which one succeeds. Since the underlying technology is the same in my startups therefore I can afford [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=76&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Its a cruel world out. You need to take very quick and careful steps otherwise you&#8217;ll roll down the mountain on which you&#8217;re trekking.</p>
<p>I&#8217;ve decided to work on more than 1 startup at a time and see which one succeeds. Since the underlying technology is the same in my startups therefore I can afford to have them run at parallel. <strong>None of my startups are funded</strong> at the moment. Therefore, I&#8217;m also making sure that <strong>we get some paid projects</strong> based on the technical capabilities that we have developed.</p>
<p>We are currently working on following lines: <strong>wordpress, jQuery/AJAX, PHP, Sencha, Scala/Lift, NoSQL</strong> and a whole lot of APIs: <strong>Facebook, Twitter, Geolocation</strong>, you name it. So if you have <strong>any projects related to these technologies</strong> like custom website development and mobile <strong>HTML5</strong> apps development, we&#8217;d be happy to help you achieve your desired goals.</p>
<p>Currenlty, we are a team of 2 highly dedicated developers working on the stuff mentioned above. We are also looking for equity holder partners with the skill set: a <strong>graphics</strong> designer/developer aka <strong>desolper</strong> and a <strong>marketing professional </strong>to work on an exciting startup based on tabletPC B2B app <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I&#8217;d entertain applications at the email: <strong>sim4biz [at] gmail [dot] com</strong></p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/entrepreneur/'>entrepreneur</a>, <a href='http://schahzad.wordpress.com/tag/graphics/'>graphics</a>, <a href='http://schahzad.wordpress.com/tag/html5/'>HTML5</a>, <a href='http://schahzad.wordpress.com/tag/marketing/'>marketing</a>, <a href='http://schahzad.wordpress.com/tag/startup/'>startup</a>, <a href='http://schahzad.wordpress.com/tag/team/'>team</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=76&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2010/07/09/gaining-momentum/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>
	</item>
		<item>
		<title>Startup brewing startup</title>
		<link>http://schahzad.wordpress.com/2010/06/13/startup-brewing-startup/</link>
		<comments>http://schahzad.wordpress.com/2010/06/13/startup-brewing-startup/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 20:58:37 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[Biz]]></category>
		<category><![CDATA[entrepreneur]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[launch48]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=65</guid>
		<description><![CDATA[Well, I like to be called an innovator. Entrepreneurship for me is a family thing. I wanted time to decide to take entrepreneurship as a career but fate plays its funny games some times. This life, it seems, is too short for you to make a move from a well established career to a risky [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=65&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, I like to be called an <strong>innovator</strong>. Entrepreneurship for me is a family thing. I wanted time to decide to take <strong>entrepreneurship </strong>as a career but fate plays its funny games some times.</p>
<p>This life, it seems, is too short for you to make a move from a well established career to a risky career of an entrepreneur. If you&#8217;re <strong>perturbed  by innovative ideas</strong> every now and then; I&#8217;d suggest you should try your luck in this line of business.</p>
<p>The name of the game is: <strong>key players at key positions</strong>. An innovative idea and a well-balanced team with brilliant past record is what angel investors and VCs seek. The current interest rate of 0.5% is proof enough that the pool of potential investors is huge. <span style="text-decoration:underline;">Seeking seed funding is not your goal</span>.</p>
<p>You&#8217;re an innovator and you want to change the world with your inventions. Get a good idea and then pick a team or do it the other way around; its up to you. For the former adventure, there are plenty of places to seek a good team like <a title="Launch48" href="http://london.launch48.com" target="_blank">Launch48</a> I recently attended.</p>
<p>I stumbled upon so many innovators and entrepreneurs at that event. I worked on somebody else&#8217;s idea and it was so much fun with you working on you own part and letting others work on their part.</p>
<p>I&#8217;m also <strong>looking for teammates for my startup</strong> <a title="slately" href="http://www.slately.co.uk" target="_blank">slately</a>; one <strong>techie/front-end guy</strong> and one <strong>business development guy</strong> are missing in the picture. I&#8217;m focusing all my energies on picking a super biz dev guy now as the startup I&#8217;m working on is majorly a sales business. I think, a person with primarily marketing but some sales experience with small/medium enterprise would be a good fit. Again, slately is a startup working on a tablet PC B2B application and we hope to go global in the coming years.</p>
<p>Things are moving fast and I&#8217;m talking to potential customers everyday. I hope to get to the point of signing a pre-order soon and from there life&#8217;d be a roller coaster ride!!!</p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fschahzad.wordpress.com%2F2010%2F06%2F13%2Fstartup-brewing-startup%2F&amp;linkname=Startup%20brewing%20startup"><img src="http://static.addtoany.com/buttons/share_save_171_16.png" alt="Share" /></a></p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/entrepreneur/'>entrepreneur</a>, <a href='http://schahzad.wordpress.com/tag/innovation/'>innovation</a>, <a href='http://schahzad.wordpress.com/tag/launch48/'>launch48</a>, <a href='http://schahzad.wordpress.com/tag/startup/'>startup</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=65&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2010/06/13/startup-brewing-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_171_16.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Looking for partner(s) to join for techstars.org program</title>
		<link>http://schahzad.wordpress.com/2010/05/22/looking-for-partners-to-join-for-techstars-org-program/</link>
		<comments>http://schahzad.wordpress.com/2010/05/22/looking-for-partners-to-join-for-techstars-org-program/#comments</comments>
		<pubDate>Sat, 22 May 2010 17:03:31 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[Air 2]]></category>
		<category><![CDATA[Biz]]></category>
		<category><![CDATA[Flex 4]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[Tablet PC]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Technology and Software]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Enterprise Application Integration]]></category>
		<category><![CDATA[tablet]]></category>
		<category><![CDATA[tablet PC]]></category>
		<category><![CDATA[techstars]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=45</guid>
		<description><![CDATA[[Open Letter] Well, I&#8217;ve been working on a hi-tech startup offering a tablet PC based B2B application for quite some time now. Since I don&#8217;t have any funding at the moment therefore I&#8217;m looking for funding as well as interesting people in my business. Fresh out of thedifferenceengine, I&#8217;m all too excited to apply for techstars but for that I need [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=45&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>[Open Letter]</strong></p>
<span style="text-align:center; display: block;"><a href="http://schahzad.wordpress.com/2010/05/22/looking-for-partners-to-join-for-techstars-org-program/"><img src="http://img.youtube.com/vi/T6MhAwQ64c0/2.jpg" alt="" /></a></span>
<p>Well, I&#8217;ve been working on a hi-tech startup offering a tablet PC based B2B application for quite some time now. Since I don&#8217;t have any funding at the moment therefore I&#8217;m looking for funding as well as interesting people in my business. Fresh out of <a title="startup_program" href="http://thedifferenceengine.eu/" target="_blank">thedifferenceengine</a>, I&#8217;m all too excited to apply for <a title="startup_fund" href="http://www.techstars.org/" target="_blank">techstars</a> but for that I need a partner with a good match of tech and entrepreneurial skills. Furthermore, <strong>I&#8217;m willing to offer founder&#8217;s equity for joining</strong>. [Remember, the deadline for techstars is 1-JUN-2010]</p>
<p>I&#8217;ve figured out the architecture and the technologies behind it: <strong>Flex4/Air2</strong> as front end, <strong>Scala </strong>as backend and<strong> No-SQL</strong> (probably) as a data store. The application may also be available as <strong>SaaS</strong> offering, in a cloud, some time in the future.</p>
<p>For that I need someone who has <strong>3+ years of experience in enterprise software development</strong>: Whether he has worked in .NET or Java, it doesn&#8217;t matter, but what matters is his ambition to learn to do enterprise application integration, preferably with CRM or payroll systems, in a far efficient and elegant manner. I mean doing it through RESTful concurrent Scala!</p>
<p>Scala is a new kid in the block but it has garnered great reputation after twitter and linkedin chose to migrate their core technology to this new JVM-based language. It supports elegant multi-core concurrency language features apart from providing a very clean syntax.</p>
<p>Another person, who may be of an interest to me, would be a <strong>Flex desopler</strong> (designer/developer) who is also an expert in designing UX (user experience) for consumer applications.</p>
<p>I myself have worked heavily on enterprise software and business intelligence projects too. Mostly, Java and Applet based technology but I kept myself updated with what&#8217;s going on out there and what&#8217;s hip throughout my career. I&#8217;ve been advising various startups and also coming up with business plans ever since I graduated. However, this is the first time I&#8217;m out seeking funding <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><em><span style="text-decoration:underline;">So anyone with ambitions, </span><span style="text-decoration:underline;"><strong>authorization to work in UK </strong></span><span style="text-decoration:underline;">and willingness to take the risks in order to change the world is welcomed!</span></em></p>
<p><strong>sim4biz[at]gmail[dot]com</strong></p>
<p><strong><br />
</strong></p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fschahzad.wordpress.com%2F2010%2F05%2F22%2Flooking-for-partners-to-join-for-techstars-org-program%2F&amp;linkname=Looking%20for%20partner(s)%20to%20join%20for%20techstars.org%20program"><img src="http://static.addtoany.com/buttons/share_save_171_16.png" alt="Share" /></a></p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/cloud-computing/'>Cloud Computing</a>, <a href='http://schahzad.wordpress.com/tag/enterprise-application-integration/'>Enterprise Application Integration</a>, <a href='http://schahzad.wordpress.com/tag/startup/'>startup</a>, <a href='http://schahzad.wordpress.com/tag/tablet/'>tablet</a>, <a href='http://schahzad.wordpress.com/tag/tablet-pc-2/'>tablet PC</a>, <a href='http://schahzad.wordpress.com/tag/techstars/'>techstars</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=45&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2010/05/22/looking-for-partners-to-join-for-techstars-org-program/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_171_16.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Change in blogging pattern</title>
		<link>http://schahzad.wordpress.com/2010/04/15/change-in-blogging-pattern/</link>
		<comments>http://schahzad.wordpress.com/2010/04/15/change-in-blogging-pattern/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 18:17:08 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Technology and Software]]></category>
		<category><![CDATA[Notepad++]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=43</guid>
		<description><![CDATA[After a long break, I&#8217;m back. In the meantime, I immigrated to a new country, changed a couple of jobs, working on a new business plan and refreshed myself for new challenges in life. With this post, I&#8217;m changing the pattern of my blogs; from long well written and 3/4 blogs a year to short [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=43&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a long break, I&#8217;m back. In the meantime, I immigrated to a new country, changed a couple of jobs, working on a new business plan and refreshed myself for new challenges in life.</p>
<p>With this post, I&#8217;m changing the pattern of my blogs; from long well written and 3/4 blogs a year to short quick blogs with enough meat to justify a post <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So here I am.</p>
<p>I&#8217;m a big <a title="IntelliJ Idea" href="http://www.jetbrains.com/idea/index.html" target="_blank">IntelliJ Idea</a> fan but as a startup, I need to be able to do quick edits, configurations here and there and quick feedback loops for the changes. Therefore, I&#8217;m going with an old favorite editor, Notepad++, and added a little macro that can compile/run java programs.</p>
<p>1) Press F6</p>
<p>2) type</p>
<p>npp_switch Main.java<br />
cd ..\..\..\<br />
javac -sourcepath src -classpath classes;lib\*.jar src\com\myfirm\*.java -d classes<br />
java -classpath classes;lib\*.jar com.myfirm.&#8221;$(NAME_PART)&#8221;</p>
<p>[N.B. dont forget to press &lt;enter&gt; after every command]</p>
<p>3) Press Save&#8230; and name the script java_runner</p>
<p>4) Invoke by Ctrl-F6 on any class of the same project</p>
<p>Job&#8217;s done!</p>
<p>Assumptions:</p>
<p>1) It requires that all java source files are placed with src/com/myfirm directory</p>
<p>2) The directory classes is already created at the level of src directory</p>
<p>3) There is a class that ends with a name Main</p>
<p>4) The required libraries are placed in the lib directory</p>
<p>5) All java etc environment variables are set properly</p>
<p>6) Notepad++ menu Plugins&#8211;&gt;NppExec [Save all files on execute, Follow $(CURRENT_DIRECTORY)] are checked</p>
<p>Cheers!</p>
<br /> Tagged: <a href='http://schahzad.wordpress.com/tag/notepad/'>Notepad++</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=43&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2010/04/15/change-in-blogging-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>
	</item>
		<item>
		<title>Rovista-5</title>
		<link>http://schahzad.wordpress.com/2008/11/20/rovista-5/</link>
		<comments>http://schahzad.wordpress.com/2008/11/20/rovista-5/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 06:14:12 +0000</pubDate>
		<dc:creator>sim4life</dc:creator>
				<category><![CDATA[Lahore]]></category>
		<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[civilization]]></category>
		<category><![CDATA[life in Lahore]]></category>

		<guid isPermaLink="false">http://schahzad.wordpress.com/?p=40</guid>
		<description><![CDATA[I had a rather unusual experience some days back. However, at that time I wasn&#8217;t willing to admit it as unusual. Only after people convinced me to consider it weird, did I bring it to my blog. Say, for the past three months, I was getting medicines for my mama from a couple of pharmacies [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=40&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a rather unusual experience some days back. However, at that time I wasn&#8217;t willing to admit it as unusual. Only after people convinced me to consider it weird, did I bring it to my blog.</p>
<p>Say, for the past three months, I was getting medicines for my mama from a couple of pharmacies in the town. My last choice was a distant store that I have visited only 3-4 times in the past but haven&#8217;t been there for a month prior to that incident.</p>
<p>I always have to purchase 12 or so medicines and they are never available in any single store. I went to one, they gave me 8 medicines; went to another, they gave me 3 more. Now, I just needed 1 medicine: Rovista-5.</p>
<p>I have never faced that <strong>boy</strong>, the salesman, in that distant store. I enter that store, he takes one look at me and goes:</p>
<p><em>Rovista-5?</em></p>
<p>and I&#8217;m like:</p>
<p><em>Uh Yeah. 7 tablets.</em></p>
<p>He smiles, brings back the medicine and I go:</p>
<p><em>I wish our doctors were as good.</em></p>
<p>Considering the fact that that boy must remember <strong>2500-3500+ medicines</strong> to pick up from the shelves. It wasn&#8217;t a wild guess and I didn&#8217;t ask him how he guessed that. However, when I contemplate I see that he must have seen the pack of midicines I was holding. For that day, guys with this much pack must have asked for <strong>Rovista-5</strong> only since it must be gone from the inventory of other stores&#8230;I can think of many reasons but I&#8217;m still dumbfounded.</p>
<p>About six months ago I had a similar accident. I needed to reclaim the warranty of a shoe. The warranty was for three months but I used the shoe for five months. I go into the store, ask for reclaim.</p>
<p>He asks for how long was that shoe used?</p>
<p><em>I don&#8217;t know may be 2-3 months.</em></p>
<p>He goes:</p>
<p><em>No, this shoe is used for atleast five months.</em></p>
<p>me again dumbfounded.</p>
<p>All, I&#8217;m trying to prove is that civilization in Lahore has gotten really intelligent in guessing. This is because there is rampant use of deception tactics among the public. So people need to guess accurately and precisely.</p>
<p>It is also a famous proverb in both Indo-Pak region that, <strong><em>He is not born who did not see Lahore</em></strong>. May be it is because guessing so intelligently is the coming of age criterion for men.</p>
<p><strong>This reminds me of a nation that Gabriel, the angel, had to destroy.</strong> [The story is either covered in the Qura'n or Hadith]. Gabriel asks God, <em>why do I have to destroy that nation considering they are so intelligent</em>. God says, <em>find that out yourself</em>. Gabriel goes down and takes up a conversation with a shephard, an illiterate person among them. He asks him</p>
<p><em>Where is Gabriel?</em></p>
<p>The shephard swings his staff around and replies:</p>
<p><em>I see him neither in East nor West, South or North. Neither above the ground nor below it. It must be either me or you.</em></p>
<p>I rest my case.</p>
<br /> Tagged: civilization, life in Lahore <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/schahzad.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/schahzad.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/schahzad.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/schahzad.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/schahzad.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/schahzad.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/schahzad.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/schahzad.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/schahzad.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/schahzad.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/schahzad.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/schahzad.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/schahzad.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/schahzad.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=schahzad.wordpress.com&amp;blog=452114&amp;post=40&amp;subd=schahzad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://schahzad.wordpress.com/2008/11/20/rovista-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9731d0da3d69619677dd4c605d5b374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sim</media:title>
		</media:content>
	</item>
	</channel>
</rss>
