<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://hatimonline.com/wp-atom.php">
	<title type="text">What's up with Hatim</title>
	<subtitle type="text">Life, musings, rants of a Pakistani software engineer living in Europe.</subtitle>

	<updated>2010-07-14T22:41:09Z</updated>
	<generator uri="http://wordpress.org/" version="5199">WordPress</generator>

	<link rel="alternate" type="text/html" href="http://hatimonline.com" />
	<id>http://hatimonline.com/feed/atom/</id>
	

			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/hatimonline" /><feedburner:info uri="hatimonline" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[Upcoming Java/Spring Conferences and&#160;Books]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/1spenLFA1tc/" />
		<id>http://hatimonline.com/?p=624</id>
		<updated>2010-06-27T22:00:00Z</updated>
		<published>2010-06-27T22:00:00Z</published>
		<category scheme="http://hatimonline.com" term="Technology" /><category scheme="http://hatimonline.com" term="book" /><category scheme="http://hatimonline.com" term="Conference" /><category scheme="http://hatimonline.com" term="Java" />		<summary type="html"><![CDATA[I thought I share some of the conferences and books I am looking forward to in the coming few months

Conferences
This will be the first time I would be heading to developer conferences within EU. This year I had plans to attend FOSDEM, but they did not materilize, there is always next year.
Devoxx: This conference is [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/06/27/upcoming-javaspring-conferences-and-books/">&lt;p&gt;I thought I share some of the conferences and books I am looking forward to in the coming few months&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conferences&lt;/strong&gt;&lt;br /&gt;
This will be the first time I would be heading to developer conferences within EU. This year I had plans to attend FOSDEM, but they did not materilize, there is always next year.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.devoxx.com/display/Devoxx2K10/Home"&gt;Devoxx&lt;/a&gt;: This conference is an Antwerp, a city which I had the pleasure of &lt;a href="http://hatimonline.com/2009/06/18/coming-to-antwerp-for-summers/"&gt;staying&lt;/a&gt; in summer of 2009. This conference is definitely on the top of my list.&lt;br /&gt;
&lt;a href=" http://jaoo.dk/"&gt;JAOO&lt;/a&gt;: is a Danish Java conference in Arahus (roughly 4 hours away from where I live by Ferry and Train). I have already put my name on the Volunteers list for this conference&lt;br /&gt;
&lt;a href="http://jz10.java.no/"&gt; JavaZone&lt;/a&gt;: A java conference held in Oslo. Interestingly I found about this by watching a &lt;a href="http://www.youtube.com/watch?v=A1zySeNpW20"&gt;funny&lt;/a&gt; movie trailer for this conference just this weekend. I think the very first time I watched a  video of a conference back in 2007 was when i was reseaching framework selection and watched  &lt;a href="http://raibledesigns.com/"&gt;Matt Raible&lt;/a&gt; &lt;a href="http://wiki.parleys.com/display/PARLEYS/Home#talk=4358686;slide=1;title=Comparing%20Java%20Web%20Frameworks"&gt;talking&lt;/a&gt; about frameworks in this conference in 2007. Oslo is also 4 hours away from where I live.&lt;/p&gt;
&lt;p&gt;Unfortunately my budget wont let me permit to go to &lt;a href="http://oredev.org/2010"&gt;Oredev&lt;/a&gt;, but I think I have my schedule already full &lt;img src='http://hatimonline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Books&lt;/strong&gt;&lt;br /&gt;
Although I am a strong proponent of learning by practice and experience, one cannot ignore that learning technology from books released in a timely manner is probably the best resource for developers.&lt;br /&gt;
I am very interested in the following books. You must be able to tell that this is very Spring centric list &lt;img src='http://hatimonline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://oreilly.com/catalog/9780596801946/"&gt;Spring in a Nutshell&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.manning.com/alves/"&gt; Enterprise OSGi in Action&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.manning.com/hall/"&gt; OSGi in Action&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.manning.com/walls4/"&gt; Spring in Action, Third Edition&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.manning.com/wheeler/"&gt; Spring in Practice 3rd Edition&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.manning.com/fisher/"&gt; Spring Integration in Action&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://apress.com/book/view/1430224991"&gt; Spring Recipes: A Problem-Solution Approach&lt;/a&gt;, Second Edition  (already have the beta)&lt;br /&gt;
&lt;a href="https://www.packtpub.com/spring-security-3/book"&gt; Spring Security 3&lt;/a&gt; (already released, on my reading list)&lt;/p&gt;
&lt;p&gt;I think I would be getting access to most of these books online soon, if only I didn&amp;#8217;t have to to spend my savings on going to conferences &lt;img src='http://hatimonline.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /&gt; . I will try to update this page with more things I come acoress. Let me know if you know of a good conference within EU and upcoming books related to JavaEE.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/1spenLFA1tc" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/06/27/upcoming-javaspring-conferences-and-books/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/06/27/upcoming-javaspring-conferences-and-books/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/06/27/upcoming-javaspring-conferences-and-books/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[Mifos GSoC : Day&#160;1]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/RQ5tT1QwnMo/" />
		<id>http://hatimonline.com/?p=618</id>
		<updated>2010-07-14T22:24:26Z</updated>
		<published>2010-06-01T04:55:39Z</published>
		<category scheme="http://hatimonline.com" term="Programming" /><category scheme="http://hatimonline.com" term="gsoc" /><category scheme="http://hatimonline.com" term="hibernate" /><category scheme="http://hatimonline.com" term="mifos" /><category scheme="http://hatimonline.com" term="spring" />		<summary type="html"><![CDATA[I have been too busy to post that I was selected for GSoC 2010 for Mifos project (my initial prposal can be found here). As I had stated in my proposal, It was not possible for me to start my GSoC official coding portion prior to May 31 2010 (due to my thesis/exam). Since now [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/06/01/mifos-gsoc-day-1/">&lt;p&gt;I have been too busy to post that I was &lt;a href="http://news.mifos.org/mifos-gsoc-2010/"&gt;selected&lt;/a&gt; for GSoC 2010 for &lt;a href="http://www.mifos.org/"&gt;Mifos&lt;/a&gt; project (my &lt;a href="http://socghop.appspot.com/gsoc/student_proposal/private/google/gsoc2010/geoaxis/t127081843798"&gt;initial&lt;/a&gt; prposal can be found here). As I had stated in my proposal, It was not possible for me to start my GSoC official coding portion prior to May 31 2010 (due to my thesis/exam). Since now it out of the way i can now start working.&lt;/p&gt;
&lt;p&gt;The first thing that I have done so far is to build MIFOS from git (I built it from SVN &lt;a href="http://hatimonline.com/2010/04/20/mifos-integration-tests-hell/"&gt;last&lt;/a&gt; time) I was hoping to see some better results as far as time was concerned but on the same setup this has not improved (in fact it&amp;#8217;s gone worse)&lt;/p&gt;
&lt;pre class="c#"&gt;[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Mifos - Parent ........................................ SUCCESS [3.181s]
[INFO] Mifos - Common ........................................ SUCCESS [29.953s]
[INFO] Mifos - Test Framework ................................ SUCCESS [15.138s]
[INFO] Mifos - Service Interfaces ............................ SUCCESS [6.605s]
[INFO] Mifos - User Interface ................................ SUCCESS [13.709s]
[INFO] Mifos - Application Programming Interface ............. SUCCESS [4.082s]
[INFO] Mifos - Service Provider Interface .................... SUCCESS [1.442s]
[INFO] Mifos - Application ................................... SUCCESS [22:56.547s]
[INFO] Mifos - Acceptance Tests .............................. SUCCESS [10:38.196s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34 minutes 49 seconds
[INFO] Finished at: Tue Jun 01 05:54:42 CEST 2010
[INFO] Final Memory: 110M/434M
[INFO] ------------------------------------------------------------------------&lt;/pre&gt;
&lt;p&gt;But at this moment I am not concentrate about the whole build as I need to focus on the task at hand. So instead of a greenfield project I have to work on making current MIFOS codebase  cleaner/saner as far as transactions are concerned. The project and it&amp;#8217;s plan as chalked by my mentor were &lt;a href="http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTilVwEps4TbWhnGcycZqP81FVzOOEi1NNACD6oFF%40mail.gmail.com&amp;amp;forum_name=mifos-developer"&gt;discussed&lt;/a&gt; on the mailing-list yesterday (I plan on reviewing this document a bit more carefully with code on the side)&lt;br /&gt;
One thing which is different from the previous GSoC project is that I am not doing this alone (another student is working on the same project).&lt;br /&gt;
I plan on putting in every day so as to get in the habit of completely open development. For rest of today I will probably be scratching my heaad over the HibernateUtils code &lt;img src='http://hatimonline.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /&gt; &lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/RQ5tT1QwnMo" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/06/01/mifos-gsoc-day-1/#comments" thr:count="3" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/06/01/mifos-gsoc-day-1/feed/atom/" thr:count="3" />
		<thr:total>3</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/06/01/mifos-gsoc-day-1/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[TrackAndRoute : A waste collection management system&#160;(thesis)]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/wiJsF1u2mIw/" />
		<id>http://hatimonline.com/?p=613</id>
		<updated>2010-05-31T22:34:27Z</updated>
		<published>2010-05-31T22:33:34Z</published>
		<category scheme="http://hatimonline.com" term="Programming" /><category scheme="http://hatimonline.com" term="Java" /><category scheme="http://hatimonline.com" term="roo" /><category scheme="http://hatimonline.com" term="spring" /><category scheme="http://hatimonline.com" term="thesis" />		<summary type="html"><![CDATA[I have been waiting for this day since January 2010; today was one of the milestones of my thesis work which I started in January 2010 (but I have been working on this project since late December). The idea is simple, it&#8217;s a software which uses information collected by various sensors communicating to the system [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/05/31/trackandroute-a-waste-collection-management-system-thesis/">&lt;p&gt;I have been waiting for this day since January 2010; today was one of the milestones of my thesis work which I started in January 2010 (but I have been working on this project since late December). The idea is simple, it&amp;#8217;s a software which uses information collected by various sensors communicating to the system via GPRS and to make use of that information which is vital for business use. This is applied to the demand driven waste collection industry where collecting fill levels from trashcans can save the end users time and money as well as give them the chance to raise the quality of the system. This &lt;a href="http://www.chalmers.se/cse/EN/education/masters-programmes/examensarbeten/students-pages/how-to-find-project9451/proposals-from-industry/user-interface-database"&gt;requirement&lt;/a&gt; was floated by &lt;a href="http://www.entrepreneur.chalmers.se/cse/"&gt;Chalmers school of enterprenuership&lt;/a&gt; back in Nov 2009, I applied to this project and got accepted for the role in December 2009. The name of the application was coined by me to emphasise the two aspects of it, tracking and routing based on that tracking.&lt;/p&gt;
&lt;p&gt;I cannot discuss the idea or the solution in more details due to &lt;a href="http://en.wikipedia.org/wiki/Non-disclosure_agreement"&gt;NDA&lt;/a&gt;.  I hope that later I can publish more details in public since I need to write the whole thing in the form of a thesis any way. But I would like to mention is the choice of technology for this project. This project could have been done in almost any platform as the client never had any specific requirement. I proposed JavaEE (Spring/Hibernate) for the following reasons&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Familiarity (I have been working on Spring/Hibernate for some good time now and I am familiar with how things work)&lt;/li&gt;
&lt;li&gt;Portability (the solution produced by this stack is highly portable, can be run in any environment based on tweaks, starting from Google App Engine to good old Unix server)&lt;/li&gt;
&lt;li&gt;Reliability (the systems produced by this stack are under use all over the world in like of Financial, Datawarehousing, corporate IT industries)&lt;/li&gt;
&lt;li&gt;Tooling (with advent of spring &lt;a href="http://www.springsource.org/roo"&gt;ROO&lt;/a&gt; and &lt;a href="http://www.springsource.com/products/sts"&gt;STS&lt;/a&gt; getting free we now have very good tooling support to rapidly prototype enterprise applications, I will talk about my experiences with ROO a bit later)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There are so many other good reasons to use Spring/Hibernate stack and those reasons can be found in various &lt;a href="http://www.springsource.com/products/white-paper-spring-managers-overview"&gt;white&lt;/a&gt; papers and &lt;a href="http://www.springsource.com/files/uploads/all/pdf_files/customer/S2_CaseStudy_hi5Networks_USLET_EN.pdf"&gt;case&lt;/a&gt; &lt;a href="http://www.springsource.com/files/uploads/all/pdf_files/customer/S2_CaseStudy_RackspaceCloud_USLET_EN.pdf"&gt;studies&lt;/a&gt; published by spring source. Overall I am quite happy that I had a chance to learn lots of new things. Now the not so fun part of actually writing a thesis has begun which I have to deliver by the end of this academic year (Aug 2010). As of today I have officially wrapped up my work for the software portion of my thesis, lets see how many bugs popup during the next few months.It has been a nice learning experience so far and I hope to be a part of this project in the future when it goes commercial (in real sense).&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/wiJsF1u2mIw" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/05/31/trackandroute-a-waste-collection-management-system-thesis/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/05/31/trackandroute-a-waste-collection-management-system-thesis/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/05/31/trackandroute-a-waste-collection-management-system-thesis/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[On Apple, Facebook and&#160;Microsoft]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/x8SlPH_r45Y/" />
		<id>http://hatimonline.com/?p=610</id>
		<updated>2010-05-14T19:46:16Z</updated>
		<published>2010-05-14T19:46:16Z</published>
		<category scheme="http://hatimonline.com" term="Rants" /><category scheme="http://hatimonline.com" term="Technology" /><category scheme="http://hatimonline.com" term="Apple" /><category scheme="http://hatimonline.com" term="facebook" /><category scheme="http://hatimonline.com" term="microsoft" /><category scheme="http://hatimonline.com" term="privacy" />		<summary type="html"><![CDATA[I have had a mostly hate/hate relationship with Microsoft. I know that there are wonderful people who work for them but as an organization they are sometimes setting the bar too low for the technology the deliver which in my view is probably hindering humanity as a whole. I mean rather than doing things like [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/05/14/on-apple-facebook-and-microsoft/">&lt;p&gt;I have had a mostly hate/hate relationship with Microsoft. I know that there are wonderful people who work for them but as an organization they are sometimes setting the bar too low for the technology the deliver which in my view is probably hindering humanity as a whole. I mean rather than doing things like you would do on a unix based platform you have to worry about so many other stupid things, I can argue that if all of the planet was standardized on some unix based system, we would probably have more robust systems. But still they do deserve the credit of being the market leader and innovator in lots of areas of technology. I like &lt;a href="http://lifehacker.com/5506455/are-you-satisfied-with-windows-7"&gt;Windows 7&lt;/a&gt;, have heard good things about the new &lt;a href="http://www.businessweek.com/idg/2010-04-13/infoworld-review-visual-studio-2010-delivers.html"&gt;Visual Studio 2010&lt;/a&gt; and am overall impressed with &lt;a href="http://www.bing.com/maps/"&gt;BingMaps&lt;/a&gt; and it&amp;#8217;s integration of &lt;a href="http://www.seadragon.com/"&gt;SeaDragon&lt;/a&gt;. Microsoft may be just a huge company looking after it&amp;#8217;s interests as they just need to defend their title as the &amp;#8220;World Leader&amp;#8221;. But all of this is not enough for me to commit my self to Microsoft and explore a career using their stuff, why, oh because I am lazy and don&amp;#8217;t want to put double the effort on things (usually in my experience, working with any Microsoft solution costs twice or more in terms of time after you get over the superficial initial productivity gains, but I am opinionated and a n00b with M$ stuff). Also I think opensource is the future for humanity, earning huge loads of money is a good idea, but evolving technology in an open way is much more important. Open standards and open technologies are some things which form the very backbone of the internet as we know today.&lt;/p&gt;
&lt;p&gt;Being open is good, and so is using open source technologies. But I think the most important thing is to be &amp;#8220;Not Evil&amp;#8221;. I know I just stole Google&amp;#8217;s motto and to some extent I believe that even they are &lt;a href="http://www.computer.org/portal/web/computingnow/0510/whatsnew/internetcomputing"&gt;not&lt;/a&gt; truly angelic. But these days Evil is not M$, it&amp;#8217;s Apple and Facebook in my opinion.&lt;/p&gt;
&lt;p&gt;Apple has been involved in lots of &lt;a href="http://www.theinquirer.net/inquirer/news/1602890/apple-sends-cops-raid-gizmodo-editors-house"&gt;questionable&lt;/a&gt; &lt;a href="http://www.neowin.net/news/apple-bans-adobe039s-flash-to-iphone-compiler-plus-related-applications"&gt;activities&lt;/a&gt; in the past few weeks alone. They think that they have made it and users will follow them blindly what ever they do. They make good products for a high premium price and don&amp;#8217;t necessarily care about the end consumers (like telling people when new iphone will be released so as to milk off from the old versions, controlling all the channels of their distribution to make sure that who ever they like gets a better treatment and who ever they deem un-likeable, regardless of their &lt;a href="http://www.wired.com/epicenter/2010/04/apple-bans-satire/"&gt;stature&lt;/a&gt; gets kicked out without any explanation). Apple is plain arrogant, they think they know better, they think they can continue mesmerizing the public with their flashy products. There are few &lt;a href="http://www.wired.com/gadgetlab/2010/05/5-suggestions-apple/"&gt;gimmicks&lt;/a&gt; that could help them in short run, but they need to focus on being less of a control freak.&lt;/p&gt;
&lt;p&gt;Facebook is probably even worse than Apple. I think Steve Jobs just thinks that he knows better what users want, but Mark Zukkaburg has &lt;a href="http://www.technobuffalo.com/blog/social-networking/facebook-founder-mark-zuckerberg-doesnt-think-highly-of-his-users"&gt;no regard&lt;/a&gt; for his end users. He thinks he owns them some how. The privacy policy changes of Facebook reminds me of the Animal Farm, it keeps on getting more and more shady and towards the dark side of the force. Then there are these absolute waste of time games which make billions of dollars go to utter waste. What good is a virtual fence for, some uber looser&amp;#8217;s way of escaping the real world? I think Farmeville should be banned and no company should be allowed to waste young peoples time and money like this. Leo Laporte &lt;a href="http://www.youtube.com/watch?v=O_y7mMlKgjY"&gt;deleted&lt;/a&gt; his facebook account which has got me thinking I might be doing that too.&lt;/p&gt;
&lt;p&gt;So conclusion: for the forseeable future I would not develop for technologies like Apple and Facebook, not because they are not financially attractive, but because they exploit/control people, which is one thing we have learned is not a good idea.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/x8SlPH_r45Y" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/05/14/on-apple-facebook-and-microsoft/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/05/14/on-apple-facebook-and-microsoft/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/05/14/on-apple-facebook-and-microsoft/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[Fetching Typo&#160;comments]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/GBQY2cCCcZA/" />
		<id>http://hatimonline.com/?p=592</id>
		<updated>2010-04-29T21:06:01Z</updated>
		<published>2010-04-29T21:06:01Z</published>
		<category scheme="http://hatimonline.com" term="Meta" /><category scheme="http://hatimonline.com" term="comments" /><category scheme="http://hatimonline.com" term="Typo" />		<summary type="html"><![CDATA[I have moved my blog to my new VPS but I still have to move all the comments which I had on it. I looked around and could not find any plugin/script  for doing so I wrote a quick and dirty mysql query to get every thing in a text file (I only have [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/04/29/fetching-typo-comments/">&lt;p&gt;I have &lt;a href="http://hatimonline.com/2010/03/09/moving-to-wordpress-2-x/"&gt;moved &lt;/a&gt;my blog to my new &lt;a href="http://hatimonline.com/2009/10/18/linode-or-not/"&gt;VPS&lt;/a&gt; but I still have to move all the comments which I had on it. I looked around and could not find any plugin/script  for doing so I wrote a quick and dirty mysql query to get every thing in a text file (I only have 24 or so comments from my old blog as I got more comments on my blog entries on my facebook page instead. I already sync them manually with the help of &lt;a href="http://wordpress.org/extend/plugins/facebook-commentstng/"&gt;this&lt;/a&gt; awesome plugin)&lt;/p&gt;
&lt;p&gt;So the query is&lt;/p&gt;
&lt;pre name="code" class="sql:collapse"&gt;
echo "select contents.title,feedback.email,feedback.author,
feedback.created_at,feedback.body from feedback JOIN contents
ON feedback.article_id=contents.id;"
| mysql -utheuser -pthepassword typo &gt; /tmp/thetextfile.txt;
&lt;/pre&gt;
&lt;p&gt;Mind the username, password and the text file. If you know a better way to import the comments please let me know. I will just copy/paste them one by one from the text file &lt;img src='http://hatimonline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /&gt; &lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/GBQY2cCCcZA" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/04/29/fetching-typo-comments/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/04/29/fetching-typo-comments/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/04/29/fetching-typo-comments/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[MIFOS integration tests&#160;hell]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/buVrDiY3dn8/" />
		<id>http://hatimonline.com/?p=584</id>
		<updated>2010-07-14T22:24:59Z</updated>
		<published>2010-04-20T10:22:54Z</published>
		<category scheme="http://hatimonline.com" term="Uncategorized" /><category scheme="http://hatimonline.com" term="gsoc" /><category scheme="http://hatimonline.com" term="Linux" /><category scheme="http://hatimonline.com" term="mifos" />		<summary type="html"><![CDATA[Over the last few days I have been going through java build hell. The project in question is a neat micro finance solution called MIFOS. It&#8217;s current build is a mix of JSP,SQL Hibernate, Struts glued together with maven. Every thing checks out and is typical. But what is not typical is the testing framework. [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/04/20/mifos-integration-tests-hell/">&lt;p&gt;Over the last few days I have been going through java build hell. The project in question is a neat micro finance solution called MIFOS. It&amp;#8217;s current build is a mix of JSP,SQL Hibernate, Struts glued together with maven. Every thing checks out and is typical. But what is not typical is the testing framework. I think the intent behind extensive tests was well, but the outcome for the devs at least now is a horror story. Every time you do a MIFOS build it goes through a series of extensive integration and unit tests. And I don&amp;#8217;t know any apparent way to avoid those tests and it takes awful lot of time (&lt;del datetime="2010-04-20T10:04:53+00:00"&gt;so far without any success on average of 90 mins&lt;/del&gt;, I just had a successful build last night and it took whooping 243 minutes, 10 times more than it should in normal cases)&lt;/p&gt;
&lt;p&gt;The thing which I was doing wrong from the beginning was to use 64 bit JDK as I had not read the later sections about problems with 64 bit in the install guide. After few failed attempts and messing around with the GC Overhead workaround as well as adding more RAM to MAVEN_OPTS I got to 32 bit JDK and at least I was able to make it till the next step (ie selenium and acceptance tests). &lt;a href="http://hatimonline.com/photos/photo/4537070211/selenium.html" class="tt-flickr tt-flickr-Medium" title="selenium"&gt;&lt;img class="alignnone" src="http://farm3.static.flickr.com/2785/4537070211_eeb3dd1e6c.jpg" alt="selenium" width="500" height="287" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;del datetime="2010-04-20T10:04:53+00:00"&gt;As of now the build gets stuck here and I am not able to make a significant progress&lt;/del&gt;.I can finally get a successful build, but its too slow to do any thing. I will be looking into speeding it up.&lt;br /&gt;
&lt;a href="http://hatimonline.com/photos/photo/4537070261/complete-build.html" class="tt-flickr tt-flickr-Medium" title="complete build"&gt;&lt;img class="alignnone" src="http://farm3.static.flickr.com/2706/4537070261_2dd9292827.jpg" alt="complete build" width="500" height="360" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;I think the whole approach to unit testing needs to be revised in MIFOS. There are probably too many tests in the entire system and they could be modularized. It wont be easy just separating out business logic in a production system, but clear steps need to be taken so as to reduce the build time for Mifos. This is probably the biggest hurdle for MIFOS community, to attract good developers you need a workable codebase and  10+ mins of buildtime is not a workable codebase in my opnion. &lt;/p&gt;
&lt;p&gt;I will be looking into making the build run faster on my own system first and then perhaps see what I can do to make the whole testing thing better.  Here is the build summary of my latest build&lt;/p&gt;
&lt;pre class="c#" cols="60" rows="10" name="code"&gt;
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Mifos - Parent ........................................ SUCCESS [2.626s]
[INFO] Mifos - Common ........................................ SUCCESS [27.094s]
[INFO] Mifos - Test Framework ................................ SUCCESS [14.122s]
[INFO] Mifos - Service Interfaces ............................ SUCCESS [7.460s]
[INFO] Mifos - User Interface ................................ SUCCESS [13.232s]
[INFO] Mifos - Application Programming Interface ............. SUCCESS [4.165s]
[INFO] Mifos - Service Provider Interface .................... SUCCESS [1.453s]
[INFO] Mifos - Application ................................... SUCCESS [1:36:39.031s]
[INFO] Mifos - Acceptance Tests .............................. SUCCESS [2:25:11.122s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 243 minutes 1 second
[INFO] Finished at: Tue Apr 20 07:36:19 CEST 2010
[INFO] Final Memory: 87M/380M
[INFO] ------------------------------------------------------------------------
&lt;/pre&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/buVrDiY3dn8" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/04/20/mifos-integration-tests-hell/#comments" thr:count="8" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/04/20/mifos-integration-tests-hell/feed/atom/" thr:count="8" />
		<thr:total>8</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/04/20/mifos-integration-tests-hell/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[Ubuntu 10.04 Beta 2 and lengthy&#160;install]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/8tonB3n5yog/" />
		<id>http://hatimonline.com/?p=573</id>
		<updated>2010-04-19T05:59:30Z</updated>
		<published>2010-04-19T05:50:12Z</published>
		<category scheme="http://hatimonline.com" term="Linux" /><category scheme="http://hatimonline.com" term="nvidia" /><category scheme="http://hatimonline.com" term="ubuntu" /><category scheme="http://hatimonline.com" term="windows" />		<summary type="html"><![CDATA[Thanks to this bug I have not been able to install Windows 7 and any linux in a straight forward way. I decided to do it the hard way instead. I first backed up my Windows 7 installation (oh yes, I purged all my Linux installs a few weeks ago, I had to , don&#8217;t [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/04/19/ubuntu-10-04-beta-2-and-lengthy-install/">&lt;p&gt;Thanks to &lt;a href="https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/416499"&gt;this&lt;/a&gt; bug I have not been able to install Windows 7 and any linux in a straight forward way. I decided to do it the hard way instead. I first backed up my Windows 7 installation (oh yes, I purged all my Linux installs a few weeks ago, I had to , don&amp;#8217;t ask, but I planned on coming back with Ubuntu 10.04). i used the latest version of trusty &lt;a href="http://www.clonezilla.org/"&gt;CloneZilla&lt;/a&gt; for this. After backing up of Windows I installed Ubuntu 10.04 on a logical partition and then later tried to restore the Windows partitions only to find out that I had screwed up the partitions. What i did was that during Linux installation process I created the partitions from scratch (as I could not see any thing, see the bug i mentioned)&lt;/p&gt;
&lt;p&gt;The problem might have some thing to do with the fact that when we create partitions in Linux, they dont share boundries, but when Windows makes partitions, they do share some sort of boundaries. I am not entirely sure if it does cause some error, but it surely is not the same. Here is a dump from my fsdisk﻿&lt;/p&gt;
&lt;pre class="java" name="code"&gt; Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       21401   171798528    7  HPFS/NTFS
/dev/sda3           21401       38913   140666720+   5  Extended
/dev/sda5           21401       22185     6291456   82  Linux swap / Solaris
/dev/sda6   *       22185       35239   104857600   83  Linux&lt;/pre&gt;
&lt;p&gt;If you notice, you will see that there are overlaps between Start and End cylinder, this is what Windows does to the drive, This is not the same in Linux.&lt;/p&gt;
&lt;p&gt;Any who, after failing to recover windows from the already installed partition, I recovered my Windows installation and was able to get windows working back again (thanks to recovering the complete disk) and then I only recovered partitions for my linux machine. Infact this failed too first time as I didn&amp;#8217;t pay attention and let it rewrite the MBR, so third time was the charm with recovering the whole disk of windows (from before i started installing Linux) and recovering the Linux partition from my recent install. Overall it took me a good part of a weekend to get every thing working. Now I just hope that they can resolve this bug soon. I am convinced that it is caused by Windows 7 (I have not had problems like this in a decade since I have used Linux/Windows)&lt;/p&gt;
&lt;p&gt;As for Ubuntu 10.04, like usual there are so many new things and it&amp;#8217;s gotten slicker. I did have one problem with the system. It seemed to install the Nvidia driver during the install process but could not activate them (even though it said they were active and not in use). A quick &lt;a href="http://ubuntuforums.org/showpost.php?p=9121126&amp;amp;postcount=18"&gt;look&lt;/a&gt; in the forums suggested purging and re-installing the Nvidia drivers. Other than that, I am getting used to the windows controls on the top left instead of the top right, but thats a minor adjustment &lt;img src='http://hatimonline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /&gt; &lt;/p&gt;
&lt;p&gt;I hope I wont get the urge to tinker more in the next 6 months till next Ubuntu release.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/8tonB3n5yog" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/04/19/ubuntu-10-04-beta-2-and-lengthy-install/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/04/19/ubuntu-10-04-beta-2-and-lengthy-install/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/04/19/ubuntu-10-04-beta-2-and-lengthy-install/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[Nginx + PHP-FPM, long recipe for a&#160;tuneup]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/LrOBKqGxhQM/" />
		<id>http://hatimonline.com/?p=501</id>
		<updated>2010-03-14T17:31:10Z</updated>
		<published>2010-03-14T17:31:10Z</published>
		<category scheme="http://hatimonline.com" term="Meta" /><category scheme="http://hatimonline.com" term="Technology" /><category scheme="http://hatimonline.com" term="mysql" /><category scheme="http://hatimonline.com" term="nginx" /><category scheme="http://hatimonline.com" term="php-fpm" /><category scheme="http://hatimonline.com" term="tcServer" /><category scheme="http://hatimonline.com" term="tomcat" /><category scheme="http://hatimonline.com" term="ubuntu" />		<summary type="html"><![CDATA[My new blog engine looked and felt all fine except for being an extreme resource hog. I have barely 1 GB of RAM on my virtual server from HostEurope, which is more than enough if you just want to run one under-subscribed site. But I also happen to run Spring&#8217;s new TC server for my [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/03/14/nginx-php-fpm-long-recipe-for-a-tuneup/">&lt;p&gt;My new blog engine looked and felt all fine except for being an extreme resource hog. I have barely 1 GB of RAM on my virtual server from HostEurope, which is more than enough if you just want to run one under-subscribed site. But I also happen to run Spring&amp;#8217;s new &lt;a href="http://www.springsource.com/products/tcserver"&gt;TC server&lt;/a&gt; for my own projects (one of which I should be unveiling by the end of this month). So I decided to explore on how to make the whole blog lean. The process was not easy. First I am on Ubuntu LTS so only the most stable software is available for tunning. So this means I had to compile lots of things by hand. Second there is no complete instruction set for doing so on Hardy (which will be ousted soon by new LTS version). But &lt;a href="http://php-fpm.org/download/"&gt;some&lt;/a&gt; &lt;a href="http://interfacelab.com/nginx-php-fpm-apc-awesome/"&gt;instructions&lt;/a&gt; are still worth mentioning. I might be tempted to write my own complete DIY nginx,wordpress on php-fpm entry after the new LTS is released.&lt;/p&gt;
&lt;p&gt;I decided to go with &lt;a href="http://wiki.nginx.org/Main"&gt;Nginx&lt;/a&gt; and &lt;a href="http://php-fpm.org/"&gt;PHP-FPM&lt;/a&gt; solution for running Wordpress (and then later I can also put in &lt;a href="http://www.modrails.com/"&gt;Passenger&lt;/a&gt; for my RoR applications). Nginx is very lean Webserver which is changing the whole landscape of LAMP to LEMP (it&amp;#8217;s pronounced as engine-x). I had been using it previously as well but it&amp;#8217;s a moving target and has progressed a lot since I last dove into configuration files. There are various resources on the internet addressing this kind of migration but none of them complete. In order to handle redirects as 301 and not as 302 I used &lt;a href="http://wordpress.org/extend/plugins/nginx-compatibility/"&gt;this&lt;/a&gt; plugin, and this post was &lt;a href="http://ocaoimh.ie/wordpress-nginx-wp-super-cache/comment-page-1/#comment-673465"&gt;extremely&lt;/a&gt; helpful in getting the permalinks working properly.&lt;/p&gt;
&lt;p&gt;I also got to &lt;a href="http://wiki.vpslink.com/Low_memory_MySQL_/_Apache_configurations"&gt;optimize&lt;/a&gt; my MySQL for memory use but I think there is still room for improvement.&lt;/p&gt;
&lt;p&gt;Initial tests with a blank TC server and a running blog on stock Apache and Mysql would reat away all the available RAM. Now I have been able to shave off about 100 MB (which is not bad). I will see if running standard Tomcat works as it uses less memory than TCServer (from the looks of it)&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/LrOBKqGxhQM" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/03/14/nginx-php-fpm-long-recipe-for-a-tuneup/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/03/14/nginx-php-fpm-long-recipe-for-a-tuneup/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/03/14/nginx-php-fpm-long-recipe-for-a-tuneup/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[Moving my olders&#160;posts]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/P2X20oFNWmw/" />
		<id>http://hatimonline.com/2010/03/13/moving-my-blogger-posts/</id>
		<updated>2010-03-19T00:48:38Z</updated>
		<published>2010-03-13T00:38:50Z</published>
		<category scheme="http://hatimonline.com" term="Meta" /><category scheme="http://hatimonline.com" term="blogger" /><category scheme="http://hatimonline.com" term="rss" /><category scheme="http://hatimonline.com" term="Typo" /><category scheme="http://hatimonline.com" term="wordpress" />		<summary type="html"><![CDATA[I just did it, ported my blogger entries to WordPress, all 200+ of them. And it is a mess. I realize that over the years I have learnt how to write better and express my self in a clearer way. This is all thanks to loads of time reading other people&#8217;s blogs and some what [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/03/13/moving-my-blogger-posts/">&lt;p&gt;I just did it, ported my blogger entries to WordPress, all 200+ of them. And it is a mess. I realize that over the years I have learnt how to write better and express my self in a clearer way. This is all thanks to loads of time reading other people&amp;#8217;s blogs and some what maturity. But I still have to be much better at writing and communication in general. Importing blogger is built in to WordPress, you just click and authorize. If only it was so easy to port &lt;a href="http://typosphere.org"&gt;Typosphre&lt;/a&gt; blog entries. I copied the RSS feed of my Typo based blog but without any comments. Hopefully I would be able to move them soon as well. It would be nice to get the comments which appear on my Facebook, reappear on word press as well.&lt;/p&gt;
&lt;p&gt;I realize that in the past I have probably put out some naive comments (like about how I would never leave Blogger.com or how much I &lt;a href="http://hatimonline.com/2005/08/02/final-overinternship-stuff-why-i-hate-nargasi-koftas-more-screenshots-of-flight-gear/"&gt;hate&lt;/a&gt; a dish called Nargisi Koftas, some thing I won&amp;#8217;t mind munching right now or the worst that how I &lt;a href="http://hatimonline.com/2005/06/15/blog-madness/"&gt;cannot stand&lt;/a&gt; those corporate blogs, I really have come a long way) but since it was all already out there, I thought it&amp;#8217;s better to organize it all and bring it under one roof.&lt;/p&gt;
&lt;p&gt;I have become more aware of what to put on the web and how to put it. It is  fun to see how my personality has changed over the years just by looking at the old blog entries.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/P2X20oFNWmw" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/03/13/moving-my-blogger-posts/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/03/13/moving-my-blogger-posts/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/03/13/moving-my-blogger-posts/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>hatim</name>
						<uri>http://hatimonline.com</uri>
					</author>
		<title type="html"><![CDATA[Moving to WordPress&#160;2.x]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/hatimonline/~3/5r5Rvc_OMCI/" />
		<id>http://hatimonline.com/?p=6</id>
		<updated>2010-03-13T02:48:50Z</updated>
		<published>2010-03-09T06:37:48Z</published>
		<category scheme="http://hatimonline.com" term="Meta" /><category scheme="http://hatimonline.com" term="cloud" /><category scheme="http://hatimonline.com" term="Linux" /><category scheme="http://hatimonline.com" term="wordpress" />		<summary type="html"><![CDATA[After gettnig some inspiration on Lifehacker I finally mustered up the courage to move to wordpress. I decided to do so because I have not much interest in maintaining a blogging system and would like to use some thing which has a solid user base (which gurantess a good eco-system of themes and plugins). Even [...]]]></summary>
		<content type="html" xml:base="http://hatimonline.com/2010/03/09/moving-to-wordpress-2-x/">&lt;p&gt;After gettnig some inspiration on &lt;a href="http://lifehacker.com/5365600/the-beginners-guide-to-tricking-out-your-wordpress-blog"&gt;Lifehacker&lt;/a&gt; I finally mustered up the courage to move to wordpress. I decided to do so because I have not much interest in maintaining a blogging system and would like to use some thing which has a solid user base (which gurantess a good eco-system of themes and plugins). Even though it may not be the fastest platform (rails on mongrel) or the coolest to code to work with (hand coded haskell CGI) I am happy with what it has to offer so far.&lt;/p&gt;
&lt;p&gt;As you read this I have also moved on from &lt;a href="linode.com"&gt;Linode.com&lt;/a&gt; to &lt;a href="http://www.hosteurope.de/"&gt;HostEurope.de&lt;/a&gt;.  Linode was a good service, but I needed a service closer to home and with a little more juice (RAM) packed into it. The installation of wordpress on top of Ubuntu LTS was a breeze compared to what had to be done for Ruby on Rails based &lt;a href="http://wiki.github.com/fdv/typo/"&gt;Typo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I will be porting my older blog entries slowly (both from Blogger and Typosphere blogs). I am experimenting with themes and plug-ins. If you would like to suggest any of those, please be my guest.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/hatimonline/~4/5r5Rvc_OMCI" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://hatimonline.com/2010/03/09/moving-to-wordpress-2-x/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://hatimonline.com/2010/03/09/moving-to-wordpress-2-x/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://hatimonline.com/2010/03/09/moving-to-wordpress-2-x/</feedburner:origLink></entry>
	</feed>
